diff --git a/404.html b/404.html index d41e0700b..9a9a828e5 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -Superhero Wallet
\ No newline at end of file +Superhero Wallet
\ No newline at end of file diff --git a/css/popup.6552a5dd.css b/css/popup.6552a5dd.css deleted file mode 100644 index 91aac3571..000000000 --- a/css/popup.6552a5dd.css +++ /dev/null @@ -1 +0,0 @@ -.link-button[data-v-4532e494]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px;padding:0;display:inline-flex;gap:4px;align-items:center}.link-button.default[data-v-4532e494]{color:#00ff9d}.link-button.simple[data-v-4532e494]{gap:0}.link-button .link-icon[data-v-4532e494]{display:flex;align-items:center;justify-content:center}.link-button .link-icon[data-v-4532e494] svg{width:24px;height:24px;opacity:.44;color:#fff}.link-button[data-v-4532e494]:hover{color:#00dc87}.link-button:hover .link-icon svg[data-v-4532e494]{opacity:1;color:#00ff9d}.link-button[data-v-4532e494]:active{opacity:.7}.link-button:active .link-icon svg[data-v-4532e494]{opacity:.7;color:#00ff9d}.link-button.muted[data-v-4532e494]{text-decoration:none;color:hsla(0,0%,100%,.75)}.link-button.muted .link-icon svg[data-v-4532e494]{opacity:1;color:hsla(0,0%,100%,.75)}.link-button.muted:hover .link-icon svg[data-v-4532e494],.link-button.muted[data-v-4532e494]:hover{color:#fff}.link-button.underlined[data-v-4532e494]:hover{text-decoration:underline}.btn-base[data-v-5a60e3f7]{--bg-color:#1161fe;--outline-size:0;--outline-opacity:0;--outline-color:transparent;position:relative;z-index:1;background-color:var(--bg-color);color:#fff;text-decoration:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .15s}.btn-base[data-v-5a60e3f7]:after,.btn-base[data-v-5a60e3f7]:before{content:"";position:absolute;z-index:-1;inset:0;border-radius:inherit;transition:all .15s;will-change:opacity,box-shadow,background-color}.btn-base[data-v-5a60e3f7]:before{background-color:var(--screen-bg-color);opacity:0}.btn-base[data-v-5a60e3f7]:after{opacity:var(--outline-opacity);box-shadow:inset 0 0 0 var(--outline-size) var(--outline-color)}.btn-base[data-v-5a60e3f7]:hover:before{opacity:.2}.btn-base[data-v-5a60e3f7]:active:before{opacity:.3}.btn-base.disabled[data-v-5a60e3f7]{pointer-events:none;color:hsla(0,0%,100%,.4)}.btn-base.disabled[data-v-5a60e3f7]:before{opacity:.6}.btn-base.hollow[data-v-5a60e3f7]:not(:hover){background-color:transparent}.btn-base.outlined[data-v-5a60e3f7]{--outline-color:#fff;--outline-size:1px;--outline-opacity:0.2}.btn-base.outlined[data-v-5a60e3f7]:hover{--outline-opacity:0.3}.btn-base.outlined[data-v-5a60e3f7]:active{--outline-size:2px}.btn-base.selected[data-v-5a60e3f7]{--outline-color:#fff;--outline-size:1px;--outline-opacity:0.2}.btn-base.selected[data-v-5a60e3f7]:before{opacity:.6}.btn-base.variant-secondary[data-v-5a60e3f7]{--bg-color:#ff2b5e}.btn-base.variant-muted[data-v-5a60e3f7]{--bg-color:#373737}.btn-base.variant-danger[data-v-5a60e3f7]{--bg-color:#ff4746}.btn-base.variant-purple[data-v-5a60e3f7]{--bg-color:#8f00ff}.btn-base.variant-dark[data-v-5a60e3f7]{--bg-color:#262626}.panel-item[data-v-26fb7034]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;display:flex;align-items:center;width:100%;min-height:48px;margin-bottom:8px;padding:8px 2px 8px 12px;border-radius:10px;justify-content:space-between;text-decoration:none;text-align:left;color:hsla(0,0%,100%,.75);transition:all .15s;letter-spacing:.5px;will-change:transform}.panel-item[data-v-26fb7034]:active,.panel-item[data-v-26fb7034]:hover{color:#fff}.panel-item:active .panel-item-right .icon-indicator[data-v-26fb7034],.panel-item:hover .panel-item-right .icon-indicator[data-v-26fb7034]{opacity:.75}.panel-item[data-v-26fb7034]:active{transform:scale(.99)}.panel-item .panel-item-left[data-v-26fb7034],.panel-item .panel-item-right[data-v-26fb7034]{display:inline-flex;align-items:center}.panel-item .panel-item-left[data-v-26fb7034]{overflow-x:hidden}.panel-item .panel-item-left[data-v-26fb7034] .icon{width:24px;height:24px;margin-right:8px}.panel-item .panel-item-right[data-v-26fb7034]{display:inline-flex;align-items:center}.panel-item .panel-item-right .panel-item-info[data-v-26fb7034]{opacity:.5;padding-right:8px;margin:0;color:#fff;font-weight:300}.panel-item .panel-item-right .icon-indicator[data-v-26fb7034]{margin-right:4px;width:26px;height:26px;opacity:.5;transition:all .15s}.panel-header[data-v-88f97e12]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:16px;line-height:16px}.panel[data-v-88f97e12]{--card-padding:12px;background:hsla(0,0%,100%,.08);border-radius:10px;overflow:hidden}.panel-header[data-v-88f97e12]{color:#fff;line-height:24px;padding:8px var(--card-padding)}.about .table-item .name[data-v-53c0dc8b]{font-family:IBM Plex Sans,sans-serif;font-size:15px;line-height:22px}.about .table-item .value[data-v-53c0dc8b]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px}.about[data-v-53c0dc8b]{--screen-padding-x:8px;padding-top:16px;padding-inline:var(--screen-padding-x)}.about .table-item[data-v-53c0dc8b]{width:100%;height:48px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:4px 16px;transition:all .15s}.about .table-item[data-v-53c0dc8b]:nth-child(2n){background-color:rgba(0,0,0,.1)}.about .table-item .name[data-v-53c0dc8b],.about .table-item .value .icon[data-v-53c0dc8b],.about .table-item .value[data-v-53c0dc8b]{transition:inherit}.about .table-item .name[data-v-53c0dc8b]{color:hsla(0,0%,100%,.75);font-weight:400}.about .table-item .value[data-v-53c0dc8b]{display:inline-flex;align-items:center;color:#fff}.about .table-item .value .icon[data-v-53c0dc8b]{width:24px;height:24px;opacity:.5;margin-left:4px;margin-right:-4px}.about .table-item.link[data-v-53c0dc8b]{position:relative;text-decoration:none;cursor:pointer}.about .table-item.link[data-v-53c0dc8b]:hover{background-color:rgba(0,0,0,.16)}.about .table-item.link:hover .name[data-v-53c0dc8b]{color:#fff}.about .table-item.link:hover .value[data-v-53c0dc8b]{text-decoration:underline}.about .table-item.link:hover .value .icon[data-v-53c0dc8b]{opacity:1}.about .table-item.link[data-v-53c0dc8b]:active{background-color:rgba(0,0,0,.4)}.about .additional-links[data-v-53c0dc8b]{margin-top:24px}.message-offline .text[data-v-129d996a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.message-offline[data-v-129d996a]{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.message-offline.horizontal[data-v-129d996a]{flex-direction:row;gap:6px;text-align:left}.message-offline.horizontal .offline-icon[data-v-129d996a]{margin:0;width:26px}.message-offline.colors-disabled .offline-icon[data-v-129d996a]{color:#fff}.message-offline .offline-icon[data-v-129d996a]{width:40px;margin-bottom:2px;color:#ffb422}.message-offline .text[data-v-129d996a]{opacity:.75;margin:0 auto;max-width:240px}.asset-icon[data-v-9ac94844]{--icon-size:var(--icon-size-md);display:inline-block;flex-grow:0;flex-shrink:0;width:var(--icon-size);height:var(--icon-size);border-radius:50%}.asset-icon.is-placeholder[data-v-9ac94844]{border:.25px solid hsla(0,0%,100%,.75)}.asset-icon.sm[data-v-9ac94844]{--icon-size:var(--icon-size-sm)}.asset-icon.rg[data-v-9ac94844]{--icon-size:var(--icon-size-rg)}.asset-icon.lg[data-v-9ac94844]{--icon-size:var(--icon-size-lg)}.asset-icon.xxl[data-v-9ac94844]{--icon-size:var(--icon-size-xxl)}.tokens.vertical .symbols[data-v-31939e04]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}.tokens[data-v-31939e04]{font-weight:600}.tokens .symbols .symbol[data-v-31939e04],.tokens[data-v-31939e04]{font-family:IBM Plex Sans,sans-serif;font-size:16px;line-height:16px}.tokens .symbols .symbol[data-v-31939e04]{font-weight:400}.tokens[data-v-31939e04]{display:inline-flex;align-items:center;color:hsla(0,0%,100%,.75);letter-spacing:-2%}.tokens.bright[data-v-31939e04]{color:#fff}.tokens .icon[data-v-31939e04]{-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-right:4px}.tokens .symbols .symbol[data-v-31939e04]{white-space:nowrap;letter-spacing:-.02em}.tokens .separator[data-v-31939e04]{margin:0 1px;vertical-align:middle}.tokens.vertical[data-v-31939e04]{flex-direction:column}.tokens.vertical .symbols .separator[data-v-31939e04]{color:hsla(0,0%,100%,.75)}.tokens.vertical .icon[data-v-31939e04]{margin-right:0;margin-bottom:8px}.transaction-asset-rows .row.multiple-rows .amount[data-v-1bbadb59]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.transaction-asset-rows .row .symbol[data-v-1bbadb59]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.transaction-asset-rows[data-v-1bbadb59]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;width:100%;line-height:20px}.transaction-asset-rows .row[data-v-1bbadb59]{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;font-size:var(--font-size)}.transaction-asset-rows .row .amount[data-v-1bbadb59]{color:#fff;font-weight:500;white-space:nowrap}.transaction-asset-rows .row.received .amount[data-v-1bbadb59]{color:#00d3a1}.transaction-asset-rows .row .symbol[data-v-1bbadb59]{letter-spacing:-2%}.transaction-asset-rows .row.multiple-rows[data-v-1bbadb59]{margin-bottom:12px;padding-inline:16px}.transaction-asset-rows.reversed[data-v-1bbadb59]{display:flex;flex-direction:column-reverse}.truncate[data-v-72e5b080]{display:flex;width:100%;min-width:0;padding-right:5px}.truncate.right[data-v-72e5b080]{justify-content:flex-end}.truncate .container[data-v-72e5b080]{position:relative;overflow:hidden;white-space:nowrap}.truncate .container.fixed[data-v-72e5b080]{text-overflow:ellipsis}.truncate .container .inner[data-v-72e5b080]{position:relative;display:inline-block;min-width:-moz-fit-content;min-width:fit-content}.truncate .container.scrollable[data-v-72e5b080]{padding-right:5px;border-radius:2px;margin-left:-2px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 2px,#000 calc(100% - 2px),transparent);mask-image:linear-gradient(90deg,transparent,#000 2px,#000 calc(100% - 2px),transparent)}.truncate .container.scrollable .inner[data-v-72e5b080]{position:relative;display:inline-block;animation-name:animationTruncate-72e5b080;animation-duration:var(--animationDuration);animation-delay:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;padding:0 2px}.truncate .domain[data-v-72e5b080]{word-break:keep-all}@keyframes animationTruncate-72e5b080{0%{transform:translateX(0)}50%{transform:translateX(var(--animationTranslate))}to{transform:translateX(0)}}.transaction-label .secondary[data-v-bde64a88]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.transaction-label .label[data-v-bde64a88]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.transaction-label[data-v-bde64a88]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;width:100%;overflow:hidden;flex:1 1 50%;white-space:nowrap;text-overflow:ellipsis}.transaction-label .label[data-v-bde64a88]{color:#fff}.transaction-label .label .type[data-v-bde64a88]{display:flex}.transaction-label .label .error-type[data-v-bde64a88]{text-transform:lowercase}.transaction-label .secondary[data-v-bde64a88]{color:hsla(0,0%,100%,.75)}.transaction-label .icon[data-v-bde64a88]{min-width:16px;height:16px;color:#fff;margin-left:1px;margin-right:2px}.transaction-label .error[data-v-bde64a88]{display:flex;color:#ffb422}.transaction-label .error .icon[data-v-bde64a88]{color:#ffb422}.transaction-label .label[data-v-bde64a88],.transaction-label .owner[data-v-bde64a88]{width:100%;display:flex;gap:4px}.transaction-label .owner[data-v-bde64a88]{min-width:0}.button-plain[data-v-ea8fa866]{padding:0;border:none;outline:none;background:transparent;text-decoration:none;color:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .15s}.button-plain.avatar[data-v-ea8fa866]{width:24px;height:24px}.button-plain.extend[data-v-ea8fa866]{width:100%}.button-plain[data-v-ea8fa866]:disabled{opacity:.7}.list-item-wrapper[data-v-22701c0f]{display:block;padding:10px 12px;color:unset;text-decoration:unset;text-align:left;inline-size:-webkit-fill-available;transition:background-color .12s ease-in-out}.list-item-wrapper[data-v-22701c0f]:hover{background-color:hsla(0,0%,7%,.5)}@media(min-width:362px)and (max-width:480px){.list-item-wrapper[data-v-22701c0f]:hover{background-color:transparent}}.list-item-wrapper[data-v-22701c0f]:active{opacity:.5}.list-item-wrapper.selected[data-v-22701c0f]{color:#fff;background-color:rgba(17,97,254,.2)}.consensus-approved-label{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px;display:flex;align-items:center}.consensus-approved-label .icon{width:16px;height:16px;margin-right:6px}.transaction-item .body .footer[data-v-5d0ffd7a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.transaction-item .consensus[data-v-5d0ffd7a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.transaction-item .body[data-v-5d0ffd7a]{width:100%}.transaction-item .body .footer[data-v-5d0ffd7a]{display:flex;justify-content:space-between;align-items:center;flex-flow:row;width:100%;color:hsla(0,0%,100%,.75);gap:3px}.transaction-item .body .footer .date[data-v-5d0ffd7a]{white-space:nowrap}.transaction-item .consensus[data-v-5d0ffd7a]{display:flex;align-items:center;gap:6px}.transaction-item .consensus .icon[data-v-5d0ffd7a]{width:16px;height:16px}.infinite-scroll[data-v-f3c3c2da]{height:100%}.back-to-top[data-v-2c42d011]{width:100%;height:0;z-index:5}.back-to-top.visible[data-v-2c42d011]{height:40px}.back-to-top-btn-container[data-v-2c42d011]{display:flex;justify-content:flex-end;align-items:center;flex-flow:row;pointer-events:none;position:fixed;bottom:0;left:0;width:100%;padding:12px 4px 4px 0;background:#191919;background:linear-gradient(180deg,rgba(25,25,25,0) 5%,rgba(25,25,25,.8) 60%,rgba(25,25,25,.9))}.back-to-top-btn[data-v-2c42d011]{display:flex;justify-content:center;align-items:center;flex-flow:row;pointer-events:all;height:40px;width:41px;border-radius:10px;background-color:#2b2b2b;transition:opacity .2s ease-in-out}.back-to-top-btn[data-v-2c42d011]:hover{background:rgba(39,39,39,.8)}.back-to-top-btn[data-v-2c42d011]:active{background:rgba(34,34,34,.8)}.back-to-top-btn .chevron[data-v-2c42d011]{width:22px;height:22px;transform:rotate(-90deg)}.back-to-top.sticky[data-v-2c42d011]{position:sticky;bottom:0}.back-to-top.sticky .back-to-top-btn-container[data-v-2c42d011]{position:absolute}.transaction-list .transactions .message[data-v-0c1013d8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.transaction-list .transactions[data-v-0c1013d8]{display:flex;flex-direction:column;padding:10px 0}.transaction-list .transactions .list[data-v-0c1013d8]{padding:0;margin:0}.transaction-list .transactions .message[data-v-0c1013d8],.transaction-list .transactions .spinner[data-v-0c1013d8]{flex-grow:1;display:flex;justify-content:center;align-items:center}.transaction-list .transactions .message[data-v-0c1013d8]{color:#babac0;text-align:center;padding:48px 64px}.transaction-list .transactions .spinner[data-v-0c1013d8]{width:56px;min-height:56px;margin:0 auto;padding-bottom:48px;color:#fff}.transaction-list .offline-message[data-v-0c1013d8]{margin-top:40px;margin-bottom:100px}.protocol-icon[data-v-3c4b9f22]{--icon-size:var(--icon-size-md);display:inline-block;width:var(--icon-size);height:var(--icon-size)}.protocol-icon.xs[data-v-3c4b9f22]{--icon-size:var(--icon-size-xs)}.protocol-icon.lg[data-v-3c4b9f22]{--icon-size:var(--icon-size-lg)}.icon-wrapper[data-v-5e9dcd14]{--wrapper-size:36px;--icon-size:var(--icon-size-lg);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s}.icon-wrapper .icon-wrapper-icon[data-v-5e9dcd14]{width:var(--icon-size);height:var(--icon-size);color:inherit}.icon-wrapper .icon-wrapper-fill[data-v-5e9dcd14]{width:100%;height:100%}.icon-wrapper.is-boxed[data-v-5e9dcd14]{width:var(--wrapper-size);height:var(--wrapper-size);background-color:hsla(0,0%,100%,.15);border-radius:14px}.icon-wrapper.icon-size-xl[data-v-5e9dcd14]{--icon-size:var(--icon-size-xl)}.btn-box.is-big .text[data-v-aded6086]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:16px;line-height:24px}.btn-box[data-v-aded6086]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.btn-box .subtitle[data-v-aded6086]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.btn-box[data-v-aded6086]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:auto;min-height:58px;padding:4px 6px;border-radius:10px}.btn-box:hover .icon[data-v-aded6086]{opacity:1}.btn-box .icon[data-v-aded6086]{color:#fff;opacity:.75}.btn-box .subtitle[data-v-aded6086]{opacity:.7}.btn-box.disabled .icon[data-v-aded6086]{opacity:.5}.btn-box.is-big[data-v-aded6086]{min-height:116px;padding:10px}.btn-box.is-big .icon[data-v-aded6086]{margin-bottom:8px}.main-balance{--font-size-token:30px;--font-size-symbol:24px;display:flex;align-items:baseline;font-family:IBM Plex Sans,sans-serif;font-size:var(--font-size-symbol)}.main-balance.lg{--font-size-token:28px;--font-size-symbol:22px}.main-balance.md{--font-size-token:26px;--font-size-symbol:20px}.main-balance.sm{--font-size-token:22px;--font-size-symbol:18px}.main-balance .asset-symbol{font-weight:500;color:#fff;margin-right:4px;text-transform:uppercase}.main-balance .asset-integer{font-size:var(--font-size-token);font-weight:600;color:#fff}.main-balance .asset-fractional{font-weight:600;color:hsla(0,0%,100%,.75);opacity:.75}.main-balance .asset-fractional,.main-balance .asset-integer,.main-balance .asset-symbol{line-height:32px}.balance-info .display-value[data-v-46d07e78]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.balance-info[data-v-46d07e78]{display:flex;flex-direction:column;align-items:center;padding-top:8px}.balance-info .display-value[data-v-46d07e78]{color:#fff;line-height:18px;margin-top:4px;opacity:.75}.avatar[data-v-1c2ad31e]{width:40px;height:40px;border-radius:50%;overflow:hidden;display:inline-block;-o-object-fit:cover;object-fit:cover;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;border:1px solid var(--color);background-color:#171717}.avatar .avatar-img[data-v-1c2ad31e]{width:100%;height:100%}.avatar.placeholder[data-v-1c2ad31e]{background-color:hsla(0,0%,100%,.15)}.avatar.sm[data-v-1c2ad31e]{height:24px;width:24px}.avatar.xs[data-v-1c2ad31e]{height:18px;width:18px}.avatar.md[data-v-1c2ad31e]{height:32px;width:32px}.avatar.rg[data-v-1c2ad31e]{height:40px;width:40px;border-width:2px}.avatar.lg[data-v-1c2ad31e]{height:48px;width:48px;border-width:2px}.avatar.xl[data-v-1c2ad31e]{height:56px;width:56px;border-width:2px}.avatar.borderless[data-v-1c2ad31e]{border:none}.copy-text .copied[data-v-4027e3b3]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.copy-text[data-v-4027e3b3]{position:relative;display:inline-block;cursor:pointer;color:inherit}.copy-text .copy-icon-copied[data-v-4027e3b3],.copy-text .copy-icon-indicator[data-v-4027e3b3]{flex-shrink:0;width:22px;height:22px}.copy-text .copy-icon-copied[data-v-4027e3b3]{margin-left:2px}.copy-text .copied[data-v-4027e3b3]{background-image:repeating-linear-gradient(0deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0),repeating-linear-gradient(90deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0),repeating-linear-gradient(180deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0),repeating-linear-gradient(270deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0);background-size:1px 100%,100% 1px,1px 100%,100% 1px;background-position:0 0,0 0,100% 0,0 100%;background-repeat:no-repeat;position:absolute;z-index:1;inset:0;display:flex;align-items:center;justify-content:center;border-radius:5px;background-color:#191919;text-transform:uppercase}.copy-text.has-icon[data-v-4027e3b3]{padding-right:24px}.copy-text.has-icon .copy-icon-indicator[data-v-4027e3b3]{position:absolute;top:50%;right:0;transform:translateY(-50%)}.copy-text.disabled[data-v-4027e3b3]{cursor:inherit}.address-truncated-chunks .dots[data-v-f112ca60]{font-family:IBM Plex Mono;font-weight:400;font-size:16px;line-height:20px}.address-truncated-chunks[data-v-f112ca60]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}.address-truncated[data-v-f112ca60]{display:flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.address-truncated .protocol-icon[data-v-f112ca60]{margin-right:4px}.address-truncated-chunks[data-v-f112ca60]{display:flex;flex-wrap:nowrap;align-items:center;gap:2px;letter-spacing:.07em}.address-truncated-chunks .dots[data-v-f112ca60]{letter-spacing:-.25em;text-align:center;margin-left:-1px;margin-right:3px}.address-truncated-chunks .address-chunk[data-v-f112ca60],.address-truncated-chunks .dots[data-v-f112ca60]{white-space:nowrap}.address-truncated .external-link[data-v-f112ca60]{margin-top:-1px;flex-shrink:0;color:inherit}.address-truncated .external-link .external-link-icon[data-v-f112ca60]{width:22px;height:22px}.account-info .account-details .account-name-truncated[data-v-bf1c6ab4],.account-info .account-details .account-name[data-v-bf1c6ab4]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-info .account-details.list-name .account-name-truncated[data-v-bf1c6ab4],.account-info .account-details.list-name .account-name[data-v-bf1c6ab4]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:15px;line-height:24px}.account-info[data-v-bf1c6ab4]{display:flex;align-items:center;justify-content:flex-start;text-align:left;color:#fff}.account-info .avatar[data-v-bf1c6ab4]{margin-right:8px}.account-info .account-details[data-v-bf1c6ab4]{max-width:250px;font-weight:500}.account-info .account-details .account-name-truncated[data-v-bf1c6ab4],.account-info .account-details .account-name[data-v-bf1c6ab4]{margin:4px 0}.account-info .account-details.list-name[data-v-bf1c6ab4]{width:100%;min-width:0}.account-info .account-details.list-name .account-name-truncated[data-v-bf1c6ab4],.account-info .account-details.list-name .account-name[data-v-bf1c6ab4]{margin:0}.account-info .account-details .ae-address[data-v-bf1c6ab4]{color:hsla(0,0%,100%,.85);-webkit-user-select:none;-moz-user-select:none;user-select:none}.account-info .account-details .ae-address .icon[data-v-bf1c6ab4]{width:22px;height:22px;margin-left:2px}.account-info .account-address[data-v-bf1c6ab4]{display:flex;align-items:center;justify-content:flex-start}.account-info .account-address .protocol-icon[data-v-bf1c6ab4]{margin-right:6px}.account-info.can-copy-address .ae-address[data-v-bf1c6ab4]{opacity:.85}.account-info.can-copy-address .ae-address[data-v-bf1c6ab4]:hover{opacity:1}.badge-inner[data-v-f4a4a6c2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:11px;line-height:16px}.badge[data-v-f4a4a6c2]{position:relative;display:inline-block}.badge-inner[data-v-f4a4a6c2]{color:#fff;position:absolute;z-index:1;right:-2px;top:0;min-width:14px;height:14px;background:#ff2b5e;border-radius:7px;text-align:center;line-height:14px;padding:0 3px}.btn-icon{--size:24px;--icon-opacity:0.75;--icon-opacity-hover:1;--icon-color-hover:#fff;justify-content:center;align-items:center;flex-flow:row;padding:4px;background:transparent;border:none;border-radius:50%;outline:none;cursor:pointer}.btn-icon,.btn-icon .badge{display:flex}.btn-icon .icon{color:#fff;width:var(--size);height:var(--size);opacity:var(--icon-opacity);transition:all .15s}.btn-icon:hover{transition-duration:.1s}.btn-icon:hover .icon{opacity:var(--icon-opacity-hover);color:var(--icon-color-hover)}.btn-icon:active{transform:scale(.92)}.btn-icon:active .icon{opacity:1}.btn-icon.dimmed{--icon-opacity:0.5;--icon-opacity-hover:0.75}.btn-icon.size-sm{--size:20px}.btn-icon.icon-variant-danger{--icon-color-hover:#ff4746}.btn-help[data-v-2658afd8]{display:inline-flex}.btn-help svg[data-v-2658afd8]{width:24px;height:24px;opacity:.5;color:#fff}.btn-help.small svg[data-v-2658afd8]{width:20px;height:20px}.btn-help:hover svg[data-v-2658afd8]{opacity:1}.input-field .input-wrapper .input[data-v-124f240c]::-moz-placeholder{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.input-field .input-wrapper .input[data-v-124f240c],.input-field .input-wrapper .input[data-v-124f240c]::placeholder,.input-field .label-after[data-v-124f240c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.input-field .input-wrapper .under[data-v-124f240c],.input-field .message[data-v-124f240c],.input-field.thin .input[data-v-124f240c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.input-field.code .input[data-v-124f240c]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.input-field[data-v-124f240c]{--color-border:transparent;--color-bg:hsla(0,0%,100%,.08);--color-input-text:#babac0;--color-placeholder:hsla(0,0%,100%,.75);--color-message:hsla(0,0%,100%,.75);text-align:left}.input-field[data-v-124f240c]:focus-within,.input-field[data-v-124f240c]:hover{--color-input-text:#fff}.input-field[data-v-124f240c]:hover{--color-border:hsla(0,0%,100%,.15);--color-bg:hsla(0,0%,100%,.05)}.input-field[data-v-124f240c]:focus-within{--color-border:#1161fe;--color-bg:rgba(0,0,0,.44);--color-placeholder:#fff}.input-field .label[data-v-124f240c]{display:flex;align-items:center;margin-top:16px}.input-field .label-text[data-v-124f240c]{margin:4px 0;display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}.input-field .label .btn-help[data-v-124f240c]{margin-left:10px}.input-field .label-after[data-v-124f240c]{margin-left:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#787878}.input-field .input-wrapper[data-v-124f240c]{display:block;padding:8px 12px;background-color:var(--color-bg);border:none;border-radius:10px;overflow:hidden;box-shadow:inset 0 0 0 2px var(--color-border);transition:.1s ease-in-out;cursor:text}.input-field .input-wrapper .main-inner[data-v-124f240c]{display:flex;align-items:center;width:100%}.input-field .input-wrapper .main-inner[data-v-124f240c] .icon{width:var(--size,24px);height:var(--size,24px);flex-shrink:0}.input-field .input-wrapper .input[data-v-124f240c]{display:block;width:100%;padding:0;outline:none;border:none;background:transparent;box-shadow:none;color:var(--color-input-text);transition:.1s ease-in-out}.input-field .input-wrapper .input[data-v-124f240c]::-moz-placeholder{color:var(--color-placeholder);-moz-user-select:none;user-select:none}.input-field .input-wrapper .input[data-v-124f240c]::placeholder{color:var(--color-placeholder);-webkit-user-select:none;-moz-user-select:none;user-select:none}.input-field .input-wrapper .input[type=number][data-v-124f240c]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.input-field .input-wrapper .input[type=number][data-v-124f240c]::-webkit-inner-spin-button,.input-field .input-wrapper .input[type=number][data-v-124f240c]::-webkit-outer-spin-button{-webkit-appearance:none}.input-field .input-wrapper .under[data-v-124f240c]{color:hsla(0,0%,100%,.5)}.input-field .message[data-v-124f240c]{line-height:20px;display:flex;align-items:center;margin-top:4px;text-align:left;color:var(--color-message)}.input-field .message-help[data-v-124f240c]{display:block;width:24px;height:24px;padding-left:5px;color:rgba(0,0,0,.75)}.input-field.error[data-v-124f240c]{--color-border:#ff4746;--color-message:#ff4746}.input-field.warning[data-v-124f240c]{--color-border:#ffb422;--color-message:#ffb422}.input-field.readonly[data-v-124f240c]{--color-border:transparent}.input-field.readonly .input-wrapper .input[data-v-124f240c]{opacity:.5}.input-search .erase-icon[data-v-b52ecd9a]{cursor:pointer}.input-search .erase-icon[data-v-b52ecd9a]:hover{opacity:.8}.filters .filter[data-v-78158338]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.filters[data-v-78158338]{height:36px;display:flex;gap:8px;padding-bottom:12px;background:var(--screen-bg-color);padding-inline:var(--screen-padding-x);margin-left:calc(var(--screen-padding-x)*-1);margin-right:calc(var(--screen-padding-x)*-1);z-index:2}.filters .filter[data-v-78158338]{display:flex;align-items:center;padding:2px 8px;max-height:24px;gap:2px;transition:all .08s ease-out;border-radius:12px;color:hsla(0,0%,100%,.5)}.filters .filter svg[data-v-78158338]{width:14px;height:14px;color:hsla(0,0%,100%,.3)}.filters .filter svg.rotate[data-v-78158338]{transform:rotate(180deg)}.filters .filter.active[data-v-78158338],.filters .filter[data-v-78158338]:hover{color:#fff;background:hsla(0,0%,100%,.1)}.filters .filter.active svg[data-v-78158338],.filters .filter:hover svg[data-v-78158338]{color:hsla(0,0%,100%,.5)}.filters .filter[data-v-78158338]:hover:not(.active){opacity:.75}.transaction-filter[data-v-5de9a71a]{max-height:20px;overflow:hidden;transition:.15s}.transaction-filter .input-search[data-v-5de9a71a]{padding-top:8px}.transaction-filter .filter-wrapper[data-v-5de9a71a]{display:flex;flex-direction:column;gap:14px}.transaction-filter .filters[data-v-5de9a71a]{padding-bottom:0;height:auto}.transaction-filter.without-search[data-v-5de9a71a]{padding-top:0}.account-details .account-info-wrapper[data-v-94271d80] .account-info .title{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.account-details[data-v-94271d80]{--account-info-height:120px;--screen-padding-x:12px;--screen-bg-color:#191919;--header-height:64px;position:relative;top:env(safe-area-inset-top);background-color:#191919;border-radius:10px;min-height:100%;height:100%;font-weight:500;color:#fff;box-shadow:0 0 0 1px #232323,0 0 50px rgba(0,0,0,.6)}@media(min-width:362px)and (max-width:480px){.account-details[data-v-94271d80]{min-height:100vh}}.account-details .account-info-wrapper[data-v-94271d80]{z-index:2;display:flex;justify-content:space-between;padding:8px 6px 6px;background-color:var(--screen-bg-color);height:var(--header-height)}.account-details .account-info-wrapper .button-plain[data-v-94271d80]{width:24px;height:24px;position:absolute;right:7px;top:7px;color:#fff}.account-details .account-info-wrapper .button-plain svg[data-v-94271d80]{width:24px}.account-details .account-info-wrapper[data-v-94271d80] .account-info .title{justify-content:flex-start;word-break:normal}.account-details .buttons[data-v-94271d80]{display:flex;justify-content:space-between;gap:var(--gap);width:100%;margin-top:20px;padding-inline:var(--screen-padding-x)}.account-details .header[data-v-94271d80]{position:sticky;z-index:2;top:calc(env(safe-area-inset-top) + var(--header-height));padding:var(--gap) var(--screen-padding-x);background-color:var(--screen-bg-color)}.account-details .tabs-content[data-v-94271d80]{position:relative;padding-inline:var(--screen-padding-x)}.account-details .close-button[data-v-94271d80]{position:absolute;top:4px;right:8px}.btn-pill[data-v-67d90d96]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px;display:flex;justify-content:center;align-items:center;flex-flow:row;padding:2px 10px;gap:4px;border-radius:20px;background-color:hsla(0,0%,100%,.08);color:hsla(0,0%,100%,.5)}.btn-pill.dense[data-v-67d90d96]{padding-block:0}.btn-pill.avatar[data-v-67d90d96]{padding:4px;background-color:transparent}.btn-pill.router-link-exact-active[data-v-67d90d96]{background-color:hsla(0,0%,100%,.15);color:#fff}.btn-pill[data-v-67d90d96]:not(.static){color:hsla(0,0%,100%,.75)}.btn-pill[data-v-67d90d96]:not(.static):hover{color:#fff}.btn-pill[data-v-67d90d96]:not(.static):active{color:hsla(0,0%,100%,.75)}.tab[data-v-6286b0cb]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;display:flex;justify-content:center;align-items:center;flex-flow:row;flex:1 1 0;padding:4px 10px;border-radius:7px;color:hsla(0,0%,100%,.75);transition:all .1s}.tab[data-v-6286b0cb]:hover{color:#fff}.tab.router-link-active.not-exact[data-v-6286b0cb]{background-color:hsla(0,0%,100%,.15);color:#fff}.tab.router-link-active.exact.active[data-v-6286b0cb]{background-color:transparent;color:#fff}.tab.active[data-v-6286b0cb],.tab.router-link-exact-active[data-v-6286b0cb]{background-color:hsla(0,0%,100%,.15);color:#fff;font-weight:600}.tabs[data-v-b4464f30]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;padding:4px;border-radius:10px;background-color:#000}.account-details-navigation .sub-tabs[data-v-c5baaaf6]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;margin-top:10px;gap:var(--gap);padding-top:2px;padding-bottom:10px;background-color:var(--screen-bg-color)}.token-amount.large[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px}.token-amount.large .fiat[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.token-amount.large .text[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.token-amount[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.token-amount .fiat[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.token-amount.small .fiat[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.token-amount[data-v-58c0fdc8]{display:inline-flex;gap:8px;align-items:center;color:#fff}.token-amount .amount[data-v-58c0fdc8]{font-size:var(--font-size);line-height:20px;white-space:nowrap}.token-amount .symbol[data-v-58c0fdc8]{color:hsla(0,0%,100%,.75)}.token-amount .fiat[data-v-58c0fdc8]{color:hsla(0,0%,100%,.75);white-space:nowrap}.token-amount.vertical[data-v-58c0fdc8]{flex-direction:column;align-items:normal;gap:4px}.token-amount.large .symbol[data-v-58c0fdc8]{font:inherit}.tokens-list-item .price[data-v-686b3f34]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.tokens-list-item .row[data-v-686b3f34]{display:flex;align-items:center;justify-content:space-between}.tokens-list-item .row.bottom[data-v-686b3f34]{margin-top:4px}.tokens-list-item .price[data-v-686b3f34]{color:hsla(0,0%,100%,.75);letter-spacing:-.02em}.multisig-token-list-wrapper[data-v-d304c11c]{position:relative;padding-top:4px}.account-card-total-tokens .total-tokens[data-v-35e45495]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.account-card-total-tokens[data-v-35e45495]{width:100%}.account-card-total-tokens .total-tokens[data-v-35e45495]{color:#fff;line-height:16px}.account-card-total-tokens .total-tokens .digit[data-v-35e45495]{display:inline-block;margin-right:4px}.account-card-total-tokens .total-tokens .wording[data-v-35e45495]{opacity:.85}.account-card-base[data-v-69ea429a]{display:flex;flex-direction:column;width:100%;height:192px;padding:12px;border-radius:16px;text-decoration:none}.account-card-base.active .bottom[data-v-69ea429a],.account-card-base.active .middle[data-v-69ea429a],.account-card-base.active .top[data-v-69ea429a]{opacity:1}.account-card-base .bottom[data-v-69ea429a],.account-card-base .middle[data-v-69ea429a],.account-card-base .top[data-v-69ea429a]{opacity:.5}.account-card-base .middle[data-v-69ea429a]{margin-top:5px;text-align:center}.account-card-base .bottom[data-v-69ea429a]{flex:1;display:flex;align-items:flex-end}.account-card-add .title[data-v-54bf23d0]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:20px;line-height:24px}.account-card-add .description[data-v-54bf23d0]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-card-add .title[data-v-54bf23d0]{display:flex;align-items:center;padding-bottom:12px;color:#fff;font-weight:500}.account-card-add .title .plus-icon[data-v-54bf23d0]{width:48px;height:48px;margin-right:8px}.account-card-add .description[data-v-54bf23d0]{padding-left:12px;color:hsla(0,0%,100%,.85);line-height:22px}.bullet-switcher[data-v-27e20eff]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;height:40px;padding-left:4px}.bullet-switcher .add-icon[data-v-27e20eff]{width:19px;height:19px;margin-left:8px;cursor:pointer;color:hsla(0,0%,100%,.5);transition:all .25s ease-out}.bullet-switcher .add-icon.active[data-v-27e20eff],.bullet-switcher .add-icon[data-v-27e20eff]:hover{color:#fff}.bullet-switcher .bullet-switcher-container[data-v-27e20eff]{max-width:calc(var(--bullet-size)*5);overflow:hidden}.bullet-switcher .bullet-switcher-container .bullet-switcher-track[data-v-27e20eff]{display:flex;margin-left:var(--translate-x-value);transition:margin-left .3s ease-out}.bullet-switcher .bullet-switcher-container .bullet-link[data-v-27e20eff]{--bullet-scale:1;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--bullet-size);height:var(--bullet-size)}.bullet-switcher .bullet-switcher-container .bullet-link:hover .bullet[data-v-27e20eff]{transform:scale(1.2)!important}.bullet-switcher .bullet-switcher-container .bullet-link.small[data-v-27e20eff]{--bullet-scale:0.5}.bullet-switcher .bullet-switcher-container .bullet-link.medium[data-v-27e20eff]{--bullet-scale:0.75}.bullet-switcher .bullet-switcher-container .bullet-link.active .bullet[data-v-27e20eff]{background-color:var(--active-color)}.bullet-switcher .bullet-switcher-container .bullet-link .bullet[data-v-27e20eff]{background-color:hsla(0,0%,100%,.2);min-width:8px;min-height:8px;border-radius:50%;transform:scale(var(--bullet-scale));transition:all .25s ease-out}.multisig-button .text[data-v-34a0d63e]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.multisig-button .has-pending[data-v-34a0d63e]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px}.multisig-button[data-v-34a0d63e]{display:flex;justify-content:center;align-items:center;flex-flow:row;padding:4px 8px;background:#141414;border-radius:12px;gap:1px}.multisig-button .icon-back[data-v-34a0d63e],.multisig-button .icon-pending[data-v-34a0d63e]{width:16px;height:16px}.multisig-button .icon-back[data-v-34a0d63e]{color:#fff;opacity:75%}.multisig-button .text[data-v-34a0d63e]{color:hsla(0,0%,100%,.5);line-height:16px;transition:all .15s}.multisig-button .has-pending[data-v-34a0d63e]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;color:rgba(255,180,34,.75);line-height:16px;margin-right:5px}.multisig-button .has-pending .icon-pending[data-v-34a0d63e]{color:#ffb422}.multisig-button:active .text[data-v-34a0d63e],.multisig-button:hover .text[data-v-34a0d63e]{color:#fff}.multisig-button[data-v-34a0d63e]:hover{background:#262626}.multisig-button[data-v-34a0d63e]:active{background:#212121}@font-face{font-family:swiper-icons;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s linear infinite}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.account-swiper .account-swiper-bottom[data-v-62def7db]{display:flex;justify-content:space-between;align-items:center;flex-flow:row;padding-inline:var(--screen-padding-x)}.account-swiper .swiper-wrapper[data-v-62def7db]{position:relative}.account-swiper .swiper-wrapper .nav-btn[data-v-62def7db]{--scale:1;--translate-x:0;position:absolute;z-index:1;top:50%;height:60px;padding-right:24px;color:#fff;opacity:.5;transition:all .15s;transform:scaleX(var(--scale)) translateX(var(--translate-x)) translateY(-50%)}.account-swiper .swiper-wrapper .nav-btn .icon[data-v-62def7db]{width:14px;height:22px}.account-swiper .swiper-wrapper .nav-btn.prev[data-v-62def7db]{--scale:-1;left:0}.account-swiper .swiper-wrapper .nav-btn.next[data-v-62def7db]{right:0}.account-swiper .swiper-wrapper .nav-btn[data-v-62def7db]:hover{opacity:1}.account-swiper .swiper-wrapper.is-swiping .nav-btn[data-v-62def7db]{--translate-x:30px;opacity:0;visibility:hidden}.card .text[data-v-d2868f74]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:16px;line-height:24px}.card .description[data-v-d2868f74]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.card[data-v-d2868f74]{z-index:1;position:relative;display:flex;align-items:flex-start;width:100%;min-height:116px;border-radius:10px;padding:20px 16px;gap:16px;background-color:#262626;background-repeat:no-repeat;background-size:cover;transition:all .15s}.card-darken[data-v-d2868f74]:before{content:"";position:absolute;z-index:-1;inset:0;background-color:var(--screen-bg-color);opacity:.7}.card .card-icon[data-v-d2868f74]{color:#fff}.card .card-close[data-v-d2868f74]{position:absolute;top:4px;right:4px}.card .text[data-v-d2868f74]{color:#fff}.card .description[data-v-d2868f74]{color:#fff;opacity:.7;margin-top:4px}.card.dense .description[data-v-d2868f74]{margin-top:0}.card.disabled[data-v-d2868f74]{pointer-events:none;opacity:.4}.btn-main[data-v-5f957749]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px;--bg-color:#1161fe;display:flex;align-items:center;justify-content:center;flex-grow:1;width:-moz-fit-content;width:fit-content;min-height:40px;padding:8px 16px;border-radius:10px;line-height:24px;font-weight:500;text-align:center}.btn-main.extra-padded[data-v-5f957749]{padding-inline:32px}.btn-main.third[data-v-5f957749]{display:inline-block;width:32%;margin:0}.btn-main.inline[data-v-5f957749]{display:inline-flex}.btn-main.nowrap[data-v-5f957749]{white-space:nowrap}.btn-main.has-icon[data-v-5f957749]{gap:4px}.btn-main.has-icon .btn-main-icon[data-v-5f957749]{--icon-size:var(--icon-size-md);flex-shrink:0;width:var(--icon-size);height:var(--icon-size);color:inherit}.btn-main.has-icon .btn-main-icon.lg[data-v-5f957749]{--icon-size:var(--icon-size-lg)}.btn-main.wide[data-v-5f957749]{flex-basis:60%}.btn-main.extend[data-v-5f957749]{width:100%}.dashboard-card .card-button[data-v-153553d6]{margin-top:12px}.total-amount[data-v-1384e7ae]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:16px;line-height:24px}.total-amount .label[data-v-1384e7ae]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.total-amount[data-v-1384e7ae]{display:flex;align-items:center;color:#fff;line-height:1}.total-amount .label[data-v-1384e7ae]{display:inline-block;margin-top:1px;margin-left:4px;line-height:inherit;opacity:.5}.form-select.unstyled[data-v-3ac87742]{display:flex;align-items:center;gap:4px;font:inherit;transition:.2s}.form-select.unstyled[data-v-3ac87742]:active,.form-select.unstyled[data-v-3ac87742]:hover{color:#fff}.form-select .arrow-icon[data-v-3ac87742]{flex-shrink:0;width:8px!important;height:5px!important;opacity:.75}.form-select .input-field-text-wrapper[data-v-3ac87742]{flex-grow:1}.dashboard-base .dashboard-header-info .account-number[data-v-16ddc864]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:13px;line-height:16px}.dashboard-base[data-v-16ddc864]{display:flex;flex-direction:column}.dashboard-base .dashboard-header-info[data-v-16ddc864]{padding:5px 20px 8px 24px;display:flex;align-items:center}.dashboard-base .dashboard-header-info .account-select-btn[data-v-16ddc864]{padding:0;margin-left:auto}.dashboard-base .dashboard-header-info .account-select-input[data-v-16ddc864]{padding:4px 8px}.dashboard-base .dashboard-header-info .account-number[data-v-16ddc864]{margin-right:2px;opacity:.5;line-height:14px;letter-spacing:-.5px}.dashboard-base .dashboard-base-cards[data-v-16ddc864]{display:flex;flex-direction:column;gap:var(--gap);margin-top:8px;padding-inline:var(--screen-padding-x);padding-bottom:var(--screen-padding-x)}.dashboard-base .dashboard-base-cards .buttons-row[data-v-16ddc864]{display:flex;gap:var(--gap)}.latest-transaction-card .spinner[data-v-365b4ce0]{display:block;margin-inline:auto;height:60px}.latest-transaction-card .transaction-item[data-v-365b4ce0]{padding-block:10px}.account-card-consensus .consensus-row[data-v-0f931edd]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.account-card-consensus[data-v-0f931edd]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;gap:6px}.account-card-consensus .consensus-row[data-v-0f931edd]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;color:hsla(0,0%,100%,.85);line-height:16px}.account-card-consensus .consensus-row .highlighted[data-v-0f931edd]{color:#fff;margin-left:4px}.account-card-consensus .consensus-row .icon[data-v-0f931edd]{height:16px;width:16px;margin-right:4px;color:#fff}.account-card-consensus .consensus-row .check-circle[data-v-0f931edd]{opacity:.5}.account-card-multisig .pending .pending-message[data-v-becb8358]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.account-card-multisig .pending[data-v-becb8358]{display:flex;align-items:center}.account-card-multisig .pending .pending-icon[data-v-becb8358]{height:16px;width:16px;margin-right:4px}.account-card-multisig .pending .pending-message[data-v-becb8358]{opacity:.85}.pending-multisig-transaction-card .spinner[data-v-8b3187dc]{display:block;margin-inline:auto;height:60px}.account-selector[data-v-77f77faa]{display:flex;align-items:center;gap:8px;padding-block:4px}.account-selector .account-select-text[data-v-77f77faa]{max-width:220px}.account-selector .account-select[data-v-77f77faa]{margin-bottom:4px;margin-left:-3px;color:#fff}.account-selector .account-select.avatar-only[data-v-77f77faa]{margin-bottom:0}.account-selector .address-truncated[data-v-77f77faa]{color:#fff}.fixed-screen-footer[data-v-397b9317]{position:sticky;bottom:0;margin:auto 0 0;display:flex;justify-content:center;gap:8px;padding:24px}.fixed-screen-footer.noPaddingTop[data-v-397b9317]{padding-top:0}.fixed-screen-footer.mobile[data-v-397b9317]{margin-bottom:20px}.fixed-screen-footer[data-v-397b9317]:before{content:"";position:absolute;z-index:-1;inset:0;background-color:var(--screen-bg-color);top:40px;box-shadow:0 -30px 20px var(--screen-bg-color);opacity:.9}.fixed-screen-footer[data-v-397b9317],.fixed-screen-footer[data-v-397b9317]:before{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.comment-new .comment-text[data-v-67d57742]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.comment-new[data-v-67d57742]{padding:16px}.comment-new .comment-text[data-v-67d57742]{background-color:#262626;padding:8px 12px;border-radius:10px;margin:24px 8px 0 8px;position:relative}.comment-new .comment-text[data-v-67d57742]:after{content:"";position:absolute;visibility:visible;top:-16px;left:0;border:16px solid transparent;transform:rotate(-90deg);border-top:16px solid #262626}.comment-new .fixed-screen-footer[data-v-67d57742]{padding-inline:0;margin-top:8px}.comment-new .cancel-button[data-v-67d57742]{flex:0}.modal .container .body[data-v-79ba9f59]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.modal[data-v-79ba9f59]{--screen-padding-x:24px;--screen-bg-color:#191919;--footer-padding-bottom:36px;position:fixed;z-index:4;top:0;left:0;width:100%;height:100%;min-width:360px;background-color:rgba(0,0,0,.7);display:flex;will-change:backdrop-filter}.modal .container[data-v-79ba9f59]{position:relative;display:flex;flex-direction:column;width:92%;margin:auto;background-color:var(--screen-bg-color);border-radius:16px;box-shadow:0 0 0 1px #232323,2px 4px 12px rgba(0,0,0,.22);will-change:transform}@media(min-width:481px){.modal .container[data-v-79ba9f59]{width:328px}}.modal .container .header[data-v-79ba9f59]{flex-basis:32px;flex-shrink:0;color:#fff;font-size:19px;line-height:24px;font-weight:500;word-break:break-word;text-align:center;display:flex;flex-direction:column;background-color:var(--screen-bg-color);position:relative}.modal .container .header-icon[data-v-79ba9f59]{margin:0 auto 10px;width:48px;height:48px}.modal .container .header.transparent[data-v-79ba9f59]{background-color:transparent}.modal .container .body[data-v-79ba9f59]{display:flex;flex-direction:column;padding:var(--screen-padding-x);color:#babac0;word-break:break-word}.modal .container .body.without-padding-bottom[data-v-79ba9f59]{padding-bottom:0}.modal .container .close-button[data-v-79ba9f59]{position:absolute;top:4px;right:8px}.modal .cover[data-v-79ba9f59]{position:fixed;z-index:-1;inset:0}.modal.min-height .container[data-v-79ba9f59]{min-height:480px}.modal.from-bottom[data-v-79ba9f59],.modal.full-screen[data-v-79ba9f59]{--footer-padding-bottom:24px}.modal.from-bottom .container[data-v-79ba9f59],.modal.full-screen .container[data-v-79ba9f59]{width:100%;max-height:100%;margin-top:0;margin-bottom:0;overflow:hidden auto}.modal.from-bottom .header[data-v-79ba9f59],.modal.full-screen .header[data-v-79ba9f59]{position:sticky;z-index:3;top:0}.modal.full-screen[data-v-79ba9f59]{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}@media(min-width:481px){.modal.full-screen[data-v-79ba9f59]{position:absolute}}.modal.full-screen .container[data-v-79ba9f59]{height:100%;border-radius:0}.modal.from-bottom[data-v-79ba9f59]{position:absolute;align-items:end}.modal.from-bottom .container[data-v-79ba9f59]{border-bottom-left-radius:var(--screen-border-radius);border-bottom-right-radius:var(--screen-border-radius)}.modal.has-header .body[data-v-79ba9f59]{padding-top:0}.modal.dense[data-v-79ba9f59]{--screen-padding-x:8px}.modal.semi-dense[data-v-79ba9f59]{--screen-padding-x:12px}.modal.no-padding[data-v-79ba9f59]{--screen-padding-x:0}.modal.blur-bg[data-v-79ba9f59]{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal.pop-in-transition-enter-active[data-v-79ba9f59],.modal.pop-in-transition-leave-active[data-v-79ba9f59]{transition:opacity .3s}.modal.pop-in-transition-enter-active .container[data-v-79ba9f59],.modal.pop-in-transition-leave-active .container[data-v-79ba9f59]{transition:transform .3s}.modal.pop-in-transition-enter-from[data-v-79ba9f59],.modal.pop-in-transition-leave-to[data-v-79ba9f59]{opacity:0}.modal.pop-in-transition-enter-from .container[data-v-79ba9f59],.modal.pop-in-transition-leave-to .container[data-v-79ba9f59]{transform:scale(1.1)}.modal.from-bottom-transition-enter-active[data-v-79ba9f59],.modal.from-bottom-transition-leave-active[data-v-79ba9f59]{transition:opacity .3s}.modal.from-bottom-transition-enter-active .container[data-v-79ba9f59],.modal.from-bottom-transition-leave-active .container[data-v-79ba9f59]{transition:transform .3s cubic-bezier(.65,0,.35,1)}.modal.from-bottom-transition-enter-from[data-v-79ba9f59],.modal.from-bottom-transition-leave-to[data-v-79ba9f59]{opacity:0}.modal.from-bottom-transition-enter-from .container[data-v-79ba9f59],.modal.from-bottom-transition-leave-to .container[data-v-79ba9f59]{transform:translateY(70%)}.address-formatted[data-v-d647dd4e]{display:inline-flex;flex-wrap:wrap;letter-spacing:.15em}.address-formatted-chunk[data-v-d647dd4e]{flex:0 0 var(--column-width);text-align:left;white-space:nowrap}.address-formatted-chunk.align-right[data-v-d647dd4e]{text-align:right;white-space:break-spaces}.transaction-info-details-party .name[data-v-06588384],.transaction-info-details-party .wallet[data-v-06588384]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.transaction-info-details-party .copy-address[data-v-06588384]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}.transaction-info-details-party[data-v-06588384]{width:50%;padding-left:4px;padding-right:11px}.transaction-info-details-party.recipient[data-v-06588384]{padding-left:11px;padding-right:4px}.transaction-info-details-party.recipient .name[data-v-06588384],.transaction-info-details-party.recipient .wallet[data-v-06588384]{text-align:right}.transaction-info-details-party .name[data-v-06588384],.transaction-info-details-party .wallet[data-v-06588384]{display:block;margin-bottom:8px;color:#fff;text-decoration:none;white-space:nowrap;line-height:16px}.transaction-info-details-party .copy-address[data-v-06588384]{height:48px}.transaction-tag[data-v-156e7b98]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:11px;line-height:16px;padding:2px 5px;color:#787878;border:1px solid #787878;border-radius:4px;text-transform:uppercase;white-space:nowrap;width:-moz-min-content;width:min-content;-webkit-user-select:none;-moz-user-select:none;user-select:none}.transaction-tag-list[data-v-abaedd20]{display:flex;justify-content:center;align-items:center;flex-flow:row;gap:8px;margin-bottom:-8px}.transaction-tag-list.dense[data-v-abaedd20]{gap:4px;margin-bottom:0}.transaction-info .parties[data-v-a033de50]{display:flex;padding-bottom:8px}.transaction-info .parties .custom-avatar[data-v-a033de50]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:48px;border:2px solid #757575;border-radius:100px}.transaction-info .parties .icon[data-v-a033de50]{width:36px;height:36px;color:#fff}.transaction-info .parties .logo[data-v-a033de50]{color:#1161fe}.transaction-info .parties .mid[data-v-a033de50]{position:relative;width:100%}.transaction-info .parties .mid .triangle[data-v-a033de50]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:15px;height:17px;color:#757575}.transaction-info .parties .mid .line[data-v-a033de50]{height:calc(50% + 1px);border-bottom:2px solid #757575}.transaction-info .details[data-v-a033de50]{display:flex;justify-content:space-between;overflow:hidden}.details-item .label[data-v-68d052f1]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.details-item .value[data-v-68d052f1]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.details-item .value.small[data-v-68d052f1]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.details-item[data-v-68d052f1]{margin-top:12px}.details-item .label[data-v-68d052f1]{display:flex;align-items:center;margin-bottom:4px;line-height:16px;color:hsla(0,0%,100%,.5)}.details-item .label .indent[data-v-68d052f1]{margin-left:8px}.details-item .label .expand-arrow[data-v-68d052f1]{width:14px;height:14px;color:#787878;opacity:.7;margin-left:8px;transition:inherit}.details-item .value[data-v-68d052f1]{letter-spacing:.05em;color:#fff;margin-bottom:8px}.details-item .value .secondary[data-v-68d052f1]{color:#babac0;margin-left:4px;white-space:nowrap}.details-item .value.highlight[data-v-68d052f1]{color:#ff4746}.details-item.expandable>.label[data-v-68d052f1]:hover{color:hsla(0,0%,100%,.8)}.details-item.expandable>.label:hover .expand-arrow[data-v-68d052f1]{opacity:1}.details-item.expandable>.value[data-v-68d052f1]{margin-top:10px;padding:8px 12px;background:#232323;border:1px solid #2f2f2f;border-radius:6px}.details-item.expandable.expanded>.label .expand-arrow[data-v-68d052f1]{transform:scaleY(-1)}.pool-token-row .tokens[data-v-47a7c49c] .symbol{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.pool-token-row .contract-id[data-v-47a7c49c]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px;color:#babac0;letter-spacing:.07em;cursor:pointer}.pool-token-row .contract-id .icon[data-v-47a7c49c]{width:22px;height:22px}.pool-token-row .token-info[data-v-47a7c49c]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:8px;padding-top:4px}.pool-token-row .token-info .address-shortening[data-v-47a7c49c],.pool-token-row .token-info .symbol[data-v-47a7c49c]{font-weight:500}.pool-token-row .tokens[data-v-47a7c49c] .separator,.pool-token-row .tokens[data-v-47a7c49c] .symbol{color:#fff}.confirm-transaction-sign .loader[data-v-166c5fe2]{display:flex;margin:0 auto;width:56px;height:56px}.confirm-transaction-sign .subtitle[data-v-166c5fe2]{margin:8px 0;color:#babac0}.confirm-transaction-sign .subtitle.warning[data-v-166c5fe2]{color:#ffb422}.confirm-transaction-sign .subtitle .app-name[data-v-166c5fe2]{color:#fff}.confirm-transaction-sign .transaction-overview[data-v-166c5fe2]{margin-bottom:16px}.confirm-transaction-sign .reason[data-v-166c5fe2] .value{word-break:break-all;color:#ffb422}.confirm-transaction-sign .details[data-v-166c5fe2]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;gap:8px;padding:8px 0}.confirm-transaction-sign .details .details-item[data-v-166c5fe2]{margin-right:24px}.confirm-transaction-sign .pool-token-row[data-v-166c5fe2]{padding-bottom:8px}.confirm-transaction-sign .button-action-primary[data-v-166c5fe2]{display:flex}.confirm-raw-sign .warning .title[data-v-50ead23c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.confirm-raw-sign .warning .content[data-v-50ead23c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.confirm-raw-sign .overview[data-v-50ead23c]{margin:16px}.confirm-raw-sign .warning[data-v-50ead23c]{margin-block:16px;text-align:left}.confirm-raw-sign .warning .title[data-v-50ead23c]{display:flex;align-items:center;margin-bottom:4px;color:#ffb422}.confirm-raw-sign .warning .title .icon[data-v-50ead23c]{width:24px;height:24px;padding-right:4px}.confirm-raw-sign .warning .content[data-v-50ead23c]{color:#fff}.confirm-raw-sign .details-item[data-v-50ead23c]{margin-top:24px;text-align:left}.textarea-input[data-v-2d4905c2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.textarea[data-v-2d4905c2]{--base-line-height:1.4em;--size:6}.textarea-input[data-v-2d4905c2]{min-height:calc(var(--base-line-height)*var(--size));width:100%;background:transparent;border:none;padding:0;color:#fff;outline:none;word-break:break-word;line-height:var(--base-line-height);resize:none}.textarea-input.resizable[data-v-2d4905c2]{resize:both}.textarea.xs[data-v-2d4905c2]{--size:3}.textarea.sm[data-v-2d4905c2]{--size:4}.textarea.md[data-v-2d4905c2]{--size:8}.textarea.auto-height[data-v-2d4905c2]{--size:1}.donate-error h1[data-v-de37d780]{text-align:left;font-weight:400;font-size:16px;margin:23px 0}.donate-error .error-info-title[data-v-de37d780]{text-transform:uppercase;color:#787878;text-align:left;font-size:14px;margin:0 0 15px}.donate-error .error-info-content[data-v-de37d780]{color:#fff;font-size:15px;margin:0;text-align:left;font-weight:400;margin-bottom:25px}.token-container .token-amount[data-v-dca0ef5e]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:22px;line-height:24px}.token-container[data-v-dca0ef5e]{display:flex;flex-direction:column}.token-container .token-content[data-v-dca0ef5e]{--screen-padding-x:12px;display:flex;flex-direction:column;padding-inline:var(--screen-padding-x)}.token-container .top[data-v-dca0ef5e]{display:flex;flex-direction:column;text-align:center}.token-container .token-amount[data-v-dca0ef5e]{margin-top:10px;margin-bottom:20px}.token-container .token-actions[data-v-dca0ef5e]{display:flex;justify-content:center;gap:var(--gap);margin-bottom:var(--gap)}.token-container .token-router[data-v-dca0ef5e]{position:inherit;padding-inline-start:calc(var(--screen-padding-x)*-1);padding-inline-end:calc(var(--screen-padding-x)*-1)}.token-container .sticky-tabs-wrapper[data-v-dca0ef5e]{position:sticky;top:env(safe-area-inset-top);background-color:var(--screen-bg-color);padding-bottom:4px}.token-container[data-v-dca0ef5e] .filters{--buttons-height:40px;padding-top:12px;position:sticky;top:calc(var(--buttons-height) + env(safe-area-inset-top))}.details-row[data-v-1887a5f2]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;display:flex;justify-content:space-between;align-items:center;padding:8px var(--screen-padding-x)}.details-row .title[data-v-1887a5f2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:hsla(0,0%,100%,.5)}.details-row .text[data-v-1887a5f2]{color:hsla(0,0%,100%,.75)}.token-details[data-v-b062462c]{margin-top:10px}.token-details .price .green[data-v-b062462c]{color:#00ff9d;font-weight:400}.token-details .price .red[data-v-b062462c]{color:#ff4746;font-weight:400}.token-details .link a[data-v-b062462c]{color:#babac0;text-decoration:none;display:inline-flex;align-items:center}.token-details .link a svg[data-v-b062462c]{width:22px;height:22px}.token-details .address-shortening[data-v-b062462c]{color:#babac0}.token-details .address-shortening[data-v-b062462c]:hover{color:#fff}.checkbox-container[data-v-3d62511b]{display:flex;position:relative;align-items:center;cursor:pointer;justify-content:flex-start;-webkit-user-select:none;-moz-user-select:none;user-select:none}.checkbox-container>[data-v-3d62511b]{transition:all .15s ease-in-out}.checkbox-container:hover .checkmark[data-v-3d62511b]{border-color:hsla(0,0%,100%,.5);background-color:#090909}.checkbox-container:hover .label-text[data-v-3d62511b]{color:hsla(0,0%,100%,.75)}.checkbox-container input[data-v-3d62511b]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkbox-container .checkmark[data-v-3d62511b]{background-color:#131313;border:1px solid hsla(0,0%,100%,.3);box-shadow:inset 1 1 4px rgba(0,0,0,.25);border-radius:4px;height:20px;width:20px;margin-right:10px;flex-shrink:0}.checkbox-container .checkmark.checked[data-v-3d62511b]{border:none;box-shadow:none;background-color:#1161fe;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath fill='%23fff' d='m15.95 7.313-7.44 7.44a.17.17 0 0 1-.236 0l-4.225-4.225a.17.17 0 0 1 0-.237l1.027-1.026a.17.17 0 0 1 .237 0l3.08 3.08 6.294-6.296a.17.17 0 0 1 .238 0l1.026 1.027a.167.167 0 0 1 0 .237'/%3E%3C/svg%3E")}.checkbox-container .checkmark.checked.disabled[data-v-3d62511b]{filter:brightness(.8)}.checkbox-container .label-text[data-v-3d62511b]{color:hsla(0,0%,100%,.5)}.checkbox-container .label-text.checked[data-v-3d62511b]{color:#fff}.button-subheader .message .heading[data-v-664f7dd3]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.button-subheader .message .description[data-v-664f7dd3]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.button-subheader[data-v-664f7dd3]{display:flex;align-items:center;width:100%;margin-bottom:16px;padding:20px 12px;border-radius:10px;color:#fff}.button-subheader .box[data-v-664f7dd3]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:16px;margin-right:auto;text-align:left}.button-subheader .message[data-v-664f7dd3]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column}.button-subheader .message .heading[data-v-664f7dd3]{line-height:150%}.button-subheader .message .description[data-v-664f7dd3]{opacity:.7}.platform-icon[data-v-18a3b1c4]{height:44px;width:40px;padding:2px 0}.platform-icon .platform-icon-image[data-v-18a3b1c4]{height:100%;margin:0 auto;transition:all .15s ease-in-out}.platform-icon .platform-icon-image.grey[data-v-18a3b1c4]{filter:grayscale(1);opacity:.8}.platform-icon .platform-icon-image.grey[data-v-18a3b1c4]:hover{filter:none;opacity:1}.platforms .footer[data-v-11c59964],.platforms .heading[data-v-11c59964]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:17px;line-height:24px}.platforms[data-v-11c59964]{font-family:IBM Plex Sans,sans-serif;font-weight:400;line-height:22px;font-size:15px;background-color:var(--screen-bg-color);word-break:break-word}.platforms .heading[data-v-11c59964]{margin-bottom:8px}.platforms .footer[data-v-11c59964]{margin-top:28px;margin-bottom:12px}.platforms .mobile-web-icons[data-v-11c59964]{display:flex;justify-content:center;align-items:center;flex-flow:row;gap:17px;padding-top:8px}.platforms .web-icons-wrapper[data-v-11c59964]{display:flex;justify-content:center;align-items:center;flex-flow:row;text-align:center;color:#babac0}.platforms .web-icons-title[data-v-11c59964]{padding-top:4px}.platforms .web-icons[data-v-11c59964]:first-child{border-right:1px solid hsla(0,0%,100%,.2)}.platforms .web-icons .web-icons-platforms[data-v-11c59964]{display:flex;justify-content:center;align-items:flex-start;flex-flow:row;gap:32px;padding-right:30px;padding-left:30px;padding-top:12px}.index .not-iframe.go[data-v-67e61e9e]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:20px;line-height:24px}.index .not-iframe.mobile[data-v-67e61e9e]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px}.index .not-iframe .heading[data-v-67e61e9e]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}.index .terms-agreement .terms-of-use[data-v-67e61e9e]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.index[data-v-67e61e9e]{--padding-top:44px;text-align:center}.index.extended-top-padding[data-v-67e61e9e]{--padding-top:64px}.index.ios-top-padding[data-v-67e61e9e]{padding-top:env(safe-area-inset-top)}.index .iframe-image[data-v-67e61e9e],.index .superhero-logo[data-v-67e61e9e]{margin-top:var(--padding-top)}.index .terms-agreement[data-v-67e61e9e]{display:flex;justify-content:center;align-items:center;flex-flow:row;margin-bottom:16px}.index .terms-agreement .terms-of-use[data-v-67e61e9e]{color:hsla(0,0%,100%,.75);text-decoration:none;margin-left:4px}.index .terms-agreement .terms-of-use[data-v-67e61e9e]:hover{color:#fff;text-decoration:underline}.index .terms-agreement .terms-of-use.agreed[data-v-67e61e9e]{color:#fff}.index .terms-agreement.mobile[data-v-67e61e9e]{margin-top:32px}.index .not-iframe[data-v-67e61e9e]{text-align:center}.index .not-iframe .superhero-logo[data-v-67e61e9e]{height:32px;margin-bottom:8px}.index .not-iframe .heading[data-v-67e61e9e]{display:flex;justify-content:center;align-items:flex-start;flex-flow:row;line-height:125%;color:#fff;margin:4px 60px 24px}.index .not-iframe .heading .tag[data-v-67e61e9e]{color:hsla(0,0%,100%,.75)}.index .not-iframe .heading .tag .receive[data-v-67e61e9e],.index .not-iframe .heading .tag .send[data-v-67e61e9e],.index .not-iframe .heading .tag .store[data-v-67e61e9e]{color:#fff}.index .not-iframe .heading .tag .aeternity-name[data-v-67e61e9e]{color:#ff2b5e}.index .not-iframe.mobile[data-v-67e61e9e]{color:#fff;max-width:80%;margin:0 auto;min-height:25vh;padding-top:30px}.index .not-iframe.go[data-v-67e61e9e]{margin-top:-36px;margin-bottom:42px}.index .not-iframe .spinner[data-v-67e61e9e]{width:256px;height:256px;color:#1161fe}.index .not-iframe .platforms[data-v-67e61e9e]{margin:0 auto;max-width:312px}.index .wallet-button-box[data-v-67e61e9e]{margin-inline:16px;padding-block:4px}.select-asset[data-v-2815dc49]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;display:flex;justify-content:center;align-items:center;flex-flow:row;padding:2px 12px;background-color:rgba(0,0,0,.3);border-radius:16px;gap:6px;color:#1161fe;white-space:nowrap;border:2px solid transparent;transition:all .12s ease-out}.select-asset .chevron-down[data-v-2815dc49]{width:8px!important;color:#fff;opacity:.75}.select-asset[data-v-2815dc49]:not(.disabled):hover{border-color:hsla(0,0%,100%,.15)}.select-asset:not(.disabled).focused[data-v-2815dc49]{background-color:hsla(0,0%,100%,.05)}.input-amount .readonly-symbol[data-v-a339de10]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.input-amount-desc[data-v-a339de10]{display:flex;justify-content:space-between;align-items:center;flex-flow:row;-webkit-user-select:none;-moz-user-select:none;user-select:none}.input-amount-desc-total[data-v-a339de10]{word-break:break-word}.focused .input-amount-desc-total[data-v-a339de10]{color:hsla(0,0%,100%,.75)}.input-amount-desc-at[data-v-a339de10]{margin-left:auto}.input-amount-asset[data-v-a339de10]{margin-right:-2px}.input-amount .readonly-symbol[data-v-a339de10]{white-space:nowrap;color:#1161fe;-webkit-user-select:none;-moz-user-select:none;user-select:none}.invite-row[data-v-9a6ba60a]{padding:1rem var(--screen-padding-x);margin:-2px calc(var(--screen-padding-x)*-1) 0;border-style:solid;border-color:#232323;border-width:2px 0;text-align:left;color:#fff;position:relative}.invite-row .invite-link[data-v-9a6ba60a]{width:100%;margin:12px 0}.invite-row .invite-link-url[data-v-9a6ba60a]{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:11px;color:#fff}.invite-row .invite-info[data-v-9a6ba60a]{font-size:13px;display:flex;align-items:center;margin-bottom:10px;color:#787878}.invite-row .invite-info .token-amount[data-v-9a6ba60a]{flex-grow:1}.invite-row .invite-info .date[data-v-9a6ba60a]{font-size:11px;color:#fff;opacity:.5}.invite-row .input-amount[data-v-9a6ba60a]{margin-bottom:var(--gap)}.invite-row .centered-buttons[data-v-9a6ba60a]{display:flex;gap:var(--gap)}.invite-page[data-v-47b6712e]{padding-inline:var(--screen-padding-x);overflow:hidden}.invite-page .section-title[data-v-47b6712e]{display:flex;align-items:center;margin:36px 0 16px;font-size:16px;text-align:left;color:#babac0;font-weight:500}.invite-page .section-title-icon[data-v-47b6712e]{width:20px;height:20px;margin-right:4px;color:#fff;opacity:.5}.invite-page .amount[data-v-47b6712e]{margin-bottom:20px}.radio-button[data-v-30c8e33a]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.radio-button.disabled[data-v-30c8e33a]{opacity:50%;cursor:not-allowed}.radio-button .input[data-v-30c8e33a]{position:absolute;top:0;left:0;visibility:hidden}.radio-button .radio-dot[data-v-30c8e33a]{position:relative;border-radius:50%;border:1px solid hsla(0,0%,100%,.5);width:20px;height:20px;background:var(--screen-bg-color);margin-right:6px;opacity:.5;flex-shrink:0}.radio-button .radio-dot[data-v-30c8e33a]:after{content:"";position:absolute;border-radius:50%;width:0;height:0;top:50%;left:50%;background:#1161fe;transition:all .15s ease-in-out;transform:translate(-50%,-50%)}.radio-button .radio-dot.checked[data-v-30c8e33a]{opacity:1}.radio-button .radio-dot.checked[data-v-30c8e33a]:after{width:14px;height:14px;opacity:1}.radio-button .radio-holder[data-v-30c8e33a]{width:100%;opacity:.5}.radio-button .radio-holder.checked[data-v-30c8e33a]{opacity:1}.language-settings .language[data-v-2f99176c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.language-settings[data-v-2f99176c]{padding-inline:var(--screen-padding-x)}.language-settings .text-description[data-v-2f99176c]{margin-bottom:16px}.language-settings .language[data-v-2f99176c]{padding:6px 0;opacity:.5}.language-settings .language.active[data-v-2f99176c]{opacity:1}.language-settings .language .language-code[data-v-2f99176c]{text-transform:uppercase}.language-settings .language .row[data-v-2f99176c]{width:100%;display:inline-flex;justify-content:flex-start;align-items:center;gap:4px}.currency-settings .currency .row .left .code[data-v-d9f35b18],.currency-settings .currency .row .left .symbol[data-v-d9f35b18]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.currency-settings .currency .row .name[data-v-d9f35b18]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.currency-settings[data-v-d9f35b18]{padding-inline:var(--screen-padding-x)}.currency-settings .options[data-v-d9f35b18]{margin-top:20px}.currency-settings .currency[data-v-d9f35b18]{padding:6px 0;font-weight:500;font-size:14px;line-height:24px}.currency-settings .currency .row[data-v-d9f35b18]{width:100%;display:inline-flex;align-items:center}.currency-settings .currency .row .left[data-v-d9f35b18]{display:inline-flex;align-items:center;width:95px}.currency-settings .currency .row .left .code[data-v-d9f35b18],.currency-settings .currency .row .left .symbol[data-v-d9f35b18]{text-transform:uppercase;padding-right:2px;color:hsla(0,0%,100%,.5)}.currency-settings .currency .row .name[data-v-d9f35b18]{color:hsla(0,0%,100%,.75)}.currency-settings .currency.active .row .left .code[data-v-d9f35b18],.currency-settings .currency.active .row .left .symbol[data-v-d9f35b18],.currency-settings .currency.active .row .name[data-v-d9f35b18]{color:#fff}.auction-tabs[data-v-a1bc958c]{padding-inline:var(--screen-padding-x)}.auction-router[data-v-a1bc958c]{top:8%}.auction-overview[data-v-ae141ce8]{display:flex;justify-content:space-between}.auction-overview .details-item[data-v-ae141ce8] .label{margin-bottom:4px}.auction-overview .details-item[data-v-ae141ce8] .value{text-align:left}.auction-overview .details-item[data-v-ae141ce8]:first-of-type{padding-right:24px}.auction-overview .details-item.end-height[data-v-ae141ce8] .value{color:#babac0}.auction-overview .details-item.end-height[data-v-ae141ce8] .secondary{color:#787878}.auction-card .name[data-v-57d51d1e]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:14px;line-height:24px}.auction-card[data-v-57d51d1e]{display:flex;flex-direction:column;align-items:center;height:184px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 360 184'%3E%3Cpath fill='url(%23a)' d='M360 48H0v80h360z'/%3E%3Cpath fill='url(%23b)' d='M112 64H32v80h80z'/%3E%3Cpath fill='url(%23c)' d='M96 88H0v96h96z'/%3E%3Cpath fill='url(%23d)' d='M0 0h360v80H0z'/%3E%3Cpath fill='url(%23e)' d='M248 16h80v80h-80z'/%3E%3Cpath fill='url(%23f)' d='M264 40h96v96h-96z'/%3E%3Cdefs%3E%3ClinearGradient id='a' x1='360' x2='9.651' y1='128' y2='69.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='112' x2='32.109' y1='144' y2='141.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='96' x2='.13' y1='184' y2='180.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='d' x1='0' x2='350.349' y1='80' y2='21.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='e' x1='248' x2='327.891' y1='96' y2='93.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='264' x2='359.87' y1='136' y2='132.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E")}.auction-card .avatar[data-v-57d51d1e]{width:48px;height:48px;box-shadow:0 0 0 8px rgba(17,97,254,.15);margin-top:36px}.auction-card .name[data-v-57d51d1e]{line-height:16px;margin-top:16px}.auction-card .auction-overview[data-v-57d51d1e]{margin-top:16px}.auction-card .help-button[data-v-57d51d1e]{align-self:flex-end;padding-top:16px;padding-right:16px;margin-bottom:-36px}.auction-bid .form[data-v-3431fc86]{padding:16px}.auction-bid .form .tx-details[data-v-3431fc86]{display:flex;padding-top:16px}.auction-bid .form .tx-details .details-item[data-v-3431fc86]{margin-right:24px}.auction-bid .form .button[data-v-3431fc86]{margin-top:16px}.account-item .address.md[data-v-4a2fe2f6],.account-item .name.md[data-v-4a2fe2f6]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-item .address.rg[data-v-4a2fe2f6],.account-item .name.rg[data-v-4a2fe2f6]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.account-item[data-v-4a2fe2f6]{display:flex;align-items:center}.account-item .avatar-wrapper[data-v-4a2fe2f6]{position:relative;display:flex;margin-right:4px}.account-item .avatar-wrapper.has-protocol-icon[data-v-4a2fe2f6]{margin-right:8px}.account-item .avatar-wrapper .protocol-icon[data-v-4a2fe2f6]{position:absolute;bottom:0;right:-4px}.account-item .address[data-v-4a2fe2f6],.account-item .name[data-v-4a2fe2f6]{text-align:left;word-break:break-all}.account-item .name[data-v-4a2fe2f6]{max-width:230px}.account-item .external-link-icon[data-v-4a2fe2f6]{flex-shrink:0;margin-top:-4px;margin-left:-4px;width:22px;height:22px}.auction-history .title[data-v-66adf79c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:17px;line-height:24px}.auction-history[data-v-66adf79c]{min-height:184px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 360 184'%3E%3Cpath fill='url(%23a)' d='M360 48H0v80h360z'/%3E%3Cpath fill='url(%23b)' d='M112 64H32v80h80z'/%3E%3Cpath fill='url(%23c)' d='M96 88H0v96h96z'/%3E%3Cpath fill='url(%23d)' d='M0 0h360v80H0z'/%3E%3Cpath fill='url(%23e)' d='M248 16h80v80h-80z'/%3E%3Cpath fill='url(%23f)' d='M264 40h96v96h-96z'/%3E%3Cdefs%3E%3ClinearGradient id='a' x1='360' x2='9.651' y1='128' y2='69.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='112' x2='32.109' y1='144' y2='141.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='96' x2='.13' y1='184' y2='180.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='d' x1='0' x2='350.349' y1='80' y2='21.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='e' x1='248' x2='327.891' y1='96' y2='93.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='264' x2='359.87' y1='136' y2='132.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");background-repeat:repeat-x}.auction-history .title[data-v-66adf79c]{padding:16px 0 8px 0;text-align:center;color:#787878;display:block}.auction-history .title .name[data-v-66adf79c]{color:#1161fe}.auction-history .item[data-v-66adf79c]{margin:0 16px;padding:8px 0}.auction-history .item[data-v-66adf79c]:not(:first-of-type){border-top:1px solid rgba(17,97,254,.44)}.auction-history .item .account-item[data-v-66adf79c]{margin-top:4px}.auction-history .item .auction-overview[data-v-66adf79c]{margin-top:16px}.auction-history .item .auction-overview[data-v-66adf79c] .details-item:first-of-type{padding-right:32px}.name-row[data-v-5a99e238]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;padding:0 12px}.name-row .content[data-v-5a99e238]{display:flex;align-items:center;padding:8px 0;color:#fff;text-align:left;text-decoration:none;transition:.2s}.name-row .name-info[data-v-5a99e238]{margin-left:8px;width:100%}.register-name .message[data-v-06542595]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;margin:32px;text-align:center;color:#babac0}.register-name .btn[data-v-06542595]{margin-inline:auto}.auction-list .auction-list-content .list .name-wrapper[data-v-1442f094]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.auction-list .toolbar[data-v-1442f094]{--background:var(--screen-bg-color);--min-height:0;padding-inline:var(--screen-padding-x)}.auction-list .auction-list-content[data-v-1442f094]{--filter-top-offset:166px;display:flex;flex-direction:column}.auction-list .auction-list-content .list[data-v-1442f094]{padding:0 12px;margin-inline:calc(var(--screen-padding-x)*-1)}.auction-list .auction-list-content .list .name-wrapper[data-v-1442f094]{display:flex;justify-content:space-between;line-height:16px}.auction-list .auction-list-content .list .name-wrapper .name[data-v-1442f094]{display:flex;flex-direction:column;font-weight:700}.auction-list .auction-list-content .list .name-wrapper .expiration[data-v-1442f094]{align-self:flex-end;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#787878}.auction-list .auction-list-content .spinner[data-v-1442f094]{display:flex;width:56px;height:56px;margin:72px auto 0 auto}.auction-list .auction-list-content[data-v-1442f094] .filters{position:sticky;top:env(safe-area-inset-top);margin-left:0;margin-right:0}.more[data-v-2588bf9a]{--screen-padding-x:8px;overflow:hidden;padding-inline:var(--screen-padding-x)}.claim .chain-name-counter[data-v-49ca1149]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.claim[data-v-49ca1149]{padding-inline:var(--screen-padding-x)}.claim .chain-name[data-v-49ca1149]{margin-bottom:6px}.claim .chain-name-counter[data-v-49ca1149]{color:#787878}.claim .chain-name .aens-domain[data-v-49ca1149]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.claim .auto-extend-label[data-v-49ca1149]{display:flex;align-items:center;gap:10px}.claim .explanation[data-v-49ca1149]{margin-top:10px}.claim .btn-register[data-v-49ca1149]{margin-top:20px}.name-item .collapsed .header .truncate[data-v-22a1d9de]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.name-item .collapsed .header .pending[data-v-22a1d9de]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.name-item .collapsed .header .buttons .button-plain[data-v-22a1d9de]:not(.btn-help),.name-item .expand>.details-item[data-v-22a1d9de] .value .pointers span{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.name-item .expand>.details-item[data-v-22a1d9de] .value,.name-item>span[data-v-22a1d9de]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.name-item[data-v-22a1d9de]{display:flex;flex-direction:column;padding:8px var(--screen-padding-x);margin-left:calc(var(--screen-padding-x)*-1);margin-right:calc(var(--screen-padding-x)*-1);transition:.2s}.name-item[data-v-22a1d9de]:hover{background-color:#121212}.name-item .collapsed[data-v-22a1d9de]{display:flex;text-align:left;justify-content:space-between}.name-item .collapsed .pending-icon[data-v-22a1d9de]{height:32px;width:32px}.name-item .collapsed .header[data-v-22a1d9de]{flex:2;max-width:260px}.name-item .collapsed .header .pending[data-v-22a1d9de]{color:#787878}.name-item .collapsed .header .truncate[data-v-22a1d9de]{line-height:16px}.name-item .collapsed .header .buttons[data-v-22a1d9de]{display:flex;margin-top:2px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.name-item .collapsed .header .buttons .button-plain[data-v-22a1d9de]:not(.btn-help){padding:2px 8px;white-space:nowrap;color:#babac0;background:#2f2f2f;border-radius:6px;opacity:1}@media(min-width:362px)and (max-width:480px){.name-item .collapsed .header .buttons .button-plain[data-v-22a1d9de]:not(.btn-help){padding:2px 6px}}.name-item .collapsed .header .buttons .button-plain:not(.btn-help).set[data-v-22a1d9de]{background:rgba(255,180,34,.1);color:#ffb422}.name-item .collapsed .header .buttons .button-plain:not(.btn-help).edit[data-v-22a1d9de]{background:rgba(17,97,254,.15);color:#1161fe}.name-item .collapsed .header .buttons .button-plain[data-v-22a1d9de]:not(.btn-help):not(:last-of-type){margin-right:4px}.name-item .collapsed .button-plain[data-v-22a1d9de]{align-self:flex-start;flex-basis:24px}.name-item .collapsed .button-plain .icon[data-v-22a1d9de]{width:14px;color:#fff;opacity:.44}.name-item .collapsed .button-plain .icon.hidden[data-v-22a1d9de]{display:none}.name-item .collapsed .button-plain .icon.rotated[data-v-22a1d9de]{transform:rotate(180deg)}.name-item .expand[data-v-22a1d9de]{display:flex;flex-direction:column}.name-item .expand .input-address[data-v-22a1d9de]{margin:8px 0}.name-item .expand .input-address-icon[data-v-22a1d9de]{width:24px;height:24px;margin:-4px 0}.name-item .expand .details-item[data-v-22a1d9de] .value{color:#babac0}.name-item .expand>.details-item[data-v-22a1d9de] .value{letter-spacing:0}.name-item .expand>.details-item[data-v-22a1d9de] .value .pointers{display:flex}.name-item .expand>.details-item[data-v-22a1d9de] .value .pointers span{margin-right:4px;color:#787878}.name-item .expand .heights[data-v-22a1d9de]{display:flex;flex-direction:row}.name-item .expand .heights .details-item[data-v-22a1d9de]{flex:1}.name-item .expand .heights .details-item[data-v-22a1d9de] .value .secondary{color:#787878;margin-left:-2px}.name-item .expand .heights .details-item[data-v-22a1d9de]:first-of-type{margin-right:16px}.name-item>span[data-v-22a1d9de]{margin-top:4px;color:#babac0}.names-list[data-v-a49c9f7e]{padding:4px 12px 0 12px}.names-list .name-item[data-v-a49c9f7e]{margin-top:1px}.names-list .spinner[data-v-a49c9f7e]{display:flex;width:56px;height:56px;margin:72px auto 0 auto}.not-found .title[data-v-b270b9c2]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:22px;line-height:32px}.not-found .description[data-v-b270b9c2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.not-found[data-v-b270b9c2]{text-align:center;display:flex;flex-direction:column;align-items:center;height:auto;padding:0 16px}.not-found .image[data-v-b270b9c2]{margin-top:88px;width:156px}.not-found .title[data-v-b270b9c2]{margin-top:16px}.not-found .description[data-v-b270b9c2]{margin-top:8px;margin-bottom:32px;opacity:.85}.not-found .button-wrapper[data-v-b270b9c2]{width:100%}.not-found .button[data-v-b270b9c2]{width:100%;margin-bottom:16px}.not-found .icon[data-v-b270b9c2]{margin-right:4px;width:20px;height:20px}.notification-item .title[data-v-038ccc36]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.notification-item .external-link-button[data-v-038ccc36]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:13px;line-height:16px}.notification-item .message[data-v-038ccc36]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.notification-item .status-and-date .date[data-v-038ccc36]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.notification-item .address[data-v-038ccc36]{font-family:IBM Plex Mono;font-weight:500;font-size:15px;line-height:24px}.notification-item[data-v-038ccc36]{padding:8px 16px;display:grid;row-gap:2px;grid-template-columns:48px auto;border:none;outline:none;text-decoration:none;color:#fff;cursor:pointer}.notification-item[data-v-038ccc36]:hover{background-color:#090909}.notification-item .content[data-v-038ccc36]{overflow:hidden}.notification-item .status-and-date[data-v-038ccc36]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;grid-column-start:2;gap:4px}.notification-item .status-and-date .unread-dot[data-v-038ccc36]{width:8px;height:8px;border-radius:8px;background-color:#ff4746}.notification-item .status-and-date .date[data-v-038ccc36]{color:hsla(0,0%,100%,.5)}.notification-item .notification-avatar[data-v-038ccc36]{margin-top:6px;margin-left:4px}.notification-item .notification-icon[data-v-038ccc36]{margin-top:3px;width:40px;height:40px}.notification-item .notification-icon-backup[data-v-038ccc36]{margin-top:12px;width:40px;height:40px}.notification-item .message[data-v-038ccc36]{line-height:20px;color:hsla(0,0%,100%,.85)}.notification-item .message[data-v-038ccc36]:first-letter{text-transform:uppercase}.notification-item .address[data-v-038ccc36]{letter-spacing:.07em}.notification-item .redirect-button[data-v-038ccc36]{margin-top:10px}.notification-item .external-link-button[data-v-038ccc36]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;color:#fff;margin-top:6px}.notification-item .external-link-button .external-link-icon[data-v-038ccc36]{width:24px;height:24px}.notifications .empty-list-message[data-v-29c48dac]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.notifications[data-v-29c48dac]{position:relative;padding:0}.notifications .empty-list-message[data-v-29c48dac]{max-width:180px;margin-top:56px;margin-inline:auto;text-align:center;opacity:.75}.switch-button .label[data-v-87c8d2dc]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.switch-button[data-v-87c8d2dc]{width:100%;display:inline-flex;justify-content:space-between;align-items:center}.switch-button.disabled[data-v-87c8d2dc]{opacity:.75}.switch-button .label[data-v-87c8d2dc]{color:hsla(0,0%,100%,.5)}.switch-button .switch[data-v-87c8d2dc]{position:relative;display:inline-block;width:36px;height:20px}.switch-button .switch input[data-v-87c8d2dc]{opacity:0;width:0;height:0}.switch-button .switch input:checked+.slider[data-v-87c8d2dc]{background-color:#1161fe}.switch-button .switch input:checked+.slider[data-v-87c8d2dc]:before{transform:translateX(16px)}.switch-button .switch .slider[data-v-87c8d2dc]{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:hsla(0,0%,100%,.15);transition:.4s}.switch-button .switch .slider[data-v-87c8d2dc]:before{position:absolute;content:"";height:16px;width:16px;left:2px;bottom:2px;background-color:hsla(0,0%,100%,.75);transition:.4s}.switch-button .switch .slider.round[data-v-87c8d2dc]{border-radius:12px}.switch-button .switch .slider.round[data-v-87c8d2dc]:before{border-radius:50%}.switch-button.active .label[data-v-87c8d2dc]{color:#fff}.switch-button.active .switch .slider[data-v-87c8d2dc]:before{background-color:#fff}.notification-settings[data-v-bacfd880]{padding-inline:var(--screen-padding-x)}.notification-settings .switches[data-v-bacfd880]{margin-top:20px}.notification-settings .switches .switch-button[data-v-bacfd880]{margin-bottom:12px}.errors-log-settings[data-v-7d9261ee]{padding-inline:var(--screen-padding-x)}.errors-log-settings .options[data-v-7d9261ee]{margin-top:20px}.permissions-settings[data-v-cd8a66b0]{padding-inline:var(--screen-padding-x)}.permissions-settings .hosts[data-v-cd8a66b0]{margin-bottom:26px}.permissions-settings .hosts .host[data-v-cd8a66b0]{margin:8px 0}.permission-manager[data-v-51e00354]{--screen-padding-x:14px;padding-inline:var(--screen-padding-x);color:#fff}.permission-manager .inputs[data-v-51e00354]{margin-bottom:32px}.permission-manager .permission-row[data-v-51e00354]{margin:10px 0}.permission-manager .permission-row.switch[data-v-51e00354]{margin-bottom:0;padding-top:3px;padding-right:5px}.permission-manager .transaction-sign-limit .transaction-limit-input[data-v-51e00354]{margin-bottom:16px}.permission-manager .transaction-sign-limit .transaction-limit-amount[data-v-51e00354]{justify-content:space-between;width:100%}.permission-manager .bottom[data-v-51e00354]{padding-top:38px;padding-bottom:16px}.permission-manager .bottom .actions[data-v-51e00354]{width:100%;display:flex;padding-bottom:12px;gap:12px}.permission-manager .bottom .actions .confirm[data-v-51e00354]{flex:1.8}.connect .permissions .title[data-v-266c673b],.connect .subtitle[data-v-266c673b]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.connect .permissions .description[data-v-266c673b]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.connect .transaction-info[data-v-266c673b]{margin-bottom:16px}.connect .subtitle[data-v-266c673b]{margin-top:24px;margin-bottom:16px;color:#babac0;text-align:center}.connect .subtitle .app-name[data-v-266c673b]{color:#fff}.connect .permissions[data-v-266c673b]{margin:16px 0}.connect .permissions .title[data-v-266c673b]{display:flex;align-items:center;padding-bottom:4px;color:#787878}.connect .permissions .title .icon[data-v-266c673b]{width:24px;height:24px;color:#00ff9d;padding-right:4px}.connect .permissions .description[data-v-266c673b]{display:block;padding-bottom:16px;color:#fff;text-align:left}.account-list .permissions .title[data-v-eb792a74],.account-list .subtitle[data-v-eb792a74]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.account-list .permissions .description[data-v-eb792a74]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.account-list .transaction-info[data-v-eb792a74]{margin-bottom:16px}.account-list .subtitle[data-v-eb792a74]{margin-top:24px;margin-bottom:16px;color:#babac0;text-align:center}.account-list .subtitle .app-name[data-v-eb792a74]{color:#fff}.account-list .permissions[data-v-eb792a74]{margin:16px 0}.account-list .permissions .title[data-v-eb792a74]{display:flex;align-items:center;padding-bottom:4px;color:#787878}.account-list .permissions .title .icon[data-v-eb792a74]{width:24px;height:24px;color:#00ff9d;padding-right:4px}.account-list .permissions .description[data-v-eb792a74]{display:block;padding-bottom:16px;color:#fff;text-align:left}.message-sign .subtitle[data-v-cd79f6b6]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;margin-top:28px;margin-bottom:16px;color:#babac0;text-align:center}.message-sign .subtitle .app-name[data-v-cd79f6b6]{color:#fff}.message-sign .message-text[data-v-cd79f6b6]{margin-top:16px}.privacy-policy[data-v-aef7a50c]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px;padding:0 16px;word-break:break-word;line-height:20px;color:hsla(0,0%,100%,.85)}.privacy-policy .link-button[data-v-aef7a50c]{display:inline}.privacy-policy ol[data-v-aef7a50c]{list-style:upper-roman;padding:10px}.privacy-policy ol ol[data-v-aef7a50c]{list-style-position:inside;padding:0}.privacy-policy ol ul[data-v-aef7a50c]{padding-left:20px}.privacy-policy ol li[data-v-aef7a50c]{margin-bottom:20px;margin-left:10px}.privacy-policy ol ol li[data-v-aef7a50c],.privacy-policy ol ul li[data-v-aef7a50c]{margin:16px 0 16px 3px}.privacy-policy ol ol.download-options[data-v-aef7a50c],.privacy-policy ol ul.download-options[data-v-aef7a50c]{list-style-type:decimal}.privacy-policy ol ol.sharing-terms[data-v-aef7a50c],.privacy-policy ol ul.sharing-terms[data-v-aef7a50c]{list-style-type:lower-roman}.info-box[data-v-13169d05]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;align-items:center;margin-top:10px;padding:8px 12px;border-radius:4px;line-height:19px}.info-box.default[data-v-13169d05]{background-color:hsla(0,0%,100%,.08);color:hsla(0,0%,100%,.75)}.info-box.success[data-v-13169d05]{background-color:rgba(0,211,161,.15);color:#00d3a1}.info-box.danger[data-v-13169d05]{background-color:rgba(255,71,70,.15);color:#ff4746}.info-box.warning[data-v-13169d05]{background-color:rgba(255,180,34,.15);color:#ffb422}.url-status[data-v-7e3c0162]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px;display:flex;align-items:center}.url-status.alert[data-v-7e3c0162],.url-status.blacklisted[data-v-7e3c0162],.url-status.critical[data-v-7e3c0162]{color:#ff4746}.url-status.not-secure[data-v-7e3c0162],.url-status.not-verified[data-v-7e3c0162],.url-status.warning[data-v-7e3c0162]{color:#ffb422}.url-status.help[data-v-7e3c0162],.url-status.info[data-v-7e3c0162]{color:#1161fe}.url-status.success[data-v-7e3c0162],.url-status.verified[data-v-7e3c0162]{color:#00d3a1}.url-status .title[data-v-7e3c0162]{margin-right:8px}.url-status .icon-link[data-v-7e3c0162]{color:inherit;display:inline-block;line-height:1}.url-status .icon-link .icon[data-v-7e3c0162]{width:22px;height:22px;cursor:pointer}.retip .url-info .url[data-v-69aca2f2]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.retip[data-v-69aca2f2]{padding:16px}.retip .url-info[data-v-69aca2f2]{margin-block:30px 20px}.retip .url-info .url[data-v-69aca2f2]{display:block;margin-bottom:2px;overflow-wrap:anywhere;line-height:1.4em;color:#fff;text-decoration:none}.retip .button-wrapper[data-v-69aca2f2]{display:flex;gap:var(--gap)}.seed-phrase-settings[data-v-2062bb15]{padding-inline:var(--screen-padding-x)}.seed-phrase-settings .white-text[data-v-2062bb15]{color:#fff}.seed-phrase-settings .button[data-v-2062bb15]{margin-top:22px}.card-mnemonic[data-v-e74c1a8c]{background:hsla(0,0%,100%,.15);border:2px solid hsla(0,0%,100%,.1);border-radius:16px;padding:12px}.seed-phrase-details .mnemonics .mnemonics-text[data-v-2f6603ef]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.seed-phrase-details[data-v-2f6603ef]{padding-inline:var(--screen-padding-x)}.seed-phrase-details .mnemonics[data-v-2f6603ef]{margin-bottom:18px}.seed-phrase-details .mnemonics .mnemonics-text[data-v-2f6603ef]{letter-spacing:.1em;line-height:32px;color:#fff;text-align:left;margin-bottom:12px}.seed-phrase-details .mnemonics .copy-btn[data-v-2f6603ef]{margin:0 auto;min-width:210px}.seed-phrase-details .buttons[data-v-2f6603ef]{display:flex;flex-direction:column;gap:var(--gap);margin-top:20px}.seed-phrase-notification[data-v-53556f6a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px;border:2px solid #00d3a1;border-radius:16px;background:rgba(0,0,0,.85);display:flex;flex-direction:column;justify-content:center;align-items:center;color:#00d3a1}.seed-phrase-notification.error[data-v-53556f6a]{border-color:#ff4746;color:#ff4746}.seed-phrase-notification .text[data-v-53556f6a]{padding:16px;text-align:center}.seed-phrase-notification .icon-wrapper .icon[data-v-53556f6a],.seed-phrase-notification .icon-wrapper[data-v-53556f6a]{width:40px;height:40px}.seed-phrase-badge[data-v-6c333003]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:16px;line-height:24px;display:inline-flex;align-items:center;height:30px;border:1px solid hsla(0,0%,100%,.44);border-radius:4px;padding:4px 6px;margin-right:4px;margin-bottom:8px;color:#fff;background-color:#000;cursor:pointer;letter-spacing:.1rem;line-height:100%}.seed-phrase-badge.selected[data-v-6c333003]{opacity:.44;cursor:unset;background:transparent;border-color:#babac0;color:#fff}.seed-phrase-badge.editable[data-v-6c333003]{background:rgba(0,0,0,.25);border:none}.seed-phrase-badge.editable .close-icon[data-v-6c333003]{color:hsla(0,0%,100%,.44);width:24px;height:24px}.seed-phrase-verify-settings .title[data-v-25d35038]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.seed-phrase-verify-settings[data-v-25d35038]{position:relative}.seed-phrase-verify-settings-body[data-v-25d35038]{padding:var(--screen-padding-x)}.seed-phrase-verify-settings .title[data-v-25d35038]{color:#fff;margin-bottom:18px;text-align:center}.seed-phrase-verify-settings .source-phrases[data-v-25d35038]{margin-top:18px}.seed-phrase-verify-settings .selected-phrases[data-v-25d35038]{position:relative;margin-top:18px}.seed-phrase-verify-settings .selected-phrases .selected-phrases-list[data-v-25d35038]{min-height:180px}.seed-phrase-verify-settings .selected-phrases .selected-phrases-notification[data-v-25d35038]{position:absolute;z-index:1;inset:0}.settings[data-v-e9e78210]{--screen-padding-x:8px;overflow:hidden;padding-inline:var(--screen-padding-x)}.accordion-item[data-v-77e13361]{margin-bottom:8px}.accordion-item .accordion-label[data-v-77e13361]{display:flex;align-items:center;margin-block:5px;cursor:pointer}.accordion-item .accordion-label .accordion-label-chevron[data-v-77e13361]{width:14px;height:14px;margin-right:8px;color:#9e9e9e;transition:.3s}.accordion-item .accordion-label .accordion-label-chevron[data-v-77e13361]:not(.rotated){transform:rotate(-90deg)}.accordion-item .accordion-label .accordion-label-text[data-v-77e13361]{font-size:14px;font-weight:500;text-transform:uppercase;color:#00ff9d}.terms-of-service h1[data-v-6eec62a2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px}.terms-of-service[data-v-6eec62a2]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px;padding:0 16px;word-break:break-word;line-height:20px;color:hsla(0,0%,100%,.85)}.terms-of-service .italic[data-v-6eec62a2]{font-style:italic}.terms-of-service .underline[data-v-6eec62a2]{text-decoration:underline}.terms-of-service .bolder[data-v-6eec62a2]{font-weight:700}.terms-of-service h1[data-v-6eec62a2]{margin:20px;text-align:center}.terms-of-service ul[data-v-6eec62a2]{margin-bottom:8px;padding-left:20px}.terms-of-service .link-button[data-v-6eec62a2]{display:inline}.tips-claim[data-v-1e037461]{padding-inline:var(--screen-padding-x)}.tips-claim .header[data-v-1e037461]{margin:20px 0 24px 0;display:flex}.tips-claim .header .help-button[data-v-1e037461]{margin-left:8px}.tips-claim .header .help-button[data-v-1e037461] .icon{width:32px;height:32px}.tips-claim .input-field[data-v-1e037461]{margin:20px 0}.payload .payload-text[data-v-30e23ae8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.payload[data-v-30e23ae8]{text-align:left;width:100%}.payload .payload-header[data-v-30e23ae8]{display:flex;justify-content:space-between;margin-bottom:4px}.payload .payload-text[data-v-30e23ae8]{color:#fff;opacity:.85}.dialog[data-v-5b9d82eb]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px;position:relative;z-index:1;display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:10px 8px;border-radius:8px;color:hsla(0,0%,100%,.5);background-color:#2b2b2b}.dialog[data-v-5b9d82eb]:after{content:"";position:absolute;z-index:-1;width:8px;height:8px;top:50%;left:-4px;transform:translateY(-50%) rotate(45deg);background-color:#2b2b2b}.dialog.dense[data-v-5b9d82eb]{padding:2px 4px;border-radius:4px;letter-spacing:0}.dialog.dense[data-v-5b9d82eb]:after{left:-3px}.dialog.bottom[data-v-5b9d82eb]:after{top:auto;left:50%;bottom:-8px}.dialog.bottom.dense[data-v-5b9d82eb]:after{left:40%}.transaction-multisig-consensus .consensus-label .label[data-v-2ceebdf7]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.transaction-multisig-consensus[data-v-2ceebdf7]{width:100%}.transaction-multisig-consensus .consensus-label[data-v-2ceebdf7]{margin-bottom:20px}.transaction-multisig-consensus .consensus-label .label[data-v-2ceebdf7]{display:flex;align-items:center;margin-bottom:4px;line-height:16px;color:hsla(0,0%,100%,.5)}.transaction-multisig-consensus .consensus-label .label .confirmations-count[data-v-2ceebdf7]{padding-left:4px;color:hsla(0,0%,100%,.75)}.transaction-multisig-consensus .consensus-label .btn-help[data-v-2ceebdf7]{margin-left:4px}.transaction-multisig-consensus .consensus .signers .signer[data-v-2ceebdf7]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:4px;margin-bottom:6px}.transaction-multisig-consensus .consensus .signers .signer .check-icon[data-v-2ceebdf7],.transaction-multisig-consensus .consensus .signers .signer .close-icon[data-v-2ceebdf7]{width:20px;height:20px;margin-left:20px;margin-right:4px;opacity:.5}.transaction-multisig-consensus .consensus .signers .signer .check-icon.active[data-v-2ceebdf7],.transaction-multisig-consensus .consensus .signers .signer .close-icon.active[data-v-2ceebdf7]{color:#00ff9d;opacity:1}.transaction-multisig-consensus .consensus .signers .signer .close-icon[data-v-2ceebdf7]{color:#ff4746;opacity:1}.multisig-proposal-details[data-v-59015a73]{display:flex;flex-direction:column}.multisig-proposal-details .spinner[data-v-59015a73]{align-self:center;width:56px;height:56px;flex-grow:1;display:flex;justify-content:center;align-items:center}.multisig-proposal-details .pending-icon[data-v-59015a73]{width:16px;height:16px}.multisig-proposal-details .header[data-v-59015a73]{display:flex;justify-content:center;align-items:center;flex-flow:column;background-color:#141414;min-height:42px;padding:14px;position:sticky;top:0;z-index:3}@media(min-width:362px)and (max-width:480px){.multisig-proposal-details .header[data-v-59015a73]{width:100%}}.multisig-proposal-details .span-3-columns[data-v-59015a73]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:row;-moz-column-gap:24px;column-gap:24px}.multisig-proposal-details .content[data-v-59015a73]{background-color:#191919;padding-bottom:120px}.multisig-proposal-details .content .transaction-overview[data-v-59015a73]{padding:16px 12px 8px}.multisig-proposal-details .content .receiving-address[data-v-59015a73]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:8px}.multisig-proposal-details .content .data-grid[data-v-59015a73]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;-moz-column-gap:24px;column-gap:24px;row-gap:8px;padding:8px var(--screen-padding-x)}.multisig-proposal-details .content .data-grid .tip-url .copy-text[data-v-59015a73],.multisig-proposal-details .content .data-grid .tip-url[data-v-59015a73]{width:100%}.multisig-proposal-details .content .data-grid .tip-url .link-button[data-v-59015a73]{display:block}.multisig-proposal-details .content .explorer[data-v-59015a73]{height:38px;padding-inline:16px;display:flex;align-items:center}.multisig-proposal-details .details-item[data-v-59015a73] .label{white-space:nowrap}.multisig-proposal-details .reason[data-v-59015a73] .value{color:#ffb422}.multisig-proposal-details .row[data-v-59015a73]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:4px}.multisig-proposal-details .bottom-buttons[data-v-59015a73]{padding:var(--screen-padding-x);position:absolute;bottom:0;left:0;right:0;background:linear-gradient(180deg,rgba(25,25,25,0),rgba(25,25,25,.8) 43.08%,rgba(25,25,25,.9) 90.79%)}.multisig-proposal-details .bottom-buttons .row[data-v-59015a73]{gap:8px;padding-bottom:8px}.reset-wallet-settings[data-v-11f9ae84]{padding-inline:var(--screen-padding-x)}.reset-wallet-settings .reset-wallet-button[data-v-11f9ae84]{margin-top:34px}.network-row .name-and-actions .name[data-v-f4fc97a8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.network-row .network-details .url-label[data-v-f4fc97a8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.network-row .network-details[data-v-f4fc97a8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.network-row[data-v-f4fc97a8]{margin-bottom:12px}.network-row.inactive[data-v-f4fc97a8]{opacity:.5}.network-row .name-and-actions[data-v-f4fc97a8]{display:flex;justify-content:space-between}.network-row .name-and-actions .name[data-v-f4fc97a8]{margin:0}.network-row .name-and-actions .actions[data-v-f4fc97a8]{display:flex;justify-content:flex-end;align-items:center;flex-flow:row;gap:4px;flex:1}.network-row .network-details[data-v-f4fc97a8]{margin:0 0 0 26px;border-spacing:0}.network-row .network-details td[data-v-f4fc97a8]{padding:0}.network-row .network-details .url-label[data-v-f4fc97a8]{padding-right:8px;opacity:.6;text-transform:capitalize;-webkit-user-select:none;-moz-user-select:none;user-select:none}.networks[data-v-00a35ffe]{padding-inline:var(--screen-padding-x)}.networks .networks-list[data-v-00a35ffe]{margin-top:20px}.networks .add-custom-network[data-v-00a35ffe]{margin-block:20px}.network-form .name-characters-left[data-v-e89c9e08]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.network-form[data-v-e89c9e08]{margin:16px var(--screen-padding-x)}.network-form .name-characters-left[data-v-e89c9e08]{opacity:.75}.network-form .invalid-form-message[data-v-e89c9e08]{margin-top:30px}.network-form .cancel-button[data-v-e89c9e08]{flex:0;padding-inline:32px}.network-form .button-wrapper[data-v-e89c9e08]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;margin-top:35px;margin-bottom:10px;gap:8px}.authorized-accounts .count-value[data-v-1229a01e]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:14px;line-height:24px}.authorized-accounts .account-row[data-v-1229a01e]{display:flex;align-items:center}.authorized-accounts .external-link[data-v-1229a01e]{margin-left:7px;width:22px;height:22px;opacity:.85}.authorized-accounts .account-list[data-v-1229a01e]{display:flex;flex-direction:column;gap:8px;width:100%;min-width:154px}.authorized-accounts .count-value[data-v-1229a01e]{line-height:19px}.authorized-accounts .dialog[data-v-1229a01e]{padding:4px;border-radius:4px;margin-left:9px}.multisig-details[data-v-170ee221]{padding:0 12px;display:flex;flex-direction:column;gap:8px}.multisig-details .address-row[data-v-170ee221]{display:flex;align-items:center;gap:8px}.multisig-details .text-address[data-v-170ee221]{color:#fff}.multisig-details .row[data-v-170ee221]{display:flex;gap:24px}.multisig-details .explorer-link[data-v-170ee221]{color:hsla(0,0%,100%,.75);margin-block:4px}.multisig-details .explorer-link .external-icon[data-v-170ee221]{opacity:1;color:hsla(0,0%,100%,.75);width:24px;height:24px}.multisig-details .explorer-link[data-v-170ee221]:active,.multisig-details .explorer-link[data-v-170ee221]:hover{color:#fff}.apps-browser-header .title .text[data-v-639ab793]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.apps-browser-header .title .host[data-v-639ab793]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.apps-browser-header[data-v-639ab793]{--header-height:40px;position:sticky;display:flex;align-items:center;justify-content:space-between;top:0;z-index:2;height:calc(var(--header-height) + env(safe-area-inset-top));background-color:var(--screen-bg-color);padding:env(safe-area-inset-top) 8px 0 8px;width:100%}@media(min-width:362px)and (max-width:480px){.apps-browser-header[data-v-639ab793]{display:flex;justify-content:space-between;width:100%}}.apps-browser-header .left[data-v-639ab793]{display:flex;gap:4px;align-items:center}.apps-browser-header .left .icon-btn[data-v-639ab793]{--size:20px;--icon-opacity:0.5;width:32px;height:32px;transform:rotate(180deg)}.apps-browser-header .right[data-v-639ab793]{display:flex;justify-content:flex-end;gap:4px}.apps-browser-header .title .text[data-v-639ab793]{padding:0 8px;display:flex;justify-content:center;white-space:nowrap;line-height:24px;color:#fff}.apps-browser-header .title .host[data-v-639ab793]{display:flex;align-items:center;gap:2px;color:#fff}.apps-browser-header .title .host .secure-lock[data-v-639ab793]{height:17px;width:17px;opacity:.75}.apps-browser-list-item[data-v-4e0231c6]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;margin-top:4px}.apps-browser-list-item[data-v-4e0231c6]:hover{cursor:pointer}.apps-browser-list-item:hover .app-image-wrapper[data-v-4e0231c6]{background:#212121}.apps-browser-list-item:hover .app-image[data-v-4e0231c6],.apps-browser-list-item:hover .app-title[data-v-4e0231c6]{opacity:1}.apps-browser-list-item .app-image-wrapper[data-v-4e0231c6]{width:88px;height:88px;display:flex;justify-content:center;align-items:center;background:#262626;border-radius:10px}.apps-browser-list-item .app-image[data-v-4e0231c6]{width:40px;height:40px;opacity:.85}.apps-browser-list-item .app-title[data-v-4e0231c6]{padding:4px 8px;font-size:12px;line-height:16px;text-align:center;color:#fff;opacity:.7}.apps-browser-history-list-item .app-title[data-v-bd95fcd4]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.apps-browser-history-list-item .app-url[data-v-bd95fcd4]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.apps-browser-history-list-item[data-v-bd95fcd4]{display:flex;flex-direction:row;align-items:flex-start;justify-content:center;width:100%;height:100%;margin:4px 0;cursor:pointer}.apps-browser-history-list-item.no-title[data-v-bd95fcd4]{align-items:center}.apps-browser-history-list-item:hover .app-title[data-v-bd95fcd4]{opacity:.7}.apps-browser-history-list-item:hover .app-url[data-v-bd95fcd4]{opacity:.5}.apps-browser-history-list-item .app-image-wrapper[data-v-bd95fcd4]{margin-right:6px}.apps-browser-history-list-item .app-image-wrapper .app-image[data-v-bd95fcd4]{width:22px;height:22px}.apps-browser-history-list-item .app-image-wrapper .app-image.default[data-v-bd95fcd4]{opacity:.5}.apps-browser-history-list-item .app-info[data-v-bd95fcd4]{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;flex:1;gap:4px;color:#fff}.apps-browser-history-list-item .app-title[data-v-bd95fcd4]{line-height:16px;opacity:1}.apps-browser-history-list-item .app-url[data-v-bd95fcd4]{opacity:.7}.apps-browser-history .apps-browser-history-title[data-v-46fe5ab0]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:16px;line-height:16px}.apps-browser-history[data-v-46fe5ab0]{margin-top:24px;padding:0 16px}.apps-browser-history .apps-browser-history-title[data-v-46fe5ab0]{opacity:.5;color:#fff;line-height:24px}.apps-browser-history .apps-browser-list[data-v-46fe5ab0]{display:flex;flex-direction:column;padding-top:8px;padding-bottom:16px;gap:8px}.apps-browser .apps-browser-popular-apps[data-v-1a03c862]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:16px;line-height:16px}.apps-browser[data-v-1a03c862]{height:100%}.apps-browser.app-selected[data-v-1a03c862]{height:100vh;overflow:hidden}@media(min-width:481px){.apps-browser.app-selected[data-v-1a03c862]{height:600px}}.apps-browser .input-url[data-v-1a03c862]{margin:16px 8px}.apps-browser .input-url .icon[data-v-1a03c862]{width:20px!important;height:20px!important;margin:4px}.apps-browser .apps-browser-list[data-v-1a03c862]{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;align-items:flex-start;padding-top:8px}.apps-browser .apps-browser-popular-apps[data-v-1a03c862]{margin-left:12px;margin-bottom:8px;opacity:.5;color:#fff;line-height:24px}.apps-browser .apps-browser-iframe[data-v-1a03c862]{--header-height:40px;width:100%;height:100%;overflow:hidden;border:none;margin-top:calc((var(--header-height) + env(safe-area-inset-top))*-1);padding-top:calc(var(--header-height) + env(safe-area-inset-top))}.transaction-reverted-status .status-wrapper[data-v-e674478a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.transaction-reverted-status .revert-info[data-v-e674478a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.transaction-reverted-status[data-v-e674478a]{width:100%;padding:10px 16px 16px}.transaction-reverted-status .status-wrapper[data-v-e674478a]{display:flex;justify-content:center;align-items:center;flex-flow:row;letter-spacing:.05em;color:#ffb422}.transaction-reverted-status .status-wrapper[data-v-e674478a]:after,.transaction-reverted-status .status-wrapper[data-v-e674478a]:before{content:"";width:100%;height:1px;background:rgba(255,180,34,.44)}.transaction-reverted-status .status-wrapper .icon[data-v-e674478a]{width:20px;height:20px;margin-right:2px}.transaction-reverted-status .status-wrapper .text-wrapper[data-v-e674478a]{display:flex;justify-content:center;align-items:center;flex-flow:row;margin-inline:3px}.transaction-reverted-status .revert-info[data-v-e674478a]{line-height:19px;margin-top:10px;color:#babac0;text-align:center}.transaction-details-base .content .explorer .link-button[data-v-173f98fe]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.transaction-details-base[data-v-173f98fe]{display:flex;flex-direction:column}.transaction-details-base .pending-icon[data-v-173f98fe]{width:16px;height:16px}.transaction-details-base .header[data-v-173f98fe]{display:flex;justify-content:center;align-items:center;flex-flow:column;min-height:73px;position:static}@media(min-width:362px)and (max-width:480px){.transaction-details-base .header[data-v-173f98fe]{width:100%}}.transaction-details-base .span-3-columns[data-v-173f98fe]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:row;-moz-column-gap:24px;column-gap:24px}.transaction-details-base .content[data-v-173f98fe]{background-color:#191919}.transaction-details-base .content .transaction-overview[data-v-173f98fe]{padding:16px 12px 8px}.transaction-details-base .content .pool-tokens.reverse[data-v-173f98fe]{flex-direction:column-reverse}.transaction-details-base .content .data-grid[data-v-173f98fe]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;-moz-column-gap:24px;column-gap:24px;row-gap:8px;padding:8px 16px}.transaction-details-base .content .explorer[data-v-173f98fe]{height:38px;padding-inline:16px;display:flex;align-items:center}.transaction-details-base .content .explorer .link-button[data-v-173f98fe]{text-decoration:none;color:hsla(0,0%,100%,.75)}.transaction-details-base .content .explorer .link-button svg[data-v-173f98fe]{opacity:1;color:hsla(0,0%,100%,.75);width:24px;height:24px}.transaction-details-base .content .explorer .link-button[data-v-173f98fe]:hover{color:#fff;text-decoration:underline}.transaction-details-base .content .explorer .link-button:hover svg[data-v-173f98fe]{color:#fff}.transaction-details-base .details-item[data-v-173f98fe] .label{white-space:nowrap}.transaction-details-base .reason[data-v-173f98fe] .value{word-break:break-all;color:#ffb422}.swap-rates .rate .price[data-v-42b180dd]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.swap-rates[data-v-42b180dd]{width:100%}.swap-rates .rate[data-v-42b180dd]{padding-bottom:6px;width:100%;display:inline-flex;justify-content:space-between;align-items:center}.swap-rates .rate .price[data-v-42b180dd]{padding-right:4px}.swap-rates .rate div[data-v-42b180dd]{display:inline-flex;align-items:center}.swap-route .swap-steps .swap-steps-item .step-fee[data-v-17e1d96a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:13px;line-height:16px}.swap-route .swap-steps[data-v-17e1d96a]{display:flex;flex-wrap:wrap;gap:4px;padding-top:2px;overflow:hidden}.swap-route .swap-steps .swap-steps-item[data-v-17e1d96a]{position:relative;display:flex;gap:4px;align-items:center;height:24px}.swap-route .swap-steps .swap-steps-item .step-fee[data-v-17e1d96a]{display:flex;align-items:center;gap:2px;padding:3px 5px;border-radius:20px;color:#fff;background:#282828;white-space:nowrap}.swap-route .arrow[data-v-17e1d96a],.swap-route .line[data-v-17e1d96a]{display:inline-flex;align-items:center;position:relative;margin-inline:1px;min-width:10px;height:100%;opacity:.3}.swap-route .arrow[data-v-17e1d96a]:before,.swap-route .line[data-v-17e1d96a]:before{content:"";position:absolute;top:calc(50% - 1px);width:100%;height:2px;background-color:#fff;transform:scaleY(.8)}.swap-route .arrow[data-v-17e1d96a]{justify-content:end;width:100%;min-width:12px}.swap-route .arrow[data-v-17e1d96a]:after{content:"";display:block;width:6px;height:6px;border-style:solid;border-color:#fff;border-width:2px 2px 0 0;border-radius:1px;transform:rotate(45deg)}.pool-tokens[data-v-6d2914ca]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;gap:16px}.pool-tokens.reversed[data-v-6d2914ca]{flex-direction:column-reverse}.transaction-details .tip-url .copy-text[data-v-9edab714],.transaction-details .tip-url[data-v-9edab714]{width:100%}.transaction-details .tip-url .link-button[data-v-9edab714]{display:block}.transaction-details .row[data-v-9edab714]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:8px}.transaction-details .payer-id[data-v-9edab714]{position:relative}.transaction-details .payer-id .dialog-box[data-v-9edab714]{width:30px;height:20px;position:absolute;right:15px;top:-28px}.account-create-modal .message[data-v-0b7c85d9]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-create-modal .content-wrapper[data-v-0b7c85d9]{padding:0 16px 32px}.account-create-modal .message[data-v-0b7c85d9]{line-height:24px;margin:0 auto 36px}.status-icon.alert[data-v-6ee6fe2e],.status-icon.critical[data-v-6ee6fe2e]{color:#ff4746}.status-icon.not-secure[data-v-6ee6fe2e],.status-icon.warning[data-v-6ee6fe2e]{color:#ffb422}.status-icon.help[data-v-6ee6fe2e],.status-icon.info[data-v-6ee6fe2e]{color:#1161fe}.status-icon.success[data-v-6ee6fe2e]{color:#00d3a1}.icon-boxed{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border:4px solid hsla(0,0%,100%,.05);border-radius:50%;background-color:#131313}.icon-boxed .icon{width:48px;height:48px}.default .title[data-v-55c32d28]{margin-bottom:16px}.default .top-icon-wrapper[data-v-55c32d28]{margin-bottom:20px;text-align:center}.default .center-button[data-v-55c32d28]{width:auto;padding:0 24px}.account-create .message[data-v-55406748]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-create .content-wrapper[data-v-55406748]{padding:0 16px 32px}.account-create .message[data-v-55406748]{padding-inline:inherit;line-height:24px;margin:0 auto 36px}.import-account-modal[data-v-0764afea]{text-align:center}.import-account-modal .loader[data-v-0764afea]{width:56px}.import-account-modal .scan-button[data-v-0764afea]{color:#fff;display:block;width:32px;height:24px}.import-account-modal .scan-button.disabled[data-v-0764afea]{opacity:.4;pointer-events:none}.account-select-options-item[data-v-527219b2]{--border-width:3px;width:100%;padding:2px 8px}.account-select-options-item .option-wrapper[data-v-527219b2]{display:flex;align-items:center;justify-content:space-between;position:relative;padding:6px 8px;border-radius:10px;width:100%}.account-select-options-item .option-wrapper[data-v-527219b2]:before{top:0;left:0;content:"";position:absolute;width:100%;height:100%;z-index:-1;background-color:var(--bg-color);border:var(--border-width) solid var(--bg-color);box-sizing:border-box;border-radius:10px;transition:background-color .12s ease-in-out}.account-select-options-item .option-wrapper[data-v-527219b2]:hover:not(.selected):before{opacity:.8}.account-select-options-item .option-wrapper.selected[data-v-527219b2]{background-color:transparent;border:var(--border-width) solid var(--bg-color);transition:background-color .12s ease-in-out}.account-select-options-item .option-wrapper.selected[data-v-527219b2]:before{--border-offset:calc(var(--border-width) - 2px);opacity:.4;border-color:transparent;border-radius:5px;top:var(--border-offset);left:var(--border-offset);width:calc(100% - var(--border-offset)*2);height:calc(100% - var(--border-offset)*2)}.account-select-options-item .option-wrapper .account-info[data-v-527219b2]{min-width:0;width:100%}.account-select-options-item .option-wrapper .token-amount[data-v-527219b2]{text-align:right}.form-select-options-header[data-v-1e8729bf]{text-align:left}.form-select-options-header .title[data-v-1e8729bf]{padding-left:12px;line-height:48px}.form-select-options-header .search-field[data-v-1e8729bf]{margin:0 8px var(--gap)}.claim-success-modal .claimed[data-v-78c5e1d6]{color:#1161fe}.claim-success-modal .top-icon-wrapper[data-v-78c5e1d6]{margin-bottom:20px;text-align:center}.error-msg[data-v-56780574]{color:#ff4746;margin-bottom:30px}span[data-v-56780574]{display:block;font-weight:700}.form-select-options-item .option-wrapper[data-v-583e6b6c]{display:flex;gap:8px;align-items:center;padding-block:4px}.qr-code-reader .heading[data-v-1ecdcc39]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:19px;line-height:24px}.qr-code-reader .subtitle[data-v-1ecdcc39],.qr-code-reader .title[data-v-1ecdcc39]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.qr-code-reader .top-icon-wrapper[data-v-1ecdcc39]{margin:0 auto 16px auto;text-align:center;color:#1161fe}.qr-code-reader .camera[data-v-1ecdcc39]{--camera-size:312px;margin:20px auto 0;width:var(--camera-size);height:var(--camera-size);display:flex;justify-content:center;align-items:center;border-radius:10px;background:hsla(0,0%,100%,.05);overflow:hidden}.qr-code-reader .camera .video[data-v-1ecdcc39]{height:var(--camera-size)}@media(min-width:362px)and (max-width:480px){.qr-code-reader .camera .video[data-v-1ecdcc39]{height:unset;width:var(--camera-size)}}.qr-code-reader .camera .video-loader[data-v-1ecdcc39]{display:flex;justify-content:center;align-items:center;position:absolute;z-index:-1}.qr-code-reader .camera .video-loader .spinner[data-v-1ecdcc39]{width:56px;height:56px}.qr-code-reader .heading[data-v-1ecdcc39]{color:#fff}.qr-code-reader .subtitle[data-v-1ecdcc39],.qr-code-reader .title[data-v-1ecdcc39]{margin-top:4px;margin-bottom:20px;line-height:24px;color:hsla(0,0%,100%,.75)}.loader[data-v-5af93660]{position:fixed;z-index:3;top:0;left:0;display:flex;width:100%;height:100%}.loader .container[data-v-5af93660]{width:100%;height:100%;background-color:var(--screen-bg-color);opacity:.9;display:flex;align-items:center;justify-content:center}@media(min-width:481px){.loader .container[data-v-5af93660]{width:360px;height:600px;border-radius:10px;margin:auto}}.loader .container .spinner[data-v-5af93660]{width:72px;height:72px}.asset-selector[data-v-2df1ce3c]{padding-top:env(safe-area-inset-top)}.asset-selector .search-bar[data-v-2df1ce3c]{margin:8px 8px 16px}.asset-selector .title[data-v-2df1ce3c]{margin-left:16px;margin-bottom:0;line-height:48px;text-align:left}.asset-selector .appearing-element[data-v-2df1ce3c]{width:100%;opacity:0;z-index:-1;transition:opacity .25s ease-in-out;padding-bottom:40px}.asset-selector .appearing-element.visible[data-v-2df1ce3c]{opacity:1;z-index:1}.reset-wallet .info .title[data-v-13bf16f9]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}.reset-wallet .info .text[data-v-13bf16f9]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px}.reset-wallet .icon-wrapper[data-v-13bf16f9]{margin:8px auto 18px;color:#ff4746}.reset-wallet .info .title[data-v-13bf16f9]{color:#fff;padding-bottom:20px}.reset-wallet .info .text[data-v-13bf16f9]{color:hsla(0,0%,100%,.85);line-height:20px;gap:10px;display:flex;justify-content:center;align-items:center;flex-flow:column}span[data-v-3ffbff84]{font-weight:500}.help[data-v-3ffbff84],.msg[data-v-3ffbff84],span[data-v-3ffbff84]{font-family:IBM Plex Sans,sans-serif;font-size:14px;line-height:24px}.help[data-v-3ffbff84],.msg[data-v-3ffbff84]{font-weight:400}span.address[data-v-3ffbff84]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}span[data-v-3ffbff84]{overflow:hidden;text-align:left;color:#babac0}span strong[data-v-3ffbff84],span[data-v-3ffbff84]{word-wrap:break-word}span strong[data-v-3ffbff84]{color:#fff}span.address strong[data-v-3ffbff84]{font-weight:500}.help[data-v-3ffbff84],.msg[data-v-3ffbff84]{text-align:center;line-height:20px}.help a[data-v-3ffbff84],.msg a[data-v-3ffbff84]{cursor:pointer;text-decoration:none;color:#1161fe}.footer[data-v-3ffbff84]{width:100%!important}.msg .sub-header[data-v-2bbbdb24]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}span[data-v-2bbbdb24]{font-weight:500}.msg[data-v-2bbbdb24],span[data-v-2bbbdb24]{font-family:IBM Plex Sans,sans-serif;font-size:14px;line-height:24px}.msg[data-v-2bbbdb24]{font-weight:400}span.address[data-v-2bbbdb24]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}span[data-v-2bbbdb24]{overflow:hidden;text-align:left;color:#babac0}span strong[data-v-2bbbdb24],span[data-v-2bbbdb24]{word-wrap:break-word}span strong[data-v-2bbbdb24]{color:#fff}span.address strong[data-v-2bbbdb24]{font-weight:500}.msg[data-v-2bbbdb24]{text-align:left;line-height:20px}.msg .sub-header[data-v-2bbbdb24]{display:flex;justify-content:center;align-items:center;flex-flow:row;text-align:center;margin-bottom:20px}.msg .title[data-v-2bbbdb24]{color:#fff}.msg .capitalize[data-v-2bbbdb24]:first-letter{text-transform:capitalize}.consensus-info .content .subtitle[data-v-1660ae4c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.consensus-info .content[data-v-1660ae4c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;text-align:center;line-height:22px}.consensus-info .content .subtitle[data-v-1660ae4c]{margin-top:-8px}.consensus-info .content .list[data-v-1660ae4c]{text-align:left;padding:16px 24px 8px;margin:0}.payload-form .header[data-v-3d4412a8]{text-align:center;padding:8px 16px 4px}.payload-form .description[data-v-3d4412a8]{margin-top:12px}.payload-form .btn-cancel[data-v-3d4412a8]{max-width:114px}.transfer-send-amount .amount-input[data-v-cdda66bc]{margin-bottom:22px}.transfer-send-amount.without-margin .amount-input[data-v-cdda66bc]{margin-bottom:0}.claim-gift-card .header[data-v-5805577b]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:19px;line-height:24px}.claim-gift-card .redeem-balance>span[data-v-5805577b],.claim-gift-card .redeemed-amount[data-v-5805577b]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.claim-gift-card .already-redeemed[data-v-5805577b]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.claim-gift-card .header[data-v-5805577b]{text-align:center;margin-bottom:4px}.claim-gift-card .check-circle-icon[data-v-5805577b]{width:40px;height:40px;color:#00d3a1;display:flex;align-self:center;margin:8px auto 4px auto}.claim-gift-card .redeemed-amount[data-v-5805577b]{display:flex;justify-content:center;color:#fff;line-height:24px}.claim-gift-card .redeemed-amount .redeemed-by[data-v-5805577b]{opacity:.75;margin-left:4px}.claim-gift-card .details-item[data-v-5805577b]{display:flex;justify-content:center}.claim-gift-card .redeem-balance[data-v-5805577b]{display:flex;flex-direction:column;justify-items:center;margin:auto}.claim-gift-card .redeem-balance>span[data-v-5805577b]{line-height:24px;display:block;color:#fff;opacity:.5;margin-bottom:4px}.claim-gift-card .redeem-balance .balance-info[data-v-5805577b]{padding:8px 0 16px 0;border-radius:10px;background-image:url(/img/buy-ae.616acc4d.webp)}.claim-gift-card .redeem-balance .balance-info.gray[data-v-5805577b]{filter:grayscale(1)}.claim-gift-card .already-redeemed[data-v-5805577b]{display:block;text-align:center;margin-top:24px;color:#fff}.claim-gift-card .buttons[data-v-5805577b]{width:100%;display:flex;flex-direction:column;gap:16px}.claim-gift-card .buttons .btn-main[data-v-5805577b]{width:100%}.btn-text[data-v-656ac1bf]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;color:#1161fe;display:flex;align-items:center;padding:2px 4px 2px 0;text-transform:uppercase;gap:4px;width:-moz-fit-content;width:fit-content}.btn-text[data-v-656ac1bf]:hover:not([disabled]){border-radius:8px;background:rgba(17,97,254,.15)}.btn-text.has-icon[data-v-656ac1bf]{gap:4px}.btn-text.has-icon .btn-text-icon[data-v-656ac1bf]{flex-shrink:0;width:20px;height:20px;color:inherit}.number-select-input[data-v-725fb95c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.number-select[data-v-725fb95c]{position:relative}.number-select-input[data-v-725fb95c]{-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;box-shadow:none;color:hsla(0,0%,100%,.75);background-color:hsla(0,0%,100%,.08);border:2px solid transparent;border-radius:10px;padding:6px 22px 6px 10px;transition:all .12s ease-out;cursor:pointer}.number-select-input[data-v-725fb95c]:hover{color:#fff;background-color:hsla(0,0%,100%,.05);border-color:hsla(0,0%,100%,.15)}.number-select-input[data-v-725fb95c]:focus{font-weight:500;color:#fff;background-color:rgba(0,0,0,.44);border-color:#1161fe}.number-select .chevron-icon[data-v-725fb95c]{top:50%;transform:translateY(-50%);right:8px;width:8px;position:absolute;color:hsla(0,0%,100%,.75);pointer-events:none}.multisig-vault-create-review .creator-error-message[data-v-d3f0db28]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.multisig-vault-create-review[data-v-d3f0db28]{display:flex;flex-direction:column;gap:var(--gap)}.multisig-vault-create-review .creator-error-message[data-v-d3f0db28]{letter-spacing:normal;color:#ff4746;line-height:22px}.multisig-vault-create-review .creator-error-message span[data-v-d3f0db28]{font-weight:500}.multisig-vault-create-review .loading-icon[data-v-d3f0db28]{margin-inline:auto;width:72px}.multisig-vault-create-review .authorized-signers[data-v-d3f0db28]{display:flex;flex-direction:column;gap:4px}.multisig-vault-create-review .authorized-signers-row[data-v-d3f0db28]{display:flex;gap:4px;align-items:center}.progress-bar[data-v-1dd3e346]{height:12px;border-radius:4px;overflow:hidden;background-color:hsla(0,0%,100%,.1)}.progress-bar .progress[data-v-1dd3e346]{height:100%;background-color:#00d3a1;transition:width .1s}.multisig-vault-creation-progress .multisig-account-created .message[data-v-23d2125d]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.multisig-vault-creation-progress .multisig-account-created .sub-message[data-v-23d2125d]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.multisig-vault-creation-progress .phase-list .phase-item[data-v-23d2125d]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.multisig-vault-creation-progress[data-v-23d2125d]{padding-top:env(safe-area-inset-top)}.multisig-vault-creation-progress .phase-list[data-v-23d2125d]{padding-top:24px}.multisig-vault-creation-progress .phase-list .phase-item[data-v-23d2125d]{display:inline-flex;align-items:center;gap:12px;padding:8px 0;opacity:.5}.multisig-vault-creation-progress .phase-list .phase-item.highlighted[data-v-23d2125d]{opacity:1}.multisig-vault-creation-progress .phase-list .phase-item .phase-number[data-v-23d2125d],.multisig-vault-creation-progress .phase-list .phase-item .phase-pending-icon[data-v-23d2125d],.multisig-vault-creation-progress .phase-list .phase-item .phase-success-icon[data-v-23d2125d]{width:24px;height:24px}.multisig-vault-creation-progress .phase-list .phase-item .phase-number[data-v-23d2125d]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:2px;border:2px solid hsla(0,0%,100%,.15);border-radius:100%}.multisig-vault-creation-progress .phase-list .phase-item .phase-success-icon[data-v-23d2125d]{color:#00d3a1;background-color:rgba(0,211,161,.15);border-radius:100%}.multisig-vault-creation-progress .phase-list .phase-item .phase-item-caption[data-v-23d2125d]{font-weight:400;color:hsla(0,0%,100%,.5)}.multisig-vault-creation-progress .multisig-account-created[data-v-23d2125d]{margin-top:30px;padding-inline:8px}.multisig-vault-creation-progress .multisig-account-created .message[data-v-23d2125d]{max-width:250px;padding-bottom:16px;color:#fff;line-height:22px}.multisig-vault-creation-progress .multisig-account-created .sub-message[data-v-23d2125d]{color:hsla(0,0%,100%,.85);line-height:20px}.multisig-vault-create-form .signers-count .num-of-signers-selector[data-v-2e647252]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.multisig-vault-create[data-v-2e647252]{padding-top:env(safe-area-inset-top)}.multisig-vault-create-form .scan-button[data-v-2e647252]{color:#fff;display:block;width:32px;height:24px}.multisig-vault-create-form .signers-add-wrapper[data-v-2e647252]{display:flex;align-items:center;margin:20px 0}.multisig-vault-create-form .signers-add-wrapper .btn-help[data-v-2e647252]{display:flex;margin-left:4px}.multisig-vault-create-form .btn-plain[data-v-2e647252]{display:flex}.multisig-vault-create-form .btn-plain .btn-remove-signer[data-v-2e647252]{width:20px!important;margin:-4px -6px -4px 0;transform:rotate(45deg);cursor:pointer;transition:all .15s;color:#babac0}.multisig-vault-create-form .btn-plain .btn-remove-signer[data-v-2e647252]:hover{opacity:.8}.multisig-vault-create-form .description[data-v-2e647252],.multisig-vault-create-form .signers-count[data-v-2e647252]{color:hsla(0,0%,100%,.5)}.multisig-vault-create-form .signers-count[data-v-2e647252]{display:flex;align-items:center;padding:6px 0}.multisig-vault-create-form .signers-count .text-emphasis[data-v-2e647252]{color:hsla(0,0%,100%,.75)}.multisig-vault-create-form .signers-count .num-of-signers-selector[data-v-2e647252]{width:45px;height:40px;margin-right:10px;border-radius:10px;text-align:center;color:#fff;border:2px solid hsla(0,0%,100%,.08);background-color:hsla(0,0%,100%,.08)}.multisig-vault-create-form .signers-count .num-of-signers-selector option[data-v-2e647252]{color:#fff;background-color:#262626}.multisig-vault-create-form .signers-count .text[data-v-2e647252]{margin-left:4px;margin-right:8px}.warning-dapp-browser .icon-wrapper[data-v-1471b94c]{margin:8px auto 18px;color:#ffb422}.warning-dapp-browser .info .title[data-v-1471b94c]{color:#fff;padding-bottom:20px}.warning-dapp-browser .info .text[data-v-1471b94c]{color:hsla(0,0%,100%,.85);line-height:20px;gap:10px;display:flex;justify-content:center;align-items:center;flex-flow:column}.confirm .msg[data-v-42a8551a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.confirm .alert[data-v-42a8551a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.confirm[data-v-42a8551a]{text-align:center}.confirm .content[data-v-42a8551a]{padding:8px 24px}.confirm .text-heading-2[data-v-42a8551a]{margin-bottom:16px}.confirm .account-selector[data-v-42a8551a]{margin:0 auto;padding-bottom:8px}.confirm .active-account[data-v-42a8551a]{display:flex;justify-content:center;align-items:space-between;flex-flow:row;margin-bottom:22px}.confirm .alert[data-v-42a8551a]{align-items:center;text-align:center;margin:10px 0;padding:8px 12px;border-radius:4px;color:rgba(255,71,70,.75);line-height:19px}.confirm .msg[data-v-42a8551a]{color:hsla(0,0%,100%,.85);padding:0 18px}.confirm .icon-wrapper[data-v-42a8551a]{margin-bottom:20px}.confirm .icon-wrapper .status-icon[data-v-42a8551a]{margin:8px}.confirm .icon-wrapper .status-icon.refuse[data-v-42a8551a]{color:#ffb422}.browser-action-item[data-v-26ae16da]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;align-items:center;width:100%;min-height:48px;margin-bottom:8px;padding:18px 2px 18px 12px;border-radius:10px;justify-content:space-between;text-decoration:none;text-align:left;color:hsla(0,0%,100%,.75);transition:all .15s;letter-spacing:.5px;will-change:transform}.browser-action-item[data-v-26ae16da]:active,.browser-action-item[data-v-26ae16da]:hover{color:#fff}.browser-action-item[data-v-26ae16da]:active{transform:scale(.99)}.browser-action-item .card-icon[data-v-26ae16da]{margin-right:16px;opacity:.85}.browser-action-item-content[data-v-26ae16da]{display:inline-flex;align-items:center}.browser-action-item-info[data-v-26ae16da]{opacity:.5;padding-right:8px;margin:0;color:#fff;font-weight:300;font-size:14px}.network-button .circle[data-v-386368e2]{width:6px;height:6px;border-radius:100%;background-color:#ffb422}.network-button .circle.connected[data-v-386368e2]{background-color:#00d3a1}.network-button .circle.error[data-v-386368e2]{background-color:#ff4746}.apps-browser[data-v-425bf3bf]{opacity:.75}.header .wrapper .title .text[data-v-e2406f5c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.header[data-v-e2406f5c]{z-index:2;height:var(--header-height)}.header .toolbar[data-v-e2406f5c]{--opacity:0;--min-height:0;--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0}.header .wrapper[data-v-e2406f5c]{display:flex;align-items:center;justify-content:space-between;background-color:var(--screen-bg-color);padding:0 8px;width:100%;height:var(--header-height)}@media(min-width:362px)and (max-width:480px){.header .wrapper[data-v-e2406f5c]{display:flex;justify-content:space-between;width:100%}}.header .wrapper .left[data-v-e2406f5c]{display:flex}.header .wrapper .left .home-button.disabled[data-v-e2406f5c]{cursor:default}.header .wrapper .left .home-button:not(.disabled) .home-icon[data-v-e2406f5c]{cursor:pointer}.header .wrapper .left .home-button:not(.disabled):hover svg[data-v-e2406f5c]{color:#0e52d8}.header .wrapper .left .home-button:not(.disabled):active svg[data-v-e2406f5c]{color:#0e52d8;opacity:.9}.header .wrapper .left .home-button .home-icon[data-v-e2406f5c]{width:32px;height:32px;color:#1161fe}.header .wrapper .right[data-v-e2406f5c]{display:flex;justify-content:flex-end;gap:8px}.header .wrapper .title .text[data-v-e2406f5c]{padding:0 4px;display:flex;justify-content:center;white-space:nowrap;line-height:24px;color:#fff}.header .wrapper .title[data-v-e2406f5c]:only-child{flex-grow:2;margin-left:8px}.header .wrapper.not-logged-in:not(:only-child) .left[data-v-e2406f5c]{z-index:1}.header .wrapper.not-logged-in:not(:only-child) .title[data-v-e2406f5c]{width:100%;position:absolute}.header .wrapper .home-button+.back[data-v-e2406f5c]{margin-left:22px}.node-connection-status[data-v-7ee50ab2]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;display:flex;align-items:center;justify-content:center;min-height:40px;padding:4px 10px;color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);text-align:center}.node-connection-status[data-v-7ee50ab2]:before{content:"";position:absolute;z-index:-1;inset:0;background:#282828;opacity:.8}.node-connection-status.is-error[data-v-7ee50ab2]{color:#ffb422}.text-heading-1{font-weight:400;font-size:19px;line-height:24px}.text-heading-1,.text-heading-2{font-family:IBM Plex Sans,sans-serif}.text-heading-2{font-weight:500;font-size:18px;line-height:20px}.text-heading-3{font-weight:600}.label-text,.text-heading-3{font-family:IBM Plex Sans,sans-serif;font-size:15px;line-height:24px}.label-text{font-weight:500}.text-description{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.text-address{font-family:IBM Plex Mono;font-weight:500;font-size:11px;line-height:20px}@keyframes pop-in{0%{opacity:0;transform:translateY(70%)}to{opacity:1;transform:none}}.fade-transition-enter-active,.fade-transition-leave-active{transition:opacity .15s ease-out}.fade-transition-enter-from,.fade-transition-leave-to{opacity:0}.page-transition-enter-active{transition:opacity .3s ease-out}.page-transition-enter-from,.page-transition-leave-to{opacity:0}.fade-between-enter-active,.fade-between-leave-active{transition:all .4s}.fade-between-enter-from,.fade-between-leave-to{opacity:0;position:absolute;top:0;left:0;width:100%}*{box-sizing:border-box;scrollbar-width:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-overflow-style:none;--icon-size-xs:12px;--icon-size-sm:16px;--icon-size-rg:18px;--icon-size-md:20px;--icon-size-lg:24px;--icon-size-xl:28px;--icon-size-xxl:44px}::-webkit-scrollbar{display:none}html.is-extension .ion-page,html.is-extension .tabs-inner,html.is-extension ion-router-outlet,html.is-extension ion-tabs{contain:layout style!important}html.is-extension body{position:unset}html.is-extension .app{width:360px;height:600px}body.scanner-active{background-color:transparent;--background:transparent;--ion-background-color:transparent;--screen-bg-color:transparent}body.scanner-active .app .app-wrapper{--screen-bg-color:transparent;background:transparent}body.scanner-active .ionic-wrapper,body.scanner-active.color-bg-app{background-color:transparent}body.scanner-active #app{background:transparent;position:absolute;z-index:2;width:100%}body.scanner-active .account-ion-content,body.scanner-active .ion-content-bg,body.scanner-active .ion-content-bg--lighter,body.scanner-active ion-content{--background:transparent;background:transparent}.ion-content-bg{background-color:#141414}.ion-content-bg--lighter{background-color:#191919}ion-content{--offset-bottom:auto!important;--overflow:hidden;overflow:auto}ion-content::-webkit-scrollbar{display:none}ion-content::part(scroll){--padding-end:0;--padding-start:0;--padding-top:0}#app,body,html{height:var(--height)}#app,body{--ion-text-color:$color-white;margin:0;background-color:#000}#app.color-bg-app,body.color-bg-app{background-color:#141414}@media(min-width:481px){#app,body{display:flex;flex-direction:column;justify-content:center;align-items:center}}@-moz-document url-prefix(){html{scrollbar-width:none}}h1,h2,h3,h4,h5,h6{margin:0}a{color:#1161fe;text-decoration:none;cursor:pointer}p{margin:0;word-break:break-word}p:not(:last-of-type){margin-bottom:8px}ol,ul{margin:0}button{padding:0;background:none;border:none;color:#babac0}button:focus{outline:none}hr{margin:20px calc(var(--screen-padding-x)*-1);border:none;border-bottom:1px solid hsla(0,0%,100%,.06)}.error-msg{color:#ff4746;margin-top:22px;font-size:.88rem}.tip-note-preview{border-radius:5px;padding:10px;font-size:14px;border:1px dashed #fff;margin-top:15px;margin-bottom:30px;text-align:left;word-break:break-word}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-address{display:inline-block;letter-spacing:.13em;color:hsla(0,0%,100%,.75);word-break:break-word;transition:.1s}a .text-address:hover{color:#fff}.text-heading-1{margin-bottom:18px;color:#fff;text-align:center}.text-heading-2{margin-bottom:.45em;color:#fff}.text-heading-3{color:#fff}.text-muted{color:hsla(0,0%,100%,.75)}.text-description{color:hsla(0,0%,100%,.85);white-space:pre-line}.text-description a{color:#1161fe;text-decoration:none}.text-description a:hover{text-decoration:underline}.text-description strong{font-weight:500;color:#fff}.label-text{color:#787878}.relative{position:relative}.color-warning{color:#ffb422}.styled-scrollbar,.styled-scrollbar ion-content{scrollbar-color:hsla(0,0%,100%,.15) transparent;scrollbar-width:thin;-ms-overflow-style:auto}.styled-scrollbar ion-content::-webkit-scrollbar,.styled-scrollbar::-webkit-scrollbar{display:block;width:6px;height:0}.styled-scrollbar ion-content::-webkit-scrollbar-thumb,.styled-scrollbar::-webkit-scrollbar-thumb{display:block;background-color:hsla(0,0%,100%,.15);border-radius:4px}.app .app-wrapper[data-v-353b17cc]{font-weight:400;font-size:16px;line-height:16px}.app[data-v-353b17cc]{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%}.app .app-wrapper[data-v-353b17cc]{--screen-padding-x:16px;--screen-border-radius:0;--screen-bg-color:#141414;--header-height:0;--gap:12px;position:relative;margin:0 auto;width:100%;height:100%;border-radius:var(--screen-border-radius);color:#fff;background-color:var(--screen-bg-color);font-family:IBM Plex Sans,sans-serif;transition:background-color .2s}.app .app-wrapper .camera-close-button[data-v-353b17cc]{position:absolute;top:calc(20px + env(safe-area-inset-top));right:20px;width:28px;height:28px;z-index:10}.app .app-wrapper .app-inner[data-v-353b17cc]{width:100%;height:100%;overflow-y:auto}.app .app-wrapper .main[data-v-353b17cc]{margin-top:calc(var(--header-height) + env(safe-area-inset-top));padding-bottom:env(safe-area-inset-bottom);background-color:var(--screen-bg-color)}.app .app-wrapper .main.ios[data-v-353b17cc]{top:10px}.app .app-wrapper .connection-status[data-v-353b17cc]{position:fixed;z-index:2;bottom:0;padding-bottom:env(safe-area-inset-bottom);left:0;width:100%}.app .app-wrapper.is-desktop-web[data-v-353b17cc],.app .app-wrapper.is-extension[data-v-353b17cc]{width:360px;height:600px}.app .app-wrapper.is-desktop-web[data-v-353b17cc]{--screen-border-radius:10px;overflow:hidden;box-shadow:0 0 0 1px #232323;transform:translate(0)}@media(min-width:362px)and (max-width:480px){.app .app-wrapper.is-desktop-web[data-v-353b17cc]{--screen-border-radius:0;width:100%;height:100%;overflow:visible;box-shadow:none}}.app .app-wrapper.show-header[data-v-353b17cc]{--header-height:40px}body>noscript>p.fullscreen-message,body>p.fullscreen-message{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px;margin:0 auto;padding-top:30vh;padding-left:20px;padding-right:20px;max-width:400px;text-align:center}body>noscript>p.fullscreen-message.white,body>p.fullscreen-message.white{color:#fff} \ No newline at end of file diff --git a/css/popup.71021a76.css b/css/popup.71021a76.css new file mode 100644 index 000000000..999c8d161 --- /dev/null +++ b/css/popup.71021a76.css @@ -0,0 +1 @@ +.link-button[data-v-4532e494]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px;padding:0;display:inline-flex;gap:4px;align-items:center}.link-button.default[data-v-4532e494]{color:#00ff9d}.link-button.simple[data-v-4532e494]{gap:0}.link-button .link-icon[data-v-4532e494]{display:flex;align-items:center;justify-content:center}.link-button .link-icon[data-v-4532e494] svg{width:24px;height:24px;opacity:.44;color:#fff}.link-button[data-v-4532e494]:hover{color:#00dc87}.link-button:hover .link-icon svg[data-v-4532e494]{opacity:1;color:#00ff9d}.link-button[data-v-4532e494]:active{opacity:.7}.link-button:active .link-icon svg[data-v-4532e494]{opacity:.7;color:#00ff9d}.link-button.muted[data-v-4532e494]{text-decoration:none;color:hsla(0,0%,100%,.75)}.link-button.muted .link-icon svg[data-v-4532e494]{opacity:1;color:hsla(0,0%,100%,.75)}.link-button.muted:hover .link-icon svg[data-v-4532e494],.link-button.muted[data-v-4532e494]:hover{color:#fff}.link-button.underlined[data-v-4532e494]:hover{text-decoration:underline}.btn-base[data-v-5a60e3f7]{--bg-color:#1161fe;--outline-size:0;--outline-opacity:0;--outline-color:transparent;position:relative;z-index:1;background-color:var(--bg-color);color:#fff;text-decoration:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .15s}.btn-base[data-v-5a60e3f7]:after,.btn-base[data-v-5a60e3f7]:before{content:"";position:absolute;z-index:-1;inset:0;border-radius:inherit;transition:all .15s;will-change:opacity,box-shadow,background-color}.btn-base[data-v-5a60e3f7]:before{background-color:var(--screen-bg-color);opacity:0}.btn-base[data-v-5a60e3f7]:after{opacity:var(--outline-opacity);box-shadow:inset 0 0 0 var(--outline-size) var(--outline-color)}.btn-base[data-v-5a60e3f7]:hover:before{opacity:.2}.btn-base[data-v-5a60e3f7]:active:before{opacity:.3}.btn-base.disabled[data-v-5a60e3f7]{pointer-events:none;color:hsla(0,0%,100%,.4)}.btn-base.disabled[data-v-5a60e3f7]:before{opacity:.6}.btn-base.hollow[data-v-5a60e3f7]:not(:hover){background-color:transparent}.btn-base.outlined[data-v-5a60e3f7]{--outline-color:#fff;--outline-size:1px;--outline-opacity:0.2}.btn-base.outlined[data-v-5a60e3f7]:hover{--outline-opacity:0.3}.btn-base.outlined[data-v-5a60e3f7]:active{--outline-size:2px}.btn-base.selected[data-v-5a60e3f7]{--outline-color:#fff;--outline-size:1px;--outline-opacity:0.2}.btn-base.selected[data-v-5a60e3f7]:before{opacity:.6}.btn-base.variant-secondary[data-v-5a60e3f7]{--bg-color:#ff2b5e}.btn-base.variant-muted[data-v-5a60e3f7]{--bg-color:#373737}.btn-base.variant-danger[data-v-5a60e3f7]{--bg-color:#ff4746}.btn-base.variant-purple[data-v-5a60e3f7]{--bg-color:#8f00ff}.btn-base.variant-dark[data-v-5a60e3f7]{--bg-color:#262626}.panel-item[data-v-26fb7034]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;display:flex;align-items:center;width:100%;min-height:48px;margin-bottom:8px;padding:8px 2px 8px 12px;border-radius:10px;justify-content:space-between;text-decoration:none;text-align:left;color:hsla(0,0%,100%,.75);transition:all .15s;letter-spacing:.5px;will-change:transform}.panel-item[data-v-26fb7034]:active,.panel-item[data-v-26fb7034]:hover{color:#fff}.panel-item:active .panel-item-right .icon-indicator[data-v-26fb7034],.panel-item:hover .panel-item-right .icon-indicator[data-v-26fb7034]{opacity:.75}.panel-item[data-v-26fb7034]:active{transform:scale(.99)}.panel-item .panel-item-left[data-v-26fb7034],.panel-item .panel-item-right[data-v-26fb7034]{display:inline-flex;align-items:center}.panel-item .panel-item-left[data-v-26fb7034]{overflow-x:hidden}.panel-item .panel-item-left[data-v-26fb7034] .icon{width:24px;height:24px;margin-right:8px}.panel-item .panel-item-right[data-v-26fb7034]{display:inline-flex;align-items:center}.panel-item .panel-item-right .panel-item-info[data-v-26fb7034]{opacity:.5;padding-right:8px;margin:0;color:#fff;font-weight:300}.panel-item .panel-item-right .icon-indicator[data-v-26fb7034]{margin-right:4px;width:26px;height:26px;opacity:.5;transition:all .15s}.panel-header[data-v-66d2c8e3]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:16px;line-height:16px}.panel[data-v-66d2c8e3]{--card-padding:12px;background:hsla(0,0%,100%,.08);border-radius:10px;overflow:hidden}.panel-header[data-v-66d2c8e3]{display:flex;justify-content:space-between;color:#fff;line-height:24px;padding:8px var(--card-padding)}.about .table-item .name[data-v-53c0dc8b]{font-family:IBM Plex Sans,sans-serif;font-size:15px;line-height:22px}.about .table-item .value[data-v-53c0dc8b]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px}.about[data-v-53c0dc8b]{--screen-padding-x:8px;padding-top:16px;padding-inline:var(--screen-padding-x)}.about .table-item[data-v-53c0dc8b]{width:100%;height:48px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:4px 16px;transition:all .15s}.about .table-item[data-v-53c0dc8b]:nth-child(2n){background-color:rgba(0,0,0,.1)}.about .table-item .name[data-v-53c0dc8b],.about .table-item .value .icon[data-v-53c0dc8b],.about .table-item .value[data-v-53c0dc8b]{transition:inherit}.about .table-item .name[data-v-53c0dc8b]{color:hsla(0,0%,100%,.75);font-weight:400}.about .table-item .value[data-v-53c0dc8b]{display:inline-flex;align-items:center;color:#fff}.about .table-item .value .icon[data-v-53c0dc8b]{width:24px;height:24px;opacity:.5;margin-left:4px;margin-right:-4px}.about .table-item.link[data-v-53c0dc8b]{position:relative;text-decoration:none;cursor:pointer}.about .table-item.link[data-v-53c0dc8b]:hover{background-color:rgba(0,0,0,.16)}.about .table-item.link:hover .name[data-v-53c0dc8b]{color:#fff}.about .table-item.link:hover .value[data-v-53c0dc8b]{text-decoration:underline}.about .table-item.link:hover .value .icon[data-v-53c0dc8b]{opacity:1}.about .table-item.link[data-v-53c0dc8b]:active{background-color:rgba(0,0,0,.4)}.about .additional-links[data-v-53c0dc8b]{margin-top:24px}.message-offline .text[data-v-129d996a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.message-offline[data-v-129d996a]{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.message-offline.horizontal[data-v-129d996a]{flex-direction:row;gap:6px;text-align:left}.message-offline.horizontal .offline-icon[data-v-129d996a]{margin:0;width:26px}.message-offline.colors-disabled .offline-icon[data-v-129d996a]{color:#fff}.message-offline .offline-icon[data-v-129d996a]{width:40px;margin-bottom:2px;color:#ffb422}.message-offline .text[data-v-129d996a]{opacity:.75;margin:0 auto;max-width:240px}.asset-icon[data-v-9ac94844]{--icon-size:var(--icon-size-md);display:inline-block;flex-grow:0;flex-shrink:0;width:var(--icon-size);height:var(--icon-size);border-radius:50%}.asset-icon.is-placeholder[data-v-9ac94844]{border:.25px solid hsla(0,0%,100%,.75)}.asset-icon.sm[data-v-9ac94844]{--icon-size:var(--icon-size-sm)}.asset-icon.rg[data-v-9ac94844]{--icon-size:var(--icon-size-rg)}.asset-icon.lg[data-v-9ac94844]{--icon-size:var(--icon-size-lg)}.asset-icon.xxl[data-v-9ac94844]{--icon-size:var(--icon-size-xxl)}.tokens.vertical .symbols[data-v-31939e04]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}.tokens[data-v-31939e04]{font-weight:600}.tokens .symbols .symbol[data-v-31939e04],.tokens[data-v-31939e04]{font-family:IBM Plex Sans,sans-serif;font-size:16px;line-height:16px}.tokens .symbols .symbol[data-v-31939e04]{font-weight:400}.tokens[data-v-31939e04]{display:inline-flex;align-items:center;color:hsla(0,0%,100%,.75);letter-spacing:-2%}.tokens.bright[data-v-31939e04]{color:#fff}.tokens .icon[data-v-31939e04]{-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-right:4px}.tokens .symbols .symbol[data-v-31939e04]{white-space:nowrap;letter-spacing:-.02em}.tokens .separator[data-v-31939e04]{margin:0 1px;vertical-align:middle}.tokens.vertical[data-v-31939e04]{flex-direction:column}.tokens.vertical .symbols .separator[data-v-31939e04]{color:hsla(0,0%,100%,.75)}.tokens.vertical .icon[data-v-31939e04]{margin-right:0;margin-bottom:8px}.transaction-asset-rows .row.multiple-rows .amount[data-v-1bbadb59]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.transaction-asset-rows .row .symbol[data-v-1bbadb59]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.transaction-asset-rows[data-v-1bbadb59]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;width:100%;line-height:20px}.transaction-asset-rows .row[data-v-1bbadb59]{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;font-size:var(--font-size)}.transaction-asset-rows .row .amount[data-v-1bbadb59]{color:#fff;font-weight:500;white-space:nowrap}.transaction-asset-rows .row.received .amount[data-v-1bbadb59]{color:#00d3a1}.transaction-asset-rows .row .symbol[data-v-1bbadb59]{letter-spacing:-2%}.transaction-asset-rows .row.multiple-rows[data-v-1bbadb59]{margin-bottom:12px;padding-inline:16px}.transaction-asset-rows.reversed[data-v-1bbadb59]{display:flex;flex-direction:column-reverse}.truncate[data-v-72e5b080]{display:flex;width:100%;min-width:0;padding-right:5px}.truncate.right[data-v-72e5b080]{justify-content:flex-end}.truncate .container[data-v-72e5b080]{position:relative;overflow:hidden;white-space:nowrap}.truncate .container.fixed[data-v-72e5b080]{text-overflow:ellipsis}.truncate .container .inner[data-v-72e5b080]{position:relative;display:inline-block;min-width:-moz-fit-content;min-width:fit-content}.truncate .container.scrollable[data-v-72e5b080]{padding-right:5px;border-radius:2px;margin-left:-2px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 2px,#000 calc(100% - 2px),transparent);mask-image:linear-gradient(90deg,transparent,#000 2px,#000 calc(100% - 2px),transparent)}.truncate .container.scrollable .inner[data-v-72e5b080]{position:relative;display:inline-block;animation-name:animationTruncate-72e5b080;animation-duration:var(--animationDuration);animation-delay:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;padding:0 2px}.truncate .domain[data-v-72e5b080]{word-break:keep-all}@keyframes animationTruncate-72e5b080{0%{transform:translateX(0)}50%{transform:translateX(var(--animationTranslate))}to{transform:translateX(0)}}.transaction-label .secondary[data-v-bde64a88]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.transaction-label .label[data-v-bde64a88]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.transaction-label[data-v-bde64a88]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;width:100%;overflow:hidden;flex:1 1 50%;white-space:nowrap;text-overflow:ellipsis}.transaction-label .label[data-v-bde64a88]{color:#fff}.transaction-label .label .type[data-v-bde64a88]{display:flex}.transaction-label .label .error-type[data-v-bde64a88]{text-transform:lowercase}.transaction-label .secondary[data-v-bde64a88]{color:hsla(0,0%,100%,.75)}.transaction-label .icon[data-v-bde64a88]{min-width:16px;height:16px;color:#fff;margin-left:1px;margin-right:2px}.transaction-label .error[data-v-bde64a88]{display:flex;color:#ffb422}.transaction-label .error .icon[data-v-bde64a88]{color:#ffb422}.transaction-label .label[data-v-bde64a88],.transaction-label .owner[data-v-bde64a88]{width:100%;display:flex;gap:4px}.transaction-label .owner[data-v-bde64a88]{min-width:0}.button-plain[data-v-ea8fa866]{padding:0;border:none;outline:none;background:transparent;text-decoration:none;color:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .15s}.button-plain.avatar[data-v-ea8fa866]{width:24px;height:24px}.button-plain.extend[data-v-ea8fa866]{width:100%}.button-plain[data-v-ea8fa866]:disabled{opacity:.7}.list-item-wrapper[data-v-22701c0f]{display:block;padding:10px 12px;color:unset;text-decoration:unset;text-align:left;inline-size:-webkit-fill-available;transition:background-color .12s ease-in-out}.list-item-wrapper[data-v-22701c0f]:hover{background-color:hsla(0,0%,7%,.5)}@media(min-width:362px)and (max-width:480px){.list-item-wrapper[data-v-22701c0f]:hover{background-color:transparent}}.list-item-wrapper[data-v-22701c0f]:active{opacity:.5}.list-item-wrapper.selected[data-v-22701c0f]{color:#fff;background-color:rgba(17,97,254,.2)}.consensus-approved-label{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px;display:flex;align-items:center}.consensus-approved-label .icon{width:16px;height:16px;margin-right:6px}.transaction-item .body .footer[data-v-5d0ffd7a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.transaction-item .consensus[data-v-5d0ffd7a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.transaction-item .body[data-v-5d0ffd7a]{width:100%}.transaction-item .body .footer[data-v-5d0ffd7a]{display:flex;justify-content:space-between;align-items:center;flex-flow:row;width:100%;color:hsla(0,0%,100%,.75);gap:3px}.transaction-item .body .footer .date[data-v-5d0ffd7a]{white-space:nowrap}.transaction-item .consensus[data-v-5d0ffd7a]{display:flex;align-items:center;gap:6px}.transaction-item .consensus .icon[data-v-5d0ffd7a]{width:16px;height:16px}.infinite-scroll[data-v-f3c3c2da]{height:100%}.back-to-top[data-v-2c42d011]{width:100%;height:0;z-index:5}.back-to-top.visible[data-v-2c42d011]{height:40px}.back-to-top-btn-container[data-v-2c42d011]{display:flex;justify-content:flex-end;align-items:center;flex-flow:row;pointer-events:none;position:fixed;bottom:0;left:0;width:100%;padding:12px 4px 4px 0;background:#191919;background:linear-gradient(180deg,rgba(25,25,25,0) 5%,rgba(25,25,25,.8) 60%,rgba(25,25,25,.9))}.back-to-top-btn[data-v-2c42d011]{display:flex;justify-content:center;align-items:center;flex-flow:row;pointer-events:all;height:40px;width:41px;border-radius:10px;background-color:#2b2b2b;transition:opacity .2s ease-in-out}.back-to-top-btn[data-v-2c42d011]:hover{background:rgba(39,39,39,.8)}.back-to-top-btn[data-v-2c42d011]:active{background:rgba(34,34,34,.8)}.back-to-top-btn .chevron[data-v-2c42d011]{width:22px;height:22px;transform:rotate(-90deg)}.back-to-top.sticky[data-v-2c42d011]{position:sticky;bottom:0}.back-to-top.sticky .back-to-top-btn-container[data-v-2c42d011]{position:absolute}.transaction-list .transactions .message[data-v-0c1013d8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.transaction-list .transactions[data-v-0c1013d8]{display:flex;flex-direction:column;padding:10px 0}.transaction-list .transactions .list[data-v-0c1013d8]{padding:0;margin:0}.transaction-list .transactions .message[data-v-0c1013d8],.transaction-list .transactions .spinner[data-v-0c1013d8]{flex-grow:1;display:flex;justify-content:center;align-items:center}.transaction-list .transactions .message[data-v-0c1013d8]{color:#babac0;text-align:center;padding:48px 64px}.transaction-list .transactions .spinner[data-v-0c1013d8]{width:56px;min-height:56px;margin:0 auto;padding-bottom:48px;color:#fff}.transaction-list .offline-message[data-v-0c1013d8]{margin-top:40px;margin-bottom:100px}.protocol-icon[data-v-3c4b9f22]{--icon-size:var(--icon-size-md);display:inline-block;width:var(--icon-size);height:var(--icon-size)}.protocol-icon.xs[data-v-3c4b9f22]{--icon-size:var(--icon-size-xs)}.protocol-icon.lg[data-v-3c4b9f22]{--icon-size:var(--icon-size-lg)}.icon-wrapper[data-v-5e9dcd14]{--wrapper-size:36px;--icon-size:var(--icon-size-lg);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s}.icon-wrapper .icon-wrapper-icon[data-v-5e9dcd14]{width:var(--icon-size);height:var(--icon-size);color:inherit}.icon-wrapper .icon-wrapper-fill[data-v-5e9dcd14]{width:100%;height:100%}.icon-wrapper.is-boxed[data-v-5e9dcd14]{width:var(--wrapper-size);height:var(--wrapper-size);background-color:hsla(0,0%,100%,.15);border-radius:14px}.icon-wrapper.icon-size-xl[data-v-5e9dcd14]{--icon-size:var(--icon-size-xl)}.btn-box.is-big .text[data-v-aded6086]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:16px;line-height:24px}.btn-box[data-v-aded6086]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.btn-box .subtitle[data-v-aded6086]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.btn-box[data-v-aded6086]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:auto;min-height:58px;padding:4px 6px;border-radius:10px}.btn-box:hover .icon[data-v-aded6086]{opacity:1}.btn-box .icon[data-v-aded6086]{color:#fff;opacity:.75}.btn-box .subtitle[data-v-aded6086]{opacity:.7}.btn-box.disabled .icon[data-v-aded6086]{opacity:.5}.btn-box.is-big[data-v-aded6086]{min-height:116px;padding:10px}.btn-box.is-big .icon[data-v-aded6086]{margin-bottom:8px}.main-balance{--font-size-token:30px;--font-size-symbol:24px;display:flex;align-items:baseline;font-family:IBM Plex Sans,sans-serif;font-size:var(--font-size-symbol)}.main-balance.lg{--font-size-token:28px;--font-size-symbol:22px}.main-balance.md{--font-size-token:26px;--font-size-symbol:20px}.main-balance.sm{--font-size-token:22px;--font-size-symbol:18px}.main-balance .asset-symbol{font-weight:500;color:#fff;margin-right:4px;text-transform:uppercase}.main-balance .asset-integer{font-size:var(--font-size-token);font-weight:600;color:#fff}.main-balance .asset-fractional{font-weight:600;color:hsla(0,0%,100%,.75);opacity:.75}.main-balance .asset-fractional,.main-balance .asset-integer,.main-balance .asset-symbol{line-height:32px}.balance-info .display-value[data-v-46d07e78]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.balance-info[data-v-46d07e78]{display:flex;flex-direction:column;align-items:center;padding-top:8px}.balance-info .display-value[data-v-46d07e78]{color:#fff;line-height:18px;margin-top:4px;opacity:.75}.avatar[data-v-1c2ad31e]{width:40px;height:40px;border-radius:50%;overflow:hidden;display:inline-block;-o-object-fit:cover;object-fit:cover;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;border:1px solid var(--color);background-color:#171717}.avatar .avatar-img[data-v-1c2ad31e]{width:100%;height:100%}.avatar.placeholder[data-v-1c2ad31e]{background-color:hsla(0,0%,100%,.15)}.avatar.sm[data-v-1c2ad31e]{height:24px;width:24px}.avatar.xs[data-v-1c2ad31e]{height:18px;width:18px}.avatar.md[data-v-1c2ad31e]{height:32px;width:32px}.avatar.rg[data-v-1c2ad31e]{height:40px;width:40px;border-width:2px}.avatar.lg[data-v-1c2ad31e]{height:48px;width:48px;border-width:2px}.avatar.xl[data-v-1c2ad31e]{height:56px;width:56px;border-width:2px}.avatar.borderless[data-v-1c2ad31e]{border:none}.copy-text .copied[data-v-4027e3b3]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.copy-text[data-v-4027e3b3]{position:relative;display:inline-block;cursor:pointer;color:inherit}.copy-text .copy-icon-copied[data-v-4027e3b3],.copy-text .copy-icon-indicator[data-v-4027e3b3]{flex-shrink:0;width:22px;height:22px}.copy-text .copy-icon-copied[data-v-4027e3b3]{margin-left:2px}.copy-text .copied[data-v-4027e3b3]{background-image:repeating-linear-gradient(0deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0),repeating-linear-gradient(90deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0),repeating-linear-gradient(180deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0),repeating-linear-gradient(270deg,hsla(0,0%,100%,.5),hsla(0,0%,100%,.5) 4px,transparent 0,transparent 8px,hsla(0,0%,100%,.5) 0);background-size:1px 100%,100% 1px,1px 100%,100% 1px;background-position:0 0,0 0,100% 0,0 100%;background-repeat:no-repeat;position:absolute;z-index:1;inset:0;display:flex;align-items:center;justify-content:center;border-radius:5px;background-color:#191919;text-transform:uppercase}.copy-text.has-icon[data-v-4027e3b3]{padding-right:24px}.copy-text.has-icon .copy-icon-indicator[data-v-4027e3b3]{position:absolute;top:50%;right:0;transform:translateY(-50%)}.copy-text.disabled[data-v-4027e3b3]{cursor:inherit}.address-truncated-chunks .dots[data-v-f112ca60]{font-family:IBM Plex Mono;font-weight:400;font-size:16px;line-height:20px}.address-truncated-chunks[data-v-f112ca60]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}.address-truncated[data-v-f112ca60]{display:flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.address-truncated .protocol-icon[data-v-f112ca60]{margin-right:4px}.address-truncated-chunks[data-v-f112ca60]{display:flex;flex-wrap:nowrap;align-items:center;gap:2px;letter-spacing:.07em}.address-truncated-chunks .dots[data-v-f112ca60]{letter-spacing:-.25em;text-align:center;margin-left:-1px;margin-right:3px}.address-truncated-chunks .address-chunk[data-v-f112ca60],.address-truncated-chunks .dots[data-v-f112ca60]{white-space:nowrap}.address-truncated .external-link[data-v-f112ca60]{margin-top:-1px;flex-shrink:0;color:inherit}.address-truncated .external-link .external-link-icon[data-v-f112ca60]{width:22px;height:22px}.account-info .account-details .account-name-truncated[data-v-bf1c6ab4],.account-info .account-details .account-name[data-v-bf1c6ab4]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-info .account-details.list-name .account-name-truncated[data-v-bf1c6ab4],.account-info .account-details.list-name .account-name[data-v-bf1c6ab4]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:15px;line-height:24px}.account-info[data-v-bf1c6ab4]{display:flex;align-items:center;justify-content:flex-start;text-align:left;color:#fff}.account-info .avatar[data-v-bf1c6ab4]{margin-right:8px}.account-info .account-details[data-v-bf1c6ab4]{max-width:250px;font-weight:500}.account-info .account-details .account-name-truncated[data-v-bf1c6ab4],.account-info .account-details .account-name[data-v-bf1c6ab4]{margin:4px 0}.account-info .account-details.list-name[data-v-bf1c6ab4]{width:100%;min-width:0}.account-info .account-details.list-name .account-name-truncated[data-v-bf1c6ab4],.account-info .account-details.list-name .account-name[data-v-bf1c6ab4]{margin:0}.account-info .account-details .ae-address[data-v-bf1c6ab4]{color:hsla(0,0%,100%,.85);-webkit-user-select:none;-moz-user-select:none;user-select:none}.account-info .account-details .ae-address .icon[data-v-bf1c6ab4]{width:22px;height:22px;margin-left:2px}.account-info .account-address[data-v-bf1c6ab4]{display:flex;align-items:center;justify-content:flex-start}.account-info .account-address .protocol-icon[data-v-bf1c6ab4]{margin-right:6px}.account-info.can-copy-address .ae-address[data-v-bf1c6ab4]{opacity:.85}.account-info.can-copy-address .ae-address[data-v-bf1c6ab4]:hover{opacity:1}.badge-inner[data-v-f4a4a6c2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:11px;line-height:16px}.badge[data-v-f4a4a6c2]{position:relative;display:inline-block}.badge-inner[data-v-f4a4a6c2]{color:#fff;position:absolute;z-index:1;right:-2px;top:0;min-width:14px;height:14px;background:#ff2b5e;border-radius:7px;text-align:center;line-height:14px;padding:0 3px}.btn-icon{--size:24px;--icon-opacity:0.75;--icon-opacity-hover:1;--icon-color-hover:#fff;justify-content:center;align-items:center;flex-flow:row;padding:4px;background:transparent;border:none;border-radius:50%;outline:none;cursor:pointer}.btn-icon,.btn-icon .badge{display:flex}.btn-icon .icon{color:#fff;width:var(--size);height:var(--size);opacity:var(--icon-opacity);transition:all .15s}.btn-icon:hover{transition-duration:.1s}.btn-icon:hover .icon{opacity:var(--icon-opacity-hover);color:var(--icon-color-hover)}.btn-icon:active{transform:scale(.92)}.btn-icon:active .icon{opacity:1}.btn-icon.dimmed{--icon-opacity:0.5;--icon-opacity-hover:0.75}.btn-icon.size-sm{--size:20px}.btn-icon.icon-variant-danger{--icon-color-hover:#ff4746}.btn-help[data-v-2658afd8]{display:inline-flex}.btn-help svg[data-v-2658afd8]{width:24px;height:24px;opacity:.5;color:#fff}.btn-help.small svg[data-v-2658afd8]{width:20px;height:20px}.btn-help:hover svg[data-v-2658afd8]{opacity:1}.input-field .input-wrapper .input[data-v-124f240c]::-moz-placeholder{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.input-field .input-wrapper .input[data-v-124f240c],.input-field .input-wrapper .input[data-v-124f240c]::placeholder,.input-field .label-after[data-v-124f240c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.input-field .input-wrapper .under[data-v-124f240c],.input-field .message[data-v-124f240c],.input-field.thin .input[data-v-124f240c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.input-field.code .input[data-v-124f240c]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.input-field[data-v-124f240c]{--color-border:transparent;--color-bg:hsla(0,0%,100%,.08);--color-input-text:#babac0;--color-placeholder:hsla(0,0%,100%,.75);--color-message:hsla(0,0%,100%,.75);text-align:left}.input-field[data-v-124f240c]:focus-within,.input-field[data-v-124f240c]:hover{--color-input-text:#fff}.input-field[data-v-124f240c]:hover{--color-border:hsla(0,0%,100%,.15);--color-bg:hsla(0,0%,100%,.05)}.input-field[data-v-124f240c]:focus-within{--color-border:#1161fe;--color-bg:rgba(0,0,0,.44);--color-placeholder:#fff}.input-field .label[data-v-124f240c]{display:flex;align-items:center;margin-top:16px}.input-field .label-text[data-v-124f240c]{margin:4px 0;display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}.input-field .label .btn-help[data-v-124f240c]{margin-left:10px}.input-field .label-after[data-v-124f240c]{margin-left:auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#787878}.input-field .input-wrapper[data-v-124f240c]{display:block;padding:8px 12px;background-color:var(--color-bg);border:none;border-radius:10px;overflow:hidden;box-shadow:inset 0 0 0 2px var(--color-border);transition:.1s ease-in-out;cursor:text}.input-field .input-wrapper .main-inner[data-v-124f240c]{display:flex;align-items:center;width:100%}.input-field .input-wrapper .main-inner[data-v-124f240c] .icon{width:var(--size,24px);height:var(--size,24px);flex-shrink:0}.input-field .input-wrapper .input[data-v-124f240c]{display:block;width:100%;padding:0;outline:none;border:none;background:transparent;box-shadow:none;color:var(--color-input-text);transition:.1s ease-in-out}.input-field .input-wrapper .input[data-v-124f240c]::-moz-placeholder{color:var(--color-placeholder);-moz-user-select:none;user-select:none}.input-field .input-wrapper .input[data-v-124f240c]::placeholder{color:var(--color-placeholder);-webkit-user-select:none;-moz-user-select:none;user-select:none}.input-field .input-wrapper .input[type=number][data-v-124f240c]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.input-field .input-wrapper .input[type=number][data-v-124f240c]::-webkit-inner-spin-button,.input-field .input-wrapper .input[type=number][data-v-124f240c]::-webkit-outer-spin-button{-webkit-appearance:none}.input-field .input-wrapper .under[data-v-124f240c]{color:hsla(0,0%,100%,.5)}.input-field .message[data-v-124f240c]{line-height:20px;display:flex;align-items:center;margin-top:4px;text-align:left;color:var(--color-message)}.input-field .message-help[data-v-124f240c]{display:block;width:24px;height:24px;padding-left:5px;color:rgba(0,0,0,.75)}.input-field.error[data-v-124f240c]{--color-border:#ff4746;--color-message:#ff4746}.input-field.warning[data-v-124f240c]{--color-border:#ffb422;--color-message:#ffb422}.input-field.readonly[data-v-124f240c]{--color-border:transparent}.input-field.readonly .input-wrapper .input[data-v-124f240c]{opacity:.5}.input-search .erase-icon[data-v-b52ecd9a]{cursor:pointer}.input-search .erase-icon[data-v-b52ecd9a]:hover{opacity:.8}.filters .filter[data-v-78158338]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.filters[data-v-78158338]{height:36px;display:flex;gap:8px;padding-bottom:12px;background:var(--screen-bg-color);padding-inline:var(--screen-padding-x);margin-left:calc(var(--screen-padding-x)*-1);margin-right:calc(var(--screen-padding-x)*-1);z-index:2}.filters .filter[data-v-78158338]{display:flex;align-items:center;padding:2px 8px;max-height:24px;gap:2px;transition:all .08s ease-out;border-radius:12px;color:hsla(0,0%,100%,.5)}.filters .filter svg[data-v-78158338]{width:14px;height:14px;color:hsla(0,0%,100%,.3)}.filters .filter svg.rotate[data-v-78158338]{transform:rotate(180deg)}.filters .filter.active[data-v-78158338],.filters .filter[data-v-78158338]:hover{color:#fff;background:hsla(0,0%,100%,.1)}.filters .filter.active svg[data-v-78158338],.filters .filter:hover svg[data-v-78158338]{color:hsla(0,0%,100%,.5)}.filters .filter[data-v-78158338]:hover:not(.active){opacity:.75}.transaction-filter[data-v-5de9a71a]{max-height:20px;overflow:hidden;transition:.15s}.transaction-filter .input-search[data-v-5de9a71a]{padding-top:8px}.transaction-filter .filter-wrapper[data-v-5de9a71a]{display:flex;flex-direction:column;gap:14px}.transaction-filter .filters[data-v-5de9a71a]{padding-bottom:0;height:auto}.transaction-filter.without-search[data-v-5de9a71a]{padding-top:0}.account-details .account-info-wrapper[data-v-94271d80] .account-info .title{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.account-details[data-v-94271d80]{--account-info-height:120px;--screen-padding-x:12px;--screen-bg-color:#191919;--header-height:64px;position:relative;top:env(safe-area-inset-top);background-color:#191919;border-radius:10px;min-height:100%;height:100%;font-weight:500;color:#fff;box-shadow:0 0 0 1px #232323,0 0 50px rgba(0,0,0,.6)}@media(min-width:362px)and (max-width:480px){.account-details[data-v-94271d80]{min-height:100vh}}.account-details .account-info-wrapper[data-v-94271d80]{z-index:2;display:flex;justify-content:space-between;padding:8px 6px 6px;background-color:var(--screen-bg-color);height:var(--header-height)}.account-details .account-info-wrapper .button-plain[data-v-94271d80]{width:24px;height:24px;position:absolute;right:7px;top:7px;color:#fff}.account-details .account-info-wrapper .button-plain svg[data-v-94271d80]{width:24px}.account-details .account-info-wrapper[data-v-94271d80] .account-info .title{justify-content:flex-start;word-break:normal}.account-details .buttons[data-v-94271d80]{display:flex;justify-content:space-between;gap:var(--gap);width:100%;margin-top:20px;padding-inline:var(--screen-padding-x)}.account-details .header[data-v-94271d80]{position:sticky;z-index:2;top:calc(env(safe-area-inset-top) + var(--header-height));padding:var(--gap) var(--screen-padding-x);background-color:var(--screen-bg-color)}.account-details .tabs-content[data-v-94271d80]{position:relative;padding-inline:var(--screen-padding-x)}.account-details .close-button[data-v-94271d80]{position:absolute;top:4px;right:8px}.btn-pill[data-v-67d90d96]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px;display:flex;justify-content:center;align-items:center;flex-flow:row;padding:2px 10px;gap:4px;border-radius:20px;background-color:hsla(0,0%,100%,.08);color:hsla(0,0%,100%,.5)}.btn-pill.dense[data-v-67d90d96]{padding-block:0}.btn-pill.avatar[data-v-67d90d96]{padding:4px;background-color:transparent}.btn-pill.router-link-exact-active[data-v-67d90d96]{background-color:hsla(0,0%,100%,.15);color:#fff}.btn-pill[data-v-67d90d96]:not(.static){color:hsla(0,0%,100%,.75)}.btn-pill[data-v-67d90d96]:not(.static):hover{color:#fff}.btn-pill[data-v-67d90d96]:not(.static):active{color:hsla(0,0%,100%,.75)}.tab[data-v-6286b0cb]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;display:flex;justify-content:center;align-items:center;flex-flow:row;flex:1 1 0;padding:4px 10px;border-radius:7px;color:hsla(0,0%,100%,.75);transition:all .1s}.tab[data-v-6286b0cb]:hover{color:#fff}.tab.router-link-active.not-exact[data-v-6286b0cb]{background-color:hsla(0,0%,100%,.15);color:#fff}.tab.router-link-active.exact.active[data-v-6286b0cb]{background-color:transparent;color:#fff}.tab.active[data-v-6286b0cb],.tab.router-link-exact-active[data-v-6286b0cb]{background-color:hsla(0,0%,100%,.15);color:#fff;font-weight:600}.tabs[data-v-b4464f30]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;padding:4px;border-radius:10px;background-color:#000}.account-details-navigation .sub-tabs[data-v-c5baaaf6]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;margin-top:10px;gap:var(--gap);padding-top:2px;padding-bottom:10px;background-color:var(--screen-bg-color)}.token-amount.large[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px}.token-amount.large .fiat[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.token-amount.large .text[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.token-amount[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.token-amount .fiat[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.token-amount.small .fiat[data-v-58c0fdc8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.token-amount[data-v-58c0fdc8]{display:inline-flex;gap:8px;align-items:center;color:#fff}.token-amount .amount[data-v-58c0fdc8]{font-size:var(--font-size);line-height:20px;white-space:nowrap}.token-amount .symbol[data-v-58c0fdc8]{color:hsla(0,0%,100%,.75)}.token-amount .fiat[data-v-58c0fdc8]{color:hsla(0,0%,100%,.75);white-space:nowrap}.token-amount.vertical[data-v-58c0fdc8]{flex-direction:column;align-items:normal;gap:4px}.token-amount.large .symbol[data-v-58c0fdc8]{font:inherit}.tokens-list-item .price[data-v-686b3f34]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.tokens-list-item .row[data-v-686b3f34]{display:flex;align-items:center;justify-content:space-between}.tokens-list-item .row.bottom[data-v-686b3f34]{margin-top:4px}.tokens-list-item .price[data-v-686b3f34]{color:hsla(0,0%,100%,.75);letter-spacing:-.02em}.multisig-token-list-wrapper[data-v-d304c11c]{position:relative;padding-top:4px}.account-card-total-tokens .total-tokens[data-v-35e45495]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.account-card-total-tokens[data-v-35e45495]{width:100%}.account-card-total-tokens .total-tokens[data-v-35e45495]{color:#fff;line-height:16px}.account-card-total-tokens .total-tokens .digit[data-v-35e45495]{display:inline-block;margin-right:4px}.account-card-total-tokens .total-tokens .wording[data-v-35e45495]{opacity:.85}.account-card-base[data-v-69ea429a]{display:flex;flex-direction:column;width:100%;height:192px;padding:12px;border-radius:16px;text-decoration:none}.account-card-base.active .bottom[data-v-69ea429a],.account-card-base.active .middle[data-v-69ea429a],.account-card-base.active .top[data-v-69ea429a]{opacity:1}.account-card-base .bottom[data-v-69ea429a],.account-card-base .middle[data-v-69ea429a],.account-card-base .top[data-v-69ea429a]{opacity:.5}.account-card-base .middle[data-v-69ea429a]{margin-top:5px;text-align:center}.account-card-base .bottom[data-v-69ea429a]{flex:1;display:flex;align-items:flex-end}.account-card-add .title[data-v-54bf23d0]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:20px;line-height:24px}.account-card-add .description[data-v-54bf23d0]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-card-add .title[data-v-54bf23d0]{display:flex;align-items:center;padding-bottom:12px;color:#fff;font-weight:500}.account-card-add .title .plus-icon[data-v-54bf23d0]{width:48px;height:48px;margin-right:8px}.account-card-add .description[data-v-54bf23d0]{padding-left:12px;color:hsla(0,0%,100%,.85);line-height:22px}.bullet-switcher[data-v-27e20eff]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;height:40px;padding-left:4px}.bullet-switcher .add-icon[data-v-27e20eff]{width:19px;height:19px;margin-left:8px;cursor:pointer;color:hsla(0,0%,100%,.5);transition:all .25s ease-out}.bullet-switcher .add-icon.active[data-v-27e20eff],.bullet-switcher .add-icon[data-v-27e20eff]:hover{color:#fff}.bullet-switcher .bullet-switcher-container[data-v-27e20eff]{max-width:calc(var(--bullet-size)*5);overflow:hidden}.bullet-switcher .bullet-switcher-container .bullet-switcher-track[data-v-27e20eff]{display:flex;margin-left:var(--translate-x-value);transition:margin-left .3s ease-out}.bullet-switcher .bullet-switcher-container .bullet-link[data-v-27e20eff]{--bullet-scale:1;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--bullet-size);height:var(--bullet-size)}.bullet-switcher .bullet-switcher-container .bullet-link:hover .bullet[data-v-27e20eff]{transform:scale(1.2)!important}.bullet-switcher .bullet-switcher-container .bullet-link.small[data-v-27e20eff]{--bullet-scale:0.5}.bullet-switcher .bullet-switcher-container .bullet-link.medium[data-v-27e20eff]{--bullet-scale:0.75}.bullet-switcher .bullet-switcher-container .bullet-link.active .bullet[data-v-27e20eff]{background-color:var(--active-color)}.bullet-switcher .bullet-switcher-container .bullet-link .bullet[data-v-27e20eff]{background-color:hsla(0,0%,100%,.2);min-width:8px;min-height:8px;border-radius:50%;transform:scale(var(--bullet-scale));transition:all .25s ease-out}.multisig-button .text[data-v-34a0d63e]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.multisig-button .has-pending[data-v-34a0d63e]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px}.multisig-button[data-v-34a0d63e]{display:flex;justify-content:center;align-items:center;flex-flow:row;padding:4px 8px;background:#141414;border-radius:12px;gap:1px}.multisig-button .icon-back[data-v-34a0d63e],.multisig-button .icon-pending[data-v-34a0d63e]{width:16px;height:16px}.multisig-button .icon-back[data-v-34a0d63e]{color:#fff;opacity:75%}.multisig-button .text[data-v-34a0d63e]{color:hsla(0,0%,100%,.5);line-height:16px;transition:all .15s}.multisig-button .has-pending[data-v-34a0d63e]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;color:rgba(255,180,34,.75);line-height:16px;margin-right:5px}.multisig-button .has-pending .icon-pending[data-v-34a0d63e]{color:#ffb422}.multisig-button:active .text[data-v-34a0d63e],.multisig-button:hover .text[data-v-34a0d63e]{color:#fff}.multisig-button[data-v-34a0d63e]:hover{background:#262626}.multisig-button[data-v-34a0d63e]:active{background:#212121}@font-face{font-family:swiper-icons;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s linear infinite}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.account-swiper .account-swiper-bottom[data-v-62def7db]{display:flex;justify-content:space-between;align-items:center;flex-flow:row;padding-inline:var(--screen-padding-x)}.account-swiper .swiper-wrapper[data-v-62def7db]{position:relative}.account-swiper .swiper-wrapper .nav-btn[data-v-62def7db]{--scale:1;--translate-x:0;position:absolute;z-index:1;top:50%;height:60px;padding-right:24px;color:#fff;opacity:.5;transition:all .15s;transform:scaleX(var(--scale)) translateX(var(--translate-x)) translateY(-50%)}.account-swiper .swiper-wrapper .nav-btn .icon[data-v-62def7db]{width:14px;height:22px}.account-swiper .swiper-wrapper .nav-btn.prev[data-v-62def7db]{--scale:-1;left:0}.account-swiper .swiper-wrapper .nav-btn.next[data-v-62def7db]{right:0}.account-swiper .swiper-wrapper .nav-btn[data-v-62def7db]:hover{opacity:1}.account-swiper .swiper-wrapper.is-swiping .nav-btn[data-v-62def7db]{--translate-x:30px;opacity:0;visibility:hidden}.card .text[data-v-d2868f74]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:16px;line-height:24px}.card .description[data-v-d2868f74]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.card[data-v-d2868f74]{z-index:1;position:relative;display:flex;align-items:flex-start;width:100%;min-height:116px;border-radius:10px;padding:20px 16px;gap:16px;background-color:#262626;background-repeat:no-repeat;background-size:cover;transition:all .15s}.card-darken[data-v-d2868f74]:before{content:"";position:absolute;z-index:-1;inset:0;background-color:var(--screen-bg-color);opacity:.7}.card .card-icon[data-v-d2868f74]{color:#fff}.card .card-close[data-v-d2868f74]{position:absolute;top:4px;right:4px}.card .text[data-v-d2868f74]{color:#fff}.card .description[data-v-d2868f74]{color:#fff;opacity:.7;margin-top:4px}.card.dense .description[data-v-d2868f74]{margin-top:0}.card.disabled[data-v-d2868f74]{pointer-events:none;opacity:.4}.btn-main[data-v-5f957749]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px;--bg-color:#1161fe;display:flex;align-items:center;justify-content:center;flex-grow:1;width:-moz-fit-content;width:fit-content;min-height:40px;padding:8px 16px;border-radius:10px;line-height:24px;font-weight:500;text-align:center}.btn-main.extra-padded[data-v-5f957749]{padding-inline:32px}.btn-main.third[data-v-5f957749]{display:inline-block;width:32%;margin:0}.btn-main.inline[data-v-5f957749]{display:inline-flex}.btn-main.nowrap[data-v-5f957749]{white-space:nowrap}.btn-main.has-icon[data-v-5f957749]{gap:4px}.btn-main.has-icon .btn-main-icon[data-v-5f957749]{--icon-size:var(--icon-size-md);flex-shrink:0;width:var(--icon-size);height:var(--icon-size);color:inherit}.btn-main.has-icon .btn-main-icon.lg[data-v-5f957749]{--icon-size:var(--icon-size-lg)}.btn-main.wide[data-v-5f957749]{flex-basis:60%}.btn-main.extend[data-v-5f957749]{width:100%}.dashboard-card .card-button[data-v-153553d6]{margin-top:12px}.total-amount[data-v-1384e7ae]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:16px;line-height:24px}.total-amount .label[data-v-1384e7ae]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.total-amount[data-v-1384e7ae]{display:flex;align-items:center;color:#fff;line-height:1}.total-amount .label[data-v-1384e7ae]{display:inline-block;margin-top:1px;margin-left:4px;line-height:inherit;opacity:.5}.form-select.unstyled[data-v-3ac87742]{display:flex;align-items:center;gap:4px;font:inherit;transition:.2s}.form-select.unstyled[data-v-3ac87742]:active,.form-select.unstyled[data-v-3ac87742]:hover{color:#fff}.form-select .arrow-icon[data-v-3ac87742]{flex-shrink:0;width:8px!important;height:5px!important;opacity:.75}.form-select .input-field-text-wrapper[data-v-3ac87742]{flex-grow:1}.dashboard-base .dashboard-header-info .account-number[data-v-16ddc864]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:13px;line-height:16px}.dashboard-base[data-v-16ddc864]{display:flex;flex-direction:column}.dashboard-base .dashboard-header-info[data-v-16ddc864]{padding:5px 20px 8px 24px;display:flex;align-items:center}.dashboard-base .dashboard-header-info .account-select-btn[data-v-16ddc864]{padding:0;margin-left:auto}.dashboard-base .dashboard-header-info .account-select-input[data-v-16ddc864]{padding:4px 8px}.dashboard-base .dashboard-header-info .account-number[data-v-16ddc864]{margin-right:2px;opacity:.5;line-height:14px;letter-spacing:-.5px}.dashboard-base .dashboard-base-cards[data-v-16ddc864]{display:flex;flex-direction:column;gap:var(--gap);margin-top:8px;padding-inline:var(--screen-padding-x);padding-bottom:var(--screen-padding-x)}.dashboard-base .dashboard-base-cards .buttons-row[data-v-16ddc864]{display:flex;gap:var(--gap)}.latest-transaction-card .spinner[data-v-22a905e1]{display:block;margin-inline:auto;height:60px}.latest-transaction-card .btn-refresh[data-v-22a905e1]{margin-block:-2px;margin-right:-6px}.latest-transaction-card .transaction-item[data-v-22a905e1]{padding-block:10px}.account-card-consensus .consensus-row[data-v-0f931edd]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.account-card-consensus[data-v-0f931edd]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;gap:6px}.account-card-consensus .consensus-row[data-v-0f931edd]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;color:hsla(0,0%,100%,.85);line-height:16px}.account-card-consensus .consensus-row .highlighted[data-v-0f931edd]{color:#fff;margin-left:4px}.account-card-consensus .consensus-row .icon[data-v-0f931edd]{height:16px;width:16px;margin-right:4px;color:#fff}.account-card-consensus .consensus-row .check-circle[data-v-0f931edd]{opacity:.5}.account-card-multisig .pending .pending-message[data-v-becb8358]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.account-card-multisig .pending[data-v-becb8358]{display:flex;align-items:center}.account-card-multisig .pending .pending-icon[data-v-becb8358]{height:16px;width:16px;margin-right:4px}.account-card-multisig .pending .pending-message[data-v-becb8358]{opacity:.85}.pending-multisig-transaction-card .spinner[data-v-8b3187dc]{display:block;margin-inline:auto;height:60px}.account-selector[data-v-77f77faa]{display:flex;align-items:center;gap:8px;padding-block:4px}.account-selector .account-select-text[data-v-77f77faa]{max-width:220px}.account-selector .account-select[data-v-77f77faa]{margin-bottom:4px;margin-left:-3px;color:#fff}.account-selector .account-select.avatar-only[data-v-77f77faa]{margin-bottom:0}.account-selector .address-truncated[data-v-77f77faa]{color:#fff}.fixed-screen-footer[data-v-397b9317]{position:sticky;bottom:0;margin:auto 0 0;display:flex;justify-content:center;gap:8px;padding:24px}.fixed-screen-footer.noPaddingTop[data-v-397b9317]{padding-top:0}.fixed-screen-footer.mobile[data-v-397b9317]{margin-bottom:20px}.fixed-screen-footer[data-v-397b9317]:before{content:"";position:absolute;z-index:-1;inset:0;background-color:var(--screen-bg-color);top:40px;box-shadow:0 -30px 20px var(--screen-bg-color);opacity:.9}.fixed-screen-footer[data-v-397b9317],.fixed-screen-footer[data-v-397b9317]:before{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.comment-new .comment-text[data-v-67d57742]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.comment-new[data-v-67d57742]{padding:16px}.comment-new .comment-text[data-v-67d57742]{background-color:#262626;padding:8px 12px;border-radius:10px;margin:24px 8px 0 8px;position:relative}.comment-new .comment-text[data-v-67d57742]:after{content:"";position:absolute;visibility:visible;top:-16px;left:0;border:16px solid transparent;transform:rotate(-90deg);border-top:16px solid #262626}.comment-new .fixed-screen-footer[data-v-67d57742]{padding-inline:0;margin-top:8px}.comment-new .cancel-button[data-v-67d57742]{flex:0}.modal .container .body[data-v-79ba9f59]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.modal[data-v-79ba9f59]{--screen-padding-x:24px;--screen-bg-color:#191919;--footer-padding-bottom:36px;position:fixed;z-index:4;top:0;left:0;width:100%;height:100%;min-width:360px;background-color:rgba(0,0,0,.7);display:flex;will-change:backdrop-filter}.modal .container[data-v-79ba9f59]{position:relative;display:flex;flex-direction:column;width:92%;margin:auto;background-color:var(--screen-bg-color);border-radius:16px;box-shadow:0 0 0 1px #232323,2px 4px 12px rgba(0,0,0,.22);will-change:transform}@media(min-width:481px){.modal .container[data-v-79ba9f59]{width:328px}}.modal .container .header[data-v-79ba9f59]{flex-basis:32px;flex-shrink:0;color:#fff;font-size:19px;line-height:24px;font-weight:500;word-break:break-word;text-align:center;display:flex;flex-direction:column;background-color:var(--screen-bg-color);position:relative}.modal .container .header-icon[data-v-79ba9f59]{margin:0 auto 10px;width:48px;height:48px}.modal .container .header.transparent[data-v-79ba9f59]{background-color:transparent}.modal .container .body[data-v-79ba9f59]{display:flex;flex-direction:column;padding:var(--screen-padding-x);color:#babac0;word-break:break-word}.modal .container .body.without-padding-bottom[data-v-79ba9f59]{padding-bottom:0}.modal .container .close-button[data-v-79ba9f59]{position:absolute;top:4px;right:8px}.modal .cover[data-v-79ba9f59]{position:fixed;z-index:-1;inset:0}.modal.min-height .container[data-v-79ba9f59]{min-height:480px}.modal.from-bottom[data-v-79ba9f59],.modal.full-screen[data-v-79ba9f59]{--footer-padding-bottom:24px}.modal.from-bottom .container[data-v-79ba9f59],.modal.full-screen .container[data-v-79ba9f59]{width:100%;max-height:100%;margin-top:0;margin-bottom:0;overflow:hidden auto}.modal.from-bottom .header[data-v-79ba9f59],.modal.full-screen .header[data-v-79ba9f59]{position:sticky;z-index:3;top:0}.modal.full-screen[data-v-79ba9f59]{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}@media(min-width:481px){.modal.full-screen[data-v-79ba9f59]{position:absolute}}.modal.full-screen .container[data-v-79ba9f59]{height:100%;border-radius:0}.modal.from-bottom[data-v-79ba9f59]{position:absolute;align-items:end}.modal.from-bottom .container[data-v-79ba9f59]{border-bottom-left-radius:var(--screen-border-radius);border-bottom-right-radius:var(--screen-border-radius)}.modal.has-header .body[data-v-79ba9f59]{padding-top:0}.modal.dense[data-v-79ba9f59]{--screen-padding-x:8px}.modal.semi-dense[data-v-79ba9f59]{--screen-padding-x:12px}.modal.no-padding[data-v-79ba9f59]{--screen-padding-x:0}.modal.blur-bg[data-v-79ba9f59]{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal.pop-in-transition-enter-active[data-v-79ba9f59],.modal.pop-in-transition-leave-active[data-v-79ba9f59]{transition:opacity .3s}.modal.pop-in-transition-enter-active .container[data-v-79ba9f59],.modal.pop-in-transition-leave-active .container[data-v-79ba9f59]{transition:transform .3s}.modal.pop-in-transition-enter-from[data-v-79ba9f59],.modal.pop-in-transition-leave-to[data-v-79ba9f59]{opacity:0}.modal.pop-in-transition-enter-from .container[data-v-79ba9f59],.modal.pop-in-transition-leave-to .container[data-v-79ba9f59]{transform:scale(1.1)}.modal.from-bottom-transition-enter-active[data-v-79ba9f59],.modal.from-bottom-transition-leave-active[data-v-79ba9f59]{transition:opacity .3s}.modal.from-bottom-transition-enter-active .container[data-v-79ba9f59],.modal.from-bottom-transition-leave-active .container[data-v-79ba9f59]{transition:transform .3s cubic-bezier(.65,0,.35,1)}.modal.from-bottom-transition-enter-from[data-v-79ba9f59],.modal.from-bottom-transition-leave-to[data-v-79ba9f59]{opacity:0}.modal.from-bottom-transition-enter-from .container[data-v-79ba9f59],.modal.from-bottom-transition-leave-to .container[data-v-79ba9f59]{transform:translateY(70%)}.address-formatted[data-v-d647dd4e]{display:inline-flex;flex-wrap:wrap;letter-spacing:.15em}.address-formatted-chunk[data-v-d647dd4e]{flex:0 0 var(--column-width);text-align:left;white-space:nowrap}.address-formatted-chunk.align-right[data-v-d647dd4e]{text-align:right;white-space:break-spaces}.transaction-info-details-party .name[data-v-06588384],.transaction-info-details-party .wallet[data-v-06588384]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.transaction-info-details-party .copy-address[data-v-06588384]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}.transaction-info-details-party[data-v-06588384]{width:50%;padding-left:4px;padding-right:11px}.transaction-info-details-party.recipient[data-v-06588384]{padding-left:11px;padding-right:4px}.transaction-info-details-party.recipient .name[data-v-06588384],.transaction-info-details-party.recipient .wallet[data-v-06588384]{text-align:right}.transaction-info-details-party .name[data-v-06588384],.transaction-info-details-party .wallet[data-v-06588384]{display:block;margin-bottom:8px;color:#fff;text-decoration:none;white-space:nowrap;line-height:16px}.transaction-info-details-party .copy-address[data-v-06588384]{height:48px}.transaction-tag[data-v-156e7b98]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:11px;line-height:16px;padding:2px 5px;color:#787878;border:1px solid #787878;border-radius:4px;text-transform:uppercase;white-space:nowrap;width:-moz-min-content;width:min-content;-webkit-user-select:none;-moz-user-select:none;user-select:none}.transaction-tag-list[data-v-abaedd20]{display:flex;justify-content:center;align-items:center;flex-flow:row;gap:8px;margin-bottom:-8px}.transaction-tag-list.dense[data-v-abaedd20]{gap:4px;margin-bottom:0}.transaction-info .parties[data-v-a033de50]{display:flex;padding-bottom:8px}.transaction-info .parties .custom-avatar[data-v-a033de50]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:48px;border:2px solid #757575;border-radius:100px}.transaction-info .parties .icon[data-v-a033de50]{width:36px;height:36px;color:#fff}.transaction-info .parties .logo[data-v-a033de50]{color:#1161fe}.transaction-info .parties .mid[data-v-a033de50]{position:relative;width:100%}.transaction-info .parties .mid .triangle[data-v-a033de50]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:15px;height:17px;color:#757575}.transaction-info .parties .mid .line[data-v-a033de50]{height:calc(50% + 1px);border-bottom:2px solid #757575}.transaction-info .details[data-v-a033de50]{display:flex;justify-content:space-between;overflow:hidden}.details-item .label[data-v-68d052f1]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.details-item .value[data-v-68d052f1]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.details-item .value.small[data-v-68d052f1]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.details-item[data-v-68d052f1]{margin-top:12px}.details-item .label[data-v-68d052f1]{display:flex;align-items:center;margin-bottom:4px;line-height:16px;color:hsla(0,0%,100%,.5)}.details-item .label .indent[data-v-68d052f1]{margin-left:8px}.details-item .label .expand-arrow[data-v-68d052f1]{width:14px;height:14px;color:#787878;opacity:.7;margin-left:8px;transition:inherit}.details-item .value[data-v-68d052f1]{letter-spacing:.05em;color:#fff;margin-bottom:8px}.details-item .value .secondary[data-v-68d052f1]{color:#babac0;margin-left:4px;white-space:nowrap}.details-item .value.highlight[data-v-68d052f1]{color:#ff4746}.details-item.expandable>.label[data-v-68d052f1]:hover{color:hsla(0,0%,100%,.8)}.details-item.expandable>.label:hover .expand-arrow[data-v-68d052f1]{opacity:1}.details-item.expandable>.value[data-v-68d052f1]{margin-top:10px;padding:8px 12px;background:#232323;border:1px solid #2f2f2f;border-radius:6px}.details-item.expandable.expanded>.label .expand-arrow[data-v-68d052f1]{transform:scaleY(-1)}.pool-token-row .tokens[data-v-47a7c49c] .symbol{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.pool-token-row .contract-id[data-v-47a7c49c]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px;color:#babac0;letter-spacing:.07em;cursor:pointer}.pool-token-row .contract-id .icon[data-v-47a7c49c]{width:22px;height:22px}.pool-token-row .token-info[data-v-47a7c49c]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:8px;padding-top:4px}.pool-token-row .token-info .address-shortening[data-v-47a7c49c],.pool-token-row .token-info .symbol[data-v-47a7c49c]{font-weight:500}.pool-token-row .tokens[data-v-47a7c49c] .separator,.pool-token-row .tokens[data-v-47a7c49c] .symbol{color:#fff}.confirm-transaction-sign .loader[data-v-166c5fe2]{display:flex;margin:0 auto;width:56px;height:56px}.confirm-transaction-sign .subtitle[data-v-166c5fe2]{margin:8px 0;color:#babac0}.confirm-transaction-sign .subtitle.warning[data-v-166c5fe2]{color:#ffb422}.confirm-transaction-sign .subtitle .app-name[data-v-166c5fe2]{color:#fff}.confirm-transaction-sign .transaction-overview[data-v-166c5fe2]{margin-bottom:16px}.confirm-transaction-sign .reason[data-v-166c5fe2] .value{word-break:break-all;color:#ffb422}.confirm-transaction-sign .details[data-v-166c5fe2]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;gap:8px;padding:8px 0}.confirm-transaction-sign .details .details-item[data-v-166c5fe2]{margin-right:24px}.confirm-transaction-sign .pool-token-row[data-v-166c5fe2]{padding-bottom:8px}.confirm-transaction-sign .button-action-primary[data-v-166c5fe2]{display:flex}.confirm-raw-sign .warning .title[data-v-50ead23c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.confirm-raw-sign .warning .content[data-v-50ead23c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.confirm-raw-sign .overview[data-v-50ead23c]{margin:16px}.confirm-raw-sign .warning[data-v-50ead23c]{margin-block:16px;text-align:left}.confirm-raw-sign .warning .title[data-v-50ead23c]{display:flex;align-items:center;margin-bottom:4px;color:#ffb422}.confirm-raw-sign .warning .title .icon[data-v-50ead23c]{width:24px;height:24px;padding-right:4px}.confirm-raw-sign .warning .content[data-v-50ead23c]{color:#fff}.confirm-raw-sign .details-item[data-v-50ead23c]{margin-top:24px;text-align:left}.textarea-input[data-v-2d4905c2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.textarea[data-v-2d4905c2]{--base-line-height:1.4em;--size:6}.textarea-input[data-v-2d4905c2]{min-height:calc(var(--base-line-height)*var(--size));width:100%;background:transparent;border:none;padding:0;color:#fff;outline:none;word-break:break-word;line-height:var(--base-line-height);resize:none}.textarea-input.resizable[data-v-2d4905c2]{resize:both}.textarea.xs[data-v-2d4905c2]{--size:3}.textarea.sm[data-v-2d4905c2]{--size:4}.textarea.md[data-v-2d4905c2]{--size:8}.textarea.auto-height[data-v-2d4905c2]{--size:1}.donate-error h1[data-v-de37d780]{text-align:left;font-weight:400;font-size:16px;margin:23px 0}.donate-error .error-info-title[data-v-de37d780]{text-transform:uppercase;color:#787878;text-align:left;font-size:14px;margin:0 0 15px}.donate-error .error-info-content[data-v-de37d780]{color:#fff;font-size:15px;margin:0;text-align:left;font-weight:400;margin-bottom:25px}.token-container .token-amount[data-v-dca0ef5e]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:22px;line-height:24px}.token-container[data-v-dca0ef5e]{display:flex;flex-direction:column}.token-container .token-content[data-v-dca0ef5e]{--screen-padding-x:12px;display:flex;flex-direction:column;padding-inline:var(--screen-padding-x)}.token-container .top[data-v-dca0ef5e]{display:flex;flex-direction:column;text-align:center}.token-container .token-amount[data-v-dca0ef5e]{margin-top:10px;margin-bottom:20px}.token-container .token-actions[data-v-dca0ef5e]{display:flex;justify-content:center;gap:var(--gap);margin-bottom:var(--gap)}.token-container .token-router[data-v-dca0ef5e]{position:inherit;padding-inline-start:calc(var(--screen-padding-x)*-1);padding-inline-end:calc(var(--screen-padding-x)*-1)}.token-container .sticky-tabs-wrapper[data-v-dca0ef5e]{position:sticky;top:env(safe-area-inset-top);background-color:var(--screen-bg-color);padding-bottom:4px}.token-container[data-v-dca0ef5e] .filters{--buttons-height:40px;padding-top:12px;position:sticky;top:calc(var(--buttons-height) + env(safe-area-inset-top))}.details-row[data-v-1887a5f2]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;display:flex;justify-content:space-between;align-items:center;padding:8px var(--screen-padding-x)}.details-row .title[data-v-1887a5f2]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:hsla(0,0%,100%,.5)}.details-row .text[data-v-1887a5f2]{color:hsla(0,0%,100%,.75)}.token-details[data-v-b062462c]{margin-top:10px}.token-details .price .green[data-v-b062462c]{color:#00ff9d;font-weight:400}.token-details .price .red[data-v-b062462c]{color:#ff4746;font-weight:400}.token-details .link a[data-v-b062462c]{color:#babac0;text-decoration:none;display:inline-flex;align-items:center}.token-details .link a svg[data-v-b062462c]{width:22px;height:22px}.token-details .address-shortening[data-v-b062462c]{color:#babac0}.token-details .address-shortening[data-v-b062462c]:hover{color:#fff}.checkbox-container[data-v-3d62511b]{display:flex;position:relative;align-items:center;cursor:pointer;justify-content:flex-start;-webkit-user-select:none;-moz-user-select:none;user-select:none}.checkbox-container>[data-v-3d62511b]{transition:all .15s ease-in-out}.checkbox-container:hover .checkmark[data-v-3d62511b]{border-color:hsla(0,0%,100%,.5);background-color:#090909}.checkbox-container:hover .label-text[data-v-3d62511b]{color:hsla(0,0%,100%,.75)}.checkbox-container input[data-v-3d62511b]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.checkbox-container .checkmark[data-v-3d62511b]{background-color:#131313;border:1px solid hsla(0,0%,100%,.3);box-shadow:inset 1 1 4px rgba(0,0,0,.25);border-radius:4px;height:20px;width:20px;margin-right:10px;flex-shrink:0}.checkbox-container .checkmark.checked[data-v-3d62511b]{border:none;box-shadow:none;background-color:#1161fe;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath fill='%23fff' d='m15.95 7.313-7.44 7.44a.17.17 0 0 1-.236 0l-4.225-4.225a.17.17 0 0 1 0-.237l1.027-1.026a.17.17 0 0 1 .237 0l3.08 3.08 6.294-6.296a.17.17 0 0 1 .238 0l1.026 1.027a.167.167 0 0 1 0 .237'/%3E%3C/svg%3E")}.checkbox-container .checkmark.checked.disabled[data-v-3d62511b]{filter:brightness(.8)}.checkbox-container .label-text[data-v-3d62511b]{color:hsla(0,0%,100%,.5)}.checkbox-container .label-text.checked[data-v-3d62511b]{color:#fff}.button-subheader .message .heading[data-v-664f7dd3]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.button-subheader .message .description[data-v-664f7dd3]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.button-subheader[data-v-664f7dd3]{display:flex;align-items:center;width:100%;margin-bottom:16px;padding:20px 12px;border-radius:10px;color:#fff}.button-subheader .box[data-v-664f7dd3]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:16px;margin-right:auto;text-align:left}.button-subheader .message[data-v-664f7dd3]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column}.button-subheader .message .heading[data-v-664f7dd3]{line-height:150%}.button-subheader .message .description[data-v-664f7dd3]{opacity:.7}.platform-icon[data-v-18a3b1c4]{height:44px;width:40px;padding:2px 0}.platform-icon .platform-icon-image[data-v-18a3b1c4]{height:100%;margin:0 auto;transition:all .15s ease-in-out}.platform-icon .platform-icon-image.grey[data-v-18a3b1c4]{filter:grayscale(1);opacity:.8}.platform-icon .platform-icon-image.grey[data-v-18a3b1c4]:hover{filter:none;opacity:1}.platforms .footer[data-v-11c59964],.platforms .heading[data-v-11c59964]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:17px;line-height:24px}.platforms[data-v-11c59964]{font-family:IBM Plex Sans,sans-serif;font-weight:400;line-height:22px;font-size:15px;background-color:var(--screen-bg-color);word-break:break-word}.platforms .heading[data-v-11c59964]{margin-bottom:8px}.platforms .footer[data-v-11c59964]{margin-top:28px;margin-bottom:12px}.platforms .mobile-web-icons[data-v-11c59964]{display:flex;justify-content:center;align-items:center;flex-flow:row;gap:17px;padding-top:8px}.platforms .web-icons-wrapper[data-v-11c59964]{display:flex;justify-content:center;align-items:center;flex-flow:row;text-align:center;color:#babac0}.platforms .web-icons-title[data-v-11c59964]{padding-top:4px}.platforms .web-icons[data-v-11c59964]:first-child{border-right:1px solid hsla(0,0%,100%,.2)}.platforms .web-icons .web-icons-platforms[data-v-11c59964]{display:flex;justify-content:center;align-items:flex-start;flex-flow:row;gap:32px;padding-right:30px;padding-left:30px;padding-top:12px}.index .not-iframe.go[data-v-67e61e9e]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:20px;line-height:24px}.index .not-iframe.mobile[data-v-67e61e9e]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px}.index .not-iframe .heading[data-v-67e61e9e]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}.index .terms-agreement .terms-of-use[data-v-67e61e9e]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.index[data-v-67e61e9e]{--padding-top:44px;text-align:center}.index.extended-top-padding[data-v-67e61e9e]{--padding-top:64px}.index.ios-top-padding[data-v-67e61e9e]{padding-top:env(safe-area-inset-top)}.index .iframe-image[data-v-67e61e9e],.index .superhero-logo[data-v-67e61e9e]{margin-top:var(--padding-top)}.index .terms-agreement[data-v-67e61e9e]{display:flex;justify-content:center;align-items:center;flex-flow:row;margin-bottom:16px}.index .terms-agreement .terms-of-use[data-v-67e61e9e]{color:hsla(0,0%,100%,.75);text-decoration:none;margin-left:4px}.index .terms-agreement .terms-of-use[data-v-67e61e9e]:hover{color:#fff;text-decoration:underline}.index .terms-agreement .terms-of-use.agreed[data-v-67e61e9e]{color:#fff}.index .terms-agreement.mobile[data-v-67e61e9e]{margin-top:32px}.index .not-iframe[data-v-67e61e9e]{text-align:center}.index .not-iframe .superhero-logo[data-v-67e61e9e]{height:32px;margin-bottom:8px}.index .not-iframe .heading[data-v-67e61e9e]{display:flex;justify-content:center;align-items:flex-start;flex-flow:row;line-height:125%;color:#fff;margin:4px 60px 24px}.index .not-iframe .heading .tag[data-v-67e61e9e]{color:hsla(0,0%,100%,.75)}.index .not-iframe .heading .tag .receive[data-v-67e61e9e],.index .not-iframe .heading .tag .send[data-v-67e61e9e],.index .not-iframe .heading .tag .store[data-v-67e61e9e]{color:#fff}.index .not-iframe .heading .tag .aeternity-name[data-v-67e61e9e]{color:#ff2b5e}.index .not-iframe.mobile[data-v-67e61e9e]{color:#fff;max-width:80%;margin:0 auto;min-height:25vh;padding-top:30px}.index .not-iframe.go[data-v-67e61e9e]{margin-top:-36px;margin-bottom:42px}.index .not-iframe .spinner[data-v-67e61e9e]{width:256px;height:256px;color:#1161fe}.index .not-iframe .platforms[data-v-67e61e9e]{margin:0 auto;max-width:312px}.index .wallet-button-box[data-v-67e61e9e]{margin-inline:16px;padding-block:4px}.select-asset[data-v-2815dc49]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;display:flex;justify-content:center;align-items:center;flex-flow:row;padding:2px 12px;background-color:rgba(0,0,0,.3);border-radius:16px;gap:6px;color:#1161fe;white-space:nowrap;border:2px solid transparent;transition:all .12s ease-out}.select-asset .chevron-down[data-v-2815dc49]{width:8px!important;color:#fff;opacity:.75}.select-asset[data-v-2815dc49]:not(.disabled):hover{border-color:hsla(0,0%,100%,.15)}.select-asset:not(.disabled).focused[data-v-2815dc49]{background-color:hsla(0,0%,100%,.05)}.input-amount .readonly-symbol[data-v-a339de10]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.input-amount-desc[data-v-a339de10]{display:flex;justify-content:space-between;align-items:center;flex-flow:row;-webkit-user-select:none;-moz-user-select:none;user-select:none}.input-amount-desc-total[data-v-a339de10]{word-break:break-word}.focused .input-amount-desc-total[data-v-a339de10]{color:hsla(0,0%,100%,.75)}.input-amount-desc-at[data-v-a339de10]{margin-left:auto}.input-amount-asset[data-v-a339de10]{margin-right:-2px}.input-amount .readonly-symbol[data-v-a339de10]{white-space:nowrap;color:#1161fe;-webkit-user-select:none;-moz-user-select:none;user-select:none}.invite-row[data-v-9a6ba60a]{padding:1rem var(--screen-padding-x);margin:-2px calc(var(--screen-padding-x)*-1) 0;border-style:solid;border-color:#232323;border-width:2px 0;text-align:left;color:#fff;position:relative}.invite-row .invite-link[data-v-9a6ba60a]{width:100%;margin:12px 0}.invite-row .invite-link-url[data-v-9a6ba60a]{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:11px;color:#fff}.invite-row .invite-info[data-v-9a6ba60a]{font-size:13px;display:flex;align-items:center;margin-bottom:10px;color:#787878}.invite-row .invite-info .token-amount[data-v-9a6ba60a]{flex-grow:1}.invite-row .invite-info .date[data-v-9a6ba60a]{font-size:11px;color:#fff;opacity:.5}.invite-row .input-amount[data-v-9a6ba60a]{margin-bottom:var(--gap)}.invite-row .centered-buttons[data-v-9a6ba60a]{display:flex;gap:var(--gap)}.invite-page[data-v-47b6712e]{padding-inline:var(--screen-padding-x);overflow:hidden}.invite-page .section-title[data-v-47b6712e]{display:flex;align-items:center;margin:36px 0 16px;font-size:16px;text-align:left;color:#babac0;font-weight:500}.invite-page .section-title-icon[data-v-47b6712e]{width:20px;height:20px;margin-right:4px;color:#fff;opacity:.5}.invite-page .amount[data-v-47b6712e]{margin-bottom:20px}.radio-button[data-v-30c8e33a]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.radio-button.disabled[data-v-30c8e33a]{opacity:50%;cursor:not-allowed}.radio-button .input[data-v-30c8e33a]{position:absolute;top:0;left:0;visibility:hidden}.radio-button .radio-dot[data-v-30c8e33a]{position:relative;border-radius:50%;border:1px solid hsla(0,0%,100%,.5);width:20px;height:20px;background:var(--screen-bg-color);margin-right:6px;opacity:.5;flex-shrink:0}.radio-button .radio-dot[data-v-30c8e33a]:after{content:"";position:absolute;border-radius:50%;width:0;height:0;top:50%;left:50%;background:#1161fe;transition:all .15s ease-in-out;transform:translate(-50%,-50%)}.radio-button .radio-dot.checked[data-v-30c8e33a]{opacity:1}.radio-button .radio-dot.checked[data-v-30c8e33a]:after{width:14px;height:14px;opacity:1}.radio-button .radio-holder[data-v-30c8e33a]{width:100%;opacity:.5}.radio-button .radio-holder.checked[data-v-30c8e33a]{opacity:1}.language-settings .language[data-v-2f99176c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.language-settings[data-v-2f99176c]{padding-inline:var(--screen-padding-x)}.language-settings .text-description[data-v-2f99176c]{margin-bottom:16px}.language-settings .language[data-v-2f99176c]{padding:6px 0;opacity:.5}.language-settings .language.active[data-v-2f99176c]{opacity:1}.language-settings .language .language-code[data-v-2f99176c]{text-transform:uppercase}.language-settings .language .row[data-v-2f99176c]{width:100%;display:inline-flex;justify-content:flex-start;align-items:center;gap:4px}.currency-settings .currency .row .left .code[data-v-d9f35b18],.currency-settings .currency .row .left .symbol[data-v-d9f35b18]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.currency-settings .currency .row .name[data-v-d9f35b18]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.currency-settings[data-v-d9f35b18]{padding-inline:var(--screen-padding-x)}.currency-settings .options[data-v-d9f35b18]{margin-top:20px}.currency-settings .currency[data-v-d9f35b18]{padding:6px 0;font-weight:500;font-size:14px;line-height:24px}.currency-settings .currency .row[data-v-d9f35b18]{width:100%;display:inline-flex;align-items:center}.currency-settings .currency .row .left[data-v-d9f35b18]{display:inline-flex;align-items:center;width:95px}.currency-settings .currency .row .left .code[data-v-d9f35b18],.currency-settings .currency .row .left .symbol[data-v-d9f35b18]{text-transform:uppercase;padding-right:2px;color:hsla(0,0%,100%,.5)}.currency-settings .currency .row .name[data-v-d9f35b18]{color:hsla(0,0%,100%,.75)}.currency-settings .currency.active .row .left .code[data-v-d9f35b18],.currency-settings .currency.active .row .left .symbol[data-v-d9f35b18],.currency-settings .currency.active .row .name[data-v-d9f35b18]{color:#fff}.auction-tabs[data-v-a1bc958c]{padding-inline:var(--screen-padding-x)}.auction-router[data-v-a1bc958c]{top:8%}.auction-overview[data-v-ae141ce8]{display:flex;justify-content:space-between}.auction-overview .details-item[data-v-ae141ce8] .label{margin-bottom:4px}.auction-overview .details-item[data-v-ae141ce8] .value{text-align:left}.auction-overview .details-item[data-v-ae141ce8]:first-of-type{padding-right:24px}.auction-overview .details-item.end-height[data-v-ae141ce8] .value{color:#babac0}.auction-overview .details-item.end-height[data-v-ae141ce8] .secondary{color:#787878}.auction-card .name[data-v-57d51d1e]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:14px;line-height:24px}.auction-card[data-v-57d51d1e]{display:flex;flex-direction:column;align-items:center;height:184px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 360 184'%3E%3Cpath fill='url(%23a)' d='M360 48H0v80h360z'/%3E%3Cpath fill='url(%23b)' d='M112 64H32v80h80z'/%3E%3Cpath fill='url(%23c)' d='M96 88H0v96h96z'/%3E%3Cpath fill='url(%23d)' d='M0 0h360v80H0z'/%3E%3Cpath fill='url(%23e)' d='M248 16h80v80h-80z'/%3E%3Cpath fill='url(%23f)' d='M264 40h96v96h-96z'/%3E%3Cdefs%3E%3ClinearGradient id='a' x1='360' x2='9.651' y1='128' y2='69.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='112' x2='32.109' y1='144' y2='141.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='96' x2='.13' y1='184' y2='180.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='d' x1='0' x2='350.349' y1='80' y2='21.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='e' x1='248' x2='327.891' y1='96' y2='93.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='264' x2='359.87' y1='136' y2='132.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E")}.auction-card .avatar[data-v-57d51d1e]{width:48px;height:48px;box-shadow:0 0 0 8px rgba(17,97,254,.15);margin-top:36px}.auction-card .name[data-v-57d51d1e]{line-height:16px;margin-top:16px}.auction-card .auction-overview[data-v-57d51d1e]{margin-top:16px}.auction-card .help-button[data-v-57d51d1e]{align-self:flex-end;padding-top:16px;padding-right:16px;margin-bottom:-36px}.auction-bid .form[data-v-3431fc86]{padding:16px}.auction-bid .form .tx-details[data-v-3431fc86]{display:flex;padding-top:16px}.auction-bid .form .tx-details .details-item[data-v-3431fc86]{margin-right:24px}.auction-bid .form .button[data-v-3431fc86]{margin-top:16px}.account-item .address.md[data-v-4a2fe2f6],.account-item .name.md[data-v-4a2fe2f6]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-item .address.rg[data-v-4a2fe2f6],.account-item .name.rg[data-v-4a2fe2f6]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.account-item[data-v-4a2fe2f6]{display:flex;align-items:center}.account-item .avatar-wrapper[data-v-4a2fe2f6]{position:relative;display:flex;margin-right:4px}.account-item .avatar-wrapper.has-protocol-icon[data-v-4a2fe2f6]{margin-right:8px}.account-item .avatar-wrapper .protocol-icon[data-v-4a2fe2f6]{position:absolute;bottom:0;right:-4px}.account-item .address[data-v-4a2fe2f6],.account-item .name[data-v-4a2fe2f6]{text-align:left;word-break:break-all}.account-item .name[data-v-4a2fe2f6]{max-width:230px}.account-item .external-link-icon[data-v-4a2fe2f6]{flex-shrink:0;margin-top:-4px;margin-left:-4px;width:22px;height:22px}.auction-history .title[data-v-66adf79c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:17px;line-height:24px}.auction-history[data-v-66adf79c]{min-height:184px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 360 184'%3E%3Cpath fill='url(%23a)' d='M360 48H0v80h360z'/%3E%3Cpath fill='url(%23b)' d='M112 64H32v80h80z'/%3E%3Cpath fill='url(%23c)' d='M96 88H0v96h96z'/%3E%3Cpath fill='url(%23d)' d='M0 0h360v80H0z'/%3E%3Cpath fill='url(%23e)' d='M248 16h80v80h-80z'/%3E%3Cpath fill='url(%23f)' d='M264 40h96v96h-96z'/%3E%3Cdefs%3E%3ClinearGradient id='a' x1='360' x2='9.651' y1='128' y2='69.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='112' x2='32.109' y1='144' y2='141.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='96' x2='.13' y1='184' y2='180.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='d' x1='0' x2='350.349' y1='80' y2='21.851' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='.694' stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='e' x1='248' x2='327.891' y1='96' y2='93.053' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3ClinearGradient id='f' x1='264' x2='359.87' y1='136' y2='132.464' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%231161FE' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%231161FE' stop-opacity='.08'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E");background-repeat:repeat-x}.auction-history .title[data-v-66adf79c]{padding:16px 0 8px 0;text-align:center;color:#787878;display:block}.auction-history .title .name[data-v-66adf79c]{color:#1161fe}.auction-history .item[data-v-66adf79c]{margin:0 16px;padding:8px 0}.auction-history .item[data-v-66adf79c]:not(:first-of-type){border-top:1px solid rgba(17,97,254,.44)}.auction-history .item .account-item[data-v-66adf79c]{margin-top:4px}.auction-history .item .auction-overview[data-v-66adf79c]{margin-top:16px}.auction-history .item .auction-overview[data-v-66adf79c] .details-item:first-of-type{padding-right:32px}.name-row[data-v-5a99e238]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;padding:0 12px}.name-row .content[data-v-5a99e238]{display:flex;align-items:center;padding:8px 0;color:#fff;text-align:left;text-decoration:none;transition:.2s}.name-row .name-info[data-v-5a99e238]{margin-left:8px;width:100%}.register-name .message[data-v-06542595]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;margin:32px;text-align:center;color:#babac0}.register-name .btn[data-v-06542595]{margin-inline:auto}.auction-list .auction-list-content .list .name-wrapper[data-v-1442f094]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.auction-list .toolbar[data-v-1442f094]{--background:var(--screen-bg-color);--min-height:0;padding-inline:var(--screen-padding-x)}.auction-list .auction-list-content[data-v-1442f094]{--filter-top-offset:166px;display:flex;flex-direction:column}.auction-list .auction-list-content .list[data-v-1442f094]{padding:0 12px;margin-inline:calc(var(--screen-padding-x)*-1)}.auction-list .auction-list-content .list .name-wrapper[data-v-1442f094]{display:flex;justify-content:space-between;line-height:16px}.auction-list .auction-list-content .list .name-wrapper .name[data-v-1442f094]{display:flex;flex-direction:column;font-weight:700}.auction-list .auction-list-content .list .name-wrapper .expiration[data-v-1442f094]{align-self:flex-end;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#787878}.auction-list .auction-list-content .spinner[data-v-1442f094]{display:flex;width:56px;height:56px;margin:72px auto 0 auto}.auction-list .auction-list-content[data-v-1442f094] .filters{position:sticky;top:env(safe-area-inset-top);margin-left:0;margin-right:0}.more[data-v-2588bf9a]{--screen-padding-x:8px;overflow:hidden;padding-inline:var(--screen-padding-x)}.claim .chain-name-counter[data-v-49ca1149]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.claim[data-v-49ca1149]{padding-inline:var(--screen-padding-x)}.claim .chain-name[data-v-49ca1149]{margin-bottom:6px}.claim .chain-name-counter[data-v-49ca1149]{color:#787878}.claim .chain-name .aens-domain[data-v-49ca1149]{-webkit-user-select:none;-moz-user-select:none;user-select:none}.claim .auto-extend-label[data-v-49ca1149]{display:flex;align-items:center;gap:10px}.claim .explanation[data-v-49ca1149]{margin-top:10px}.claim .btn-register[data-v-49ca1149]{margin-top:20px}.name-item .collapsed .header .truncate[data-v-22a1d9de]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.name-item .collapsed .header .pending[data-v-22a1d9de]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.name-item .collapsed .header .buttons .button-plain[data-v-22a1d9de]:not(.btn-help),.name-item .expand>.details-item[data-v-22a1d9de] .value .pointers span{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.name-item .expand>.details-item[data-v-22a1d9de] .value,.name-item>span[data-v-22a1d9de]{font-family:IBM Plex Mono;font-weight:500;font-size:10px;line-height:16px}.name-item[data-v-22a1d9de]{display:flex;flex-direction:column;padding:8px var(--screen-padding-x);margin-left:calc(var(--screen-padding-x)*-1);margin-right:calc(var(--screen-padding-x)*-1);transition:.2s}.name-item[data-v-22a1d9de]:hover{background-color:#121212}.name-item .collapsed[data-v-22a1d9de]{display:flex;text-align:left;justify-content:space-between}.name-item .collapsed .pending-icon[data-v-22a1d9de]{height:32px;width:32px}.name-item .collapsed .header[data-v-22a1d9de]{flex:2;max-width:260px}.name-item .collapsed .header .pending[data-v-22a1d9de]{color:#787878}.name-item .collapsed .header .truncate[data-v-22a1d9de]{line-height:16px}.name-item .collapsed .header .buttons[data-v-22a1d9de]{display:flex;margin-top:2px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.name-item .collapsed .header .buttons .button-plain[data-v-22a1d9de]:not(.btn-help){padding:2px 8px;white-space:nowrap;color:#babac0;background:#2f2f2f;border-radius:6px;opacity:1}@media(min-width:362px)and (max-width:480px){.name-item .collapsed .header .buttons .button-plain[data-v-22a1d9de]:not(.btn-help){padding:2px 6px}}.name-item .collapsed .header .buttons .button-plain:not(.btn-help).set[data-v-22a1d9de]{background:rgba(255,180,34,.1);color:#ffb422}.name-item .collapsed .header .buttons .button-plain:not(.btn-help).edit[data-v-22a1d9de]{background:rgba(17,97,254,.15);color:#1161fe}.name-item .collapsed .header .buttons .button-plain[data-v-22a1d9de]:not(.btn-help):not(:last-of-type){margin-right:4px}.name-item .collapsed .button-plain[data-v-22a1d9de]{align-self:flex-start;flex-basis:24px}.name-item .collapsed .button-plain .icon[data-v-22a1d9de]{width:14px;color:#fff;opacity:.44}.name-item .collapsed .button-plain .icon.hidden[data-v-22a1d9de]{display:none}.name-item .collapsed .button-plain .icon.rotated[data-v-22a1d9de]{transform:rotate(180deg)}.name-item .expand[data-v-22a1d9de]{display:flex;flex-direction:column}.name-item .expand .input-address[data-v-22a1d9de]{margin:8px 0}.name-item .expand .input-address-icon[data-v-22a1d9de]{width:24px;height:24px;margin:-4px 0}.name-item .expand .details-item[data-v-22a1d9de] .value{color:#babac0}.name-item .expand>.details-item[data-v-22a1d9de] .value{letter-spacing:0}.name-item .expand>.details-item[data-v-22a1d9de] .value .pointers{display:flex}.name-item .expand>.details-item[data-v-22a1d9de] .value .pointers span{margin-right:4px;color:#787878}.name-item .expand .heights[data-v-22a1d9de]{display:flex;flex-direction:row}.name-item .expand .heights .details-item[data-v-22a1d9de]{flex:1}.name-item .expand .heights .details-item[data-v-22a1d9de] .value .secondary{color:#787878;margin-left:-2px}.name-item .expand .heights .details-item[data-v-22a1d9de]:first-of-type{margin-right:16px}.name-item>span[data-v-22a1d9de]{margin-top:4px;color:#babac0}.names-list[data-v-a49c9f7e]{padding:4px 12px 0 12px}.names-list .name-item[data-v-a49c9f7e]{margin-top:1px}.names-list .spinner[data-v-a49c9f7e]{display:flex;width:56px;height:56px;margin:72px auto 0 auto}.not-found .title[data-v-b270b9c2]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:22px;line-height:32px}.not-found .description[data-v-b270b9c2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.not-found[data-v-b270b9c2]{text-align:center;display:flex;flex-direction:column;align-items:center;height:auto;padding:0 16px}.not-found .image[data-v-b270b9c2]{margin-top:88px;width:156px}.not-found .title[data-v-b270b9c2]{margin-top:16px}.not-found .description[data-v-b270b9c2]{margin-top:8px;margin-bottom:32px;opacity:.85}.not-found .button-wrapper[data-v-b270b9c2]{width:100%}.not-found .button[data-v-b270b9c2]{width:100%;margin-bottom:16px}.not-found .icon[data-v-b270b9c2]{margin-right:4px;width:20px;height:20px}.notification-item .title[data-v-038ccc36]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.notification-item .external-link-button[data-v-038ccc36]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:13px;line-height:16px}.notification-item .message[data-v-038ccc36]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:13px;line-height:16px}.notification-item .status-and-date .date[data-v-038ccc36]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px}.notification-item .address[data-v-038ccc36]{font-family:IBM Plex Mono;font-weight:500;font-size:15px;line-height:24px}.notification-item[data-v-038ccc36]{padding:8px 16px;display:grid;row-gap:2px;grid-template-columns:48px auto;border:none;outline:none;text-decoration:none;color:#fff;cursor:pointer}.notification-item[data-v-038ccc36]:hover{background-color:#090909}.notification-item .content[data-v-038ccc36]{overflow:hidden}.notification-item .status-and-date[data-v-038ccc36]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;grid-column-start:2;gap:4px}.notification-item .status-and-date .unread-dot[data-v-038ccc36]{width:8px;height:8px;border-radius:8px;background-color:#ff4746}.notification-item .status-and-date .date[data-v-038ccc36]{color:hsla(0,0%,100%,.5)}.notification-item .notification-avatar[data-v-038ccc36]{margin-top:6px;margin-left:4px}.notification-item .notification-icon[data-v-038ccc36]{margin-top:3px;width:40px;height:40px}.notification-item .notification-icon-backup[data-v-038ccc36]{margin-top:12px;width:40px;height:40px}.notification-item .message[data-v-038ccc36]{line-height:20px;color:hsla(0,0%,100%,.85)}.notification-item .message[data-v-038ccc36]:first-letter{text-transform:uppercase}.notification-item .address[data-v-038ccc36]{letter-spacing:.07em}.notification-item .redirect-button[data-v-038ccc36]{margin-top:10px}.notification-item .external-link-button[data-v-038ccc36]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;color:#fff;margin-top:6px}.notification-item .external-link-button .external-link-icon[data-v-038ccc36]{width:24px;height:24px}.notifications .empty-list-message[data-v-29c48dac]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.notifications[data-v-29c48dac]{position:relative;padding:0}.notifications .empty-list-message[data-v-29c48dac]{max-width:180px;margin-top:56px;margin-inline:auto;text-align:center;opacity:.75}.switch-button .label[data-v-87c8d2dc]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.switch-button[data-v-87c8d2dc]{width:100%;display:inline-flex;justify-content:space-between;align-items:center}.switch-button.disabled[data-v-87c8d2dc]{opacity:.75}.switch-button .label[data-v-87c8d2dc]{color:hsla(0,0%,100%,.5)}.switch-button .switch[data-v-87c8d2dc]{position:relative;display:inline-block;width:36px;height:20px}.switch-button .switch input[data-v-87c8d2dc]{opacity:0;width:0;height:0}.switch-button .switch input:checked+.slider[data-v-87c8d2dc]{background-color:#1161fe}.switch-button .switch input:checked+.slider[data-v-87c8d2dc]:before{transform:translateX(16px)}.switch-button .switch .slider[data-v-87c8d2dc]{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:hsla(0,0%,100%,.15);transition:.4s}.switch-button .switch .slider[data-v-87c8d2dc]:before{position:absolute;content:"";height:16px;width:16px;left:2px;bottom:2px;background-color:hsla(0,0%,100%,.75);transition:.4s}.switch-button .switch .slider.round[data-v-87c8d2dc]{border-radius:12px}.switch-button .switch .slider.round[data-v-87c8d2dc]:before{border-radius:50%}.switch-button.active .label[data-v-87c8d2dc]{color:#fff}.switch-button.active .switch .slider[data-v-87c8d2dc]:before{background-color:#fff}.notification-settings[data-v-bacfd880]{padding-inline:var(--screen-padding-x)}.notification-settings .switches[data-v-bacfd880]{margin-top:20px}.notification-settings .switches .switch-button[data-v-bacfd880]{margin-bottom:12px}.errors-log-settings[data-v-7d9261ee]{padding-inline:var(--screen-padding-x)}.errors-log-settings .options[data-v-7d9261ee]{margin-top:20px}.permissions-settings[data-v-cd8a66b0]{padding-inline:var(--screen-padding-x)}.permissions-settings .hosts[data-v-cd8a66b0]{margin-bottom:26px}.permissions-settings .hosts .host[data-v-cd8a66b0]{margin:8px 0}.permission-manager[data-v-51e00354]{--screen-padding-x:14px;padding-inline:var(--screen-padding-x);color:#fff}.permission-manager .inputs[data-v-51e00354]{margin-bottom:32px}.permission-manager .permission-row[data-v-51e00354]{margin:10px 0}.permission-manager .permission-row.switch[data-v-51e00354]{margin-bottom:0;padding-top:3px;padding-right:5px}.permission-manager .transaction-sign-limit .transaction-limit-input[data-v-51e00354]{margin-bottom:16px}.permission-manager .transaction-sign-limit .transaction-limit-amount[data-v-51e00354]{justify-content:space-between;width:100%}.permission-manager .bottom[data-v-51e00354]{padding-top:38px;padding-bottom:16px}.permission-manager .bottom .actions[data-v-51e00354]{width:100%;display:flex;padding-bottom:12px;gap:12px}.permission-manager .bottom .actions .confirm[data-v-51e00354]{flex:1.8}.connect .permissions .title[data-v-266c673b],.connect .subtitle[data-v-266c673b]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.connect .permissions .description[data-v-266c673b]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.connect .transaction-info[data-v-266c673b]{margin-bottom:16px}.connect .subtitle[data-v-266c673b]{margin-top:24px;margin-bottom:16px;color:#babac0;text-align:center}.connect .subtitle .app-name[data-v-266c673b]{color:#fff}.connect .permissions[data-v-266c673b]{margin:16px 0}.connect .permissions .title[data-v-266c673b]{display:flex;align-items:center;padding-bottom:4px;color:#787878}.connect .permissions .title .icon[data-v-266c673b]{width:24px;height:24px;color:#00ff9d;padding-right:4px}.connect .permissions .description[data-v-266c673b]{display:block;padding-bottom:16px;color:#fff;text-align:left}.account-list .permissions .title[data-v-eb792a74],.account-list .subtitle[data-v-eb792a74]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.account-list .permissions .description[data-v-eb792a74]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.account-list .transaction-info[data-v-eb792a74]{margin-bottom:16px}.account-list .subtitle[data-v-eb792a74]{margin-top:24px;margin-bottom:16px;color:#babac0;text-align:center}.account-list .subtitle .app-name[data-v-eb792a74]{color:#fff}.account-list .permissions[data-v-eb792a74]{margin:16px 0}.account-list .permissions .title[data-v-eb792a74]{display:flex;align-items:center;padding-bottom:4px;color:#787878}.account-list .permissions .title .icon[data-v-eb792a74]{width:24px;height:24px;color:#00ff9d;padding-right:4px}.account-list .permissions .description[data-v-eb792a74]{display:block;padding-bottom:16px;color:#fff;text-align:left}.message-sign .subtitle[data-v-cd79f6b6]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;margin-top:28px;margin-bottom:16px;color:#babac0;text-align:center}.message-sign .subtitle .app-name[data-v-cd79f6b6]{color:#fff}.message-sign .message-text[data-v-cd79f6b6]{margin-top:16px}.privacy-policy[data-v-aef7a50c]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px;padding:0 16px;word-break:break-word;line-height:20px;color:hsla(0,0%,100%,.85)}.privacy-policy .link-button[data-v-aef7a50c]{display:inline}.privacy-policy ol[data-v-aef7a50c]{list-style:upper-roman;padding:10px}.privacy-policy ol ol[data-v-aef7a50c]{list-style-position:inside;padding:0}.privacy-policy ol ul[data-v-aef7a50c]{padding-left:20px}.privacy-policy ol li[data-v-aef7a50c]{margin-bottom:20px;margin-left:10px}.privacy-policy ol ol li[data-v-aef7a50c],.privacy-policy ol ul li[data-v-aef7a50c]{margin:16px 0 16px 3px}.privacy-policy ol ol.download-options[data-v-aef7a50c],.privacy-policy ol ul.download-options[data-v-aef7a50c]{list-style-type:decimal}.privacy-policy ol ol.sharing-terms[data-v-aef7a50c],.privacy-policy ol ul.sharing-terms[data-v-aef7a50c]{list-style-type:lower-roman}.info-box[data-v-13169d05]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;align-items:center;margin-top:10px;padding:8px 12px;border-radius:4px;line-height:19px}.info-box.default[data-v-13169d05]{background-color:hsla(0,0%,100%,.08);color:hsla(0,0%,100%,.75)}.info-box.success[data-v-13169d05]{background-color:rgba(0,211,161,.15);color:#00d3a1}.info-box.danger[data-v-13169d05]{background-color:rgba(255,71,70,.15);color:#ff4746}.info-box.warning[data-v-13169d05]{background-color:rgba(255,180,34,.15);color:#ffb422}.url-status[data-v-7e3c0162]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px;display:flex;align-items:center}.url-status.alert[data-v-7e3c0162],.url-status.blacklisted[data-v-7e3c0162],.url-status.critical[data-v-7e3c0162]{color:#ff4746}.url-status.not-secure[data-v-7e3c0162],.url-status.not-verified[data-v-7e3c0162],.url-status.warning[data-v-7e3c0162]{color:#ffb422}.url-status.help[data-v-7e3c0162],.url-status.info[data-v-7e3c0162]{color:#1161fe}.url-status.success[data-v-7e3c0162],.url-status.verified[data-v-7e3c0162]{color:#00d3a1}.url-status .title[data-v-7e3c0162]{margin-right:8px}.url-status .icon-link[data-v-7e3c0162]{color:inherit;display:inline-block;line-height:1}.url-status .icon-link .icon[data-v-7e3c0162]{width:22px;height:22px;cursor:pointer}.retip .url-info .url[data-v-69aca2f2]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.retip[data-v-69aca2f2]{padding:16px}.retip .url-info[data-v-69aca2f2]{margin-block:30px 20px}.retip .url-info .url[data-v-69aca2f2]{display:block;margin-bottom:2px;overflow-wrap:anywhere;line-height:1.4em;color:#fff;text-decoration:none}.retip .button-wrapper[data-v-69aca2f2]{display:flex;gap:var(--gap)}.seed-phrase-settings[data-v-2062bb15]{padding-inline:var(--screen-padding-x)}.seed-phrase-settings .white-text[data-v-2062bb15]{color:#fff}.seed-phrase-settings .button[data-v-2062bb15]{margin-top:22px}.card-mnemonic[data-v-e74c1a8c]{background:hsla(0,0%,100%,.15);border:2px solid hsla(0,0%,100%,.1);border-radius:16px;padding:12px}.seed-phrase-details .mnemonics .mnemonics-text[data-v-2f6603ef]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.seed-phrase-details[data-v-2f6603ef]{padding-inline:var(--screen-padding-x)}.seed-phrase-details .mnemonics[data-v-2f6603ef]{margin-bottom:18px}.seed-phrase-details .mnemonics .mnemonics-text[data-v-2f6603ef]{letter-spacing:.1em;line-height:32px;color:#fff;text-align:left;margin-bottom:12px}.seed-phrase-details .mnemonics .copy-btn[data-v-2f6603ef]{margin:0 auto;min-width:210px}.seed-phrase-details .buttons[data-v-2f6603ef]{display:flex;flex-direction:column;gap:var(--gap);margin-top:20px}.seed-phrase-notification[data-v-53556f6a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px;border:2px solid #00d3a1;border-radius:16px;background:rgba(0,0,0,.85);display:flex;flex-direction:column;justify-content:center;align-items:center;color:#00d3a1}.seed-phrase-notification.error[data-v-53556f6a]{border-color:#ff4746;color:#ff4746}.seed-phrase-notification .text[data-v-53556f6a]{padding:16px;text-align:center}.seed-phrase-notification .icon-wrapper .icon[data-v-53556f6a],.seed-phrase-notification .icon-wrapper[data-v-53556f6a]{width:40px;height:40px}.seed-phrase-badge[data-v-6c333003]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:16px;line-height:24px;display:inline-flex;align-items:center;height:30px;border:1px solid hsla(0,0%,100%,.44);border-radius:4px;padding:4px 6px;margin-right:4px;margin-bottom:8px;color:#fff;background-color:#000;cursor:pointer;letter-spacing:.1rem;line-height:100%}.seed-phrase-badge.selected[data-v-6c333003]{opacity:.44;cursor:unset;background:transparent;border-color:#babac0;color:#fff}.seed-phrase-badge.editable[data-v-6c333003]{background:rgba(0,0,0,.25);border:none}.seed-phrase-badge.editable .close-icon[data-v-6c333003]{color:hsla(0,0%,100%,.44);width:24px;height:24px}.seed-phrase-verify-settings .title[data-v-25d35038]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:18px;line-height:18px}.seed-phrase-verify-settings[data-v-25d35038]{position:relative}.seed-phrase-verify-settings-body[data-v-25d35038]{padding:var(--screen-padding-x)}.seed-phrase-verify-settings .title[data-v-25d35038]{color:#fff;margin-bottom:18px;text-align:center}.seed-phrase-verify-settings .source-phrases[data-v-25d35038]{margin-top:18px}.seed-phrase-verify-settings .selected-phrases[data-v-25d35038]{position:relative;margin-top:18px}.seed-phrase-verify-settings .selected-phrases .selected-phrases-list[data-v-25d35038]{min-height:180px}.seed-phrase-verify-settings .selected-phrases .selected-phrases-notification[data-v-25d35038]{position:absolute;z-index:1;inset:0}.settings[data-v-e9e78210]{--screen-padding-x:8px;overflow:hidden;padding-inline:var(--screen-padding-x)}.accordion-item[data-v-77e13361]{margin-bottom:8px}.accordion-item .accordion-label[data-v-77e13361]{display:flex;align-items:center;margin-block:5px;cursor:pointer}.accordion-item .accordion-label .accordion-label-chevron[data-v-77e13361]{width:14px;height:14px;margin-right:8px;color:#9e9e9e;transition:.3s}.accordion-item .accordion-label .accordion-label-chevron[data-v-77e13361]:not(.rotated){transform:rotate(-90deg)}.accordion-item .accordion-label .accordion-label-text[data-v-77e13361]{font-size:14px;font-weight:500;text-transform:uppercase;color:#00ff9d}.terms-of-service h1[data-v-6eec62a2]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px}.terms-of-service[data-v-6eec62a2]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px;padding:0 16px;word-break:break-word;line-height:20px;color:hsla(0,0%,100%,.85)}.terms-of-service .italic[data-v-6eec62a2]{font-style:italic}.terms-of-service .underline[data-v-6eec62a2]{text-decoration:underline}.terms-of-service .bolder[data-v-6eec62a2]{font-weight:700}.terms-of-service h1[data-v-6eec62a2]{margin:20px;text-align:center}.terms-of-service ul[data-v-6eec62a2]{margin-bottom:8px;padding-left:20px}.terms-of-service .link-button[data-v-6eec62a2]{display:inline}.tips-claim[data-v-1e037461]{padding-inline:var(--screen-padding-x)}.tips-claim .header[data-v-1e037461]{margin:20px 0 24px 0;display:flex}.tips-claim .header .help-button[data-v-1e037461]{margin-left:8px}.tips-claim .header .help-button[data-v-1e037461] .icon{width:32px;height:32px}.tips-claim .input-field[data-v-1e037461]{margin:20px 0}.payload .payload-text[data-v-30e23ae8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.payload[data-v-30e23ae8]{text-align:left;width:100%}.payload .payload-header[data-v-30e23ae8]{display:flex;justify-content:space-between;margin-bottom:4px}.payload .payload-text[data-v-30e23ae8]{color:#fff;opacity:.85}.dialog[data-v-5b9d82eb]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:12px;line-height:16px;position:relative;z-index:1;display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:10px 8px;border-radius:8px;color:hsla(0,0%,100%,.5);background-color:#2b2b2b}.dialog[data-v-5b9d82eb]:after{content:"";position:absolute;z-index:-1;width:8px;height:8px;top:50%;left:-4px;transform:translateY(-50%) rotate(45deg);background-color:#2b2b2b}.dialog.dense[data-v-5b9d82eb]{padding:2px 4px;border-radius:4px;letter-spacing:0}.dialog.dense[data-v-5b9d82eb]:after{left:-3px}.dialog.bottom[data-v-5b9d82eb]:after{top:auto;left:50%;bottom:-8px}.dialog.bottom.dense[data-v-5b9d82eb]:after{left:40%}.transaction-multisig-consensus .consensus-label .label[data-v-2ceebdf7]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.transaction-multisig-consensus[data-v-2ceebdf7]{width:100%}.transaction-multisig-consensus .consensus-label[data-v-2ceebdf7]{margin-bottom:20px}.transaction-multisig-consensus .consensus-label .label[data-v-2ceebdf7]{display:flex;align-items:center;margin-bottom:4px;line-height:16px;color:hsla(0,0%,100%,.5)}.transaction-multisig-consensus .consensus-label .label .confirmations-count[data-v-2ceebdf7]{padding-left:4px;color:hsla(0,0%,100%,.75)}.transaction-multisig-consensus .consensus-label .btn-help[data-v-2ceebdf7]{margin-left:4px}.transaction-multisig-consensus .consensus .signers .signer[data-v-2ceebdf7]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:4px;margin-bottom:6px}.transaction-multisig-consensus .consensus .signers .signer .check-icon[data-v-2ceebdf7],.transaction-multisig-consensus .consensus .signers .signer .close-icon[data-v-2ceebdf7]{width:20px;height:20px;margin-left:20px;margin-right:4px;opacity:.5}.transaction-multisig-consensus .consensus .signers .signer .check-icon.active[data-v-2ceebdf7],.transaction-multisig-consensus .consensus .signers .signer .close-icon.active[data-v-2ceebdf7]{color:#00ff9d;opacity:1}.transaction-multisig-consensus .consensus .signers .signer .close-icon[data-v-2ceebdf7]{color:#ff4746;opacity:1}.multisig-proposal-details[data-v-59015a73]{display:flex;flex-direction:column}.multisig-proposal-details .spinner[data-v-59015a73]{align-self:center;width:56px;height:56px;flex-grow:1;display:flex;justify-content:center;align-items:center}.multisig-proposal-details .pending-icon[data-v-59015a73]{width:16px;height:16px}.multisig-proposal-details .header[data-v-59015a73]{display:flex;justify-content:center;align-items:center;flex-flow:column;background-color:#141414;min-height:42px;padding:14px;position:sticky;top:0;z-index:3}@media(min-width:362px)and (max-width:480px){.multisig-proposal-details .header[data-v-59015a73]{width:100%}}.multisig-proposal-details .span-3-columns[data-v-59015a73]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:row;-moz-column-gap:24px;column-gap:24px}.multisig-proposal-details .content[data-v-59015a73]{background-color:#191919;padding-bottom:120px}.multisig-proposal-details .content .transaction-overview[data-v-59015a73]{padding:16px 12px 8px}.multisig-proposal-details .content .receiving-address[data-v-59015a73]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:8px}.multisig-proposal-details .content .data-grid[data-v-59015a73]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;-moz-column-gap:24px;column-gap:24px;row-gap:8px;padding:8px var(--screen-padding-x)}.multisig-proposal-details .content .data-grid .tip-url .copy-text[data-v-59015a73],.multisig-proposal-details .content .data-grid .tip-url[data-v-59015a73]{width:100%}.multisig-proposal-details .content .data-grid .tip-url .link-button[data-v-59015a73]{display:block}.multisig-proposal-details .content .explorer[data-v-59015a73]{height:38px;padding-inline:16px;display:flex;align-items:center}.multisig-proposal-details .details-item[data-v-59015a73] .label{white-space:nowrap}.multisig-proposal-details .reason[data-v-59015a73] .value{color:#ffb422}.multisig-proposal-details .row[data-v-59015a73]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:4px}.multisig-proposal-details .bottom-buttons[data-v-59015a73]{padding:var(--screen-padding-x);position:absolute;bottom:0;left:0;right:0;background:linear-gradient(180deg,rgba(25,25,25,0),rgba(25,25,25,.8) 43.08%,rgba(25,25,25,.9) 90.79%)}.multisig-proposal-details .bottom-buttons .row[data-v-59015a73]{gap:8px;padding-bottom:8px}.reset-wallet-settings[data-v-11f9ae84]{padding-inline:var(--screen-padding-x)}.reset-wallet-settings .reset-wallet-button[data-v-11f9ae84]{margin-top:34px}.network-row .name-and-actions .name[data-v-f4fc97a8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.network-row .network-details .url-label[data-v-f4fc97a8]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.network-row .network-details[data-v-f4fc97a8]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.network-row[data-v-f4fc97a8]{margin-bottom:12px}.network-row.inactive[data-v-f4fc97a8]{opacity:.5}.network-row .name-and-actions[data-v-f4fc97a8]{display:flex;justify-content:space-between}.network-row .name-and-actions .name[data-v-f4fc97a8]{margin:0}.network-row .name-and-actions .actions[data-v-f4fc97a8]{display:flex;justify-content:flex-end;align-items:center;flex-flow:row;gap:4px;flex:1}.network-row .network-details[data-v-f4fc97a8]{margin:0 0 0 26px;border-spacing:0}.network-row .network-details td[data-v-f4fc97a8]{padding:0}.network-row .network-details .url-label[data-v-f4fc97a8]{padding-right:8px;opacity:.6;text-transform:capitalize;-webkit-user-select:none;-moz-user-select:none;user-select:none}.networks[data-v-00a35ffe]{padding-inline:var(--screen-padding-x)}.networks .networks-list[data-v-00a35ffe]{margin-top:20px}.networks .add-custom-network[data-v-00a35ffe]{margin-block:20px}.network-form .name-characters-left[data-v-e89c9e08]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.network-form[data-v-e89c9e08]{margin:16px var(--screen-padding-x)}.network-form .name-characters-left[data-v-e89c9e08]{opacity:.75}.network-form .invalid-form-message[data-v-e89c9e08]{margin-top:30px}.network-form .cancel-button[data-v-e89c9e08]{flex:0;padding-inline:32px}.network-form .button-wrapper[data-v-e89c9e08]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;margin-top:35px;margin-bottom:10px;gap:8px}.authorized-accounts .count-value[data-v-1229a01e]{font-family:IBM Plex Sans,sans-serif;font-weight:700;font-size:14px;line-height:24px}.authorized-accounts .account-row[data-v-1229a01e]{display:flex;align-items:center}.authorized-accounts .external-link[data-v-1229a01e]{margin-left:7px;width:22px;height:22px;opacity:.85}.authorized-accounts .account-list[data-v-1229a01e]{display:flex;flex-direction:column;gap:8px;width:100%;min-width:154px}.authorized-accounts .count-value[data-v-1229a01e]{line-height:19px}.authorized-accounts .dialog[data-v-1229a01e]{padding:4px;border-radius:4px;margin-left:9px}.multisig-details[data-v-170ee221]{padding:0 12px;display:flex;flex-direction:column;gap:8px}.multisig-details .address-row[data-v-170ee221]{display:flex;align-items:center;gap:8px}.multisig-details .text-address[data-v-170ee221]{color:#fff}.multisig-details .row[data-v-170ee221]{display:flex;gap:24px}.multisig-details .explorer-link[data-v-170ee221]{color:hsla(0,0%,100%,.75);margin-block:4px}.multisig-details .explorer-link .external-icon[data-v-170ee221]{opacity:1;color:hsla(0,0%,100%,.75);width:24px;height:24px}.multisig-details .explorer-link[data-v-170ee221]:active,.multisig-details .explorer-link[data-v-170ee221]:hover{color:#fff}.apps-browser-header .title .text[data-v-639ab793]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.apps-browser-header .title .host[data-v-639ab793]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.apps-browser-header[data-v-639ab793]{--header-height:40px;position:sticky;display:flex;align-items:center;justify-content:space-between;top:0;z-index:2;height:calc(var(--header-height) + env(safe-area-inset-top));background-color:var(--screen-bg-color);padding:env(safe-area-inset-top) 8px 0 8px;width:100%}@media(min-width:362px)and (max-width:480px){.apps-browser-header[data-v-639ab793]{display:flex;justify-content:space-between;width:100%}}.apps-browser-header .left[data-v-639ab793]{display:flex;gap:4px;align-items:center}.apps-browser-header .left .icon-btn[data-v-639ab793]{--size:20px;--icon-opacity:0.5;width:32px;height:32px;transform:rotate(180deg)}.apps-browser-header .right[data-v-639ab793]{display:flex;justify-content:flex-end;gap:4px}.apps-browser-header .title .text[data-v-639ab793]{padding:0 8px;display:flex;justify-content:center;white-space:nowrap;line-height:24px;color:#fff}.apps-browser-header .title .host[data-v-639ab793]{display:flex;align-items:center;gap:2px;color:#fff}.apps-browser-header .title .host .secure-lock[data-v-639ab793]{height:17px;width:17px;opacity:.75}.apps-browser-list-item[data-v-4e0231c6]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;margin-top:4px}.apps-browser-list-item[data-v-4e0231c6]:hover{cursor:pointer}.apps-browser-list-item:hover .app-image-wrapper[data-v-4e0231c6]{background:#212121}.apps-browser-list-item:hover .app-image[data-v-4e0231c6],.apps-browser-list-item:hover .app-title[data-v-4e0231c6]{opacity:1}.apps-browser-list-item .app-image-wrapper[data-v-4e0231c6]{width:88px;height:88px;display:flex;justify-content:center;align-items:center;background:#262626;border-radius:10px}.apps-browser-list-item .app-image[data-v-4e0231c6]{width:40px;height:40px;opacity:.85}.apps-browser-list-item .app-title[data-v-4e0231c6]{padding:4px 8px;font-size:12px;line-height:16px;text-align:center;color:#fff;opacity:.7}.apps-browser-history-list-item .app-title[data-v-bd95fcd4]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.apps-browser-history-list-item .app-url[data-v-bd95fcd4]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:12px;line-height:16px}.apps-browser-history-list-item[data-v-bd95fcd4]{display:flex;flex-direction:row;align-items:flex-start;justify-content:center;width:100%;height:100%;margin:4px 0;cursor:pointer}.apps-browser-history-list-item.no-title[data-v-bd95fcd4]{align-items:center}.apps-browser-history-list-item:hover .app-title[data-v-bd95fcd4]{opacity:.7}.apps-browser-history-list-item:hover .app-url[data-v-bd95fcd4]{opacity:.5}.apps-browser-history-list-item .app-image-wrapper[data-v-bd95fcd4]{margin-right:6px}.apps-browser-history-list-item .app-image-wrapper .app-image[data-v-bd95fcd4]{width:22px;height:22px}.apps-browser-history-list-item .app-image-wrapper .app-image.default[data-v-bd95fcd4]{opacity:.5}.apps-browser-history-list-item .app-info[data-v-bd95fcd4]{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;flex:1;gap:4px;color:#fff}.apps-browser-history-list-item .app-title[data-v-bd95fcd4]{line-height:16px;opacity:1}.apps-browser-history-list-item .app-url[data-v-bd95fcd4]{opacity:.7}.apps-browser-history .apps-browser-history-title[data-v-46fe5ab0]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:16px;line-height:16px}.apps-browser-history[data-v-46fe5ab0]{margin-top:24px;padding:0 16px}.apps-browser-history .apps-browser-history-title[data-v-46fe5ab0]{opacity:.5;color:#fff;line-height:24px}.apps-browser-history .apps-browser-list[data-v-46fe5ab0]{display:flex;flex-direction:column;padding-top:8px;padding-bottom:16px;gap:8px}.apps-browser .apps-browser-popular-apps[data-v-1a03c862]{font-family:IBM Plex Sans,sans-serif;font-weight:600;font-size:16px;line-height:16px}.apps-browser[data-v-1a03c862]{height:100%}.apps-browser.app-selected[data-v-1a03c862]{height:100vh;overflow:hidden}@media(min-width:481px){.apps-browser.app-selected[data-v-1a03c862]{height:600px}}.apps-browser .input-url[data-v-1a03c862]{margin:16px 8px}.apps-browser .input-url .icon[data-v-1a03c862]{width:20px!important;height:20px!important;margin:4px}.apps-browser .apps-browser-list[data-v-1a03c862]{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;align-items:flex-start;padding-top:8px}.apps-browser .apps-browser-popular-apps[data-v-1a03c862]{margin-left:12px;margin-bottom:8px;opacity:.5;color:#fff;line-height:24px}.apps-browser .apps-browser-iframe[data-v-1a03c862]{--header-height:40px;width:100%;height:100%;overflow:hidden;border:none;margin-top:calc((var(--header-height) + env(safe-area-inset-top))*-1);padding-top:calc(var(--header-height) + env(safe-area-inset-top))}.transaction-reverted-status .status-wrapper[data-v-e674478a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.transaction-reverted-status .revert-info[data-v-e674478a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.transaction-reverted-status[data-v-e674478a]{width:100%;padding:10px 16px 16px}.transaction-reverted-status .status-wrapper[data-v-e674478a]{display:flex;justify-content:center;align-items:center;flex-flow:row;letter-spacing:.05em;color:#ffb422}.transaction-reverted-status .status-wrapper[data-v-e674478a]:after,.transaction-reverted-status .status-wrapper[data-v-e674478a]:before{content:"";width:100%;height:1px;background:rgba(255,180,34,.44)}.transaction-reverted-status .status-wrapper .icon[data-v-e674478a]{width:20px;height:20px;margin-right:2px}.transaction-reverted-status .status-wrapper .text-wrapper[data-v-e674478a]{display:flex;justify-content:center;align-items:center;flex-flow:row;margin-inline:3px}.transaction-reverted-status .revert-info[data-v-e674478a]{line-height:19px;margin-top:10px;color:#babac0;text-align:center}.transaction-details-base .content .explorer .link-button[data-v-173f98fe]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.transaction-details-base[data-v-173f98fe]{display:flex;flex-direction:column}.transaction-details-base .pending-icon[data-v-173f98fe]{width:16px;height:16px}.transaction-details-base .header[data-v-173f98fe]{display:flex;justify-content:center;align-items:center;flex-flow:column;min-height:73px;position:static}@media(min-width:362px)and (max-width:480px){.transaction-details-base .header[data-v-173f98fe]{width:100%}}.transaction-details-base .span-3-columns[data-v-173f98fe]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:row;-moz-column-gap:24px;column-gap:24px}.transaction-details-base .content[data-v-173f98fe]{background-color:#191919}.transaction-details-base .content .transaction-overview[data-v-173f98fe]{padding:16px 12px 8px}.transaction-details-base .content .pool-tokens.reverse[data-v-173f98fe]{flex-direction:column-reverse}.transaction-details-base .content .data-grid[data-v-173f98fe]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;-moz-column-gap:24px;column-gap:24px;row-gap:8px;padding:8px 16px}.transaction-details-base .content .explorer[data-v-173f98fe]{height:38px;padding-inline:16px;display:flex;align-items:center}.transaction-details-base .content .explorer .link-button[data-v-173f98fe]{text-decoration:none;color:hsla(0,0%,100%,.75)}.transaction-details-base .content .explorer .link-button svg[data-v-173f98fe]{opacity:1;color:hsla(0,0%,100%,.75);width:24px;height:24px}.transaction-details-base .content .explorer .link-button[data-v-173f98fe]:hover{color:#fff;text-decoration:underline}.transaction-details-base .content .explorer .link-button:hover svg[data-v-173f98fe]{color:#fff}.transaction-details-base .details-item[data-v-173f98fe] .label{white-space:nowrap}.transaction-details-base .reason[data-v-173f98fe] .value{word-break:break-all;color:#ffb422}.swap-rates .rate .price[data-v-42b180dd]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.swap-rates[data-v-42b180dd]{width:100%}.swap-rates .rate[data-v-42b180dd]{padding-bottom:6px;width:100%;display:inline-flex;justify-content:space-between;align-items:center}.swap-rates .rate .price[data-v-42b180dd]{padding-right:4px}.swap-rates .rate div[data-v-42b180dd]{display:inline-flex;align-items:center}.swap-route .swap-steps .swap-steps-item .step-fee[data-v-17e1d96a]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:13px;line-height:16px}.swap-route .swap-steps[data-v-17e1d96a]{display:flex;flex-wrap:wrap;gap:4px;padding-top:2px;overflow:hidden}.swap-route .swap-steps .swap-steps-item[data-v-17e1d96a]{position:relative;display:flex;gap:4px;align-items:center;height:24px}.swap-route .swap-steps .swap-steps-item .step-fee[data-v-17e1d96a]{display:flex;align-items:center;gap:2px;padding:3px 5px;border-radius:20px;color:#fff;background:#282828;white-space:nowrap}.swap-route .arrow[data-v-17e1d96a],.swap-route .line[data-v-17e1d96a]{display:inline-flex;align-items:center;position:relative;margin-inline:1px;min-width:10px;height:100%;opacity:.3}.swap-route .arrow[data-v-17e1d96a]:before,.swap-route .line[data-v-17e1d96a]:before{content:"";position:absolute;top:calc(50% - 1px);width:100%;height:2px;background-color:#fff;transform:scaleY(.8)}.swap-route .arrow[data-v-17e1d96a]{justify-content:end;width:100%;min-width:12px}.swap-route .arrow[data-v-17e1d96a]:after{content:"";display:block;width:6px;height:6px;border-style:solid;border-color:#fff;border-width:2px 2px 0 0;border-radius:1px;transform:rotate(45deg)}.pool-tokens[data-v-6d2914ca]{display:flex;justify-content:flex-start;align-items:flex-start;flex-flow:column;gap:16px}.pool-tokens.reversed[data-v-6d2914ca]{flex-direction:column-reverse}.transaction-details .tip-url .copy-text[data-v-9edab714],.transaction-details .tip-url[data-v-9edab714]{width:100%}.transaction-details .tip-url .link-button[data-v-9edab714]{display:block}.transaction-details .row[data-v-9edab714]{display:flex;justify-content:flex-start;align-items:center;flex-flow:row;gap:8px}.transaction-details .payer-id[data-v-9edab714]{position:relative}.transaction-details .payer-id .dialog-box[data-v-9edab714]{width:30px;height:20px;position:absolute;right:15px;top:-28px}.account-create-modal .message[data-v-0b7c85d9]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-create-modal .content-wrapper[data-v-0b7c85d9]{padding:0 16px 32px}.account-create-modal .message[data-v-0b7c85d9]{line-height:24px;margin:0 auto 36px}.status-icon.alert[data-v-6ee6fe2e],.status-icon.critical[data-v-6ee6fe2e]{color:#ff4746}.status-icon.not-secure[data-v-6ee6fe2e],.status-icon.warning[data-v-6ee6fe2e]{color:#ffb422}.status-icon.help[data-v-6ee6fe2e],.status-icon.info[data-v-6ee6fe2e]{color:#1161fe}.status-icon.success[data-v-6ee6fe2e]{color:#00d3a1}.icon-boxed{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border:4px solid hsla(0,0%,100%,.05);border-radius:50%;background-color:#131313}.icon-boxed .icon{width:48px;height:48px}.default .title[data-v-55c32d28]{margin-bottom:16px}.default .top-icon-wrapper[data-v-55c32d28]{margin-bottom:20px;text-align:center}.default .center-button[data-v-55c32d28]{width:auto;padding:0 24px}.account-create .message[data-v-55406748]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.account-create .content-wrapper[data-v-55406748]{padding:0 16px 32px}.account-create .message[data-v-55406748]{padding-inline:inherit;line-height:24px;margin:0 auto 36px}.import-account-modal[data-v-0764afea]{text-align:center}.import-account-modal .loader[data-v-0764afea]{width:56px}.import-account-modal .scan-button[data-v-0764afea]{color:#fff;display:block;width:32px;height:24px}.import-account-modal .scan-button.disabled[data-v-0764afea]{opacity:.4;pointer-events:none}.account-select-options-item[data-v-527219b2]{--border-width:3px;width:100%;padding:2px 8px}.account-select-options-item .option-wrapper[data-v-527219b2]{display:flex;align-items:center;justify-content:space-between;position:relative;padding:6px 8px;border-radius:10px;width:100%}.account-select-options-item .option-wrapper[data-v-527219b2]:before{top:0;left:0;content:"";position:absolute;width:100%;height:100%;z-index:-1;background-color:var(--bg-color);border:var(--border-width) solid var(--bg-color);box-sizing:border-box;border-radius:10px;transition:background-color .12s ease-in-out}.account-select-options-item .option-wrapper[data-v-527219b2]:hover:not(.selected):before{opacity:.8}.account-select-options-item .option-wrapper.selected[data-v-527219b2]{background-color:transparent;border:var(--border-width) solid var(--bg-color);transition:background-color .12s ease-in-out}.account-select-options-item .option-wrapper.selected[data-v-527219b2]:before{--border-offset:calc(var(--border-width) - 2px);opacity:.4;border-color:transparent;border-radius:5px;top:var(--border-offset);left:var(--border-offset);width:calc(100% - var(--border-offset)*2);height:calc(100% - var(--border-offset)*2)}.account-select-options-item .option-wrapper .account-info[data-v-527219b2]{min-width:0;width:100%}.account-select-options-item .option-wrapper .token-amount[data-v-527219b2]{text-align:right}.form-select-options-header[data-v-1e8729bf]{text-align:left}.form-select-options-header .title[data-v-1e8729bf]{padding-left:12px;line-height:48px}.form-select-options-header .search-field[data-v-1e8729bf]{margin:0 8px var(--gap)}.claim-success-modal .claimed[data-v-78c5e1d6]{color:#1161fe}.claim-success-modal .top-icon-wrapper[data-v-78c5e1d6]{margin-bottom:20px;text-align:center}.error-msg[data-v-56780574]{color:#ff4746;margin-bottom:30px}span[data-v-56780574]{display:block;font-weight:700}.form-select-options-item .option-wrapper[data-v-583e6b6c]{display:flex;gap:8px;align-items:center;padding-block:4px}.qr-code-reader .heading[data-v-1ecdcc39]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:19px;line-height:24px}.qr-code-reader .subtitle[data-v-1ecdcc39],.qr-code-reader .title[data-v-1ecdcc39]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.qr-code-reader .top-icon-wrapper[data-v-1ecdcc39]{margin:0 auto 16px auto;text-align:center;color:#1161fe}.qr-code-reader .camera[data-v-1ecdcc39]{--camera-size:312px;margin:20px auto 0;width:var(--camera-size);height:var(--camera-size);display:flex;justify-content:center;align-items:center;border-radius:10px;background:hsla(0,0%,100%,.05);overflow:hidden}.qr-code-reader .camera .video[data-v-1ecdcc39]{height:var(--camera-size)}@media(min-width:362px)and (max-width:480px){.qr-code-reader .camera .video[data-v-1ecdcc39]{height:unset;width:var(--camera-size)}}.qr-code-reader .camera .video-loader[data-v-1ecdcc39]{display:flex;justify-content:center;align-items:center;position:absolute;z-index:-1}.qr-code-reader .camera .video-loader .spinner[data-v-1ecdcc39]{width:56px;height:56px}.qr-code-reader .heading[data-v-1ecdcc39]{color:#fff}.qr-code-reader .subtitle[data-v-1ecdcc39],.qr-code-reader .title[data-v-1ecdcc39]{margin-top:4px;margin-bottom:20px;line-height:24px;color:hsla(0,0%,100%,.75)}.loader[data-v-5af93660]{position:fixed;z-index:3;top:0;left:0;display:flex;width:100%;height:100%}.loader .container[data-v-5af93660]{width:100%;height:100%;background-color:var(--screen-bg-color);opacity:.9;display:flex;align-items:center;justify-content:center}@media(min-width:481px){.loader .container[data-v-5af93660]{width:360px;height:600px;border-radius:10px;margin:auto}}.loader .container .spinner[data-v-5af93660]{width:72px;height:72px}.asset-selector[data-v-2df1ce3c]{padding-top:env(safe-area-inset-top)}.asset-selector .search-bar[data-v-2df1ce3c]{margin:8px 8px 16px}.asset-selector .title[data-v-2df1ce3c]{margin-left:16px;margin-bottom:0;line-height:48px;text-align:left}.asset-selector .appearing-element[data-v-2df1ce3c]{width:100%;opacity:0;z-index:-1;transition:opacity .25s ease-in-out;padding-bottom:40px}.asset-selector .appearing-element.visible[data-v-2df1ce3c]{opacity:1;z-index:1}.reset-wallet .info .title[data-v-13bf16f9]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:18px;line-height:20px}.reset-wallet .info .text[data-v-13bf16f9]{font-family:IBM Plex Sans,sans-serif;font-weight:300;font-size:14px;line-height:24px}.reset-wallet .icon-wrapper[data-v-13bf16f9]{margin:8px auto 18px;color:#ff4746}.reset-wallet .info .title[data-v-13bf16f9]{color:#fff;padding-bottom:20px}.reset-wallet .info .text[data-v-13bf16f9]{color:hsla(0,0%,100%,.85);line-height:20px;gap:10px;display:flex;justify-content:center;align-items:center;flex-flow:column}span[data-v-3ffbff84]{font-weight:500}.help[data-v-3ffbff84],.msg[data-v-3ffbff84],span[data-v-3ffbff84]{font-family:IBM Plex Sans,sans-serif;font-size:14px;line-height:24px}.help[data-v-3ffbff84],.msg[data-v-3ffbff84]{font-weight:400}span.address[data-v-3ffbff84]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}span[data-v-3ffbff84]{overflow:hidden;text-align:left;color:#babac0}span strong[data-v-3ffbff84],span[data-v-3ffbff84]{word-wrap:break-word}span strong[data-v-3ffbff84]{color:#fff}span.address strong[data-v-3ffbff84]{font-weight:500}.help[data-v-3ffbff84],.msg[data-v-3ffbff84]{text-align:center;line-height:20px}.help a[data-v-3ffbff84],.msg a[data-v-3ffbff84]{cursor:pointer;text-decoration:none;color:#1161fe}.footer[data-v-3ffbff84]{width:100%!important}.msg .sub-header[data-v-2bbbdb24]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}span[data-v-2bbbdb24]{font-weight:500}.msg[data-v-2bbbdb24],span[data-v-2bbbdb24]{font-family:IBM Plex Sans,sans-serif;font-size:14px;line-height:24px}.msg[data-v-2bbbdb24]{font-weight:400}span.address[data-v-2bbbdb24]{font-family:IBM Plex Mono;font-weight:500;font-size:12px;line-height:16px}span[data-v-2bbbdb24]{overflow:hidden;text-align:left;color:#babac0}span strong[data-v-2bbbdb24],span[data-v-2bbbdb24]{word-wrap:break-word}span strong[data-v-2bbbdb24]{color:#fff}span.address strong[data-v-2bbbdb24]{font-weight:500}.msg[data-v-2bbbdb24]{text-align:left;line-height:20px}.msg .sub-header[data-v-2bbbdb24]{display:flex;justify-content:center;align-items:center;flex-flow:row;text-align:center;margin-bottom:20px}.msg .title[data-v-2bbbdb24]{color:#fff}.msg .capitalize[data-v-2bbbdb24]:first-letter{text-transform:capitalize}.consensus-info .content .subtitle[data-v-1660ae4c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:16px;line-height:16px}.consensus-info .content[data-v-1660ae4c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;text-align:center;line-height:22px}.consensus-info .content .subtitle[data-v-1660ae4c]{margin-top:-8px}.consensus-info .content .list[data-v-1660ae4c]{text-align:left;padding:16px 24px 8px;margin:0}.payload-form .header[data-v-3d4412a8]{text-align:center;padding:8px 16px 4px}.payload-form .description[data-v-3d4412a8]{margin-top:12px}.payload-form .btn-cancel[data-v-3d4412a8]{max-width:114px}.transfer-send-amount .amount-input[data-v-cdda66bc]{margin-bottom:22px}.transfer-send-amount.without-margin .amount-input[data-v-cdda66bc]{margin-bottom:0}.claim-gift-card .header[data-v-5805577b]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:19px;line-height:24px}.claim-gift-card .redeem-balance>span[data-v-5805577b],.claim-gift-card .redeemed-amount[data-v-5805577b]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.claim-gift-card .already-redeemed[data-v-5805577b]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.claim-gift-card .header[data-v-5805577b]{text-align:center;margin-bottom:4px}.claim-gift-card .check-circle-icon[data-v-5805577b]{width:40px;height:40px;color:#00d3a1;display:flex;align-self:center;margin:8px auto 4px auto}.claim-gift-card .redeemed-amount[data-v-5805577b]{display:flex;justify-content:center;color:#fff;line-height:24px}.claim-gift-card .redeemed-amount .redeemed-by[data-v-5805577b]{opacity:.75;margin-left:4px}.claim-gift-card .details-item[data-v-5805577b]{display:flex;justify-content:center}.claim-gift-card .redeem-balance[data-v-5805577b]{display:flex;flex-direction:column;justify-items:center;margin:auto}.claim-gift-card .redeem-balance>span[data-v-5805577b]{line-height:24px;display:block;color:#fff;opacity:.5;margin-bottom:4px}.claim-gift-card .redeem-balance .balance-info[data-v-5805577b]{padding:8px 0 16px 0;border-radius:10px;background-image:url(/img/buy-ae.616acc4d.webp)}.claim-gift-card .redeem-balance .balance-info.gray[data-v-5805577b]{filter:grayscale(1)}.claim-gift-card .already-redeemed[data-v-5805577b]{display:block;text-align:center;margin-top:24px;color:#fff}.claim-gift-card .buttons[data-v-5805577b]{width:100%;display:flex;flex-direction:column;gap:16px}.claim-gift-card .buttons .btn-main[data-v-5805577b]{width:100%}.btn-text[data-v-656ac1bf]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px;color:#1161fe;display:flex;align-items:center;padding:2px 4px 2px 0;text-transform:uppercase;gap:4px;width:-moz-fit-content;width:fit-content}.btn-text[data-v-656ac1bf]:hover:not([disabled]){border-radius:8px;background:rgba(17,97,254,.15)}.btn-text.has-icon[data-v-656ac1bf]{gap:4px}.btn-text.has-icon .btn-text-icon[data-v-656ac1bf]{flex-shrink:0;width:20px;height:20px;color:inherit}.number-select-input[data-v-725fb95c]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.number-select[data-v-725fb95c]{position:relative}.number-select-input[data-v-725fb95c]{-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;box-shadow:none;color:hsla(0,0%,100%,.75);background-color:hsla(0,0%,100%,.08);border:2px solid transparent;border-radius:10px;padding:6px 22px 6px 10px;transition:all .12s ease-out;cursor:pointer}.number-select-input[data-v-725fb95c]:hover{color:#fff;background-color:hsla(0,0%,100%,.05);border-color:hsla(0,0%,100%,.15)}.number-select-input[data-v-725fb95c]:focus{font-weight:500;color:#fff;background-color:rgba(0,0,0,.44);border-color:#1161fe}.number-select .chevron-icon[data-v-725fb95c]{top:50%;transform:translateY(-50%);right:8px;width:8px;position:absolute;color:hsla(0,0%,100%,.75);pointer-events:none}.multisig-vault-create-review .creator-error-message[data-v-d3f0db28]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.multisig-vault-create-review[data-v-d3f0db28]{display:flex;flex-direction:column;gap:var(--gap)}.multisig-vault-create-review .creator-error-message[data-v-d3f0db28]{letter-spacing:normal;color:#ff4746;line-height:22px}.multisig-vault-create-review .creator-error-message span[data-v-d3f0db28]{font-weight:500}.multisig-vault-create-review .loading-icon[data-v-d3f0db28]{margin-inline:auto;width:72px}.multisig-vault-create-review .authorized-signers[data-v-d3f0db28]{display:flex;flex-direction:column;gap:4px}.multisig-vault-create-review .authorized-signers-row[data-v-d3f0db28]{display:flex;gap:4px;align-items:center}.progress-bar[data-v-1dd3e346]{height:12px;border-radius:4px;overflow:hidden;background-color:hsla(0,0%,100%,.1)}.progress-bar .progress[data-v-1dd3e346]{height:100%;background-color:#00d3a1;transition:width .1s}.multisig-vault-creation-progress .multisig-account-created .message[data-v-23d2125d]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px}.multisig-vault-creation-progress .multisig-account-created .sub-message[data-v-23d2125d]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.multisig-vault-creation-progress .phase-list .phase-item[data-v-23d2125d]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:14px;line-height:24px}.multisig-vault-creation-progress[data-v-23d2125d]{padding-top:env(safe-area-inset-top)}.multisig-vault-creation-progress .phase-list[data-v-23d2125d]{padding-top:24px}.multisig-vault-creation-progress .phase-list .phase-item[data-v-23d2125d]{display:inline-flex;align-items:center;gap:12px;padding:8px 0;opacity:.5}.multisig-vault-creation-progress .phase-list .phase-item.highlighted[data-v-23d2125d]{opacity:1}.multisig-vault-creation-progress .phase-list .phase-item .phase-number[data-v-23d2125d],.multisig-vault-creation-progress .phase-list .phase-item .phase-pending-icon[data-v-23d2125d],.multisig-vault-creation-progress .phase-list .phase-item .phase-success-icon[data-v-23d2125d]{width:24px;height:24px}.multisig-vault-creation-progress .phase-list .phase-item .phase-number[data-v-23d2125d]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:2px;border:2px solid hsla(0,0%,100%,.15);border-radius:100%}.multisig-vault-creation-progress .phase-list .phase-item .phase-success-icon[data-v-23d2125d]{color:#00d3a1;background-color:rgba(0,211,161,.15);border-radius:100%}.multisig-vault-creation-progress .phase-list .phase-item .phase-item-caption[data-v-23d2125d]{font-weight:400;color:hsla(0,0%,100%,.5)}.multisig-vault-creation-progress .multisig-account-created[data-v-23d2125d]{margin-top:30px;padding-inline:8px}.multisig-vault-creation-progress .multisig-account-created .message[data-v-23d2125d]{max-width:250px;padding-bottom:16px;color:#fff;line-height:22px}.multisig-vault-creation-progress .multisig-account-created .sub-message[data-v-23d2125d]{color:hsla(0,0%,100%,.85);line-height:20px}.multisig-vault-create-form .signers-count .num-of-signers-selector[data-v-2e647252]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.multisig-vault-create[data-v-2e647252]{padding-top:env(safe-area-inset-top)}.multisig-vault-create-form .scan-button[data-v-2e647252]{color:#fff;display:block;width:32px;height:24px}.multisig-vault-create-form .signers-add-wrapper[data-v-2e647252]{display:flex;align-items:center;margin:20px 0}.multisig-vault-create-form .signers-add-wrapper .btn-help[data-v-2e647252]{display:flex;margin-left:4px}.multisig-vault-create-form .btn-plain[data-v-2e647252]{display:flex}.multisig-vault-create-form .btn-plain .btn-remove-signer[data-v-2e647252]{width:20px!important;margin:-4px -6px -4px 0;transform:rotate(45deg);cursor:pointer;transition:all .15s;color:#babac0}.multisig-vault-create-form .btn-plain .btn-remove-signer[data-v-2e647252]:hover{opacity:.8}.multisig-vault-create-form .description[data-v-2e647252],.multisig-vault-create-form .signers-count[data-v-2e647252]{color:hsla(0,0%,100%,.5)}.multisig-vault-create-form .signers-count[data-v-2e647252]{display:flex;align-items:center;padding:6px 0}.multisig-vault-create-form .signers-count .text-emphasis[data-v-2e647252]{color:hsla(0,0%,100%,.75)}.multisig-vault-create-form .signers-count .num-of-signers-selector[data-v-2e647252]{width:45px;height:40px;margin-right:10px;border-radius:10px;text-align:center;color:#fff;border:2px solid hsla(0,0%,100%,.08);background-color:hsla(0,0%,100%,.08)}.multisig-vault-create-form .signers-count .num-of-signers-selector option[data-v-2e647252]{color:#fff;background-color:#262626}.multisig-vault-create-form .signers-count .text[data-v-2e647252]{margin-left:4px;margin-right:8px}.warning-dapp-browser .icon-wrapper[data-v-1471b94c]{margin:8px auto 18px;color:#ffb422}.warning-dapp-browser .info .title[data-v-1471b94c]{color:#fff;padding-bottom:20px}.warning-dapp-browser .info .text[data-v-1471b94c]{color:hsla(0,0%,100%,.85);line-height:20px;gap:10px;display:flex;justify-content:center;align-items:center;flex-flow:column}.confirm .msg[data-v-42a8551a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.confirm .alert[data-v-42a8551a]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:14px;line-height:24px}.confirm[data-v-42a8551a]{text-align:center}.confirm .content[data-v-42a8551a]{padding:8px 24px}.confirm .text-heading-2[data-v-42a8551a]{margin-bottom:16px}.confirm .account-selector[data-v-42a8551a]{margin:0 auto;padding-bottom:8px}.confirm .active-account[data-v-42a8551a]{display:flex;justify-content:center;align-items:space-between;flex-flow:row;margin-bottom:22px}.confirm .alert[data-v-42a8551a]{align-items:center;text-align:center;margin:10px 0;padding:8px 12px;border-radius:4px;color:rgba(255,71,70,.75);line-height:19px}.confirm .msg[data-v-42a8551a]{color:hsla(0,0%,100%,.85);padding:0 18px}.confirm .icon-wrapper[data-v-42a8551a]{margin-bottom:20px}.confirm .icon-wrapper .status-icon[data-v-42a8551a]{margin:8px}.confirm .icon-wrapper .status-icon.refuse[data-v-42a8551a]{color:#ffb422}.browser-action-item[data-v-26ae16da]{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px;align-items:center;width:100%;min-height:48px;margin-bottom:8px;padding:18px 2px 18px 12px;border-radius:10px;justify-content:space-between;text-decoration:none;text-align:left;color:hsla(0,0%,100%,.75);transition:all .15s;letter-spacing:.5px;will-change:transform}.browser-action-item[data-v-26ae16da]:active,.browser-action-item[data-v-26ae16da]:hover{color:#fff}.browser-action-item[data-v-26ae16da]:active{transform:scale(.99)}.browser-action-item .card-icon[data-v-26ae16da]{margin-right:16px;opacity:.85}.browser-action-item-content[data-v-26ae16da]{display:inline-flex;align-items:center}.browser-action-item-info[data-v-26ae16da]{opacity:.5;padding-right:8px;margin:0;color:#fff;font-weight:300;font-size:14px}.network-button .circle[data-v-386368e2]{width:6px;height:6px;border-radius:100%;background-color:#ffb422}.network-button .circle.connected[data-v-386368e2]{background-color:#00d3a1}.network-button .circle.error[data-v-386368e2]{background-color:#ff4746}.apps-browser[data-v-425bf3bf]{opacity:.75}.header .wrapper .title .text[data-v-e2406f5c]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:16px;line-height:16px}.header[data-v-e2406f5c]{z-index:2;height:var(--header-height)}.header .toolbar[data-v-e2406f5c]{--opacity:0;--min-height:0;--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0}.header .wrapper[data-v-e2406f5c]{display:flex;align-items:center;justify-content:space-between;background-color:var(--screen-bg-color);padding:0 8px;width:100%;height:var(--header-height)}@media(min-width:362px)and (max-width:480px){.header .wrapper[data-v-e2406f5c]{display:flex;justify-content:space-between;width:100%}}.header .wrapper .left[data-v-e2406f5c]{display:flex}.header .wrapper .left .home-button.disabled[data-v-e2406f5c]{cursor:default}.header .wrapper .left .home-button:not(.disabled) .home-icon[data-v-e2406f5c]{cursor:pointer}.header .wrapper .left .home-button:not(.disabled):hover svg[data-v-e2406f5c]{color:#0e52d8}.header .wrapper .left .home-button:not(.disabled):active svg[data-v-e2406f5c]{color:#0e52d8;opacity:.9}.header .wrapper .left .home-button .home-icon[data-v-e2406f5c]{width:32px;height:32px;color:#1161fe}.header .wrapper .right[data-v-e2406f5c]{display:flex;justify-content:flex-end;gap:8px}.header .wrapper .title .text[data-v-e2406f5c]{padding:0 4px;display:flex;justify-content:center;white-space:nowrap;line-height:24px;color:#fff}.header .wrapper .title[data-v-e2406f5c]:only-child{flex-grow:2;margin-left:8px}.header .wrapper.not-logged-in:not(:only-child) .left[data-v-e2406f5c]{z-index:1}.header .wrapper.not-logged-in:not(:only-child) .title[data-v-e2406f5c]{width:100%;position:absolute}.header .wrapper .home-button+.back[data-v-e2406f5c]{margin-left:22px}.node-connection-status[data-v-7ee50ab2]{font-family:IBM Plex Sans,sans-serif;font-weight:500;font-size:15px;line-height:24px;display:flex;align-items:center;justify-content:center;min-height:40px;padding:4px 10px;color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);text-align:center}.node-connection-status[data-v-7ee50ab2]:before{content:"";position:absolute;z-index:-1;inset:0;background:#282828;opacity:.8}.node-connection-status.is-error[data-v-7ee50ab2]{color:#ffb422}.text-heading-1{font-weight:400;font-size:19px;line-height:24px}.text-heading-1,.text-heading-2{font-family:IBM Plex Sans,sans-serif}.text-heading-2{font-weight:500;font-size:18px;line-height:20px}.text-heading-3{font-weight:600}.label-text,.text-heading-3{font-family:IBM Plex Sans,sans-serif;font-size:15px;line-height:24px}.label-text{font-weight:500}.text-description{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:15px;line-height:22px}.text-address{font-family:IBM Plex Mono;font-weight:500;font-size:11px;line-height:20px}@keyframes pop-in{0%{opacity:0;transform:translateY(70%)}to{opacity:1;transform:none}}.fade-transition-enter-active,.fade-transition-leave-active{transition:opacity .15s ease-out}.fade-transition-enter-from,.fade-transition-leave-to{opacity:0}.page-transition-enter-active{transition:opacity .3s ease-out}.page-transition-enter-from,.page-transition-leave-to{opacity:0}.fade-between-enter-active,.fade-between-leave-active{transition:all .4s}.fade-between-enter-from,.fade-between-leave-to{opacity:0;position:absolute;top:0;left:0;width:100%}*{box-sizing:border-box;scrollbar-width:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-overflow-style:none;--icon-size-xs:12px;--icon-size-sm:16px;--icon-size-rg:18px;--icon-size-md:20px;--icon-size-lg:24px;--icon-size-xl:28px;--icon-size-xxl:44px}::-webkit-scrollbar{display:none}html.is-extension .ion-page,html.is-extension .tabs-inner,html.is-extension ion-router-outlet,html.is-extension ion-tabs{contain:layout style!important}html.is-extension body{position:unset}html.is-extension .app{width:360px;height:600px}body.scanner-active{background-color:transparent;--background:transparent;--ion-background-color:transparent;--screen-bg-color:transparent}body.scanner-active .app .app-wrapper{--screen-bg-color:transparent;background:transparent}body.scanner-active .ionic-wrapper,body.scanner-active.color-bg-app{background-color:transparent}body.scanner-active #app{background:transparent;position:absolute;z-index:2;width:100%}body.scanner-active .account-ion-content,body.scanner-active .ion-content-bg,body.scanner-active .ion-content-bg--lighter,body.scanner-active ion-content{--background:transparent;background:transparent}.ion-content-bg{background-color:#141414}.ion-content-bg--lighter{background-color:#191919}ion-content{--offset-bottom:auto!important;--overflow:hidden;overflow:auto}ion-content::-webkit-scrollbar{display:none}ion-content::part(scroll){--padding-end:0;--padding-start:0;--padding-top:0}#app,body,html{height:var(--height)}#app,body{--ion-text-color:$color-white;margin:0;background-color:#000}#app.color-bg-app,body.color-bg-app{background-color:#141414}@media(min-width:481px){#app,body{display:flex;flex-direction:column;justify-content:center;align-items:center}}@-moz-document url-prefix(){html{scrollbar-width:none}}h1,h2,h3,h4,h5,h6{margin:0}a{color:#1161fe;text-decoration:none;cursor:pointer}p{margin:0;word-break:break-word}p:not(:last-of-type){margin-bottom:8px}ol,ul{margin:0}button{padding:0;background:none;border:none;color:#babac0}button:focus{outline:none}hr{margin:20px calc(var(--screen-padding-x)*-1);border:none;border-bottom:1px solid hsla(0,0%,100%,.06)}.error-msg{color:#ff4746;margin-top:22px;font-size:.88rem}.tip-note-preview{border-radius:5px;padding:10px;font-size:14px;border:1px dashed #fff;margin-top:15px;margin-bottom:30px;text-align:left;word-break:break-word}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-address{display:inline-block;letter-spacing:.13em;color:hsla(0,0%,100%,.75);word-break:break-word;transition:.1s}a .text-address:hover{color:#fff}.text-heading-1{margin-bottom:18px;color:#fff;text-align:center}.text-heading-2{margin-bottom:.45em;color:#fff}.text-heading-3{color:#fff}.text-muted{color:hsla(0,0%,100%,.75)}.text-description{color:hsla(0,0%,100%,.85);white-space:pre-line}.text-description a{color:#1161fe;text-decoration:none}.text-description a:hover{text-decoration:underline}.text-description strong{font-weight:500;color:#fff}.label-text{color:#787878}.relative{position:relative}.color-warning{color:#ffb422}.styled-scrollbar,.styled-scrollbar ion-content{scrollbar-color:hsla(0,0%,100%,.15) transparent;scrollbar-width:thin;-ms-overflow-style:auto}.styled-scrollbar ion-content::-webkit-scrollbar,.styled-scrollbar::-webkit-scrollbar{display:block;width:6px;height:0}.styled-scrollbar ion-content::-webkit-scrollbar-thumb,.styled-scrollbar::-webkit-scrollbar-thumb{display:block;background-color:hsla(0,0%,100%,.15);border-radius:4px}.app .app-wrapper[data-v-353b17cc]{font-weight:400;font-size:16px;line-height:16px}.app[data-v-353b17cc]{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%}.app .app-wrapper[data-v-353b17cc]{--screen-padding-x:16px;--screen-border-radius:0;--screen-bg-color:#141414;--header-height:0;--gap:12px;position:relative;margin:0 auto;width:100%;height:100%;border-radius:var(--screen-border-radius);color:#fff;background-color:var(--screen-bg-color);font-family:IBM Plex Sans,sans-serif;transition:background-color .2s}.app .app-wrapper .camera-close-button[data-v-353b17cc]{position:absolute;top:calc(20px + env(safe-area-inset-top));right:20px;width:28px;height:28px;z-index:10}.app .app-wrapper .app-inner[data-v-353b17cc]{width:100%;height:100%;overflow-y:auto}.app .app-wrapper .main[data-v-353b17cc]{margin-top:calc(var(--header-height) + env(safe-area-inset-top));padding-bottom:env(safe-area-inset-bottom);background-color:var(--screen-bg-color)}.app .app-wrapper .main.ios[data-v-353b17cc]{top:10px}.app .app-wrapper .connection-status[data-v-353b17cc]{position:fixed;z-index:2;bottom:0;padding-bottom:env(safe-area-inset-bottom);left:0;width:100%}.app .app-wrapper.is-desktop-web[data-v-353b17cc],.app .app-wrapper.is-extension[data-v-353b17cc]{width:360px;height:600px}.app .app-wrapper.is-desktop-web[data-v-353b17cc]{--screen-border-radius:10px;overflow:hidden;box-shadow:0 0 0 1px #232323;transform:translate(0)}@media(min-width:362px)and (max-width:480px){.app .app-wrapper.is-desktop-web[data-v-353b17cc]{--screen-border-radius:0;width:100%;height:100%;overflow:visible;box-shadow:none}}.app .app-wrapper.show-header[data-v-353b17cc]{--header-height:40px}body>noscript>p.fullscreen-message,body>p.fullscreen-message{font-family:IBM Plex Sans,sans-serif;font-weight:400;font-size:20px;line-height:24px;margin:0 auto;padding-top:30vh;padding-left:20px;padding-right:20px;max-width:400px;text-align:center}body>noscript>p.fullscreen-message.white,body>p.fullscreen-message.white{color:#fff} \ No newline at end of file diff --git a/index.html b/index.html index d41e0700b..9a9a828e5 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Superhero Wallet
\ No newline at end of file +Superhero Wallet
\ No newline at end of file diff --git a/js/ae-transfer-send-modal.9c82af31.js b/js/ae-transfer-send-modal.7630f7d3.js similarity index 99% rename from js/ae-transfer-send-modal.9c82af31.js rename to js/ae-transfer-send-modal.7630f7d3.js index e4e7daa4e..3fdb72229 100644 --- a/js/ae-transfer-send-modal.9c82af31.js +++ b/js/ae-transfer-send-modal.7630f7d3.js @@ -1 +1 @@ -"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[522],{20807:(e,t,a)=>{a.r(t),a.d(t,{default:()=>he});var n=a(20641);function r(e,t,a,r,s,o){var l=(0,n.g2)("TransferSendBase");return(0,n.uX)(),(0,n.Wv)(l,{protocol:e.PROTOCOLS.aeternity,"current-step":e.currentStep,"hide-arrow-send-icon":e.isMultisig,"custom-primary-button-text":e.customPrimaryButtonText,"sending-disabled":e.isSendingDisabled,onClose:e.resolve,onStepNext:e.proceedToNextStep,onStepPrev:e.editTransfer},{content:(0,n.k6)((function(){return[((0,n.uX)(),(0,n.Wv)((0,n.$y)(e.currentStepConfig.component),{ref:"currentRenderedComponent",transferData:e.transferData,"onUpdate:transferData":t[0]||(t[0]=function(t){return e.transferData=t}),"is-multisig":e.isMultisig,"is-address-chain":e.isAddressChain,"is-address-url":e.isAddressUrl,onSuccess:e.currentStepConfig.onSuccess,onError:t[1]||(t[1]=function(t){return e.error=t})},null,40,["transferData","is-multisig","is-address-chain","is-address-url","onSuccess"]))]})),_:1},8,["protocol","current-step","hide-arrow-send-icon","custom-primary-button-text","sending-disabled","onClose","onStepNext","onStepPrev"])}var s=a(1287),o=(a(99449),a(50953)),l=a(46992),i=a(65563),u=a(31189),c=a(84754),d=a(59755),p=a(42346),m=(a(76918),a(23288),a(9868),a(26099),a(38781),a(90033)),f={class:"multisig-addresses-row"},v={key:0,class:"payload-add-wrapper"},g={class:"payload-options"};function y(e,t,a,r,s,o){var l=(0,n.g2)("ModalHeader"),i=(0,n.g2)("InfoBox"),u=(0,n.g2)("FormSelect"),c=(0,n.g2)("AccountItem"),d=(0,n.g2)("DetailsItem"),p=(0,n.g2)("TransferSendRecipient"),y=(0,n.g2)("BtnMaxAmount"),A=(0,n.g2)("TransferSendAmount"),b=(0,n.g2)("BtnText"),x=(0,n.g2)("BtnHelp"),h=(0,n.g2)("BtnIcon"),k=(0,n.g2)("PayloadDetails"),_=(0,n.g2)("TransferSendFormBase");return(0,n.uX)(),(0,n.Wv)(_,(0,n.v6)(e.$attrs,{"transfer-data":e.transferData,fee:+e.fee.toFixed(),"fee-symbol":e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,class:"transfer-send-form"}),(0,n.eX)({recipient:(0,n.k6)((function(){return[(0,n.bF)(p,{modelValue:e.formModel.address,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.address=t}),modelModifiers:{trim:!0},errors:e.errors,"is-tip-url":e.isTipUrl,protocol:e.PROTOCOLS.aeternity,placeholder:e.isUrlTippingEnabled?e.$t("modals.send.recipientPlaceholderUrl"):e.$t("modals.send.recipientPlaceholder"),"validation-rules":Object.assign(Object.assign({aens_name_registered_or_address_or_url:e.isUrlTippingEnabled,aens_name_registered_or_address:!e.isUrlTippingEnabled},e.isMultisig?{address_not_same_as:[e.multisigVaultAddress,e.PROTOCOLS.aeternity]}:{}),{token_to_an_address:[!e.isAe]}),onOpenQrModal:e.openScanQrModal},null,8,["modelValue","errors","is-tip-url","protocol","placeholder","validation-rules","onOpenQrModal"])]})),amount:(0,n.k6)((function(){var a;return[(0,n.bF)(A,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.formModel.amount=t}),"custom-label":e.isMultisig?e.$t("modals.multisigTxProposal.amount"):"",errors:e.errors,"selected-asset":e.formModel.selectedAsset,readonly:e.isMultisig,protocol:e.PROTOCOLS.aeternity,"validation-rules":Object.assign(Object.assign(Object.assign(Object.assign({},+e.balance.minus(e.fee)>0&&!e.isMultisig?{max_value:e.max}:{}),e.isMultisig?{enough_ae_signer:e.fee.toString()}:{enough_coin:e.fee.toString()}),+e.balance.minus(e.fee)>0&&e.isMultisig?{max_value_vault:null===(a=e.activeMultisigAccount)||void 0===a?void 0:a.balance.toString()}:{}),{ae_min_tip_amount:e.isTipUrl}),onAssetSelected:e.handleAssetChange},{"label-after":(0,n.k6)((function(){return[e.isMultisig?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)(y,{key:0,"is-max":e.isMaxValue,onClick:e.setMaxValue},null,8,["is-max","onClick"]))]})),_:1},8,["modelValue","custom-label","errors","selected-asset","readonly","protocol","validation-rules","onAssetSelected"])]})),_:2},[e.isMultisig?{name:"header",fn:(0,n.k6)((function(){return[(0,n.bF)(l,{title:e.$t("modals.multisigTxProposal.title")},null,8,["title"]),e.hasMultisigTokenWarning?((0,n.uX)(),(0,n.Wv)(i,{key:0,type:e.INFO_BOX_TYPES.warning,text:e.$t("modals.multisigTxProposal.tokenWarning")},null,8,["type","text"])):(0,n.Q3)("",!0),(0,n.Lk)("div",f,[(0,n.bF)(d,{class:"multisig-address-item"},{label:(0,n.k6)((function(){return[e.multisigVaultOwnedByManyAccounts?((0,n.uX)(),(0,n.Wv)(u,{key:0,options:e.accountsAllowedToProposeTxSelectOptions,"default-text":e.$t("modals.multisigTxProposal.signingAccount"),value:e.activeAccount.address,class:"account-selector","persistent-default-text":"",unstyled:"","account-select":"",onSelect:t[0]||(t[0]=function(t){return e.selectAccount(t)})},null,8,["options","default-text","value"])):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[(0,n.eW)((0,m.v_)(e.$t("modals.multisigTxProposal.signingAccount")),1)],64))]})),value:(0,n.k6)((function(){return[(0,n.bF)(c,{address:e.activeAccount.address,protocol:e.activeAccount.protocol},null,8,["address","protocol"])]})),_:1}),(0,n.bF)(d,{class:"multisig-address-item",label:e.$t("modals.multisigTxProposal.multisigVault")},{value:(0,n.k6)((function(){return[(0,n.bF)(c,{address:e.multisigVaultAddress,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"])]})),_:1},8,["label"])])]})),key:"0"}:void 0,e.isAe?{name:"extra",fn:(0,n.k6)((function(){return[e.formModel.payload&&e.formModel.payload.length?((0,n.uX)(),(0,n.Wv)(k,{key:1,payload:e.formModel.payload,class:"payload-details"},{default:(0,n.k6)((function(){return[(0,n.Lk)("div",g,[(0,n.bF)(h,{size:"sm",dimmed:"",icon:e.EditIcon,onClick:e.editPayload},null,8,["icon","onClick"]),(0,n.bF)(h,{size:"sm","icon-variant":"danger",dimmed:"",icon:e.DeleteIcon,onClick:e.clearPayload},null,8,["icon","onClick"])])]})),_:1},8,["payload"])):((0,n.uX)(),(0,n.CE)("div",v,[(0,n.bF)(b,{icon:e.PlusCircleIcon,text:e.$t("modals.send.payload"),onClick:e.editPayload},null,8,["icon","text","onClick"]),(0,n.bF)(x,{title:e.$t("modals.payloadInfo.title"),msg:e.$t("modals.payloadInfo.msg")},null,8,["title","msg"])]))]})),key:"1"}:void 0]),1040,["transfer-data","fee","fee-symbol","protocol"])}var A=a(2327),b=(a(2008),a(74423),a(21699),a(76031),a(75220)),x=a(32118),h=a(92350),k=a(58338),_=a(6162),T=a(14812),w=a(29086),O=a(19442),S=a(72402),M=a(14552),C=a(74494),I=a(33100),P=a(37134),F=a(31157),D=a(43863),E=a(70654),R=a(40477),L=a(94386),B=a(35240),W=a(71403),$=function(e,t,a,n){function r(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,s){function o(e){try{i(n.next(e))}catch(t){s(t)}}function l(e){try{i(n["throw"](e))}catch(t){s(t)}}function i(e){e.done?a(e.value):r(e.value).then(o,l)}i((n=n.apply(e,t||[])).next())}))};const V=(0,n.pM)({name:"AeTransferSendForm",components:{BtnMaxAmount:E.A,TransferSendAmount:R.A,TransferSendRecipient:D.A,DetailsItem:C.A,BtnIcon:I.A,PayloadDetails:P.A,BtnHelp:F.A,BtnText:M.A,TransferSendFormBase:_.A,InfoBox:S.A,ModalHeader:T.A,AccountItem:w.A,FormSelect:O.A},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0},isMultisig:Boolean},emits:["update:transferData","success","error"],setup:function(e,t){var a=t.emit,r=(0,b.lq)(),s=(0,o.KR)(!1),l=(0,o.KR)(!1),p=(0,o.KR)(null),m=(0,c.U8)(),f=m.openModal,v=(0,c.ci)(),g=v.activeMultisigAccount,y=(0,c.ty)(),_=y.balance,T=(0,c.ZN)(),w=T.marketData,O=(0,c.oV)(),M=O.accounts,C=O.activeAccount,I=O.setActiveAccountByGlobalIdx,P=O.setActiveAccountByAddress,F=(0,c.Y7)(),D=F.getProtocolAvailableTokens;function E(t,a){var n=x.C.getAdapter(i.yv.aeternity).getDefaultCoin(w.value,+_.value);return t?e.isMultisig&&![d.kf,d.cK].includes(t)?void(s.value=!0):(s.value=!1,D(i.yv.aeternity)[t]||n):a?void 0:n}var R=(0,h.x)({transferData:e.transferData,getSelectedAssetValue:E}),V=R.formModel,U=R.errors,N=R.hasError,X=R.invoiceId,K=R.invoiceContract,j=R.clearPayload,Y=R.handleAssetChange,Q=R.updateFormModelValues,G=R.openScanQrModal,q=(0,c.Ym)({formModel:V}),H=q.max,z=q.fee,Z=(0,n.EW)((function(){var e;return null===(e=g.value)||void 0===e?void 0:e.gaAccountId})),J=(0,n.EW)((function(){var e;return(null===(e=V.value.selectedAsset)||void 0===e?void 0:e.contractId)===d.cK})),ee=(0,n.EW)((function(){return!!V.value.address&&l.value&&(0,u.Ks)(V.value.address)&&!(0,k.F7)(V.value.address)})),te=(0,n.EW)((function(){var e,t=+((null===(e=V.value)||void 0===e?void 0:e.amount)||0);return t>0&&t===+H.value})),ae=M.value.filter((function(e){var t,a=e.address;return null===(t=g.value)||void 0===t?void 0:t.signers.includes(a)})),ne=(0,n.EW)((function(){return(null===ae||void 0===ae?void 0:ae.length)>1})),re=(0,n.EW)((function(){return(0,u.dZ)(ae)}));function se(){f(i.kQ,{payload:V.value.payload}).then((function(e){V.value.payload=e}))["catch"]((function(){return null}))}function oe(e){e&&(P(e),V.value.amount&&p.value&&p.value.validate())}function le(){var e=z.value;V.value.amount=H.value,setTimeout((function(){e!==z.value&&(V.value.amount=H.value)}),100)}function ie(){var e,t=Object.assign(Object.assign({},V.value),{fee:z.value,total:(J.value?+z.value.toFixed():0)+ +((null===(e=V.value)||void 0===e?void 0:e.amount)||0),invoiceId:X.value,invoiceContract:K.value});return a("update:transferData",t),(0,n.dY)()}function ue(){return $(this,void 0,void 0,(0,A.A)().mark((function e(){return(0,A.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(N.value){e.next=4;break}return e.next=3,ie();case 3:a("success");case 4:case"end":return e.stop()}}),e)})))}return(0,n.wB)(N,(function(e){return a("error",e)}),{deep:!0}),(0,n.wB)(V,(function(){ie()}),{deep:!0}),(0,n.wB)(C,(function(){var t,a,n;e.isMultisig&&!(null===(t=g.value)||void 0===t?void 0:t.signers.includes(C.value.address))&&I(ae[0].globalIdx);var s=r.query;(0,u.DB)(s)&&(l.value=!0),Q(Object.assign(Object.assign({},s),{token:s.token||(null===(n=null===(a=V.value)||void 0===a?void 0:a.selectedAsset)||void 0===n?void 0:n.contractId)}))}),{deep:!0,immediate:!0}),{INFO_BOX_TYPES:S.F,AE_SYMBOL:d.kf,PROTOCOLS:i.yv,isAe:J,hasMultisigTokenWarning:s,multisigVaultAddress:Z,activeMultisigAccount:g,multisigVaultOwnedByManyAccounts:ne,accountsAllowedToProposeTxSelectOptions:re,formModel:V,isUrlTippingEnabled:l,fee:z,max:H,errors:U,balance:_,isTipUrl:ee,isMaxValue:te,activeAccount:C,editPayload:se,clearPayload:j,openScanQrModal:G,handleAssetChange:Y,selectAccount:oe,setMaxValue:le,submit:ue,EditIcon:L.A,DeleteIcon:B.A,PlusCircleIcon:W.A}}});var U=a(66262);const N=(0,U.A)(V,[["render",y],["__scopeId","data-v-010136ba"]]),X=N;a(62010);var K={class:"review-tip-wrapper"},j={class:"account-info"},Y={class:"name-address-wrapper"},Q={key:1},G={class:"token-amount-wrapper"},q={class:"lowercase"},H={class:"tip-url"},z={class:"subtitle"};function Z(e,t,a,r,s,o){var l=(0,n.g2)("LinkButton"),i=(0,n.g2)("i18n-t"),u=(0,n.g2)("ModalHeader"),c=(0,n.g2)("Avatar"),d=(0,n.g2)("Truncate"),p=(0,n.g2)("AddressTruncated"),f=(0,n.g2)("TokenAmount"),v=(0,n.g2)("FormTextarea");return(0,n.uX)(),(0,n.CE)("div",K,[(0,n.bF)(u,{title:e.$t("pages.send.sendingCryptoToUrl")},{subtitle:(0,n.k6)((function(){return[(0,n.bF)(i,{keypath:"pages.send.tipInfo",tag:"span",class:"subtitle",scope:"global"},{default:(0,n.k6)((function(){return[(0,n.bF)(l,{href:s.AGGREGATOR_URL,class:"link"},{default:(0,n.k6)((function(){return[(0,n.eW)((0,m.v_)(e.$t("pages.notifications.superhero")),1)]})),_:1},8,["href"])]})),_:1})]})),_:1},8,["title"]),(0,n.Lk)("div",j,[(0,n.bF)(c,{address:r.activeAccount.address,size:"lg"},null,8,["address"]),(0,n.Lk)("div",Y,[r.activeAccount.name?((0,n.uX)(),(0,n.Wv)(d,{key:0,str:r.activeAccount.name},null,8,["str"])):((0,n.uX)(),(0,n.CE)("div",Q,(0,m.v_)(o.getDefaultAccountLabel({idx:r.activeAccount.idx})),1)),(0,n.bF)(p,{"show-explorer-link":"",address:r.activeAccount.address,protocol:s.PROTOCOLS.aeternity},null,8,["address","protocol"])])]),(0,n.Lk)("span",G,[(0,n.eW)((0,m.v_)(e.$t("pages.send.sending"))+" ",1),(0,n.bF)(f,{amount:+a.transferData.amount,symbol:o.tokenSymbol,"hide-fiat":o.isAex9,protocol:s.PROTOCOLS.aeternity,"data-cy":"review-total"},null,8,["amount","symbol","hide-fiat","protocol"]),(0,n.Lk)("span",q,(0,m.v_)(e.$t("pages.send.to")),1)]),(0,n.Lk)("div",H,(0,m.v_)(a.transferData.address),1),(0,n.bF)(v,{modelValue:s.note,"onUpdate:modelValue":t[0]||(t[0]=function(e){return s.note=e}),size:"sm",label:e.$t("pages.send.messageUrlOwner"),message:o.noteError},{"label-after":(0,n.k6)((function(){return[(0,n.Lk)("span",{class:(0,m.C4)(["counter",{"below-zero":o.charactersLeft<0}])},(0,m.v_)(o.charactersLeft),3)]})),_:1},8,["modelValue","label","message"]),(0,n.Lk)("span",z,(0,m.v_)(e.$t("pages.tipPage.claimingExplanation")),1)])}var J=a(38151),ee=a(47206),te=a(39953),ae=a(75417),ne=a(59480),re=a(39893),se=a(28192);const oe={name:"TransferReviewTip",components:{AddressTruncated:se.A,LinkButton:ee.A,ModalHeader:T.A,TokenAmount:te.A,FormTextarea:ae.A,Avatar:ne.A,Truncate:re.A},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0}},setup:function(){var e=(0,c.oV)(),t=e.activeAccount;return{activeAccount:t}},data:function(){return{AGGREGATOR_URL:i.G9,AE_CONTRACT_ID:d.cK,PROTOCOLS:i.yv,note:"",noteMaxLength:280}},computed:{isAex9:function(){var e;return(null===(e=this.transferData)||void 0===e||null===(e=e.selectedAsset)||void 0===e?void 0:e.contractId)!==d.cK},noteError:function(){return this.note.length>this.noteMaxLength?this.$t("pages.tipPage.maxNoteLengthError"):null},charactersLeft:function(){return this.noteMaxLength-this.note.length},tokenSymbol:function(){var e;return(null===(e=this.transferData.selectedAsset)||void 0===e?void 0:e.symbol)||"-"}},watch:{noteError:function(e){this.$emit("error",!!e)},note:function(e){this.$emit("input",(0,J.A)((0,J.A)({},this.transferData),{},{note:e}))}},methods:{getDefaultAccountLabel:u.$W,submit:function(){this.noteError||this.$emit("success")}}},le=(0,U.A)(oe,[["render",Z],["__scopeId","data-v-abf3c1cc"]]),ie=le;var ue={key:0,class:"multisig-account"};function ce(e,t,a,r,s,o){var l=(0,n.g2)("AccountItem"),i=(0,n.g2)("DetailsItem"),u=(0,n.g2)("TokenAmount"),c=(0,n.g2)("TransferReviewBase");return(0,n.uX)(),(0,n.Wv)(c,{title:e.isMultisig?e.$t("modals.multisigTxProposal.title"):void 0,"without-subtitle":e.isMultisig,"sender-label":e.isMultisig?e.$t("modals.multisigTxProposal.signingAddress"):void 0,"base-token-symbol":e.AE_SYMBOL,"transfer-data":e.transferData,loading:e.loading,"avatar-name":e.isAddressChain?e.transferData.address:void 0,"show-fiat":!e.isSelectedAssetAex9,protocol:e.PROTOCOLS.aeternity,class:"transfer-review"},(0,n.eX)({subheader:(0,n.k6)((function(){return[e.isMultisig?((0,n.uX)(),(0,n.CE)("div",ue,[(0,n.bF)(l,{address:e.activeMultisigAccount.gaAccountId,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"])])):(0,n.Q3)("",!0)]})),"additional-fee":(0,n.k6)((function(){return[e.isMultisig?((0,n.uX)(),(0,n.Wv)(i,{key:0,class:"details-item",label:e.$t("modals.multisigTxProposal.fee")},{value:(0,n.k6)((function(){return[(0,n.bF)(u,{amount:e.PROPOSE_TRANSACTION_FEE,symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,"hide-fiat":"","high-precision":"","data-cy":"multisig-review-fee"},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,n.Q3)("",!0)]})),total:(0,n.k6)((function(){return[e.isSelectedAssetAex9?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)(i,{key:0,label:e.$t("common.total"),class:"details-item"},{value:(0,n.k6)((function(){return[(0,n.bF)(u,{amount:+e.transferData.total,symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,"high-precision":"","data-cy":"review-total"},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"]))]})),_:2},[e.isAddressUrl?{name:"recipient",fn:(0,n.k6)((function(){return[(0,n.bF)(i,{"data-cy":"review-tip-url",class:"tip-url details-item",label:e.$t("pages.send.receivingUrl"),value:e.transferData.address},null,8,["label","value"])]})),key:"0"}:void 0]),1032,["title","without-subtitle","sender-label","base-token-symbol","transfer-data","loading","avatar-name","show-fiat","protocol"])}a(44114),a(2892);var de=a(91087),pe=a(90973);const me=JSON.parse('[{"namespace":{"name":"Option","typedefs":[]}},{"namespace":{"name":"ListInternal","typedefs":[]}},{"namespace":{"name":"List","typedefs":[]}},{"namespace":{"name":"String","typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"int"},{"name":"_2","type":"int"}],"name":"set_paid","payable":false,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"PoS","payable":false,"typedefs":[]}},{"contract":{"event":{"variant":[{"Transfer":["address","address","int"]},{"Allowance":["address","address","int"]},{"Burn":["address","int"]},{"Swap":["address","int"]}]},"functions":[{"arguments":[],"name":"aex9_extensions","payable":false,"returns":{"list":["string"]},"stateful":false},{"arguments":[{"name":"name","type":"string"},{"name":"decimals","type":"int"},{"name":"symbol","type":"string"},{"name":"initial_owner_balance","type":{"option":["int"]}}],"name":"init","payable":false,"returns":"FungibleTokenFull.state","stateful":false},{"arguments":[],"name":"meta_info","payable":false,"returns":"FungibleTokenFull.meta_info","stateful":false},{"arguments":[],"name":"total_supply","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"owner","payable":false,"returns":"address","stateful":false},{"arguments":[],"name":"balances","payable":false,"returns":"FungibleTokenFull.balances","stateful":false},{"arguments":[{"name":"account","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[],"name":"swapped","payable":false,"returns":{"map":["address","int"]},"stateful":false},{"arguments":[],"name":"allowances","payable":false,"returns":"FungibleTokenFull.allowances","stateful":false},{"arguments":[{"name":"allowance_accounts","type":"FungibleTokenFull.allowance_accounts"}],"name":"allowance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"}],"name":"allowance_for_caller","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"},{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value","type":"int"}],"name":"create_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value_change","type":"int"}],"name":"change_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"}],"name":"reset_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"value","type":"int"}],"name":"burn","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"swap","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"account","type":"address"}],"name":"check_swap","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"value","type":"int"},{"name":"pos","type":"PoS"},{"name":"id","type":"int"}],"name":"burn_trigger_pos","payable":false,"returns":{"tuple":[]},"stateful":true}],"kind":"contract_main","name":"FungibleTokenFull","payable":false,"state":{"record":[{"name":"owner","type":"address"},{"name":"total_supply","type":"int"},{"name":"balances","type":"FungibleTokenFull.balances"},{"name":"meta_info","type":"FungibleTokenFull.meta_info"},{"name":"allowances","type":"FungibleTokenFull.allowances"},{"name":"swapped","type":{"map":["address","int"]}}]},"typedefs":[{"name":"meta_info","typedef":{"record":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"int"}]},"vars":[]},{"name":"allowance_accounts","typedef":{"record":[{"name":"from_account","type":"address"},{"name":"for_account","type":"address"}]},"vars":[]},{"name":"balances","typedef":{"map":["address","int"]},"vars":[]},{"name":"allowances","typedef":{"map":["FungibleTokenFull.allowance_accounts","int"]},"vars":[]}]}}]');var fe=a(60831),ve=function(e,t,a,n){function r(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,s){function o(e){try{i(n.next(e))}catch(t){s(t)}}function l(e){try{i(n["throw"](e))}catch(t){s(t)}}function i(e){e.done?a(e.value):r(e.value).then(o,l)}i((n=n.apply(e,t||[])).next())}))};const ge=(0,n.pM)({name:"AeTransferReview",components:{TokenAmount:te.A,DetailsItem:C.A,TransferReviewBase:fe.A,AccountItem:w.A},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0},recipientAddress:{type:String,default:null},amount:{type:Number,default:null},isMultisig:Boolean,isAddressChain:Boolean,isAddressUrl:Boolean},setup:function(e,t){var a=t.emit,r=(0,b.rd)(),s=(0,l.s9)(),p=s.t,m=(0,c.mv)(),f=m.homeRouteName,v=(0,c.U8)(),g=v.openDefaultModal,y=(0,c.si)(),h=y.openCallbackOrGoHome,_=(0,c.rb)(),T=_.addAccountPendingTransaction,w=(0,c.oV)(),O=w.activeAccount,S=(0,c.CP)(),M=S.getAeSdk,C=(0,c.ci)(),I=C.activeMultisigAccount,P=C.addTransactionToPendingMultisigAccount,F=C.updateMultisigAccounts,D=(0,c.kz)(),E=D.getTippingContracts,R=(0,c.Y7)(),L=R.createOrChangeAllowance,B=(0,o.KR)(!1),W=18294e-8,$=(0,n.EW)((function(){var t,a;return(null===(a=null===(t=e.transferData)||void 0===t?void 0:t.selectedAsset)||void 0===a?void 0:a.contractId)!==d.cK}));function V(){g({title:p("modals.transaction-failed.msg"),icon:"critical"})}function U(e,t,a,n,r){return ve(this,void 0,void 0,(0,A.A)().mark((function s(){var o,l;return(0,A.A)().wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,M();case 2:return o=s.sent,s.next=5,o.initializeContract({aci:me,address:e});case 5:return l=s.sent,s.abrupt("return",l.burn_trigger_pos(n.toFixed(),t,a,r));case 7:case"end":return s.stop()}}),s)})))}function N(t){var n,r=t.amount,s=t.recipient,o=t.selectedAsset;return ve(this,void 0,void 0,(0,A.A)().mark((function t(){var l,u,c,p,m;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(l=o.contractId===d.cK,B.value=!0,t.prev=2,null===e.transferData.invoiceId){t.next=9;break}return t.next=6,U(o.contractId,r.toString(),e.transferData.invoiceContract,e.transferData.invoiceId,{waitMined:!1});case 6:u=t.sent,t.next=20;break;case 9:if(l){t.next=16;break}return c=x.C.getAdapter(i.yv.aeternity),t.next=13,null===(n=c.transferToken)||void 0===n?void 0:n.call(c,Number(r),s,o.contractId,{waitMined:!1});case 13:u=t.sent,t.next=20;break;case 16:return p=x.C.getAdapter(i.yv.aeternity),t.next=19,p.spend(Number(r),s,{payload:e.transferData.payload});case 19:u=t.sent;case 20:return u&&(m={hash:u.hash,pending:!0,transactionOwner:O.value.address,protocol:i.yv.aeternity,tx:{amount:Number(r),callerId:O.value.address,contractId:o.contractId,senderId:O.value.address,type:l?de.vw[de.vw.SpendTx]:de.vw[de.vw.ContractCallTx],function:d.vG.transfer,recipientId:s,arguments:[],fee:0}},T(O.value.address,m)),a("success"),t.abrupt("return",null===u||void 0===u?void 0:u.hash);case 25:throw t.prev=25,t.t0=t["catch"](2),V(),t.t0;case 29:return t.prev=29,B.value=!1,t.finish(29);case 32:case"end":return t.stop()}}),t,null,[[2,25,29,32]])})))}function X(t){var n=t.amount,r=t.recipient,s=t.selectedAsset,o=t.note;return ve(this,void 0,void 0,(0,A.A)().mark((function t(){var l,c,p,m,f,v;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return B.value=!0,t.prev=1,l=null,t.next=5,E();case 5:if(c=t.sent,p=c.tippingV1,m=c.tippingV2,f=m||p,s.contractId===d.cK||!m){t.next=17;break}return t.next=12,L(s.contractId,e.amount);case 12:return t.next=14,m.tip_token(r,(0,u.y5)(o),s.contractId,n);case 14:l=t.sent,t.next=20;break;case 17:return t.next=19,f.tip(r,(0,u.y5)(o),{amount:n,waitMined:!1});case 19:l=t.sent;case 20:v={hash:l.hash,pending:!0,protocol:i.yv.aeternity,tipUrl:r,transactionOwner:O.value.address,tx:{amount:n,callerId:O.value.address,contractId:f.$options.address,type:de.vw[de.vw.ContractCallTx],function:"tip",selectedTokenContractId:s.contractId,arguments:[],fee:0}},T(O.value.address,v),h(!0),a("success"),t.next=32;break;case 26:throw t.prev=26,t.t0=t["catch"](1),h(!1),V(),t.t0.payload={url:r},t.t0;case 32:return t.prev=32,B.value=!1,t.finish(32);case 35:case"end":return t.stop()}}),t,null,[[1,26,32,35]])})))}function K(){return ve(this,void 0,void 0,(0,A.A)().mark((function t(){var n,s,o,l,i,d;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(B.value=!0,t.prev=1,n=(0,c.jC)(),s=n.buildSpendTx,o=n.proposeTx,l=n.postSpendTx,!I.value){t.next=16;break}return t.next=6,s(I.value.gaAccountId,e.transferData.address,(0,k.qX)(e.transferData.amount),e.transferData.payload||void 0);case 6:return i=t.sent,t.next=9,o(i,I.value.contractId);case 9:return d=t.sent,I.value.pending&&P(d,I.value.gaAccountId,O.value.address),t.next=13,l(i,d);case 13:return t.next=15,F();case 15:r.push({name:pe.Ie});case 16:t.next=21;break;case 18:t.prev=18,t.t0=t["catch"](1),(0,u.fY)(t.t0);case 21:return t.prev=21,a("success"),B.value=!0,t.finish(21);case 25:case"end":return t.stop()}}),t,null,[[1,18,21,25]])})))}function j(){return ve(this,void 0,void 0,(0,A.A)().mark((function t(){var a,n,s,o,l,i,c;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.transferData,n=a.amount,s=a.address,o=a.selectedAsset,l=a.note,n&&s&&o){t.next=3;break}return t.abrupt("return");case 3:if(i=o.contractId===d.cK?(0,k.qX)(n):(0,u.Y9)(n,o.decimals),!e.isMultisig){t.next=9;break}return t.next=7,K();case 7:t.next=18;break;case 9:if(!e.isAddressUrl){t.next=14;break}return t.next=12,X({amount:i,recipient:s,selectedAsset:o,note:l});case 12:t.next=18;break;case 14:return t.next=16,N({amount:i,recipient:s,selectedAsset:o});case 16:c=t.sent,r.push({name:f.value,query:{latestTxHash:c}});case 18:case"end":return t.stop()}}),t)})))}return{PROTOCOLS:i.yv,isSelectedAssetAex9:$,activeMultisigAccount:I,AE_SYMBOL:d.kf,AE_CONTRACT_ID:d.cK,PROPOSE_TRANSACTION_FEE:W,loading:B,submit:j}}}),ye=(0,U.A)(ge,[["render",ce],["__scopeId","data-v-341447da"]]),Ae=ye,be=(0,n.pM)({name:i.iP,components:{TransferSendBase:p.A},props:Object.assign(Object.assign({},p.g),{tokenContractId:{type:String,default:null},isMultisig:Boolean}),setup:function(e){var t=(0,l.s9)(),a=t.t,r=(0,c.CP)(),p=r.isAeNodeReady,m=(0,c.Y7)(),f=m.getProtocolAvailableTokens,v=(0,o.KR)(),g=(0,o.KR)(i.x0.form),y=(0,o.KR)(!1),A=(0,o.KR)({address:e.address,amount:e.amount,payload:e.payload,selectedAsset:e.tokenContractId?f(i.yv.aeternity)[e.tokenContractId]:void 0}),b=(0,n.EW)((function(){var e;return!!(null===(e=A.value.address)||void 0===e?void 0:e.endsWith(d.CT))})),x=(0,n.EW)((function(){return!b.value&&A.value.address&&(0,u.Ks)(A.value.address)})),h=(0,n.EW)((function(){return y.value||!p.value||!A.value.address||!A.value.amount})),k=(0,n.EW)((function(){return e.isMultisig?a("modals.multisigTxProposal.proposeAndApprove"):""}));function _(){v.value.submit()}function T(){g.value=x.value?i.x0.reviewTip:i.x0.review}function w(){g.value=i.x0.review}function O(){y.value=!1,g.value=i.x0.form}var S=(0,s.A)((0,s.A)((0,s.A)({},i.x0.form,{component:X,onSuccess:T}),i.x0.reviewTip,{component:ie,onSuccess:w}),i.x0.review,{component:Ae,onSuccess:e.resolve}),M=(0,n.EW)((function(){return S[g.value]}));return{TRANSFER_SEND_STEPS:i.x0,PROTOCOLS:i.yv,currentRenderedComponent:v,steps:S,currentStep:g,error:y,transferData:A,currentStepConfig:M,isAddressChain:b,isAddressUrl:x,isSendingDisabled:h,customPrimaryButtonText:k,proceedToNextStep:_,editTransfer:O}}}),xe=(0,U.A)(be,[["render",r]]),he=xe}}]); \ No newline at end of file +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[522],{20807:(e,t,a)=>{a.r(t),a.d(t,{default:()=>he});var n=a(20641);function r(e,t,a,r,s,o){var l=(0,n.g2)("TransferSendBase");return(0,n.uX)(),(0,n.Wv)(l,{protocol:e.PROTOCOLS.aeternity,"current-step":e.currentStep,"hide-arrow-send-icon":e.isMultisig,"custom-primary-button-text":e.customPrimaryButtonText,"sending-disabled":e.isSendingDisabled,onClose:e.resolve,onStepNext:e.proceedToNextStep,onStepPrev:e.editTransfer},{content:(0,n.k6)((function(){return[((0,n.uX)(),(0,n.Wv)((0,n.$y)(e.currentStepConfig.component),{ref:"currentRenderedComponent",transferData:e.transferData,"onUpdate:transferData":t[0]||(t[0]=function(t){return e.transferData=t}),"is-multisig":e.isMultisig,"is-address-chain":e.isAddressChain,"is-address-url":e.isAddressUrl,onSuccess:e.currentStepConfig.onSuccess,onError:t[1]||(t[1]=function(t){return e.error=t})},null,40,["transferData","is-multisig","is-address-chain","is-address-url","onSuccess"]))]})),_:1},8,["protocol","current-step","hide-arrow-send-icon","custom-primary-button-text","sending-disabled","onClose","onStepNext","onStepPrev"])}var s=a(1287),o=(a(99449),a(50953)),l=a(46992),i=a(65563),u=a(31189),c=a(84754),d=a(59755),p=a(42346),m=(a(76918),a(23288),a(9868),a(26099),a(38781),a(90033)),f={class:"multisig-addresses-row"},v={key:0,class:"payload-add-wrapper"},g={class:"payload-options"};function y(e,t,a,r,s,o){var l=(0,n.g2)("ModalHeader"),i=(0,n.g2)("InfoBox"),u=(0,n.g2)("FormSelect"),c=(0,n.g2)("AccountItem"),d=(0,n.g2)("DetailsItem"),p=(0,n.g2)("TransferSendRecipient"),y=(0,n.g2)("BtnMaxAmount"),A=(0,n.g2)("TransferSendAmount"),b=(0,n.g2)("BtnText"),x=(0,n.g2)("BtnHelp"),h=(0,n.g2)("BtnIcon"),k=(0,n.g2)("PayloadDetails"),_=(0,n.g2)("TransferSendFormBase");return(0,n.uX)(),(0,n.Wv)(_,(0,n.v6)(e.$attrs,{"transfer-data":e.transferData,fee:+e.fee.toFixed(),"fee-symbol":e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,class:"transfer-send-form"}),(0,n.eX)({recipient:(0,n.k6)((function(){return[(0,n.bF)(p,{modelValue:e.formModel.address,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.address=t}),modelModifiers:{trim:!0},errors:e.errors,"is-tip-url":e.isTipUrl,protocol:e.PROTOCOLS.aeternity,placeholder:e.isUrlTippingEnabled?e.$t("modals.send.recipientPlaceholderUrl"):e.$t("modals.send.recipientPlaceholder"),"validation-rules":Object.assign(Object.assign({aens_name_registered_or_address_or_url:e.isUrlTippingEnabled,aens_name_registered_or_address:!e.isUrlTippingEnabled},e.isMultisig?{address_not_same_as:[e.multisigVaultAddress,e.PROTOCOLS.aeternity]}:{}),{token_to_an_address:[!e.isAe]}),onOpenQrModal:e.openScanQrModal},null,8,["modelValue","errors","is-tip-url","protocol","placeholder","validation-rules","onOpenQrModal"])]})),amount:(0,n.k6)((function(){var a;return[(0,n.bF)(A,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.formModel.amount=t}),"custom-label":e.isMultisig?e.$t("modals.multisigTxProposal.amount"):"",errors:e.errors,"selected-asset":e.formModel.selectedAsset,readonly:e.isMultisig,protocol:e.PROTOCOLS.aeternity,"validation-rules":Object.assign(Object.assign(Object.assign(Object.assign({},+e.balance.minus(e.fee)>0&&!e.isMultisig?{max_value:e.max}:{}),e.isMultisig?{enough_ae_signer:e.fee.toString()}:{enough_coin:e.fee.toString()}),+e.balance.minus(e.fee)>0&&e.isMultisig?{max_value_vault:null===(a=e.activeMultisigAccount)||void 0===a?void 0:a.balance.toString()}:{}),{ae_min_tip_amount:e.isTipUrl}),onAssetSelected:e.handleAssetChange},{"label-after":(0,n.k6)((function(){return[e.isMultisig?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)(y,{key:0,"is-max":e.isMaxValue,onClick:e.setMaxValue},null,8,["is-max","onClick"]))]})),_:1},8,["modelValue","custom-label","errors","selected-asset","readonly","protocol","validation-rules","onAssetSelected"])]})),_:2},[e.isMultisig?{name:"header",fn:(0,n.k6)((function(){return[(0,n.bF)(l,{title:e.$t("modals.multisigTxProposal.title")},null,8,["title"]),e.hasMultisigTokenWarning?((0,n.uX)(),(0,n.Wv)(i,{key:0,type:e.INFO_BOX_TYPES.warning,text:e.$t("modals.multisigTxProposal.tokenWarning")},null,8,["type","text"])):(0,n.Q3)("",!0),(0,n.Lk)("div",f,[(0,n.bF)(d,{class:"multisig-address-item"},{label:(0,n.k6)((function(){return[e.multisigVaultOwnedByManyAccounts?((0,n.uX)(),(0,n.Wv)(u,{key:0,options:e.accountsAllowedToProposeTxSelectOptions,"default-text":e.$t("modals.multisigTxProposal.signingAccount"),value:e.activeAccount.address,class:"account-selector","persistent-default-text":"",unstyled:"","account-select":"",onSelect:t[0]||(t[0]=function(t){return e.selectAccount(t)})},null,8,["options","default-text","value"])):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[(0,n.eW)((0,m.v_)(e.$t("modals.multisigTxProposal.signingAccount")),1)],64))]})),value:(0,n.k6)((function(){return[(0,n.bF)(c,{address:e.activeAccount.address,protocol:e.activeAccount.protocol},null,8,["address","protocol"])]})),_:1}),(0,n.bF)(d,{class:"multisig-address-item",label:e.$t("modals.multisigTxProposal.multisigVault")},{value:(0,n.k6)((function(){return[(0,n.bF)(c,{address:e.multisigVaultAddress,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"])]})),_:1},8,["label"])])]})),key:"0"}:void 0,e.isAe?{name:"extra",fn:(0,n.k6)((function(){return[e.formModel.payload&&e.formModel.payload.length?((0,n.uX)(),(0,n.Wv)(k,{key:1,payload:e.formModel.payload,class:"payload-details"},{default:(0,n.k6)((function(){return[(0,n.Lk)("div",g,[(0,n.bF)(h,{size:"sm",dimmed:"",icon:e.EditIcon,onClick:e.editPayload},null,8,["icon","onClick"]),(0,n.bF)(h,{size:"sm","icon-variant":"danger",dimmed:"",icon:e.DeleteIcon,onClick:e.clearPayload},null,8,["icon","onClick"])])]})),_:1},8,["payload"])):((0,n.uX)(),(0,n.CE)("div",v,[(0,n.bF)(b,{icon:e.PlusCircleIcon,text:e.$t("modals.send.payload"),onClick:e.editPayload},null,8,["icon","text","onClick"]),(0,n.bF)(x,{title:e.$t("modals.payloadInfo.title"),msg:e.$t("modals.payloadInfo.msg")},null,8,["title","msg"])]))]})),key:"1"}:void 0]),1040,["transfer-data","fee","fee-symbol","protocol"])}var A=a(2327),b=(a(2008),a(74423),a(21699),a(76031),a(75220)),x=a(32118),h=a(92350),k=a(58338),_=a(6162),T=a(14812),w=a(29086),O=a(19442),S=a(72402),M=a(14552),C=a(74494),I=a(94622),P=a(37134),F=a(31157),D=a(43863),E=a(70654),R=a(40477),L=a(94386),B=a(35240),W=a(71403),$=function(e,t,a,n){function r(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,s){function o(e){try{i(n.next(e))}catch(t){s(t)}}function l(e){try{i(n["throw"](e))}catch(t){s(t)}}function i(e){e.done?a(e.value):r(e.value).then(o,l)}i((n=n.apply(e,t||[])).next())}))};const V=(0,n.pM)({name:"AeTransferSendForm",components:{BtnMaxAmount:E.A,TransferSendAmount:R.A,TransferSendRecipient:D.A,DetailsItem:C.A,BtnIcon:I.A,PayloadDetails:P.A,BtnHelp:F.A,BtnText:M.A,TransferSendFormBase:_.A,InfoBox:S.A,ModalHeader:T.A,AccountItem:w.A,FormSelect:O.A},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0},isMultisig:Boolean},emits:["update:transferData","success","error"],setup:function(e,t){var a=t.emit,r=(0,b.lq)(),s=(0,o.KR)(!1),l=(0,o.KR)(!1),p=(0,o.KR)(null),m=(0,c.U8)(),f=m.openModal,v=(0,c.ci)(),g=v.activeMultisigAccount,y=(0,c.ty)(),_=y.balance,T=(0,c.ZN)(),w=T.marketData,O=(0,c.oV)(),M=O.accounts,C=O.activeAccount,I=O.setActiveAccountByGlobalIdx,P=O.setActiveAccountByAddress,F=(0,c.Y7)(),D=F.getProtocolAvailableTokens;function E(t,a){var n=x.C.getAdapter(i.yv.aeternity).getDefaultCoin(w.value,+_.value);return t?e.isMultisig&&![d.kf,d.cK].includes(t)?void(s.value=!0):(s.value=!1,D(i.yv.aeternity)[t]||n):a?void 0:n}var R=(0,h.x)({transferData:e.transferData,getSelectedAssetValue:E}),V=R.formModel,U=R.errors,N=R.hasError,X=R.invoiceId,K=R.invoiceContract,j=R.clearPayload,Y=R.handleAssetChange,Q=R.updateFormModelValues,G=R.openScanQrModal,q=(0,c.Ym)({formModel:V}),H=q.max,z=q.fee,Z=(0,n.EW)((function(){var e;return null===(e=g.value)||void 0===e?void 0:e.gaAccountId})),J=(0,n.EW)((function(){var e;return(null===(e=V.value.selectedAsset)||void 0===e?void 0:e.contractId)===d.cK})),ee=(0,n.EW)((function(){return!!V.value.address&&l.value&&(0,u.Ks)(V.value.address)&&!(0,k.F7)(V.value.address)})),te=(0,n.EW)((function(){var e,t=+((null===(e=V.value)||void 0===e?void 0:e.amount)||0);return t>0&&t===+H.value})),ae=M.value.filter((function(e){var t,a=e.address;return null===(t=g.value)||void 0===t?void 0:t.signers.includes(a)})),ne=(0,n.EW)((function(){return(null===ae||void 0===ae?void 0:ae.length)>1})),re=(0,n.EW)((function(){return(0,u.dZ)(ae)}));function se(){f(i.kQ,{payload:V.value.payload}).then((function(e){V.value.payload=e}))["catch"]((function(){return null}))}function oe(e){e&&(P(e),V.value.amount&&p.value&&p.value.validate())}function le(){var e=z.value;V.value.amount=H.value,setTimeout((function(){e!==z.value&&(V.value.amount=H.value)}),100)}function ie(){var e,t=Object.assign(Object.assign({},V.value),{fee:z.value,total:(J.value?+z.value.toFixed():0)+ +((null===(e=V.value)||void 0===e?void 0:e.amount)||0),invoiceId:X.value,invoiceContract:K.value});return a("update:transferData",t),(0,n.dY)()}function ue(){return $(this,void 0,void 0,(0,A.A)().mark((function e(){return(0,A.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(N.value){e.next=4;break}return e.next=3,ie();case 3:a("success");case 4:case"end":return e.stop()}}),e)})))}return(0,n.wB)(N,(function(e){return a("error",e)}),{deep:!0}),(0,n.wB)(V,(function(){ie()}),{deep:!0}),(0,n.wB)(C,(function(){var t,a,n;e.isMultisig&&!(null===(t=g.value)||void 0===t?void 0:t.signers.includes(C.value.address))&&I(ae[0].globalIdx);var s=r.query;(0,u.DB)(s)&&(l.value=!0),Q(Object.assign(Object.assign({},s),{token:s.token||(null===(n=null===(a=V.value)||void 0===a?void 0:a.selectedAsset)||void 0===n?void 0:n.contractId)}))}),{deep:!0,immediate:!0}),{INFO_BOX_TYPES:S.F,AE_SYMBOL:d.kf,PROTOCOLS:i.yv,isAe:J,hasMultisigTokenWarning:s,multisigVaultAddress:Z,activeMultisigAccount:g,multisigVaultOwnedByManyAccounts:ne,accountsAllowedToProposeTxSelectOptions:re,formModel:V,isUrlTippingEnabled:l,fee:z,max:H,errors:U,balance:_,isTipUrl:ee,isMaxValue:te,activeAccount:C,editPayload:se,clearPayload:j,openScanQrModal:G,handleAssetChange:Y,selectAccount:oe,setMaxValue:le,submit:ue,EditIcon:L.A,DeleteIcon:B.A,PlusCircleIcon:W.A}}});var U=a(66262);const N=(0,U.A)(V,[["render",y],["__scopeId","data-v-010136ba"]]),X=N;a(62010);var K={class:"review-tip-wrapper"},j={class:"account-info"},Y={class:"name-address-wrapper"},Q={key:1},G={class:"token-amount-wrapper"},q={class:"lowercase"},H={class:"tip-url"},z={class:"subtitle"};function Z(e,t,a,r,s,o){var l=(0,n.g2)("LinkButton"),i=(0,n.g2)("i18n-t"),u=(0,n.g2)("ModalHeader"),c=(0,n.g2)("Avatar"),d=(0,n.g2)("Truncate"),p=(0,n.g2)("AddressTruncated"),f=(0,n.g2)("TokenAmount"),v=(0,n.g2)("FormTextarea");return(0,n.uX)(),(0,n.CE)("div",K,[(0,n.bF)(u,{title:e.$t("pages.send.sendingCryptoToUrl")},{subtitle:(0,n.k6)((function(){return[(0,n.bF)(i,{keypath:"pages.send.tipInfo",tag:"span",class:"subtitle",scope:"global"},{default:(0,n.k6)((function(){return[(0,n.bF)(l,{href:s.AGGREGATOR_URL,class:"link"},{default:(0,n.k6)((function(){return[(0,n.eW)((0,m.v_)(e.$t("pages.notifications.superhero")),1)]})),_:1},8,["href"])]})),_:1})]})),_:1},8,["title"]),(0,n.Lk)("div",j,[(0,n.bF)(c,{address:r.activeAccount.address,size:"lg"},null,8,["address"]),(0,n.Lk)("div",Y,[r.activeAccount.name?((0,n.uX)(),(0,n.Wv)(d,{key:0,str:r.activeAccount.name},null,8,["str"])):((0,n.uX)(),(0,n.CE)("div",Q,(0,m.v_)(o.getDefaultAccountLabel({idx:r.activeAccount.idx})),1)),(0,n.bF)(p,{"show-explorer-link":"",address:r.activeAccount.address,protocol:s.PROTOCOLS.aeternity},null,8,["address","protocol"])])]),(0,n.Lk)("span",G,[(0,n.eW)((0,m.v_)(e.$t("pages.send.sending"))+" ",1),(0,n.bF)(f,{amount:+a.transferData.amount,symbol:o.tokenSymbol,"hide-fiat":o.isAex9,protocol:s.PROTOCOLS.aeternity,"data-cy":"review-total"},null,8,["amount","symbol","hide-fiat","protocol"]),(0,n.Lk)("span",q,(0,m.v_)(e.$t("pages.send.to")),1)]),(0,n.Lk)("div",H,(0,m.v_)(a.transferData.address),1),(0,n.bF)(v,{modelValue:s.note,"onUpdate:modelValue":t[0]||(t[0]=function(e){return s.note=e}),size:"sm",label:e.$t("pages.send.messageUrlOwner"),message:o.noteError},{"label-after":(0,n.k6)((function(){return[(0,n.Lk)("span",{class:(0,m.C4)(["counter",{"below-zero":o.charactersLeft<0}])},(0,m.v_)(o.charactersLeft),3)]})),_:1},8,["modelValue","label","message"]),(0,n.Lk)("span",z,(0,m.v_)(e.$t("pages.tipPage.claimingExplanation")),1)])}var J=a(38151),ee=a(47206),te=a(39953),ae=a(75417),ne=a(59480),re=a(39893),se=a(28192);const oe={name:"TransferReviewTip",components:{AddressTruncated:se.A,LinkButton:ee.A,ModalHeader:T.A,TokenAmount:te.A,FormTextarea:ae.A,Avatar:ne.A,Truncate:re.A},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0}},setup:function(){var e=(0,c.oV)(),t=e.activeAccount;return{activeAccount:t}},data:function(){return{AGGREGATOR_URL:i.G9,AE_CONTRACT_ID:d.cK,PROTOCOLS:i.yv,note:"",noteMaxLength:280}},computed:{isAex9:function(){var e;return(null===(e=this.transferData)||void 0===e||null===(e=e.selectedAsset)||void 0===e?void 0:e.contractId)!==d.cK},noteError:function(){return this.note.length>this.noteMaxLength?this.$t("pages.tipPage.maxNoteLengthError"):null},charactersLeft:function(){return this.noteMaxLength-this.note.length},tokenSymbol:function(){var e;return(null===(e=this.transferData.selectedAsset)||void 0===e?void 0:e.symbol)||"-"}},watch:{noteError:function(e){this.$emit("error",!!e)},note:function(e){this.$emit("input",(0,J.A)((0,J.A)({},this.transferData),{},{note:e}))}},methods:{getDefaultAccountLabel:u.$W,submit:function(){this.noteError||this.$emit("success")}}},le=(0,U.A)(oe,[["render",Z],["__scopeId","data-v-abf3c1cc"]]),ie=le;var ue={key:0,class:"multisig-account"};function ce(e,t,a,r,s,o){var l=(0,n.g2)("AccountItem"),i=(0,n.g2)("DetailsItem"),u=(0,n.g2)("TokenAmount"),c=(0,n.g2)("TransferReviewBase");return(0,n.uX)(),(0,n.Wv)(c,{title:e.isMultisig?e.$t("modals.multisigTxProposal.title"):void 0,"without-subtitle":e.isMultisig,"sender-label":e.isMultisig?e.$t("modals.multisigTxProposal.signingAddress"):void 0,"base-token-symbol":e.AE_SYMBOL,"transfer-data":e.transferData,loading:e.loading,"avatar-name":e.isAddressChain?e.transferData.address:void 0,"show-fiat":!e.isSelectedAssetAex9,protocol:e.PROTOCOLS.aeternity,class:"transfer-review"},(0,n.eX)({subheader:(0,n.k6)((function(){return[e.isMultisig?((0,n.uX)(),(0,n.CE)("div",ue,[(0,n.bF)(l,{address:e.activeMultisigAccount.gaAccountId,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"])])):(0,n.Q3)("",!0)]})),"additional-fee":(0,n.k6)((function(){return[e.isMultisig?((0,n.uX)(),(0,n.Wv)(i,{key:0,class:"details-item",label:e.$t("modals.multisigTxProposal.fee")},{value:(0,n.k6)((function(){return[(0,n.bF)(u,{amount:e.PROPOSE_TRANSACTION_FEE,symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,"hide-fiat":"","high-precision":"","data-cy":"multisig-review-fee"},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,n.Q3)("",!0)]})),total:(0,n.k6)((function(){return[e.isSelectedAssetAex9?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.Wv)(i,{key:0,label:e.$t("common.total"),class:"details-item"},{value:(0,n.k6)((function(){return[(0,n.bF)(u,{amount:+e.transferData.total,symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,"high-precision":"","data-cy":"review-total"},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"]))]})),_:2},[e.isAddressUrl?{name:"recipient",fn:(0,n.k6)((function(){return[(0,n.bF)(i,{"data-cy":"review-tip-url",class:"tip-url details-item",label:e.$t("pages.send.receivingUrl"),value:e.transferData.address},null,8,["label","value"])]})),key:"0"}:void 0]),1032,["title","without-subtitle","sender-label","base-token-symbol","transfer-data","loading","avatar-name","show-fiat","protocol"])}a(44114),a(2892);var de=a(91087),pe=a(90973);const me=JSON.parse('[{"namespace":{"name":"Option","typedefs":[]}},{"namespace":{"name":"ListInternal","typedefs":[]}},{"namespace":{"name":"List","typedefs":[]}},{"namespace":{"name":"String","typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"int"},{"name":"_2","type":"int"}],"name":"set_paid","payable":false,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"PoS","payable":false,"typedefs":[]}},{"contract":{"event":{"variant":[{"Transfer":["address","address","int"]},{"Allowance":["address","address","int"]},{"Burn":["address","int"]},{"Swap":["address","int"]}]},"functions":[{"arguments":[],"name":"aex9_extensions","payable":false,"returns":{"list":["string"]},"stateful":false},{"arguments":[{"name":"name","type":"string"},{"name":"decimals","type":"int"},{"name":"symbol","type":"string"},{"name":"initial_owner_balance","type":{"option":["int"]}}],"name":"init","payable":false,"returns":"FungibleTokenFull.state","stateful":false},{"arguments":[],"name":"meta_info","payable":false,"returns":"FungibleTokenFull.meta_info","stateful":false},{"arguments":[],"name":"total_supply","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"owner","payable":false,"returns":"address","stateful":false},{"arguments":[],"name":"balances","payable":false,"returns":"FungibleTokenFull.balances","stateful":false},{"arguments":[{"name":"account","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[],"name":"swapped","payable":false,"returns":{"map":["address","int"]},"stateful":false},{"arguments":[],"name":"allowances","payable":false,"returns":"FungibleTokenFull.allowances","stateful":false},{"arguments":[{"name":"allowance_accounts","type":"FungibleTokenFull.allowance_accounts"}],"name":"allowance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"}],"name":"allowance_for_caller","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"},{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value","type":"int"}],"name":"create_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value_change","type":"int"}],"name":"change_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"}],"name":"reset_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"value","type":"int"}],"name":"burn","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"swap","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"account","type":"address"}],"name":"check_swap","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"value","type":"int"},{"name":"pos","type":"PoS"},{"name":"id","type":"int"}],"name":"burn_trigger_pos","payable":false,"returns":{"tuple":[]},"stateful":true}],"kind":"contract_main","name":"FungibleTokenFull","payable":false,"state":{"record":[{"name":"owner","type":"address"},{"name":"total_supply","type":"int"},{"name":"balances","type":"FungibleTokenFull.balances"},{"name":"meta_info","type":"FungibleTokenFull.meta_info"},{"name":"allowances","type":"FungibleTokenFull.allowances"},{"name":"swapped","type":{"map":["address","int"]}}]},"typedefs":[{"name":"meta_info","typedef":{"record":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"int"}]},"vars":[]},{"name":"allowance_accounts","typedef":{"record":[{"name":"from_account","type":"address"},{"name":"for_account","type":"address"}]},"vars":[]},{"name":"balances","typedef":{"map":["address","int"]},"vars":[]},{"name":"allowances","typedef":{"map":["FungibleTokenFull.allowance_accounts","int"]},"vars":[]}]}}]');var fe=a(60831),ve=function(e,t,a,n){function r(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,s){function o(e){try{i(n.next(e))}catch(t){s(t)}}function l(e){try{i(n["throw"](e))}catch(t){s(t)}}function i(e){e.done?a(e.value):r(e.value).then(o,l)}i((n=n.apply(e,t||[])).next())}))};const ge=(0,n.pM)({name:"AeTransferReview",components:{TokenAmount:te.A,DetailsItem:C.A,TransferReviewBase:fe.A,AccountItem:w.A},model:{prop:"transferData"},props:{transferData:{type:Object,required:!0},recipientAddress:{type:String,default:null},amount:{type:Number,default:null},isMultisig:Boolean,isAddressChain:Boolean,isAddressUrl:Boolean},setup:function(e,t){var a=t.emit,r=(0,b.rd)(),s=(0,l.s9)(),p=s.t,m=(0,c.mv)(),f=m.homeRouteName,v=(0,c.U8)(),g=v.openDefaultModal,y=(0,c.si)(),h=y.openCallbackOrGoHome,_=(0,c.rb)(),T=_.addAccountPendingTransaction,w=(0,c.oV)(),O=w.activeAccount,S=(0,c.CP)(),M=S.getAeSdk,C=(0,c.ci)(),I=C.activeMultisigAccount,P=C.addTransactionToPendingMultisigAccount,F=C.updateMultisigAccounts,D=(0,c.kz)(),E=D.getTippingContracts,R=(0,c.Y7)(),L=R.createOrChangeAllowance,B=(0,o.KR)(!1),W=18294e-8,$=(0,n.EW)((function(){var t,a;return(null===(a=null===(t=e.transferData)||void 0===t?void 0:t.selectedAsset)||void 0===a?void 0:a.contractId)!==d.cK}));function V(){g({title:p("modals.transaction-failed.msg"),icon:"critical"})}function U(e,t,a,n,r){return ve(this,void 0,void 0,(0,A.A)().mark((function s(){var o,l;return(0,A.A)().wrap((function(s){while(1)switch(s.prev=s.next){case 0:return s.next=2,M();case 2:return o=s.sent,s.next=5,o.initializeContract({aci:me,address:e});case 5:return l=s.sent,s.abrupt("return",l.burn_trigger_pos(n.toFixed(),t,a,r));case 7:case"end":return s.stop()}}),s)})))}function N(t){var n,r=t.amount,s=t.recipient,o=t.selectedAsset;return ve(this,void 0,void 0,(0,A.A)().mark((function t(){var l,u,c,p,m;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(l=o.contractId===d.cK,B.value=!0,t.prev=2,null===e.transferData.invoiceId){t.next=9;break}return t.next=6,U(o.contractId,r.toString(),e.transferData.invoiceContract,e.transferData.invoiceId,{waitMined:!1});case 6:u=t.sent,t.next=20;break;case 9:if(l){t.next=16;break}return c=x.C.getAdapter(i.yv.aeternity),t.next=13,null===(n=c.transferToken)||void 0===n?void 0:n.call(c,Number(r),s,o.contractId,{waitMined:!1});case 13:u=t.sent,t.next=20;break;case 16:return p=x.C.getAdapter(i.yv.aeternity),t.next=19,p.spend(Number(r),s,{payload:e.transferData.payload});case 19:u=t.sent;case 20:return u&&(m={hash:u.hash,pending:!0,transactionOwner:O.value.address,protocol:i.yv.aeternity,tx:{amount:Number(r),callerId:O.value.address,contractId:o.contractId,senderId:O.value.address,type:l?de.vw[de.vw.SpendTx]:de.vw[de.vw.ContractCallTx],function:d.vG.transfer,recipientId:s,arguments:[],fee:0}},T(O.value.address,m)),a("success"),t.abrupt("return",null===u||void 0===u?void 0:u.hash);case 25:throw t.prev=25,t.t0=t["catch"](2),V(),t.t0;case 29:return t.prev=29,B.value=!1,t.finish(29);case 32:case"end":return t.stop()}}),t,null,[[2,25,29,32]])})))}function X(t){var n=t.amount,r=t.recipient,s=t.selectedAsset,o=t.note;return ve(this,void 0,void 0,(0,A.A)().mark((function t(){var l,c,p,m,f,v;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return B.value=!0,t.prev=1,l=null,t.next=5,E();case 5:if(c=t.sent,p=c.tippingV1,m=c.tippingV2,f=m||p,s.contractId===d.cK||!m){t.next=17;break}return t.next=12,L(s.contractId,e.amount);case 12:return t.next=14,m.tip_token(r,(0,u.y5)(o),s.contractId,n);case 14:l=t.sent,t.next=20;break;case 17:return t.next=19,f.tip(r,(0,u.y5)(o),{amount:n,waitMined:!1});case 19:l=t.sent;case 20:v={hash:l.hash,pending:!0,protocol:i.yv.aeternity,tipUrl:r,transactionOwner:O.value.address,tx:{amount:n,callerId:O.value.address,contractId:f.$options.address,type:de.vw[de.vw.ContractCallTx],function:"tip",selectedTokenContractId:s.contractId,arguments:[],fee:0}},T(O.value.address,v),h(!0),a("success"),t.next=32;break;case 26:throw t.prev=26,t.t0=t["catch"](1),h(!1),V(),t.t0.payload={url:r},t.t0;case 32:return t.prev=32,B.value=!1,t.finish(32);case 35:case"end":return t.stop()}}),t,null,[[1,26,32,35]])})))}function K(){return ve(this,void 0,void 0,(0,A.A)().mark((function t(){var n,s,o,l,i,d;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(B.value=!0,t.prev=1,n=(0,c.jC)(),s=n.buildSpendTx,o=n.proposeTx,l=n.postSpendTx,!I.value){t.next=16;break}return t.next=6,s(I.value.gaAccountId,e.transferData.address,(0,k.qX)(e.transferData.amount),e.transferData.payload||void 0);case 6:return i=t.sent,t.next=9,o(i,I.value.contractId);case 9:return d=t.sent,I.value.pending&&P(d,I.value.gaAccountId,O.value.address),t.next=13,l(i,d);case 13:return t.next=15,F();case 15:r.push({name:pe.Ie});case 16:t.next=21;break;case 18:t.prev=18,t.t0=t["catch"](1),(0,u.fY)(t.t0);case 21:return t.prev=21,a("success"),B.value=!0,t.finish(21);case 25:case"end":return t.stop()}}),t,null,[[1,18,21,25]])})))}function j(){return ve(this,void 0,void 0,(0,A.A)().mark((function t(){var a,n,s,o,l,i,c;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=e.transferData,n=a.amount,s=a.address,o=a.selectedAsset,l=a.note,n&&s&&o){t.next=3;break}return t.abrupt("return");case 3:if(i=o.contractId===d.cK?(0,k.qX)(n):(0,u.Y9)(n,o.decimals),!e.isMultisig){t.next=9;break}return t.next=7,K();case 7:t.next=18;break;case 9:if(!e.isAddressUrl){t.next=14;break}return t.next=12,X({amount:i,recipient:s,selectedAsset:o,note:l});case 12:t.next=18;break;case 14:return t.next=16,N({amount:i,recipient:s,selectedAsset:o});case 16:c=t.sent,r.push({name:f.value,query:{latestTxHash:c}});case 18:case"end":return t.stop()}}),t)})))}return{PROTOCOLS:i.yv,isSelectedAssetAex9:$,activeMultisigAccount:I,AE_SYMBOL:d.kf,AE_CONTRACT_ID:d.cK,PROPOSE_TRANSACTION_FEE:W,loading:B,submit:j}}}),ye=(0,U.A)(ge,[["render",ce],["__scopeId","data-v-341447da"]]),Ae=ye,be=(0,n.pM)({name:i.iP,components:{TransferSendBase:p.A},props:Object.assign(Object.assign({},p.g),{tokenContractId:{type:String,default:null},isMultisig:Boolean}),setup:function(e){var t=(0,l.s9)(),a=t.t,r=(0,c.CP)(),p=r.isAeNodeReady,m=(0,c.Y7)(),f=m.getProtocolAvailableTokens,v=(0,o.KR)(),g=(0,o.KR)(i.x0.form),y=(0,o.KR)(!1),A=(0,o.KR)({address:e.address,amount:e.amount,payload:e.payload,selectedAsset:e.tokenContractId?f(i.yv.aeternity)[e.tokenContractId]:void 0}),b=(0,n.EW)((function(){var e;return!!(null===(e=A.value.address)||void 0===e?void 0:e.endsWith(d.CT))})),x=(0,n.EW)((function(){return!b.value&&A.value.address&&(0,u.Ks)(A.value.address)})),h=(0,n.EW)((function(){return y.value||!p.value||!A.value.address||!A.value.amount})),k=(0,n.EW)((function(){return e.isMultisig?a("modals.multisigTxProposal.proposeAndApprove"):""}));function _(){v.value.submit()}function T(){g.value=x.value?i.x0.reviewTip:i.x0.review}function w(){g.value=i.x0.review}function O(){y.value=!1,g.value=i.x0.form}var S=(0,s.A)((0,s.A)((0,s.A)({},i.x0.form,{component:X,onSuccess:T}),i.x0.reviewTip,{component:ie,onSuccess:w}),i.x0.review,{component:Ae,onSuccess:e.resolve}),M=(0,n.EW)((function(){return S[g.value]}));return{TRANSFER_SEND_STEPS:i.x0,PROTOCOLS:i.yv,currentRenderedComponent:v,steps:S,currentStep:g,error:y,transferData:A,currentStepConfig:M,isAddressChain:b,isAddressUrl:x,isSendingDisabled:h,customPrimaryButtonText:k,proceedToNextStep:_,editTransfer:O}}}),xe=(0,U.A)(be,[["render",r]]),he=xe}}]); \ No newline at end of file diff --git a/js/locale-cn.2f3367b5.js b/js/locale-cn.2f3367b5.js deleted file mode 100644 index e17aa3b05..000000000 --- a/js/locale-cn.2f3367b5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[625],{1659:e=>{e.exports=JSON.parse('{"common":{"address":"地址","ae":"AE","all":"全部","amount":"数量","callData":"呼叫数据","cancel":"取消","confirm":"确认","contractId":"合约Id","copy":"复制","days":"{n} 天 | {n} 天 | {n} 天","edit":"编辑","hours":"{n} 小时 | {n} 小时 | {n} 小时","minutes":"{n} 分钟 | {n} 分钟 | {n} 分钟","next":"下一步","ok":"好的","pending":"等待","receive":"接收","send":"发送","total":"总共"},"connectionStatus":{"node":{"error":"无法连接到所选节点","connecting":"连接节点中...","connected":"已连接"}},"badges":{"verified":"已验证","notVerified":"未验证"},"modals":{"payloadForm":{"doneBtn":"完成"},"transaction-failed":{"msg":"我们执行不了这笔交易,请稍候再次尝试。"},"required":{"msg":"请填写所有栏目。"},"only-chars":{"msg":"只允许字母和数字。"},"name-exist":{"msg":"这个名称已注册。"},"name-length":{"msg":"超级英雄里的名称至少要有13个字符。"},"incorrect-address":{"msg":"请确认你输入的是一个有效的公开地址。"},"incorrect-amount":{"msg":"请确认你输入的是一个有效的金额。"},"insufficient-balance":{"msg":"你没有足够的账户余额来完成这笔交易。"},"removeAccount":{"title":"你确定要移除这个账户?","msg":"这一操作将会从你的钱包移除你的账户并删除相关的存储。操作之前请确定已经备份了你的助记词。 这一操作不能撤销!"},"verified":{"title":"什么是一个 \\"验证过的\\" URL?","msg":"如果一个URL 被标记为已验证,它的意思是这个URL的所有者已经是超级英雄的一员——这非常棒!在页面上可以看到AE地址并且可以很简单地领取小费。"},"not-verified":{"title":"当一个URL \\"没有被验证\\"时是什么意思?","msg":"这意味着URL的主人还没有创建 超级英雄钱包。一旦他们创建了超级英雄钱包并把钱包地址添加到相应的网站就可以领取小费了。 "},"blacklisted":{"title":"什么是 \\"难以接近的\\" URL?","msg":"超级英雄钱包可以打赏任何公开URL。当前,需要登陆才能查看信息的网页还不能被打赏。我们依然在寻找解决方案。"},"not-secure":{"title":"Superhero Wallet is marking HTTP sites as \\"Not secure\\" - please, use URLs with HTTPS, only.","msg":"The S in HTTPS stands for \\"secure.\\" The TLS (or SSL) certificate proves that the server is actually the legitimate host of the website. Website using HTTPS are more trustworthy and secure, for both users and website owners."},"error-log":{"title":"出错了","sub-title":"成为超级英雄!","content":"请提供关于你遇到的错误的更多信息,这样可以提升我们的超能力。没有私人数据会被删除。","create-report":"创建报告"},"donate-errors":{"title":"你的错误报告已发送","msg":"感谢你这样助人为乐的超级英雄!"},"donate-errors-error":{"title":"你的错误报告未被发送","msg":"发送你的错误报告时发生了某个问题。"},"confirmTransactionSign":{"recipientId":"接收者Id","commitmentId":"承诺Id","nameFee":"名称费","nameId":"名称Id","pointers":"指向者","data-sign":"数字签名"}},"transaction":{"fee":"交易费","type":{"spendTx":"花费","contractCreateTx":"创建合约","contractCallTx":"呼叫合约","namePreclaimTx":"名称预申明","nameClaimTx":"申明名称","nameUpdateTx":"更新名称","nameTransferTx":"转移名称","nameRevokeTx":"撤销名称","oracleRegisterTx":"注册预言机","oracleExtendTx":"扩展预言机","oraclePostQueryTx":"查询预言机","oracleRespondTx":"响应预言机","channelCloseSoloTx":"单向关闭通道","channelSlashTx":"断开通道","channelSettleTx":"结算通道","channelSnapshotSoloTx":"单方面快照通道"}},"pages":{"intro":{"heading":"介绍","skip":"跳过","generateWallet":"生成钱包","receive":"接收小费","step1text":"为创造和策划伟大的内容,参与有意义的讨论,推动人类的事业,成为一个不错的人","step2text":"给伟大的网络内容创造者、人道主义事业以及其他令人敬畏的人——不管出于什么原因。","step3text-1":"这个钱包不会——并永远不会从你的发送和接收中收取佣金","step3text-2":"超级英雄是特地创造的,除了你自己没有人可以控制你的资金。","createdWallet":"你的钱包已创建!","step4text-0":"欢迎来到自由之网。","step4text-1":"去信任:没有第三方干预。转帐完全是P2P模式。","step4text-2":"去审查:没有管理人员指定什么可以货币化什么不可以货币化。","step4text-3":"用区块链永久记录信息:评论和消息会在区块链上永久的标记时间并记录。","step4text-4":"即时的,无国界的,交易费几乎为零。","step4text-iframe-1":"但这并不是全部","step4text-iframe-2":"Superhero wallet is also available as browser extension and mobile app so you can use it on your preferred platforms and devices.","toHome":"进入钱包","ever":"任何时候","welcome":"欢迎登陆!","understand":"我知道这是一个加密钱包并且我有责任备份我的钱包助记词。","extension":"浏览器拓展","mobileApp":"移动app"},"titles":{"settings":"钱包设置","language":"语言","security":"安全","about":"关于","sendTips":"打赏","scanQr":"扫描二维码","terms":"使用条款","privacy":"隐私政策","importAccount":"检索现有帐户","activity":"历史活跃度","topUp":"充值","notifications":"通知","names":"名称","bidding":"出价","commentNew":"添加注释","home":"超级英雄之家","donateError":"捐赠数据","networks":"网络","address":"发送地址","allowances":"津贴","signMessage":"签名信息","invite":"邀请","saveErrorsLog":"保存错误日志"},"about":{"heading":"关于","systemName":"超级英雄","terms":"使用条款","privacyPolicy":"隐私政策","reportBug":"报告bug"},"account":{"heading":"帐户","activity":"活跃度","accountName":"帐户名称","claim":"领赏","latestTransactions":"最新转帐","noTransactionsFound":"未发现转帐!","balance":"余额","copied":"已复制!","backup":"备份","updateExtension":"有新版本!请更新扩展","claim-name":"申明你的.chain名称"},"claim":{"claim":"领取小费","noZeroClaim":"这个URL没有可以被领取的小费。","noAddress":"没有发现地址","errorClaim":"错误。","ae":"AE代币","claimed":" 领取申请已发送! ","url":"URL","tipsOnUrl":"这个URL下的小费","urlNotExisting":"当前这个URL下没有小费。","moreOracles":"没有足够多活跃预言机验证你的领取申请。请稍候尝试。","oracleFailed":"预言机检测领取失败。请稍候尝试。","unknownError":"领取期间发生错误。请稍候尝试。","noMobileClaim":"当前领取只能在桌面上进行。"},"claimTips":{"title":"领赏","urlToClaim":"为这个URL领取小费:"},"notFound":{"notFound":"找不到请求的页面","initialPage":"打开初始页面"},"recentTransactions":{"recentActivity":"近期活跃情况","noTransactionsFound":"未发现交易!"},"advancedSettings":{"heading":"高级","backToSettings":"设置","exportKeypair":"导出keypair","exportKeystore":"到处keystore"},"airGapSetup":{"heading":"AirGap设置","step1heading":"在手机是安装AirGap","step1info":"在商店搜索AirGapor或扫描这个二维码","step1buttonNext":"下一步","setupSteps1heading":"在第二个设备上打开AirGap","setupSteps2heading":"创建秘钥","setupSteps3heading":"以正确的顺序写下来","setupSteps4heading":"添加一个aeternity钱包","setupSteps5heading":"连接你的aeternity钱包","setupSteps1":"为了安全起见,在打开AirGap前请断开网络连接","setupSteps2":"没有网络连接对于秘钥来说是最高的安全性","setupSteps3":"在恢复的时候你需要用到它","setupSteps4":"点击钱包,添加钱包,并选择aeternity","setupSteps5":"将你的保险库连接到aeternity地址以结束","linkVault":"连接Vault"},"auctionBid":{"backToAuctions":"返回拍卖","bidding":"出价","bidOn":"出价给","requiredField":"此处必填","current-highest-bid":"当前最高出价","remaining-time":"剩余时间"},"connectConfirm":{"websiteRequestConnect":"想要连接到你的帐户","websiteRequest":"网站请求查看你的当前地址。请确认当前网站可信。 ","cancelButton":"拒绝","confirmButton":"接受","addressLabel":"地址","transactionLabel":"交易","addressRequest":"aepp请求查看你的当前地址","transactionRequest":"aepp 可能会准备交易,您有责任进行确认。","websiteRequestAccounts":"想要获取帐户地址","addressesLabel":"地址","addressesRequest":"aepp请求查看你的帐户地址"},"token-details":{"token":"代币"},"names":{"default":"默认","balance-error":"你的帐户余额不足以支付这笔交易。","pointer-added":"名称{type} 成功!","auto-extend":"Auto-extend","list":{"no-names":"未发现名称","button":"你的名称"},"details":{"name":"名称","name-id":"名称ID","owner":"所有者","created-height":"创建高度","expires-height":"过期高度","pointer":"指向#{id}","set-default":"设置为默认名称","extend":"扩展","set-pointer":"设置名称指向","address-placeholder":"输入 ak_, ct_, ok_ or .chain名称"},"claim":{"name-placeholder":"输入.chain名称","button":"申明"},"auctions":{"button":"拍卖","soonest":"最快的","length":"名称长度","bid":"出价","expires":"生成","no-auctions":"没有拍卖","not-found":"未发现","current-bid":"当前出价","previous-bids":"先前出价","bidding":"去出价","bid-on":"出价","current-heighest-bid":"当前最高出价","remaining-time":"剩余时间","add-amount":"输入数量","min-bid":"出价必须高于{minBid} AE","bid-added":"加价成功"}},"languageSettings":{"backToSettings":"返回设置","heading":"语言","switchLanguage":"语言","currentLanguage":"当前语言"},"index":{"term1":"我同意超级英雄","term2":"适用条款","term3":"隐私政策","termsAndConditions":"适用条款","heading":"没有隐藏议程的社交平台。","webVersion":"或者使用网页版","mobileVersion":"不仅仅是在 aeternity 区块链上接收、存储和发送硬币的方式","securingAccount":"保护你的帐户","generateWallet":"生成新钱包","importWallet":"检索现有帐户","passwordError":"密码至少需要4个符号。","loginButton":"登录","seedPhrase":"助记词","enterSeedPhrase":"输入你的助记词。 ","continueButton":"继续","continue":"继续","importAccount":"导入帐户","accountNotFound":"未发现帐户。","checkSeed":"请检查你的助记词。"},"ledgerSetup":{"ledgerConnectSetup":"怎么从Ledger连接","ledgerAccount":"添加Ledger帐户","ledgerSteps":"步骤","ledgerUsb":"通过USB连接你的Ledger并解锁它","ledgerLedger":"在Ledger上打开aeternity app","ledgerAccountCreate":"点击下方按钮创建第一个帐户"},"privacyPolicy":{"backButton":"返回","heading":"隐私政策","content":"您的隐私对我们很重要。关于我们可能从我们的网站和我们拥有和运营的其他网站收集您的任何信息,超级英雄的政策是尊重您的隐私。我们不会为了向您提供服务而要求您提供个人信息。我们不会为提供您所要求的服务而收集和保留任何信息。我们不会公开或与第三方分享任何个人身份信息。我们的网站和浏览器可能链接到非我们操作的外部网站。请注意,我们无法控制这些网站的内容和做法,也不能为其各自的隐私政策承担责任。您继续使用我们的网站将被视为接受我们在隐私和个人信息方面的做法。如果您对我们如何处理用户数据和个人信息有任何疑问,请随时与我们联系。本政策自2020年1月31日起生效。"},"qrCodeReader":{"heading":"二维码扫描"},"receive":{"heading":"接收代币需要提供这个地址或扫描下方的二维码。","home":"主页","transferExchange":"加密资产换取AE代代币","purchase":"购买AE代币"},"seed-phrase-settings":{"backToSettings":"返回在设置","heading":"安全和隐私","privacyDataHeading":"隐私数据","privacyDataSmall":"清除所有隐私数据,所有网站需要发送请求才能再次查看帐户信息。","privacyDataClearBtn":"清除所有隐私数据","privateKeyHeading":"查看私钥","privateKeySmall":"在输入密码之后可以查看私钥","privateKeyRevealBtn":"查看私钥","privateKeyWarning":"不要向任何人展示你的私钥,私钥可以用于从你所有的帐户里盗窃","privateKey":"你的私钥","showPrivateKey":"显示私钥","incorrectPassword":"密码错误","decryptingPrivateKey":"解密私钥","seedRecoveryHeading":"显示助记词","seedRecoverySmall":"你的助记词(也被称为私钥)是访问你的帐户的钥匙或密码。请不要向任何人展示。并请确定你已在没有其他人可以看到同时你自己永远不会丢失的纸上备份了助记词。丢失了钥匙意味着不能再访问你的钱包和小费","seedRecoveryBtn":"显示助记词","seedPhrase":"你的助记词","copy":"复制到剪贴板"},"seedPhrase":{"securingAccount":"保护你的帐户","attentionMsg":"请确保你的助记词的安全! 超级英雄不会储存,也不能帮你恢复你的助记词。 保证它的安全是你的责任。 如果你失去了助记词,你将失去你的钱包和所有的资金。","tips":"保护资金的小贴士","tip1":"在多个地方保存助记词的备份","tip2":"牢记钱包的密码","tip3":"不要向任何人展示你的助记词","keepCarefully":"保证助记词的安全!写下这12个单词并把它们保存在安全的地方。将来你它们来恢复你的帐户。 ","confirmSeedPhrase":"确认你的助记词。点击下面的单词,以正确的顺序组成你的助记词","recoveryPhrase":"你的助记词","first":"第一","second":"第二","third":"第三","backupText":"在一张只有你可以看到的纸或文件上备份你的助记词。多做几个备份。","dontLose":"千万不要丢失助记词!","nextScreen":"请确认助记词正确,你将会在下一个页面被要求重写助记词。","verifySeed":"验证助记词","doneThis":"我已完成验证","verify":"验证","seedConfirmed":"助记词已确认。","toDashboard":"返回导航"},"send":{"heading":"新的转账","txFee":"最少转账手续费","maxSpendableValue":"最大可转账价值","success":"成功","seeTransactionExplorer":"在浏览器中查看转账。","scan":"扫描二维码","review":"接收","reviewtx":"接收转账","checkalert":"清仔细核对转账信息。","sender":"发送地址","recipient":"接收地址","successalert":"您已成功发送 ","to":"到","hash":"转账Hash","home":"主页"},"signTransaction":{"unknownAccount":"未知","name":"名称","nameSalt":"名称随机数","nameId":"名称Id","reject":"拒绝","contractCall":"调用合约","contractCalling":"正在调用合约方法。请不要关闭窗口","insufficientBalance":"余额不足","incorrectAddress":"地址错误","compiledCode":"编译后的代码","callData":"调用数据","payload":"附言","newContract":"新合约","aens":"AENS","balanceError":"你的帐户余额不足以执行这笔交易。","from":"从"},"termsOfService":{"backButton":"返回","terms-of-use":"使用条款","terms-with-quotes":"(„条款“)","terms":"条款","sub-heading":"当前 @:termsOfService.terms-of-use 创建于2020年4月3日。","section0Content":"@:termsOfService.superhero-com 根据 @:termsOfService.company 的政策和实践,保留更改 @:termsOfService.terms-of-use 的权力。当在 @:termsOfService.our-superhero-wallet 宣布时新版本的@:termsOfService.terms-of-use将正式生效,除非另有规定。","superhero-com":"Superhero.com LVC","company":"公司","our-superhero-wallet":"我们的超级英雄钱包","section01Content":"这个软件由SUPERHERO.COM LVC提供,没有任何形式的保证,明示或暗示,包括但不限于对适销性、特定用途的适用性和非侵权的保证。在任何情况下,作者都不对任何索赔、损害或其他责任负责,无论是在合同、侵权或其他行为中,还是由软件,软件的使用或其他交易引起的事情中。","section02Content":"这些@:termsOfService.terms-of-use 条款带引号 仅适用于超级英雄钱包(以下简称“ @:termsOfService.wallet ”或“ @:termsOfService.application ”)和 @:termsOfService.website-extension 上的所有可用内容。请确保您在使用 @:termsOfService.application 之前仔细阅读了 @:termsOfService.terms 。否则,您使用了它,我们就认为这些动作暗示了同意@:termsOfService.terms-of-use。这些使用术语代表您、您所代表的法律实体、您注册的法律实体(统称为„您“)以及Superhero.com LVC或您对超级英雄钱包的使用 @:termsOfService.website-extension 的使用达成约束性协议。","superHero-wallet":"超级英雄钱","wallet":"钱包","application":"应用程序","website-extension":"网站扩展","you":"you","superhero-we-us-with-quotes":"(“超级英雄”, “我们”, “我们”","our-with-quotes":"“我们的”)","section1Title":"1. 定义","section1Content":"1.1.Superhero.com(Superhero.com ”, “我们”, “我们”,“我们的”或“公司”)成立的是家公司,超级英雄钱包相关问题的邮箱联系地址是: superherowallet{\'@\'}protonmail.com。超级英雄钱包由Superhero.com公司创造。 \\n 1.2. ​„使用者“或者„你“ 代表下载并使用超级英雄钱包网站扩展的自然人或法人。\\n 1.3. „​区块链“代表记录清单,也称为区块,区块间以密码学方法相连。​这个技术允许大量的人对数据进行获取并达成共识,之后数据会被永久地记录下来了,没有中央权威的存在。用户可以在aeternity区块链上获取,创造,保存信息。分散式、分布式和公共的数字账本用于在验证器的帮助下以信息块的形式记录交易,这些信息是不能被逆向更改的。\\n 1.4。“超级英雄钱包”(“钱包”或“应用程序”)是一个网站扩展,它允许支持者向内容创建者、事业、慈善机构、团体或普通个人发送价值,作为对贡献准确信息、相关见解和高质量内容的奖励。网站扩展是一个软件,作为一个附添加到网络浏览器Firefox并为浏览器提供附加功能。该应用程序可以在https://addons.mozilla.org/en-us/firefox/addon/superhero-wallet-extension/获取。捐款和评论的结果发布在https://superhero.com/网站上。\\n 1.5。“验证者”是独立的自然人或实体,他们在任何方面都不属于Superhero.com的一部分。它们在系统中的功能包括模块的组成和在aeternal网络中传播这些模块。1.6 \\n。“帐户地址”是用户公钥的散列版本,用于在应用程序中识别用户。1.7 \\n。“密钥”表示唯一相关的用于加密和解密信息的随机数私钥和公钥。它们在系统中的功能包括区块的组成和在aeternity网络中对区块的广播。","section2Title":"2.总则","section2Content":"Superhero.com将这款应用程序设计并创建成一种加密货币钱包,用户可以通过它存储和发送Superhero.com代币,来向创建者、慈善机构、团体或普通个人进行捐赠,作为对贡献准确信息、相关见解和高质量内容的奖励。用户可以通过应用程序向不同的网站捐款。该应用程序会自动搜寻该网站的公开密码匙,以供捐款之用。捐款可以按照以下两种方式进行——用户可以给整个网站的所有者打赏,或者用户可以选择网站上写了新闻的特定创建者和作者给他们打赏代币。\\n此后,https://superhero.com/网站反映了用户的捐赠和评论,并给予其他用户对本网站新闻供应中可获取的新闻进行积极捐赠和评论的可能性。\\n用户可以浏览他们的转帐记录。钱包会显示用户的代币。用户负责资金的安全保管、收发。\\n应用程序是为小额转帐而构建的。应用程序可以进行大容量的交易或存储,风险由用户自行承担。","section3Title":"3. 用户识别","section3Content":"应用程序使用帐户地址来识别用户。\\n如果用户要发送Superhero.com代币,他们应该只共享他们的帐户地址。应用程序不会共享或收集任何其他信息。一旦用户下载了应用程序,钱包就会自动生成账户地址。有关帐户地址处理的详细资料,请参阅应用程序的私隐政策。","section4Title":"​4. 用户责任","section4Content":"作为用户,您同意以下适用于Superhero.com的规则:\\n●您应遵守当前条款内设置的规则,并按照适用法律诚心诚意地地在应用程序中执行任何行动;\\n●您是成年人,您不是司法残疾人士(您已取得完全法律行为能力);\\n●您不应试图从其他用户处获取或获得访问任何个人或可识别信息的权限,包括但不限于助记词,也不应披露您自己相应信息;\\n●您不得以任何方式破坏或利用该应用程序,或将该应用程序用于任何非法活动或超出其创建目的;\\n●您的行为不应以任何方式误导您被认为您是另一个人或公司;你不得故意使用他人的助记词、帐号地址等,以表示自己是其他人。如果公司怀疑用户存在身份盗窃和欺诈行为,Superhero.com将采取任何可能的行动来处理这些情况;\\n●您使用的设备不包含或安装任何病毒、蠕虫、恶意软件、木马或其他有害或破坏性内容;\\n任何违反本条款之行为,均由使用者负责。","section5Title":"5. 保证及免责声明","section6Title":"6. 税收和费用","section6Content":"钱包不收取任何使用该应用程序的费用或税收-它是免费的。但是,Superhero.com区块链上的交易需要支付税费,包括但不限于矿工费、gas税、交易费。税费的数额是单方面固定的。\\n此外,根据领土访问地点的不同,通过应用程序转移和接收资金可能需要向不同国家的公共当局缴纳税款和费用,具体视法律法规而定。用户有义务告知自己这些要求,并对他们的捐赠全权负责。","section7Title":"7. 第三方平台","section7Content":"为了捐赠,用户应该在“发送提示到”处复制粘贴他们想捐赠的网站的URL。请记住,创建应用程序是为了促进来自世界各地的全面、透明、有用和准确的信息的共享。因此,用户应对任何违反钱包目的和本条款使用钱包的行为负全部责任。Superhero.com并不控制捐赠的网站,Superhero.com对网站上的内容不承担任何责任。","section8Title":"8. 许可证","section8Content":"该应用程序由Superhero.com创建、开发和运营。应用程序上的每个组件,包括但不限于在应用程序上显示的图标、商标和其他知识产权,均被视为Superhero.com的财产,受适用的知识产权法律保护。未经超级英雄明确同意,不得使用超级英雄的任何知识产权。\\n未经Superhero.com事先明确书面同意,任何上述元素不得编辑、下载、复制、用于商业目的,不得以任何方式和/或任何媒介部分或全部发布和传播上述内容。\\n超级英雄保留对侵犯知识产权的行为采取任何必要法律行动的权利。","section9Title":"9. 知识产权","section9Content":"用户理解并接受应用程序可以定期进行修改、更新、维护或技术支持,这可能在一定程度上影响钱包的使用、应用程序的可视化呈现或可能导致故障。在后一种情况下,如果您作为用户注意到资金、设置、帐户或应用程序上的任何其他信息的变化,请联系superherowallet{\'@\'}protonmail.com寻求帮助。","section10Title":"10. 修改","section10Content":"列支敦士登的立法和管辖权适用于本条款以外的问题。条款中一个或多个条款的无效并不会导致整个条款的无效。\\n本隐私政策是本条款不可分割的一部分,应被视为具有强制性的补充文件。除非隐私政策中另有明确规定,本条款中的所有规则将保持有效。","section11Title":"11. 最后条款"},"tipPage":{"claimingExplanation":"如果您已经将您的钱包地址添加到您的URL,通过点击下面的领取按钮您可以立即领取小费","url":"发送小费到","minAmountError":"小费的代币价值必须超过0.01美元才能发送。"},"transactionDetails":{"heading":"交易细节","date":"日期","type":"类型","txFrom":"从","txTo":"到","txHash":"Tx hash","transactions":"交易","backToTransactions":"返回交易","explorer":"在浏览器中查看","txName":"名称","txAccount":"数量","name":"名称","nameSalt":"名称随机数","nameId":"名称Id","advancedMode":"高级模式","blockHeight":"区块高度","signatures":"签名","nonce":"Nonce","callData":"呼叫数据","gas":"Gas","gasPrice":"Gas价格","code":"代码","abiV":"Abi版本","vmV":"Vm版本","payload":"附言","commitment":"承诺id","clientTtl":"客户TTL","nameTtl":"名称TTL","pointerId":"指向Id","pointerKey":"指向秘钥","moreInfo":"更多信息","sent":"发送","received":"已接收","withdrawals":"提币","topups":"充值"},"transactions":{"heading":"转帐记录","filters":"筛选","loadMore":"显示更多","allLoaded":"显示所有转帐。","newTransactions":"新近转帐","noTransactions":"未发现转帐","type":"类型","incoming":"收入","outgoing":"支出","spendType":"花费类型","spexdTx":"花费tx","namePreclaim":"名称预申明tx","nameClaim":"名称申明tx","nameUpdate":"名称更新tx","createTx":"创建tx","clear":"清除筛选","apply":"申请筛选","sent":"发送","received":"接收"},"aeAddressInput":{"label":"Aeternity地址","identicon":"你的 identicon","error":"无效AE地址"},"popupMessageSign":{"title":"签名消息","heading":"想要签名消息","message":"消息"},"network":{"url":"URL:","delete":"删除","middleware":"中间件:","allNetworks":"你的网络","networkNamePlaceholder":"输入网络名称","networkNameLabel":"网络名称","networkUrlPlaceholder":"输入网络url","networkUrlLabel":"网络 Url","networkMiddlewarePlaceholder":"输入网络中间件url","networkMiddlewareLabel":"网络中间件","save":"连接"},"donate-error":{"error-report":"错误报告:","error-placeholder":"描述错误发生前您的操作(可选)。","data-collected":"数据已收集","browser":"浏览器版本","details":"技术细节:","donate":"捐献数据"},"invite":{"generate-link":"生成邀请链接","generate":"生成","created-links":"邀请连接已生成","top-up":"充值","close":"关闭","claim":"拿回来","insufficient-balance":"余额不足"},"resetWallet":{"title":"重置钱包"}}}')}}]); \ No newline at end of file diff --git a/js/locale-cn.9227acba.js b/js/locale-cn.9227acba.js new file mode 100644 index 000000000..a964185e1 --- /dev/null +++ b/js/locale-cn.9227acba.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[625],{1659:e=>{e.exports=JSON.parse('{"common":{"address":"地址","ae":"AE","all":"全部","amount":"数量","callData":"呼叫数据","cancel":"取消","confirm":"确认","contractId":"合约Id","copy":"复制","days":"{n} 天 | {n} 天 | {n} 天","edit":"编辑","hours":"{n} 小时 | {n} 小时 | {n} 小时","minutes":"{n} 分钟 | {n} 分钟 | {n} 分钟","next":"下一步","ok":"好的","pending":"等待","receive":"接收","send":"发送","total":"总共"},"connectionStatus":{"node":{"error":"无法连接到所选节点","connecting":"连接节点中...","connected":"已连接"}},"badges":{"verified":"已验证","notVerified":"未验证"},"modals":{"payloadForm":{"doneBtn":"完成"},"transaction-failed":{"msg":"我们执行不了这笔交易,请稍候再次尝试。"},"required":{"msg":"请填写所有栏目。"},"only-chars":{"msg":"只允许字母和数字。"},"name-exist":{"msg":"这个名称已注册。"},"name-length":{"msg":"超级英雄里的名称至少要有13个字符。"},"incorrect-address":{"msg":"请确认你输入的是一个有效的公开地址。"},"incorrect-amount":{"msg":"请确认你输入的是一个有效的金额。"},"insufficient-balance":{"msg":"你没有足够的账户余额来完成这笔交易。"},"removeAccount":{"title":"你确定要移除这个账户?","msg":"这一操作将会从你的钱包移除你的账户并删除相关的存储。操作之前请确定已经备份了你的助记词。 这一操作不能撤销!"},"verified":{"title":"什么是一个 \\"验证过的\\" URL?","msg":"如果一个URL 被标记为已验证,它的意思是这个URL的所有者已经是超级英雄的一员——这非常棒!在页面上可以看到AE地址并且可以很简单地领取小费。"},"not-verified":{"title":"当一个URL \\"没有被验证\\"时是什么意思?","msg":"这意味着URL的主人还没有创建 超级英雄钱包。一旦他们创建了超级英雄钱包并把钱包地址添加到相应的网站就可以领取小费了。 "},"blacklisted":{"title":"什么是 \\"难以接近的\\" URL?","msg":"超级英雄钱包可以打赏任何公开URL。当前,需要登陆才能查看信息的网页还不能被打赏。我们依然在寻找解决方案。"},"not-secure":{"title":"Superhero Wallet is marking HTTP sites as \\"Not secure\\" - please, use URLs with HTTPS, only.","msg":"The S in HTTPS stands for \\"secure.\\" The TLS (or SSL) certificate proves that the server is actually the legitimate host of the website. Website using HTTPS are more trustworthy and secure, for both users and website owners."},"error-log":{"title":"出错了","sub-title":"成为超级英雄!","content":"请提供关于你遇到的错误的更多信息,这样可以提升我们的超能力。没有私人数据会被删除。","create-report":"创建报告"},"donate-errors":{"title":"你的错误报告已发送","msg":"感谢你这样助人为乐的超级英雄!"},"donate-errors-error":{"title":"你的错误报告未被发送","msg":"发送你的错误报告时发生了某个问题。"},"confirmTransactionSign":{"recipientId":"接收者Id","commitmentId":"承诺Id","nameFee":"名称费","nameId":"名称Id","pointers":"指向者","data-sign":"数字签名"}},"transaction":{"fee":"交易费","type":{"spendTx":"花费","contractCreateTx":"创建合约","contractCallTx":"呼叫合约","namePreclaimTx":"名称预申明","nameClaimTx":"申明名称","nameUpdateTx":"更新名称","nameTransferTx":"转移名称","nameRevokeTx":"撤销名称","oracleRegisterTx":"注册预言机","oracleExtendTx":"扩展预言机","oraclePostQueryTx":"查询预言机","oracleRespondTx":"响应预言机","channelCloseSoloTx":"单向关闭通道","channelSlashTx":"断开通道","channelSettleTx":"结算通道","channelSnapshotSoloTx":"单方面快照通道"}},"pages":{"intro":{"heading":"介绍","skip":"跳过","generateWallet":"生成钱包","receive":"接收小费","step1text":"为创造和策划伟大的内容,参与有意义的讨论,推动人类的事业,成为一个不错的人","step2text":"给伟大的网络内容创造者、人道主义事业以及其他令人敬畏的人——不管出于什么原因。","step3text-1":"这个钱包不会——并永远不会从你的发送和接收中收取佣金","step3text-2":"超级英雄是特地创造的,除了你自己没有人可以控制你的资金。","createdWallet":"你的钱包已创建!","step4text-0":"欢迎来到自由之网。","step4text-1":"去信任:没有第三方干预。转帐完全是P2P模式。","step4text-2":"去审查:没有管理人员指定什么可以货币化什么不可以货币化。","step4text-3":"用区块链永久记录信息:评论和消息会在区块链上永久的标记时间并记录。","step4text-4":"即时的,无国界的,交易费几乎为零。","step4text-iframe-1":"但这并不是全部","step4text-iframe-2":"Superhero wallet is also available as browser extension and mobile app so you can use it on your preferred platforms and devices.","toHome":"进入钱包","ever":"任何时候","welcome":"欢迎登陆!","understand":"我知道这是一个加密钱包并且我有责任备份我的钱包助记词。","extension":"浏览器拓展","mobileApp":"移动app"},"titles":{"settings":"钱包设置","language":"语言","security":"安全","about":"关于","sendTips":"打赏","scanQr":"扫描二维码","terms":"使用条款","privacy":"隐私政策","importAccount":"检索现有帐户","activity":"历史活跃度","topUp":"充值","notifications":"通知","names":"名称","bidding":"出价","commentNew":"添加注释","home":"超级英雄之家","donateError":"捐赠数据","networks":"网络","address":"发送地址","allowances":"津贴","signMessage":"签名信息","invite":"邀请","saveErrorsLog":"保存错误日志"},"about":{"heading":"关于","systemName":"超级英雄","terms":"使用条款","privacyPolicy":"隐私政策","reportBug":"报告bug"},"account":{"heading":"帐户","activity":"活跃度","accountName":"帐户名称","claim":"领赏","latestTransactions":"最新转帐","noTransactionsFound":"未发现转帐!","balance":"余额","copied":"已复制!","backup":"备份","updateExtension":"有新版本!请更新扩展","claim-name":"申明你的.chain名称"},"claim":{"claim":"领取小费","noZeroClaim":"这个URL没有可以被领取的小费。","noAddress":"没有发现地址","errorClaim":"错误。","ae":"AE代币","claimed":" 领取申请已发送! ","url":"URL","tipsOnUrl":"这个URL下的小费","urlNotExisting":"当前这个URL下没有小费。","moreOracles":"没有足够多活跃预言机验证你的领取申请。请稍候尝试。","oracleFailed":"预言机检测领取失败。请稍候尝试。","unknownError":"领取期间发生错误。请稍候尝试。","noMobileClaim":"当前领取只能在桌面上进行。"},"claimTips":{"title":"领赏","urlToClaim":"为这个URL领取小费:"},"notFound":{"notFound":"找不到请求的页面","initialPage":"打开初始页面"},"recentTransactions":{"recentActivity":"近期活跃情况","noTransactionsFound":"未发现交易!"},"advancedSettings":{"heading":"高级","backToSettings":"设置","exportKeypair":"导出keypair","exportKeystore":"到处keystore"},"airGapSetup":{"heading":"AirGap设置","step1heading":"在手机是安装AirGap","step1info":"在商店搜索AirGapor或扫描这个二维码","step1buttonNext":"下一步","setupSteps1heading":"在第二个设备上打开AirGap","setupSteps2heading":"创建秘钥","setupSteps3heading":"以正确的顺序写下来","setupSteps4heading":"添加一个aeternity钱包","setupSteps5heading":"连接你的aeternity钱包","setupSteps1":"为了安全起见,在打开AirGap前请断开网络连接","setupSteps2":"没有网络连接对于秘钥来说是最高的安全性","setupSteps3":"在恢复的时候你需要用到它","setupSteps4":"点击钱包,添加钱包,并选择aeternity","setupSteps5":"将你的保险库连接到aeternity地址以结束","linkVault":"连接Vault"},"auctionBid":{"backToAuctions":"返回拍卖","bidding":"出价","bidOn":"出价给","requiredField":"此处必填","current-highest-bid":"当前最高出价","remaining-time":"剩余时间"},"connectConfirm":{"websiteRequestConnect":"想要连接到你的帐户","websiteRequest":"网站请求查看你的当前地址。请确认当前网站可信。 ","cancelButton":"拒绝","confirmButton":"接受","addressLabel":"地址","transactionLabel":"交易","addressRequest":"aepp请求查看你的当前地址","transactionRequest":"aepp 可能会准备交易,您有责任进行确认。","websiteRequestAccounts":"想要获取帐户地址","addressesLabel":"地址","addressesRequest":"aepp请求查看你的帐户地址"},"token-details":{"token":"代币"},"names":{"default":"默认","balance-error":"你的帐户余额不足以支付这笔交易。","pointer-added":"名称{type} 成功!","auto-extend":"Auto-extend","list":{"no-names":"未发现名称","button":"你的名称"},"details":{"name":"名称","name-id":"名称ID","owner":"所有者","created-height":"创建高度","expires-height":"过期高度","pointer":"指向#{id}","set-default":"设置为默认名称","extend":"扩展","set-pointer":"设置名称指向","address-placeholder":"输入 ak_, ct_, ok_ or .chain名称"},"claim":{"name-placeholder":"输入.chain名称","button":"申明"},"auctions":{"button":"拍卖","soonest":"最快的","length":"名称长度","bid":"出价","expires":"生成","no-auctions":"没有拍卖","not-found":"未发现","current-bid":"当前出价","previous-bids":"先前出价","bidding":"去出价","bid-on":"出价","current-highest-bid":"当前最高出价","remaining-time":"剩余时间","add-amount":"输入数量","min-bid":"出价必须高于{minBid} AE","bid-added":"加价成功"}},"languageSettings":{"backToSettings":"返回设置","heading":"语言","switchLanguage":"语言","currentLanguage":"当前语言"},"index":{"term1":"我同意超级英雄","term2":"适用条款","term3":"隐私政策","termsAndConditions":"适用条款","heading":"没有隐藏议程的社交平台。","webVersion":"或者使用网页版","mobileVersion":"不仅仅是在 aeternity 区块链上接收、存储和发送硬币的方式","securingAccount":"保护你的帐户","generateWallet":"生成新钱包","importWallet":"检索现有帐户","passwordError":"密码至少需要4个符号。","loginButton":"登录","seedPhrase":"助记词","enterSeedPhrase":"输入你的助记词。 ","continueButton":"继续","continue":"继续","importAccount":"导入帐户","accountNotFound":"未发现帐户。","checkSeed":"请检查你的助记词。"},"ledgerSetup":{"ledgerConnectSetup":"怎么从Ledger连接","ledgerAccount":"添加Ledger帐户","ledgerSteps":"步骤","ledgerUsb":"通过USB连接你的Ledger并解锁它","ledgerLedger":"在Ledger上打开aeternity app","ledgerAccountCreate":"点击下方按钮创建第一个帐户"},"privacyPolicy":{"backButton":"返回","heading":"隐私政策","content":"您的隐私对我们很重要。关于我们可能从我们的网站和我们拥有和运营的其他网站收集您的任何信息,超级英雄的政策是尊重您的隐私。我们不会为了向您提供服务而要求您提供个人信息。我们不会为提供您所要求的服务而收集和保留任何信息。我们不会公开或与第三方分享任何个人身份信息。我们的网站和浏览器可能链接到非我们操作的外部网站。请注意,我们无法控制这些网站的内容和做法,也不能为其各自的隐私政策承担责任。您继续使用我们的网站将被视为接受我们在隐私和个人信息方面的做法。如果您对我们如何处理用户数据和个人信息有任何疑问,请随时与我们联系。本政策自2020年1月31日起生效。"},"qrCodeReader":{"heading":"二维码扫描"},"receive":{"heading":"接收代币需要提供这个地址或扫描下方的二维码。","home":"主页","transferExchange":"加密资产换取AE代代币","purchase":"购买AE代币"},"seed-phrase-settings":{"backToSettings":"返回在设置","heading":"安全和隐私","privacyDataHeading":"隐私数据","privacyDataSmall":"清除所有隐私数据,所有网站需要发送请求才能再次查看帐户信息。","privacyDataClearBtn":"清除所有隐私数据","privateKeyHeading":"查看私钥","privateKeySmall":"在输入密码之后可以查看私钥","privateKeyRevealBtn":"查看私钥","privateKeyWarning":"不要向任何人展示你的私钥,私钥可以用于从你所有的帐户里盗窃","privateKey":"你的私钥","showPrivateKey":"显示私钥","incorrectPassword":"密码错误","decryptingPrivateKey":"解密私钥","seedRecoveryHeading":"显示助记词","seedRecoverySmall":"你的助记词(也被称为私钥)是访问你的帐户的钥匙或密码。请不要向任何人展示。并请确定你已在没有其他人可以看到同时你自己永远不会丢失的纸上备份了助记词。丢失了钥匙意味着不能再访问你的钱包和小费","seedRecoveryBtn":"显示助记词","seedPhrase":"你的助记词","copy":"复制到剪贴板"},"seedPhrase":{"securingAccount":"保护你的帐户","attentionMsg":"请确保你的助记词的安全! 超级英雄不会储存,也不能帮你恢复你的助记词。 保证它的安全是你的责任。 如果你失去了助记词,你将失去你的钱包和所有的资金。","tips":"保护资金的小贴士","tip1":"在多个地方保存助记词的备份","tip2":"牢记钱包的密码","tip3":"不要向任何人展示你的助记词","keepCarefully":"保证助记词的安全!写下这12个单词并把它们保存在安全的地方。将来你它们来恢复你的帐户。 ","confirmSeedPhrase":"确认你的助记词。点击下面的单词,以正确的顺序组成你的助记词","recoveryPhrase":"你的助记词","first":"第一","second":"第二","third":"第三","backupText":"在一张只有你可以看到的纸或文件上备份你的助记词。多做几个备份。","dontLose":"千万不要丢失助记词!","nextScreen":"请确认助记词正确,你将会在下一个页面被要求重写助记词。","verifySeed":"验证助记词","doneThis":"我已完成验证","verify":"验证","seedConfirmed":"助记词已确认。","toDashboard":"返回导航"},"send":{"heading":"新的转账","txFee":"最少转账手续费","maxSpendableValue":"最大可转账价值","success":"成功","seeTransactionExplorer":"在浏览器中查看转账。","scan":"扫描二维码","review":"接收","reviewtx":"接收转账","checkalert":"清仔细核对转账信息。","sender":"发送地址","recipient":"接收地址","successalert":"您已成功发送 ","to":"到","hash":"转账Hash","home":"主页"},"signTransaction":{"unknownAccount":"未知","name":"名称","nameSalt":"名称随机数","nameId":"名称Id","reject":"拒绝","contractCall":"调用合约","contractCalling":"正在调用合约方法。请不要关闭窗口","insufficientBalance":"余额不足","incorrectAddress":"地址错误","compiledCode":"编译后的代码","callData":"调用数据","payload":"附言","newContract":"新合约","aens":"AENS","balanceError":"你的帐户余额不足以执行这笔交易。","from":"从"},"termsOfService":{"backButton":"返回","terms-of-use":"使用条款","terms-with-quotes":"(„条款“)","terms":"条款","sub-heading":"当前 @:termsOfService.terms-of-use 创建于2020年4月3日。","section0Content":"@:termsOfService.superhero-com 根据 @:termsOfService.company 的政策和实践,保留更改 @:termsOfService.terms-of-use 的权力。当在 @:termsOfService.our-superhero-wallet 宣布时新版本的@:termsOfService.terms-of-use将正式生效,除非另有规定。","superhero-com":"Superhero.com LVC","company":"公司","our-superhero-wallet":"我们的超级英雄钱包","section01Content":"这个软件由SUPERHERO.COM LVC提供,没有任何形式的保证,明示或暗示,包括但不限于对适销性、特定用途的适用性和非侵权的保证。在任何情况下,作者都不对任何索赔、损害或其他责任负责,无论是在合同、侵权或其他行为中,还是由软件,软件的使用或其他交易引起的事情中。","section02Content":"这些@:termsOfService.terms-of-use 条款带引号 仅适用于超级英雄钱包(以下简称“ @:termsOfService.wallet ”或“ @:termsOfService.application ”)和 @:termsOfService.website-extension 上的所有可用内容。请确保您在使用 @:termsOfService.application 之前仔细阅读了 @:termsOfService.terms 。否则,您使用了它,我们就认为这些动作暗示了同意@:termsOfService.terms-of-use。这些使用术语代表您、您所代表的法律实体、您注册的法律实体(统称为„您“)以及Superhero.com LVC或您对超级英雄钱包的使用 @:termsOfService.website-extension 的使用达成约束性协议。","superHero-wallet":"超级英雄钱","wallet":"钱包","application":"应用程序","website-extension":"网站扩展","you":"you","superhero-we-us-with-quotes":"(“超级英雄”, “我们”, “我们”","our-with-quotes":"“我们的”)","section1Title":"1. 定义","section1Content":"1.1.Superhero.com(Superhero.com ”, “我们”, “我们”,“我们的”或“公司”)成立的是家公司,超级英雄钱包相关问题的邮箱联系地址是: superherowallet{\'@\'}protonmail.com。超级英雄钱包由Superhero.com公司创造。 \\n 1.2. ​„使用者“或者„你“ 代表下载并使用超级英雄钱包网站扩展的自然人或法人。\\n 1.3. „​区块链“代表记录清单,也称为区块,区块间以密码学方法相连。​这个技术允许大量的人对数据进行获取并达成共识,之后数据会被永久地记录下来了,没有中央权威的存在。用户可以在aeternity区块链上获取,创造,保存信息。分散式、分布式和公共的数字账本用于在验证器的帮助下以信息块的形式记录交易,这些信息是不能被逆向更改的。\\n 1.4。“超级英雄钱包”(“钱包”或“应用程序”)是一个网站扩展,它允许支持者向内容创建者、事业、慈善机构、团体或普通个人发送价值,作为对贡献准确信息、相关见解和高质量内容的奖励。网站扩展是一个软件,作为一个附添加到网络浏览器Firefox并为浏览器提供附加功能。该应用程序可以在https://addons.mozilla.org/en-us/firefox/addon/superhero-wallet-extension/获取。捐款和评论的结果发布在https://superhero.com/网站上。\\n 1.5。“验证者”是独立的自然人或实体,他们在任何方面都不属于Superhero.com的一部分。它们在系统中的功能包括模块的组成和在aeternal网络中传播这些模块。1.6 \\n。“帐户地址”是用户公钥的散列版本,用于在应用程序中识别用户。1.7 \\n。“密钥”表示唯一相关的用于加密和解密信息的随机数私钥和公钥。它们在系统中的功能包括区块的组成和在aeternity网络中对区块的广播。","section2Title":"2.总则","section2Content":"Superhero.com将这款应用程序设计并创建成一种加密货币钱包,用户可以通过它存储和发送Superhero.com代币,来向创建者、慈善机构、团体或普通个人进行捐赠,作为对贡献准确信息、相关见解和高质量内容的奖励。用户可以通过应用程序向不同的网站捐款。该应用程序会自动搜寻该网站的公开密码匙,以供捐款之用。捐款可以按照以下两种方式进行——用户可以给整个网站的所有者打赏,或者用户可以选择网站上写了新闻的特定创建者和作者给他们打赏代币。\\n此后,https://superhero.com/网站反映了用户的捐赠和评论,并给予其他用户对本网站新闻供应中可获取的新闻进行积极捐赠和评论的可能性。\\n用户可以浏览他们的转帐记录。钱包会显示用户的代币。用户负责资金的安全保管、收发。\\n应用程序是为小额转帐而构建的。应用程序可以进行大容量的交易或存储,风险由用户自行承担。","section3Title":"3. 用户识别","section3Content":"应用程序使用帐户地址来识别用户。\\n如果用户要发送Superhero.com代币,他们应该只共享他们的帐户地址。应用程序不会共享或收集任何其他信息。一旦用户下载了应用程序,钱包就会自动生成账户地址。有关帐户地址处理的详细资料,请参阅应用程序的私隐政策。","section4Title":"​4. 用户责任","section4Content":"作为用户,您同意以下适用于Superhero.com的规则:\\n●您应遵守当前条款内设置的规则,并按照适用法律诚心诚意地地在应用程序中执行任何行动;\\n●您是成年人,您不是司法残疾人士(您已取得完全法律行为能力);\\n●您不应试图从其他用户处获取或获得访问任何个人或可识别信息的权限,包括但不限于助记词,也不应披露您自己相应信息;\\n●您不得以任何方式破坏或利用该应用程序,或将该应用程序用于任何非法活动或超出其创建目的;\\n●您的行为不应以任何方式误导您被认为您是另一个人或公司;你不得故意使用他人的助记词、帐号地址等,以表示自己是其他人。如果公司怀疑用户存在身份盗窃和欺诈行为,Superhero.com将采取任何可能的行动来处理这些情况;\\n●您使用的设备不包含或安装任何病毒、蠕虫、恶意软件、木马或其他有害或破坏性内容;\\n任何违反本条款之行为,均由使用者负责。","section5Title":"5. 保证及免责声明","section6Title":"6. 税收和费用","section6Content":"钱包不收取任何使用该应用程序的费用或税收-它是免费的。但是,Superhero.com区块链上的交易需要支付税费,包括但不限于矿工费、gas税、交易费。税费的数额是单方面固定的。\\n此外,根据领土访问地点的不同,通过应用程序转移和接收资金可能需要向不同国家的公共当局缴纳税款和费用,具体视法律法规而定。用户有义务告知自己这些要求,并对他们的捐赠全权负责。","section7Title":"7. 第三方平台","section7Content":"为了捐赠,用户应该在“发送提示到”处复制粘贴他们想捐赠的网站的URL。请记住,创建应用程序是为了促进来自世界各地的全面、透明、有用和准确的信息的共享。因此,用户应对任何违反钱包目的和本条款使用钱包的行为负全部责任。Superhero.com并不控制捐赠的网站,Superhero.com对网站上的内容不承担任何责任。","section8Title":"8. 许可证","section8Content":"该应用程序由Superhero.com创建、开发和运营。应用程序上的每个组件,包括但不限于在应用程序上显示的图标、商标和其他知识产权,均被视为Superhero.com的财产,受适用的知识产权法律保护。未经超级英雄明确同意,不得使用超级英雄的任何知识产权。\\n未经Superhero.com事先明确书面同意,任何上述元素不得编辑、下载、复制、用于商业目的,不得以任何方式和/或任何媒介部分或全部发布和传播上述内容。\\n超级英雄保留对侵犯知识产权的行为采取任何必要法律行动的权利。","section9Title":"9. 知识产权","section9Content":"用户理解并接受应用程序可以定期进行修改、更新、维护或技术支持,这可能在一定程度上影响钱包的使用、应用程序的可视化呈现或可能导致故障。在后一种情况下,如果您作为用户注意到资金、设置、帐户或应用程序上的任何其他信息的变化,请联系superherowallet{\'@\'}protonmail.com寻求帮助。","section10Title":"10. 修改","section10Content":"列支敦士登的立法和管辖权适用于本条款以外的问题。条款中一个或多个条款的无效并不会导致整个条款的无效。\\n本隐私政策是本条款不可分割的一部分,应被视为具有强制性的补充文件。除非隐私政策中另有明确规定,本条款中的所有规则将保持有效。","section11Title":"11. 最后条款"},"tipPage":{"claimingExplanation":"如果您已经将您的钱包地址添加到您的URL,通过点击下面的领取按钮您可以立即领取小费","url":"发送小费到","minAmountError":"小费的代币价值必须超过0.01美元才能发送。"},"transactionDetails":{"heading":"交易细节","date":"日期","type":"类型","txFrom":"从","txTo":"到","txHash":"Tx hash","transactions":"交易","backToTransactions":"返回交易","explorer":"在浏览器中查看","txName":"名称","txAccount":"数量","name":"名称","nameSalt":"名称随机数","nameId":"名称Id","advancedMode":"高级模式","blockHeight":"区块高度","signatures":"签名","nonce":"Nonce","callData":"呼叫数据","gas":"Gas","gasPrice":"Gas价格","code":"代码","abiV":"Abi版本","vmV":"Vm版本","payload":"附言","commitment":"承诺id","clientTtl":"客户TTL","nameTtl":"名称TTL","pointerId":"指向Id","pointerKey":"指向秘钥","moreInfo":"更多信息","sent":"发送","received":"已接收","withdrawals":"提币","topups":"充值"},"transactions":{"heading":"转帐记录","filters":"筛选","loadMore":"显示更多","allLoaded":"显示所有转帐。","newTransactions":"新近转帐","noTransactions":"未发现转帐","type":"类型","incoming":"收入","outgoing":"支出","spendType":"花费类型","spendTx":"花费tx","namePreclaim":"名称预申明tx","nameClaim":"名称申明tx","nameUpdate":"名称更新tx","createTx":"创建tx","clear":"清除筛选","apply":"申请筛选","sent":"发送","received":"接收"},"aeAddressInput":{"label":"Aeternity地址","identicon":"你的 identicon","error":"无效AE地址"},"popupMessageSign":{"title":"签名消息","heading":"想要签名消息","message":"消息"},"network":{"url":"URL:","delete":"删除","middleware":"中间件:","allNetworks":"你的网络","networkNamePlaceholder":"输入网络名称","networkNameLabel":"网络名称","networkUrlPlaceholder":"输入网络url","networkUrlLabel":"网络 Url","networkMiddlewarePlaceholder":"输入网络中间件url","networkMiddlewareLabel":"网络中间件","save":"连接"},"donate-error":{"error-report":"错误报告:","error-placeholder":"描述错误发生前您的操作(可选)。","data-collected":"数据已收集","browser":"浏览器版本","details":"技术细节:","donate":"捐献数据"},"invite":{"generate-link":"生成邀请链接","generate":"生成","created-links":"邀请连接已生成","top-up":"充值","close":"关闭","claim":"拿回来","insufficient-balance":"余额不足"},"resetWallet":{"title":"重置钱包"}}}')}}]); \ No newline at end of file diff --git a/js/popup.12d988ce.js b/js/popup.12d988ce.js new file mode 100644 index 000000000..8674cf21e --- /dev/null +++ b/js/popup.12d988ce.js @@ -0,0 +1 @@ +(()=>{var e={3199:e=>{function t(e){return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}t.keys=()=>[],t.resolve=t,t.id=3199,e.exports=t},4483:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 34 24'%3e%3cpath fill='%2300FF9D' fill-rule='evenodd' d='M0 8.092 9.003 0h15.994L34 8.092 17.048 24zm10.009-5.61h4.884l10.44 10.254L17 20.552 3.735 8.138z' clip-rule='evenodd'/%3e%3c/svg%3e"},13839:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor'%3e%3cpath stroke='currentColor' stroke-width='1.4' d='m12.43 17.086-.414-.303-.413.303-4.794 3.51-.002.002c-.293.217-.482.147-.523.12-.023-.015-.049-.041-.065-.1-.016-.064-.026-.193.045-.398l.002-.006 1.89-5.626.165-.49-.42-.302-4.929-3.533-.002-.002c-.162-.115-.228-.22-.252-.283-.024-.06-.02-.101-.01-.127.012-.038.096-.187.419-.187H9.71l.158-.484 1.823-5.603.002-.008c.086-.274.244-.319.322-.319s.237.045.322.319l.002.005 1.8 5.604.156.486h6.587c.32 0 .398.146.41.182a.2.2 0 0 1-.011.135c-.026.066-.091.17-.247.284h-.001l-4.904 3.532-.417.3.162.489 1.868 5.626.003.008c.07.205.061.334.044.399-.015.06-.041.086-.063.1-.038.026-.217.094-.495-.116l-.009-.006z'/%3e%3c/svg%3e"},17660:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='M17.135 16.33a7.4 7.4 0 0 1-5.992 3.065 7.37 7.37 0 0 1-7.402-7.402A7.366 7.366 0 0 1 11.143 4.6c3.484 0 6.376 2.35 7.176 5.567h-1.124c-.337 0-.591.118-.695.348-.101.223-.032.5.147.759l1.982 2.823c.157.22.366.35.593.352.226.001.438-.126.6-.352l1.974-2.814c.187-.263.26-.541.158-.767-.104-.232-.361-.349-.698-.349h-1.159c-.854-4.148-4.576-7.317-8.954-7.317C6.15 2.85 2 6.99 2 11.993c0 4.994 4.15 9.144 9.143 9.144 3.023 0 5.702-1.534 7.394-3.826.34-.44.236-1.008-.182-1.269l-.002-.001c-.432-.257-.922-.116-1.218.289' clip-rule='evenodd'/%3e%3c/svg%3e"},97952:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='m21.46 12.962-7.384 6.928c-.471.444-.825.607-1.27.607-.615 0-1.056-.441-1.056-1.057V15.9h-.435c-1.72 0-3.127.252-4.295.862-1.17.613-2.083 1.576-2.83 2.965-.168.315-.349.492-.53.594a1.2 1.2 0 0 1-.607.139c-.254 0-.483-.117-.656-.368-.177-.258-.298-.663-.298-1.23 0-3.36.74-6.03 2.25-7.86 1.503-1.822 3.795-2.838 6.966-2.838h.435V4.642c0-.623.448-1.103 1.075-1.103.416 0 .723.162 1.252.654l7.384 6.881c.324.308.44.646.44.944 0 .29-.117.637-.44.944M3.558 18.365c.165 0 .243-.134.274-.196l.001-.003c1.07-2.228 3.693-3.568 7.93-3.568h1.194c.065 0 .087.011.091.014.003.004.014.026.014.091v3.441c0 .087.027.178.095.25.068.07.16.101.247.101a.43.43 0 0 0 .29-.131l6.376-6.022.004-.004a.6.6 0 0 0 .113-.148c.03-.06.04-.118.04-.172 0-.137-.077-.234-.143-.31l-.006-.007-6.374-6.084a.43.43 0 0 0-.3-.132.34.34 0 0 0-.244.097.34.34 0 0 0-.098.245V9.35c0 .065-.011.087-.014.092-.004.002-.026.014-.091.014h-1.194c-3.05 0-5.142 1.009-6.486 2.61-1.338 1.593-1.911 3.746-1.987 5.996v.007c0 .057.012.13.06.194.055.07.134.1.208.1m17.904-5.403-7.385 6.928c-.471.444-.825.607-1.27.607-.615 0-1.056-.441-1.056-1.057V15.9h-.435c-1.72 0-3.127.252-4.295.862-1.17.613-2.083 1.576-2.83 2.965-.168.315-.349.492-.53.594a1.2 1.2 0 0 1-.607.139c-.254 0-.483-.117-.656-.368-.177-.258-.298-.663-.298-1.23 0-3.36.74-6.03 2.25-7.86 1.503-1.822 3.795-2.838 6.966-2.838h.435V4.642c0-.623.448-1.103 1.075-1.103.416 0 .723.162 1.252.654l7.384 6.881c.324.308.44.646.44.944 0 .29-.117.637-.44.944m-9.81-4.897V4.642c0-.674.49-1.202 1.174-1.202.455 0 .784.183 1.32.681l7.384 6.88c.343.327.471.692.471 1.017 0 .316-.128.69-.471 1.016l-7.385 6.928c-.482.455-.86.634-1.337.634-.67 0-1.156-.485-1.156-1.156V16h-.336c-1.711 0-3.1.25-4.249.85-1.15.601-2.05 1.549-2.789 2.924-.175.327-.367.52-.568.634a1.3 1.3 0 0 1-.656.15c-.29 0-.548-.134-.738-.41-.192-.28-.315-.707-.315-1.286 0-3.372.743-6.07 2.273-7.923 1.526-1.85 3.848-2.874 7.042-2.874zm2.052-2.448a.43.43 0 0 0-.3-.132.34.34 0 0 0-.244.097.34.34 0 0 0-.098.245V9.35c0 .065-.011.087-.014.092-.004.002-.026.014-.091.014h-1.194c-3.05 0-5.142 1.009-6.486 2.61-1.338 1.593-1.911 3.746-1.987 5.996v.007c0 .057.012.13.06.194.055.07.134.1.208.1.165 0 .243-.133.274-.195l.001-.003c1.07-2.228 3.693-3.568 7.93-3.568h1.194c.065 0 .087.011.091.014.003.004.014.026.014.091v3.441c0 .087.027.178.095.25.068.07.16.101.247.101a.43.43 0 0 0 .29-.131l6.376-6.022.004-.004a.6.6 0 0 0 .113-.148c.03-.06.04-.118.04-.172 0-.137-.077-.234-.143-.31l-.006-.007zm6.302 6.153-6.372-6.083a.33.33 0 0 0-.23-.103.24.24 0 0 0-.174.068.24.24 0 0 0-.069.175V9.35c0 .074-.012.119-.03.146l-.011.017-.018.011c-.027.018-.071.03-.145.03h-1.194c-3.027 0-5.089 1.001-6.41 2.575-1.318 1.57-1.888 3.698-1.964 5.934v.006c0 .045.01.094.04.133a.16.16 0 0 0 .129.063c.101 0 .155-.08.185-.14v-.003c1.095-2.278 3.767-3.624 8.02-3.624h1.194c.074 0 .118.012.145.03l.018.012.01.017c.019.027.031.071.031.146v3.44c0 .068.021.132.067.18.047.05.11.072.176.072a.33.33 0 0 0 .22-.102l.002-.002L20 12.272l.003-.004a.5.5 0 0 0 .094-.122.3.3 0 0 0 .03-.128c0-.097-.053-.17-.119-.245z' clip-rule='evenodd'/%3e%3c/svg%3e"},32239:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' fill='none'%3e%3cpath fill='%2363F' d='M47.817 41.059h-4.194v-4.774h4.194z'/%3e%3cpath fill='%2309F' d='M47.817 36.285h-4.194v-4.8h4.194z'/%3e%3cpath fill='%233F0' d='M47.817 31.485h-4.194v-4.773h4.194z'/%3e%3cpath fill='%23FF0' d='M43.623 21.919h4.194v4.793h-4.194z'/%3e%3cpath fill='%23F90' d='M47.817 17.122h-4.194v4.797h4.194z'/%3e%3cpath fill='red' d='M47.817 17.122h-4.194v-4.77h4.194z'/%3e%3cpath fill='%2363F' d='M43.623 42.971h-4.194v-4.773h4.194z'/%3e%3cpath fill='%2309F' d='M43.623 38.199h-4.194v-4.784h4.194z'/%3e%3cpath fill='%233F0' d='M43.623 33.415h-4.194v-4.79h4.194z'/%3e%3cpath fill='%23FF0' d='M39.429 23.818h4.194v4.806h-4.194z'/%3e%3cpath fill='%23F90' d='M43.623 19.035h-4.194v4.797h4.194z'/%3e%3cpath fill='red' d='M43.623 19.035h-4.194V14.27h4.194z'/%3e%3cpath fill='%2363F' d='M39.429 41.06h-4.195v-4.8h4.194z'/%3e%3cpath fill='%2309F' d='M39.429 36.26h-4.195v-4.772h4.194z'/%3e%3cpath fill='%233F0' d='M39.429 31.488h-4.195v-4.774h4.194z'/%3e%3cpath fill='%23FF0' d='M35.235 21.9h4.194v4.814h-4.194z'/%3e%3cpath fill='%23F90' d='M39.429 17.127h-4.195V21.9h4.194z'/%3e%3cpath fill='red' d='M39.429 17.127h-4.195v-4.773h4.194z'/%3e%3cpath fill='%2363F' d='M35.234 39.159h-4.207v-4.826h4.207z'/%3e%3cpath fill='%2309F' d='M35.234 34.333h-4.207V29.54h4.207z'/%3e%3cpath fill='%233F0' d='M35.234 29.54h-4.207V24.8h4.207z'/%3e%3cpath fill='%23FF0' d='M31.027 19.988h4.207V24.8h-4.207z'/%3e%3cpath fill='%23F90' d='M35.235 15.213h-4.207v4.775h4.207z'/%3e%3cpath fill='red' d='M35.234 15.213h-4.207v-4.774h4.207z'/%3e%3cpath fill='%2363F' d='M31.027 37.178h-4.181v-4.78h4.181z'/%3e%3cpath fill='%2309F' d='M31.027 32.398h-4.181v-4.753h4.181z'/%3e%3cpath fill='%233F0' d='M31.027 27.644h-4.181v-4.76h4.181z'/%3e%3cpath fill='%23FF0' d='M26.846 18.085h4.181v4.8h-4.181z'/%3e%3cpath fill='%23F90' d='M31.027 13.275h-4.181v4.81h4.181z'/%3e%3cpath fill='red' d='M31.027 13.275h-4.181v-4.75h4.181z'/%3e%3cpath fill='%2363F' d='M26.846 39.151H22.65V34.38h4.195z'/%3e%3cpath fill='%2309F' d='M26.846 34.379H22.65v-4.8h4.195z'/%3e%3cpath fill='%233F0' d='M26.846 29.579H22.65v-4.78h4.195z'/%3e%3cpath fill='%23FF0' d='M22.652 20.012h4.194V24.8h-4.194z'/%3e%3cpath fill='%23F90' d='M26.846 15.219H22.65v4.794h4.195z'/%3e%3cpath fill='red' d='M26.846 15.219H22.65v-4.781h4.195z'/%3e%3cpath fill='%2363F' d='M22.652 41.059h-4.207v-4.774h4.207z'/%3e%3cpath fill='%2309F' d='M22.652 36.285h-4.207v-4.8h4.207z'/%3e%3cpath fill='%233F0' d='M22.652 31.485h-4.207v-4.773h4.207z'/%3e%3cpath fill='%23FF0' d='M18.445 21.933h4.207v4.779h-4.207z'/%3e%3cpath fill='%23F90' d='M22.652 17.122h-4.207v4.81h4.207z'/%3e%3cpath fill='red' d='M22.652 17.122h-4.207v-4.77h4.207z'/%3e%3cpath fill='%2363F' d='M18.451 42.987h-3.77v-4.774h3.77z'/%3e%3cpath fill='%2309F' d='M18.445 38.213h-3.764v-4.8h3.764z'/%3e%3cpath fill='%233F0' d='M18.445 33.413h-3.764V28.64h3.764z'/%3e%3cpath fill='%23FF0' d='M14.68 23.833h3.765v4.807H14.68z'/%3e%3cpath fill='%23F90' d='M18.45 19.07h-3.77v4.776h3.77z'/%3e%3cpath fill='red' d='M18.445 19.07h-3.764v-4.803h3.764z'/%3e%3cpath fill='%23FDFDFD' d='M15.925 46.4H.019V48h15.906zM7.962 5.29a1.31 1.31 0 0 1-1.317-1.318 1.31 1.31 0 0 1 1.317-1.318A1.31 1.31 0 0 1 9.28 3.972a1.31 1.31 0 0 1-1.318 1.317M0 11.105h15.906v-1.6H8.753V7.962h3.181V0H3.972v7.962h3.18v1.544H0zm14.099 22.89h-6.08v-6.08h6.08zm-6.193-6.194h-6.08v-6.08h6.08zM15.925 12.8H.019v31.793h15.906z'/%3e%3c/svg%3e"},84316:(e,t,n)=>{e.exports=n.p+"img/sendAndReceive.5eca3aa8.svg"},24538:(e,t,n)=>{e.exports=n.p+"img/app-store-mobile.aa908fdc.svg"},72347:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3e%3cdefs%3e%3clinearGradient id='a' x1='.5' x2='.5' y2='1' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%2317c9fb'/%3e%3cstop offset='1' stop-color='%231a74e8'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath fill='url(%23a)' d='M8.76 0h22.48A8.76 8.76 0 0 1 40 8.76v22.48A8.76 8.76 0 0 1 31.24 40H8.76A8.76 8.76 0 0 1 0 31.24V8.76A8.76 8.76 0 0 1 8.76 0'/%3e%3cpath fill='%23fff' d='m12.819 29.033-1.363 2.37a1.808 1.808 0 1 1-3.131-1.808l1.007-1.745.1-.168a1.49 1.49 0 0 1 1.451-.6s2.006.218 2.151 1.26a1.2 1.2 0 0 1-.211.686Zm19.4-6.05h-4.267a.63.63 0 0 1-.467-.18l-4.565-7.907h-.006l-.274-.393c-.449-.686-1.161 1.069-1.161 1.069-.851 1.956.121 4.179.459 4.851l6.338 10.98a1.808 1.808 0 1 0 3.131-1.808l-1.585-2.746c-.031-.067-.084-.247.241-.248h2.154a1.808 1.808 0 0 0 0-3.616Zm-8.283 2.458s.225 1.162-.651 1.162H7.515a1.808 1.808 0 1 1 0-3.616h4.053c.654-.038.81-.416.81-.416l5.294-9.168a.4.4 0 0 0 0-.371l-1.747-3.029a1.808 1.808 0 0 1 3.131-1.8l.81 1.4.809-1.4a1.808 1.808 0 1 1 3.131 1.808l-7.362 12.751c-.032.078-.042.2.2.221h4.4v.043a2.956 2.956 0 0 1 2.889 2.414Z'/%3e%3c/svg%3e"},78116:(e,t,n)=>{e.exports=n.p+"img/chrome.ac34fdda.svg"},24601:(e,t,n)=>{e.exports=n.p+"img/firefox.d4d36a42.svg"},59485:(e,t,n)=>{e.exports=n.p+"img/google-play-mobile.a27ad291.svg"},40958:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36.501 40'%3e%3cdefs%3e%3clinearGradient id='a' x1='.915' x2='-.383' y1='.05' y2='.719' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%2300a0ff'/%3e%3cstop offset='.007' stop-color='%2300a1ff'/%3e%3cstop offset='.26' stop-color='%2300beff'/%3e%3cstop offset='.512' stop-color='%2300d2ff'/%3e%3cstop offset='.76' stop-color='%2300dfff'/%3e%3cstop offset='1' stop-color='%2300e3ff'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='1.076' x2='-1.305' y1='.5' y2='.5' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%23ffe000'/%3e%3cstop offset='.409' stop-color='%23ffbd00'/%3e%3cstop offset='.775' stop-color='orange'/%3e%3cstop offset='1' stop-color='%23ff9c00'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='.862' x2='-.501' y1='.178' y2='1.948' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%23ff3a44'/%3e%3cstop offset='1' stop-color='%23c31162'/%3e%3c/linearGradient%3e%3clinearGradient id='d' x1='-.188' x2='.421' y1='-.542' y2='.249' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%2332a071'/%3e%3cstop offset='.068' stop-color='%232da771'/%3e%3cstop offset='.476' stop-color='%2315cf74'/%3e%3cstop offset='.801' stop-color='%2306e775'/%3e%3cstop offset='1' stop-color='%2300f076'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath fill='url(%23a)' d='M.732 1.156A3.09 3.09 0 0 0 0 3.34v34.387a3.08 3.08 0 0 0 .732 2.184l.118.112 19.581-19.261v-.454L.849 1.043z' data-name='Path 1203' transform='translate(.006 -.538)'/%3e%3cpath fill='url(%23b)' d='m35.635 32.643-6.525-6.424v-.454l6.527-6.422.149.081 7.733 4.322c2.209 1.234 2.209 3.253 0 4.49l-7.733 4.321Z' data-name='Path 1204' transform='translate(-8.674 -5.994)'/%3e%3cpath fill='url(%23c)' d='m27.416 35.384-6.676-6.567L1.043 48.2c.728.759 1.932.852 3.284.1z' data-name='Path 1205' transform='translate(-.305 -8.82)'/%3e%3cpath fill='url(%23d)' d='M27.416 13.754 4.327.845C2.975.089 1.771.183 1.043.941L20.74 20.32l6.676-6.568Z' data-name='Path 1206' transform='translate(-.305 -.323)'/%3e%3cg data-name='Group 971'%3e%3cpath d='M26.963 26.421 4.023 39.243c-1.285.719-2.43.671-3.166.017l-.118.116.118.111a2.67 2.67 0 0 0 3.166-.015l23.089-12.908-.148-.143Z' data-name='Path 1207' opacity='.2'/%3e%3cpath d='M.738 39.148a3.09 3.09 0 0 1-.732-2.184v.227a3.08 3.08 0 0 0 .732 2.18l.118-.116-.118-.112Z' data-name='Path 1208' opacity='.12'/%3e%3c/g%3e%3cpath d='m34.845 22.016-7.882 4.406.149.145 7.733-4.321A2.73 2.73 0 0 0 36.502 20a2.9 2.9 0 0 1-1.657 2.017Z' data-name='Path 1209' opacity='.12'/%3e%3cpath fill='%23fff' d='m4.022.75 30.821 17.227a2.9 2.9 0 0 1 1.657 2.018 2.73 2.73 0 0 0-1.657-2.246L4.022.524C1.815-.711.006.315.006 2.803v.227C.006.541 1.813-.484 4.022.75' data-name='Path 1210' opacity='.25'/%3e%3c/svg%3e"},35726:(e,t,n)=>{var a=n(9295)["default"];n(2008),n(51629),n(64346),n(62062),n(33110),n(5506),n(53921),n(79432),n(26099),n(47764),n(23500),n(62953),n(62953),window.browser={runtime:{getURL:function(e){return e}},storage:{local:{get:function(e){var t=Array.isArray(e)?e:[e];return Promise.resolve(Object.fromEntries(t.map((function(e){var t=localStorage.getItem(e);return[e,null===t?void 0:JSON.parse(t)]})).filter((function(e){var t=a(e,2),n=t[1];return void 0!==n})).map((function(e){var t=a(e,2),n=t[0],r=t[1];return[n,r]}))))},set:function(e){return Object.entries(e).forEach((function(e){var t=a(e,2),n=t[0],r=t[1];return localStorage.setItem(n,JSON.stringify(r))})),Promise.resolve()},remove:function(e){var t=Array.isArray(e)?e:[e];return t.forEach((function(e){return localStorage.removeItem(e)})),Promise.resolve()},clear:function(){return localStorage.clear(),Promise.resolve()}}}}},52347:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(55096),r=n(73808),o=(n(27208),n(76918),n(28706),n(64346),n(62062),n(60739),n(23288),n(5506),n(53921),n(26099),n(38781),n(1843)),i=n.n(o),s=n(60346),u=i()({storeAsString:!0}),c=function e(t){if("object"===(0,r.A)(t)&&null!==t&&t.constructor===Object)return Object.fromEntries(Object.entries(t).map((function(t){var n=(0,a.A)(t,2),r=n[0],o=n[1];return[r,e(o)]})).map((function(e){var t=(0,a.A)(e,2),n=t[0],r=t[1];return[n,r]})));if(Array.isArray(t))return t.map((function(t){return e(t)}));if("string"===typeof t&&(0,s.A)(t).toString(10)===t){var n=(0,s.A)(t);return n.toJSON=function(){return n.toString(10)},n}return t.toString()};const l={stringify:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a{"use strict";n.d(t,{S:()=>f});var a=n(6682),r=n(55096),o=(n(28706),n(2008),n(50113),n(74423),n(62062),n(62010),n(5506),n(26099),n(21699),n(11392),n(42762),n(60346)),i=n(20641),s=n(65563),u=n(32118),c=n(53592),l=n(85522),d=n(68411),p=n(53048),v=n(40239);function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ownedOnly,n=void 0!==t&&t,f=e.withBalanceOnly,m=void 0!==f&&f,g=e.searchTerm,h=e.isMultisig,A=void 0!==h&&h,k=(0,c.Z)(),y=k.marketData,b=(0,v.t)(),w=b.balance,C=(0,d.o)(),x=C.activeAccount,L=(0,p.c)(),S=L.activeMultisigAccount,T=(0,l.Y)(),E=T.getAccountTokenBalances,I=T.getProtocolAvailableTokens,_=(0,i.EW)((function(){var e,t=A?null===(e=S.value)||void 0===e?void 0:e.balance:w.value;return new o.A(null!==t&&void 0!==t?t:0)})),W=(0,i.EW)((function(){return A?s.yv.aeternity:x.value.protocol})),F=(0,i.EW)((function(){var e;return E(A?null===(e=S.value)||void 0===e?void 0:e.gaAccountId:x.value.address)})),D=(0,i.EW)((function(){return I(W.value)})),B=(0,i.EW)((function(){return F.value.map((function(e){var t=e.contractId;return t}))})),P=(0,i.EW)((function(){return u.C.getAdapter(W.value).getDefaultCoin(y.value,+_.value)})),O=(0,i.EW)((function(){var e=A?[]:Object.entries(D.value).map((function(e){var t=(0,r.A)(e,2),n=t[0],a=t[1],o=F.value.find((function(e){return e.contractId===n}));return o?Object.assign(Object.assign({},a),o):a}));return[].concat((0,a.A)(P.value?[P.value]:[]),(0,a.A)(e))})),M=(0,i.EW)((function(){var e=((null===g||void 0===g?void 0:g.value)||"").trim().toLowerCase(),t=e.startsWith("ct_"),a=u.C.getAdapter(W.value).coinContractId;return O.value.filter((function(e){var t=e.contractId;return!n||t===a||B.value.includes(t)})).filter((function(e){var t=e.contractId,n=e.convertedBalance;return!m||t===a||+(n||0)})).filter((function(n){var a=n.contractId,r=n.symbol,o=n.name;return!e||(null===r||void 0===r?void 0:r.toLowerCase().includes(e))||(null===o||void 0===o?void 0:o.toLowerCase().includes(e))||t&&(null===a||void 0===a?void 0:a.toLowerCase().includes(e))}))}));return{accountAssets:O,accountAssetsFiltered:M,protocolCoinBalance:_}}},68411:(e,t,n)=>{"use strict";n.d(t,{o:()=>Z});var a=n(2327),r=n(1287),o=n(6682),i=(n(62953),n(28706),n(50113),n(51629),n(74423),n(62062),n(44114),n(72712),n(53921),n(79432),n(26099),n(21699),n(47764),n(23500),n(50953)),s=n(20641),u=n(41343),c=n(46582),l=n(65563),d=n(31189),p=n(32118),v=n(35306),f=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},m=function(e){return f(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r,o;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(null===e||void 0===e?void 0:e.length){t.next=24;break}return t.next=3,(0,v.a)();case 3:if(t.t2=n=t.sent,t.t1=null===t.t2,t.t1){t.next=7;break}t.t1=void 0===n;case 7:if(!t.t1){t.next=11;break}t.t3=void 0,t.next=12;break;case 11:t.t3=n.accounts;case 12:if(t.t4=r=t.t3,t.t0=null===t.t4,t.t0){t.next=16;break}t.t0=void 0===r;case 16:if(!t.t0){t.next=20;break}t.t5=void 0,t.next=21;break;case 20:t.t5=r.list;case 21:if(o=t.t5,!(null===o||void 0===o?void 0:o.length)){t.next=24;break}return t.abrupt("return",o.reduce((function(e,t){var n=t.protocol,a=t.type;return l.E4.includes(n)&&a===l.zE&&e.push({isRestored:!0,protocol:n,type:a}),e}),[]));case 24:return t.abrupt("return",e);case 25:case"end":return t.stop()}}),t)})))};const g=m;var h=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},A=function(e){return h(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e){t.next=15;break}return t.next=3,(0,v.a)();case 3:if(t.t1=n=t.sent,t.t0=null===t.t1,t.t0){t.next=7;break}t.t0=void 0===n;case 7:if(!t.t0){t.next=11;break}t.t2=void 0,t.next=12;break;case 11:t.t2=n.mnemonic;case 12:if(r=t.t2,!r||!(0,c.validateMnemonic)(r)){t.next=15;break}return t.abrupt("return",r);case 15:return t.abrupt("return",e);case 16:case"end":return t.stop()}}),t)})))};const k=A;var y=n(26169),b=(n(25440),n(62010),n(27495),n(99449),n(84754)),w=n(85142),C=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function x(e){return C(this,void 0,void 0,(0,a.A)().mark((function t(){var n,r,i,s,u;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=[],t.next=3,w.YA.readdir({path:e});case 3:r=t.sent,i=(0,y.A)(r.files),t.prev=5,i.s();case 7:if((s=i.n()).done){t.next=17;break}if(u=s.value,"directory"!==u.type){t.next=14;break}return t.next=12,x(u.uri).then((function(e){n.push.apply(n,(0,o.A)(e))}));case 12:t.next=15;break;case 14:"file"===u.type&&u.uri.endsWith(".mnemonic")&&n.push(u);case 15:t.next=7;break;case 17:t.next=22;break;case 19:t.prev=19,t.t0=t["catch"](5),i.e(t.t0);case 22:return t.prev=22,i.f(),t.finish(22);case 25:return t.abrupt("return",n);case 26:case"end":return t.stop()}}),t,null,[[5,19,22,25]])})))}function L(){return C(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,w.YA.getUri({path:"Caches",directory:w.__.Library});case 2:return t=e.sent,e.next=5,x(t.uri);case 5:if(n=e.sent,!n.length){e.next=8;break}return e.abrupt("return",n[0].name.replace(".mnemonic",""));case 8:return e.abrupt("return",null);case 9:case"end":return e.stop()}}),e)})))}function S(){return C(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n,r,o,i;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,w.YA.getUri({path:"Caches",directory:w.__.Library});case 2:return t=e.sent,e.next=5,x(t.uri);case 5:n=e.sent,r=(0,y.A)(n),e.prev=7,r.s();case 9:if((o=r.n()).done){e.next=20;break}return i=o.value,e.prev=11,e.next=14,w.YA.deleteFile({path:i.uri});case 14:e.next=18;break;case 16:e.prev=16,e.t0=e["catch"](11);case 18:e.next=9;break;case 20:e.next=25;break;case 22:e.prev=22,e.t1=e["catch"](7),r.e(e.t1);case 25:return e.prev=25,r.f(),e.finish(25);case 28:case"end":return e.stop()}}),e,null,[[7,22,25,28],[11,16]])})))}var T=function(e){return C(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r,o;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e||!l.pz||!l.I$){t.next=13;break}return n=(0,b.mv)(),r=n.setLoaderVisible,r(!0),t.prev=3,t.next=6,L();case 6:if(o=t.sent,!o){t.next=10;break}return S(),t.abrupt("return",o);case 10:return t.prev=10,r(!1),t.finish(10);case 13:return t.abrupt("return",e);case 14:case"end":return t.stop()}}),t,null,[[3,,10,13]])})))};const E=T;var I=n(54228),_=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},W=!1,F=(0,d.pe)(),D=F.addCallback,B=F.runCallbacks,P=(0,i.KR)(!1),O=(0,I.S)("",l.d5.mnemonic,{backgroundSync:!0,migrations:[].concat((0,o.A)(l.pz&&l.I$?[E]:[]),[k])}),M=(0,I.S)([],l.d5.accountsRaw,{backgroundSync:!0,migrations:[g],onRestored:function(){P.value=!0}}),R=(0,I.S)(0,l.d5.activeAccountGlobalIdx,{backgroundSync:!0}),N=(0,I.S)({},l.d5.protocolLastActiveAccountIdx,{backgroundSync:!0}),U=(0,s.EW)((function(){return O.value?(0,c.mnemonicToSeed)(O.value):null})),X=(0,s.EW)((function(){var e;if(!O.value||!(null===(e=M.value)||void 0===e?void 0:e.length))return[];var t=Object.fromEntries(l.E4.map((function(e){return[e,0]})));return M.value.map((function(e,n){var a=t[e.protocol],r=p.C.getAdapter(e.protocol).getHdWalletAccountFromMnemonicSeed(U.value,a);return t[e.protocol]+=1,Object.assign(Object.assign({globalIdx:n,idx:a},e),r)}))})),V=(0,s.EW)((function(){return X.value[R.value]||{}})),H=(0,s.EW)((function(){return X.value.reduce((function(e,t){return Object.assign(Object.assign({},e),(0,r.A)({},t.protocol,[].concat((0,o.A)((null===e||void 0===e?void 0:e[t.protocol])||[]),[t])))}),{})})),$=(0,s.EW)((function(){return H.value[l.yv.aeternity]||[]})),j=(0,s.EW)((function(){return X.value.map((function(e){var t=e.address;return t}))})),K=(0,s.EW)((function(){return(0,d.dZ)(X.value)})),q=(0,s.EW)((function(){return(0,d.dZ)($.value)})),G=(0,s.EW)((function(){return V.value&&Object.keys(V.value).length>0})),Q=(0,s.EW)((function(){return(0,u.A)(X.value.map((function(e){var t=e.protocol;return t})))}));function Z(){var e=this;function t(e){return X.value.find((function(t){return t.address===e}))}function n(e){return X.value.find((function(t){return t.globalIdx===e}))}function r(e){if(V.value.protocol===e)return V.value;var t=N.value[e];return t?n(t):X.value.find((function(t){return t.protocol===e}))}function o(e){var t=H.value[e];return t?t[t.length-1]:void 0}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=V.value,a=n(e);R.value=(null===a||void 0===a?void 0:a.globalIdx)||0,a&&t.address!==a.address&&(N.value[a.protocol]=a.globalIdx,B(a,t))}function s(e){var n;e&&i(null===(n=t(e))||void 0===n?void 0:n.globalIdx)}function u(e,t){var n,a=null===(n=H.value[e])||void 0===n?void 0:n.find((function(e){return e.idx===t}));a&&i(a.globalIdx)}function v(e){var t=r(e);u(e,(null===t||void 0===t?void 0:t.idx)||0)}function f(e){O.value=e}function m(){f((0,c.generateMnemonic)())}function g(e){return j.value.includes(e)}function h(e){var t,n=e.isRestored,a=e.protocol;return M.value.push({protocol:a,isRestored:n,type:l.zE}),(null===(t=o(a))||void 0===t?void 0:t.idx)||0}function A(){return _(this,void 0,void 0,(0,a.A)().mark((function e(){var t;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(l.E4.map((function(e){return p.C.getAdapter(e).discoverLastUsedAccountIndex(U.value)})));case 2:t=e.sent,l.E4.forEach((function(e,n){for(var a=0;a<=t[n];a+=1)h({isRestored:!0,protocol:e})}));case 4:case"end":return e.stop()}}),e)})))}function k(){O.value="",M.value=[],R.value=0}return function(){_(e,void 0,void 0,(0,a.A)().mark((function e(){return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(W){e.next=5;break}return W=!0,e.next=4,(0,d.mU)(G);case 4:N.value[V.value.protocol]=V.value.globalIdx;case 5:case"end":return e.stop()}}),e)})))}(),{accounts:X,aeAccounts:$,accountsAddressList:j,accountsSelectOptions:K,aeAccountsSelectOptions:q,accountsRaw:M,activeAccount:V,activeAccountGlobalIdx:R,areAccountsRestored:P,isLoggedIn:G,mnemonic:O,mnemonicSeed:U,protocolsInUse:Q,discoverAccounts:A,isLocalAccountAddress:g,addRawAccount:h,getAccountByAddress:t,getAccountByGlobalIdx:n,getLastActiveProtocolAccount:r,onAccountChange:D,setActiveAccountByAddress:s,setActiveAccountByGlobalIdx:i,setActiveAccountByProtocolAndIdx:u,setActiveAccountByProtocol:v,setMnemonic:f,setGeneratedMnemonic:m,resetAccounts:k}}},75265:(e,t,n)=>{"use strict";n.d(t,{C:()=>Q});var a,r,o,i=n(2327),s=(n(62953),n(76918),n(51629),n(23288),n(62010),n(26099),n(38781),n(47764),n(23500),n(50953)),u=n(20641),c=n(46512),l=n(31490),d=n(60182),p=n(41417),v=n(13217),f=n(6624),m=n(84177),g=n(22342),h=n(217),A=(n(62062),n(3798)),k=n(65563),y=n(68411),b=n(91392),w=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},C=function(e){function t(e,n){var a;return(0,p.A)(this,t),a=(0,f.A)(this,t,[e]),a.nodeNetworkId=n,a}return(0,h.A)(t,e),(0,v.A)(t,[{key:"_resolveAccount",value:function(){return new b.L(this.nodeNetworkId)}},{key:"getAccounts",value:function(){var e={connected:{},current:{}},t=(0,y.o)(),n=t.getLastActiveProtocolAccount,a=n(k.yv.aeternity);return a&&(e.current[a.address]={}),e}},{key:"addresses",value:function(){var e=(0,y.o)(),t=e.aeAccounts;return t.value.map((function(e){var t=e.address;return t}))}},{key:"spendWithCustomOptions",value:function(e,n,a){return(0,m.A)((0,g.A)(t.prototype),"spend",this).call(this,e,n,a)}},{key:"getWalletInfo",value:function(){return w(this,void 0,void 0,(0,i.A)().mark((function e(){return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.t0=this.id,e.t1=this.name,e.next=4,this.api.getNetworkId();case 4:return e.t2=e.sent,e.t3=void 0,e.t4=this._type,e.abrupt("return",{id:e.t0,name:e.t1,networkId:e.t2,origin:e.t3,type:e.t4});case 8:case"end":return e.stop()}}),e,this)})))}}]),t}(A.A),x=n(6682),L=(n(28706),n(2008),n(74423),n(31415),n(21699),n(99834)),S=n(22146),T=n(31189),E=3e3,I=function(){var e,t=new Set,n=!1;function a(){return[window.parent].concat((0,x.A)((0,L.A)(window.parent.frames.length,(function(e){return window.parent.frames[e]}))))}function r(r){n=!0,clearInterval(e);try{e=(0,T.mX)((function(){return a().filter((function(e){return e!==window})).forEach((function(e){if(!t.has(e)){t.add(e);var n,o=new S.A({target:e}),i=o.connect;o.connect=function(t){i.call(this,(function(a,r,o){o===e&&(clearInterval(n),t(a,r,o))}),(function(){}))};var s=r.addRpcClient(o);n=(0,T.mX)((function(){a().includes(e)?r.shareWalletInfo(s):clearInterval(n)}),3e3)}}))}),E)}catch(o){(0,T.fY)(o)}}return{initialized:n,init:r}}(),_=n(59755),W=n(41549),F=n(12082),D=n(81881),B=n(48287)["Buffer"],P=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},O=!1,M=(0,s.KR)(),R=(0,s.KR)(!1),N=(0,s.KR)(!1),U=(0,s.KR)(!1),X=(0,s.KR)(!1),V={},H=(0,u.EW)((function(){return!R.value&&a})),$=(0,u.EW)((function(){return M.value===_.LK})),j=(0,u.EW)((function(){return M.value===_.aR})),K=(0,u.EW)((function(){return!$.value&&!j.value})),q=(0,u.EW)((function(){return k.yW||!K.value})),G=(0,u.EW)((function(){return M.value?_.ml[M.value]:void 0}));function Q(){var e=this,t=(0,D.f)(),n=t.activeNetworkName,s=t.areNetworksRestored,u=t.onNetworkChange,p=(0,y.o)(),v=p.accountsAddressList,f=p.isLoggedIn,m=p.getLastActiveProtocolAccount,g=p.onAccountChange,h=(0,F.S)(),A=h.checkOrAskPermission,b=(0,W.$L)(),w=b.aeActiveNetworkSettings;function x(e){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var n;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return N.value=!1,X.value=!1,U.value=!0,t.prev=3,n=new c.A(e),t.next=7,n.getStatus();case 7:M.value=t.sent.networkId,N.value=!0,t.next=16;break;case 11:return t.prev=11,t.t0=t["catch"](3),M.value=void 0,X.value=!0,t.abrupt("return",null);case 16:return U.value=!1,t.abrupt("return",n);case 18:case"end":return t.stop()}}),t,null,[[3,11]])})))}function L(e,t){return P(this,void 0,void 0,(0,i.A)().mark((function n(){return(0,i.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return R.value=!0,a.pool["delete"](e.name),n.t0=a,n.t1=t.name,n.next=6,x(t.protocols.aeternity.nodeUrl);case 6:n.t2=n.sent,n.t0.addNode.call(n.t0,n.t1,n.t2,!0),R.value=!1;case 9:case"end":return n.stop()}}),n)})))}function S(){return P(this,void 0,void 0,(0,i.A)().mark((function e(){var t;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return R.value=!0,e.next=3,Promise.all([(0,T.mU)(f),(0,T.mU)(s)]);case 3:return r=n.value,e.next=6,x(w.value.nodeUrl);case 6:t=e.sent,a=new C({name:"Superhero",nodes:[{name:n.value,instance:t}],id:"Superhero Wallet",type:k.hL?l.VE.extension:l.VE.window,onConnection:function(e,t,n){V[e]=Object.assign(Object.assign({},t),{origin:n})},onDisconnect:function(e){delete V[e]},onSubscription:function(e,t,n){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var a,r;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=V[e],r=k.ys?a.origin:n,t.next=4,A(l.J8.subscribeAddress,r);case 4:if(!t.sent){t.next=6;break}return t.abrupt("return",m(k.yv.aeternity).address);case 6:return t.abrupt("return",Promise.reject(new l.A6("Rejected by user")));case 7:case"end":return t.stop()}}),t)})))},onAskAccounts:function(e,t,n){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var a,r;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=V[e],r=k.ys?a.origin:n,t.next=4,A(l.J8.address,r);case 4:if(!t.sent){t.next=6;break}return t.abrupt("return",v.value);case 6:return t.abrupt("return",Promise.reject(new l.A6("Rejected by user")));case 7:case"end":return t.stop()}}),t)})))}},M),k.IX&&!I.initialized&&I.init(a),R.value=!1;case 10:case"end":return e.stop()}}),e)})))}function E(){return P(this,void 0,void 0,(0,i.A)().mark((function e(){return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!R.value){e.next=5;break}return e.next=3,(0,T.mU)((function(){return!R.value}));case 3:e.next=8;break;case 5:if(a){e.next=8;break}return e.next=8,S();case 8:return e.abrupt("return",a);case 9:case"end":return e.stop()}}),e)})))}function _(){return P(this,void 0,void 0,(0,i.A)().mark((function e(){var t,a;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o){e.next=5;break}return t=new c.A(w.value.nodeUrl,{ignoreVersion:!0}),o=new d.A({nodes:[{name:n.value,instance:t}]}),r=n.value,e.abrupt("return",o);case 5:return r!==n.value&&(a=new c.A(w.value.nodeUrl,{ignoreVersion:!0}),o.pool["delete"](r),o.pool["delete"](n.value),o.addNode(n.value,a,!0)),e.abrupt("return",o);case 7:case"end":return e.stop()}}),e)})))}function K(e){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var n,a;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,E();case 2:return n=t.sent,t.t0=B,t.next=6,n.signMessage(e.challenge);case 6:return t.t1=t.sent,a=t.t0.from.call(t.t0,t.t1).toString("hex"),t.abrupt("return",{challenge:e.challenge,signature:a});case 9:case"end":return t.stop()}}),t)})))}function Q(){return P(this,void 0,void 0,(0,i.A)().mark((function e(){var t;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!k.IX){e.next=5;break}return e.next=3,E();case 3:t=e.sent,t._clients.forEach((function(e,n){e.status===l.fE.CONNECTED&&e.rpc.notify(l.J8.closeConnection,null),t.removeRpcClient(n)}));case 5:case"end":return e.stop()}}),e)})))}function Z(e){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var n;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,E();case 2:return n=t.sent,t.abrupt("return",n.poll(e));case 4:case"end":return t.stop()}}),t)})))}return O||(O=!0,u((function(e,t){L(t,e)})),g((function(){return P(e,void 0,void 0,(0,i.A)().mark((function e(){var t;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,E();case 2:t=e.sent,t._pushAccountsToApps();case 4:case"end":return e.stop()}}),e)})))}))),{isAeNodeReady:N,isAeNodeConnecting:U,isAeNodeError:X,isNodeMainnet:$,isNodeTestnet:j,isAeSdkReady:H,nodeNetworkId:M,isTippingSupported:q,dexContracts:G,getAeSdk:E,getDryAeSdk:_,resetNode:L,fetchRespondChallenge:K,createNodeInstance:x,disconnectDapps:Q,waitTransactionMined:Z}}},40239:(e,t,n)=>{"use strict";n.d(t,{t:()=>y});var a=n(2327),r=(n(62953),n(62062),n(72712),n(9868),n(53921),n(26099),n(47764),n(20641)),o=n(87471),i=n(60346),s=n(65563),u=n(31189),c=n(32118),l=n(53592),d=n(58449),p=n(68411),v=n(54228),f=n(81881),m=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},g=!1,h=5e3,A=(0,d.y)(h),k=(0,v.S)({},s.d5.balances,{serializer:{read:function(e){return(0,o.A)(e,(function(e){return new i.A(e)}))},write:function(e){return(0,o.A)(e,(function(e){return e.toFixed()}))}}});function y(){var e=(0,p.o)(),t=e.activeAccount,n=e.accounts,o=(0,f.f)(),s=o.onNetworkChange,d=(0,l.Z)(),v=d.getCurrentCurrencyRate,h=(0,r.EW)((function(){return k.value[t.value.address]||new i.A(0)})),y=(0,r.EW)((function(){var e=n.value.reduce((function(e,t){var n,a=null===(n=k.value)||void 0===n?void 0:n[t.address];return a?e+v(t.protocol)*a.toNumber():e}),0);return e.toFixed(2)}));function b(e){return k.value[e]||new i.A(0)}function w(){return m(this,void 0,void 0,(0,a.A)().mark((function e(){var t,r,o,s=this;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.value,r=t.map((function(e){var t=e.address,n=e.protocol;return m(s,void 0,void 0,(0,a.A)().mark((function e(){return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c.C.getAdapter(n).fetchBalance(t)["catch"]((function(e){return(0,u.El)(e)||(0,u.fY)(e),0})));case 1:case"end":return e.stop()}}),e)})))})),e.next=4,Promise.all(r);case 4:o=e.sent,k.value=Object.fromEntries(o.map((function(e,n){return[t[n].address,(0,i.A)(e||0)]})));case 6:case"end":return e.stop()}}),e)})))}return A((function(){return w()})),g||(g=!0,s((function(){w()}))),{balances:k,accountsTotalBalance:y,balance:h,getAccountBalance:b,updateBalances:w}}},58449:(e,t,n)=>{"use strict";n.d(t,{X:()=>s,y:()=>u});n(76031);var a=n(50953),r=n(20641),o=n(24122),i=n(909);function s(e){var t;return function(){return t||(t=(0,a.uY)(!0).run(e)||e()),t}}function u(e){var t=(0,o.w)(),n=t.isOnline,a=(0,i.m)(),s=a.isAppActive,u=!1,c=null,l=0;return function(t){function a(){n.value&&s.value&&(u=!0,t())}(0,r.nI)()&&((0,r.sV)((function(){l+=1,l>0&&!c&&(u||a(),c=setInterval((function(){return a()}),e))})),(0,r.xo)((function(){l-=1,0===l&&c&&(clearInterval(c),c=null)})))}}},24122:(e,t,n)=>{"use strict";n.d(t,{w:()=>c});var a=n(50953),r=n(20641),o=n(81849),i=n(65563),s=!1,u=(0,a.KR)(window.navigator.onLine);function c(){function e(){s||(s=!0,i.I$?o.l.addListener("networkStatusChange",(function(e){u.value=e.connected})):(window.addEventListener("online",(function(){u.value=!0})),window.addEventListener("offline",(function(){u.value=!1}))))}return i.I$&&!s&&o.l.getStatus().then((function(e){u.value=e.connected})),{isOnline:(0,r.EW)((function(){return u.value})),watchConnectionStatus:e}}},53592:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var a=n(2327),r=(n(50113),n(48598),n(62062),n(9868),n(53921),n(26099),n(50953)),o=n(20641),i=n(66401),s=n(46661),u=n(65563),c=n(31189),l=n(32118),d=n(68411),p=n(41417),v=n(13217),f=(n(62953),n(48408),n(76918),n(28706),n(23288),n(38781),n(47764),n(14603),n(47566),n(98721),n(43089)),m=n.n(f),g=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},h="https://api.coingecko.com/api/v3",A=function(){function e(){(0,p.A)(this,e)}return(0,v.A)(e,null,[{key:"fetchFromApi",value:function(e,t){var n=new URLSearchParams(t).toString();return(0,c.x6)("".concat(h).concat(e,"?").concat(n))}},{key:"fetchCoinMarketData",value:function(t,n){return g(this,void 0,void 0,(0,a.A)().mark((function r(){var o;return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.fetchFromApi("/coins/markets",{ids:t,vs_currency:n});case 3:if(a.t0=a.sent,a.t0){a.next=6;break}a.t0=[];case 6:return o=a.t0,a.abrupt("return",o?m()(o):null);case 10:return a.prev=10,a.t1=a["catch"](0),a.abrupt("return",null);case 13:case"end":return a.stop()}}),r,null,[[0,10]])})))}},{key:"fetchCoinCurrencyRates",value:function(t){return g(this,void 0,void 0,(0,a.A)().mark((function n(){return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.fetchFromApi("/simple/price",{ids:t,vs_currencies:u.yR.map((function(e){var t=e.code;return t})).join(",")});case 3:return n.abrupt("return",n.sent);case 6:return n.prev=6,n.t0=n["catch"](0),n.abrupt("return",null);case 9:case"end":return n.stop()}}),n,null,[[0,6]])})))}}]),e}(),k=n(58449),y=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},b=!1,w=36e5,C="currency",x="usd",L=(0,r.KR)(null),S=(0,r.KR)({}),T=(0,r.KR)(!1),E=(0,r.KR)((0,c._S)([C])||x),I=(0,k.y)(w);function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.pollingDisabled,n=void 0!==t&&t,r=(0,d.o)(),p=r.protocolsInUse,v=r.isLoggedIn,f=(0,o.EW)((function(){return u.yR.find((function(e){var t=e.code;return t===E.value}))}));function m(e){var t,n;return(null===(n=null===(t=S.value)||void 0===t?void 0:t[e])||void 0===n?void 0:n[E.value])||0}function g(){return p.value.map((function(e){return l.C.getAdapter(e).getCoinGeckoCoinId()})).join(",")}function h(){return y(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,c.mU)(v);case 3:return e.next=5,A.fetchCoinMarketData(g(),E.value);case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0=[];case 8:t=e.t0,n=Object.fromEntries(t.map((function(e){return[e.id,e]}))),L.value=(0,i.A)(n)?null:n,e.next=17;break;case 13:e.prev=13,e.t1=e["catch"](0),(0,c.fY)(e.t1),L.value=null;case 17:case"end":return e.stop()}}),e,null,[[0,13]])})))}function k(e){E.value=e,h(),(0,c.AP)([C],e)}function w(){return y(this,void 0,void 0,(0,a.A)().mark((function e(){var t;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return T.value=!0,e.next=3,A.fetchCoinCurrencyRates(g());case 3:t=e.sent,t&&(S.value=t),T.value=!1;case 6:case"end":return e.stop()}}),e)})))}function x(e){return new Intl.NumberFormat(u.Xn,{style:"currency",currencyDisplay:"narrowSymbol",currency:E.value}).format(e)}function _(e,t){return+(m(t)*e).toFixed(2)}function W(e,t){return x(_(e,t))}function F(e,t){if(!m(t)||0===e)return x(0);var n=_(e,t);return n<.01?"<".concat(x(.01)):x(n)}return n||I((function(){return w()})),b||(b=!0,(0,o.wB)(p,(function(e,t){(0,s.A)(e,t).length&&!T.value&&w()}))),{CURRENCIES:u.yR,marketData:L,currencyRates:S,currentCurrencyCode:E,currentCurrencyInfo:f,getCurrentCurrencyRate:m,loadCoinsData:h,loadCurrencyRates:w,setCurrentCurrency:k,formatCurrency:x,getFiat:_,getFormattedFiat:W,getFormattedAndRoundedFiat:F}}},85522:(e,t,n)=>{"use strict";n.d(t,{Y:()=>W});var a=n(73808),r=n(55096),o=n(2327),i=(n(93514),n(25440),n(62953),n(18107),n(2008),n(50113),n(46449),n(62062),n(44114),n(72712),n(62010),n(2892),n(5506),n(26099),n(16034),n(27495),n(67357),n(47764),n(20641)),s=n(60346),u=n(41805),c=n(31189),l=n(65563),d=n(32118),p=n(12717),v=n(59755),f=n(58338),m=n(5582),g=n(68411),h=n(75265),A=n(97911),k=n(58449),y=n(54228),b=n(81881),w=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},C=!1,x=(0,y.S)({},l.d5.fungibleTokenList),L=(0,y.S)([],l.d5.fungibleTokenBalances),S=(0,i.EW)((function(){var e=(0,m.A)(L.value,"contractId").map((function(e){return{contractId:e.contractId,protocol:e.protocol,name:null===e||void 0===e?void 0:e.name,symbol:null===e||void 0===e?void 0:e.symbol}})),t=e.reduce((function(e,t){var n,a,r=t.contractId,o=t.protocol;return e[o]||(e[o]={}),(null===(a=null===(n=null===x||void 0===x?void 0:x.value)||void 0===n?void 0:n[o])||void 0===a?void 0:a[r])||(e[o][r]=t),e}),{});return Object.values(l.yv).reduce((function(e,n){return e[n]=Object.assign(Object.assign({},x.value[n]),t[n]),e}),{})}));function T(e){return S.value[e]||{}}var E=(0,k.y)(6e4),I=(0,k.y)(1e4),_=!1;function W(){var e=this,t=(0,b.f)(),n=t.activeNetwork,m=t.onNetworkChange,k=(0,h.C)(),y=k.getAeSdk,W=(0,A.k)(),F=W.tippingContractAddresses,D=(0,g.o)(),B=D.accounts,P=D.protocolsInUse,O=D.getLastActiveProtocolAccount;function M(e){return L.value.filter((function(t){return t.address===e}))||[]}function R(e,t){return M(e).find((function(e){return e.contractId===t}))}function N(){return w(this,void 0,void 0,(0,o.A)().mark((function e(){var t,a,r;return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=P.value.map((function(e){var t,n;return null===(n=(t=d.C.getAdapter(e)).fetchAvailableTokens)||void 0===n?void 0:n.call(t)})),a=n.value.name,e.next=4,Promise.all(t);case 4:if(r=e.sent.map((function(e,t){return e||Object.values(x.value[P.value[t]]||{})})).flat(),a===n.value.name){e.next=7;break}return e.abrupt("return");case 7:x.value=r.reduce((function(e,t){var n=t.contractId,a=t.protocol;return e[a]||(e[a]={}),e[a][n]=t,e}),{});case 8:case"end":return e.stop()}}),e)})))}function U(){return w(this,void 0,void 0,(0,o.A)().mark((function e(){var t,n,a,i=this;return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!_){e.next=2;break}return e.abrupt("return");case 2:return _=!0,t={},B.value.map((function(e){var n,a,r,o=e.address,i=e.protocol;return t[o]=null!==(r=null===(a=(n=d.C.getAdapter(i)).fetchAccountTokenBalances)||void 0===a?void 0:a.call(n,o))&&void 0!==r?r:[],null})),n=L.value,a={},n.map((function(e){return a[e.address]||(a[e.address]=[]),a[e.address].push(e),null})),e.next=10,Promise.all(Object.entries(t).map((function(e){var t=(0,r.A)(e,2),n=t[0],s=t[1];return w(i,void 0,void 0,(0,o.A)().mark((function e(){return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,s;case 2:if(e.t1=e.sent,e.t1){e.next=5;break}e.t1=a[n];case 5:if(e.t0=e.t1,e.t0){e.next=8;break}e.t0=[];case 8:return e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e)})))})));case 10:L.value=e.sent.flat(),_=!1;case 12:case"end":return e.stop()}}),e)})))}function X(e,t){var n,a,r,i;return w(this,void 0,void 0,(0,o.A)().mark((function d(){var v,f,m,g,h,A,k,b;return(0,o.A)().wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.next=2,y();case 2:return v=o.sent,f=O(l.yv.aeternity),m=T(l.yv.aeternity)[e],o.next=7,v.initializeContract({aci:p,address:e});case 7:return g=o.sent,o.next=10,g.allowance({from_account:null===f||void 0===f?void 0:f.address,for_account:null===(a=null===(n=null===F||void 0===F?void 0:F.value)||void 0===n?void 0:n.tippingV2)||void 0===a?void 0:a.replace("ct_","ak_")});case 10:return h=o.sent,A=h.decodedResult,k=void 0!==A?new s.A(A).multipliedBy(-1).plus((0,c.Y9)(t,null===m||void 0===m?void 0:m.decimals)).toNumber():(0,c.Y9)(t,null===m||void 0===m?void 0:m.decimals).toNumber(),b=g.methods[void 0!==A?"change_allowance":"create_allowance"],o.abrupt("return",b(null===(i=null===(r=F.value)||void 0===r?void 0:r.tippingV2)||void 0===i?void 0:i.replace("".concat(u.W.ContractAddress,"_"),"".concat(u.W.AccountAddress,"_")),k));case 15:case"end":return o.stop()}}),d)})))}function V(e){var t,n=e||{},a=n.protocol,r=void 0===a?l.yv.aeternity:a,o=n.tx,i=void 0===o?{}:o,s=T(r);return(0,c.go)(i.contractId)||!i.contractId?d.C.getAdapter(r).coinSymbol:null===(t=s[i.contractId])||void 0===t?void 0:t.symbol}function H(e){var t,n,r,o,i,u,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.NX.sent,p=d===l.NX.received,m=e||{},g=m.protocol,h=m.tx;if(g&&g!==l.yv.aeternity)return new s.A((null===h||void 0===h?void 0:h.amount)||0).plus(p?0:(null===h||void 0===h?void 0:h.fee)||0).toNumber();var A=(null===e||void 0===e?void 0:e.tx)&&(0,f.BY)(e),k=g&&T(g)[null===A||void 0===A?void 0:A.assetContractId];if(A&&k)return+(0,c.Y9)(A.amount||0,-(k.decimals||v.kS));var y="claim"===h["function"]?null===(n=null===(t=h.log)||void 0===t?void 0:t[0])||void 0===n?void 0:n.topics[2]:null,b=(null===h||void 0===h?void 0:h.amount)||(null===(o=null===(r=null===h||void 0===h?void 0:h.tx)||void 0===r?void 0:r.tx)||void 0===o?void 0:o.amount)||(null===h||void 0===h?void 0:h.nameFee)||y||0,w="object"===(0,a.A)(b)?b:new s.A(Number(b));return+(0,f.c4)(w.plus(p?0:(null===h||void 0===h?void 0:h.fee)||0).plus(p?0:(null===(u=null===(i=null===h||void 0===h?void 0:h.tx)||void 0===i?void 0:i.tx)||void 0===u?void 0:u.fee)||0))}return E((function(){return N()})),I((function(){return U()})),C||(C=!0,(0,i.wB)(B,(function(e,t){e.length!==t.length&&(U(),1===e.filter((function(t){var n,a=t.protocol;return a===(null===(n=e.at(-1))||void 0===n?void 0:n.protocol)})).length&&N())})),m((function(t,n){return w(e,void 0,void 0,(0,o.A)().mark((function e(){var a,r,i,s;return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t.protocols[l.yv.aeternity].middlewareUrl,s=null===(r=null===(a=null===n||void 0===n?void 0:n.protocols)||void 0===a?void 0:a[l.yv.aeternity])||void 0===r?void 0:r.middlewareUrl,i===s){e.next=9;break}return L.value=[],x.value={},e.next=7,N();case 7:return e.next=9,U();case 9:case"end":return e.stop()}}),e)})))}))),{tokenBalances:L,tokensAvailable:S,createOrChangeAllowance:X,getAccountTokenBalance:R,getAccountTokenBalances:M,getProtocolAvailableTokens:T,getTxAssetSymbol:V,getTxAmountTotal:H,loadTokenBalances:U,loadAvailableTokens:N}}},84754:(e,t,n)=>{"use strict";n.d(t,{Sr:()=>Xe.S,oV:()=>a.o,CP:()=>oe.C,YY:()=>i,ty:()=>s.t,w5:()=>f.w,T9:()=>v,ZN:()=>m.Z,si:()=>C,Y7:()=>H.Y,_V:()=>M,Jt:()=>lt,rb:()=>Z,Ym:()=>se,U8:()=>b.U,Nc:()=>Ae,ci:()=>ue.c,jC:()=>We,fI:()=>B.f,E$:()=>Fe.E,ju:()=>Re,Sk:()=>dt.S,m:()=>Ne.m,J$:()=>it,S7:()=>D.S,kz:()=>Ue.k,U6:()=>Te,QR:()=>qe,my:()=>Ze,_8:()=>at,mv:()=>ze.m,kW:()=>rt.k});var a=n(68411),r=(n(51629),n(79432),n(26099),n(23500),n(50953)),o=(0,r.Kh)({});function i(){function e(e){Object.keys(e).forEach((function(t){o[t]=e[t]}))}function t(){Object.keys(o).forEach((function(e){o[e]=void 0}))}return{sharedAssetDetails:o,setSharedAssetDetails:e,resetSharedAssetDetails:t}}var s=n(40239),u=n(2327),c=(n(27495),n(71761),n(76031),n(85811)),l=n(31189),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function p(e){var t=document.createElement("textarea");if(t.value=e,t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),navigator.userAgent.match(/ipad|ipod|iphone/i)){t.contentEditable="true",t.readOnly=!0;var n=document.createRange();n.selectNodeContents(t);var a=window.getSelection();a&&(a.removeAllRanges(),a.addRange(n)),t.setSelectionRange(0,999999)}else t.select();document.execCommand("copy"),document.body.removeChild(t)}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.timeout,n=void 0===t?1e3:t,a=(0,r.KR)(!1);function o(e){return d(this,void 0,void 0,(0,u.A)().mark((function t(){return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e){t.next=19;break}if(t.prev=1,!c.B){t.next=6;break}c.B.write({string:e}),t.next=12;break;case 6:if(!navigator.clipboard){t.next=11;break}return t.next=9,navigator.clipboard.writeText(e);case 9:t.next=12;break;case 11:p(e);case 12:a.value=!0,setTimeout((function(){a.value=!1}),n),t.next=19;break;case 16:t.prev=16,t.t0=t["catch"](1),(0,l.fY)(t.t0);case 19:case"end":return t.stop()}}),t,null,[[1,16]])})))}return{copied:a,copy:o}}var f=n(24122),m=n(53592),g=n(55096),h=(n(25440),n(62953),n(3296),n(48408),n(72712),n(34782),n(5506),n(84864),n(57465),n(87745),n(38781),n(47764),n(14603),n(47566),n(98721),n(75220)),A=n(62759),k=n(90973),y=n(65563),b=n(21452),w=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function C(){var e=(0,A.jq)(),t=(0,h.lq)(),n=(0,r.KR)(t.query["x-success"]?new URL(decodeURIComponent(t.query["x-success"])):null);function a(e){return w(this,void 0,void 0,(0,u.A)().mark((function t(){var n,a;return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.path.slice(1)===k.qJ&&(0,l.DB)(e.query)&&(n=(0,b.U)(),a=n.openModal,a(y.Fv));case 1:case"end":return t.stop()}}),t)})))}function o(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.query[n?"x-success":"x-cancel"];if(r){var o=Object.entries(a).reduce((function(e,t){var n=(0,g.A)(t,2),a=n[0],r=n[1];return e.replace(new RegExp("{".concat(a,"}"),"g"),encodeURIComponent(r))}),decodeURIComponent(String(t.query[n?"x-success":"x-cancel"])));e.replace({name:k.qJ}),y.I$&&!y.pz?window.open(o,"_system"):window.open(o,"_self")}else e.replace({name:k.qJ})}return{checkIfOpenTransferSendModal:a,callbackOrigin:n,openCallbackOrGoHome:o}}n(27208),n(2008),n(74423),n(13609),n(59089),n(60739),n(23288),n(62010),n(21699);var x=n(60182),L=n(46512),S=n(65984),T=n(44343),E=n(58338),I=n(35306),_=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},W=function(e){return _(void 0,void 0,void 0,(0,u.A)().mark((function t(){var n,a,r;return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(null===e||void 0===e?void 0:e.length){t.next=24;break}return t.next=3,(0,I.a)();case 3:if(t.t2=n=t.sent,t.t1=null===t.t2,t.t1){t.next=7;break}t.t1=void 0===n;case 7:if(!t.t1){t.next=11;break}t.t3=void 0,t.next=12;break;case 11:t.t3=n.invites;case 12:if(t.t4=a=t.t3,t.t0=null===t.t4,t.t0){t.next=16;break}t.t0=void 0===a;case 16:if(!t.t0){t.next=20;break}t.t5=void 0,t.next=21;break;case 20:t.t5=a.invites;case 21:if(r=t.t5,!(null===r||void 0===r?void 0:r.length)){t.next=24;break}return t.abrupt("return",r);case 24:return t.abrupt("return",e);case 25:case"end":return t.stop()}}),t)})))};const F=W;var D=n(54228),B=n(81881),P=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},O=(0,D.S)([],y.d5.invites,{migrations:[F]});function M(){var e=(0,B.f)(),t=e.activeNetwork,n=(0,b.U)(),a=n.openDefaultModal;function r(e){O.value.unshift({secretKey:e.toJSON(),createdAt:Date.now()})}function o(e){O.value=O.value.filter((function(t){return t.secretKey!==e}))}function i(e){var n=e.secretKey,a=e.recipientId,r=e.amount,o=void 0===r?"0":r,i=e.isMax,s=void 0!==i&&i;return P(this,void 0,void 0,(0,u.A)().mark((function e(){var r;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=new x.A({nodes:[{name:t.value.name,instance:new L.A(t.value.protocols.aeternity.nodeUrl)}],accounts:[(0,E.Sf)(n)]}),s){e.next=6;break}return e.next=4,r.spend(o,a,{denomination:S.j8.AE});case 4:e.next=8;break;case 6:return e.next=8,r.transferFunds(1,a,{verify:!1});case 8:case"end":return e.stop()}}),e)})))}function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return P(this,void 0,void 0,(0,u.A)().mark((function n(){return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if((t||e.message.includes("is not enough to execute"))&&(!t||e.message.includes("Transaction build error"))){n.next=2;break}return n.abrupt("return",!1);case 2:return n.next=4,a({msg:t?(0,T.tg)("pages.invite.insufficient-invite-balance"):(0,T.tg)("pages.invite.insufficient-balance")});case 4:return n.abrupt("return",!0);case 5:case"end":return n.stop()}}),n)})))}return{invites:O,addInvite:r,removeInvite:o,claimInvite:i,handleInsufficientBalanceError:s}}var R=n(6682),N=(n(93514),n(28706),n(46449),n(62062),n(44114),n(15086),n(16034),n(20641)),U=n(50824),X=n(46996),V=n(32118),H=n(85522),$=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},j=!1,K=(0,D.S)({},y.d5.transactionsLatest),q=(0,D.S)({},y.d5.transactionsPending),G=(0,r.KR)(!1),Q=(0,N.EW)((function(){var e=[].concat((0,R.A)(Object.values(K.value).flat()),(0,R.A)(Object.values(q.value).flat()));return(0,l.Fs)([l.j0,l.jL])(e)}));function Z(){var e=(0,a.o)(),t=e.accounts,n=e.getAccountByAddress,r=(0,B.f)(),o=r.activeNetwork,i=r.onNetworkChange,c=(0,s.t)(),l=c.balances,d=(0,H.Y)(),p=d.tokenBalances;function v(e,t){q.value[e]=(0,U.A)(q.value[e],(function(e){return t===e.hash}))}function f(e){var t,n=e.address,a=e.protocol;return $(this,void 0,void 0,(0,u.A)().mark((function e(){var r,i,s,c,l,d;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=V.C.getAdapter(a),i=o.value.name,e.next=4,r.fetchAccountTransactions(n);case 4:if(s=e.sent,c=s.regularTransactions,l=s.pendingTransactions,d=s.tipWithdrawnTransactions,i===o.value.name){e.next=10;break}return e.abrupt("return",!0);case 10:return(c.length||(null===l||void 0===l?void 0:l.length)||(null===d||void 0===d?void 0:d.length))&&(K.value[n]=[].concat((0,R.A)(c),(0,R.A)(l||[]),(0,R.A)(d||[])),(null===(t=q.value[n])||void 0===t?void 0:t.length)&&c.forEach((function(e){var t=e.hash;return v(n,t)}))),e.abrupt("return",!0);case 12:case"end":return e.stop()}}),e)})))}function m(){return $(this,void 0,void 0,(0,u.A)().mark((function e(){var n=this;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(G.value){e.next=5;break}return G.value=!0,e.next=4,Promise.all(t.value.map((function(e){return $(n,void 0,void 0,(0,u.A)().mark((function t(){return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",f(e));case 1:case"end":return t.stop()}}),t)})))})));case 4:G.value=!1;case 5:case"end":return e.stop()}}),e)})))}function h(e,t){return $(this,void 0,void 0,(0,u.A)().mark((function a(){var r;return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(r=n(e),!r||!(null===t||void 0===t?void 0:t.hash)){a.next=11;break}return q.value[e]||(q.value[e]=[]),q.value[e].push(Object.assign(Object.assign({},t),{microTime:Date.now()})),a.prev=4,a.next=7,V.C.getAdapter(r.protocol).waitTransactionMined(t.hash);case 7:f(r);case 8:return a.prev=8,v(e,t.hash),a.finish(8);case 11:case"end":return a.stop()}}),a,null,[[4,,8,11]])})))}return j||(j=!0,m(),setInterval((function(){Object.entries(q.value).forEach((function(e){var t=(0,g.A)(e,2),n=t[0],a=t[1];a.forEach((function(e){var t=e.hash,a=e.microTime;Date.now()-(a||0)>y.tk&&v(n,t)}))})),Object.entries(K.value).forEach((function(e){var t=(0,g.A)(e,2),a=t[0],r=t[1];r.some((function(e){var t=e.pending;return!!t}))&&f(n(a))}))}),6e4),(0,N.wB)(l,(function(e,n){t.value.forEach((function(t){var a=n[t.address],r=e[t.address];a&&r&&!r.isEqualTo(a)&&setTimeout((function(){return f(t)}),V.C.getAdapter(t.protocol).mdwToNodeApproxDelayTime)}))}),{deep:!0}),(0,N.wB)(p,(function(e,t){(0,X.A)(e,t)||m()}),{deep:!0}),i((function(e,t){e.name!==t.name&&(K.value={},q.value={},m())}))),{accountsTransactionsLatest:K,accountsTransactionsPending:q,areLatestTransactionsUpdating:G,allLatestTransactions:Q,addAccountPendingTransaction:h,loadAllLatestTransactions:m}}n(76918),n(9868);var Y=n(60346),z=n(19636),J=n(91087),ee=n(57889),te=n(41805),ne=n(59794),ae=n(59755),re=n(12717),oe=n(75265),ie=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function se(e){var t,n,o,i=this,c=e.formModel,d=(0,oe.C)(),p=d.getAeSdk,v=(0,s.t)(),f=v.balance,m=(0,a.o)(),g=m.getLastActiveProtocolAccount,h=(0,r.KR)(new Y.A(0)),A=(0,r.KR)(new Y.A(0)),k=(0,r.KR)(0),b=(0,r.KR)(0),w=(0,N.EW)((function(){var e,t;if(f.value&&(null===(t=null===(e=c.value)||void 0===e?void 0:e.selectedAsset)||void 0===t?void 0:t.contractId)===ae.cK){var n=f.value.minus(h.value);return(n.isPositive()?n:0).toString()}return A.value.toString()}));function C(){return g(y.yv.aeternity)}return(0,N.wB)((function(){return c.value}),(function(e){return ie(i,void 0,void 0,(0,u.A)().mark((function t(){var n,a,r,i,s,c,d;return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(null===e||void 0===e?void 0:e.selectedAsset){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,p();case 4:if(n=t.sent,a=e.selectedAsset.contractId===ae.cK,r=C(),a){t.next=13;break}if(o&&o.$options.address===e.selectedAsset.contractId){t.next=12;break}return t.next=11,n.initializeContract({aci:re,address:e.selectedAsset.contractId});case 11:o=t.sent;case 12:b.value=e.selectedAsset.decimals;case 13:if(i=e.amount&&+e.amount>0?e.amount:0,s=new Y.A(i).shiftedBy(ae.kS),a&&(!e.address||(0,E.F7)(e.address)||!(0,l.Ks)(e.address))){t.next=20;break}return c=ne._7,o&&(c=o._calldata.encode(o._name,"transfer",[r.address,s.toFixed()])),h.value=(0,Y.A)((0,z.pj)((0,z.pr)({tag:J.vw.ContractCallTx,callerId:r.address,contractId:a?ne.zk:e.selectedAsset.contractId,amount:0,callData:c,nonce:k.value}),J.vw.ContractCallTx).fee).shiftedBy(-ae.kS),t.abrupt("return");case 20:a&&o&&(o=null),d=(0,Y.A)((0,z.pj)((0,z.pr)({tag:J.vw.SpendTx,senderId:r.address,recipientId:r.address,amount:s,payload:(0,ee.lF)((new TextEncoder).encode(e.payload),te.W.Bytearray),nonce:k.value}),J.vw.SpendTx).fee).shiftedBy(-ae.kS),d.isEqualTo(h.value)||(h.value=d);case 23:case"end":return t.stop()}}),t)})))}),{deep:!0,immediate:!0}),(0,N.sV)((function(){t=(0,l.mX)((function(){return ie(i,void 0,void 0,(0,u.A)().mark((function e(){var t;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,p();case 4:return e.t0=Y.A,e.next=7,o.balance(C().address);case 7:if(e.t2=t=e.sent.decodedResult,e.t1=null!==e.t2,!e.t1){e.next=11;break}e.t1=void 0!==t;case 11:if(!e.t1){e.next=15;break}e.t3=t,e.next=16;break;case 15:e.t3=0;case 16:e.t4=e.t3,A.value=new e.t0(e.t4).shiftedBy(-b.value);case 18:case"end":return e.stop()}}),e)})))}),1e3),n=(0,l.mX)((function(){return ie(i,void 0,void 0,(0,u.A)().mark((function e(){var t;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:return t=e.sent,e.prev=3,e.next=6,t.api.getAccountNextNonce(C().address);case 6:k.value=e.sent.nextNonce,e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](3),e.t0.message.includes("Account not found")||(0,l.fY)(e.t0);case 12:case"end":return e.stop()}}),e,null,[[3,9]])})))}),5e3)})),(0,N.xo)((function(){clearInterval(t),clearInterval(n)})),{max:w,fee:h}}var ue=n(53048),ce=(n(16280),n(1688),n(67892)),le=n(81265),de=n(74353),pe=n.n(de),ve=n(10854),fe=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},me=(0,r.KR)({}),ge=(0,r.KR)(null),he=(0,r.KR)(!1);function Ae(){var e=(0,oe.C)(),t=e.getDryAeSdk,n=e.getAeSdk,a=(0,ue.c)({pollOnce:!0}),o=a.getMultisigAccountByContractId,i=a.addPendingMultisigAccount,c=(0,s.t)(),l=c.balances,d=(0,r.KR)(null),p=(0,r.KR)(0),v=(0,N.EW)((function(){return d.value&&ge.value===ae._B.accessible})),f=(0,N.EW)((function(){return d.value&&ge.value===ae._B.created}));function m(){return fe(this,void 0,void 0,(0,u.A)().mark((function e(){var n;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:return n=e.sent,e.abrupt("return",n.initializeContract({aci:ve,bytecode:ae.Di}));case 4:case"end":return e.stop()}}),e)})))}function g(e,t,n,a){return fe(this,void 0,void 0,(0,u.A)().mark((function r(){return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(r.t0=e,r.t0){r.next=5;break}return r.next=4,m();case 4:r.t0=r.sent;case 5:return r.abrupt("return",r.t0._estimateGas("init",[t,n],{senderId:a}));case 6:case"end":return r.stop()}}),r)})))}function h(e,n){return fe(this,void 0,void 0,(0,u.A)().mark((function a(){var r,o,i,s,c;return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!(e>n.length)){a.next=2;break}throw Error("Number of confirmations exceed amount of signers");case 2:return r=[e,n],a.next=5,t();case 5:return o=a.sent,i=(0,ce.TZ)(),me.value[i.publicKey]={},a.next=10,m();case 10:return s=a.sent,me.value[i.publicKey].multisigAccountCreationEncodedCallData=s._calldata.encode(s._name,"init",r),a.t0=o,a.t1=i.publicKey,a.t2=s.$options.bytecode,a.t3=me.value[i.publicKey].multisigAccountCreationEncodedCallData,a.t4=(0,ce.tW)("authorize"),a.t5=J.vw.GaAttachTx,a.next=20,g(s,e,n,i.publicKey);case 20:return a.t6=a.sent,a.t7={ownerId:a.t1,code:a.t2,callData:a.t3,authFun:a.t4,tag:a.t5,gasLimit:a.t6,nonce:1},a.next=24,a.t0.buildTx.call(a.t0,a.t7);case 24:return c=a.sent,a.next=27,o.signTransaction(c,{innerTx:!0,onAccount:new le.A(i.secretKey)});case 27:return me.value[i.publicKey].signedAttachTx=a.sent,ge.value=ae._B.prepared,a.abrupt("return",i.publicKey);case 30:case"end":return a.stop()}}),a)})))}function A(e,t){var a;return fe(this,void 0,void 0,(0,u.A)().mark((function r(){var o,i,s,c,d,v,f;return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(o=me.value[t].signedAttachTx,o){r.next=3;break}throw Error("GA Attach Tx not found for account ".concat(t,", Prepare attach transaction first"));case 3:return r.next=5,n();case 5:return i=r.sent,r.t0=i,r.next=9,i.buildTx({tag:J.vw.PayingForTx,payerId:e,tx:o});case 9:return r.t1=r.sent,r.t2={fromAccount:e},r.next=13,r.t0.signTransaction.call(r.t0,r.t1,r.t2);case 13:if(s=r.sent,me.value[t].rawTx=s,c=(0,z.pj)(s,J.vw.SignedTx),c.encodedTx.tag===J.vw.PayingForTx&&c.encodedTx.tx.encodedTx.tag===J.vw.GaAttachTx){r.next=18;break}throw Error("Transaction build failed");case 18:d=c.encodedTx.fee,v=c.encodedTx.tx.encodedTx.fee,f=new Y.A(d).plus(v).toFixed(),p.value=+(0,E.c4)(f),ge.value=ae._B.signed,he.value=null===(a=l.value[e])||void 0===a?void 0:a.isLessThan(p.value);case 24:case"end":return r.stop()}}),r)})))}function k(e,t,a){return fe(this,void 0,void 0,(0,u.A)().mark((function r(){var s,c,l,p,v,f,m;return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(s=me.value[e].rawTx,s){r.next=3;break}throw Error("Raw PayForTransaction not found for account ".concat(e,", Prepare PayForTransaction first"));case 3:return r.next=5,n();case 5:return c=r.sent,r.next=8,c.api.postTransaction({tx:s});case 8:return l=r.sent,p=l.txHash,r.next=12,c.poll(p,{blocks:y.u8});case 12:if(v=r.sent,!v||-1===v.blockHeight){r.next=24;break}return ge.value=ae._B.deployed,r.next=17,c.getAccount(e);case 17:f=r.sent,ge.value=ae._B.created,m=pe()().toISOString(),d.value={contractId:f.contractId,balance:new Y.A(f.balance.toString()),gaAccountId:e,signers:a,confirmationsRequired:t,nonce:1,createdAt:m,updatedAt:m,hasPendingTransaction:!1,confirmedBy:[],expired:!1,id:0,proposedBy:"",refusedBy:[],txHash:void 0,version:ae.cq,expirationHeight:0,signerId:a[0],height:-1,pending:!0},delete me.value[e],r.next=25;break;case 24:throw Error("Vault creation transaction is not mined within the expected time");case 25:return i(d.value),r.next=28,new Promise((function(e){var t=setInterval((function(){var n;(null===(n=d.value)||void 0===n?void 0:n.contractId)&&o(d.value.contractId)&&(ge.value=ae._B.accessible,e(!0),clearInterval(t))}),1e3)}));case 28:case"end":return r.stop()}}),r)})))}return{multisigAccount:d,multisigAccountCreationPhase:ge,pendingMultisigCreationTxs:me,multisigAccountCreationFee:p,isMultisigAccountAccessible:v,isMultisigAccountCreated:f,prepareVaultCreationAttachTx:h,prepareVaultCreationRawTx:A,deployMultisigAccount:k,notEnoughBalanceToCreateMultisig:he}}n(21489),n(75044),n(28845),n(373),n(11745),n(48140),n(81630),n(72170),n(69539),n(31694),n(89955),n(21903),n(91134),n(33206),n(44496),n(66651),n(12887),n(19369),n(66812),n(8995),n(31575),n(36072),n(88747),n(29423),n(57301),n(86614),n(41405),n(37467),n(44732),n(33684),n(79577),n(26280),n(27913),n(47801);var ke=n(25801),ye=n(41549),be=n(58449),we=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Ce=3e4,xe=!1,Le=(0,be.y)(Ce),Se=(0,r.KR)();function Te(){var e=(0,B.f)(),t=e.onNetworkChange,n=(0,oe.C)(),a=n.getAeSdk,r=(0,N.EW)((function(){var e;return(null===(e=Se.value)||void 0===e?void 0:e.height)||0}));function o(){return we(this,void 0,void 0,(0,u.A)().mark((function e(){var t;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a();case 2:return t=e.sent,e.next=5,t.api.getTopHeader();case 5:Se.value=e.sent;case 6:case"end":return e.stop()}}),e)})))}function i(){return we(this,void 0,void 0,(0,u.A)().mark((function e(){return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o();case 2:return e.abrupt("return",r.value);case 3:case"end":return e.stop()}}),e)})))}return Le((function(){return o()})),xe||(xe=!0,t((function(){o()}))),{topHeaderData:Se,topBlockHeight:r,updateTopHeaderData:o,fetchCurrentTopBlockHeight:i}}var Ee=n(48287)["Buffer"],Ie=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},_e=480;function We(){var e=(0,ye.$L)(),t=e.aeActiveNetworkPredefinedSettings,n=(0,oe.C)(),a=n.nodeNetworkId,r=n.getDryAeSdk,o=n.getAeSdk,i=Te(),s=i.fetchCurrentTopBlockHeight;function c(e,t,n,a){return Ie(this,void 0,void 0,(0,u.A)().mark((function r(){var i;return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,o();case 2:return i=r.sent,r.abrupt("return",i.buildTx({tag:J.vw.SpendTx,senderId:e,recipientId:t,amount:n,payload:(0,ee.lF)((new TextEncoder).encode(a),te.W.Bytearray)}));case 4:case"end":return r.stop()}}),r)})))}function d(e){return Ie(this,void 0,void 0,(0,u.A)().mark((function n(){return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,l.x6)("".concat(t.value.multisigBackendUrl,"/tx/").concat(e)).then((function(e){return e}))["catch"](l.fY));case 1:case"end":return n.stop()}}),n)})))}function p(){var e,t,n;return Ie(this,void 0,void 0,(0,u.A)().mark((function a(){var r,o,i,s;return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(r=(0,ue.c)(),o=r.activeMultisigAccount,i=null===(e=o.value)||void 0===e?void 0:e.txHash,!i||!(null===(t=o.value)||void 0===t?void 0:t.hasPendingTransaction)&&!(null===(n=o.value)||void 0===n?void 0:n.pending)){a.next=7;break}return a.next=5,d(i);case 5:return s=a.sent,a.abrupt("return",Object.assign(Object.assign({},o.value),{totalConfirmations:o.value.confirmedBy.length,hash:i,tx:s?(0,z.pj)(s.tx):void 0,isMultisig:!0,microTime:s?Date.now():void 0,protocol:y.yv.aeternity}));case 7:return a.abrupt("return",null);case 8:case"end":return a.stop()}}),a)})))}function v(e,n){return Ie(this,void 0,void 0,(0,u.A)().mark((function a(){return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,l.B2)("".concat(t.value.multisigBackendUrl,"/tx"),{body:{hash:n,tx:e}}));case 1:case"end":return a.stop()}}),a)})))}function f(e,t){return Ie(this,void 0,void 0,(0,u.A)().mark((function n(){var r,i,c,l,d,p,v;return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([o(),s()]);case 2:return r=n.sent,i=(0,g.A)(r,2),c=i[0],l=i[1],d=l+_e,p=new Uint8Array((0,ce.tW)(Ee.concat([Ee.from(a.value),(0,ee.D4)(e)]))),n.next=10,c.initializeContract({aci:ve,address:t});case 10:return v=n.sent,n.next=13,v.propose(p,{FixedTTL:[d]});case 13:return n.abrupt("return",Ee.from(p).toString("hex"));case 14:case"end":return n.stop()}}),n)})))}function m(e,t,n,a){return Ie(this,void 0,void 0,(0,u.A)().mark((function r(){var i,c,l,d,p,v,f;return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,Promise.all([o(),s()]);case 2:return i=r.sent,c=(0,g.A)(i,2),l=c[0],d=c[1],p=d+_e,r.next=9,l.initializeContract({aci:ve,address:t});case 9:return v=r.sent,r.next=12,v[e](n,Object.assign({FixedTTL:[p]},a));case 12:return f=r.sent,r.abrupt("return",f);case 14:case"end":return r.stop()}}),r)})))}function h(e,t,n){return Ie(this,void 0,void 0,(0,u.A)().mark((function a(){var o,i;return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,r();case 2:return o=a.sent,a.next=5,o.initializeContract({aci:ve,bytecode:ae.Di});case 5:return i=a.sent,a.abrupt("return",o.sendTransaction(t,{authData:{callData:i._calldata.encode(i._name,"authorize",[n])},onAccount:new ke.A(e)}));case 7:case"end":return a.stop()}}),a)})))}return{buildSpendTx:c,postSpendTx:v,proposeTx:f,fetchTransactionByHash:d,sendTx:h,fetchActiveMultisigTx:p,callContractMethod:m}}var Fe=n(34281),De=(n(26910),function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))}),Be=!1,Pe=(0,r.KR)(null),Oe=(0,r.KR)(null),Me=(0,r.KR)(!1);function Re(){var e=this,t=(0,ye.ef)(),n=t.getMiddleware,o=(0,ue.c)(),i=o.activeMultisigAccount,s=We(),c=s.fetchActiveMultisigTx,d=Te(),p=d.topBlockHeight,v=(0,a.o)(),f=v.aeAccounts,m=(0,N.EW)((function(){var e,t;return null!==(t=null===(e=i.value)||void 0===e?void 0:e.confirmationsRequired)&&void 0!==t?t:ae.sL})),h=(0,N.EW)((function(){var e,t;return null!==(t=null===(e=i.value)||void 0===e?void 0:e.signers)&&void 0!==t?t:[]})),A=(0,N.EW)((function(){var e,t;return null!==(t=null===(e=i.value)||void 0===e?void 0:e.confirmedBy)&&void 0!==t?t:[]})),k=(0,N.EW)((function(){return m.value-A.value.length})),y=(0,N.EW)((function(){var e,t;return null!==(t=null===(e=i.value)||void 0===e?void 0:e.refusedBy)&&void 0!==t?t:[]})),b=(0,N.EW)((function(){return(0,R.A)(h.value).sort((function(e){var t;return(null===(t=i.value)||void 0===t?void 0:t.confirmedBy.includes(e))?-1:1}))})),w=(0,N.EW)((function(){return A.value.length>=m.value})),C=(0,N.EW)((function(){return h.value.length-y.value.length=i.value.expirationHeight})),S=(0,N.EW)((function(){return i.value?i.value.expirationHeight-p.value:0})),T=(0,N.EW)((function(){return!L.value&&w.value})),E=(0,N.EW)((function(){return f.value.filter((function(e){var t=e.address;return h.value.includes(t)}))})),I=(0,N.EW)((function(){return E.value.filter((function(e){var t,n,a=e.address;return null===(n=null===(t=i.value)||void 0===t?void 0:t.confirmedBy)||void 0===n?void 0:n.includes(a)})).length===E.value.length})),_=(0,N.EW)((function(){var e;return!(null===(e=i.value)||void 0===e?void 0:e.txHash)})),W=(0,N.EW)((function(){var e,t;return!(null===(e=i.value)||void 0===e?void 0:e.txHash)&&(null===(t=Oe.value)||void 0===t?void 0:t.tx["function"])===ae.y5.revoke})),F=(0,N.EW)((function(){var e,t;return!(null===(e=i.value)||void 0===e?void 0:e.txHash)&&(null===(t=Oe.value)||void 0===t?void 0:t.tx["function"])===ae.y5.confirm}));function D(){var e;return De(this,void 0,void 0,(0,u.A)().mark((function t(){var a,r,o,s,c;return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,a=null===(e=i.value)||void 0===e?void 0:e.contractId,t.next=4,n();case 4:return r=t.sent,t.next=7,r.getTxs({direction:"backward",limit:1,contract:a});case 7:return o=t.sent,s=(0,g.A)(o.data,1),c=s[0],t.abrupt("return",c);case 13:return t.prev=13,t.t0=t["catch"](0),(0,l.fY)(t.t0),t.abrupt("return",null);case 17:case"end":return t.stop()}}),t,null,[[0,13]])})))}return Be||(Be=!0,(0,r.uY)(!0).run((function(){var t=(0,ue.c)(),n=t.activeMultisigAccount;(0,N.wB)(n,(function(t,n){return De(e,void 0,void 0,(0,u.A)().mark((function e(){var a,r;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t||(0,X.A)(t,n)){e.next=18;break}if(null===t||void 0===t?void 0:t.txHash){e.next=6;break}Oe.value=null,Pe.value=null,e.next=18;break;case 6:if(t.txHash===(null===n||void 0===n?void 0:n.txHash)){e.next=17;break}return Me.value=!0,e.next=10,Promise.all([D(),c()]);case 10:a=e.sent,r=(0,g.A)(a,2),Oe.value=r[0],Pe.value=r[1],Me.value=!1,e.next=18;break;case 17:!(0,X.A)(t.confirmedBy,n.confirmedBy)&&Pe.value&&(Pe.value=Object.assign(Object.assign(Object.assign({},Pe.value),t),{totalConfirmations:t.confirmedBy.length}));case 18:case"end":return e.stop()}}),e)})))}),{immediate:!0})}))),{pendingMultisigTransaction:Pe,pendingMultisigTxSigners:h,pendingMultisigTxConfirmedBy:A,pendingMultisigTxRefusedBy:y,pendingMultisigTxSortedSigners:b,pendingMultisigTxConfirmed:w,pendingMultisigTxRevoked:C,pendingMultisigTxProposingAccountRevoked:x,pendingMultisigTxRequiredConfirmations:m,pendingMultisigTxPendingConfirmationsCount:k,pendingMultisigTxExpired:L,pendingMultisigTxExpiresAt:S,pendingMultisigTxCanBeSent:T,pendingMultisigTxLocalSigners:E,pendingMultisigTxConfirmedByLocalSigners:I,isLoading:Me,isPendingMultisigTxCompleted:_,isPendingMultisigTxCompletedAndRevoked:W,isPendingMultisigTxCompletedAndConfirmed:F}}var Ne=n(98822),Ue=n(97911),Xe=n(59602),Ve={all:"all",in:"in",out:"out"},He=Object.assign(Object.assign({},Ve),{dex:"dex"});function $e(){return{rotated:!0,key:He.all}}var je=(0,r.KR)(""),Ke=(0,r.KR)($e());function qe(){var e=(0,N.EW)((function(){return Ke.value.key!==He.all||!!je.value.length})),t=(0,r.KR)({all:{name:(0,T.tg)("common.all")},in:{name:(0,T.tg)("filters.in")},out:{name:(0,T.tg)("filters.out")}}),n=(0,r.KR)(Object.assign(Object.assign({},t.value),{dex:{name:(0,T.tg)("filters.dex")}}));function a(){je.value="",Ke.value=$e()}return{searchPhrase:je,displayMode:Ke,isSearchBarAndFilterExpanded:e,filtersConfig:t,filtersConfigAe:n,resetFilter:a,FILTER_MODE:He}}n(52675),n(50113),n(25276);var Ge=n(95993),Qe=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0&&void 0!==arguments[0]?arguments[0]:{},t=e.transaction,n=e.externalAddress,o=e.showDetailedAllowanceInfo,i=void 0!==o&&o,s=(0,oe.C)(),u=s.dexContracts,c=(0,a.o)(),d=c.accounts,p=c.activeAccount,v=(0,Ue.k)(),f=v.tippingContractAddresses,m=(0,H.Y)(),g=m.getProtocolAvailableTokens,h=m.getTxAmountTotal,A=m.getTxAssetSymbol,k=(0,r.KR)(t),b=(0,r.KR)(n),w=(0,N.EW)((function(){var e;return null===(e=k.value)||void 0===e?void 0:e.tx})),C=(0,N.EW)((function(){return w.value?(0,E.Bd)(w.value):void 0})),x=(0,N.EW)((function(){return w.value?(0,E.bB)(w.value):null})),L=(0,N.EW)((function(){return C.value?(0,E.bB)(C.value):null})),S=(0,N.EW)((function(){return x.value?J.vw[x.value]:null})),T=(0,N.EW)((function(){return S.value?(0,l.XK)(S.value):""})),I=(0,N.EW)((function(){var e=S.value?(0,l.xx)(S.value):"";return null!==e&&void 0!==e?e:T.value})),_=(0,N.EW)((function(){var e;return(null===(e=w.value)||void 0===e?void 0:e["function"])?(0,l.vQ)(w.value["function"]):""})),W=(0,N.EW)((function(){var e;return!(null===(e=w.value)||void 0===e?void 0:e.contractId)||(0,l.go)(w.value.contractId)})),F=(0,N.EW)((function(){return(0,E._B)(C.value,u.value)})),D=(0,N.EW)((function(){var e;return!!C.value&&(0,E.uW)(null===(e=C.value)||void 0===e?void 0:e["function"])&&!!g(y.yv.aeternity)[C.value.contractId]})),B=(0,N.EW)((function(){var e;return(0,E.t1)(null===(e=C.value)||void 0===e?void 0:e["function"])})),P=(0,N.EW)((function(){var e;return(0,E.KJ)(null===(e=C.value)||void 0===e?void 0:e["function"])})),O=(0,N.EW)((function(){var e;return(0,E.wX)(null===(e=C.value)||void 0===e?void 0:e["function"])})),M=(0,N.EW)((function(){var e;return!!(null===(e=w.value)||void 0===e?void 0:e["function"])&&((0,l.mK)(Object.values(ae.y5),w.value["function"])||!!w.value.payerId)})),R=(0,N.EW)((function(){var e,t;return!!((null===(e=C.value)||void 0===e?void 0:e.contractId)&&(null===(t=C.value)||void 0===t?void 0:t["function"])&&(0,l.mK)([f.value.tippingV1,f.value.tippingV2],C.value.contractId)&&(0,l.mK)([ae.vG.tip,ae.vG.retip,ae.vG.claim],C.value["function"]))})),U=(0,N.EW)((function(){var e=w.value||{},t=e.returnType;return!(!t||t===ae.Mb)})),X=(0,N.EW)((function(){return(0,E.c0)(C.value)})),$=(0,N.EW)((function(){return(0,E.Sl)(p.value,d.value,C.value)})),j=(0,N.EW)((function(){var e,t;return(null===(e=C.value)||void 0===e?void 0:e["function"])===ae.vG.claim?y.NX.received:(0,E.qE)((null===(t=w.value)||void 0===t?void 0:t.payerId)?w.value:C.value,n||$.value!==ae.Zi.current&&X.value||p.value.address)})),K=(0,N.EW)((function(){var e,t,n,a,r;if(!(null===(e=k.value)||void 0===e?void 0:e.tx))return[];var o=!1,s=k.value.protocol,u=void 0===s?y.yv.aeternity:s,c=V.C.getAdapter(u),d=g(u);if(u===y.yv.aeternity){if((null===(t=C.value)||void 0===t?void 0:t["function"])&&(!D.value||i)){var p=(0,Ge.A)(C.value["function"]),v=(0,E.Ke)(p);if(v)return v({tx:w.value},d).tokens.map((function(e){var t=e.amount,n=e.decimals,a=Qe(e,["amount","decimals"]);return Object.assign({amount:+(0,l.Y9)(t,-n)},a)}))}d[null===(n=C.value)||void 0===n?void 0:n.contractId]&&L.value!==J.vw.ContractCreateTx||(o=!0)}var f=D.value?(0,l.Y9)((null===(a=C.value)||void 0===a?void 0:a.fee)||0,-c.coinPrecision):h(k.value,j.value),m=j.value===y.NX.received;if(W.value||D.value||M.value||o)return[Object.assign(Object.assign({},C.value||{}),{amount:f,assetType:y.Dd.coin,contractId:c.coinContractId,isReceived:m,name:c.coinName,protocol:u,symbol:c.coinSymbol})];var b=d[w.value.contractId];return[Object.assign(Object.assign(Object.assign({},C.value||{}),b||{}),{amount:f,assetType:y.Dd.token,contractId:null===(r=w.value)||void 0===r?void 0:r.contractId,isReceived:m,name:null===b||void 0===b?void 0:b.name,protocol:u,symbol:A(k.value)})]}));function q(e){k.value=e}function G(e){b.value=e}function Q(e){var t,n=ae.Zi.current,a=ae.Zi.subAccount;switch($.value){case n:return p.value.address;case a:var r=C.value||{},o=r.accountId,i=r.callerId;return null===(t=d.value.find((function(e){var t=e.address;return[o,i].includes(t)})))||void 0===t?void 0:t.address;default:return e||X.value}}return{outerTxTag:x,innerTxTag:L,innerTx:C,txTypeLabel:T,txTypeListLabel:I,txFunctionLabel:_,isErrorTransaction:U,isDex:F,isDexAddLiquidity:B,isDexAllowance:D,isDexPool:O,isDexRemoveLiquidity:P,isMultisig:M,isTip:R,isTransactionCoin:W,direction:j,transactionAssets:K,getOwnershipAddress:Q,setActiveTransaction:q,setExternalAddress:G}}var Ye=n(5582),ze=n(909),Je=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},et=(0,D.S)({isEndReached:!1,isInitialLoadDone:!1,nextPagePaginationParams:{},transactionsLoaded:[]},y.d5.transactionsLoaded),tt=(0,N.EW)((function(){return et.value.isEndReached})),nt=(0,N.EW)((function(){return et.value.transactionsLoaded}));function at(e){var t,n=e.accountAddress,a=e.assetContractId,o=e.protocol,i=(0,r.KR)(!1),s=(0,f.w)(),c=s.isOnline,d=(0,ze.m)(),p=d.isAppActive,v=(0,B.f)(),m=v.activeNetwork,g=Z(),h=g.accountsTransactionsPending,A=V.C.getAdapter(o),k=(0,N.EW)((function(){return(h.value[n]||[]).filter((function(e){var t=e.tx;return(null===t||void 0===t?void 0:t.contractId)===a}))})),b=(0,N.EW)((function(){return[].concat((0,R.A)(k.value),(0,R.A)(nt.value))}));function w(){et.value={accountAddress:n,assetContractId:a,isEndReached:!1,isInitialLoadDone:!1,networkName:m.value.name,nextPagePaginationParams:{},transactionsLoaded:[]}}function C(e){return a?A.fetchAccountAssetTransactions(n,a,e):A.fetchAccountTransactions(n,e)}function x(){return Je(this,void 0,void 0,(0,u.A)().mark((function e(){var t,r,o,s,d;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!c.value||i.value||et.value.isEndReached){e.next=15;break}return i.value=!0,e.next=4,C(et.value.nextPagePaginationParams);case 4:if(t=e.sent,r=t.paginationParams,o=t.regularTransactions,s=t.pendingTransactions,d=t.tipWithdrawnTransactions,n===et.value.accountAddress&&a===et.value.assetContractId&&m.value.name===et.value.networkName){e.next=11;break}return e.abrupt("return");case 11:(0,l.xB)(r)?et.value.nextPagePaginationParams=r:et.value.isEndReached=!0,((null===o||void 0===o?void 0:o.length)||(null===s||void 0===s?void 0:s.length)||(null===d||void 0===d?void 0:d.length))&&(et.value.transactionsLoaded=(0,Ye.A)([].concat((0,R.A)(et.value.isInitialLoadDone?et.value.transactionsLoaded:[]),(0,R.A)(o),(0,R.A)(s||[]),(0,R.A)(d||[])),"hash")),i.value=!1,et.value.isInitialLoadDone=!0;case 15:case"end":return e.stop()}}),e)})))}function L(){return Je(this,void 0,void 0,(0,u.A)().mark((function e(){var r=this;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(et.value.isInitialLoadDone&&nt.value.length){e.next=7;break}return et.value.isInitialLoadDone&&!nt.value.length&&w(),e.next=4,x();case 4:if(n===et.value.accountAddress&&a===et.value.assetContractId&&m.value.name===et.value.networkName){e.next=7;break}return i.value=!1,e.abrupt("return");case 7:t=setInterval((function(){return Je(r,void 0,void 0,(0,u.A)().mark((function e(){var r,o,s,c,l,d,v,f;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!p.value){e.next=14;break}return e.next=3,C();case 3:if(s=e.sent,c=s.paginationParams,l=s.regularTransactions,d=s.pendingTransactions,v=s.tipWithdrawnTransactions,n===et.value.accountAddress&&a===et.value.assetContractId&&m.value.name===et.value.networkName){e.next=12;break}return i.value=!1,clearInterval(t),e.abrupt("return");case 12:f=et.value.transactionsLoaded.filter((function(e){var t=e.claim,n=void 0!==t&&t,a=e.pending,r=void 0!==a&&a;return!n&&!r})),(null===l||void 0===l?void 0:l.length)&&(null===(r=null===l||void 0===l?void 0:l[0])||void 0===r?void 0:r.hash)!==(null===(o=null===f||void 0===f?void 0:f[0])||void 0===o?void 0:o.hash)&&(et.value.transactionsLoaded=[].concat((0,R.A)(l),(0,R.A)(d||[]),(0,R.A)(v||[])),et.value.nextPagePaginationParams=c,et.value.isEndReached=!1);case 14:case"end":return e.stop()}}),e)})))}),y.uw);case 8:case"end":return e.stop()}}),e)})))}function S(){clearInterval(t)}return et.value.accountAddress===n&&et.value.assetContractId===a&&et.value.networkName===m.value.name||w(),{isLoading:i,isEndReached:tt,transactionsLoaded:nt,transactionsLoadedAndPending:b,fetchTransactions:C,loadCurrentPageTransactions:x,initializeTransactionListPolling:L,stopTransactionListPolling:S}}var rt=n(53368),ot=(0,r.KR)(!1);function it(){function e(e){ot.value=e}return{setScrollConf:e,isScrollEnabled:ot}}var st=n(53319),ut=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},ct="active-language";function lt(){var e=T.Ru.global.locale;function t(t){return ut(this,void 0,void 0,(0,u.A)().mark((function n(){var a;return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t!==e.value){n.next=2;break}return n.abrupt("return");case 2:if(T.Ru.global.availableLocales.includes(t)){n.next=7;break}return n.next=5,T.eo[t].getMessages();case 5:a=n.sent["default"],T.Ru.global.setLocaleMessage(t,a);case 7:T.Ru.global.locale.value=t,document.documentElement.setAttribute("lang",t),st.v.set(ct,t);case 10:case"end":return n.stop()}}),n)})))}function n(){return ut(this,void 0,void 0,(0,u.A)().mark((function e(){var n;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,st.v.get(ct);case 2:n=e.sent,n?t(n):document.documentElement.setAttribute("lang",T.Ru.global.locale.value);case 4:case"end":return e.stop()}}),e)})))}return{activeLanguage:e,restoreLanguage:n,switchLanguage:t}}var dt=n(12082)},21452:(e,t,n)=>{"use strict";n.d(t,{U:()=>g});n(9391),n(62953),n(52675),n(16280),n(76918),n(28706),n(2008),n(48980),n(25276),n(62062),n(44114),n(54554),n(62010),n(36033),n(26099),n(47764);var a=n(50953),r=n(20641),o=n(65563),i=n(31189),s=n(90973),u=n(98822),c=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r1&&void 0!==arguments[1]?arguments[1]:{},a=l.get(e);if(!a)return Promise.reject(new Error('Modal with name "'.concat(e,'" not registered')));var r=o.IX&&o.u2&&!!a.showInPopupIfWebFrame,i=p+1;p+=1;var c=new Promise((function(t,o){if(d.value.push({name:e,key:i,inPopup:r,props:Object.assign(Object.assign({},n),{resolve:t,reject:o,show:!0})}),a.showInPopupIfWebFrame&&!r){var c=(0,u.m)(),l=c.setPopupProps;l(Object.assign(Object.assign({},n),{resolve:t,reject:o}))}r&&(v&&v.focus(),f["catch"]((function(){}))["finally"]((function(){v=window.open("/".concat(s.t,"/").concat(e),"popup-".concat(i),"height=600,width=375"),v?v.popupProps=Object.assign(Object.assign({},n),{resolve:t,reject:o,show:!0}):o(new Error("Can't show popup window"))})))}))["finally"]((function(){return t(i)}));return r&&(f=c),c}function a(e){return n(o.o1,e)}function g(e){return n(o.Hn,e)}function h(e){return n(o.g_,{entry:e})["catch"](i.fY)}return{modalsOpen:e,registerModal:m,openModal:n,openDefaultModal:a,openConfirmModal:g,openErrorModal:h,closeModalByKey:t}}},53048:(e,t,n)=>{"use strict";n.d(t,{c:()=>M});var a=n(55096),r=n(2327),o=n(6682),i=(n(62953),n(52675),n(76918),n(28706),n(2008),n(50113),n(74423),n(25276),n(62062),n(44114),n(15086),n(26910),n(23288),n(2892),n(26099),n(38781),n(21699),n(47764),n(50953)),s=n(20641),u=n(5582),c=n(43089),l=n.n(c),d=n(65626),p=n(60346),v=n(31189),f=n(10854),m=n(59755),g=n(12533),h=n(41549),A=n(58449),k=n(75265),y=n(68411),b=n(81881),w=n(48287)["Buffer"],C=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},x=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r2&&void 0!==arguments[2]&&arguments[2];return(0,v.AP)([n?E:T,t],e)}function _(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,v._S)([t?E:T,e])||[]}var W=(0,i.KR)([]),F=(0,i.KR)([]),D=(0,i.KR)(),B=(0,i.KR)(""),P=(0,i.KR)(!1),O=(0,A.y)(S);function M(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.pollOnce,i=void 0!==n&&n,c=t.pollingDisabled,A=void 0!==c&&c,S=(0,b.f)(),E=S.onNetworkChange,M=(0,h.$L)(),R=M.aeActiveNetworkPredefinedSettings,N=(0,k.C)(),U=N.nodeNetworkId,X=N.getAeSdk,V=(0,y.o)(),H=V.aeAccounts,$=(0,s.EW)((function(){return[].concat((0,o.A)(W.value),(0,o.A)(F.value))})),j=(0,s.EW)((function(){return $.value.find((function(e){return e.gaAccountId===D.value}))})),K=(0,s.EW)((function(){return j.value?new g.w(R.value.explorerUrl).prepareUrlForHash(j.value.contractId):null})),q=(0,s.EW)((function(){var e;return!!(null===(e=j.value)||void 0===e?void 0:e.gaAccountId)&&!!F.value.find((function(e){var t=e.gaAccountId;return t===j.value.gaAccountId}))}));function G(e){e&&$.value.some((function(t){return t.gaAccountId===e}))&&(D.value=e,B.value=U.value,(0,v.AP)([T,"active",U.value],e))}function Q(e){F.value.push(e),I(F.value,U.value,!0)}function Z(e,t,n){F.value=F.value.map((function(a){return a.gaAccountId===t?Object.assign(Object.assign({},a),{txHash:e,hasPendingTransaction:!0,proposedBy:n}):a})),I(F.value,U.value,!0)}function Y(){var e;if(null===(e=F.value)||void 0===e?void 0:e.length){var t=F.value.filter((function(e){return!W.value.find((function(t){return t.gaAccountId===e.gaAccountId}))}));F.value=t,I(t,U.value,!0)}}function z(){var e;return C(this,void 0,void 0,(0,r.A)().mark((function t(){var n,i,s,c,g=this;return(0,r.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=function(e){return e.hasPendingTransaction&&e.signers.some((function(t){return H.value.map((function(e){var t=e.address;return t})).includes(t)&&!e.confirmedBy.includes(t)}))},t.next=3,X();case 3:return n=t.sent,i=[],t.prev=5,t.next=8,Promise.all(H.value.map((function(e){var t=e.address;return C(g,void 0,void 0,(0,r.A)().mark((function e(){var n;return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.t0=(n=i).push,e.t1=n,e.t2=o.A,e.next=5,(0,v.x6)("".concat(R.value.multisigBackendUrl,"/").concat(t));case 5:return e.t3=e.sent,e.t4=(0,e.t2)(e.t3),e.abrupt("return",e.t0.apply.call(e.t0,e.t1,e.t4));case 8:case"end":return e.stop()}}),e)})))})));case 8:t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](5),console.log("failed to fetch multisigAccounts");case 13:return i=(0,u.A)(i,"contractId"),t.next=16,Promise.all(i.filter((function(e){var t=e.version;return t===m.cq})).map((function(e){return C(g,void 0,void 0,(0,r.A)().mark((function t(){var o,i,s,u,c,p,g,h,A,k,y,b,C,L,S;return(0,r.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o=e.contractId,i=e.gaAccountId,s=x(e,["contractId","gaAccountId"]),t.prev=1,t.next=4,n.initializeContract({aci:f,address:o});case 4:return u=t.sent,c=W.value.find((function(e){return e.contractId===o})),t.next=8,Promise.all([P.value&&i===D.value||null==(null===c||void 0===c?void 0:c.nonce)?u.get_nonce():{decodedResult:c.nonce},(null===c||void 0===c?void 0:c.signers)?{decodedResult:c.signers}:u.get_signers(),u.get_consensus_info(),i?n.getBalance(i):0]);case 8:return p=t.sent,g=(0,a.A)(p,4),h=g[0],A=g[1],k=g[2],y=g[3],b=k.decodedResult,C=b.tx_hash,L=l()(b),L.expirationHeight=Number(L.expirationHeight),L.confirmationsRequired=Number(L.confirmationsRequired),S=!!C&&!L.expired,t.abrupt("return",Object.assign(Object.assign(Object.assign({},L),s),{contractId:o,gaAccountId:i,nonce:Number(h.decodedResult),signers:A.decodedResult,balance:(0,v.Y9)(y,-m.kS),hasPendingTransaction:S,txHash:C?w.from(C).toString("hex"):void 0}));case 23:return t.prev=23,t.t0=t["catch"](1),t.t0 instanceof d.Vz||(0,v.fY)(t.t0),t.abrupt("return",W.value.find((function(e){return e.contractId===o})));case 27:case"end":return t.stop()}}),t,null,[[1,23]])})))})));case 16:c=t.sent.filter(Boolean).sort((function(e,t){var n;return e.hasPendingTransaction&&!t.hasPendingTransaction?-1:!e.hasPendingTransaction&&t.hasPendingTransaction?1:s(e)&&!s(t)?-1:!s(e)&&s(t)?1:t.confirmedBy.length&&e.confirmedBy.length&&t.confirmedBy.length!==e.confirmedBy.length?t.confirmedBy.length-e.confirmedBy.length:p.A.isBigNumber(e.balance)&&p.A.isBigNumber(t.balance)&&!(null===(n=t.balance)||void 0===n?void 0:n.minus(e.balance).isZero())?t.balance.minus(e.balance).toNumber():new Date(e.createdAt).getTime()-new Date(t.createdAt).getTime()})),W.value=c,D.value&&B.value===U.value||G(null===(e=c[0])||void 0===e?void 0:e.gaAccountId),I(c,U.value),Y();case 21:case"end":return t.stop()}}),t,null,[[5,10]])})))}function J(){P.value=!0,z()}function ee(){P.value=!1}function te(e){return $.value.find((function(t){return t.contractId===e}))}return function(){C(e,void 0,void 0,(0,r.A)().mark((function e(){return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,X();case 2:W.value.length&&B.value===U.value||(W.value=_(U.value),F.value=_(U.value,!0)),D.value&&B.value===U.value||(D.value=(0,v._S)([T,"active",U.value])||void 0,B.value=U.value);case 4:case"end":return e.stop()}}),e)})))}(),A||(i&&!_(U.value).length?z():i||O((function(){return z()}))),L||(L=!0,E((function(){z()}))),{multisigAccounts:$,pendingMultisigAccounts:F,isAdditionalInfoNeeded:P,isActiveMultisigAccountPending:q,activeMultisigAccountId:D,activeMultisigAccount:j,activeMultisigAccountExplorerUrl:K,addTransactionToPendingMultisigAccount:Z,fetchAdditionalInfo:J,setActiveMultisigAccountId:G,stopFetchingAdditionalInfo:ee,updateMultisigAccounts:z,getMultisigAccountByContractId:te,addPendingMultisigAccount:Q}}},81881:(e,t,n)=>{"use strict";n.d(t,{f:()=>S});var a=n(2327),r=n(6682),o=(n(16280),n(76918),n(28706),n(48980),n(51629),n(62062),n(44114),n(54554),n(62010),n(53921),n(26099),n(23500),n(50953)),i=n(20641),s=n(65563),u=n(31189),c=n(32118),l=n(44343),d=n(21452),p=n(54228),v=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},f=!1,m=(0,u.pe)(),g=m.addCallback,h=m.runCallbacks,A=[],k=(0,o.KR)(!1),y=(0,p.S)([],s.d5.customNetworks,{backgroundSync:!0}),b=(0,p.S)(s.y1,s.d5.activeNetworkName,{backgroundSync:!0,onRestored:function(){k.value=!0}}),w=(0,i.EW)((function(){return Object.fromEntries([].concat(A,(0,r.A)(y.value)).map((function(e){return[e.name,e]})))})),C=(0,i.EW)((function(){return w.value[b.value]})),x=(0,i.EW)((function(){return C.value.type===s.Oj}));function L(){if(0===A.length){var e=[s.dk,s.Oj];e.forEach((function(e){A.push({name:e===s.dk?s.y1:s.I1,protocols:Object.fromEntries(s.E4.map((function(t){return[t,c.C.getAdapter(t).getNetworkTypeDefaultValues(e)]}))),type:e})}))}}function S(){var e=(0,d.U)(),t=e.openConfirmModal;function n(e){if(!w.value[e])throw Error('Could not switch to "'.concat(e,'" network as it does not exist'));var t=C.value;b.value=e,h(C.value,t)}function r(e){y.value.push(e)}function o(e,t){return!!y.value[e]&&(y.value[e]=t,!0)}function i(e){return v(this,void 0,void 0,(0,a.A)().mark((function r(){var o;return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,t({msg:(0,l.tg)("pages.network.confirmDelete")});case 3:if(o=y.value.findIndex((function(t){return t.name===e})),!(o>-1)){a.next=8;break}return e===C.value.name&&n(s.y1),y.value.splice(o,1),a.abrupt("return",!0);case 8:return a.abrupt("return",!1);case 11:return a.prev=11,a.t0=a["catch"](0),a.abrupt("return",!1);case 14:case"end":return a.stop()}}),r,null,[[0,11]])})))}function u(){y.value=[],b.value=s.y1}return f||(f=!0,L(),C.value||n(s.y1)),{areNetworksRestored:k,networks:w,customNetworks:y,defaultNetworks:A,activeNetwork:C,isActiveNetworkTestnet:x,activeNetworkName:b,switchNetwork:n,addCustomNetwork:r,updateCustomNetwork:o,deleteCustomNetwork:i,resetNetworks:u,onNetworkChange:g}}},34281:(e,t,n)=>{"use strict";n.d(t,{E:()=>T});var a=n(2327),r=n(55096),o=n(6682),i=(n(62953),n(3296),n(48408),n(52675),n(76918),n(28706),n(2008),n(50113),n(51629),n(74423),n(25276),n(62062),n(44114),n(34782),n(26910),n(1688),n(23288),n(5506),n(26099),n(38781),n(21699),n(47764),n(23500),n(14603),n(47566),n(98721),n(50953)),s=n(20641),u=n(31189),c=n(65563),l=(n(72712),n(79432),n(16034),n(35306)),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},p=function(e){return d(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r,o;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e&&Object.keys(e).length){t.next=16;break}return t.next=3,(0,l.a)();case 3:if(t.t1=n=t.sent,t.t0=null===t.t1,t.t0){t.next=7;break}t.t0=void 0===n;case 7:if(!t.t0){t.next=11;break}t.t2=void 0,t.next=12;break;case 11:t.t2=n.notificationSettings;case 12:if(r=t.t2,!(null===r||void 0===r?void 0:r.length)){t.next=16;break}return o=Object.values(c.I9),t.abrupt("return",r.reduce((function(e,t){return o.includes(t.type)&&(e[t.type]=!!t.checked),e}),{}));case 16:return t.abrupt("return",e);case 17:case"end":return t.stop()}}),t)})))};const v=p;var f=n(41549),m=n(68411),g=n(58449),h=n(75265),A=n(54228),k=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},y=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0&&void 0!==arguments[0]?arguments[0]:{},n=t.requirePolling,l=void 0!==n&&n,d=(0,f.$L)(),p=d.aeActiveNetworkSettings,v=(0,h.C)(),g=v.fetchRespondChallenge,A=(0,m.o)(),b=A.activeAccount,T=(0,i.KR)(!0),E=(0,i.KR)(0);function I(e){return[void 0,!0].includes(x.value[e])}var _=(0,s.EW)((function(){return[].concat((0,o.A)(L.value),(0,o.A)(S.value)).sort((function(e,t){return new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime()}))})),W=(0,s.EW)((function(){return _.value.filter((function(e){var t=e.type;return I(t)}))})),F=(0,s.EW)((function(){return W.value.filter((function(e){var t=e.status;return t===c.PM}))})),D=(0,s.EW)((function(){return W.value.filter((function(e){var t=e.status;return t===c.w}))})),B=(0,s.EW)((function(){return W.value.slice(0,E.value*w)}));function P(){return k(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n,o,i,s;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(b.value.protocol===c.yv.aeternity){e.next=2;break}return e.abrupt("return",[]);case 2:return e.prev=2,t="".concat(p.value.backendUrl,"/notification/user/").concat(b.value.address),e.next=6,(0,u.x6)(t);case 6:return n=e.sent,e.next=9,g(n);case 9:return o=e.sent,i=new URL(t),Object.entries(o).forEach((function(e){var t=(0,r.A)(e,2),n=t[0],a=t[1];return i.searchParams.append(n,a)})),e.next=14,(0,u.x6)(i.toString());case 14:return s=e.sent,e.abrupt("return",!s||s.err?[]:s);case 18:return e.prev=18,e.t0=e["catch"](2),(0,u.fY)(e.t0),e.abrupt("return",[]);case 22:case"end":return e.stop()}}),e,null,[[2,18]])})))}function O(e,t){return k(this,void 0,void 0,(0,a.A)().mark((function n(){var r,o,i,s=this;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.length){n.next=2;break}return n.abrupt("return");case 2:return r=function(e){return k(s,void 0,void 0,(0,a.A)().mark((function t(){return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,u.B2)("".concat(p.value.backendUrl,"/notification"),{body:e}));case 1:case"end":return t.stop()}}),t)})))},n.next=5,r({ids:e,status:t,author:b.value.address});case 5:return o=n.sent,n.next=8,g(o);case 8:return i=n.sent,n.next=11,r(i);case 11:case"end":return n.stop()}}),n)})))}function M(e){S.value.push(Object.assign(Object.assign({},e),{type:c.I9.wallet,status:c.w,createdAt:(new Date).toISOString()}))}function R(e,t){var n=S.value.find((function(t){return t.createdAt===e}));n&&(n.status=t)}function N(){T.value=!1,E.value+=1,B.value.length{"use strict";n.d(t,{S:()=>P});var a=n(2327),r=n(1287),o=(n(62953),n(3296),n(48408),n(1688),n(23288),n(26099),n(47764),n(14603),n(47566),n(98721),n(31490)),i=n(65563),s=n(31189),u=n(58338),c=(n(35726),n(55096),n(28706),n(62010),n(11392),n(73808)),l=(n(51629),n(23500),n(42302)),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},p="web",v=!1,f="extension"===p&&!v,m="connectConfirm",g={},h=function(e){return new URL(e.connection.port.sender.url)},A=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return d(void 0,void 0,void 0,(0,a.A)().mark((function r(){var o,i,s,u,d,p,v,A,k,y,b,w,C;return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return o=(0,l.A)(),i="object"===(0,c.A)(t)?h(t):new URL(t),s=i.href,u=i.protocol,d=i.host,p="object"===(0,c.A)(t)?t:{},v=p.name,A=void 0===v?d:v,a.next=5,browser.tabs.query({active:!0});case 5:return k=a.sent,k.forEach((function(e){var t=e.url,n=e.id,a=new URL(t);a.searchParams.get("type")===m&&decodeURIComponent(a.searchParams.get("url")||"")===s&&browser.tabs.remove(n)})),y=browser.runtime.getURL("./index.html"),b="".concat(y,"?id=").concat(o,"&type=").concat(e,"&url=").concat(encodeURIComponent(s)),w=f&&browser.runtime.getPlatformInfo().then((function(e){var t=e.os;return"mac"===t})),a.t0=browser.windows,a.t1=b,a.next=14,w;case 14:if(!a.sent){a.next=18;break}a.t2=360,a.next=19;break;case 18:a.t2=375;case 19:return a.t3=a.t2,a.t4={url:a.t1,type:"popup",height:630,width:a.t3},a.next=23,a.t0.create.call(a.t0,a.t4);case 23:if(C=a.sent,C){a.next=26;break}return a.abrupt("return",null);case 26:return g[o]={id:o,props:{app:{url:s,name:A,protocol:u,host:d},message:n.message,tx:n.tx,txBase64:n.txBase64}},a.abrupt("return",g[o]);case 28:case"end":return a.stop()}}),r)})))},k=function(e){return delete g[e]},y=function(e){return g[e]},b=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function w(e,t){return b(this,void 0,void 0,(0,a.A)().mark((function n(){var r;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!i.$M){n.next=8;break}n.t0=e,n.next="openPopup"===n.t0?4:"removePopup"===n.t0?5:"getPopup"===n.t0?6:7;break;case 4:return n.abrupt("return",A(t.popupType,t.aepp,t.params));case 5:return n.abrupt("return",k(t.id));case 6:return n.abrupt("return",y(t.id));case 7:return n.abrupt("return",null);case 8:return r=(0,s.lk)(t),n.abrupt("return",browser.runtime.sendMessage({target:"background",method:e,params:r}));case 10:case"end":return n.stop()}}),n)})))}var C=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},x={},L=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return C(void 0,void 0,void 0,(0,a.A)().mark((function r(){return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.abrupt("return",w("openPopup",{popupType:e,aepp:t,params:n}).then((function(e){return new Promise((function(t,n){var a=Object.assign(Object.assign({},e),{actions:{resolve:t,reject:n}}),r=a.id;return x[r]=a,a}))})));case 1:case"end":return a.stop()}}),r)})))},S=(n(79432),n(35306)),T=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},E=function(e){return T(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e&&Object.keys(e).length){t.next=21;break}return t.next=3,(0,S.a)();case 3:if(t.t1=n=t.sent,t.t0=null===t.t1,t.t0){t.next=7;break}t.t0=void 0===n;case 7:if(!t.t0){t.next=11;break}t.t2=void 0,t.next=12;break;case 11:t.t2=n.permissions;case 12:if(r=t.t2,t.prev=13,!r||!Object.keys(r).length){t.next=16;break}return t.abrupt("return",r);case 16:t.next=21;break;case 18:t.prev=18,t.t3=t["catch"](13),(0,s.fY)(t.t3);case 21:return t.abrupt("return",e);case 22:case"end":return t.stop()}}),t,null,[[13,18]])})))};const I=E;var _=n(54228),W=n(21452),F=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},D=(0,_.S)({},i.d5.permissions,{backgroundSync:!0,migrations:[I]}),B=(0,r.A)((0,r.A)((0,r.A)((0,r.A)({},o.J8.subscribeAddress,{modal:i.kV,popup:i.tF}),o.J8.address,{modal:i.Mc,popup:i.ze}),o.J8.signMessage,{modal:i.gK,popup:i.MW}),o.J8.sign,{modal:i.K$,popup:i.sW});function P(){var e=(0,W.U)(),t=e.openModal;function n(e){D.value[e]=Object.assign(Object.assign({},D.value[e]),{transactionSignSpent:0,transactionSignFirstAskedOn:(new Date).toISOString()})}function r(e){D.value[e.host]=e}function c(e){delete D.value[e]}function l(e){return(new Date).getTime()-new Date(e).getTime()>=864e5}function d(e,t){var a=t.amount,r=void 0===a?0:a,o=t.fee,i=void 0===o?0:o,s=t.nameFee,c=void 0===s?0:s,d=D.value[e]||{},p=d.transactionSignLimit,v=d.transactionSignFirstAskedOn;if(!p)return!1;v&&!l(v)||n(e);var f=+(0,u.c4)(+r+ +i+ +c),m=(D.value[e].transactionSignSpent||0)+f;return!(m>p)&&(D.value[e].transactionSignSpent=m,!0)}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=D.value[e];if(!a)return!1;switch(t){case o.J8.sign:return d(e,n);case o.J8.connect:return a.address;case o.J8.address:return a.addressList;case o.J8.signMessage:return a.messageSign;case o.J8.subscribeAddress:return a.address;default:return!1}}function v(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return F(this,void 0,void 0,(0,a.A)().mark((function c(){var l,d,v,f,m,g;return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(d=(0,s.lk)(r),!n){a.next=7;break}if(v=new URL(n),!p(v.host,e,r.tx)){a.next=5;break}return a.abrupt("return",!0);case 5:l={host:v.host,name:v.hostname,protocol:v.protocol,url:v.href},d=Object.assign(Object.assign({},d),{app:l});case 7:if(a.prev=7,f=B[e]||{},m=f.modal,g=f.popup,m&&g){a.next=11;break}return a.abrupt("return",!1);case 11:return e!==o.J8.sign||r.txBase64&&(0,u.P)(r.txBase64)||(m=i.iE,g=i.LZ),a.next=14,i.pb&&(null===l||void 0===l?void 0:l.url)?L(g,l.url,d):t(m,d);case 14:return a.abrupt("return",!0);case 17:return a.prev=17,a.t0=a["catch"](7),a.abrupt("return",!1);case 20:case"end":return a.stop()}}),c,null,[[7,17]])})))}return{permissions:D,addPermission:r,removePermission:c,checkPermission:p,checkOrAskPermission:v,checkTransactionSignLimit:d}}},98822:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});n(62010);var a=n(50953),r=n(20641),o=(0,a.KR)(null);function i(){function e(e){o.value=e}var t=(0,r.EW)((function(){var e,t,n,a,r,i;return{name:null===(t=null===(e=o.value)||void 0===e?void 0:e.app)||void 0===t?void 0:t.name,address:null===(a=null===(n=o.value)||void 0===n?void 0:n.app)||void 0===a?void 0:a.host,url:null===(i=null===(r=o.value)||void 0===r?void 0:r.app)||void 0===i?void 0:i.url}}));return{sender:t,popupProps:o,setPopupProps:e}}},54228:(e,t,n)=>{"use strict";n.d(t,{S:()=>c});var a=n(2327),r=(n(26099),n(76031),n(50953)),o=n(20641),i=n(31189),s=n(53319),u=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function c(e,t){var n=this,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=c.serializer,d=c.backgroundSync,p=void 0!==d&&d,v=c.migrations,f=c.onRestored,m=!1,g=(0,r.KR)(e);function h(e){null!==e&&(m=!0,g.value=(null===l||void 0===l?void 0:l.read)?l.read(e):e,setTimeout((function(){m=!1}),0))}function A(e){s.v.set(t,e&&(null===l||void 0===l?void 0:l.write)?l.write(e):e)}return function(){u(n,void 0,void 0,(0,a.A)().mark((function e(){var n,r;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,s.v.get(t);case 2:if(r=e.sent,!(null===v||void 0===v?void 0:v.length)){e.next=8;break}return e.next=6,(0,i.dP)(v)(r);case 6:r=e.sent,null!==r&&A(r);case 8:null===f||void 0===f||f(r),h(r),(0,o.wB)(g,(function(e){m||A(e)}),{deep:!0}),p&&(null===(n=s.v.watch)||void 0===n||n.call(s.v,t,(function(e){return h(e)})));case 12:case"end":return e.stop()}}),e)})))}(),g}},97911:(e,t,n)=>{"use strict";n.d(t,{k:()=>A});var a=n(2327),r=n(55096),o=(n(62953),n(16280),n(76918),n(26099),n(47764),n(50953)),i=n(20641),s=n(65563);const u=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"},{"name":"_3","type":"bool"}],"name":"check_persist_claim","payable":false,"returns":"OracleService.success_claim","stateful":true},{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"}],"name":"query_oracle","payable":true,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"OracleService","payable":false,"typedefs":[{"name":"success_claim","typedef":{"record":[{"name":"success","type":"bool"},{"name":"caller","type":"address"},{"name":"percentage","type":"int"}]},"vars":[]}]}},{"contract":{"event":{"variant":[{"TipReceived":["address","int","Tipping.url"]},{"ReTipReceived":["address","int","Tipping.url"]},{"TipWithdrawn":["address","int","Tipping.url"]}]},"functions":[{"arguments":[{"name":"oracle_service","type":"OracleService"},{"name":"owner","type":"address"}],"name":"init","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"oracle_service","type":"OracleService"}],"name":"change_oracle_service","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"url","type":"string"},{"name":"title","type":"string"}],"name":"tip","payable":true,"returns":"unit","stateful":true},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retip","payable":true,"returns":"unit","stateful":true},{"arguments":[{"name":"url","type":"string"},{"name":"expected_account","type":"address"}],"name":"pre_claim","payable":true,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"url","type":"string"},{"name":"account","type":"address"},{"name":"recheck","type":"bool"}],"name":"claim","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"new_contract","type":"address"}],"name":"migrate_balance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"get_state","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"url","type":"string"}],"name":"tips_for_url","payable":false,"returns":{"list":["Tipping.tip"]},"stateful":false},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retips_for_tip","payable":false,"returns":{"list":["Tipping.retip"]},"stateful":false},{"arguments":[{"name":"url","type":"string"}],"name":"unclaimed_for_url","payable":false,"returns":"int","stateful":false},{"arguments":[{"name":"url","type":"string"},{"name":"expected_account","type":"address"}],"name":"check_claim","payable":false,"returns":"OracleService.success_claim","stateful":false}],"kind":"contract_main","name":"Tipping","payable":false,"state":{"record":[{"name":"urls","type":{"map":["Tipping.url","Tipping.url_id"]}},{"name":"claims","type":{"map":["Tipping.url_id",{"tuple":["Tipping.claim_gen","int"]}]}},{"name":"url_index","type":{"map":["Tipping.url_id","Tipping.url"]}},{"name":"tips","type":{"map":["Tipping.tip_id","Tipping.tip"]}},{"name":"retips","type":{"map":["Tipping.retip_id","Tipping.retip"]}},{"name":"owner","type":"address"},{"name":"oracle_service","type":"OracleService"}]},"typedefs":[{"name":"tip_id","typedef":"int","vars":[]},{"name":"url_id","typedef":"int","vars":[]},{"name":"retip_id","typedef":"int","vars":[]},{"name":"url","typedef":"string","vars":[]},{"name":"claim_gen","typedef":"int","vars":[]},{"name":"tip","typedef":{"record":[{"name":"sender","type":"address"},{"name":"title","type":"string"},{"name":"claim_gen","type":"Tipping.claim_gen"},{"name":"timestamp","type":"int"},{"name":"url_id","type":"Tipping.url_id"},{"name":"amount","type":"int"}]},"vars":[]},{"name":"retip","typedef":{"record":[{"name":"sender","type":"address"},{"name":"amount","type":"int"},{"name":"claim_gen","type":"Tipping.claim_gen"},{"name":"tip_id","type":"Tipping.tip_id"}]},"vars":[]}]}}]'),c=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"address"},{"name":"_3","type":"int"}],"name":"transfer_allowance","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"int"}],"name":"transfer","payable":false,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"TokenContract","payable":false,"typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"},{"name":"_3","type":"bool"}],"name":"check_persist_claim","payable":false,"returns":"OracleService.success_claim","stateful":true},{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"}],"name":"query_oracle","payable":true,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"OracleService","payable":false,"typedefs":[{"name":"success_claim","typedef":{"record":[{"name":"success","type":"bool"},{"name":"account","type":"address"},{"name":"percentage","type":"int"}]},"vars":[]}]}},{"contract":{"event":{"variant":[{"TipReceived":["address","Tipping.amount","Tipping.url"]},{"ReTipReceived":["address","Tipping.amount","Tipping.url"]},{"TipWithdrawn":["address","Tipping.amount","Tipping.url"]},{"TipTokenReceived":["address","Tipping.amount","Tipping.url","TokenContract"]},{"ReTipTokenReceived":["address","Tipping.amount","Tipping.url","TokenContract"]},{"TipDirectReceived":["address","Tipping.amount","Tipping.receiver_str"]},{"TipDirectTokenReceived":["address","Tipping.amount","Tipping.receiver_str","TokenContract"]}]},"functions":[{"arguments":[{"name":"oracle_service","type":"OracleService"}],"name":"init","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"title","type":"string"}],"name":"tip","payable":true,"returns":"int","stateful":true},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"title","type":"string"},{"name":"token","type":"TokenContract"},{"name":"token_amount","type":"int"}],"name":"tip_token","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"receiver","type":"Tipping.receiver"},{"name":"title","type":"string"}],"name":"tip_direct","payable":true,"returns":"int","stateful":true},{"arguments":[{"name":"receiver","type":"Tipping.receiver"},{"name":"title","type":"string"},{"name":"token","type":"TokenContract"},{"name":"token_amount","type":"int"}],"name":"tip_token_direct","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retip","payable":true,"returns":"int","stateful":true},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"},{"name":"token","type":"TokenContract"},{"name":"token_amount","type":"int"}],"name":"retip_token","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"expected_account","type":"address"}],"name":"pre_claim","payable":true,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"account","type":"address"},{"name":"recheck","type":"bool"}],"name":"claim","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"get_state","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"}],"name":"tips_for_url","payable":false,"returns":{"list":["Tipping.tip"]},"stateful":false},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retips_for_tip","payable":false,"returns":{"list":["Tipping.retip"]},"stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"}],"name":"unclaimed_for_url","payable":false,"returns":{"tuple":["int",{"map":["TokenContract","int"]}]},"stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"expected_account","type":"address"}],"name":"check_claim","payable":false,"returns":"OracleService.success_claim","stateful":false}],"kind":"contract_main","name":"Tipping","payable":false,"state":{"record":[{"name":"urls","type":{"map":["Tipping.url","Tipping.url_id"]}},{"name":"claims","type":{"map":["Tipping.url_id",{"tuple":["Tipping.claim_gen","int",{"map":["TokenContract","int"]}]}]}},{"name":"url_index","type":{"map":["Tipping.url_id","Tipping.url"]}},{"name":"tips","type":{"map":["Tipping.tip_id","Tipping.tip"]}},{"name":"retips","type":{"map":["Tipping.retip_id","Tipping.retip"]}},{"name":"oracle_service","type":"OracleService"},{"name":"version","type":"string"}]},"typedefs":[{"name":"tip_id","typedef":"int","vars":[]},{"name":"url_id","typedef":"int","vars":[]},{"name":"retip_id","typedef":"int","vars":[]},{"name":"url","typedef":"string","vars":[]},{"name":"claim_gen","typedef":"int","vars":[]},{"name":"amount","typedef":"int","vars":[]},{"name":"receiver","typedef":"address","vars":[]},{"name":"receiver_str","typedef":"string","vars":[]},{"name":"tip","typedef":{"variant":[{"AeTip":["Tipping.tip_meta","Tipping.url_id","Tipping.amount","Tipping.claim_gen"]},{"TokenTip":["Tipping.tip_meta","Tipping.url_id","Tipping.tip_token_data","Tipping.claim_gen"]},{"DirectAeTip":["Tipping.tip_meta","Tipping.receiver","Tipping.amount"]},{"DirectTokenTip":["Tipping.tip_meta","Tipping.receiver","Tipping.tip_token_data"]}]},"vars":[]},{"name":"tip_token_data","typedef":{"record":[{"name":"token","type":"TokenContract"},{"name":"amount","type":"int"}]},"vars":[]},{"name":"tip_meta","typedef":{"record":[{"name":"sender","type":"address"},{"name":"title","type":"string"},{"name":"timestamp","type":"int"}]},"vars":[]},{"name":"retip","typedef":{"record":[{"name":"sender","type":"address"},{"name":"amount","type":"int"},{"name":"token_amount","type":"int"},{"name":"claim_gen","type":"Tipping.claim_gen"},{"name":"token","type":{"option":["TokenContract"]}},{"name":"tip_id","type":"Tipping.tip_id"}]},"vars":[]}]}}]');var l,d,p=n(31189),v=n(59755),f=n(75265),m=n(81881),g=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},h=(0,o.KR)(!1);function A(){var e=(0,m.f)(),t=e.activeNetwork,n=(0,f.C)(),o=n.getAeSdk,A=n.isTippingSupported,k=(0,i.EW)((function(){switch(t.value.type){case s.dk:return v.qD;case s.Oj:return v.n1;default:return{}}}));function y(){return g(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n,i;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(A.value&&k.value){e.next=2;break}return e.abrupt("return");case 2:return h.value=!0,e.next=5,o();case 5:return t=e.sent,e.next=8,Promise.all([t.initializeContract({aci:u,address:k.value.tippingV1}),k.value.tippingV2?t.initializeContract({aci:c,address:k.value.tippingV2}):void 0]);case 8:n=e.sent,i=(0,r.A)(n,2),l=i[0],d=i[1],h.value=!1;case 13:case"end":return e.stop()}}),e)})))}function b(){var e;return g(this,void 0,void 0,(0,a.A)().mark((function t(){return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(l&&l.$options.address===(null===(e=k.value)||void 0===e?void 0:e.tippingV1)){t.next=5;break}return t.next=3,y();case 3:t.next=8;break;case 5:if(!h.value){t.next=8;break}return t.next=8,(0,p.mU)((function(){return!h.value}));case 8:if(l){t.next=10;break}throw Error("failed to initialize tipping contract");case 10:return t.abrupt("return",{tippingV1:l,tippingV2:d});case 11:case"end":return t.stop()}}),t)})))}return{tippingContractAddresses:k,getTippingContracts:b}}},43631:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});n(76031);var a=n(75220),r=n(65563),o=n(84754),i=n(31189);function s(){var e=(0,a.lq)(),t=e.meta,n=(0,o.U8)(),s=n.openModal;function u(e){(0,i.AP)([r.d5.transferSendData],e)}function c(){var e=(0,i._S)([r.d5.transferSendData]);r.hL&&e&&setTimeout((function(){var n,a;s(r.Fv,Object.assign({isMultisig:null===(n=t.value)||void 0===n?void 0:n.isMultisig,tokenContractId:null===(a=null===e||void 0===e?void 0:e.selectedAsset)||void 0===a?void 0:a.contractId},e)),(0,i.sc)([r.d5.transferSendData])}),100)}return{restore:c,save:u}}},909:(e,t,n)=>{"use strict";n.d(t,{m:()=>L});n(44114);var a=n(50953),r=n(20641),o=n(65563),i=n(90973),s=n(2327),u=(n(26099),n(35306)),c=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},l=function(e){return c(void 0,void 0,void 0,(0,s.A)().mark((function t(){var n,a;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(null===e||void 0===e?void 0:e.length){t.next=15;break}return t.next=3,(0,u.a)();case 3:if(t.t1=n=t.sent,t.t0=null===t.t1,t.t0){t.next=7;break}t.t0=void 0===n;case 7:if(!t.t0){t.next=11;break}t.t2=void 0,t.next=12;break;case 11:t.t2=n.hiddenCards;case 12:if(a=t.t2,!(null===a||void 0===a?void 0:a.length)){t.next=15;break}return t.abrupt("return",a);case 15:return t.abrupt("return",e);case 16:case"end":return t.stop()}}),t)})))};const d=l;var p=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},v=function(e){return p(void 0,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e){t.next=12;break}return t.next=3,(0,u.a)();case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0={};case 6:return n=t.t0,a=n.backedUpSeed,r=void 0!==a&&a,o=n.saveErrorLog,i=void 0!==o&&o,t.abrupt("return",{isSeedBackedUp:r,saveErrorLog:i});case 12:return t.abrupt("return",e);case 13:case"end":return t.stop()}}),t)})))};const f=v;var m=n(54228),g=(0,a.KR)(i.qJ),h=(0,a.KR)(!1),A=(0,a.KR)(!1),k=(0,a.KR)({name:i.qJ}),y=(0,a.KR)(!1),b=(0,m.S)([],o.d5.hiddenCards,{migrations:[d]}),w=(0,m.S)({},o.d5.otherSettings,{migrations:[f]}),C=(0,r.EW)((function(){return!!w.value.isSeedBackedUp})),x=(0,r.EW)((function(){return!!w.value.saveErrorLog}));function L(){function e(e,t){g.value!==e&&(g.value=e,t&&t())}function t(e){A.value=e}function n(e){k.value=e}function a(e){y.value=e}function o(){h.value=!document.hidden}function i(e){b.value.push(e)}function s(e){w.value.isSeedBackedUp=e}function u(e){w.value.saveErrorLog=e}function c(){o(),(0,r.sV)((function(){document.addEventListener("visibilitychange",o)})),(0,r.xo)((function(){document.removeEventListener("visibilitychange",o)}))}function l(){b.value=[],w.value={}}return{homeRouteName:g,hiddenCards:b,isAppActive:h,loginTargetLocation:k,qrScannerOpen:y,isLoaderVisible:A,isSeedBackedUp:C,saveErrorLog:x,initVisibilityListeners:c,setCardHidden:i,setBackedUpSeed:s,setSaveErrorLog:u,setHomeRouteName:e,setLoginTargetLocation:n,setQrScanner:a,setLoaderVisible:t,resetUiSettings:l}}},53368:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});var a=n(63366),r=n(50953),o=n(20641),i=(0,r.KR)(),s=function(){var e=(0,a.A)((function(e){if(i.value){var t=i.value,n=t.scrollHeight,a=t.scrollTop,r=t.clientHeight,o=n-a<=r+100;e({isOutsideOfViewport:o})}}),50);function t(e){i.value=e}function n(t){i.value&&i.value.addEventListener("scroll",(function(){return e(t)})),window.addEventListener("scroll",(function(){return e(t)})),(0,o.xo)((function(){i.value&&i.value.removeEventListener("scroll",(function(){return e(t)})),window.removeEventListener("scroll",(function(){return e(t)}))}))}return{viewportElement:i,onViewportScroll:n,initViewport:t}}},37534:(e,t,n)=>{"use strict";n.d(t,{$b:()=>fe,$m:()=>a,AK:()=>i,Dd:()=>Ve,E0:()=>Z,E4:()=>o,E9:()=>v,Fl:()=>U,Fv:()=>ke,G9:()=>$,H1:()=>X,He:()=>we,Hk:()=>g,Hn:()=>J,I1:()=>L,I9:()=>D,IS:()=>De,Iu:()=>P,Jw:()=>_e,K$:()=>ee,K0:()=>I,LX:()=>l,LY:()=>q,LZ:()=>Te,MW:()=>Se,Mc:()=>ae,NB:()=>Fe,NX:()=>h,OO:()=>E,Oj:()=>w,PM:()=>F,Pu:()=>Y,Qb:()=>C,R$:()=>ge,TG:()=>ye,TP:()=>f,VG:()=>S,X0:()=>de,XA:()=>p,Xn:()=>Re,Y6:()=>Xe,ZH:()=>A,_3:()=>Be,_B:()=>se,_V:()=>s,b1:()=>N,bG:()=>re,c9:()=>ue,d5:()=>O,dL:()=>Ne,dk:()=>b,dy:()=>Ue,eN:()=>le,ei:()=>K,gK:()=>ce,g_:()=>ie,hS:()=>Oe,hg:()=>We,iE:()=>te,iL:()=>he,iP:()=>d,jA:()=>Ee,kQ:()=>ve,kV:()=>ne,ld:()=>pe,mp:()=>Ae,nO:()=>V,nZ:()=>c,nf:()=>m,o1:()=>oe,om:()=>be,pE:()=>z,qj:()=>_,rM:()=>me,rh:()=>u,sW:()=>Le,su:()=>Ie,tF:()=>Ce,tk:()=>He,u8:()=>T,uL:()=>j,uR:()=>Q,ul:()=>G,um:()=>B,uw:()=>$e,w:()=>W,wz:()=>Pe,x0:()=>Me,xS:()=>k,y1:()=>x,y5:()=>H,yR:()=>M,yS:()=>R,yv:()=>r,zE:()=>y,ze:()=>xe});n(16034);var a="sh-wallet",r={aeternity:"aeternity",bitcoin:"bitcoin",ethereum:"ethereum"},o=Object.values(r),i="AccountDetails",s="AccountDetailsTokens",u="AccountDetailsNames",c="TransactionDetails",l="TransferReceiveModal",d="TransferSendModal",p=[i,c,s,u,l,d],v=5,f=12,m=9,g=2,h={sent:"sent",received:"received"},A={POPUP:"POPUP",OTHER:"OTHER"},k=/^[1-9A-HJ-NP-Za-km-z]{48,50}$/,y="hd-wallet",b="mainnet",w="testnet",C="custom",x="Mainnet",L="Testnet",S=15,T=15,E=30,I=30,_=17e3,W="CREATED",F="READ",D={wallet:"wallet",commentOnTip:"COMMENT_ON_TIP",commentOnComment:"COMMENT_ON_COMMENT",tipOnComment:"TIP_ON_COMMENT",claimOfTip:"CLAIM_OF_TIP",claimOfRetip:"CLAIM_OF_RETIP",retipOnTip:"RETIP_ON_TIP"},B="AENS",P="DEX",O={mnemonic:"mnemonic",accountsRaw:"accounts-raw",activeAccountGlobalIdx:"active-account-global-idx",protocolLastActiveAccountIdx:"protocol-last-active-account-idx",balances:"balances",customNetworks:"custom-networks",activeNetworkName:"active-network-name",hiddenCards:"hidden-cards",otherSettings:"other-settings",errorLog:"error-log",invites:"invites",namesOwned:"names-owned",namesDefault:"names-default",notificationsSettings:"notifications-settings",lastRoute:"last-route",fungibleTokenList:"fungible-token-list",fungibleTokenBalances:"fungible-token-balances",permissions:"permissions",appsBrowserHistory:"apps-browser-history",transactionsLatest:"transactions-latest",transactionsLoaded:"transactions-loaded",transactionsPending:"transactions-pending",transferSendData:"transfer-send-data"},M=[{name:"United States Dollar",code:"usd",symbol:"$"},{name:"Euro",code:"eur",symbol:"€"},{name:"Australia Dollar",code:"aud",symbol:"AU$"},{name:"Brasil Real",code:"brl",symbol:"R$"},{name:"Canada Dollar",code:"cad",symbol:"CA$"},{name:"Swiss Franc",code:"chf",symbol:"CHF"},{name:"China Yuan Renminbi",code:"cny",symbol:"¥"},{name:"Czech Republic Koruna",code:"czk",symbol:"Kč"},{name:"Denmark Krone",code:"dkk",symbol:"Kr"},{name:"United Kingdom Pound",code:"gbp",symbol:"£"},{name:"Hong Kong Dollar",code:"hkd",symbol:"HK$"},{name:"Hungary Forint",code:"huf",symbol:"Ft"},{name:"Indonesia Rupiah",code:"idr",symbol:"Rp"},{name:"Israel Shekel",code:"ils",symbol:"₪"},{name:"India Rupee",code:"inr",symbol:"₹"},{name:"Japan Yen",code:"jpy",symbol:"¥"},{name:"South Korea Won",code:"krw",symbol:"₩"},{name:"Mexico Peso",code:"mxn",symbol:"MX$"},{name:"Malaysia Ringgit",code:"myr",symbol:"MR"},{name:"Norway Krone",code:"nok",symbol:"Kr"},{name:"New Zealand Dollar",code:"nzd",symbol:"NZ$"},{name:"Philippines Peso",code:"php",symbol:"₱"},{name:"Poland Zloty",code:"pln",symbol:"zł"},{name:"Russia Ruble",code:"rub",symbol:"₽"},{name:"Sweden Krona",code:"sek",symbol:"Kr"},{name:"Singapore Dollar",code:"sgd",symbol:"SG$"},{name:"Thailand Baht",code:"thb",symbol:"฿"},{name:"Turkey Lira",code:"try",symbol:"₺"},{name:"South Africa Rand",code:"zar",symbol:"R"},{name:"Gold Ounce",code:"xau",symbol:"XAU"}],R="https://wallet.superhero.com",N="https://chrome.google.com/webstore/detail/superhero/mnhmmkepfddpifjkamaligfeemcbhdne",U="https://addons.mozilla.org/en-US/firefox/addon/superhero-wallet",X="https://play.google.com/store/apps/details?id=com.superhero.cordova",V="https://apps.apple.com/us/app/superhero-wallet/id1502786641",H="https://spgrrc00ymg.typeform.com/to/Kk3Zyjdr",$="https://superhero.com/",j=["https://chat.superhero.com","https://chat.superhero.chat","https://matrix.superhero.chat"],K="superherowallet@protonmail.com",q="account-create",G="account-ae-create",Q="import-account",Z="account-select-options",Y="asset-selector",z="claim-success",J="confirm",ee="confirm-transaction-sign",te="confirm-raw-sign",ne="confirm-connect",ae="confirm-account-list",re="consensus-info",oe="default",ie="error-log",se="form-select-options",ue="help",ce="confirm-message-sign",le="multisig-proposal-confirm-action",de="multisig-vault-create",pe="network-switcher",ve="payload-form",fe="read-qr-code",me="recipient-helper",ge="recipient-info",he="reset-wallet",Ae="transfer-receive",ke="transfer-send",ye="browser-actions",be="warning-dapp-browser",we="claim-gift-card",Ce="connectConfirm",xe="account-list",Le="sign",Se="messageSign",Te="rawSign",Ee="address",Ie="transactions",_e={getProps:"getProps",resolve:"resolve",reject:"reject"},We={host:"",name:"",address:!1,addressList:!1,messageSign:!1,dailySpendLimit:!1,transactionSignLimit:0,transactionSignSpent:0,transactionSignFirstAskedOn:null},Fe="TIP",De={success:"success",warning:"warning",error:"error"},Be={buyAe:"buyAe",claimName:"claimName",faucet:"faucet",daeppBrowser:null},Pe=["alert","critical","help","info","not-secure","success","warning"],Oe={xs:"xs",sm:"sm",rg:"rg",md:"md",lg:"lg",xl:"xl",xxl:"xxl"},Me={form:"form",review:"review",reviewTip:"tip"},Re="en-US",Ne={refresh:"refresh",share:"share",favourite:"favourite"},Ue=150,Xe=10,Ve={coin:"coin",token:"token"},He=6e5,$e=15e3},65563:(e,t,n)=>{"use strict";n.d(t,{zE:()=>a.zE,E9:()=>a.E9,um:()=>a.um,G9:()=>a.G9,wz:()=>a.wz,H1:()=>a.H1,b1:()=>a.b1,Fl:()=>a.Fl,nO:()=>a.nO,yS:()=>a.yS,Dd:()=>a.Dd,qj:()=>a.qj,dL:()=>a.dL,y5:()=>a.y5,ZH:()=>a.ZH,ei:()=>a.ei,yR:()=>a.yR,_3:()=>a._3,nf:()=>a.nf,Hk:()=>a.Hk,Xn:()=>a.Xn,u8:()=>a.u8,Iu:()=>a.Iu,XA:()=>a.XA,l2:()=>x,OO:()=>a.OO,xS:()=>a.xS,hS:()=>a.hS,IS:()=>a.IS,IX:()=>p,bW:()=>l,m_:()=>y,hL:()=>m,ys:()=>g,$M:()=>b,pz:()=>A,I$:()=>f,Hy:()=>k,pb:()=>h,p8:()=>w,u2:()=>v,$m:()=>a.$m,Y6:()=>a.Y6,LY:()=>a.LY,uR:()=>a.uR,E0:()=>a.E0,ul:()=>a.ul,Pu:()=>a.Pu,He:()=>a.He,pE:()=>a.pE,Hn:()=>a.Hn,Mc:()=>a.Mc,kV:()=>a.kV,iE:()=>a.iE,K$:()=>a.K$,bG:()=>a.bG,TG:()=>a.TG,o1:()=>a.o1,g_:()=>a.g_,_B:()=>a._B,c9:()=>a.c9,gK:()=>a.gK,eN:()=>a.eN,X0:()=>a.X0,ld:()=>a.ld,kQ:()=>a.kQ,$b:()=>a.$b,rM:()=>a.rM,R$:()=>a.R$,iL:()=>a.iL,mp:()=>a.mp,Fv:()=>a.Fv,om:()=>a.om,y1:()=>a.y1,VG:()=>a.VG,I1:()=>a.I1,Qb:()=>a.Qb,dk:()=>a.dk,Oj:()=>a.Oj,NB:()=>a.NB,w:()=>a.w,PM:()=>a.PM,I9:()=>a.I9,dy:()=>a.dy,hg:()=>a.hg,uw:()=>a.uw,Jw:()=>a.Jw,jA:()=>a.jA,su:()=>a.su,WZ:()=>d,ze:()=>a.ze,tF:()=>a.tF,MW:()=>a.MW,LZ:()=>a.LZ,sW:()=>a.sW,yv:()=>a.yv,E4:()=>a.E4,AK:()=>a.AK,_V:()=>a._V,rh:()=>a.rh,nZ:()=>a.nZ,LX:()=>a.LX,iP:()=>a.iP,dx:()=>c,yW:()=>u,TP:()=>a.TP,d5:()=>a.d5,uL:()=>a.uL,tk:()=>a.tk,x0:()=>a.x0,K0:()=>a.K0,NX:()=>a.NX,s4:()=>C});var a=n(37534),r=(n(74423),n(62010),n(26099),n(99449),n(21699),n(47764),n(11392),n(62953),n(3296),n(48408),n(14603),n(47566),n(98721),n(37736)),o=navigator.userAgent.toLowerCase(),i=new URL(window.location.href),s="web",u=!1,c=!(!i.searchParams.get("id")||!window.location.pathname.includes("index.html")&&!u),l=!!window.opener&&window.name.startsWith("popup-"),d=i.searchParams.get("type")||null,p=window.parent!==window,v="web"===s,f="ionic"===s,m="extension"===s&&!u,g=m&&window.location.href.endsWith("_generated_background_page.html"),h="/offscreen.html"===window.location.pathname,A=(0,r.a)("ios"),k=((0,r.a)("android"),(0,r.a)("mobile")),y=o.includes("chrome"),b=o.includes("firefox"),w=!0,C=!1,x=""},59794:(e,t,n)=>{"use strict";n.d(t,{DZ:()=>x,FE:()=>b,_7:()=>d,km:()=>c,xQ:()=>v,zk:()=>l});var a=n(1287),r=(n(23288),n(91087)),o=n(65984),i=n(60346),s=n(59755),u=n(37534),c="ak_enAPooFqpTQKkhJmU47J16QZu9HbPQQPwWBVeGnzDbDnv9dxp",l="ct_2rWUGgaVEVytGKuovkeJiUiLvrW63Fx7acvLBb5Ee9ypqoNxL6",d="cb_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACDJfUrsdAtW6IZtMvhp0+eVDUiQivrquyBwXrl/ujPLcgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJQQwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUEMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJvjRF",p="tx_+FEMAaEByqPFadmQk4sGtyDiquosAZyKJNmherKOhheVIEYTLCKhAcqjxWnZkJOLBrcg4qrqLAGciiTZoXqyjoYXlSBGEywiC4YPJvVhyAAAE4ALeFGB",v=1e4,f="ct_T6MWNrowGVC9dyTDksCBrCCSaeK3hzBMMY5hhMKwvwr8wJvM8",m="ct_2Cvbf3NYZ5DLoaNYAU71t67DdXLHeSXhodkSNifhgd7Xsw28Xd",g="ct_2ZEoCKcqXkbz2uahRrsWeaPooZs9SdCv6pmC4kc55rD4MhqYSu",h={mnemonic:"media view gym mystery all fault truck target envelope kit drop fade",address:"ak_2fxchiLvnj9VADMAXHBiKPsaCEsTFehAspcmWJ3ZzF3pFK1hB5",protocol:u.yv.aeternity},A="ak_2ELPCWzcTdiyYuumjaV4D7kE843d1Ts27zH1Y2LBMKDbNtfq1Q",k="ct_ym8eXWR2YfQZcMaXA8GFid9aarfCozGkeMcRHYVCVoBdVMzio",y=(s.GO,{url:"http://localhost:5000/aepp/aepp",name:"AEPP",protocol:"http:",host:"localhost"}),b=(0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)({},u.tF,{app:y}),u.ze,{app:y}),u.MW,{app:y,message:"test"}),u.LZ,{app:y,txBase64:p}),u.sW,{app:y,tx:{type:r.vw[r.vw.SpendTx],VSN:"1",senderId:h.address,recipientId:A,amount:1e15,fee:1682e10,nonce:190,payload:"ba_Xfbg4g==",arguments:[],callerId:c,contractId:l}}),"base",{app:y,action:{params:{returnSigned:!1},method:"transaction.sign"}}),w=new i.A(2).exponentiatedBy(256).minus(1).toNumber(),C={amount:1e17,ttl:w,nonce:w,fee:1e16,gas:1579e3,gasPrice:1e9,waitMined:!0,denomination:o.j8.AETTOS,clientTtl:84600,nameTtl:5e4,nameFee:0,deposit:0,options:"",dryRunAccount:{pub:"ak_11111111111111111111111111111111273Yts",amount:1e35},queryFee:3e4,oracleTtl:{type:"delta",value:500},queryTtl:{type:"delta",value:10},responseTtl:{type:"delta",value:10},ctVersion:{abiVersion:r.BL.Sophia,vmVersion:r.SM.Sophia},abiVersion:r.BL.Sophia,callData:d},x=(0,a.A)((0,a.A)((0,a.A)({},r.vw[r.vw.ContractCreateTx],Object.assign({ownerId:h.address,code:"cb_+LBGA6DK15BWhAK4E5OWH1kkfhQIx/qEDTVv8hrfY/bk13cN88C4g7hT/iiALJYANwGXQDcAGgaCAAEDP/5E1kQfADcANwAaDoKfAYEKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqgEDP/6LoCthADcAl0ABAoKqLwMRKIAsliVzZXRfYnl0ZXMRRNZEHxFpbml0EYugK2ElZ2V0X2J5dGVzgi8AhTQuMi4wABHX/Rk="},C)),r.vw[r.vw.ContractCallTx],Object.assign({contractId:k,callerId:h.address},C)),r.vw[r.vw.SpendTx],Object.assign({senderId:h.address,recipientId:A},C)),L=(new Date).getTime();u.yv.aeternity,h.address,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,h.address,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,h.address,u.yv.aeternity,h.address,u.yv.aeternity,h.address,u.yv.aeternity,s.cK,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity},32118:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});n(16280),n(76918),n(72712),n(26099);var a=n(65563),r=function(){var e={},t={};function n(t,n){e[t]=n}function r(n){if(!e[n])throw new Error("Protocol ".concat(n," is not registered"));return t[n]||(t[n]=new e[n]),t[n]}function o(e,t){return a.E4.reduce((function(n,a){if(!n){var o=r(a);o.isAccountAddressValid(e,t)&&(n=o)}return n}),void 0)}function i(e,t){return a.E4.reduce((function(n,a){if(!n){var o=r(a);o.isValidAddressOrNameEncoding(e,t)&&(n=o)}return n}),void 0)}return{registerAdapter:n,getAdapter:r,getAdapterByAccountAddress:o,getAdapterByAddressOrNameEncoding:i}}()},41370:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var a=n(13217),r=n(41417),o=(0,a.A)((function e(){(0,r.A)(this,e)}))},74335:(e,t,n)=>{"use strict";n.d(t,{r:()=>l});var a=n(1287),r=(n(62953),n(48408),n(76918),n(50113),n(48598),n(44114),n(23288),n(26099),n(38781),n(47764),n(14603),n(47566),n(98721),n(84754)),o=n(65563),i=n(90973),s=n(32118),u="op",c="token",l=function(){function e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return[o.yS,e,"?",new URLSearchParams(Object.assign((0,a.A)({},u,t),n)).toString()].join("")}var t={transferSend:function(e,t){var n=(0,r.U8)(),a=n.openModal,i=(0,r.oV)(),u=i.setActiveAccountByProtocol,l=t[c],d=o.E4.find((function(e){var t=s.C.getAdapter(e);return t.getUrlTokenKey()===l}));return u(d||o.yv.aeternity),a(o.Fv),!0},addNetwork:function(e,t){return e.push({name:i.jA,query:t}),!1}};function n(e){var n=e.beforeResolve((function(a,r,o){var i=a.query,s=null===i||void 0===i?void 0:i[u];if(s&&"string"===typeof s&&t[s]){var c=Object.assign({},i);delete c[u];var l=t[s](e,c);l&&o(),n()}else o()}))}return{createUrl:e,init:n}}()},53319:(e,t,n)=>{"use strict";n.d(t,{v:()=>d});var a=n(2327),r=n(1287),o=(n(74423),n(33110),n(79432),n(26099),n(21699),n(46996)),i=n(65563),s=n(31189),u=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function c(){var e=this,t=browser.storage.local;return{set:function(e,n){return t.set((0,r.A)({},(0,s.ee)(e),JSON.stringify(n)))},get:function(n){return u(e,void 0,void 0,(0,a.A)().mark((function e(){var r,o;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=(0,s.ee)(n),e.next=3,t.get(r);case 3:return e.t0=r,o=e.sent[e.t0],e.abrupt("return",o?JSON.parse(o):null);case 6:case"end":return e.stop()}}),e)})))},remove:function(e){return t.remove(e)},watch:function(e,t){var n,a;null===(a=null===(n=null===browser||void 0===browser?void 0:browser.storage)||void 0===n?void 0:n.onChanged)||void 0===a||a.addListener((function(n){var a=n[(0,s.ee)(e)];a&&!(0,o.A)(a.newValue,a.oldValue)&&t(JSON.parse(a.newValue))}))},clear:function(){return t.clear()}}}function l(){var e=this;return{set:function(e,t){return new Promise((function(n){return n(localStorage.setItem((0,s.ee)(e),JSON.stringify(t)))}))},get:function(e){return new Promise((function(t){var n=localStorage.getItem((0,s.ee)(e));t(n?JSON.parse(n):null)}))},remove:function(e){return new Promise((function(t){return t(localStorage.removeItem((0,s.ee)(e)))}))},watch:function(e,t){i.pb&&window.addEventListener("storage",(function(n){(0,s.ee)(e).includes(n.key)&&n&&!(0,o.A)(n.newValue,n.oldValue)&&t(JSON.parse(n.newValue))}))},clear:function(){return u(e,void 0,void 0,(0,a.A)().mark((function e(){return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",localStorage.clear());case 1:case"end":return e.stop()}}),e)})))}}}var d=!i.yW&&!i.pb&&i.ys&&browser?c():l()},39262:(e,t,n)=>{"use strict";n.d(t,{v:()=>u,y:()=>c});var a=n(13217),r=n(41417),o=n(6624),i=n(217),s=n(20852),u=(n(16280),n(76918),n(62010),function(e){function t(){var e;return(0,r.A)(this,t),e=(0,o.A)(this,t,["Rejected by user"]),e.name=e.constructor.name,e}return(0,i.A)(t,e),(0,a.A)(t)}((0,s.A)(Error))),c=function(e){function t(){var e;return(0,r.A)(this,t),e=(0,o.A)(this,t,["No UserMedia permission"]),e.name=e.constructor.name,e}return(0,i.A)(t,e),(0,a.A)(t)}((0,s.A)(Error))},12589:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var a=n(6682),r=n(73808),o=n(2327),i=n(41417),s=n(13217),u=(n(52675),n(76918),n(28706),n(74423),n(25276),n(59089),n(23288),n(62010),n(1480),n(26099),n(38781),n(21699),n(83997)),c=n(48468),l=n(65563),d=n(84754),p=n(39262),v=n(53319),f=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},m=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0&&void 0!==arguments[0]?arguments[0]:{},a=n.background,i=void 0!==a&&a,s=n.app;e.background=i,!i&&s&&(s.config.errorHandler=function(t,n,a){console.error(t,a),t&&t instanceof p.v&&e.write({message:t.toString(),info:a,type:"vue-error"})},s.config.warnHandler=function(e,t,n){console.warn(e,n)}),window.addEventListener("unhandledrejection",(function(n){return f(t,void 0,void 0,(0,o.A)().mark((function t(){var a,r,i,s;return(0,o.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=n.reason||{},r=a.stack,i=a.message,s=a.name,!("string"===typeof a&&a.includes("CompileError: WebAssembly.instantiate()")||"NavigationDuplicated"===s||a&&a instanceof p.v)){t.next=4;break}return t.abrupt("return");case 4:return t.prev=4,t.next=7,e.write({message:"string"===typeof a?a:i,stack:r,type:"unhandledrejection"});case 7:t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](4),console.error("Logger:",t.t0);case 12:case"end":return t.stop()}}),t,null,[[4,9]])})))})),window.onerror=function(t,n,a,o,i){e.write({message:"object"===(0,r.A)(t)?t.type:t,stack:"".concat(n," ").concat(a,":").concat(o),type:"window-error",info:i})}}},{key:"write",value:function(t){var n=t.modal,r=void 0===n?!l.p8:n,i=m(t,["modal"]);return f(this,void 0,void 0,(0,o.A)().mark((function t(){var n,s,p,f;return(0,o.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.saveErrorLog.value){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,e.get();case 4:n=t.sent,s={error:Object.assign({},(0,u.A)(i,["name"].concat((0,a.A)(Object.getOwnPropertyNames(i))))),appVersion:"2.2.1",browser:(0,c.o0)(),platform:"web",time:Date.now()},v.v.set(l.d5.errorLog,[].concat((0,a.A)(n),[s])),!e.background&&r&&i.message&&(p=(0,d.U8)(),f=p.openErrorModal,f(s));case 8:case"end":return t.stop()}}),t)})))}},{key:"get",value:function(){return f(this,void 0,void 0,(0,o.A)().mark((function e(){return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,v.v.get(l.d5.errorLog);case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0=[];case 5:return e.abrupt("return",e.t0);case 6:case"end":return e.stop()}}),e)})))}},{key:"sendLog",value:function(){return f(this,void 0,void 0,(0,o.A)().mark((function t(){return(0,o.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.get();case 2:t.sent;case 4:case"end":return t.stop()}}),t)})))}}]),e}();g.saveErrorLog=(0,d.mv)().saveErrorLog},35306:(e,t,n)=>{"use strict";n.d(t,{a:()=>u});var a=n(2327),r=(n(26099),n(65563)),o=n(31189),i=n(50953),s=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},u=function(){var e,t=(0,i.KR)(!1);return function(){return s(void 0,void 0,void 0,(0,a.A)().mark((function n(){var i;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(null===window||void 0===window?void 0:window.browser)){n.next=21;break}if(!t.value){n.next=6;break}return n.next=4,(0,o.mU)(t);case 4:n.next=21;break;case 6:if(e||r.pb){n.next=21;break}return t.value=!0,n.next=10,window.browser.storage.local.get("state");case 10:if(n.t1=i=n.sent,n.t0=null===n.t1,n.t0){n.next=14;break}n.t0=void 0===i;case 14:if(!n.t0){n.next=18;break}n.t2=void 0,n.next=19;break;case 18:n.t2=i.state;case 19:e=n.t2,t.value=!1;case 21:return n.abrupt("return",e);case 22:case"end":return n.stop()}}),n)})))}}()},44416:(e,t,n)=>{"use strict";n.d(t,{r4:()=>u,l$:()=>o,KR:()=>i});var a=n(67746),r=n(65563),o=function(e,t){var n=(0,a.c)().addElement(t.enteringEl).fromTo("opacity",0,1).fromTo("transform","translateY(70%)","translateY(0px)").duration(r.dy),o=(0,a.c)().addElement(t.leavingEl).addElement(document.querySelector("#header")).fromTo("opacity",1,0).beforeStyles({filter:"blur(5px)"}).afterClearStyles(["filter"]).duration(r.dy),i=(0,a.c)().addAnimation(n).addAnimation(o);return i},i=function(e,t){var n=(0,a.c)().addElement(t.enteringEl).addElement(document.querySelector("#header")).fromTo("opacity",0,1).beforeStyles({filter:"blur(5px)"}).afterClearStyles(["filter"]).duration(r.dy),o=(0,a.c)().addElement(t.leavingEl).fromTo("opacity",1,0).fromTo("transform","translateY(0)","translateY(70%)").duration(r.dy),i=(0,a.c)().addAnimation(n).addAnimation(o);return i},s=100,u=function(e,t){var n=(0,a.c)().addElement(t.enteringEl).fromTo("opacity",0,1).duration(s),r=(0,a.c)().addElement(t.leavingEl).fromTo("opacity",1,0),o=(0,a.c)().addAnimation(n).addAnimation(r);return o}},44343:(e,t,n)=>{"use strict";n.d(t,{Ru:()=>u,eo:()=>l,tg:()=>c});var a=n(1287),r=(n(26099),n(47764),n(62953),n(46992));const o=JSON.parse('{"common":{"address":"Address","addressCopied":"Copied","ae":"AE","all":"All","allAddresses":"All account addresses","amount":"Amount","balanceUnavailable":"Unable to load balance.","buy":"Buy","by":"by","callData":"Call data","cancel":"Cancel","confirm":"Confirm","contractId":"Contract ID","copy":"Copy","days":"{n} days | {n} day | {n} days","edit":"Edit","faucet":"Faucet","fellowSuperhero":"Fellow Superhero","fundsAreSafe":"Keep calm! Your funds are safe with Superhero wallet.","hashCopied":"Hash copied","hours":"{n} hours | {n} hour | {n} hours","hoursShort":"{n} h","minutes":"{n} minutes | {n} minute | {n} minutes","minutesShort":"{n} mins | {n} min | {n} mins","next":"Next","nonce":"Nonce","of":"of","ok":"OK","pending":"Pending","priceNotAvailable":"price: n/a","receive":"Receive","search":"Search","seconds":"{n} seconds | {n} second | {n} seconds","secondsShort":"{n} s","send":"Send","smartContract":"Smart contract","swap":"Swap","browser":"Browser","title":"Superhero wallet","total":"Total","totalMultisig":"Total in multisig vaults","tx":"Tx","unrecognized":"Unrecognized","you":"You","verifying":"Verifying","max":"MAX","tokens":"tokens","transferSpeed":{"fast":"Fast","medium":"Medium","slow":"Slow"},"actionMayTakeFewMoments":"This may take a few moments.","backToHome":"Proceed to dashboard"},"connectionStatus":{"offline":"You are offline. Go online to get real time data.","node":{"error":"Unable to connect to the chosen node.","connecting":"Connecting to the node...","connected":"Connected"},"middleware":{"unavailable":"Middleware is offline."}},"badges":{"verified":"Verified","notVerified":"Not verified"},"dashboard":{"selectAccount":"Select active account","receiveCard":{"description":"from existing wallet","descriptionMultisig":"to multisig vault"},"sendCard":{"description":"assets to others"},"proposeCard":{"title":"Propose Tx","description":"to other signers"},"backUpCard":{"title":"Back up your seed phrase","description":"Make a copy of your seed phrase to be able to recover your wallet and avoid losing your funds.","button":"Back up now"},"daeppBrowserCard":{"title":"Browse the æcosystem","description":"Explore æpps from within your wallet with the new built-in browser.","button":"Browse"},"buyCard":{"title":"Buy AE coin","description":"Use Simplex to buy AE coins with your credit card or bank account.","button":"Buy AE"},"nameCard":{"title":"Claim your own .chain name","description":"Get a human-readable name for your account and receive funds with it.","button":"Claim a name"},"latestTransactionCard":{"title":"Latest transactions"},"pendingMultisigCard":{"title":"Pending multisig transaction"}},"multisig":{"backToMainAccounts":"Back to main accounts","showMultisigVaults":"Show multisig vaults","consensus":"Consensus","signatureRequested":"Your signature is requested.","transactionSigned":"You have signed the transaction.","transactionReady":"Transaction is ready to be sent","multisigVault":"Multisig vault","address":"Multisig vault address","version":"Contract version","currentNonce":"Current nonce","authorizedSigners":"Authorized signers","explorerLink":"View smart contract in blockchain explorer","consensusPending":"Consensus pending","multisigVaultCreationFailed":"Multisig creation failed","needForApproval":"Needed for approval","creatingAccount":"Creating account (pays for the transaction)","approved":"Approved","waitingToBeSent":"Waiting to be sent...","scanAddress":"Scan æternity address"},"modals":{"createAccount":{"title":"Add account","titleMultisig":"Add multisig vault","titleAeternityAccount":"Add æternity account","msg":"Please select blockchain to add an account address to.","msgMultisig":"Generate new multisig account address and add it to your wallet.","msgAeternity":"Generate new account address to store, send and receive crypto currency on the æternity blockchain.","btnSubtitle":"Derive another account from your seed","addProtocolAccount":"Add {name} account"},"transaction-failed":{"msg":"We cannot process this transaction. Please, try again later."},"required":{"msg":"Please fill in all fields."},"payloadInfo":{"title":"Payload message","msg":"A payload is an optional public message composed by the sender and sent to the recipient along with a blockchain transaction.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'}Payload can be utilized as additional transaction identifier, destination tag (required by some centralized exchanges when depositing funds), or just to provide any extra information in free-form text."},"payloadForm":{"title":"Add payload (optional)","desc":"Send a public message with your transaction for approx. 0.00000002 AE per character.","label":"Payload message","doneBtn":"Done"},"only-chars":{"msg":"Only letters and numbers are allowed."},"name-exist":{"msg":"This name is already registered."},"name-length":{"msg":"Names on SUPERHERO have to be a minimum of 13 characters."},"incorrect-address":{"msg":"Please make sure that you have entered a valid public address."},"incorrect-amount":{"msg":"Please make sure you entered a valid amount."},"insufficient-balance":{"msg":"You do not have enough balance for this transaction."},"vaultLowBalance":{"title":"Insufficient vault balance","msg":"The vault does not have enough funds to pay for this transaction (proposed amount + network fee)."},"accountLowBalance":{"title":"Insufficient funds","msg":"You don’t have enough AE on your signing account to {action} this transaction."},"createMultisigAccount":{"title":"Create new multisig vault","btnText":"Create multisig vault","btnTextShort":"Create vault","btnSubtitle":"Manage funds with multiple accounts","signer":"Signer","signerInputPlaceholder":"Signer\'s account address","addSigner":"Add Signer","selectAccount":"Select an account","addSignerHelpMsg":"Each multisig transaction needs to be confirmed by the signatures of a preset number of authorized accounts.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'}As the creator of this multisig vault you can determine the authorized signers and set the consensus required for a transaction confirmation.","consensusRequiredDesc":"Consensus required for tx confirmation:","consensusRequiredContent":"of {0} signatures","consensusRequiredHelpTitle":"Consensus required","consensusRequiredHelpMsg":"As the creator of this multisig vault you can determine the authorized signers and set the consensus needed for a transaction confirmation (how many signatures are required to confirm each transaction).","createMultisigVault":"Create Vault","errorDuplicatingSigner":"You can not add the same account address as a signer more than once.","errorDuplicatingInputMessage":"Duplicated account address","errorNotEnoughBalanceToCreateVault":"Not enough balance in this account. Creating multisig vault requires at least {0}."},"creatingMultisigAccount":{"title":"Creating vault progress","btnText":"Go to wallet dashboard","vaultAccessibleMessage":"Multisig vault has been successfully added to you wallet dashboard.","vaultCreatedMessage":"You may proceed to wallet dashboard.","vaultCreatedMessageSub":"Your newly created multisig vault will become visible to other authorized signers in a short period of time (usually it takes about a minute or two).","preparingMultisigVault":"Preparing multisig vault","deployingSmartContract":"Deploying smart contract","creatingMultisigVault":"Creating multisig vault account","addingToWallet":"Adding multisig vault to the wallet","addingToWalletCard":"Adding to wallet...","syncingVault":"Syncing multisig vault","takingLong":"This step may take a few moments.","syncing":"Syncing..."},"consensusInfo":{"title":"Multisig consensus","subtitle":" X/Y of Z","firstPoint":"{\'<\'}strong{\'>\'}X ={\'<\'}/strong{\'>\'} accounts that have already signed the transaction;","secondPoint":"{\'<\'}strong{\'>\'}Y ={\'<\'}/strong{\'>\'} number of signatures required to approve the transaction;","thirdPoint":"{\'<\'}strong{\'>\'}Z ={\'<\'}/strong{\'>\'} number of authorized signers.","description":"If {\'<\'}strong{\'>\'}X=Y{\'<\'}/strong{\'>\'} the multisig consensus has been reached. The transaction proposal has been approved and the transaction can be sent by any of the authorized signers."},"removeAccount":{"title":"Are you sure you want to remove this account?","msg":"This action will remove your account from the wallet and will delete the extension storage. Make sure you have backed up your seed phrase before proceeding. This action cannot be undone!"},"verify":{"title":"Verify your URL","msg":"Make sure that the public address of your Superhero wallet, or your .chain name, is added somewhere on the website you want to claim tips for."},"recipient":{"title":"Send cryptocurrency","ae-sub-header":"to public address or .chain name","sub-header":"to public {protocolName} address","msg":{"publicAddress":{"title":"Send to public address","msg":"{0} scan QR code or manually enter recipient’s account address."},"chain":{"title":"Send to .chain name","linkTitle":"claim your own .chain name","msg":"{0} AENS name is a human friendly nickname ending with .chain that points to recipient’s æccount. Before sending any funds make sure the recipient is still the name owner. You can also {1} and set a pointer to one of your public addresses!"}}},"readMore":{"msg":"{0} about tipping and claiming cryptocurrency tips.","linkTitle":"Read more"},"verified":{"title":"Verified URL","msg":"The Superhero wallet identifies this URL as verified. This means that æternity blockchain account address has been found on the webpage and tips can be successfully claimed by its owner."},"not-verified":{"title":"Not verified URL","msg":"This means that we could not find æternity blockchain account address at this URL. The URL owner will be able to claim all tips accumulated as soon as they add their account address to the web page content."},"blacklisted":{"title":"Inaccessible URL","msg":"The Superhero wallet can tip any public URL. Currently, web pages that require logging in to view information cannot be tipped. We\'re still working on solutions for this."},"not-secure":{"title":"Not secure URL","msg":"Superhero Wallet is marking HTTP sites as \\"Not secure\\" - please, use URLs with HTTPS, only. The S in HTTPS stands for \\"secure.\\" The TLS (or SSL) certificate proves that the server is actually the legitimate host of the website. Website using HTTPS are more trustworthy and secure, for both users and website owners."},"error-log":{"title":"Something went wrong","sub-title":"Be a Superhero!","content":"Please provide more information about the error you encountered so we can improve our superpowers. No personal data will be collected.","create-report":"Create report"},"donate-errors":{"title":"Your Error Report Has Been Sent","msg":"Thank you for being such a helpful Superhero!"},"donate-errors-error":{"title":"Your Error Report Was not send","msg":"There was problem sending your error report."},"invalid-qr-code":{"msg":"The scanned QR code is invalid."},"confirmTransactionSign":{"recipientId":"Recipient ID","commitmentId":"Commitment ID","nameFee":"Name fee","nameId":"Name ID","pointers":"Pointers","data-sign":"Data to sign","functionName":"Function name","arguments":"Arguments","superheroChat":"Superhero Chat","unableToExecute":"This transaction can not be executed.","confirmSigning":"would like you to confirm a transaction."},"confirm-raw-sign":{"title":"Sign raw transaction","warning":{"title":"Transaction Warning","content":"Transaction data is either broken or Superhero wallet doesn’t support this type of transactions yet. Signing it may cause unexpected results including loss of your funds or other malicious effects.{0}{0}Be careful and sign the data only if you trust the aepp and its owner."}},"qrCodeReader":{"grantPermission":"Grant camera permission","scanQr":"Scan QR code","subtitle":"Allow Superhero wallet to access your camera in order to scan QR codes.","settings":"Settings"},"name-pointers-help":{"title":"Name pointers","msg":"Name pointer associates a .chain name with an account address so that the name becomes human-readable alias of the address."},"auctions-help":{"title":"Auctions and bidding","msg":"If your .chain name is {\'<\'}strong{\'>\'}12 characters or less{\'<\'}/strong{\'>\'} – you’ve got to bid for it in an auction. To win the bidding process, all you have to do is have the highest bid once the auction ends! If somebody outbids you – all of your funds are automatically returned.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'}Auction periods and initial fees vary as the length of the name varies – the shorter the name, the higher the fee and longer the period."},"autoextend-help":{"title":"Autoextend name","msg":"In order to encourage the active usage of .chain names their ownership is limited in time by default.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'} Selecting the auto-extend option guarantees that you will not lose the ownership of a .chain name.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'} Your .chain name will be auto-extended at the cost of a simple name update transaction (under a penny as you are taking advantage of the super-low transaction fees of aeternity blockchain)"},"receive":{"funds":"funds","title":"Receive {name} to public address","requestAmount":"Request specific amount (optional)","copied":"Copied!","share":"Share","shareTextNoAmount":"My {protocolName} address: {address} Or send with Superhero Wallet: {walletLink}","shareTextWithAmount":"{amount} {coinSymbol} has been requested. Send to {protocolName} address: {address} Or send with Superhero Wallet: {walletLink}"},"receiveMultisig":{"title":"Receive funds to multisig vault"},"send":{"sendTitle":"Send funds","sendAsset":"Send {name}","reviewTitle":"Review transaction","successTitle":"Transaction successfully submitted","recipientLabel":"Recipient","recipientPlaceholder":"Enter public address or .chain name","recipientPlaceholderUrl":"Enter public address, .chain name or URL","recipientPlaceholderProtocol":"Enter {name} public address","recipientPlaceholderENS":"or ENS name","transactionSpeed":"Transaction speed","transactionWillBeCompleted":"Transaction will be completed in ≈{time}.","payload":"Payload"},"multisigTxProposal":{"title":"Multisig transaction proposal","multisigVault":"Multisig vault","amount":"Propose amount","amountProposed":"Proposed amount","signingAddress":"Signing address","signingAccount":"Signing account","fee":"Proposal transaction fee","proposeAndApprove":"Propose and approve","tokenWarning":"Multisig transactions currently support AE coin only."},"wrongNetwork":{"title":"Network discrepancy","msg":"This action was initiated on a different network. Please switch to {0} in your wallet settings to proceed.","button":"Dismiss"},"accountDetails":{"assets":"Assets","assetsNotAvailable":"Assets list is not available offline.","transactions":"Transactions","transactionsNotAvailable":"Transactions history is not available offline.","names":"Names","namesNotAvailable":"Names list is not available offline.","details":"Details"},"claimGiftCard":{"title":"Redeem gift card","selectAccount":"Select account","balance":"Remaining card balance","amount":"Amount to redeem","redeem":"Redeem","redeemPartially":"Redeem partially","redeemFull":"Redeem full amount","redeemedBy":"{0} redeemed by","alreadyRedeemed":"This gift card has already been redeemed."}},"filters":{"out":"Out","in":"In","dex":"DEX","date":"Date","tips":"Tips","bid":"Bid","soonest":"Ending soon","length":"Name length"},"transaction":{"fee":"Transaction fee","advancedDetails":"Advanced transaction details","type":{"spendTx":"Spend","contractCreateTx":"Contract create","contractCallTx":"Contract call","namePreclaimTx":"Preclaim name","nameClaimTx":"Claim name","nameUpdateTx":"Update name","nameTransferTx":"Transfer name","nameRevokeTx":"Revoke name","oracleRegisterTx":"Register oracle","oracleExtendTx":"Extend oracle","oraclePostQueryTx":"Post query oracle","oracleRespondTx":"Respond oracle","channelCloseSoloTx":"Solo close channel","channelSlashTx":"Slash channel","channelSettleTx":"Settle channel","channelSnapshotSoloTx":"Solo snapshot channel","payingForTx":"Pay For Tx","gaMetaTx":"GA Meta Tx","gaAttachTx":"GA Attach Tx","multisigProposal":"Multisig Proposal","sentTx":"Sending","receivedTx":"Receiving","multisigVaultCreated":"Multisig vault created","createMultisigVault":"Create Multisig Vault"},"listType":{"sentTx":"Sent","receivedTx":"Received","namePreclaimTx":"Name preclaimed","nameClaimTx":"Name claimed","nameUpdateTx":"Name updated","nameTransferTx":"Name transferred","nameRevokeTx":"Revoke name","tipSent":"Tip sent","tipReceived":"Tip received"},"dexType":{"provideLiquidity":"Liquidity provided","removeLiquidity":"Liquidity removed","allowToken":"Allow token","changeAllowance":"Allow token","transferAllowance":"Allow token","deposit":"Deposit","withdraw":"Withdraw","pool":"Pool"},"spendType":{"out":"out","in":"in"},"function":{"propose":"Propose Tx","revoke":"Revoke Tx","refuse":"Disapprove Tx","confirm":"Approve Tx","tip_token":"tip_token","retip_token":"retip_token"},"overview":{"aens":"AENS","contractCreate":"Contract create","accountAddress":"Account address","superheroDex":"Superhero DEX"},"returnType":{"abort":"Failed","revert":"Reverted"}},"pages":{"titles":{"settings":"Wallet settings","language":"Language","about":"About","sendTip":"Send tip","terms":"Terms of Use","privacy":"Privacy Policy","currency":"Currency","notifications":"Notifications","auction":"Bidding","more":"More","networks":"Network","permissionsSettings":"Permissions","permissionsEdit":"Edit permissions","permissionsAdd":"Add permissions","commentNew":"Add comment","donateError":"Donate Data","address":"Send Address","signMessage":"Sign Message","signTransaction":"Sign Transaction","giftCards":"Gift cards","txDetails":"Transaction details","tokenDetails":"Token details","coinDetails":"Coin details","saveErrorsLog":"Save error log","resetWallet":"Reset wallet","seedPhrase":"Seed phrase","networkAdd":"Add custom network","networkEdit":"Edit network","notFound":"Feature not found","multisigProposalDetails":"Multisig Tx proposal details","appsBrowser":"Browse the æcosystem"},"errors-log-settings":{"description":"This will help us to identify what causes the errors. Thank you for being a fellow Superhero!"},"about":{"systemName":"Superhero","terms":"Terms","privacyPolicy":"Privacy","reportBug":"Report a bug","name":"Name","commit":"Commit","software-version":"Software version","sdk-version":"SDK version","middleware-version":"Middleware version","node-version":"Node version"},"account":{"heading":"account","accountName":"Account name","claim":"Claim Tip","latestTransactions":"Latest transactions","noTransactionsFound":"No transactions found!","balance":"Balance","secureYourAccount":"Secure your account","backupNow":"Back up now","seedNotification":"Welcome to Superhero wallet! Please backup your seed phrase!","backup":"backup","updateExtension":"New version available! Please update your extension.","updateAvailable":"Update available","updateAvailableText":"There is a new wallet version available for download in the store","claim-name":"Claim your .chain name"},"accounts":{"addAccount":"Add account","searchAccountsPlaceholder":"Search for account","addAccountDescription":"Add an account to your wallet to manage funds separately."},"vaults":{"addVault":"Add vault","addVaultDescription":"Add a multisig vault to your wallet to manage funds with multiple accounts."},"claim":{"claim":"Claim tips","noZeroClaim":"There are no tips to be claimed for this URL.","noAddress":"Address not found","errorClaim":"Error.","ae":"AE tokens","claimed":" Claim request sent! ","url":"URL","tipsOnUrl":"Tips on this URL","urlNotExisting":"No tips for this URL at the moment.","moreOracles":"There aren\'t enough active Oracles to verify your claim request. Please try again later.","oracleFailed":"Oracle service check claim failed. Please try again later.","unknownError":"Error occurred during claim request. Please try again later.","noMobileClaim":"Claiming is currently only available on desktop."},"claimTips":{"title":"Claim tips","header":"You need to verify ownership of the URL before you can claim any tips.","urlToClaim":"Claim tips from this URL:"},"notFound":{"header":"Lost in space?","description":"The feature could not be found in this Universe. Keep calm and safely fly back home.","backToHome":"Return home","reportBug":"Report a bug"},"recentTransactions":{"title":"Recent transactions","viewMore":"View full transaction history","noTransactionsFound":"There are no recent transactions for this account.","searchPlaceholder":"Search transactions by asset name","unknownMode":"Unknown display mode type:","transactionListEnd":"There are no older transactions for this account."},"advancedSettings":{"heading":"Advanced","exportKeypair":"Export keypair","exportKeystore":"Export keystore"},"airGapSetup":{"heading":"AirGap Setup","step1heading":"Install AirGap on your phone","step1info":"Search for AirGap.it in the store or scan this QR code","setupSteps1heading":"Open AirGap on the 2nd device","setupSteps2heading":"Create secret key","setupSteps3heading":"Write it down in the right order","setupSteps4heading":"Add an aeternity wallet","setupSteps5heading":"Link your aeternity wallet","setupSteps1":"For security, turn off your internet connection before opening AirGap","setupSteps2":"No internet connection means maximum security for the key","setupSteps3":"You will need it for recovery","setupSteps4":"Tap wallet, add wallet, and choose aeternity","setupSteps5":"Finish by linking your vault to your aeternity address","linkVault":"Link Vault"},"auctionBid":{"backToAuctions":"Back to auctions","bidding":"Bidding","bidOn":"Bid on","current-highest-bid":"Current highest bid","remaining-time":"Remaining Time","ending-height":"Ending height"},"accountListConfirm":{"websiteRequestConnect":"would like to connect to your Superhero wallet.","addressesRequest":"This aepp is requesting access to view all of your account addresses.","message":"Make sure you trust the aepp provider before accepting the request."},"connectConfirm":{"title":"Allow access","websiteRequestConnect":"would like to connect to your account.","websiteRequest":"This website is requesting access to view your current account address. Always make sure you trust the website you interact with. ","cancelButton":"Deny","confirmButton":"Accept","transactionLabel":"Transaction","addressRequest":"This aepp is requesting access to view your current account address.","transactionRequest":"This aepp may prepare a transaction, you are in charge of confirming it.","websiteRequestAccounts":"would like to get account addresses","addressesLabel":"Addresses","addressesRequest":"This aepp is requesting access to view your account addresses","connecting":"Connecting"},"fungible-tokens":{"tokens":"Tokens | Token | Tokens","searchPlaceholder":"Search by token name or contract address","searchAssetsPlaceholder":"Search for assets","buyAe":"Buy AE","select-asset":"Select asset"},"token-details":{"details":"Token Details","proposeTx":"Propose Tx","tip":"Tip","token-details":"Token details","coin-details":"Coin details","token":"Token","name":"Name","coin":"Coin","token-description":"Token Description","community":"Community","decimals":"Decimals","available-supply":"Available supply","total-supply":"Total supply","max-supply":"Max supply","supply":"Supply","priceAe":"Price (AE)","price":"Price","volume":"Total Volume","volumeDaily":"Volume (24h)","feeDaily":"Fee (24h)","market-cap":"Market Cap","atl-change":"All time low","ath-change":"All time high","more":"More","poolShare":"Pool share","holders":"Holders","transactions":"Transactions","pooled":"Pooled"},"more":{"get-ae":"Get AE","dex":"Superhero DEX"},"names":{"default":"Default","balance-error":"Your account balance is not enough to execute this transaction.","pointer-added":"Name {type} successful!","auto-extend":"Auto-extend","tabs":{"my-names":"My names","auctions":"Auctions","register":"Register name"},"list":{"default":"Default","default-make":"Make default","valid-identifier-error":"Enter valid ae blockchain identifier","no-names":"There are no .chain names owned by this account. Would you like to register one?","register-name":"Register .chain name","name-hash":"Name code","pointers":"Pointers"},"details":{"created-height":"Created at height","expires-height":"Expires at height","set-pointer":"Set pointer","address-placeholder":"Enter ak_, ct_, ok_, ch_"},"claim":{"auto-extend":"Auto extend name","register-name":"Register .chain name","name-placeholder":"Enter .chain name","button":"Register name","button-price":"Register name for {0} AE","short-names":{"message":"Ownership of .chain names {0} will be acquired at an auction by the account that places the highest bid.","insertion":"shorter than 13 characters"}},"auctions":{"button":"Auctions","soonest":"Soonest","length":"Name length","bid":"Bid","expires":"Ends","no-auctions":"There are no .chain names for auction at the moment. Would you like to register one?","not-found":"Not found","current-bid":"Current bid","previous-bids":"Previous bids","bidding":"Go for bidding","bid-on":"Bid on","current-highest-bid":"Current highest bid","remaining-time":"Remaining Time","add-amount":"Enter amount","min-bid":"Bid must be more than {minBid} AE","bid-added":"Bid added successfully","place-bid":"Place bid","bid-history":"Bid history","bids-on":"Bids on"}},"languageSettings":{"chooseLanguage":"Choose Superhero wallet UI language."},"currencySettings":{"heading":"Currency","chooseLanguage":"Choose Superhero wallet fiat currency conversion. Conversion to XAU (gold) is also an available option."},"index":{"term1":"I agree to the Superhero ","term2":"Terms of Use","term3":"Privacy Policy","termsAndConditions":"Terms of Use","heading":{"message":"More than just a way to {0}, {1} & {2} on the {3}","receive":"receive","store":"store","send":"send tokens","aeternityBlockchain":"æternity blockchain"},"ready":"Ready to go?","go":"Go!","platforms":{"heading":"Download for your device","browser-extension":"Browser extension","mobile-app":"Mobile app"},"webVersion":"or continue with web version","securingAccount":"Securing your account","generateWallet":"Create new wallet","getStartedWithWallet":"Get started with Superhero Wallet","importWallet":"Restore existing wallet","enterSeed":"Enter seed phrase","passwordError":"Password must be at lest 4 symbols.","loginButton":"Login","seedPhrase":"Seed phrase","enterSeedPhrase":"Please enter the 12 words or more of your seed phrase (separated by spaces) in the correct order to restore your Superhero wallet.","continueButton":"Continue","continue":"Continue","importAccount":"Restore wallet","accountNotFound":"Account not found. Please check again your seed phrase.","invalidSeed":"Your seed phrase should consist of 12 words or more separated by spaces.","seedPlaceHolder":"Enter or paste your seed phrase here","scanSeedPhrase":"Scan Seed Phrase","restoringAccounts":"Restoring accounts..."},"ledgerSetup":{"ledgerConnectSetup":"How to connect from Ledger","ledgerAccount":"Add Ledger Account","ledgerSteps":"Steps","ledgerUsb":"Connect your Ledger via USB and unlock it","ledgerLedger":"Open the aeternity app on your Ledger","ledgerAccountCreate":"Create a first account by pressing the button bellow"},"notifications":{"wallet":"Wallet","superhero":"Superhero.com","commentOnComment":"replied to your comment.","commentOnTip":"commented on your tip.","tipOnComment":"tipped on your comment","retipOnTip":"retipped your tip.","claimOfTip":"claimed your tip.","claimOfRetip":"claimed your retip.","viewOnSuperhero":"View on Superhero.com","goToStore":"Go to store","noNotifications":"You do not have any unread notifications."},"notificationSettings":{"description":"Wallet notifications are always on by default and you are not able of turning them off.","description2":"You can choose below which notifications to receive from social platform Superhero.com.","commentOnTip":"Someone commented on your tip or post.","commentOnComment":"Someone replied to your comment.","retipOnTip":"Someone retipped to your tip.","wallet":"Wallet notifications (always on).","tipOnComment":"Someone tipped to your comment.","claimOfTip":"Someone claimed your tip.","claimOfRetip":"Someone claimed your retip."},"privacyPolicy":{"heading":"Privacy Policy","content":"Your privacy is important to us. It is Superhero\'s policy to respect your privacy regarding any information we may collect from you across our website and other sites we own and operate. We don\'t ask for personal information to provide a service to you. We don\'t collect and retain any information for providing your requested service. We don’t share any personally identifying information publicly or with third-parties. Our website and browser extension may link to external sites that are not operated by us. Please be aware that we have no control over the content and practices of these sites, and cannot accept responsibility or liability for their respective privacy policies. Your continued use of our website will be regarded as acceptance of our practices around privacy and personal information. If you have any questions about how we handle user data and personal information, feel free to contact us. This policy is effective as of 31 January 2020."},"seed-phrase-settings":{"verifyYourSeedPhrase":"Verify your seed phrase!","backToSettings":"Back to settings","heading":"Security and Privacy","privacyDataHeading":"Privacy Data","privacyDataSmall":"Clear privacy data so all websites must request access to view account information again.","privacyDataClearBtn":"Clear Privacy Data","privateKeyHeading":"Reveal Private Key","privateKeySmall":"You can view your private key after you enter your password","privateKeyRevealBtn":"Reveal Private Key","privateKeyWarning":"Do not share your private key with anyone, it can be used to steal all your accounts","privateKey":"Your private key","showPrivateKey":"Show Private Key","incorrectPassword":"Incorrect Password","decryptingPrivateKey":"Decrypting private key","seedRecoveryHeading":"Show seed phrase","seedRecoverySmall":"Your seed phrase is a combination of 12 words and serves as password to access and restore your wallet accounts.","seedRecoverySmall-2":"Never disclose this to anyone.","seedRecoverySmall-3":"Make sure you {0} on a piece of paper or in a file that no one else can see - but that you will never lose.","seedRecoverySmall-4":"Losing your seed phrase means losing access to your wallet and all funds in your accounts.","seedRecoverySmallBackItUp":"back it up in the correct word sequence","seedRecoveryBtn":"Show seed phrase","seedPhrase":"Your seed phrase","copy":"Copy to clipboard","this-your-seed-phrase":"This is your seed phrase. Keep it safe!","confirm-that-you-save-your-seed-phrase":"Confirm that you got your seed phrase correctly.","compose-your-seed-phrase":"Tap the words below {0} to compose your seed phrase.","in-correct-order":"in the correct order","seed-phrase-correct":"Seed phrase has been verified!","seed-phrase-incorrect":"Seed phrase words are not in the correct order. Please enter your seed phrase again!"},"seedPhrase":{"securingAccount":"Securing your account","attentionMsg":"Please make sure to keep your seed phrase safe! Superhero does not store and cannot recover your seed phrase for you. It is your responsibility to keep it safe. If you lose access to your seed phrase, you will lose access to your wallet and all your funds.","tips":"Tips on protecting your funds","tip1":"Save a backup in multiple places","tip2":"Remember your password to decrypt your wallet","tip3":"Never share your seed phrase with anyone","confirmSeedPhrase":"Confirm your seed phrase. Tap the words below to compose your seed phrase in the correct order.","recoveryPhrase":"Your recovery seed phrase","first":"first","second":"second","third":"third","dontLose":"Do not lose this seed phrase!","nextScreen":"To make sure you got it right, you will be asked to recreate this seed phrase in the next screen.","verifySeed":"Verify your seed phrase","doneThis":"I have verified seed phrase before","verify":"Verify seed phrase","seedConfirmed":"Seed phrase confirmed.","toDashboard":"Back to Dashboard","backUpYourSeedPhrase":"Back up your seed phrase {0} on a piece of paper or file that no one but you will ever see. Make multiple copies. Make sure you keep your seed phrase in a safe place!","inCorrectOrder":"in the correct order of 12 words","toBeSureYouGotItRight":"To be sure you got it right, you should {0} clicking on the button below!","verifyYourSeedPhrase":"verify your seed phrase"},"send":{"title":"Transaction has been submitted","subtitle":"You may check the status of your transaction in æternity blockchain explorer","success":"Success","viewInExplorer":"View in explorer","scan":"Scan QR code","review":"Review and send","reviewtx":"Review transaction","checkalert":"Please check the information carefully.","sender":"Sending address","recipient":"Receiving address","successAlert":"has been successfully sent to","receivingUrl":"Receiving URL","sending":"Sending","sendingTo":"sending to","sentTo":"have been successfully sent to","sendingCryptoToUrl":"Sending tip to URL","tipInfo":"Your transaction will be publicly displayed as URL tip on {0}","to":"To","hash":"Transaction Hash","messageUrlOwner":"Message the URL owner (optional)","scanAddress":"Scan the recipient’s account address QR code in order to send {assetName} to them.","error":"Invalid AE address or AENS name","confirm-sending-to-same-account":"Are you sure you want to send tokens to your own address?"},"signTransaction":{"unknownAccount":"Unknown","name":"Name","nameSalt":"Name Salt","nameId":"Name Id","reject":"Reject","contractCall":"Contract call","contractCalling":"Calling contract method. Please do not close the window","insufficientBalance":"Insufficient Balance","incorrectAddress":"Incorrect address","compiledCode":"Compiled Code","callData":"Call Data","payload":"Payload","newContract":"New Contract","aens":"AENS","balanceError":"Your account balance is not enough to execute this transaction.","maxSpent":"Maximum spent","minReceived":"Minimum received","from":"From","to":"To","approveUseOfToken":"Approve use of token","approveUseOfTokens":"Approve use of tokens","maximumDeposited":"Maximum deposited","poolTokenSpent":"Pool token spent","minimumWithdrawn":"Minimum withdrawn"},"termsOfService":{"terms-of-use":"Terms of use","terms-with-quotes":"(„TERMS“)","terms":"terms","sub-heading":"The present @:termsOfService.terms-of-use were created on 3 April 2020.","section0Content":"@:termsOfService.superhero-com reserves its right to modify and update these @:termsOfService.terms-of-use according to the policy and practice of the @:termsOfService.company. The new version of thе @:termsOfService.terms-of-use becomes effective from the day it is announced on @:termsOfService.our-superhero-wallet unless stated otherwise.","superhero-com":"Superhero.com LVC","company":"company","our-superhero-wallet":"Our Superhero Wallet","section01Content":"THE SOFTWARE IS PROVIDED BY SUPERHERO.COM LVC “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","section02Content":"These @:termsOfService.terms-of-use @:termsOfService.terms-with-quotes apply exclusively for the @:termsOfService.superHero-wallet (hereinafter referred to as the “@:termsOfService.wallet“ or the “@:termsOfService.application”) and all the content available on the @:termsOfService.website-extension. Please make sure that you have carefully read the @:termsOfService.terms before using the @:termsOfService.application. Otherwise, by using it, we consider these actions implicit agreement to the @:termsOfService.terms-of-use. These @:termsOfService.terms-of-use represent a binding agreement between you, the legal entity you represent and the legal entity that registered you (collectively „@:termsOfService.you“) and Superhero.com LVC @:termsOfService.superhero-we-us-with-quotes or @:termsOfService.our-with-quotes in connection to your use of the @:termsOfService.superHero-wallet @:termsOfService.website-extension.","superHero-wallet":"Superhero Wallet","wallet":"Wallet","application":"application","website-extension":"website extension","you":"you","superhero-we-us-with-quotes":"(“Superhero”, “we”, “us”","our-with-quotes":"“our”)","section1Title":"1. Definitions","section1Content":"1.1. Superhero.com Establishment (Superhero.com ”, “we”, “us”, “our” or “the company”) ​is a company with email address for communication related to Superhero Wallet: superherowallet{\'@\'}protonmail.com. Superhero.com ​is the company, which created and developed Superhero Wallet​. \\n 1.2. ​„USER“ or ​„YOU“ means a natural or legal person, who has downloaded and uses the Superhero Wallet ​website extension. \\n 1.3. „​Blockchain​“ means the list of records, also known as ​blocks,​ which are linked with the method of cryptography. The technology allows large groups of people to connect and reach agreement on data, which is afterwards permanently recorded without the presence of central authority. ​USERS can access, create and save information on the aeternity blockchain. The decentralized, distributed and public digital ledger is used for the purpose of recording transactions in blocks of information with the help of ​Validators​, which cannot be altered retroactively. \\n 1.4. Superhero Wallet​” (“​WALLET​” or “​the application​”) is a website extension, which allows supporters to send value to content creators, causes, charities, groups, or regular individuals online as a reward for contributing accurate information, relevant insights, quality content. The website extension is a piece of software which acts as an add-on to the web browser Firefox and contributes to the browser’s additional functionality. The application is available at: https://addons.mozilla.org/en-US/firefox/addon/superhero-wallet-extension/ . The results of the donations and comments are published on the website ​https://superhero.com/​ . \\n 1.5. “​Validators​” are independent physical persons or entities, which are not in any way part of Superhero.com . ​Their function in the system includes responsibility for ​blocks constitution and broadcast of these ​blocks​ with the​ aeternity ​network. \\n 1.6. “​Account address​” is a hashed version of the ​USER’s ​public key​, used to identify USERS​ on ​the application​. \\n 1.7. “​Keys​” represent uniquely related private and public cryptographic keys of random numbers used for encryption and decryption of information.","section2Title":"2. GENERAL PROVISIONS","section2Content":"Superhero.com ​designed and built ​the application as a cryptocurrency wallet through which ​USERS can store and send Superhero.com tokens for the purpose of conducting donations to creators, causes, charities, groups, or regular individuals online as a reward for contributing accurate information, relevant insights, quality content​. USERS can donate to different websites through the application. The application automatically searches for the public key of the website for the purpose of the donation. The donations can be oriented in two flows as it follows- ​USERS can tip the owner of the whole website or ​USERS can choose specific creators and authors on the website who have written the news to whom to send the tokens. \\n After that, the website ​https://superhero.com/ reflects the ​USERS’ donations and comments and gives the possibility for other ​USERS to actively donate and comment on the news available on the newsfeed of the Website. \\n USERS ​can browse through their transaction history. ​The Wallet displays the ​USER’s tokens​. ​USERS​ are in charge of the safe storage, sending and receiving of funds. \\n The application is built for small transactions. High volume transactions or storage can be undertaken via the application at the ​USER’s​ own risk.","section3Title":"3. USERS IDENTIFICATION","section3Content":"The application uses ​Account address​ for identification of ​USERS​. \\n For ​USERS to send Superhero.com tokens, they should share only their account address. Any other information is not shared or collected by the application. Once a ​USER has downloaded the application, the ​Wallet ​automatically generates the account address. ​For more information about the processing of the account address, please read the Privacy Policy of the application.","section4Title":"​4. USERS OBLIGATIONS","section4Content":"As a ​USER​, ​You​ agree to the following rules applicable for Superhero.com ​: \\n ● You ​shall comply with the rules set within the present ​TERMS and perform any actions on the application in good faith and according to the applicable legislation; \\n ● You are an adult and ​YOU are not persons under judicial disability (​You have obtained full legal capacity); \\n ● You shall not try to obtain or gain access over any personal or identifiable information, including but not limited to recover passphrases, from other ​USERS​, nor shall ​You​ disclose such information about yourself; \\n ● You shall not in any way compromise or exploit the application or use the application for any illegal activity or outside the purpose for its creation; \\n ● Your actions do not in any manner mislead into thinking that ​You are another person or company; ​You shall not purposefully provide information by using another person’s recover phrases, account addresses, etc. with the purpose of representing as somebody else. Superhero.com ​shall undertake any possible action against such identity thefts and frauds in case ​the company​ suspects a ​USER​; \\n ● the device ​You use does not contain or install any viruses, worms, malware, Trojan horses or other harmful or destructive content; \\n USERS​ shall be liable for any action undertaken in violation of the present article.","section5Title":"5. WARRANTY and LIABILITY DISCLAIMERS","section5Content":"\\n General Disclaimer: The Superhero.com ​network is open-source, public and permissionless blockchain, meaning that anyone can download, participate, develop, improve and validate transactions on the blockchain. Superhero.com ​cannot and does not control in any way the transactions conducted by USERS​. Superhero.com ​does not ensure the trustworthiness and validity of the same. Please, bear in mind that every ​USER is solely responsible for the actions undertaken on the application and the information presented by them. \\n Password and Security Disclaimer: ​USERS take responsibility for their digital security. The application ​gives the possibility to set up a recovery passphrase, consisting of random unique combination of words. The purpose of the recovery passphrase is to restore the access to the account, once the ​USER has lost access to the original ​Wallet​. Superhero.com does not collect the private keys or the recovery passphrases and shall not be treated under any circumstances as a custodian wallet provider. ​WE HIGHLY RECOMMEND ALL USERS TO SET UP A RECOVERY PASSPHRASE AND PROTECT IT. ​Therefore​, USERS should store their recovery passphrase offline safely. Please bear in mind that if a USER has not set up a recovery passphrase for backup or they have forgotten the recovery passphrase and its exact wording, the access to their accounts can be permanently restricted. The lack of access does not mean in any way that the Superhero.com tokens ​are lost. The ​tokens ​remain available, however, they cannot be controlled, transferred and any other action with them cannot be undertaken. Superhero.com ​shall not be held liable in any case of lost, forgotten or misspelled recovery passphrases. In addition, ​USERS ​must not share their recovery passphrase with anyone. Superhero.com ​should not be liable for any claim, damages or other liability, tort or otherwise, arising from, out of or in connection with the impossibility of ​USERS to regain access to their account​ on the ​Wallet​. \\n Please bear in mind that the option “Already have an account? Retrieve existing account” is applicable only in case the ​USER​ has a recovery passphrase. \\n Decentralization and Control Transparency Disclaimer: ​Blockchain technology is decentralized by nature- which means that the makers of ​the Wallet cannot access or freeze your account; recover or reset your recovery passphrase; reverse, cancel or refund transactions. Only ​USERS are in charge of the safe storage and sending of their funds. By agreeing to the present ​TERMS​, ​USERS accept and guarantee to defend, indemnify and hold Superhero.com ​harmless from and against any and all claims, costs, expenses, including but not limited to attorneys’ fees, damages, etc., related to or arising from the use of ​the application​. \\n Access and Connectivity Disclaimer: ​The Wallet ​can be downloaded from https://addons.mozilla.org/en-US/firefox/addon/superhero-wallet-extension/​. Please bear in mind that the website can delist or remove ​the application in their own estimation, making it difficult to receive updates. Devices on which the ​Wallet is installed are likely to be harmed by malware/spyware/viruses/cyber-attacks, etc. or during technical support. Damage or loss of the device can possibly result in loss of funds or endanger them. Therefore, please refer to section Password and Security Disclaimer in regard to recovery passphrases. Superhero.com ​is not responsible for any of the above-mentioned access and connectivity troubleshooting. Therefore, ​WE shall not be held liable for any loss of data on ​the application ​caused in these cases. \\n Cryptocurrency Guidance Disclaimer: The content presented on the application is not intended to be used as guide for cryptocurrency investments or signing of other legal agreements in connection to cryptocurrencies. Superhero.com ​does not offer business advices, which can be used as a legal basis for any investments or agreements in the sphere. Superhero.com ​shall not be held liable in any case of negative consequences from transactions or non-compliance with obligations of legal agreements signed by ​YOU​, including but not only losses, tort, revenue, income or profits loss arising out of the contracts/ transactions/investment acts/agreements. \\n Jurisdiction and Regulatory Disclaimer: ​The access to ​the application is granted worldwide. The use of the application may be technically restricted or prohibited in certain territories and countries depending on the different legal acts. Please, bear in mind that you have to inform yourself about such legal restrictions and you are liable solely in case of a breach of any legal norms. The access to our website is prohibited provided the access point is in a territory where the content is illegal. Superhero.com ​does not have the obligation to control the legislation applicability according to each access point of ​USERS and shall not be held liable in these circumstances. \\n USERS understand and accept that the legislation on a national, regional and international levels can introduce new regulations with an object- blockchain technology, tokens, blockchain technology based applications, etc. Therefore, in case of regulatory restrictions, bans and prohibitions, the Superhero.com ​Network development shall be immensely influenced, probably causing its termination. Taking into account the above-mentioned, ​USERS understand that there is no assurance that they will constantly or for indefinite period of time receive any functionality through ​the application ​or the​ Superhero.com tokens​ held by them. \\n Risks​: USERS understand and agree with the risks related to Superhero.com ​Contribution and/or with the allocation, use and ownership of Superhero.com tokens ​and guarantee to relieve of responsibility Superhero.com in these cases. The risks mentioned within the present ​TERMS​ are not comprehensive: \\n ● Risk of software weaknesses​: ​USERS understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the blockchain technology, incorporating all elements and ​the application are in a constant development process. There is no warranty that the receipt and transfer of Superhero.com tokens ​shall be uninterrupted or error-free at all times. ​USERS accept and guarantee to dispense of responsibility Superhero.com ​for any software or technology weaknesses, malfunctions, vulnerabilities or bugs, which can cause complete or partial loss of Superhero.com tokens. \\n ● Risk of theft: ​USERS understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the application, the Superhero.com ​Network and the other blockchain technology related elements may be exposed to hacker attacks or other harmful individuals. These actions could result including but not limited to theft or loss of Superhero.com tokens. \\n ● Risk of mining attacks: ​USERS understand and accept that due to Superhero.com ​blockchain based system, it may be susceptible to mining attacks, including but not limited to double-spend attacks, majority mining power attacks, \'selfish-mining\' attacks, and race condition attacks. Any of the above-mentioned attacks could for example result in disturbance of the transactions on ​the application​. \\n ● Risk of phishing attacks and ​forks​: ​USERS understand and accept that the application can be an object of phishing attacks. Highly possible results are the steal of data and credentials. The phishing attacks represent masquerade of an attacker as an authentic and trusted entity and the creation of an application/ website with high percentage of resemblance with the original one. ​USERS should be careful when they download and use ​the ​application​. ​USERS can identity the authentic Wallet ​by verifying that the developer on the marketplace is Superhero.com / Superhero.com LVC. \\n Due to the fact Superhero.com blockchain is public and permissionless, any person has the possibility to create a “​fork​”. Any developer can copy and develop the source code resulting in the formation of a distinct and separate software. ​USERS understand and accept that Superhero.com ​cannot avoid the creation of such ​forks and is not responsible for them. Superhero.com ​shall not be held liable for any losses and/or damages resulted from the use of ​forks​.","section6Title":"6. TAXES AND FEES","section6Content":"The Wallet does not collect any fees or taxes for the use of ​the application- ​it is free of charge. However, taxes and fees are payable for the transactions on the Superhero.com blockchain including but not limited to miner fees, gas tax, transaction fee. The amounts of the taxes and fees are fixed unilaterally. \\n In addition, depending on the territory access point, the transfer and receipt of funds through the application may be an object of tax and fee payments to public authorities in different countries depending on the legal regulations. ​USERS are obliged to inform themselves about such requirements and are solely responsible for their donations.","section7Title":"7. THIRD-PARTY PLATFORMS","section7Content":"In order to donate, ​USERS should copy and paste in the Section “Send a tip to” the URL of a website to which they would like to donate. Please bear in mind that the applications is created in order for people to stimulate the full, transparent, useful and accurate information worldwide. Therefore, ​USERS shall be fully liable for any use of the ​Wallet in violation of the purpose of the ​Wallet and the present Terms. Superhero.com ​does not control the websites the donations are sent to. Superhero.com ​is not responsible for the content on the websites in any way.","section8Title":"8. LICENSE","section8Content":"The application is created, developed and operated by Superhero.com ​. Each component on the application including but not limited to logos, trademarks and other intellectual property displayed on the application are considered a property of Superhero.com ​and are protected by the applicable intellectual property legislation. It is prohibited to use any intellectual property of Superhero.com ​before a prior explicit consent from the latter. \\n None of the elements mentioned above can be edited, downloaded, reproduced, used for commercial purposes, distributed and transmitted in any manner and/or any medium whatsoever, partially or in whole, without the explicit prior written consent of Superhero.com. \\n Superhero.com ​reserves its right to take any necessary legal action against intellectual property infringement.","section9Title":"9. INTELLECTUAL PROPERTY RIGHTS","section9Content":"USERS understand and accept ​the application can be periodically modified, updated, maintained or technically supported, which could to some extent influence the use of the Wallet​, the visual representation of ​the application ​or could result in malfunction. In the latter case, if ​You as a ​USER notice any change in the funds, settings, accounts or any other information on the application, please superherowallet{\'@\'}protonmail.com​ for assistance.","section10Title":"10. MODIFICATIONS","section10Content":"The legislation and jurisdiction of Liechtenstein is applied for the issues outstanding the present ​TERMS​. The invalidity of one or more clauses/ provisions in the ​TERMS does not lead to the invalidity of the whole agreement. \\n The Privacy Policy is an inseparable part of the present ​TERMS and should be considered as a complementary document with compulsory character. Unless explicitly stated otherwise in the Privacy Policy, all rules from the ​TERMS​ apply respectively.","section11Title":"11. FINAL PROVISIONS"},"tipPage":{"url":"Send tip to","claimingExplanation":"With Superhero wallet URL owners will be able to claim all tips from the URL as soon as their account address can be found on the page.","maxNoteLengthError":"Please enter a message below 280 characters.","minAmountError":"Tips should be over 0.01 USD in tokens."},"transactionDetails":{"poolFee":"pool fee","heading":"Transactions Details","type":"Type","txHash":"Tx hash","transactions":"Transactions","backToTransactions":"Back to Transactions","explorer":"View transaction in blockchain explorer","txName":"Name","name":"Name","nameSalt":"Name Salt","nameId":"Name Id","advancedMode":"Advanced Mode","blockHeight":"Block height","signatures":"Signatures","nonce":"Nonce","callData":"Call Data","gasUsed":"Gas used","gasPrice":"Gas price","code":"Code","abiV":"Abi version","vmV":"Vm version","payload":"Payload","commitment":"Commitment id","clientTtl":"Client TTL","nameTtl":"Name TTL","pointerId":"Pointer Id","pointerKey":"Pointer Key","moreInfo":"More Info","hash":"Hash","status":"Status","revert":"Reverted","revertInfo":"Transaction has been reverted. All states returned to the state before the transaction.","failed":"Failed","reason":"Reason","tipUrl":"Tipped URL","timestamp":"Timestamp","poolTokenReceived":"Pool token received","poolTokenSpent":"Pool token spent","approveTokenUse":"Approved use of token","deposited":"Deposited","withdrawn":"Withdrawn","rates":"Rates","swapRoute":"Swap route","feePaidBy":"Transaction fee paid by","vaultContractId":"Vault contract Id"},"proposalDetails":{"receivingAddress":"Receiving address","proposedBy":"Proposed by","revoke":"Revoke","revokeTransaction":"Revoke transaction proposal","refuse":"Disapprove","sign":"Approve","expiresAt":"Expires at height","infoBox":{"signatures":"signatures","signature":"signature","expired":"Transaction proposal has been expired!!","pending":"Pending consensus: {0} more {1} is required to approve the transaction proposal.","approved":"Transaction proposal has been approved by the required number of authorized signers. Transaction can be sent by any of the authorized signers.","revoked":"Transaction proposal has been disapproved by {0} out of {1} required authorized signers. ","proposingAccountRevoked":"Transaction proposal has been revoked by the proposing account.","justRevoked":"Transaction proposal has been revoked.","completed":"Transaction has been successfully sent."},"signDialog":{"title":"Approve transaction proposal","formSelectText":"Signing account","btnText":"Approve","msg":"Approve transaction proposal?","cannotDoActionWithSelectedAccount":"Cannot approve the transaction proposal with the selected account!","selectedAccountAlreadyDoneThisAction":"The selected account already signed this transaction proposal!"},"revokeDialog":{"title":"Revoke transaction proposal","formSelectText":"Signing account","btnText":"Revoke proposal","msg":"Are you sure you would like to revoke the transaction proposal?","cannotDoActionWithSelectedAccount":"Cannot revoke transaction with the selected account!","selectedAccountAlreadyDoneThisAction":"The selected account already revoked this transaction!"},"refuseDialog":{"title":"Disapprove transaction proposal","formSelectText":"Signing account","btnText":"Disapprove","msg":"Are you sure you would like to disapprove the transaction?","cannotDoActionWithSelectedAccount":"Cannot disapprove this transaction proposal with the selected account!","selectedAccountAlreadyDoneThisAction":"The selected account already disapproved this transaction proposal!"}},"transactions":{"heading":"Transaction history","filters":"Filters","loadMore":"Load More","allLoaded":"All transactions loaded.","newTransactions":"new transactions","noTransactions":"No transactions found","type":"Type","incoming":"Incoming","outgoing":"Outgoing","spendType":"Spend Type","spendTx":"spend tx","namePreclaim":"name preclaim tx","nameClaim":"name claim tx","nameUpdate":"name update tx","createTx":"create tx","clear":"Clear filter","apply":"Apply filter","sent":"Sent","received":"Received","search":"Search by token"},"popupMessageSign":{"title":"Sign message","heading":"would like to sign message.","message":"Message"},"network":{"connectToNetwork":"Connect to network","connectTo":"Connect to {name}","connectedTo":"Connected to {name}","listLabel":"Choose between æternity’s Mainnet and Testnet or add custom node to connect to. Only add custom networks you trust to avoid malicious providers.","formLabel":"Fill in the custom node details in the fields below. Make sure to add only trusted custom networks.","thirdPartyDetails":"Network details below have been provided by a third party. Make sure you trust the network provider to avoid malicious behavior resulting in lose of funds.","delete":"Delete","middleware":"Middleware","allNetworks":"Your networks","addCustomNetwork":"Add custom network","addNetwork":"Add network","apply":"Apply","networkNamePlaceholder":"Enter network name","networkNameLabel":"Network name","networkUrlPlaceholder":"Enter network URL","networkUrlLabel":"Network URL","networkMiddlewarePlaceholder":"Enter network middleware URL","networkMiddlewareLabel":"Network middleware","backendUrlPlaceholder":"Enter tipping Backend URL","backendUrlLabel":"Tipping backend","chainIdPlaceholder":"0x1","chainIdLabel":"Chain id (hex)","showTippingConfig":"Show Tipping Configuration","hideTippingConfig":"Hide Tipping Configuration","save":"Connect","error":{"networkExists":"Network with this name exist","invalidHostname":"Invalid hostname","enterName":"Enter network name"},"confirmDelete":"Are you sure you want to delete this custom network?","moreNetworks":"More","viewAndManage":"View and manage all networks"},"donate-error":{"error-report":"Error Report:","error-placeholder":"Describe what were your actions before the error occurred (optional).","data-collected":"Data Collected","browser":"Browser version","details":"Technical details:","donate":"Donate Data"},"invite":{"generate-link":"Generate new gift card","generate":"Generate gift card","created-links":"Gift cards","top-up":"Top up","collapse":"Collapse","claim":"Claim Back","insufficient-balance":"Insufficient balance","insufficient-invite-balance":"This invite Link expired and the Tokens are already claimed.","tip-attached":"Gift card amount","top-up-with":"Top up with","delete":"Delete"},"permissions":{"login":"Don\'t ask for login requests","message-sign":"Auto-sign messages","addressList":"Don\'t ask for list of all addresses","daily-spending-limit":"Daily spending limit without asking","transaction-sign":"Limit for spending without asking per day","spent-today":"Spent today","left-today":"Left today","delete":"Remove permission","add":"Add permission","add-description":"Use this feature with caution and only for platforms you trust.","empty":"You aren\'t connected to any aepps","description":"Manage confirmation popups and daily spending limits. For security reasons use this feature with caution only for trusted platforms such as {0} and your localhost environment.","custom-name":"Custom name","enter-custom-name":"Enter custom name of your choice","permissions-for-url":"Permissions for URL","enter-url":"Enter URL","always-ask":"always ask"},"resetWallet":{"title":"Reset wallet","description":"This action will remove all accounts from your wallet and delete the extension storage.","description2":"Make sure you have backed up your {0} before proceeding. This action cannot be undone!","warning":"This action will remove all accounts from your wallet and delete the extension storage.\\n This action cannot be undone!","warningConfirm":"Are you sure you would like to proceed?","reset":"Reset"},"appsBrowser":{"popularApps":"Featured","recentApps":"Latest visited","inputPlaceholder":"Enter URL"},"warningDappBrowser":{"title":"You are going to visit a \\n third-party website","warning":"Superhero Wallet is not liable for failures in this or any other third-party website as stated in the Superhero wallet {0}.","warning2":"By interacting with this or any other third-party website you agree to be subject to its Terms and Privacy Policy.","decline":"Decline"}},"dappActionBrowser":{"refresh":{"title":"Refresh","description":"Reload contents of the page"},"bookmark":{"title":"Add bookmark","description":"Add this page to your favorites"},"share":{"title":"Share","description":"Share this page with your contacts"}},"validation":{"formInvalid":"One or more fields above are not valid. Please review the information you entered.","required":"This field is required","url":"Invalid URL","address":"Enter valid blockchain address or .chain name","name":"Enter valid .chain name","nameRegisteredAddress":"Invalid address or .chain name","nameUnregistered":"This name has already been registered.","addressNotSameAs":"Sender and receiver address are the same. You will send {0} to your own account.","tokenToAnAddress":"Unfortunately you can only send AEX-9 Tokens to an address","addressGeneric":"Invalid {protocol} address","minValue":"This field must be {0} or more","minValueExclusive":"This field must be more than {0}","enoughCoin":"Not enough {0} balance","enoughAeSigner":"Insufficient balance on your signing account to propose a transaction","maxLength":"The value should be no longer than {0} characters","maxValue":"This field must be {0} or less","hexFormat":"The value should be in hex format","maxRedeem":"Maximum redeemable amount is {0} AE.","maxValueVault":"Amount is exceeding the vault\'s balance: {0}","notToken":"Tokens are currently not allowed, please switch to AE","invalidAddressChainUrl":"Invalid address, .chain name or URL","invalidAddress":"Invalid account address","doesNotExceedDecimals":"Amount should not exceed {0} decimals"}}');var i={en:"en",cn:"cn"},s=i.en,u=(0,r.hU)({allowComposition:!0,fallbackLocale:s,locale:s,messages:{en:o}}),c=u.global.t,l=(0,a.A)((0,a.A)({},i.en,{name:"English",getMessages:function(){return o}}),i.cn,{name:"中国人",getMessages:function(){return n.e(625).then(n.t.bind(n,1659,19))}})},29806:(e,t,n)=>{"use strict";n(23792),n(3362),n(69085),n(9391),n(35726);var a=n(55096),r=n(1287),o=(n(51629),n(5506),n(26099),n(23500),n(65563)),i=n(32118),s=n(2327),u=n(41417),c=n(13217),l=n(6624),d=n(217),p=(n(62953),n(52675),n(16280),n(76918),n(18107),n(28706),n(2008),n(74423),n(25276),n(62062),n(94490),n(59089),n(23288),n(94170),n(33110),n(9868),n(67357),n(21699),n(47764),n(11392),n(5582)),v=n(41805),f=n(67892),m=n(24007),g=n(91087),h=n(57889),A=n(43089),k=n.n(A),y=n(52347),b=n(12717),w=n(75265),C=(0,c.A)((function e(){(0,u.A)(this,e)})),x=n(44343),L=n(31189),S=n(12589),T=n(59755),E=n(12533),I=n(41549),_=n(58338),W=n(48287)["Buffer"],F=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},D=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0&&void 0!==arguments[0]?arguments[0]:{},t=e.highPrecision,n=e.amount;return t||n&&n<.01?9:2}},{key:"getUrlTokenKey",value:function(){return T.kf}},{key:"getCoinGeckoCoinId",value:function(){return T.GO}},{key:"getDefaultCoin",value:function(e,t){return Object.assign(Object.assign({},(null===e||void 0===e?void 0:e[o.yv.aeternity])||{}),{protocol:o.yv.aeternity,contractId:this.coinContractId,decimals:this.coinPrecision,name:this.coinName,symbol:this.coinSymbol,convertedBalance:t})}},{key:"getNetworkSettings",value:function(){return this.networkSettings}},{key:"getNetworkTypeDefaultValues",value:function(e){return T._c[e]}},{key:"fetchBalance",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,w.C)(),a=n.getAeSdk,t.next=3,a();case 3:return r=t.sent,t.next=6,r.getBalance(e);case 6:return o=t.sent,t.abrupt("return",(0,_.c4)(o));case 8:case"end":return t.stop()}}),t)})))}},{key:"isAccountAddressValid",value:function(e){return(0,f.pL)(e,v.W.AccountAddress)}},{key:"isValidAddressOrNameEncoding",value:function(e){return(0,f.pL)(e,v.W.ContractAddress)||(0,f.pL)(e,v.W.AccountAddress)||(0,f.pL)(e,v.W.Name)}},{key:"isAccountUsed",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,w.C)(),a=n.getDryAeSdk,t.next=3,a();case 3:return r=t.sent,t.abrupt("return",r.api.getAccountByPubkey(e).then((function(){return!0}),(function(){return!1})));case 5:case"end":return t.stop()}}),t)})))}},{key:"getHdWalletAccountFromMnemonicSeed",value:function(e,t){var n=(0,m.An)(e,t);return Object.assign(Object.assign({},n),{publicKey:W.from(n.publicKey),secretKey:W.from(n.secretKey,"hex"),address:n.publicKey})}},{key:"discoverLastUsedAccountIndex",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,L.yU)(this.isAccountUsed.bind(this),this.getHdWalletAccountFromMnemonicSeed.bind(this),e);case 2:return n=t.sent,t.abrupt("return",n>-1?n:0);case 4:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAvailableTokens",value:function(){return F(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=(0,I.ef)(),n=t.fetchFromMiddleware,e.t0=k(),e.next=4,(0,L.Ey)((function(){return n("/v2/aex9?by=name&limit=100&direction=forward")}),n);case 4:return e.t1=e.sent,a=(0,e.t0)(e.t1),e.abrupt("return",(a||[]).map((function(e){return Object.assign(Object.assign({},e),{protocol:o.yv.aeternity})})));case 7:case"end":return e.stop()}}),e)})))}},{key:"fetchAccountTokenBalances",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,I.ef)(),a=n.fetchFromMiddleware,t.prev=1,t.t0=k(),t.next=5,(0,L.Ey)((function(){return a("/v2/aex9/account-balances/".concat(e,"?limit=100"))}),a);case 5:return t.t1=t.sent,r=(0,t.t0)(t.t1),t.abrupt("return",r.map((function(t){var n=t.amount,a=t.contractId,r=t.decimals;return{address:e,amount:n,contractId:a,convertedBalance:+(0,L.k0)((0,L.Y9)(n,-r)),protocol:o.yv.aeternity}})));case 10:t.prev=10,t.t2=t["catch"](1),(0,L.fY)(t.t2);case 13:return t.abrupt("return",[]);case 14:case"end":return t.stop()}}),t,null,[[1,10]])})))}},{key:"transferToken",value:function(e,t,n,a){return F(this,void 0,void 0,(0,s.A)().mark((function r(){var o,i,u,c;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return o=(0,w.C)(),i=o.getAeSdk,r.next=3,i();case 3:return u=r.sent,r.next=6,u.initializeContract({aci:b,address:n});case 6:return c=r.sent,r.abrupt("return",c.transfer(t,e.toFixed(),a));case 8:case"end":return r.stop()}}),r)})))}},{key:"fetchRegularTransactions",value:function(e,t,n){var a,r;return F(this,void 0,void 0,(0,s.A)().mark((function o(){var i,u,c,l,d,v,f,m;return(0,s.A)().wrap((function(o){while(1)switch(o.prev=o.next){case 0:return i=(0,I.ef)(),u=i.fetchFromMiddlewareCamelCased,c=i.normalizeMiddlewareTransactionStructure,l=n||"/v2/accounts/".concat(e,"/activities?limit=").concat(t),o.prev=2,o.next=5,u(l);case 5:if(d=o.sent,v=d.data,f=d.next,m=(v||[]).filter((function(e){var t=e.type;return!(null===t||void 0===t?void 0:t.startsWith("Internal"))})).map((function(t){return c(t,e)})),(null===(a=v.at(-1))||void 0===a?void 0:a.type)!==T.di){o.next=13;break}return o.next=12,this.fetchTransactionByHash(null===(r=v.at(-1))||void 0===r?void 0:r.payload.txHash,e);case 12:m[m.length-1]=o.sent;case 13:return m=(0,p.A)(m.reverse(),"hash").reverse(),o.abrupt("return",{regularTransactions:m,nextPageUrl:f});case 17:return o.prev=17,o.t0=o["catch"](2),o.abrupt("return",{});case 20:case"end":return o.stop()}}),o,this,[[2,17]])})))}},{key:"fetchPendingTransactions",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,n=(0,w.C)(),a=n.getAeSdk,t.next=4,a();case 4:return r=t.sent,t.next=7,r.api.getPendingAccountTransactionsByPubkey(e);case 7:return i=t.sent,t.abrupt("return",y.A.parse(y.A.stringify((null===i||void 0===i?void 0:i.transactions)||[])).map((function(t){return Object.assign(Object.assign({},t),{pending:!0,protocol:o.yv.aeternity,microTime:Date.now(),transactionOwner:e})})));case 11:return t.prev=11,t.t0=t["catch"](0),t.abrupt("return",[]);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})))}},{key:"fetchTipWithdrawnTransactions",value:function(e,t){return F(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r,i,u,c,l;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,a=(0,I.$L)(),r=a.aeActiveNetworkSettings,i=(0,w.C)(),u=i.getAeSdk,n.next=5,u();case 5:return n.next=7,(0,L.x6)("".concat(r.value.backendUrl,"/cache/events/?address=").concat(e,"&event=TipWithdrawn").concat(t?"&limit=5":""));case 7:if(c=n.sent,!c.message){n.next=10;break}return n.abrupt("return",[]);case 10:return l=c.map((function(t){var n=t.amount,a=t.contract,r=t.height,i=t.data.tx,s=D(t,["amount","contract","height","data"]);return Object.assign(Object.assign({tx:Object.assign(Object.assign({},i),{address:e,amount:n,contractId:a,type:g.vw[g.vw.ContractCallTx]})},s),{microTime:new Date(s.createdAt).getTime(),blockHeight:r,claim:!0,protocol:o.yv.aeternity,transactionOwner:e})})),n.abrupt("return",l);case 14:return n.prev=14,n.t0=n["catch"](0),n.abrupt("return",[]);case 17:case"end":return n.stop()}}),n,null,[[0,14]])})))}},{key:"fetchAccountTransactions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.nextPageUrl;return F(this,void 0,void 0,(0,s.A)().mark((function t(){var r,i,u,c,l,d,p,v;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r={},t.next=3,Promise.all([this.fetchRegularTransactions(e,o.K0,n),this.fetchPendingTransactions(e),this.fetchTipWithdrawnTransactions(e,!n)]);case 3:return i=t.sent,u=(0,a.A)(i,3),c=u[0],l=c.regularTransactions,d=c.nextPageUrl,p=u[1],v=u[2],d&&(r.nextPageUrl=d),t.abrupt("return",{regularTransactions:l,pendingTransactions:p,tipWithdrawnTransactions:v,paginationParams:r});case 12:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAccountAssetTransactions",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.nextPageUrl;return F(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o,i,u=this;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r={},o=[],n.prev=2,n.next=5,this.fetchAccountTransactions(e,{nextPageUrl:a});case 5:i=n.sent,r=i.paginationParams,o=t===this.coinContractId?i.regularTransactions.filter((function(e){var t=e.tx;return!t.contractId||t.contractId===u.coinContractId})):i.regularTransactions.filter((function(e){var n=e.tx;return n.contractId===t||JSON.stringify(Object.assign(Object.assign({},n.arguments),n.log)).includes(t)})),n.next=13;break;case 10:n.prev=10,n.t0=n["catch"](2),S.A.write(n.t0);case 13:return n.abrupt("return",{paginationParams:r,regularTransactions:o});case 14:case"end":return n.stop()}}),n,this,[[2,10]])})))}},{key:"fetchTransactionByHash",value:function(e,t){return F(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r,i;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=(0,I.ef)(),r=a.getMiddleware,n.next=3,r();case 3:return i=n.sent,n.t0=Object,n.t1=Object,n.t2={},n.next=9,i.getTx(e);case 9:return n.t3=n.sent,n.t4=n.t1.assign.call(n.t1,n.t2,n.t3),n.t5={protocol:o.yv.aeternity,transactionOwner:t},n.abrupt("return",n.t0.assign.call(n.t0,n.t4,n.t5));case 13:case"end":return n.stop()}}),n)})))}},{key:"constructAndSignTx",value:function(){throw new Error("Method not implemented.")}},{key:"spend",value:function(e,t,n){return F(this,void 0,void 0,(0,s.A)().mark((function a(){var r,o,i;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=(0,w.C)(),o=r.getAeSdk,a.next=3,o();case 3:return i=a.sent,a.abrupt("return",i.spendWithCustomOptions(e,t,{waitMined:!1,payload:(0,h.lF)(W.from(n.payload),v.W.Bytearray)}));case 5:case"end":return a.stop()}}),a)})))}},{key:"waitTransactionMined",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,w.C)().waitTransactionMined(e));case 1:case"end":return t.stop()}}),t)})))}}]),t}(C),P=n(26169),O=(n(26910),n(2892),n(38781),n(76031),n(44774)),M=n(852),R=n(21757),N=n(70057),U=n(14673),X=n(81881),V=n(28446),H=n(11948),$=n(41370),j=function(e){function t(e){var n;return(0,u.A)(this,t),n=(0,l.A)(this,t),n.explorerUrl=e,n}return(0,d.A)(t,e),(0,c.A)(t,[{key:"prepareUrlForHash",value:function(e){return"".concat(this.explorerUrl,"/tx/").concat(e)}},{key:"prepareUrlForAccount",value:function(e){return"".concat(this.explorerUrl,"/address/").concat(e)}}]),t}($.s),K=n(20641);function q(){var e=(0,X.f)(),t=e.activeNetwork,n=e.activeNetworkName,a=(0,K.EW)((function(){return t.value.protocols[o.yv.bitcoin]})),r=(0,K.EW)((function(){var e=t.value.type===o.Qb?o.Oj:t.value.type;return V.Hl[e]||{}}));return{activeNetworkName:n,btcActiveNetworkSettings:a,btcActiveNetworkPredefinedSettings:r}}var G=n(38700),Q=function(){function e(t,n){(0,u.A)(this,e),this.publicKey=n,this.secretKey=t}return(0,c.A)(e,[{key:"sign",value:function(e){var t=(0,G.Ay)(O);return t.fromPrivateKey(this.secretKey).sign(e)}}]),e}(),Z=n(48287)["Buffer"],Y=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},z=5e3,J=10,ee=function(e){function t(){var e;return(0,u.A)(this,t),e=(0,l.A)(this,t,arguments),e.protocol=o.yv.bitcoin,e.protocolName="Bitcoin",e.coinName=V.OX,e.coinSymbol=V.HF,e.coinContractId=V.bR,e.coinPrecision=V.Jb,e.hasTokensSupport=!1,e.mdwToNodeApproxDelayTime=0,e.bip32=(0,M.Pr)(O),e.networkSettings=[{key:"nodeUrl",testId:"url",required:!0,defaultValue:V.tW[o.Oj].nodeUrl,getPlaceholder:function(){return(0,x.tg)("pages.network.networkUrlPlaceholder")},getLabel:function(){return(0,x.tg)("pages.network.networkUrlLabel")}}],e}return(0,d.A)(t,e),(0,c.A)(t,[{key:"getAccountPrefix",value:function(){var e=(0,X.f)(),t=e.activeNetwork;return t.value.type===o.Oj?"tb1q":"bc1q"}},{key:"getExplorer",value:function(){var e=q(),t=e.btcActiveNetworkPredefinedSettings;return new j(t.value.explorerUrl)}},{key:"getAmountPrecision",value:function(){return V.Jb}},{key:"getUrlTokenKey",value:function(){return V.bR}},{key:"getNetworkSettings",value:function(){return this.networkSettings}},{key:"getNetworkTypeDefaultValues",value:function(e){return V.tW[e]}},{key:"getCoinGeckoCoinId",value:function(){return V.nM}},{key:"getDefaultCoin",value:function(e,t){return Object.assign(Object.assign({},(null===e||void 0===e?void 0:e[o.yv.bitcoin])||{}),{protocol:o.yv.bitcoin,contractId:this.coinContractId,symbol:this.coinSymbol,decimals:this.getAmountPrecision(),name:V.OX,convertedBalance:t})}},{key:"fetchBalance",value:function(e){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o,i,u,c,l,d,p;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,X.f)(),a=n.activeNetwork,r=a.value.protocols.bitcoin.nodeUrl,t.next=4,(0,L.x6)("".concat(r,"/address/").concat(e));case 4:return o=t.sent,i=o.chain_stats,u=i.funded_txo_sum,c=i.spent_txo_sum,l=o.mempool_stats,d=l.funded_txo_sum,p=l.spent_txo_sum,t.abrupt("return",(0,U.toBitcoin)(Number(u)-Number(c)+Number(d)-Number(p)).toString());case 12:case"end":return t.stop()}}),t)})))}},{key:"isAccountAddressValid",value:function(e,t){try{var n=(0,r.A)((0,r.A)({},o.dk,"bitcoin"),o.Oj,"testnet"),a=t?R.o8[n[t]]:void 0;return(0,N.toOutputScript)(e,a),!0}catch(i){return!1}}},{key:"isValidAddressOrNameEncoding",value:function(e,t){return this.isAccountAddressValid(e,t)}},{key:"isAccountUsed",value:function(e){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,X.f)(),a=n.activeNetwork,r=a.value.protocols.bitcoin.nodeUrl,t.next=4,(0,L.x6)("".concat(r,"/address/").concat(e));case 4:return o=t.sent,i=o.chain_stats.funded_txo_sum,t.abrupt("return",!!i);case 7:case"end":return t.stop()}}),t)})))}},{key:"getHdWalletAccountFromMnemonicSeed",value:function(e,t){var n=(0,X.f)(),a=n.activeNetwork,r=R.o8[a.value.type]||R.o8.bitcoin,i=a.value.type===o.Oj?1:0,s=this.bip32.fromSeed(Z.from(e)),u="m/84'/".concat(i,"'/").concat(t,"'/0/0"),c=s.derivePath(u),l=R.KT.p2wpkh({pubkey:c.publicKey,network:r}),d=l.address;return{secretKey:c.privateKey,publicKey:c.publicKey,address:d}}},{key:"discoverLastUsedAccountIndex",value:function(e){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,L.yU)(this.isAccountUsed,this.getHdWalletAccountFromMnemonicSeed.bind(this),e));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAccountTransactions",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.lastTxId;return Y(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o,i,u,c;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=(0,X.f)(),o=r.activeNetwork,i=o.value.protocols.bitcoin.nodeUrl,n.next=4,(0,L.x6)(a?"".concat(i,"/address/").concat(e,"/txs/chain/").concat(a):"".concat(i,"/address/").concat(e,"/txs"));case 4:return u=n.sent,c=u.map((function(t){return(0,H.n1)(t,e)})),n.abrupt("return",{regularTransactions:c,paginationParams:{lastTxId:(null===(t=c[c.length-1])||void 0===t?void 0:t.hash)||void 0}});case 7:case"end":return n.stop()}}),n)})))}},{key:"fetchAccountAssetTransactions",value:function(e,t,n){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this.fetchAccountTransactions(e,n));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"fetchTransactionByHash",value:function(e){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,X.f)(),a=n.activeNetwork,r=a.value.protocols.bitcoin.nodeUrl,t.next=4,(0,L.x6)("".concat(r,"/tx/").concat(e));case 4:return o=t.sent,t.abrupt("return",(0,H.n1)(o));case 6:case"end":return t.stop()}}),t)})))}},{key:"constructAndSignTx",value:function(e,t,n){return Y(this,void 0,void 0,(0,s.A)().mark((function a(){var r,o,i,u,c,l,d,p,v,f,m,g,h,A,k,y,b,w,C,x,S,T,E=this;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=(0,X.f)(),o=r.activeNetwork,i=R.o8[o.value.type]||R.o8.bitcoin,u=o.value.protocols.bitcoin.nodeUrl,c=(0,U.toSatoshi)(e),l=(0,U.toSatoshi)(n.fee),d=0,p=!1,v=new R.iL({network:i}),a.next=10,(0,L.x6)("".concat(u,"/address/").concat(n.address,"/utxo"));case 10:return f=a.sent,a.next=13,Promise.all(f.map((function(e){var t=e.txid,n=e.vout,a=e.value;return Y(E,void 0,void 0,(0,s.A)().mark((function e(){var r;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,fetch("".concat(u,"/tx/").concat(t,"/hex"));case 2:return r=e.sent,e.t0=t,e.t1=n,e.t2=a,e.next=8,r.text();case 8:return e.t3=e.sent,e.abrupt("return",{txid:e.t0,vout:e.t1,value:e.t2,transactionInHex:e.t3});case 10:case"end":return e.stop()}}),e)})))})));case 13:m=a.sent,g=m.sort((function(e,t){return Math.abs(e.value-c+l)-Math.abs(t.value-c+l)})),h=(0,P.A)(g),a.prev=16,h.s();case 18:if((A=h.n()).done){a.next=30;break}if(k=A.value,y=k.txid,b=k.vout,w=k.value,C=k.transactionInHex,!p){a.next=22;break}return a.abrupt("break",30);case 22:x=R.ZX.fromHex(C),S=x.outs.at(b),T=x.hasWitnesses(),T?v.addInput({hash:y,index:b,witnessUtxo:{script:S.script,value:w}}):v.addInput({hash:y,index:b,nonWitnessUtxo:Z.from(C,"hex")}),d+=w,d>=c+l&&(p=!0);case 28:a.next=18;break;case 30:a.next=35;break;case 32:a.prev=32,a.t0=a["catch"](16),h.e(a.t0);case 35:return a.prev=35,h.f(),a.finish(35);case 38:if(p){a.next=40;break}throw new Error("Insufficient balance");case 40:return v.addOutput({address:t,value:c}),d-(c+l)>V.uR&&v.addOutput({address:n.address,value:d-c-l}),a.next=44,v.signAllInputs(new Q(n.secretKey,n.publicKey));case 44:return a.next=46,v.finalizeAllInputs();case 46:return a.abrupt("return",v.extractTransaction());case 47:case"end":return a.stop()}}),a,null,[[16,32,35,38]])})))}},{key:"spend",value:function(e,t,n){return Y(this,void 0,void 0,(0,s.A)().mark((function a(){var r,o,i,u,c,l,d=this;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=(0,X.f)(),o=r.activeNetwork,i=o.value.protocols.bitcoin.nodeUrl,a.next=4,this.constructAndSignTx(e,t,n);case 4:return u=a.sent.toHex(),c={method:"POST",headers:new Headers({"Content-Type":"text/plain"}),body:u,redirect:"follow"},a.next=8,fetch("".concat(i,"/tx"),c).then((function(e){return Y(d,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(200===e.status){t.next=6;break}return t.t0=Error,t.next=4,e.text();case 4:throw t.t1=t.sent,new t.t0(t.t1);case 6:return t.abrupt("return",e.text());case 7:case"end":return t.stop()}}),t)})))}));case 8:return l=a.sent,a.abrupt("return",{hash:l});case 10:case"end":return a.stop()}}),a,this)})))}},{key:"waitTransactionMined",value:function(e){var t=this;return new Promise((function(n){var a=0,r=setInterval((function(){return Y(t,void 0,void 0,(0,s.A)().mark((function t(){var o,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a+=1,o=a>=J,t.next=4,this.fetchTransactionByHash(e);case 4:if(i=t.sent,!i){t.next=8;break}return clearInterval(r),t.abrupt("return",n(i));case 8:if(!o){t.next=11;break}return clearInterval(r),t.abrupt("return",n(null));case 11:return t.abrupt("return",null);case 12:case"end":return t.stop()}}),t,this)})))}),z)}))}}]),t}(C),te=n(6682),ne=(n(48980),n(64346),n(54554),n(78459),n(69825)),ae=n(38653),re=n(40166),oe=n(97362),ie=n(37061),se=n(20345),ue=n(7595),ce=n(84754),le=n(28388),de=function(e){function t(e){var n;return(0,u.A)(this,t),n=(0,l.A)(this,t),n.explorerUrl=e,n}return(0,d.A)(t,e),(0,c.A)(t,[{key:"prepareUrlForHash",value:function(e){return"".concat(this.explorerUrl,"/tx/").concat(e)}},{key:"prepareUrlForAccount",value:function(e){return"".concat(this.explorerUrl,"/address/").concat(e)}}]),t}($.s),pe=(n(48408),n(50113),n(58940),n(14603),n(47566),n(98721),n(60346));function ve(e,t,n){var a=e||{},r=a.blockNumber,i=a.from,s=a.hash,u=a.gas,c=a.gasPrice,l=a.to,d=a.value,p=a.type,v=t||{},f=v.timestamp,m=0===Number(p),g=(0,ae.BA)(n);return{transactionOwner:g,protocol:o.yv.ethereum,hash:s,microTime:f?new Date(1e3*Number(f)).getTime():void 0,pending:!r,blockHeight:Number(r),tx:{amount:Number((0,ae.kX)(d||0,"ether")),fee:m?0:+(0,ae.kX)(Number(u||0)*Number(c||0),"ether"),senderId:i?(0,ae.BA)(i):void 0,recipientId:l?(0,ae.BA)(l):void 0,type:"SpendTx",arguments:[],callerId:"",contractId:ue.Xn}}}function fe(e){return e&&(null===e||void 0===e?void 0:e.startsWith("0x"))?(0,ae.BA)(e):e}var me,ge,he=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Ae="No transactions found",ke=function(){function e(t){(0,u.A)(this,e),this.freeVersionTimeDelay=o.l2?250:5300,this.apiUrl=t}return(0,c.A)(e,[{key:"fetchFromApi",value:function(e){return he(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=new URLSearchParams(Object.assign(Object.assign({},(0,L.pV)(e)),{apikey:o.l2})).toString(),a=(new Date).getTime(),r=me?this.freeVersionTimeDelay-(a-me):0,me=a+(r>0?r:0),!(r>0)){t.next=7;break}return t.next=7,(0,L.yy)(r);case 7:return t.abrupt("return",(0,L.x6)("".concat(this.apiUrl,"?").concat(n)));case 8:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAccountCoinTransactions",value:function(t,n){var a;return he(this,void 0,void 0,(0,s.A)().mark((function r(){var i,u,c,l,d;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=n.page,u=void 0===i?"1":i,c=n.offset,l=void 0===c?o.K0.toString():c,r.next=3,this.fetchFromApi({module:"account",action:"txlist",address:t,page:u,offset:l,sort:"desc"});case 3:if(d=r.sent,"1"===(null===d||void 0===d?void 0:d.status)||(null===d||void 0===d?void 0:d.message)===Ae){r.next=6;break}throw new Error((null===d||void 0===d?void 0:d.result)||(null===d||void 0===d?void 0:d.message));case 6:return r.abrupt("return",(null===(a=null===d||void 0===d?void 0:d.result)||void 0===a?void 0:a.map((function(n){return e.normalizeEtherscanTransactionStructure(n,t)})))||[]);case 7:case"end":return r.stop()}}),r,this)})))}},{key:"fetchAccountTokenTransactions",value:function(t){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return he(this,void 0,void 0,(0,s.A)().mark((function r(){var i,u,c,l,d,p,v,f;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=a.assetContractId,u=a.page,c=void 0===u?"1":u,l=a.offset,d=void 0===l?o.K0.toString():l,p=a.startblock,v=a.endblock,r.next=3,this.fetchFromApi({module:"account",action:"tokentx",contractaddress:i,address:t,page:c,offset:d,sort:"desc",startblock:p,endblock:v});case 3:if(f=r.sent,"1"===(null===f||void 0===f?void 0:f.status)||(null===f||void 0===f?void 0:f.message)===Ae){r.next=6;break}throw new Error((null===f||void 0===f?void 0:f.result)||(null===f||void 0===f?void 0:f.message));case 6:return r.abrupt("return",(null===(n=null===f||void 0===f?void 0:f.result)||void 0===n?void 0:n.map((function(n){return e.normalizeEtherscanTransactionStructure(n,t,i)})))||[]);case 7:case"end":return r.stop()}}),r,this)})))}},{key:"fetchAccountTokenTransactionByHash",value:function(e,t,n){return he(this,void 0,void 0,(0,s.A)().mark((function a(){var r;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,this.fetchAccountTokenTransactions(t,{startblock:n,endblock:n});case 2:return r=a.sent,a.abrupt("return",r.find((function(t){return t.hash===e})));case 4:case"end":return a.stop()}}),a,this)})))}}],[{key:"normalizeEtherscanTransactionStructure",value:function(e,t,n){var a=e.confirmations,r=e.contractAddress,i=e.from,s=e.functionName,u=e.gasUsed,c=e.gasPrice,l=e.hash,d=e.nonce,p=e.timeStamp,v=e.to,f=e.value,m=fe(i),g=fe(v),h=fe(t),A=fe(r||n)||ue.Xn,k=Number((0,ae.kX)(c,"ether")),y=u*k,b=Number((0,ae.kX)(f,"ether")),w=parseInt(a,10)<=ue.Id,C=1e3*p,x=!r;return{protocol:o.yv.ethereum,transactionOwner:h,hash:l,microTime:C,pending:w,tx:{amount:b,fee:y,senderId:m,recipientId:g,type:x?"SpendTx":"ContractCallTx",arguments:[],callerId:x?"":m,contractId:A,function:s,nonce:d,gasPrice:k,gasUsed:u}}}}]),e}(),ye=(n(62010),function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))}),be="freekey",we=429,Ce=function(){function e(t){(0,u.A)(this,e),this.resourcesUrl="https://ethplorer.io",this.freeVersionTimeDelay=600,this.apiUrl=t}return(0,c.A)(e,[{key:"fetchFromApi",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ye(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r,o;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=new URLSearchParams(Object.assign(Object.assign({},t),{apiKey:be})).toString(),be&&"freekey"!==be){n.next=8;break}if(r=(new Date).getTime(),o=ge?this.freeVersionTimeDelay-(r-ge):0,ge=r+(o>0?o:0),!(o>0)){n.next=8;break}return n.next=8,(0,L.yy)(o);case 8:return n.abrupt("return",(0,L.x6)("".concat(this.apiUrl).concat(e,"?").concat(a)));case 9:case"end":return n.stop()}}),n,this)})))}},{key:"normalizeTokenStructure",value:function(e){return{contractId:fe(e.address),decimals:Number(e.decimals),name:e.name,protocol:o.yv.ethereum,symbol:e.symbol,image:e.image?"".concat(this.resourcesUrl).concat(e.image):void 0}}},{key:"fetchTopTokens",value:function(){var e;return ye(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r=this;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.fetchFromApi("/getTopTokens");case 2:if(n=t.sent,(null===(e=null===n||void 0===n?void 0:n.error)||void 0===e?void 0:e.code)!==we){t.next=5;break}return t.abrupt("return",null);case 5:return a=n.tokens||[],t.abrupt("return",a.filter((function(e){var t=e.address,n=e.name,a=e.symbol;return t&&n&&a})).filter((function(e){var t=e.address;return t!==ue.LB})).map((function(e){return r.normalizeTokenStructure(e)})));case 7:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAccountTokenBalances",value:function(e){var t;return ye(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,this.fetchFromApi("/getAddressInfo/".concat(e));case 2:if(a=n.sent,(null===(t=null===a||void 0===a?void 0:a.error)||void 0===t?void 0:t.code)!==we){n.next=5;break}return n.abrupt("return",null);case 5:return r=a.tokens||[],n.abrupt("return",r.map((function(t){var n=t.rawBalance,a=t.tokenInfo,r=a.address,i=a.decimals,s=a.name,u=a.symbol;return{address:e,amount:n,contractId:fe(r),convertedBalance:+(0,L.k0)((0,L.Y9)(n,-i)),decimals:i,symbol:u,name:s,protocol:o.yv.ethereum}}))||[]);case 7:case"end":return n.stop()}}),n,this)})))}},{key:"fetchTokenInfo",value:function(e){return ye(this,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.fetchFromApi("/getTokenInfo/".concat(e));case 2:return n=t.sent,t.abrupt("return",(null===n||void 0===n?void 0:n.error)?void 0:this.normalizeTokenStructure(n));case 4:case"end":return t.stop()}}),t,this)})))}}]),e}(),xe=n(48287)["Buffer"],Le=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Se=6e3,Te=10,Ee=3,Ie=function(e){function t(){var e;return(0,u.A)(this,t),e=(0,l.A)(this,t,arguments),e.protocol=o.yv.ethereum,e.protocolName=ue.Dz,e.coinName=ue.Sf,e.coinSymbol=ue.xU,e.coinContractId=ue.Xn,e.coinPrecision=ue.hj,e.hasTokensSupport=!0,e.mdwToNodeApproxDelayTime=ue.nE,e.bip32=(0,M.Pr)(O),e.networkSettings=[{key:"nodeUrl",testId:"url",defaultValue:ue.vZ.nodeUrl,getPlaceholder:function(){return(0,x.tg)("pages.network.networkUrlPlaceholder")},getLabel:function(){return(0,x.tg)("pages.network.networkUrlLabel")}},{key:"chainId",defaultValue:ue.vZ.chainId,validationRules:{url:!1,is_hex_format:!0},getPlaceholder:function(){return(0,x.tg)("pages.network.chainIdPlaceholder")},getLabel:function(){return(0,x.tg)("pages.network.chainIdLabel")}}],e}return(0,d.A)(t,e),(0,c.A)(t,[{key:"getTransactionCount",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this.getWeb3EthInstance(),t.next=3,(0,ie.ym)(n,e,"pending",ie.XD);case 3:return a=t.sent,t.abrupt("return",a);case 5:case"end":return t.stop()}}),t,this)})))}},{key:"getAccountPrefix",value:function(){return"0x"}},{key:"getAmountPrecision",value:function(){return 9}},{key:"getCoinGeckoCoinId",value:function(){return ue.z2}},{key:"getExplorer",value:function(){var e=(0,le.G)(),t=e.ethActiveNetworkPredefinedSettings;return new de(t.value.explorerUrl)}},{key:"getUrlTokenKey",value:function(){return ue.Xn}},{key:"getDefaultCoin",value:function(e,t){return Object.assign(Object.assign({},(null===e||void 0===e?void 0:e[o.yv.ethereum])||{}),{protocol:o.yv.ethereum,contractId:this.coinContractId,symbol:this.coinSymbol,decimals:this.coinPrecision,name:ue.Sf,convertedBalance:t})}},{key:"getNetworkSettings",value:function(){return this.networkSettings}},{key:"getNetworkTypeDefaultValues",value:function(e){return ue.RA[e]}},{key:"fetchBalance",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this.getWeb3EthInstance(),t.next=3,(0,ie.r1)(n,e,"latest",ie.XD);case 3:return a=t.sent,t.abrupt("return",(0,ae.kX)(a,"ether").toString());case 5:case"end":return t.stop()}}),t,this)})))}},{key:"isAccountAddressValid",value:function(e){return(0,ne.PW)(e)}},{key:"isValidAddressOrNameEncoding",value:function(e){return this.isAccountAddressValid(e)}},{key:"isAccountUsed",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,r,o,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.t0=Promise,t.next=3,this.fetchBalance(e);case 3:return t.t1=t.sent,t.t2=this.getTransactionCount(e),t.t3=[t.t1,t.t2],t.next=8,t.t0.all.call(t.t0,t.t3);case 8:return n=t.sent,r=(0,a.A)(n,2),o=r[0],i=r[1],t.abrupt("return",parseFloat(o)>0||i>0);case 13:case"end":return t.stop()}}),t,this)})))}},{key:"getHdWalletAccountFromMnemonicSeed",value:function(e,t){var n=this.bip32.fromSeed(xe.from(e)),a="m/44'/60'/".concat(t,"'/0/0"),r=n.derivePath(a),o=(0,ae.BA)((0,oe.uX)(r.privateKey).toString());return{secretKey:r.privateKey,publicKey:r.publicKey,address:o}}},{key:"discoverLastUsedAccountIndex",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,L.yU)(this.isAccountUsed.bind(this),this.getHdWalletAccountFromMnemonicSeed.bind(this),e));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAvailableTokens",value:function(){return Le(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=(0,le.G)(),n=t.ethActiveNetworkPredefinedSettings,a=n.value.tokenMiddlewareUrl,e.prev=2,e.abrupt("return",new Ce(a).fetchTopTokens());case 6:return e.prev=6,e.t0=e["catch"](2),S.A.write(e.t0),e.abrupt("return",null);case 10:case"end":return e.stop()}}),e,null,[[2,6]])})))}},{key:"fetchAccountTokenBalances",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,le.G)(),a=n.ethActiveNetworkPredefinedSettings,r=a.value.tokenMiddlewareUrl,t.prev=2,t.abrupt("return",new Ce(r).fetchAccountTokenBalances(e));case 6:return t.prev=6,t.t0=t["catch"](2),S.A.write(t.t0),t.abrupt("return",null);case 10:case"end":return t.stop()}}),t,null,[[2,6]])})))}},{key:"fetchTokenInfo",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,le.G)(),a=n.ethActiveNetworkPredefinedSettings,r=a.value.tokenMiddlewareUrl,t.prev=2,t.abrupt("return",new Ce(r).fetchTokenInfo(e));case 6:return t.prev=6,t.t0=t["catch"](2),S.A.write(t.t0),t.abrupt("return",void 0);case 10:case"end":return t.stop()}}),t,null,[[2,6]])})))}},{key:"transferToken",value:function(e,t,n,r){return Le(this,void 0,void 0,(0,s.A)().mark((function i(){var u,c,l,d,p,v,f,m,g,h,A,k,y,b,w,C,x,L,S,T,E,I,_,W,F;return(0,s.A)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(u=(0,le.G)(),c=u.ethActiveNetworkSettings,l=u.ethActiveNetworkPredefinedSettings,d=(0,ce.oV)(),p=d.getAccountByAddress,v=l.value.middlewareUrl,f=p(r.fromAccount),f&&f.protocol===o.yv.ethereum){i.next=6;break}throw new Error("Token transfer were initiated from not existing or not ethereum account.");case 6:return i.next=8,new ke(v).fetchFromApi({module:"contract",action:"getabi",address:n});case 8:return m=i.sent,g=new re.NZ(m&&Array.isArray(null===m||void 0===m?void 0:m.result)?m.result:ue.iA,n,{from:r.fromAccount}),h=c.value,A=h.chainId,k=h.nodeUrl,g.setProvider(k),i.t0=oe.Q9,i.t1=BigInt,i.t2=ae.fq,i.t3=e,i.t4=Number,i.next=19,g.methods.decimals().call();case 19:return i.t5=i.sent,i.t6=(0,i.t4)(i.t5),i.t7=i.t3.toFixed.call(i.t3,i.t6),i.t8=(0,i.t2)(i.t7,"ether"),i.t9=(0,i.t1)(i.t8),y=(0,i.t0)(i.t9),b=(0,oe.Q9)(BigInt((0,ae.fq)(r.maxPriorityFeePerGas,"ether"))),w=(0,oe.Q9)(BigInt((0,ae.fq)(r.maxFeePerGas,"ether"))),i.next=29,Promise.all([this.getTransactionCount(r.fromAccount),g.methods.transfer(t,y).estimateGas()]);case 29:return C=i.sent,x=(0,a.A)(C,2),L=x[0],S=x[1],T={chainId:A,nonce:L,to:n,data:g.methods.transfer(t,y).encodeABI(),value:0,maxPriorityFeePerGas:b,maxFeePerGas:w,gasLimit:"0x".concat(S.toString(16)),type:"0x02"},E=oe.nx.fromTxData(T),I=E.sign(f.secretKey),_=I.serialize(),W=this.getWeb3EthInstance(),F="0x".concat(xe.from(I.hash()).toString("hex")),(0,ie.f7)(W,_,se.Hh),i.abrupt("return",{hash:F});case 41:case"end":return i.stop()}}),i,this)})))}},{key:"fetchTransactionByHash",value:function(e,t){return Le(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r,o,i,u,c,l,d;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=this.getWeb3EthInstance(),n.next=3,(0,ie.xw)(a,e,se.Hh);case 3:if(r=n.sent,"0x"===(null===r||void 0===r?void 0:r.input)||!(null===r||void 0===r?void 0:r.blockNumber)){n.next=11;break}return o=(0,le.G)(),i=o.ethActiveNetworkPredefinedSettings,u=new ke(i.value.middlewareUrl),n.next=9,u.fetchAccountTokenTransactionByHash(e,null!==t&&void 0!==t?t:r.from,r.blockNumber);case 9:return c=n.sent,n.abrupt("return",c);case 11:if(!(null===r||void 0===r?void 0:r.blockHash)){n.next=17;break}return n.next=14,(0,ie.gd)(a,r.blockHash,!0,se.Hh);case 14:n.t0=n.sent,n.next=18;break;case 17:n.t0=void 0;case 18:return l=n.t0,d=ve(r,l,t),n.abrupt("return",d);case 21:case"end":return n.stop()}}),n,this)})))}},{key:"fetchAccountTransactions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.nextPageNum;return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var r,o,i,u,c,l,d,p,v;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r={},o=[],t.prev=2,i=(0,le.G)(),u=i.ethActiveNetworkPredefinedSettings,c=new ke(u.value.middlewareUrl),t.next=7,Promise.all([c.fetchAccountCoinTransactions(e,{page:n}),c.fetchAccountTokenTransactions(e,{page:n})]);case 7:l=t.sent,d=(0,a.A)(l,2),p=d[0],v=d[1],v.forEach((function(e){var t=p.findIndex((function(t){return t.hash===e.hash}));t>-1&&p.splice(t,1)})),o=[].concat((0,te.A)(p),(0,te.A)(v)),(null===o||void 0===o?void 0:o.length)&&(r.nextPageNum=(n?+n+1:2).toString()),t.next=19;break;case 16:t.prev=16,t.t0=t["catch"](2),S.A.write(t.t0);case 19:return t.abrupt("return",{regularTransactions:o,paginationParams:r});case 20:case"end":return t.stop()}}),t,null,[[2,16]])})))}},{key:"fetchAccountAssetTransactions",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.nextPageNum;return Le(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o,i,u,c;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r={},o=[],n.prev=2,i=(0,le.G)(),u=i.ethActiveNetworkPredefinedSettings,c=new ke(u.value.middlewareUrl),t!==this.coinContractId){n.next=11;break}return n.next=8,c.fetchAccountCoinTransactions(e,{page:a});case 8:n.t0=n.sent,n.next=14;break;case 11:return n.next=13,c.fetchAccountTokenTransactions(e,{page:a,assetContractId:t});case 13:n.t0=n.sent;case 14:o=n.t0,(null===o||void 0===o?void 0:o.length)&&(r.nextPageNum=(a?+a+1:2).toString()),n.next=21;break;case 18:n.prev=18,n.t1=n["catch"](2),S.A.write(n.t1);case 21:return n.abrupt("return",{regularTransactions:o,paginationParams:r});case 22:case"end":return n.stop()}}),n,this,[[2,18]])})))}},{key:"constructAndSignTx",value:function(e,t,n){return Le(this,void 0,void 0,(0,s.A)().mark((function a(){var r,i,u,c,l,d,p,v,f,m,g;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(r=(0,ce.oV)(),i=r.getAccountByAddress,u=(0,le.G)(),c=u.ethActiveNetworkSettings,l=i(n.fromAccount),l&&l.protocol===o.yv.ethereum){a.next=5;break}throw new Error("Ethereum transaction construction & signing was initiated from non existing or not ethereum account.");case 5:return a.next=7,this.getTransactionCount(n.fromAccount);case 7:return d=a.sent,p=c.value.chainId,v=(0,oe.Q9)(BigInt((0,ae.fq)(e.toFixed(ue.hj),"ether"))),f=(0,oe.Q9)(BigInt((0,ae.fq)(n.maxPriorityFeePerGas,"ether"))),m=(0,oe.Q9)(BigInt((0,ae.fq)(n.maxFeePerGas,"ether"))),g={chainId:p,nonce:d,to:t,value:v,data:"0x",maxPriorityFeePerGas:f,maxFeePerGas:m,gasLimit:"0x".concat(ue.un.toString(16)),type:"0x02"},a.abrupt("return",oe.nx.fromTxData(g).sign(l.secretKey));case 14:case"end":return a.stop()}}),a,this)})))}},{key:"spend",value:function(e,t,n){return Le(this,void 0,void 0,(0,s.A)().mark((function a(){var r,o,i,u;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=this.getWeb3EthInstance(),a.next=3,this.constructAndSignTx(e,t,n);case 3:return o=a.sent,i=o.serialize(),u="0x".concat(xe.from(o.hash()).toString("hex")),(0,ie.f7)(r,i,se.Hh),a.abrupt("return",{hash:u});case 8:case"end":return a.stop()}}),a,this)})))}},{key:"waitTransactionMined",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a=this;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this.getWeb3EthInstance(),t.abrupt("return",new Promise((function(t){var r=0,o=setInterval((function(){return Le(a,void 0,void 0,(0,s.A)().mark((function a(){var i,u,c;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r+=1,i=r>=Te,a.next=4,(0,ie.h9)(n,e,se.Hh);case 4:return u=a.sent,a.next=7,(0,ie.gd)(n,"latest",!0,se.Hh);case 7:if(c=a.sent,!(null===u||void 0===u?void 0:u.blockNumber)||!((null===c||void 0===c?void 0:c.number)&&c.number-BigInt(u.blockNumber)>=Ee||i)){a.next=11;break}return clearInterval(o),a.abrupt("return",t(u));case 11:if(!i){a.next=14;break}return clearInterval(o),a.abrupt("return",t(null));case 14:return a.abrupt("return",null);case 15:case"end":return a.stop()}}),a)})))}),Se)})));case 2:case"end":return t.stop()}}),t,this)})))}},{key:"getWeb3EthInstance",value:function(){var e=(0,le.G)(),t=e.ethActiveNetworkSettings,n=t.value.nodeUrl;return new ie.Ay(n)}}]),t}(C),_e=(0,r.A)((0,r.A)((0,r.A)({},o.yv.aeternity,B),o.yv.bitcoin,ee),o.yv.ethereum,Ie);Object.entries(_e).forEach((function(e){var t=(0,a.A)(e,2),n=t[0],r=t[1];i.C.registerAdapter(n,r)}));var We=n(53751),Fe=n(62759),De=(n(89463),n(34782),n(15261)),Be=n(3505),Pe=n(63366),Oe=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};(0,De.Km)("required",(function(e){return(0,Be.mw)(e)||(0,x.tg)("validation.required")})),(0,De.Km)("url",(function(e){return!e||(0,L.Ks)(e)||(0,x.tg)("validation.url")})),(0,De.Km)("account",(function(e){return(0,f.pL)(e)||(0,_.F7)(e)||(0,x.tg)("validation.address")})),(0,De.Km)("account_address",(function(e,t){var n=(0,a.A)(t,2),r=n[0],o=n[1];return i.C.getAdapter(r).isAccountAddressValid(e,o)||(0,x.tg)("validation.addressGeneric",{protocol:r})})),(0,De.Km)("min_value",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return(0,pe.A)(e).isGreaterThanOrEqualTo(r)||(0,x.tg)("validation.minValue",[r])})),(0,De.Km)("min_value_exclusive",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return e&&(0,pe.A)(e).isGreaterThan(r)||(0,x.tg)("validation.minValueExclusive",[r])})),(0,De.Km)("max_value",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return e&&(0,pe.A)(e).isLessThanOrEqualTo(r)||(0,x.tg)("validation.maxValue",[r])})),(0,De.Km)("max_redeem",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return e&&(0,pe.A)(e).isLessThanOrEqualTo(r)||(0,x.tg)("validation.maxRedeem",[r])})),(0,De.Km)("max_value_vault",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return(0,pe.A)(e).isLessThanOrEqualTo(r)||(0,x.tg)("validation.maxValueVault",[r])})),(0,De.Km)("max_len",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return e&&e.length<=r||(0,x.tg)("validation.maxLength",[r])})),(0,De.Km)("network_exists",(function(e,t){var n=(0,a.A)(t,2),r=n[0],i=n[1];return!([o.y1,o.I1].includes(e)||e!==i&&r.find((function(t){var n=t.name;return n===e})))||(0,x.tg)("pages.network.error.networkExists")})),(0,De.Km)("is_hex_format",(function(e){var t;return(null===(t=null===e||void 0===e?void 0:e.toString())||void 0===t?void 0:t.startsWith("0x"))&&e.length>=3&&parseInt(e.slice(2),16).toString(16)===e.slice(2).toLowerCase()||(0,x.tg)("validation.hexFormat")}));const Me=function(){var e,t=(0,ce.ty)(),n=t.balance,u=t.updateBalances,c=(0,ce.ZN)({pollingDisabled:!0}),l=c.currencyRates,d=(0,ce.CP)(),p=d.getAeSdk,v={REGISTERED:Symbol("name state: registered"),REGISTERED_ADDRESS:Symbol("name state: registered and points to address"),UNREGISTERED:Symbol("name state: unregistered"),NOT_SAME:Symbol("name state: not same as provided")},m=(0,Pe.A)((function(e,t,n,a){var o=a.resolve,i=a.reject;return Oe(void 0,void 0,void 0,(0,s.A)().mark((function a(){var u,c,l;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,p();case 3:return u=a.sent,a.next=6,u.api.getNameEntryByName(e);case 6:c=a.sent,l=(0,_.Pd)(c),o((0,r.A)((0,r.A)((0,r.A)((0,r.A)({},v.REGISTERED,!0),v.REGISTERED_ADDRESS,!!l),v.UNREGISTERED,!1),v.NOT_SAME,n!==l)[t]),a.next=14;break;case 11:a.prev=11,a.t0=a["catch"](0),(0,L.El)(a.t0)?o(t===v.UNREGISTERED||t===v.NOT_SAME):i(a.t0);case 14:case"end":return a.stop()}}),a,null,[[0,11]])})))}),300,{leading:!0});function g(t){return function(n,r){var o=(0,a.A)(r,1),i=o[0];return new Promise((function(a,r){n===e&&m.flush(),e=n,m(n,t,i,{resolve:a,reject:r})}))}}var h=function(e){return Oe(void 0,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,t.t0=(0,f.pL)(e),t.t0){t.next=6;break}return t.next=5,g(v.REGISTERED_ADDRESS)(e,[]);case 5:t.t0=t.sent;case 6:return t.abrupt("return",t.t0);case 9:return t.prev=9,t.t1=t["catch"](0),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})))};(0,De.Km)("ae_min_tip_amount",(function(e){var t,n=.01/((null===(t=l.value)||void 0===t?void 0:t[o.yv.aeternity].usd)||1);return(0,pe.A)(e).isGreaterThan(n)||(0,x.tg)("pages.tipPage.minAmountError")})),(0,De.Km)("aens_name",(function(e){return(0,_.F7)("".concat(e).concat(T.CT))||(0,x.tg)("validation.name")})),(0,De.Km)("aens_name_unregistered",(function(e){return Oe(void 0,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,g(v.UNREGISTERED)("".concat(e,".chain"),[]);case 2:if(t.t0=t.sent,t.t0){t.next=5;break}t.t0=(0,x.tg)("validation.nameUnregistered");case 5:return t.abrupt("return",t.t0);case 6:case"end":return t.stop()}}),t)})))})),(0,De.Km)("aens_name_registered_or_address",(function(e){return Oe(void 0,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!(0,_.F7)(e)){t.next=6;break}return t.next=3,h(e);case 3:t.t0=t.sent,t.next=7;break;case 6:t.t0=(0,f.pL)(e);case 7:return n=t.t0,t.abrupt("return",n||(0,x.tg)("validation.nameRegisteredAddress"));case 9:case"end":return t.stop()}}),t)})))})),(0,De.Km)("aens_name_registered_or_address_or_url",(function(e){return Oe(void 0,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!(0,_.F7)(e)){t.next=6;break}return t.next=3,h(e);case 3:t.t0=t.sent,t.next=7;break;case 6:t.t0=(0,f.pL)(e)||(0,L.Ks)(e);case 7:return n=t.t0,t.abrupt("return",n||(0,x.tg)("validation.invalidAddressChainUrl"));case 9:case"end":return t.stop()}}),t)})))})),(0,De.Km)("token_to_an_address",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return!(0,_.F7)(e)||(0,_.F7)(e)&&!r||(0,x.tg)("validation.tokenToAnAddress")})),(0,De.Km)("address_not_same_as",(function(e,t){var n=(0,a.A)(t,2),r=n[0],o=n[1];return e!==r||(0,x.tg)("validation.addressNotSameAs",[o?i.C.getAdapter(o).coinSymbol:(0,x.tg)("common.tokens")])})),(0,De.Km)("enough_coin",(function(e,t){var r=(0,a.A)(t,2),o=r[0],i=r[1];return Oe(void 0,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,u();case 2:return e.abrupt("return",n.value.isGreaterThanOrEqualTo(o)||(0,x.tg)("validation.enoughCoin",[i||T.kf]));case 3:case"end":return e.stop()}}),e)})))})),(0,De.Km)("enough_ae_signer",(function(e,t){var r=(0,a.A)(t,1),o=r[0];return Oe(void 0,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,u();case 2:return e.abrupt("return",n.value.isGreaterThanOrEqualTo(o)||(0,x.tg)("validation.enoughAeSigner"));case 3:case"end":return e.stop()}}),e)})))})),(0,De.Km)("does_not_exceed_decimals",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return!e||(0,pe.A)(e).dp()<=r||(0,x.tg)("validation.doesNotExceedDecimals",[r])}))};n(3296),n(44114),n(53921),n(79432);var Re=n(26186),Ne=n(92875),Ue=n(42302),Xe=n(19636),Ve=n(59794),He=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function $e(e){var t=Object.assign(Object.assign({},Ve.DZ[e]),{tag:g.vw[e]});return(0,Xe.pr)(t)}var je=function(){var e,t={};return function(n){var a=n.type,r=n.payload;return He(void 0,void 0,void 0,(0,s.A)().mark((function n(){var i;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(o.hL&&browser){n.next=2;break}throw new Error("Supported only in browser extension");case 2:return e||(e=browser.runtime.connect({name:o.ZH.POPUP}),e.onMessage.addListener((function(e){var n=e.uuid,a=e.res;if(!t[n])throw new Error("Can't find request with id: ".concat(n));t[n].resolve(a),delete t[n]}))),i=(0,Ue.A)(),e.postMessage({type:a,payload:r,uuid:i}),n.abrupt("return",new Promise((function(e,n){t[i]={resolve:e,reject:n}})));case 6:case"end":return n.stop()}}),n)})))}}(),Ke=function(e){var t=e.type;return He(void 0,void 0,void 0,(0,s.A)().mark((function e(){var n,a,r;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:e.t0=t,e.next=e.t0===o.Jw.getProps?3:e.t0===o.Jw.resolve||e.t0===o.Jw.reject?12:14;break;case 3:return e.next=5,browser.storage.local.get("txType");case 5:if(n=e.sent,a=n.txType,!a){e.next=11;break}return r=Ve.FE.base,r.tx=(0,Xe.pj)($e(a)),e.abrupt("return",r);case 11:return e.abrupt("return",o.WZ?Ve.FE[o.WZ]:{});case 12:return window[t]="send",e.abrupt("break",15);case 14:throw new Error("Unknown type: ".concat(t));case 15:return e.abrupt("return",null);case 16:case"end":return e.stop()}}),e)})))};function qe(){return He(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a,r,i,u,c,l=this;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=o.yW?Ke:je,n=!1,a=function(){return He(l,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",t({type:o.Jw.resolve}));case 1:case"end":return e.stop()}}),e)})))},r=function(){return He(l,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",t({type:o.Jw.reject}));case 1:case"end":return e.stop()}}),e)})))},i=function(){n||r()},window.addEventListener("beforeunload",i,!0),u=function(e){return function(){for(var t=arguments.length,a=new Array(t),r=0;r5?((0,K.uX)(),(0,K.CE)("p",{key:2,class:"message",textContent:(0,tt.v_)(e.$t("pages.recentTransactions.transactionListEnd"))},null,8,An)):(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("p",{key:1,class:"message",textContent:(0,tt.v_)(e.$t("pages.recentTransactions.noTransactionsFound"))},null,8,hn))])):(0,K.Q3)("",!0),e.isOnline?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(c,{key:1,class:"offline-message",text:e.$t("modals.accountDetails.transactionsNotAvailable")},null,8,["text"]))],512),(0,K.bF)(l)]})),_:1})}var yn=n(46992),bn=n(74022),wn=n(17831),Cn={class:"body"},xn={class:"footer"},Ln={key:0,class:"consensus"},Sn=["textContent"],Tn=["textContent"];function En(e,t,n,a,r,o){var i=(0,K.g2)("TransactionAssetRows"),s=(0,K.g2)("ConsensusApprovedLabel"),u=(0,K.g2)("TransactionLabel"),c=(0,K.g2)("ListItemWrapper");return(0,K.uX)(),(0,K.Wv)(c,{class:"transaction-item",to:e.redirectRoute,"data-cy":e.currentTransaction.pending?"pending-txs":null,replace:""},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Cn,[(0,K.bF)(i,{assets:e.transactionAssets,error:e.isErrorTransaction,protocol:e.transactionProtocol,"icon-size":"rg"},null,8,["assets","error","protocol"]),(0,K.Lk)("div",xn,[e.multisigTransaction&&!e.hasConsensus?((0,K.uX)(),(0,K.CE)("div",Ln,[(0,K.bF)(s,{"confirmations-required":e.multisigTransaction.confirmationsRequired,"has-pending-transaction":e.multisigTransaction.hasPendingTransaction,"confirmed-by":e.multisigTransaction.confirmedBy,signers:e.multisigTransaction.signers},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])])):((0,K.uX)(),(0,K.Wv)(u,{key:1,transaction:e.currentTransaction,"transaction-date":e.transactionDate,"show-transaction-owner":e.showTransactionOwner,dense:""},null,8,["transaction","transaction-date","show-transaction-owner"])),e.multisigTransaction?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)(K.FK,{key:2},[e.fiatAmount&&!e.showTransactionOwner?((0,K.uX)(),(0,K.CE)("span",{key:0,textContent:(0,tt.v_)(e.fiatAmount)},null,8,Sn)):e.showTransactionOwner?((0,K.uX)(),(0,K.CE)("span",{key:1,class:"date",textContent:(0,tt.v_)(e.transactionDate)},null,8,Tn)):(0,K.Q3)("",!0)],64))])])]})),_:1},8,["to","data-cy"])}var In=n(3260),_n={ref:"transactionLabelRef",class:"transaction-label"},Wn={key:1,class:"error"},Fn={class:"label"},Dn={key:0},Bn={key:0,class:"secondary"},Pn=["textContent"],On={key:4,class:"secondary"},Mn={key:5,class:"owner"},Rn={class:"secondary"};function Nn(e,t,n,a,r,o){var i=(0,K.g2)("PendingIcon"),s=(0,K.g2)("WarningIcon"),u=(0,K.g2)("RevertedIcon"),c=(0,K.g2)("Truncate");return(0,K.uX)(),(0,K.CE)("div",_n,[e.transaction.pending?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"icon"})):e.isErrorTransaction?((0,K.uX)(),(0,K.CE)("div",Wn,[e.transaction.tx.returnType===e.TX_RETURN_TYPE_ABORT?((0,K.uX)(),(0,K.Wv)(s,{key:0,class:"icon"})):((0,K.uX)(),(0,K.Wv)(u,{key:1,class:"icon"}))])):(0,K.Q3)("",!0),(0,K.Lk)("div",Fn,[e.label.customPending&&e.isErrorTransaction?((0,K.uX)(),(0,K.CE)("span",Dn,(0,tt.v_)(e.label.customPending),1)):e.transaction.pending?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("span",{key:1,ref:"labelRef",class:(0,tt.C4)(["type",{secondary:e.showTransactionOwner}])},[(0,K.eW)((0,tt.v_)(e.label.text)+" ",1),e.label.hasComma&&!e.showTransactionOwner?((0,K.uX)(),(0,K.CE)("span",Bn," , ")):(0,K.Q3)("",!0)],2)),e.isErrorTransaction?((0,K.uX)(),(0,K.CE)("span",{key:2,class:"error-type",textContent:(0,tt.v_)(e.errorTypeName)},null,8,Pn)):(0,K.Q3)("",!0),e.transaction.pending?((0,K.uX)(),(0,K.CE)("span",{key:3,class:(0,tt.C4)({secondary:!e.label.customPending||e.showTransactionOwner})},(0,tt.v_)(e.label.customPending||e.$t("common.pending"))+"... ",3)):e.showTransactionOwner?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("span",On,(0,tt.v_)(e.transactionDate),1)),e.showTransactionOwner?((0,K.uX)(),(0,K.CE)("div",Mn,[(0,K.Lk)("span",Rn,(0,tt.v_)(e.$t("common.by")),1),(0,K.bF)(c,{str:e.ownerName},null,8,["str"])])):(0,K.Q3)("",!0)])],512)}var Un=n(49012),Xn=n(39893),Vn=n(87053),Hn=n(36100),$n=n(29592);const jn=(0,K.pM)({components:{Truncate:Xn.A,PendingIcon:Vn.A,RevertedIcon:Hn.A,WarningIcon:$n.A},props:{transaction:{type:Object,required:!0},transactionDate:{type:String,default:""},showTransactionOwner:Boolean,dense:Boolean},setup:function(e){var t=(0,ce.oV)(),n=t.activeAccount,a=t.getAccountByAddress,r=(0,yn.s9)(),i=r.t,s=(0,Un.q)(),u=s.getName,c=(0,ce.my)({transaction:e.transaction,externalAddress:e.transaction.transactionOwner}),l=c.outerTxTag,d=c.innerTxTag,p=c.direction,v=c.innerTx,f=c.isDex,m=c.isDexAddLiquidity,h=c.isDexAllowance,A=c.isDexRemoveLiquidity,k=c.isErrorTransaction,y=c.isTip,b=c.txTypeListLabel,w=(0,ce.Y7)(),C=w.getProtocolAvailableTokens,x=(0,K.EW)((function(){var t,a=!e.transaction.transactionOwner,r=b.value;if(l.value===g.vw.SpendTx||l.value===g.vw.GaMetaTx&&d.value===g.vw.SpendTx){var s=p.value===o.NX.sent;r=i(s?"transaction.listType.sentTx":"transaction.listType.receivedTx"),t=i(s?"transaction.type.sentTx":"transaction.type.receivedTx")}else if(l.value===g.vw.PayingForTx&&d.value===g.vw.GaAttachTx)r=i("transaction.type.multisigVaultCreated");else if(h.value)r=i("transaction.dexType.allowToken");else if(m.value)r=i("transaction.dexType.provideLiquidity");else if(A.value)r=i("transaction.dexType.removeLiquidity");else if(f.value)r=i("common.swap"),a=!0;else if(y.value&&e.transaction.claim)r=i("transaction.listType.tipReceived");else if(y.value)r=i("transaction.listType.tipSent");else if(l.value===g.vw.ContractCallTx&&C(o.yv.aeternity)[v.value.contractId]&&(v.value["function"]===T.vG.transfer||e.transaction.incomplete)){var u=e.transaction.transactionOwner?e.transaction.transactionOwner===v.value.callerId:v.value.callerId===n.value.address;r=i(u?"transaction.listType.sentTx":"transaction.listType.receivedTx"),t=i(u?"transaction.type.sentTx":"transaction.type.receivedTx")}else l.value===g.vw.ContractCreateTx?r=i("transaction.type.contractCreateTx"):l.value===g.vw.ContractCallTx&&(r=i("transaction.type.contractCallTx"));return{text:r,customPending:t,hasComma:a}})),S=(0,K.EW)((function(){var t=a(e.transaction.transactionOwner);return u(null===t||void 0===t?void 0:t.address).value||(0,L.$W)(t)})),E=(0,K.EW)((function(){switch(e.transaction.tx.returnType){case T.S4:return i("transaction.returnType.abort");case T.wb:return i("transaction.returnType.revert");default:return null}}));return{TX_RETURN_TYPE_ABORT:T.S4,isErrorTransaction:k,ownerName:S,label:x,errorTypeName:E}}}),Kn=(0,Ft.A)(jn,[["render",Nn],["__scopeId","data-v-bde64a88"]]),qn=Kn;var Gn=n(68369),Qn={class:"consensus-approved-label"};function Zn(e,t,n,a,r,o){var i=(0,K.g2)("PendingIcon"),s=(0,K.g2)("ConsensusLabel");return(0,K.uX)(),(0,K.CE)("span",Qn,[e.isConsensusReached?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.eW)((0,tt.v_)(e.$t("multisig.approved")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.bF)(i,{class:"icon"}),(0,K.eW)(" "+(0,tt.v_)(e.$t("multisig.consensusPending")),1)],64)),(0,K.eW)("   "),(0,K.bF)(s,{"confirmations-required":e.confirmationsRequired,"has-pending-transaction":e.hasPendingTransaction,"default-confirmed-by":e.defaultConfirmedBy,"confirmed-by":e.confirmedBy,signers:e.signers},null,8,["confirmations-required","has-pending-transaction","default-confirmed-by","confirmed-by","signers"]),e.isConsensusReached?((0,K.uX)(),(0,K.CE)(K.FK,{key:2},[(0,K.eW)(" . "+(0,tt.v_)(e.$t("multisig.waitingToBeSent")),1)],64)):(0,K.Q3)("",!0)])}var Yn={class:"consensus-label"};function zn(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("span",Yn,(0,tt.v_)(e.localConfirmedBy)+"/"+(0,tt.v_)(e.confirmationsRequired)+" "+(0,tt.v_)(e.$t("common.of"))+" "+(0,tt.v_)(e.totalConfirmations),1)}const Jn=(0,K.pM)({props:{signers:{type:Array,required:!0},confirmedBy:{type:Array,default:function(){return[]}},confirmationsRequired:{type:Number,required:!0},defaultConfirmedBy:{type:Number,default:0},hasPendingTransaction:Boolean},setup:function(e){var t=(0,K.EW)((function(){var t;return e.hasPendingTransaction?null===(t=e.confirmedBy)||void 0===t?void 0:t.length:e.defaultConfirmedBy})),n=(0,K.EW)((function(){return e.signers.length}));return{localConfirmedBy:t,totalConfirmations:n}}}),ea=(0,Ft.A)(Jn,[["render",zn]]),ta=ea,na=(0,K.pM)({components:{ConsensusLabel:ta,PendingIcon:Vn.A},props:{signers:{type:Array,required:!0},confirmedBy:{type:Array,default:function(){return[]}},confirmationsRequired:{type:Number,required:!0},defaultConfirmedBy:{type:Number,default:0},hasPendingTransaction:Boolean},setup:function(e){var t=(0,K.EW)((function(){var t;return e.hasPendingTransaction?null===(t=e.confirmedBy)||void 0===t?void 0:t.length:e.defaultConfirmedBy})),n=(0,K.EW)((function(){return t.value===e.confirmationsRequired}));return{localConfirmedBy:t,isConsensusReached:n}}}),aa=(0,Ft.A)(na,[["render",Zn]]),ra=aa,oa=(0,K.pM)({components:{ConsensusApprovedLabel:ra,TransactionLabel:qn,TransactionAssetRows:In.A,ListItemWrapper:Gn.A},props:{transaction:{type:Object,default:null},multisigTransaction:{type:Object,default:null},isMultisig:Boolean,showTransactionOwner:Boolean,hasConsensus:Boolean},setup:function(e){var t,n=(0,ce.ZN)(),a=n.getFormattedAndRoundedFiat,r=(0,bt.KR)(),i=(0,K.EW)((function(){return e.multisigTransaction||e.transaction})),s=(0,K.EW)((function(){var t,n;return null!==(n=null===(t=e.transaction)||void 0===t?void 0:t.protocol)&&void 0!==n?n:o.yv.aeternity})),u=(0,K.EW)((function(){var t,n,a;return e.multisigTransaction?null===(n=null===(t=e.multisigTransaction)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.senderId:null===(a=e.transaction)||void 0===a?void 0:a.transactionOwner})),c=(0,ce.my)({transaction:i.value,externalAddress:u.value}),l=c.direction,d=c.isDexPool,p=c.isErrorTransaction,v=c.transactionAssets,f=(0,K.EW)((function(){return e.multisigTransaction?{name:Ye.Ie}:{name:e.isMultisig?Ye.tX:Ye.iB,params:{hash:e.transaction.hash,transactionOwner:e.transaction.transactionOwner||""}}})),m=(0,K.EW)((function(){var e,t=null===(e=v.value)||void 0===e?void 0:e.find((function(e){var t=e.assetType;return t===o.Dd.coin}));return!t||p.value||d.value||!t.protocol?0:a(+(0,L.k0)(t.decimals?(0,L.Y9)(t.amount||0,-t.decimals):t.amount),t.protocol)}));return(0,K.sV)((function(){t=(0,L.mX)((function(){var t;r.value=(null===(t=e.transaction)||void 0===t?void 0:t.microTime)?(0,L.d6)(Ze()(e.transaction.microTime).toISOString()):void 0}),5e3)})),(0,K.xo)((function(){clearInterval(t)})),{redirectRoute:f,fiatAmount:m,transactionDate:r,isErrorTransaction:p,currentTransaction:i,transactionAssets:v,transactionProtocol:s,transactionOwner:u,direction:l,formatDate:L.Yq,formatTime:L.fU}}}),ia=(0,Ft.A)(oa,[["render",En],["__scopeId","data-v-5d0ffd7a"]]),sa=ia;var ua=n(54598),ca={class:"infinite-scroll"};function la(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",ca,[(0,K.RG)(e.$slots,"default",{},void 0,!0)])}var da=n(53368);const pa=(0,K.pM)({name:"InfiniteScroll",emits:["load-more"],setup:function(e,t){var n=t.emit,a=(0,da.k)(),r=a.viewportElement,o=a.onViewportScroll;(0,K.wB)(r,(function(){o((function(e){var t=e.isOutsideOfViewport;t&&n("load-more")}))}),{immediate:!0})}}),va=(0,Ft.A)(pa,[["render",la],["__scopeId","data-v-f3c3c2da"]]),fa=va;var ma=n(89460),ga=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const ha=(0,K.pM)({components:{TransactionListItem:sa,AnimatedSpinner:ua.A,InfiniteScroll:fa,MessageOffline:wn.A,IonContent:Fe.W9,BackToTop:ma.A},props:{transactions:{type:Array,default:function(){return[]}},isLoading:Boolean,isEndReached:Boolean,isMultisig:Boolean},emits:["load-more"],setup:function(e,t){var n=t.emit,a=(0,yn.s9)(),r=a.t,i=(0,ce.oV)(),u=i.accounts,c=i.activeAccount,l=(0,ce.CP)(),d=l.dexContracts,p=(0,ce.w5)(),v=p.isOnline,f=(0,ce.J$)(),m=f.setScrollConf,g=(0,ce.kW)(),h=g.initViewport,A=g.viewportElement,k=(0,ce.Y7)(),y=k.getTxAssetSymbol,b=(0,ce.QR)(),w=b.searchPhrase,C=b.displayMode,x=b.FILTER_MODE,S=(0,bt.KR)(),E=(0,bt.KR)(0),I=(0,K.EW)((function(){var e;return null===(e=S.value)||void 0===e?void 0:e.parentElement})),W=(0,K.EW)((function(){return w.value.toLocaleLowerCase()}));function F(e){return e.filter((function(e){var t=e.tx,n=e.tx?(0,_.Bd)(e.tx):null,a=(0,_.c0)(n),i=(0,_._B)(n,d.value),s=(0,_.qE)((null===t||void 0===t?void 0:t.payerId)?t:n,e.transactionOwner||(0,_.Sl)(c.value,u.value,n)!==T.Zi.current&&a||c.value.address);switch(C.value.key){case x.all:return!0;case x.dex:return i;case x.out:return s===o.NX.sent&&!i;case x["in"]:return s===o.NX.received;default:throw new Error("".concat(r("pages.recentTransactions.unknownMode")," ").concat(C.value.key))}}))}function D(e){return e.filter((function(e){var t,n,a;return!w.value||(null===(n=null===(t=e.tx)||void 0===t?void 0:t.contractId)||void 0===n?void 0:n.includes(W.value))||(null===(a=y(e))||void 0===a?void 0:a.toLocaleLowerCase().includes(W.value))}))}var B=(0,K.EW)((function(){return(0,L.Fs)([F,D,L.jL])(e.transactions)}));function P(){e.isLoading||n("load-more")}function O(){return ga(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,K.dY)();case 2:return t.next=4,(0,L.mU)((function(){return!e.isLoading}));case 4:A.value&&(n=A.value,a=n.scrollHeight,r=n.scrollTop,o=n.clientHeight,a-r<=o+100&&(P(),e.isEndReached||O()));case 5:case"end":return t.stop()}}),t)})))}function M(){return(0,bn.A)((function(){var e,t;E.value=null!==(t=null===(e=null===I||void 0===I?void 0:I.value)||void 0===e?void 0:e.scrollTop)&&void 0!==t?t:0}),200)}return(0,K.wB)(E,(function(e){return m(e>=o.OO)})),(0,K.wB)(C,(function(){return O()})),(0,K.sV)((function(){m(!1),h(I.value),S.value&&I.value&&I.value.addEventListener("scroll",M())})),(0,K.hi)((function(){return m(!1)})),{activeAccount:c,isOnline:v,loadMore:P,innerScrollElem:S,filteredTransactions:B,getMultisigTransaction:_.jO,getTransaction:_.xw}}}),Aa=(0,Ft.A)(ha,[["render",kn],["__scopeId","data-v-0c1013d8"]]),ka=Aa;var ya=!1;const ba=(0,K.pM)({components:{IonPage:Fe.AO,TransactionList:ka},setup:function(){var e=(0,ce.oV)(),t=e.activeAccount,n=(0,ce._8)({accountAddress:t.value.address,protocol:t.value.protocol}),a=n.transactionsLoadedAndPending,r=n.isEndReached,o=n.isLoading,i=n.loadCurrentPageTransactions,s=n.initializeTransactionListPolling,u=n.stopTransactionListPolling,c=(0,bt.KR)(!1);return(0,Fe.UO)((function(){c.value=!0,ya||(s(),ya=!0)})),(0,Fe.r0)((function(){c.value=!1,u(),ya=!1})),(0,K.hi)((function(){c.value=!1,u(),ya=!1})),{isPageActive:c,isLoading:o,isEndReached:r,transactionsLoadedAndPending:a,loadCurrentPageTransactions:i}}}),wa=(0,Ft.A)(ba,[["render",mn]]),Ca=wa;function xa(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("BalanceInfo"),u=(0,K.g2)("OpenTransferReceiveModalButton"),c=(0,K.g2)("OpenTransferSendModalButton"),l=(0,K.g2)("BtnBox"),d=(0,K.g2)("AccountDetailsNavigation"),p=(0,K.g2)("AccountDetailsBase"),v=(0,K.g2)("IonContent"),f=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(f,null,{default:(0,K.k6)((function(){return[(0,K.bF)(v,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[e.activeMultisigAccount&&e.isPageActive?((0,K.uX)(),(0,K.Wv)(p,{key:0,"without-default-buttons":""},{"account-info":(0,K.k6)((function(){return[(0,K.bF)(i,{account:e.convertMultisigAccountToAccount(e.activeMultisigAccount),"is-multisig":"","show-protocol-icon":"","can-copy-address":""},null,8,["account"])]})),balance:(0,K.k6)((function(){return[(0,K.bF)(s,{balance:+(e.activeMultisigAccount.balance||0),protocol:e.PROTOCOLS.aeternity},null,8,["balance","protocol"])]})),buttons:(0,K.k6)((function(){return[(0,K.bF)(u,{"is-multisig":""}),(0,K.bF)(c,{"is-multisig":""}),e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(l,{key:0,icon:e.CreditCardIcon,text:e.$t("common.buy"),href:e.simplexLink},null,8,["icon","text","href"])):(0,K.Q3)("",!0)]})),navigation:(0,K.k6)((function(){return[(0,K.bF)(d,{"route-names":[e.ROUTE_MULTISIG_DETAILS,e.ROUTE_MULTISIG_DETAILS_INFO,e.ROUTE_MULTISIG_DETAILS_ASSETS]},null,8,["route-names"])]})),_:1})):(0,K.Q3)("",!0)]})),_:1})]})),_:1})}var La=n(28645),Sa=n(58071),Ta=n(39098),Ea=n(20756),Ia=n(94449),_a=n(15653),Wa=n(65568),Fa=n(45799);const Da=(0,K.pM)({components:{OpenTransferSendModalButton:Wa.A,BtnBox:La.A,OpenTransferReceiveModalButton:_a.A,AccountDetailsNavigation:Ia.A,BalanceInfo:Ea.A,AccountInfo:Ta.A,AccountDetailsBase:Sa.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,bt.KR)(!1),t=(0,ce.ci)(),n=t.activeMultisigAccount,a=(0,K.EW)((function(){return n.value?(0,_.hj)(n.value.gaAccountId):""}));return(0,Fe.UO)((function(){e.value=!0})),(0,Fe.r0)((function(){e.value=!1})),{UNFINISHED_FEATURES:o.s4,PROTOCOLS:o.yv,ROUTE_MULTISIG_DETAILS:Ye.uc,ROUTE_MULTISIG_DETAILS_INFO:Ye.n3,ROUTE_MULTISIG_DETAILS_ASSETS:Ye.kb,activeMultisigAccount:n,isPageActive:e,simplexLink:a,CreditCardIcon:Fa.A,convertMultisigAccountToAccount:_.dT}}}),Ba=(0,Ft.A)(Da,[["render",xa]]),Pa=Ba;var Oa={class:"multisig-token-list-wrapper"};function Ma(e,t,n,a,r,o){var i=(0,K.g2)("AssetList"),s=(0,K.g2)("BackToTop"),u=(0,K.g2)("IonContent"),c=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(c,null,{default:(0,K.k6)((function(){return[(0,K.bF)(u,{class:"ion-padding ion-content-bg--lighter"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Oa,[(0,K.bF)(i,{"search-term":e.searchPhrase,"is-multisig":""},null,8,["search-term"])]),(0,K.bF)(s)]})),_:1})]})),_:1})}var Ra=n(50118);const Na=(0,K.pM)({components:{AssetList:Ra.A,IonPage:Fe.AO,IonContent:Fe.W9,BackToTop:ma.A},props:{showFilters:Boolean},setup:function(){var e=(0,ce.QR)(),t=e.searchPhrase;return{searchPhrase:t}}}),Ua=(0,Ft.A)(Na,[["render",Ma],["__scopeId","data-v-d304c11c"]]),Xa=Ua;function Va(e,t,n,a,r,o){var i=(0,K.g2)("TransactionList"),s=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(s,null,{default:(0,K.k6)((function(){return[e.isPageActive?((0,K.uX)(),(0,K.Wv)(i,{key:0,"is-multisig":"",transactions:e.transactionList,"is-loading":e.isLoading,"is-end-reached":e.isEndReached,onLoadMore:t[0]||(t[0]=function(t){return e.loadCurrentPageTransactions()})},null,8,["transactions","is-loading","is-end-reached"])):(0,K.Q3)("",!0)]})),_:1})}var Ha=!1;const $a=(0,K.pM)({components:{IonPage:Fe.AO,TransactionList:ka},setup:function(){var e,t=(0,ce.ci)(),n=t.activeMultisigAccount,a=(0,ce.ju)(),r=a.pendingMultisigTransaction,i=(0,ce._8)({accountAddress:null===(e=n.value)||void 0===e?void 0:e.gaAccountId,protocol:o.yv.aeternity}),s=i.transactionsLoaded,u=i.isLoading,c=i.isEndReached,l=i.initializeTransactionListPolling,d=i.loadCurrentPageTransactions,p=i.stopTransactionListPolling,v=(0,bt.KR)(!1),f=(0,K.EW)((function(){return[].concat((0,te.A)(r.value?[r.value]:[]),(0,te.A)(s.value))}));return(0,Fe.UO)((function(){v.value=!0,Ha||(l(),Ha=!0)})),(0,Fe.r0)((function(){v.value=!1,p(),Ha=!1})),(0,K.hi)((function(){v.value=!1,p(),Ha=!1})),{isPageActive:v,isLoading:u,isEndReached:c,transactionList:f,loadCurrentPageTransactions:d}}}),ja=(0,Ft.A)($a,[["render",Va]]),Ka=ja;function qa(e,t,n,a,r,o){var i=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(i)}var Ga=n(39262),Qa=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Za=(0,K.pM)({name:"Address",components:{IonPage:Fe.AO},setup:function(){var e=this,t=(0,ce.CP)(),n=t.nodeNetworkId,a=(0,ce.si)(),r=a.openCallbackOrGoHome,i=a.callbackOrigin,u=(0,ce.oV)(),c=u.activeAccount,l=(0,ce.U8)(),d=l.openModal,p=(0,K.EW)((function(){return i.value?{name:i.value.hostname,url:i.value.origin,host:i.value.host}:{}}));(0,K.sV)((function(){return Qa(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d(o.kV,{access:[o.jA],app:p.value});case 3:r(!0,{address:c.value.address,networkId:n.value}),e.next=10;break;case 6:e.prev=6,e.t0=e["catch"](0),r(!1),e.t0 instanceof Ga.v&&(0,L.fY)(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,6]])})))}))}}),Ya=(0,Ft.A)(Za,[["render",qa]]),za=Ya;function Ja(e,t,n,a,r,o){var i=(0,K.g2)("AccountCard"),s=(0,K.g2)("AccountSwiper"),u=(0,K.g2)("OpenTransferReceiveModalButton"),c=(0,K.g2)("OpenTransferSendModalButton"),l=(0,K.g2)("LatestTransactionsCard"),d=(0,K.g2)("DashboardCard"),p=(0,K.g2)("DashboardBase"),v=(0,K.g2)("IonContent"),f=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(f,null,{default:(0,K.k6)((function(){return[(0,K.bF)(v,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"dashboard",accounts:e.accounts,"accounts-select-options":e.accountsSelectOptions,"active-account-address":e.activeAccount.address,"active-idx":e.activeAccountGlobalIdx,"balances-total":e.accountsTotalBalance,onSelectAccount:t[1]||(t[1]=function(t){return e.setActiveAccountByAddress(t)})},{swiper:(0,K.k6)((function(){return[(0,K.bF)(s,{"active-idx":e.activeAccountGlobalIdx,"address-list":e.accountsAddressList,onSelectAccount:t[0]||(t[0]=function(t){return e.setActiveAccountByGlobalIdx(t)})},{slide:(0,K.k6)((function(t){var n=t.index,a=t.selected;return[(0,K.bF)(i,{account:e.accounts[n],selected:a,idx:n,to:{name:e.ROUTE_ACCOUNT_DETAILS}},null,8,["account","selected","idx","to"])]})),_:1},8,["active-idx","address-list"])]})),buttons:(0,K.k6)((function(){return[(0,K.bF)(u,{"is-big":""}),(0,K.bF)(c,{"is-big":""})]})),cards:(0,K.k6)((function(){return[(0,K.bF)(l),e.IS_MOBILE_APP||e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(d,{key:0,title:e.$t("dashboard.daeppBrowserCard.title"),description:e.$t("dashboard.daeppBrowserCard.description"),"btn-text":e.$t("dashboard.daeppBrowserCard.button"),background:e.daeppBrowserBackground,icon:e.GlobeIcon,to:{name:e.ROUTE_APPS_BROWSER},"card-id":e.DASHBOARD_CARD_ID.daeppBrowser},null,8,["title","description","btn-text","background","icon","to","card-id"])):(0,K.Q3)("",!0),e.isNodeMainnet&&e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(d,{key:1,title:e.$t("dashboard.buyCard.title"),description:e.$t("dashboard.buyCard.description"),"btn-text":e.$t("dashboard.buyCard.button"),background:e.buyBackground,icon:e.CardIcon,href:e.activeAccountSimplexLink,"card-id":e.DASHBOARD_CARD_ID.buyAe},null,8,["title","description","btn-text","background","icon","href","card-id"])):(0,K.Q3)("",!0),(e.isNodeMainnet||e.isNodeTestnet)&&e.activeAccount.protocol===e.PROTOCOLS.aeternity?((0,K.uX)(),(0,K.Wv)(d,{key:2,title:e.$t("dashboard.nameCard.title"),description:e.$t("dashboard.nameCard.description"),"btn-text":e.$t("dashboard.nameCard.button"),background:e.chainNameBackground,icon:e.MenuCardIcon,to:{name:e.ROUTE_ACCOUNT_DETAILS_NAMES_CLAIM},"card-id":e.DASHBOARD_CARD_ID.claimName,variant:"purple"},null,8,["title","description","btn-text","background","icon","to","card-id"])):(0,K.Q3)("",!0)]})),_:1},8,["accounts","accounts-select-options","active-account-address","active-idx","balances-total"])]})),_:1})]})),_:1})}var er=n(75220);function tr(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("BalanceInfo"),u=(0,K.g2)("AccountCardTotalTokens"),c=(0,K.g2)("AccountCardBase");return(0,K.uX)(),(0,K.Wv)(c,{class:"account-card",selected:e.selected,address:e.account.address},{top:(0,K.k6)((function(){return[(0,K.bF)(i,{account:e.account,"avatar-borderless":"","show-protocol-icon":""},null,8,["account"])]})),middle:(0,K.k6)((function(){return[(0,K.bF)(s,{balance:e.numericBalance,protocol:e.account.protocol},null,8,["balance","protocol"])]})),bottom:(0,K.k6)((function(){return[(0,K.bF)(u,{account:e.account},null,8,["account"])]})),_:1},8,["selected","address"])}var nr={key:0,class:"account-card-total-tokens"},ar={class:"total-tokens"},rr={class:"digit"},or={class:"wording"};function ir(e,t,n,a,r,o){return e.hasTokensSupport&&e.isOnline?((0,K.uX)(),(0,K.CE)("div",nr,[(0,K.Lk)("div",ar,[(0,K.Lk)("span",rr,(0,tt.v_)(e.totalTokens),1),(0,K.Lk)("span",or,(0,tt.v_)(e.$t("pages.fungible-tokens.tokens",e.totalTokens)),1)])])):(0,K.Q3)("",!0)}const sr=(0,K.pM)({props:{account:{type:Object,required:!0}},setup:function(e){var t=(0,ce.w5)(),n=t.isOnline,a=(0,ce.Y7)(),r=a.getAccountTokenBalances,o=i.C.getAdapter(e.account.protocol),s=o.hasTokensSupport,u=(0,K.EW)((function(){return r(e.account.address).length}));return{isOnline:n,hasTokensSupport:s,totalTokens:u}}}),ur=(0,Ft.A)(sr,[["render",ir],["__scopeId","data-v-35e45495"]]),cr=ur;var lr={class:"top"},dr={class:"middle"},pr={class:"bottom"};function vr(e,t,n,a,r,o){var i=(0,K.g2)("BtnBase");return(0,K.uX)(),(0,K.Wv)(i,{"data-cy":"account-card-base",class:(0,tt.C4)(["account-card-base",{active:e.selected&&!e.pending}]),to:e.to,disabled:!e.selected||e.pending,"bg-color":e.color,variant:e.color?void 0:"dark"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",lr,[(0,K.RG)(e.$slots,"top",{},void 0,!0)]),(0,K.Lk)("div",dr,[(0,K.RG)(e.$slots,"middle",{},void 0,!0)]),(0,K.Lk)("div",pr,[(0,K.RG)(e.$slots,"bottom",{},void 0,!0)])]})),_:3},8,["class","to","disabled","bg-color","variant"])}var fr={selected:Boolean,pending:Boolean};const mr=(0,K.pM)({components:{BtnBase:Mt.Ay},props:Object.assign({address:{type:String,default:""},to:{type:Object,default:null}},fr),setup:function(e){var t=(0,K.EW)((function(){return e.address?(0,L.cr)(e.address):void 0}));return{color:t}}}),gr=(0,Ft.A)(mr,[["render",vr],["__scopeId","data-v-69ea429a"]]),hr=gr,Ar=(0,K.pM)({components:{AccountCardBase:hr,AccountCardTotalTokens:cr,AccountInfo:Ta.A,BalanceInfo:Ea.A},props:Object.assign({account:{type:Object,required:!0}},fr),setup:function(e){var t=(0,ce.ty)(),n=t.getAccountBalance,a=(0,K.EW)((function(){return n(e.account.address).toNumber()}));return{numericBalance:a}}}),kr=(0,Ft.A)(Ar,[["render",tr]]),yr=kr;var br={class:"account-swiper"},wr={class:"account-swiper-bottom"};function Cr(e,t,n,a,r,o){var i=(0,K.g2)("SwiperSlide"),s=(0,K.g2)("AccountCardAdd"),u=(0,K.g2)("Swiper"),c=(0,K.g2)("ChevronIcon"),l=(0,K.g2)("BtnPlain"),d=(0,K.g2)("BulletSwitcher"),p=(0,K.g2)("ToggleMultisigButton");return(0,K.uX)(),(0,K.CE)("div",br,[(0,K.Lk)("div",{class:(0,tt.C4)(["swiper-wrapper",{"is-swiping":e.isSwiping}])},[(0,K.bF)(u,{ref:"customSwiper",class:"swiper","slides-per-view":1.1,"space-between":8,"centered-slides":!0,virtual:"",onSlideChange:e.onSlideChange,onSliderFirstMove:t[0]||(t[0]=function(t){return e.isSwiping=!0}),onTouchEnd:t[1]||(t[1]=function(t){return e.isSwiping=!1})},{default:(0,K.k6)((function(){return[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.addressList,(function(t,n){return(0,K.uX)(),(0,K.Wv)(i,{key:t,"swiper-ref":e.customSwiper,"virtual-index":n,class:"account-swiper-slide"},{default:(0,K.k6)((function(){return[(0,K.RG)(e.$slots,"slide",{index:n,selected:n===e.activeIdx},void 0,!0)]})),_:2},1032,["swiper-ref","virtual-index"])})),128)),(0,K.bF)(i,{class:"account-swiper-slide","virtual-index":e.addressList.length,"swiper-ref":e.customSwiper},{default:(0,K.k6)((function(){return[(0,K.bF)(s,{"is-multisig":e.isMultisig,idx:e.addressList.length,selected:""},null,8,["is-multisig","idx"])]})),_:1},8,["virtual-index","swiper-ref"])]})),_:3},8,["onSlideChange"]),e.IS_MOBILE_APP?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.bF)(We.eB,{name:"fade-transition-slow"},{default:(0,K.k6)((function(){return[e.isSwiping||0===e.currentIdx?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(l,{key:0,class:"nav-btn prev","data-cy":"account-card-btn-prev",onClick:t[2]||(t[2]=(0,We.D$)((function(t){return e.setCurrentSlide(e.currentIdx-1)}),["prevent"]))},{default:(0,K.k6)((function(){return[(0,K.bF)(c)]})),_:1}))]})),_:1}),(0,K.bF)(We.eB,{name:"fade-transition-slow"},{default:(0,K.k6)((function(){return[!e.isSwiping&&e.currentIdxXr})),n=(0,K.EW)((function(){var n;return n=e.currentIdx=e.optionsSize-1?e.optionsSize-5:e.currentIdx-Ur,-n*Nr}));function a(t){return Math.abs(e.currentIdx-t)-(0===e.currentIdx?1:0)}function r(e){return!!t.value&&2===a(e)}function o(e){return!!t.value&&a(e)>2}return{BULLET_SIZE:Nr,translateXValue:n,isMedium:r,isSmall:o}}}),Hr=(0,Ft.A)(Vr,[["render",Mr],["__scopeId","data-v-27e20eff"]]),$r=Hr;var jr={class:"text"},Kr={key:0,class:"has-pending"},qr={class:"text"};function Gr(e,t,n,a,r,o){var i=(0,K.g2)("ArrowBackIcon"),s=(0,K.g2)("PendingIcon"),u=(0,K.g2)("BtnPlain");return e.multisigAccounts.length?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"multisig-button",onClick:t[0]||(t[0]=function(t){return e.toggleMultisigDashboard(!e.isMultisig)})},{default:(0,K.k6)((function(){return[e.isMultisig?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.bF)(i,{class:"icon-back"}),(0,K.Lk)("span",jr,(0,tt.v_)(e.$t("multisig.backToMainAccounts")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[e.hasPendingMultisigTransaction?((0,K.uX)(),(0,K.CE)("div",Kr,[(0,K.bF)(s,{class:"icon-pending"}),(0,K.Lk)("span",null,(0,tt.v_)(e.$t("common.tx")),1)])):(0,K.Q3)("",!0),(0,K.Lk)("span",qr,(0,tt.v_)(e.$t("multisig.showMultisigVaults")),1)],64))]})),_:1})):(0,K.Q3)("",!0)}n(15086);var Qr={viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Zr=(0,K.Lk)("path",{d:"M3.44995 12.0045C3.44995 12.2753 3.56729 12.5461 3.7749 12.7447L9.73235 18.6931C9.94898 18.9007 10.1837 19 10.4454 19C11.0141 19 11.4293 18.5938 11.4293 18.0432C11.4293 17.7544 11.321 17.5106 11.1314 17.3301L9.1005 15.2721L6.48283 12.8801L8.58599 13.0064H19.526C20.1218 13.0064 20.537 12.5912 20.537 12.0045C20.537 11.4088 20.1218 10.9936 19.526 10.9936H8.58599L6.49186 11.1199L9.1005 8.72792L11.1314 6.66989C11.321 6.48936 11.4293 6.24565 11.4293 5.9568C11.4293 5.40619 11.0141 5 10.4454 5C10.1837 5 9.93996 5.09929 9.70527 5.32495L3.7749 11.2553C3.56729 11.4539 3.44995 11.7247 3.44995 12.0045Z"},null,-1),Yr=[Zr];function zr(e,t){return(0,K.uX)(),(0,K.CE)("svg",Qr,Yr)}const Jr={},eo=(0,Ft.A)(Jr,[["render",zr]]),to=eo,no=(0,K.pM)({components:{BtnPlain:Rr.A,PendingIcon:Vn.A,ArrowBackIcon:to},props:{isMultisig:Boolean},setup:function(){var e=(0,er.rd)(),t=(0,ce.ci)(),n=t.multisigAccounts,a=(0,K.EW)((function(){return n.value.some((function(e){return e.hasPendingTransaction}))}));function r(t){e.push({name:t?Ye.zn:Ye.qJ})}return{multisigAccounts:n,hasPendingMultisigTransaction:a,toggleMultisigDashboard:r}}}),ao=(0,Ft.A)(no,[["render",Gr],["__scopeId","data-v-34a0d63e"]]),ro=ao;var oo=n(46841),io=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};Lr.A.use([Sr.AV]);const so=(0,K.pM)({components:{ToggleMultisigButton:ro,BulletSwitcher:$r,BtnPlain:Rr.A,Swiper:xr.RC,SwiperSlide:xr.qr,AccountCardAdd:Dr,ChevronIcon:oo.A},props:{activeIdx:{type:Number,required:!0},addressList:{type:Array,required:!0},isMultisig:Boolean},emits:{"select-account":function(e){return!0}},setup:function(e,t){var n=t.emit,a=(0,bt.KR)(),r=(0,bt.KR)(0),i=(0,bt.KR)(!1),u=(0,K.EW)((function(){var e;return null===(e=a.value)||void 0===e?void 0:e.$el.swiper}));function c(e,t){return io(this,void 0,void 0,(0,s.A)().mark((function n(){return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(e>-1&&r.value!==e)){n.next=4;break}return n.next=3,(0,K.dY)();case 3:u.value.slideTo(e,t);case 4:case"end":return n.stop()}}),n)})))}function l(){var t=u.value.activeIndex;t=0&&n("select-account",t),r.value!==t&&(r.value=t)}function d(t){return(0,L.cr)(e.addressList[t])}return(0,K.sV)((function(){e.activeIdx&&c(e.activeIdx,0),(0,K.wB)((function(){return e.activeIdx}),(function(e){c(e,0)}))})),{IS_MOBILE_APP:o.I$,PROTOCOLS:o.yv,currentIdx:r,customSwiper:a,isSwiping:i,getAccountColor:d,onSlideChange:l,setCurrentSlide:c}}}),uo=(0,Ft.A)(so,[["render",Cr],["__scopeId","data-v-62def7db"]]),co=uo;var lo={class:"dashboard-base"},po={class:"dashboard-header"},vo={key:0,class:"dashboard-header-info"},fo={class:"account-number"},mo={class:"account-number-current"},go={class:"dashboard-base-swiper"},ho={class:"dashboard-base-cards"},Ao={key:0,class:"buttons-row"};function ko(e,t,n,a,r,o){var i=(0,K.g2)("TotalWalletAmount"),s=(0,K.g2)("FormSelect"),u=(0,K.g2)("BtnPill"),c=(0,K.g2)("DashboardCard");return(0,K.uX)(),(0,K.CE)("div",lo,[(0,K.Lk)("div",po,[e.accounts.length>1?((0,K.uX)(),(0,K.CE)("div",vo,[(0,K.bF)(i,{"total-balance":e.balancesTotal,"is-multisig":e.isMultisig,class:"total-amount"},null,8,["total-balance","is-multisig"]),(0,K.bF)(u,{class:"account-select-btn",hollow:""},{default:(0,K.k6)((function(){return[e.accounts.length>5&&e.accountsSelectOptions?((0,K.uX)(),(0,K.Wv)(s,{key:0,"default-text":e.$t("dashboard.selectAccount"),options:e.accountsSelectOptions,"model-value":e.activeAccountAddress,class:"account-select-input",unstyled:"","account-select":"","onUpdate:modelValue":t[0]||(t[0]=function(t){return e.$emit("select-account",t)})},{"current-text":(0,K.k6)((function(){return[(0,K.Lk)("div",fo,[(0,K.Lk)("span",mo,(0,tt.v_)(e.activeIdx+1),1),(0,K.eW)(" / "+(0,tt.v_)(e.accounts.length),1)])]})),_:1},8,["default-text","options","model-value"])):(0,K.Q3)("",!0)]})),_:1})])):(0,K.Q3)("",!0)]),(0,K.Lk)("div",go,[(0,K.RG)(e.$slots,"swiper",{},void 0,!0)]),(0,K.Lk)("div",ho,[e.$slots.buttons?((0,K.uX)(),(0,K.CE)("div",Ao,[(0,K.RG)(e.$slots,"buttons",{},void 0,!0)])):(0,K.Q3)("",!0),(0,K.RG)(e.$slots,"widgets",{},void 0,!0),e.isSeedBackedUp?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(c,{key:1,title:e.$t("dashboard.backUpCard.title"),description:e.$t("dashboard.backUpCard.description"),"btn-text":e.$t("dashboard.backUpCard.button"),icon:e.WarningTriangleIcon,to:{name:"settings-seed-phrase"},"data-cy":"backup-seed-phrase",variant:"danger"},null,8,["title","description","btn-text","icon"])),(0,K.RG)(e.$slots,"cards",{},void 0,!0)])])}function yo(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain"),s=(0,K.g2)("Card");return(0,K.uX)(),(0,K.Wv)(s,{class:"dashboard-card",text:e.title,description:e.description,background:e.background,icon:e.icon,"card-id":e.cardId},{default:(0,K.k6)((function(){return[(0,K.bF)(i,{class:"card-button",text:e.btnText,href:e.href,to:e.to,variant:e.variant,inline:""},null,8,["text","href","to","variant"])]})),_:1},8,["text","description","background","icon","card-id"])}var bo={class:"text"},wo={class:"description"},Co={key:1,class:"card-close"};function xo(e,t,n,a,r,o){var i=(0,K.g2)("IconWrapper"),s=(0,K.g2)("BtnIcon");return(0,K.uX)(),(0,K.Wv)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.isVisible?((0,K.uX)(),(0,K.CE)("div",{key:0,class:(0,tt.C4)(["card",{dense:e.dense,disabled:e.disabled}]),style:(0,tt.Tr)(e.styleComponent)},[e.icon?((0,K.uX)(),(0,K.Wv)(i,{key:0,icon:e.icon,class:"card-icon","is-boxed":""},null,8,["icon"])):(0,K.Q3)("",!0),(0,K.Lk)("div",null,[(0,K.Lk)("div",bo,(0,tt.v_)(e.text),1),(0,K.Lk)("div",wo,(0,tt.v_)(e.description),1),(0,K.RG)(e.$slots,"default",{},void 0,!0)]),e.cardId?((0,K.uX)(),(0,K.CE)("div",Co,[(0,K.bF)(s,{"icon-variant":"light",icon:e.CloseIcon,onClick:t[0]||(t[0]=function(t){return e.setCardHidden(e.cardId)})},null,8,["icon"])])):(0,K.Q3)("",!0)],6)):(0,K.Q3)("",!0)]})),_:3})}var Lo=n(94622),So={viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},To=(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z"},null,-1),Eo=(0,K.Lk)("path",{fill:"currentColor",d:"M27.7783 29.1924C27.5907 29.3799 27.3364 29.4853 27.0712 29.4853C26.806 29.4853 26.5516 29.3799 26.3641 29.1924L20.0001 22.8284L13.6361 29.1924C13.4486 29.3799 13.1943 29.4853 12.929 29.4853C12.6638 29.4853 12.4095 29.3799 12.2219 29.1924L10.8077 27.7782C10.6202 27.5906 10.5148 27.3363 10.5148 27.0711C10.5148 26.8059 10.6202 26.5515 10.8077 26.364L17.1717 20L10.8077 13.636C10.6202 13.4485 10.5148 13.1941 10.5148 12.9289C10.5148 12.6637 10.6202 12.4094 10.8077 12.2218L12.2219 10.8076C12.4095 10.6201 12.6638 10.5147 12.929 10.5147C13.1943 10.5147 13.4486 10.6201 13.6361 10.8076L20.0001 17.1716L26.3641 10.8076C26.5516 10.6201 26.806 10.5147 27.0712 10.5147C27.3364 10.5147 27.5907 10.6201 27.7783 10.8076L29.1925 12.2218C29.38 12.4094 29.4854 12.6637 29.4854 12.9289C29.4854 13.1941 29.38 13.4485 29.1925 13.636L22.8285 20L29.1925 26.364C29.38 26.5515 29.4854 26.8059 29.4854 27.0711C29.4854 27.3363 29.38 27.5906 29.1925 27.7782L27.7783 29.1924Z"},null,-1),Io=[To,Eo];function _o(e,t){return(0,K.uX)(),(0,K.CE)("svg",So,Io)}const Wo={},Fo=(0,Ft.A)(Wo,[["render",_o]]),Do=Fo;var Bo=n(58411);const Po=(0,K.pM)({name:"Card",components:{BtnIcon:Lo.A,IconWrapper:Bo.Ay},props:{text:{type:String,required:!0},description:{type:String,required:!0},background:{type:String,default:null},cardId:{type:String,default:null},icon:{type:Object,default:null},dense:Boolean,disabled:Boolean},setup:function(e){var t=(0,ce.mv)(),n=t.hiddenCards,a=t.setCardHidden,r=(0,K.EW)((function(){return{backgroundImage:e.background?'url("'.concat(e.background,'")'):null}})),o=(0,K.EW)((function(){return!(e.cardId&&n.value.includes(e.cardId))}));return{CloseIcon:Do,styleComponent:r,isVisible:o,hiddenCards:n,setCardHidden:a}}}),Oo=(0,Ft.A)(Po,[["render",xo],["__scopeId","data-v-d2868f74"]]),Mo=Oo;var Ro=n(24574);const No=(0,K.pM)({components:{BtnMain:Ro.A,Card:Mo},props:{title:{type:String,required:!0},description:{type:String,required:!0},btnText:{type:String,required:!0},background:{type:String,default:null},variant:{type:String,default:"secondary"},href:{type:String,default:null},cardId:{type:String,default:null},to:{type:Object,default:null},icon:{type:Object,default:null}}}),Uo=(0,Ft.A)(No,[["render",yo],["__scopeId","data-v-153553d6"]]),Xo=Uo;var Vo={class:"total-amount"},Ho=["textContent"],$o=["textContent"];function jo(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",Vo,[(0,K.Lk)("span",{textContent:(0,tt.v_)(e.totalAmount)},null,8,Ho),(0,K.Lk)("span",{class:"label",textContent:(0,tt.v_)(e.isMultisig?e.$t("common.totalMultisig"):e.$t("common.total"))},null,8,$o)])}const Ko=(0,K.pM)({props:{totalBalance:{type:String,default:"0"},isMultisig:Boolean},setup:function(e){var t=(0,ce.ZN)(),n=t.formatCurrency,a=(0,K.EW)((function(){return n(+e.totalBalance)}));return{totalAmount:a}}}),qo=(0,Ft.A)(Ko,[["render",jo],["__scopeId","data-v-1384e7ae"]]),Go=qo;var Qo=n(19442),Zo=n(15320),Yo={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},zo=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.5414 21.1299C21.0235 21.1299 22 20.0574 22 18.7081C22 18.3102 21.8954 17.895 21.6687 17.5145L14.1011 4.10805C13.6303 3.27775 12.8282 2.87988 12.0087 2.87988C11.1718 2.87988 10.3348 3.29503 9.88141 4.10805L2.33128 17.5145C2.10465 17.895 2 18.3102 2 18.7081C2 20.0574 2.95903 21.1299 4.44117 21.1299H19.5414ZM11.2578 7.89673C11.0889 8.06079 10.9913 8.29675 11.0006 8.58588V8.58643L11.147 13.7902C11.1567 14.0792 11.2426 14.2845 11.3796 14.418C11.5164 14.5513 11.7217 14.6299 12.0053 14.6299C12.2781 14.6299 12.475 14.554 12.6063 14.423C12.7383 14.2913 12.8224 14.0858 12.8322 13.7903L12.9995 8.59631C13.0176 8.03479 12.597 7.62988 11.9948 7.62988C11.6793 7.62988 11.4275 7.73199 11.2578 7.89673ZM13 16.8799C13 17.4322 12.5523 17.8799 12 17.8799C11.4477 17.8799 11 17.4322 11 16.8799C11 16.3276 11.4477 15.8799 12 15.8799C12.5523 15.8799 13 16.3276 13 16.8799Z",fill:"currentColor"},null,-1),Jo=[zo];function ei(e,t){return(0,K.uX)(),(0,K.CE)("svg",Yo,Jo)}const ti={},ni=(0,Ft.A)(ti,[["render",ei]]),ai=ni,ri=(0,K.pM)({name:"DashboardBase",components:{BtnPill:Zo.A,DashboardCard:Xo,FormSelect:Qo.A,TotalWalletAmount:Go},props:{accounts:{type:Array,default:function(){return[]}},accountsSelectOptions:{type:Array,default:null},activeAccountAddress:{type:String,default:""},activeIdx:{type:Number,default:0},balancesTotal:{type:String,default:null},isMultisig:Boolean},emits:{"select-account":function(e){return!0}},setup:function(){var e=(0,ce.mv)(),t=e.isSeedBackedUp;return{isSeedBackedUp:t,WarningTriangleIcon:ai}}}),oi=(0,Ft.A)(ri,[["render",ko],["__scopeId","data-v-16ddc864"]]),ii=oi;var si={key:1};function ui(e,t,n,a,r,o){var i=(0,K.g2)("BtnIcon"),s=(0,K.g2)("AnimatedSpinner"),u=(0,K.g2)("TransactionListItem"),c=(0,K.g2)("Panel");return e.showWidget?((0,K.uX)(),(0,K.Wv)(c,{key:0,ref:"latestTransactionCardEl",class:"latest-transaction-card",header:e.$t("dashboard.latestTransactionCard.title")},(0,K.eX)({default:(0,K.k6)((function(){return[(0,K.bF)(We.eB,{name:"page-transition"},{default:(0,K.k6)((function(){return[e.isLoading?((0,K.uX)(),(0,K.Wv)(s,{key:0,class:"spinner"})):((0,K.uX)(),(0,K.CE)("div",si,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.latestTransactionsToDisplay,(function(e){return(0,K.uX)(),(0,K.Wv)(u,{key:"".concat(e.transactionOwner,"-").concat(e.hash),class:"transaction-item",transaction:e,"show-transaction-owner":""},null,8,["transaction"])})),128))]))]})),_:1})]})),_:2},[e.UNFINISHED_FEATURES?{name:"header-after",fn:(0,K.k6)((function(){return[(0,K.bF)(i,{class:"btn-refresh",size:"sm",icon:e.RefreshIcon,loading:e.areLatestTransactionsUpdating,onClick:t[0]||(t[0]=function(t){return e.loadAllLatestTransactions()})},null,8,["icon","loading"])]})),key:"0"}:void 0]),1032,["header"])):(0,K.Q3)("",!0)}var ci={width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"icon"},li=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17.1347 16.3299C15.7933 18.1764 13.6251 19.3867 11.1429 19.3954C7.03276 19.404 3.74128 16.1042 3.74128 11.9933C3.74128 7.88283 7.03249 4.60011 11.1433 4.60011C14.6275 4.60011 17.5186 6.95017 18.3192 10.1671H17.1953C16.8583 10.1671 16.6035 10.2847 16.4999 10.5145C16.3989 10.7385 16.4681 11.0151 16.647 11.274L18.6293 14.097C18.7864 14.3179 18.9955 14.4474 19.2218 14.4488C19.4485 14.4502 19.6603 14.3229 19.8221 14.0974L21.7956 11.2832C21.9832 11.0203 22.0553 10.7419 21.9541 10.5159C21.8504 10.2845 21.593 10.1671 21.2564 10.1671H20.0972C19.2434 6.01898 15.521 2.84998 11.1433 2.84998C6.1497 2.84998 2 6.99068 2 11.9933C2 16.9871 6.14963 21.1366 11.1433 21.1366C14.1659 21.1366 16.8451 19.6031 18.5374 17.3115C18.8769 16.871 18.7726 16.3033 18.3553 16.0424L18.3531 16.041C17.921 15.7839 17.4306 15.9255 17.1347 16.3299Z",fill:"currentColor"},null,-1),di=[li];function pi(e,t){return(0,K.uX)(),(0,K.CE)("svg",ci,di)}const vi={},fi=(0,Ft.A)(vi,[["render",pi]]),mi=fi;var gi=3;const hi=(0,K.pM)({name:"LatestTransactionsCard",components:{Panel:Qt,TransactionListItem:sa,AnimatedSpinner:ua.A,BtnIcon:Lo.A},setup:function(){var e=(0,er.lq)(),t=(0,bt.KR)(null),n=(0,ce.w5)(),a=n.isOnline,r=(0,ce.kW)(),i=r.viewportElement,s=(0,ce.rb)(),u=s.allLatestTransactions,c=s.areLatestTransactionsUpdating,l=s.accountsTransactionsPending,d=s.loadAllLatestTransactions,p=(0,K.EW)((function(){return e.query})),v=(0,K.EW)((function(){return c.value&&!u.value.length})),f=(0,K.EW)((function(){return a.value&&(c.value||u.value.length)})),m=(0,K.EW)((function(){return u.value.slice(0,gi)}));function g(e){var n;e&&i.value&&(null===(n=t.value)||void 0===n?void 0:n.$el)&&i.value.scrollTo({top:t.value.$el.getBoundingClientRect().x+50})}return(0,K.wB)(p,(function(e){g(e.latestTxHash)})),(0,K.sV)((function(){g(p.value.latestTxHash)})),{RefreshIcon:mi,allLatestTransactions:u,accountsTransactionsPending:l,areLatestTransactionsUpdating:c,latestTransactionCardEl:t,latestTransactionsToDisplay:m,showWidget:f,isLoading:v,loadAllLatestTransactions:d,UNFINISHED_FEATURES:o.s4}}}),Ai=(0,Ft.A)(hi,[["render",ui],["__scopeId","data-v-22a905e1"]]),ki=Ai;var yi=n(84648),bi=n(65608),wi=n(18427),Ci={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",class:"icon"},xi=(0,K.Lk)("path",{d:"M5.23248,1.12932L12.7184,2.45348c.7945.14124,1.4566.36193,2.0039.66208l-.0088-.58263c-.0354-1.915617-1.3683-2.8337-3.5488-2.44528L5.23248,1.12932ZM2.54886,18.2286l9.73694,1.7126c1.845.3266,2.9838-.7239,2.9838-2.7366v-10.65506c0-1.84499-.9004-2.56004-2.7719-2.88666L3.06086,1.99444c-1.38595-.23835-2.330513.54731-2.330513,1.92444v12.19992c0,1.1829.626763,1.8979,1.818513,2.1098ZM4.30557,7.26458c-.34428-.05296-.53849-.31779-.53849-.6709c0-.42373.33545-.70622.80332-.62677l6.7885,1.19174c.362.07062.5562.28249.5562.67091c0,.42373-.309.71504-.7769.64442L4.30557,7.26458Zm0,3.61932c-.33545-.0617-.53849-.3177-.53849-.6709c0-.41486.33545-.69735.80332-.6179l6.7885,1.1917c.362.0707.5562.2825.5562.6533c0,.4414-.309.7327-.7769.6621L4.30557,10.8839Z",transform:"translate(2 0)",fill:"currentColor"},null,-1),Li=[xi];function Si(e,t){return(0,K.uX)(),(0,K.CE)("svg",Ci,Li)}const Ti={},Ei=(0,Ft.A)(Ti,[["render",Si]]),Ii=Ei,_i=n.p+"img/buy-ae.616acc4d.webp",Wi=n.p+"img/chain-name.bc49b8b5.webp",Fi=n.p+"img/aepp-browser.0207bbdb.webp",Di=(0,K.pM)({name:"Dashboard",components:{AccountCard:yr,AccountSwiper:co,DashboardBase:ii,DashboardCard:Xo,IonPage:Fe.AO,IonContent:Fe.W9,LatestTransactionsCard:ki,OpenTransferReceiveModalButton:_a.A,OpenTransferSendModalButton:Wa.A},setup:function(){var e=(0,bt.KR)(!0),t=(0,er.lq)(),n=(0,ce.oV)(),a=n.accounts,r=n.accountsAddressList,i=n.accountsSelectOptions,s=n.activeAccount,u=n.activeAccountGlobalIdx,c=n.setActiveAccountByGlobalIdx,l=n.setActiveAccountByAddress,d=(0,ce.ty)(),p=d.accountsTotalBalance,v=(0,ce.si)(),f=v.checkIfOpenTransferSendModal,m=(0,ce.CP)(),g=m.isNodeMainnet,h=m.isNodeTestnet,A=(0,K.EW)((function(){return(0,_.mV)(s.value.address)})),k=(0,K.EW)((function(){return(0,_.hj)(s.value.address)}));return(0,K.wB)((function(){return t.query}),(function(){return f(t)}),{deep:!0,immediate:!0}),(0,Fe.xX)((function(){e.value=!0})),(0,Fe.r0)((function(){e.value=!1})),{DASHBOARD_CARD_ID:o._3,IS_MOBILE_APP:o.I$,PROTOCOLS:o.yv,ROUTE_ACCOUNT_DETAILS:Ye.no,ROUTE_ACCOUNT_DETAILS_NAMES_CLAIM:Ye.PC,ROUTE_APPS_BROWSER:Ye.qC,UNFINISHED_FEATURES:o.s4,ArrowSendIcon:bi.A,ArrowReceiveIcon:yi.A,CardIcon:Fa.A,GlobeIcon:wi.A,MenuCardIcon:Ii,accounts:a,accountsAddressList:r,accountsSelectOptions:i,accountsTotalBalance:p,activeAccount:s,activeAccountSimplexLink:k,activeAccountFaucetUrl:A,activeAccountGlobalIdx:u,buyBackground:_i,chainNameBackground:Wi,daeppBrowserBackground:Fi,isNodeMainnet:g,isNodeTestnet:h,pageIsActive:e,setActiveAccountByGlobalIdx:c,setActiveAccountByAddress:l}}}),Bi=(0,Ft.A)(Di,[["render",Ja]]),Pi=Bi;function Oi(e,t,n,a,r,o){var i=(0,K.g2)("AccountCardMultisig"),s=(0,K.g2)("AccountSwiper"),u=(0,K.g2)("OpenTransferReceiveModalButton"),c=(0,K.g2)("OpenTransferSendModalButton"),l=(0,K.g2)("PendingMultisigTransactionCard"),d=(0,K.g2)("DashboardBase"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.bF)(d,{class:"dashboard-multisig","active-idx":e.multisigAccountIdx,"balances-total":e.multisigBalancesTotal,accounts:e.multisigAccounts,"is-multisig":""},{swiper:(0,K.k6)((function(){return[(0,K.bF)(s,{"active-idx":e.multisigAccountIdx,"address-list":e.addressList,"is-multisig":"",onSelectAccount:t[0]||(t[0]=function(t){return e.selectAccount(t)})},{slide:(0,K.k6)((function(t){var n=t.index,a=t.selected;return[(0,K.bF)(i,{account:e.multisigAccounts[n],pending:e.isPendingAccount(e.multisigAccounts[n]),selected:a,idx:n,to:{name:e.ROUTE_MULTISIG_DETAILS}},null,8,["account","pending","selected","idx","to"])]})),_:1},8,["active-idx","address-list"])]})),buttons:(0,K.k6)((function(){return[(0,K.bF)(u,{disabled:e.isActiveMultisigAccountPending,"is-multisig":"","is-big":""},null,8,["disabled"]),(0,K.bF)(c,{disabled:!!e.pendingMultisigTransaction||e.isActiveMultisigAccountPending,"is-multisig":"","is-big":""},null,8,["disabled"])]})),widgets:(0,K.k6)((function(){return[(0,K.bF)(l)]})),_:1},8,["active-idx","balances-total","accounts"])]})),_:1})]})),_:1})}n(72712);var Mi={class:"pending"},Ri=["textContent"];function Ni(e,t,n,a,r,o){var i=(0,K.g2)("PendingIcon"),s=(0,K.g2)("AccountInfo"),u=(0,K.g2)("BalanceInfo"),c=(0,K.g2)("AccountCardConsensus"),l=(0,K.g2)("AccountCardBase");return(0,K.uX)(),(0,K.Wv)(l,{class:"account-card-multisig",selected:e.selected,pending:e.pending,address:e.account.gaAccountId},{top:(0,K.k6)((function(){return[(0,K.bF)(s,{account:e.convertMultisigAccountToAccount(e.account),"is-placeholder":e.pending,"is-multisig":"","avatar-borderless":"","show-protocol-icon":""},(0,K.eX)({_:2},[e.pending?{name:"address",fn:(0,K.k6)((function(){return[(0,K.Lk)("div",Mi,[(0,K.bF)(i,{class:"pending-icon"}),(0,K.Lk)("span",{class:"pending-message",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.addingToWalletCard"))},null,8,Ri)])]})),key:"0"}:void 0]),1032,["account","is-placeholder"])]})),middle:(0,K.k6)((function(){return[(0,K.bF)(u,{balance:+e.account.balance,protocol:e.PROTOCOLS.aeternity},null,8,["balance","protocol"])]})),bottom:(0,K.k6)((function(){return[e.pending?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(c,{key:0,"multisig-account":e.account},null,8,["multisig-account"]))]})),_:1},8,["selected","pending","address"])}var Ui={key:0,class:"account-card-consensus"},Xi={class:"consensus-row"},Vi={key:0,class:"consensus-row"};function Hi(e,t,n,a,r,o){var i=(0,K.g2)("PendingIcon"),s=(0,K.g2)("ConsensusLabel"),u=(0,K.g2)("CheckCircleFillIcon");return e.isOnline&&e.multisigAccount.hasPendingTransaction?((0,K.uX)(),(0,K.CE)("div",Ui,[(0,K.Lk)("div",Xi,[(0,K.bF)(i,{class:"icon pending"}),(0,K.eW)(" "+(0,tt.v_)(e.$t("multisig.consensus"))+" ",1),(0,K.bF)(s,{"confirmations-required":e.multisigAccount.confirmationsRequired,"has-pending-transaction":e.multisigAccount.hasPendingTransaction,"confirmed-by":e.multisigAccount.confirmedBy,signers:e.multisigAccount.signers,class:"highlighted"},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])]),e.transactionMessage?((0,K.uX)(),(0,K.CE)("div",Vi,[(0,K.bF)(u,{class:"icon check-circle"}),(0,K.eW)(" "+(0,tt.v_)(e.transactionMessage),1)])):(0,K.Q3)("",!0)])):(0,K.Q3)("",!0)}n(88431);var $i={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},ji=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM11.8415 16.4438C11.6011 16.7998 11.2732 17 10.8689 17C10.4754 17 10.1585 16.8331 9.86339 16.4438L7.27322 13.2403C7.09836 13.0067 7 12.762 7 12.495C7 11.9388 7.4153 11.505 7.95082 11.505C8.27869 11.505 8.54098 11.6274 8.80328 11.9722L10.8361 14.6085L15.153 7.55617C15.3825 7.17798 15.6776 7 16.0055 7C16.5191 7 17 7.36707 17 7.91212C17 8.16796 16.8689 8.43493 16.7268 8.66852L11.8415 16.4438Z",fill:"currentColor"},null,-1),Ki=[ji];function qi(e,t){return(0,K.uX)(),(0,K.CE)("svg",$i,Ki)}const Gi={},Qi=(0,Ft.A)(Gi,[["render",qi]]),Zi=Qi,Yi=(0,K.pM)({components:{ConsensusLabel:ta,PendingIcon:Vn.A,CheckCircleFillIcon:Zi},props:{multisigAccount:{type:Object,required:!0}},setup:function(e){var t=(0,yn.s9)(),n=t.t,a=(0,ce.w5)(),r=a.isOnline,o=(0,ce.oV)(),i=o.isLocalAccountAddress,s=(0,K.EW)((function(){var t=e.multisigAccount.signers.filter((function(e){return i(e)}));return t.every((function(t){return e.multisigAccount.confirmedBy.includes(t)}))})),u=(0,K.EW)((function(){var t=e.multisigAccount,a=t.confirmedBy,r=t.confirmationsRequired,o=t.signers;return a.length===r?n("multisig.transactionReady"):s.value?n("multisig.transactionSigned"):o.some((function(e){return i(e)}))?n("multisig.signatureRequested"):null}));return{isOnline:r,transactionMessage:u}}}),zi=(0,Ft.A)(Yi,[["render",Hi],["__scopeId","data-v-0f931edd"]]),Ji=zi,es=(0,K.pM)({components:{AccountCardBase:hr,AccountCardConsensus:Ji,AccountInfo:Ta.A,BalanceInfo:Ea.A,PendingIcon:Vn.A},props:Object.assign({account:{type:Object,required:!0}},fr),setup:function(){return{PROTOCOLS:o.yv,convertMultisigAccountToAccount:_.dT}}}),ts=(0,Ft.A)(es,[["render",Ni],["__scopeId","data-v-becb8358"]]),ns=ts;var as={key:1};function rs(e,t,n,a,r,o){var i,s=(0,K.g2)("AnimatedSpinner"),u=(0,K.g2)("TransactionListItem"),c=(0,K.g2)("Panel");return(null===(i=e.pendingMultisigTransaction)||void 0===i?void 0:i.tx)?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"pending-multisig-transaction-card",header:e.$t("dashboard.pendingMultisigCard.title")},{default:(0,K.k6)((function(){return[(0,K.bF)(We.eB,{name:"page-transition"},{default:(0,K.k6)((function(){return[e.isLoading?((0,K.uX)(),(0,K.Wv)(s,{key:0,class:"spinner"})):((0,K.uX)(),(0,K.CE)("div",as,[(0,K.bF)(u,{"is-multisig":"","multisig-transaction":e.pendingMultisigTransaction},null,8,["multisig-transaction"])]))]})),_:1})]})),_:1},8,["header"])):(0,K.Q3)("",!0)}const os=(0,K.pM)({components:{AnimatedSpinner:ua.A,Panel:Qt,TransactionListItem:sa},setup:function(){var e=(0,ce.ju)(),t=e.isLoading,n=e.pendingMultisigTransaction;return{isLoading:t,pendingMultisigTransaction:n}}}),is=(0,Ft.A)(os,[["render",rs],["__scopeId","data-v-8b3187dc"]]),ss=is,us=(0,K.pM)({name:"DashboardMultisig",components:{AccountCardMultisig:ns,AccountSwiper:co,OpenTransferSendModalButton:Wa.A,OpenTransferReceiveModalButton:_a.A,DashboardBase:ii,PendingMultisigTransactionCard:ss,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,bt.KR)(!0),t=(0,ce.U8)(),n=t.openModal,a=(0,ce.ci)(),r=a.multisigAccounts,i=a.activeMultisigAccountId,s=a.pendingMultisigAccounts,u=a.isActiveMultisigAccountPending,c=a.setActiveMultisigAccountId,l=(0,ce.ju)(),d=l.pendingMultisigTransaction,p=(0,K.EW)((function(){return r.value.map((function(e){return e.gaAccountId}))})),v=(0,K.EW)((function(){return r.value.findIndex((function(e){return e.gaAccountId===i.value}))})),f=(0,K.EW)((function(){return r.value.map((function(e){return e.balance})).reduce((function(e,t){return e.plus(t)}),new pe.A(0)).toFixed()}));function m(e){var t=r.value[e];t.gaAccountId&&c(t.gaAccountId)}function g(){n(o.Fv,{isMultisig:!0})}function h(e){return!!s.value.find((function(t){var n=t.gaAccountId;return n===e.gaAccountId}))}return(0,Fe.xX)((function(){e.value=!0})),(0,Fe.r0)((function(){e.value=!1})),{isActiveMultisigAccountPending:u,pendingMultisigTransaction:d,pageIsActive:e,ROUTE_MULTISIG_DETAILS:Ye.uc,ArrowSendIcon:bi.A,addressList:p,multisigAccountIdx:v,multisigAccounts:r,multisigBalancesTotal:f,openTransferSendModal:g,selectAccount:m,isPendingAccount:h}}}),cs=(0,Ft.A)(us,[["render",Oi]]),ls=cs;var ds={class:"comment-new"},ps={class:"comment-text"};function vs(e,t,n,a,r,o){var i=(0,K.g2)("AccountSelector"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("FixedScreenFooter"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",ds,[(0,K.bF)(i,{modelValue:e.creatorAddress,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.creatorAddress=t}),options:e.aeAccountsSelectOptions,onSelect:e.setActiveAccountByAddress},null,8,["modelValue","options","onSelect"]),(0,K.Lk)("div",ps,(0,tt.v_)(e.text),1),(0,K.bF)(u,null,{default:(0,K.k6)((function(){return[(0,K.bF)(s,{variant:"muted","extra-padded":"",class:"cancel-button",onClick:t[1]||(t[1]=function(t){return e.openCallbackOrGoHome(!1)})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.cancel")),1)]})),_:1}),(0,K.bF)(s,{disabled:!e.isTippingSupported,onClick:e.sendComment},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.confirm")),1)]})),_:1},8,["disabled","onClick"])]})),_:1})])]})),_:1})]})),_:1})}var fs={class:"account-selector"},ms={key:0};function gs(e,t,n,a,r,o){var i,s=(0,K.g2)("Avatar"),u=(0,K.g2)("Truncate"),c=(0,K.g2)("FormSelect"),l=(0,K.g2)("BtnPill"),d=(0,K.g2)("AddressTruncated");return(0,K.uX)(),(0,K.CE)("div",fs,[e.avatarOnly?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(s,{key:0,address:e.modelValue.toString(),size:"lg"},null,8,["address"])),(0,K.Lk)("div",null,[(0,K.bF)(l,{class:(0,tt.C4)(["account-select",{"avatar-only":e.avatarOnly}]),avatar:e.avatarOnly,dense:""},{default:(0,K.k6)((function(){return[(0,K.bF)(c,(0,K.v6)(e.$attrs,{avatar:e.avatarOnly,"model-value":e.modelValue,options:e.options||e.accountsSelectOptions,"hide-arrow":e.avatarOnly,"default-text":e.$t("modals.createMultisigAccount.selectAccount"),"account-select":"",unstyled:"","onUpdate:modelValue":t[0]||(t[0]=function(t){return e.$emit("update:modelValue",t)})}),{"current-text":(0,K.k6)((function(t){var n=t.text;return[(0,K.RG)(e.$slots,"default",{},(function(){return[e.avatarOnly?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("div",ms,[(0,K.bF)(u,{class:"account-select-text",str:n},null,8,["str"])])),e.avatarOnly?((0,K.uX)(),(0,K.Wv)(s,{key:1,address:e.modelValue.toString(),size:"sm"},null,8,["address"])):(0,K.Q3)("",!0)]}),!0)]})),_:3},16,["avatar","model-value","options","hide-arrow","default-text"])]})),_:3},8,["class","avatar"]),e.avatarOnly?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(d,{key:0,"show-explorer-link":"","show-protocol-icon":"",address:e.modelValue.toString(),protocol:null===(i=e.selectedAccount)||void 0===i?void 0:i.protocol,class:"address-truncated"},null,8,["address","protocol"]))])])}var hs=n(59480),As=n(28192);const ks=(0,K.pM)({components:{Avatar:hs.A,AddressTruncated:As.A,BtnPill:Zo.A,FormSelect:Qo.A,Truncate:Xn.A},model:{event:"select"},props:{modelValue:{type:String,default:null},options:{type:Array,default:function(){return null}},avatarOnly:Boolean},emits:["update:modelValue"],setup:function(e){var t=(0,ce.oV)(),n=t.accountsSelectOptions,a=t.getAccountByAddress,r=(0,K.EW)((function(){return e.modelValue?a(e.modelValue):void 0}));return{accountsSelectOptions:n,selectedAccount:r}}}),ys=(0,Ft.A)(ks,[["render",gs],["__scopeId","data-v-77f77faa"]]),bs=ys;var ws=n(71364),Cs=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const xs=(0,K.pM)({name:"CommentNew",components:{AccountSelector:bs,BtnMain:Ro.A,FixedScreenFooter:ws.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=this,t=(0,er.rd)(),n=(0,er.lq)(),a=(0,yn.s9)(),r=a.t,i=(0,ce.mv)(),u=i.setLoaderVisible,c=(0,I.$L)(),l=c.aeActiveNetworkSettings,d=(0,ce.CP)(),p=d.getAeSdk,v=d.fetchRespondChallenge,f=d.isTippingSupported,m=(0,ce.U8)(),g=m.openDefaultModal,h=(0,ce.si)(),A=h.openCallbackOrGoHome,k=(0,ce.oV)(),y=k.aeAccountsSelectOptions,b=k.getLastActiveProtocolAccount,w=k.setActiveAccountByAddress,C=(0,bt.KR)(b(o.yv.aeternity).address),x=(0,bt.KR)(""),S=(0,bt.KR)(void 0),T=(0,bt.KR)("");function E(){return Cs(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a,o=this;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return u(!0),e.prev=1,t=function(e){return Cs(o,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,L.B2)("".concat(l.value.backendUrl,"/comment/api/"),{body:e}));case 1:case"end":return t.stop()}}),t)})))},e.next=5,t({tipId:x.value,text:T.value,author:C.value,parentId:S.value});case 5:return n=e.sent,e.next=8,v(n);case 8:a=e.sent,t(a),A(!0),e.next=18;break;case 13:throw e.prev=13,e.t0=e["catch"](1),g({title:r("modals.transaction-failed.msg"),icon:"critical"}),e.t0.payload={id:x,parentId:S,text:T},e.t0;case 18:return e.prev=18,u(!1),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[1,13,18,21]])})))}return(0,K.wB)((function(){return n}),(function(e){var n,a,r=e.query;if(x.value=null!==(n=r.id)&&void 0!==n?n:"",S.value=r.parentId?+r.parentId:void 0,T.value=null!==(a=r.text)&&void 0!==a?a:"",!x.value||!T.value)throw t.push({name:Ye.qJ}),new Error("CommentNew: Invalid arguments")}),{immediate:!0}),function(){Cs(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return u(!0),e.next=3,p();case 3:u(!1);case 4:case"end":return e.stop()}}),e)})))}(),{creatorAddress:C,aeAccountsSelectOptions:y,id:x,parentId:S,text:T,isTippingSupported:f,sendComment:E,openCallbackOrGoHome:A,setActiveAccountByAddress:w}}}),Ls=(0,Ft.A)(xs,[["render",vs],["__scopeId","data-v-67d57742"]]),Ss=Ls;var Ts={class:"app-name"},Es={class:"details"};function Is(e,t,n,a,r,o){var i=(0,K.g2)("AnimatedSpinner"),s=(0,K.g2)("TransactionOverview"),u=(0,K.g2)("DetailsItem"),c=(0,K.g2)("TransactionDetailsPoolTokenRow"),l=(0,K.g2)("TokenAmount"),d=(0,K.g2)("BtnMain"),p=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(p,{show:"","full-screen":"",class:"confirm-transaction-sign","data-cy":"popup-aex2"},{footer:(0,K.k6)((function(){return[(0,K.bF)(d,{variant:"muted","data-cy":"deny",third:"","extra-padded":"",text:e.$t("pages.signTransaction.reject"),onClick:t[0]||(t[0]=function(t){return e.cancel()})},null,8,["text"]),(0,K.bF)(d,{class:"button-action-primary","data-cy":"accept",third:"",disabled:!!e.error||e.verifying,icon:e.verifying?e.AnimatedSpinner:null,text:e.verifying?e.$t("common.verifying"):e.$t("common.confirm"),onClick:t[1]||(t[1]=function(t){var n;return null===(n=e.popupProps)||void 0===n?void 0:n.resolve()})},null,8,["disabled","icon","text"])]})),default:(0,K.k6)((function(){var t;return[e.loading?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"loader"})):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.bF)(s,{transaction:e.completeTransaction,"additional-tag":e.isAeppChatSuperhero?e.$t("modals.confirmTransactionSign.superheroChat"):null},null,8,["transaction","additional-tag"]),e.isAeppChatSuperhero||e.error?((0,K.uX)(),(0,K.CE)("div",{key:0,class:(0,tt.C4)(["subtitle",{warning:!!e.error}])},[e.error?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.eW)((0,tt.v_)(e.$t("modals.confirmTransactionSign.unableToExecute")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.Lk)("span",Ts,(0,tt.v_)(e.$t("modals.confirmTransactionSign.superheroChat")),1),(0,K.eW)(" "+(0,tt.v_)(e.$t("modals.confirmTransactionSign.confirmSigning")),1)],64))],2)):(0,K.Q3)("",!0),e.error?((0,K.uX)(),(0,K.Wv)(u,{key:1,label:e.$t("pages.transactionDetails.reason"),value:e.error,class:"reason","data-cy":"reason"},null,8,["label","value"])):(0,K.Q3)("",!0),(null===(t=e.decodedCallData)||void 0===t?void 0:t.functionName)?((0,K.uX)(),(0,K.Wv)(u,{key:2,label:e.$t("modals.confirmTransactionSign.functionName"),value:e.decodedCallData.functionName},null,8,["label","value"])):(0,K.Q3)("",!0),(e.isDex||e.isDexAllowance)&&e.tokenList.length?((0,K.uX)(!0),(0,K.CE)(K.FK,{key:3},(0,K.pI)(e.tokenList,(function(t,n){return(0,K.uX)(),(0,K.Wv)(c,{key:t.contractId,token:t,tokens:t.tokens,label:e.getLabels(t,n),"hide-amount":e.isSwap},null,8,["token","tokens","label","hide-amount"])})),128)):(0,K.Q3)("",!0),e.nameAeFee?((0,K.uX)(),(0,K.Wv)(u,{key:4,label:e.$t("modals.confirmTransactionSign.nameFee"),class:"name-fee"},{value:(0,K.k6)((function(){return[(0,K.bF)(l,{amount:e.nameAeFee,protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),(0,K.Lk)("div",Es,[e.isSwap?((0,K.uX)(),(0,K.Wv)(u,{key:0,label:e.swapDirectionTranslation},{default:(0,K.k6)((function(){return[(0,K.bF)(l,{amount:e.tokenAmount,symbol:e.tokenSymbol,"hide-fiat":!e.swapTokenAmountData.isWrappedCoin||e.isTransactionAex9(e.transactionWrapped),protocol:e.PROTOCOLS.aeternity,"data-cy":"total"},null,8,["amount","symbol","hide-fiat","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),(0,K.bF)(u,{label:e.$t("transaction.fee")},{default:(0,K.k6)((function(){return[(0,K.bF)(l,{amount:e.txAeFee,protocol:e.PROTOCOLS.aeternity,"data-cy":"fee"},null,8,["amount","protocol"])]})),_:1},8,["label"]),"total"===e.swapDirection?((0,K.uX)(),(0,K.Wv)(u,{key:1,label:e.$t("common.total")},{default:(0,K.k6)((function(){return[(0,K.bF)(l,{amount:e.executionCost||e.totalAmount,symbol:e.singleToken.symbol,"hide-fiat":e.isTransactionAex9(e.transactionWrapped),protocol:e.PROTOCOLS.aeternity,"data-cy":"total"},null,8,["amount","symbol","hide-fiat","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0)]),(0,K.bF)(u,{expandable:"",label:e.$t("transaction.advancedDetails")},{default:(0,K.k6)((function(){var t;return[(null===(t=e.decodedCallData)||void 0===t?void 0:t.functionName)?((0,K.uX)(),(0,K.Wv)(u,{key:0,label:e.$t("modals.confirmTransactionSign.functionName"),value:e.decodedCallData.functionName},null,8,["label","value"])):(0,K.Q3)("",!0),e.transactionArguments?((0,K.uX)(),(0,K.Wv)(u,{key:1,label:e.$t("modals.confirmTransactionSign.arguments"),value:e.transactionArguments},null,8,["label","value"])):(0,K.Q3)("",!0),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.filteredTxFields,(function(t){var n,a;return(0,K.uX)(),(0,K.Wv)(u,{key:t,label:e.getTxKeyLabel(t),value:t===e.PAYLOAD_FIELD?e.decodedPayload:null===(a=null===(n=e.popupProps)||void 0===n?void 0:n.tx)||void 0===a?void 0:a[t],class:(0,tt.C4)({"hash-field":e.isHash(t)})},null,8,["label","value","class"])})),128))]})),_:1},8,["label"])],64))]})),_:1})}var _s=n(95993),Ws=n(49792),Fs=n(1863),Ds=n(66176),Bs=n(285),Ps=n(29351),Os=n(74494),Ms=n(39953),Rs=n(18665),Ns=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Us="payload",Xs={callData:function(){return(0,x.tg)("common.callData")},code:function(){return(0,x.tg)("pages.transactionDetails.code")},contractId:function(){return(0,x.tg)("common.contractId")},commitmentId:function(){return(0,x.tg)("modals.confirmTransactionSign.commitmentId")},name:function(){return(0,x.tg)("pages.transactionDetails.name")},nameFee:function(){return(0,x.tg)("modals.confirmTransactionSign.nameFee")},nameSalt:function(){return(0,x.tg)("pages.transactionDetails.nameSalt")},nameId:function(){return(0,x.tg)("pages.transactionDetails.nameId")},nonce:function(){return(0,x.tg)("pages.transactionDetails.nonce")},payload:function(){return(0,x.tg)("pages.transactionDetails.payload")},pointers:function(){return(0,x.tg)("modals.confirmTransactionSign.pointers")},recipientId:function(){return(0,x.tg)("modals.confirmTransactionSign.recipientId")}};const Vs=(0,K.pM)({components:{Modal:Bs.A,BtnMain:Ro.A,TransactionOverview:Ps.A,DetailsItem:Os.A,TokenAmount:Ms.A,TransactionDetailsPoolTokenRow:Rs.A,AnimatedSpinner:ua.A},setup:function(){var e,t=this,n=(0,yn.s9)(),r=n.t,i=(0,I.$L)(),u=i.aeActiveNetworkSettings,c=(0,ce.CP)(),l=c.getAeSdk,d=(0,ce.oV)(),p=d.getLastActiveProtocolAccount,v=(0,ce.m)(),f=v.popupProps,m=v.setPopupProps,A=(0,ce.Y7)(),k=A.getProtocolAvailableTokens,b=A.getTxAssetSymbol,w=A.getTxAmountTotal,C=(0,ce.my)({transaction:{tx:null===(e=f.value)||void 0===e?void 0:e.tx}}),x=C.direction,S=C.isDexAllowance,E=C.isDex,W=C.setActiveTransaction,F=(0,bt.KR)(!1),D=(0,bt.KR)([]),B=(0,bt.KR)(),P=(0,bt.KR)(0),O=(0,bt.KR)(!1),M=(0,bt.KR)(""),R=(0,bt.KR)(!1),N=(0,bt.KR)(),U=(0,K.EW)((function(){var e,t,n,a;return o.uL.includes("".concat(null===(t=null===(e=f.value)||void 0===e?void 0:e.app)||void 0===t?void 0:t.protocol,"//").concat(null===(a=null===(n=f.value)||void 0===n?void 0:n.app)||void 0===a?void 0:a.name))})),X=(0,K.EW)((function(){var e;return{tx:null===(e=f.value)||void 0===e?void 0:e.tx}})),V=(0,K.EW)((function(){return(0,_.Ng)(B.value)})),H=(0,K.EW)((function(){return(0,_.wX)(B.value)})),$=(0,K.EW)((function(){return(0,_._M)(B.value)})),j=(0,K.EW)((function(){return(0,_.hQ)(B.value)})),q=(0,K.EW)((function(){var e,t;return(0,_.px)(null===(t=null===(e=f.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.fee)})),G=(0,K.EW)((function(){var e,t;return(0,_.px)(null===(t=null===(e=f.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.nameFee)})),Q=p(o.yv.aeternity),Z=(0,K.EW)((function(){return $.value?"maxSpent":j.value?"minReceived":"total"})),Y=(0,K.EW)((function(){switch(Z.value){case"maxSpent":return r("pages.signTransaction.maxSpent");case"minReceived":return r("pages.signTransaction.minReceived");default:return r("common.total")}})),z=(0,K.EW)((function(){return w(X.value,x.value)})),J=(0,K.EW)((function(){var e;return{isReceived:x.value===o.NX.received,amount:z.value,symbol:b(null===(e=f.value)||void 0===e?void 0:e.tx)}})),ee=(0,K.EW)((function(){var e,t,n,a;return(null===(t=null===(e=f.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.payload)?(0,h.D4)(null===(a=null===(n=f.value)||void 0===n?void 0:n.tx)||void 0===a?void 0:a.payload).toString():void 0})),te=(0,K.EW)((function(){return Object.keys(Xs).filter((function(e){var t,n;return e===Us?!!ee.value:!!(null===(n=null===(t=f.value)||void 0===t?void 0:t.tx)||void 0===n?void 0:n[e])}))})),ne=(0,K.EW)((function(){var e="maxSpent"===Z.value?D.value[0]:D.value[1];return e||{}})),ae=(0,K.EW)((function(){return+(0,L.Y9)(ne.value.amount||0,-(ne.value.decimals||0))})),re=(0,K.EW)((function(){return ne.value.isWrappedCoin?T.kf:ne.value.symbol})),oe=(0,K.EW)((function(){var e;return{tx:Object.assign(Object.assign({},null===(e=f.value)||void 0===e?void 0:e.tx),{function:B.value})}})),ie=(0,K.EW)((function(){return B.value&&T.$y[B.value]===T.xf})),se=(0,K.EW)((function(){var e,t;return(null===(t=null===(e=N.value)||void 0===e?void 0:e.args)||void 0===t?void 0:t.length)?y.A.stringify(N.value.args):void 0}));function ue(e){var t,n;if(!E.value&&!S.value)return[J.value];var a=(0,_s.A)(e["function"]),r=(0,_.Ke)(a);if(!r)return[];var i=null===(n=r({tx:Object.assign(Object.assign({},e),null===(t=f.value)||void 0===t?void 0:t.tx)},k(o.yv.aeternity)))||void 0===n?void 0:n.tokens;return H.value?ie.value?i.filter((function(e){return!e.isPool})):i.reverse():i}function le(e){var t=["callData","contractId"];return t.includes(e)}function de(e,t){return S.value?r("pages.signTransaction.approveUseOfToken"):V.value?r(t?"pages.signTransaction.to":"pages.signTransaction.from"):H.value&&ie.value?e.isPool?"":r("pages.signTransaction.maximumDeposited"):H.value&&B.value&&T.$y[B.value]===T.yk?e.isPool?r("pages.signTransaction.poolTokenSpent"):r("pages.signTransaction.minimumWithdrawn"):""}function ve(){var e;null===(e=f.value)||void 0===e||e.reject(new Ga.v)}function fe(){var e,t;return Ns(this,void 0,void 0,(0,s.A)().mark((function n(){var a,o,i,u,c,d;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(null===(e=f.value)||void 0===e?void 0:e.txBase64)){n.next=33;break}return n.prev=1,R.value=!0,n.next=5,l();case 5:return a=n.sent,n.next=8,a.getBalance((null===(t=f.value)||void 0===t?void 0:t.fromAccount)||Q.address)["catch"]((function(e){return(0,L.El)(e)||(0,L.fY)(e),0}));case 8:if(o=n.sent,i=(0,Ws.oo)(f.value.txBase64).toString(),P.value=(0,_.px)(i),!new pe.A(o).isLessThan(i)){n.next=14;break}return M.value=r("validation.enoughCoin"),n.abrupt("return");case 14:if(u=(0,Xe.pj)(f.value.txBase64),u.tag!==g.vw.ContractCallTx&&u.tag!==g.vw.ContractCreateTx){n.next=25;break}return c=(0,Fs.A)(f.value.txBase64),n.next=19,a.api.getAccountByPubkey(c);case 19:return n.t0=n.sent.nonce,u.nonce=n.t0+1,n.next=23,a.txDryRun((0,Xe.pr)(u),c);case 23:d=n.sent,d.callObj&&"ok"!==d.callObj.returnType&&(M.value=(new Ds.ContractByteArrayEncoder).decode(d.callObj.returnValue));case 25:n.next=30;break;case 27:n.prev=27,n.t1=n["catch"](1),M.value=n.t1.message;case 30:return n.prev=30,R.value=!1,n.finish(30);case 33:case"end":return n.stop()}}),n,null,[[1,27,30,33]])})))}function me(){var e,t;return Ns(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o,i,c,d,p,v;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(null===(t=null===(e=f.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.contractId)||!f.value.tx.callData){n.next=28;break}return n.prev=1,O.value=!0,setTimeout((function(){O.value=!1}),2e4),n.next=6,Promise.all([(0,L.x6)("".concat(u.value.nodeUrl,"/v3/contracts/").concat(f.value.tx.contractId,"/code")),l()]);case 6:if(r=n.sent,o=(0,a.A)(r,1),i=o[0].bytecode,c=new Ds.BytecodeContractCallEncoder(i),N.value=c.decodeCall(f.value.tx.callData),N.value){n.next=13;break}return n.abrupt("return");case 13:d={function:N.value.functionName,arguments:N.value.args.map((function(e){return{type:Array.isArray(e)?"list":"any",value:Array.isArray(e)?e.map((function(e){return{value:e}})):e}}))},p=Object.assign(Object.assign({},d),f.value.tx),B.value=d["function"],W({tx:p}),v=ue(p),D.value=v.map((function(e){return Object.assign(Object.assign({},e),{tokens:e.isPool&&!ie.value?v.filter((function(e){return!e.isPool})).reverse():[e]})})),n.next=25;break;case 21:n.prev=21,n.t0=n["catch"](1),D.value=[],B.value=void 0;case 25:return n.prev=25,O.value=!1,n.finish(25);case 28:case"end":return n.stop()}}),n,null,[[1,21,25,28]])})))}function ge(e){var t=Xs[e];return t?t():""}return(0,K.sV)((function(){return Ns(t,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!f.value){e.next=5;break}return e.next=3,Promise.all([fe(),me()]);case 3:e.next=6;break;case 5:M.value=r("modals.transaction-failed.msg");case 6:case"end":return e.stop()}}),e)})))})),(0,K.hi)((function(){m(null)})),{PROTOCOLS:o.yv,AnimatedSpinner:ua.A,PAYLOAD_FIELD:Us,cancel:ve,completeTransaction:oe,decodedCallData:N,decodedPayload:ee,error:M,executionCost:P,filteredTxFields:te,getLabels:de,getTxKeyLabel:ge,getTxAssetSymbol:b,isAeppChatSuperhero:U,isDex:E,isDexAllowance:S,isHash:le,isSwap:V,isTransactionAex9:_.a3,loading:O,nameAeFee:G,popupProps:f,showAdvanced:F,singleToken:J,swapDirection:Z,swapDirectionTranslation:Y,swapTokenAmountData:ne,tokenAmount:ae,tokenList:D,tokenSymbol:re,totalAmount:z,transactionArguments:se,transactionWrapped:X,txAeFee:q,verifying:R}}}),Hs=(0,Ft.A)(Vs,[["render",Is],["__scopeId","data-v-166c5fe2"]]),$s=Hs;var js=function(e){return(0,K.Qi)("data-v-50ead23c"),e=e(),(0,K.jt)(),e},Ks={class:"warning","data-cy":"warning"},qs={class:"title"},Gs=js((function(){return(0,K.Lk)("br",null,null,-1)}));function Qs(e,t,n,a,r,o){var i=(0,K.g2)("TransactionInfo"),s=(0,K.g2)("Warning"),u=(0,K.g2)("i18n-t"),c=(0,K.g2)("CopyText"),l=(0,K.g2)("DetailsItem"),d=(0,K.g2)("BtnMain"),p=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(p,{show:"","full-screen":"",class:"confirm-raw-sign","data-cy":"popup-aex2"},{footer:(0,K.k6)((function(){return[(0,K.bF)(d,{variant:"muted",third:"","extra-padded":"",text:e.$t("common.cancel"),onClick:e.cancel},null,8,["text","onClick"]),(0,K.bF)(d,{third:"",text:e.$t("common.confirm"),onClick:e.confirm},null,8,["text","onClick"])]})),default:(0,K.k6)((function(){return[(0,K.bF)(i,{"custom-title":e.$t("modals.confirm-raw-sign.title"),sender:e.sender,recipient:e.activeAccount},null,8,["custom-title","sender","recipient"]),(0,K.Lk)("div",Ks,[(0,K.Lk)("span",qs,[(0,K.bF)(s,{class:"icon"}),(0,K.eW)(" "+(0,tt.v_)(e.$t("modals.confirm-raw-sign.warning.title")),1)]),(0,K.bF)(u,{keypath:"modals.confirm-raw-sign.warning.content",tag:"span",class:"content",scope:"global"},{default:(0,K.k6)((function(){return[Gs]})),_:1})]),(0,K.bF)(l,{label:e.$t("modals.confirmTransactionSign.data-sign"),"data-cy":"data"},{value:(0,K.k6)((function(){return[(0,K.bF)(c,{value:e.dataAsString},null,8,["value"])]})),_:1},8,["label"])]})),_:1})}var Zs=n(8783),Ys=n(20789);const zs=(0,K.pM)({components:{Modal:Bs.A,TransactionInfo:Zs.A,BtnMain:Ro.A,DetailsItem:Os.A,Warning:$n.A,CopyText:Ys.A},setup:function(){var e=(0,ce.m)(),t=e.popupProps,n=e.sender,a=e.setPopupProps,r=(0,ce.oV)(),i=r.getLastActiveProtocolAccount,s=i(o.yv.aeternity),u=(0,K.EW)((function(){var e,n;return(null===(n=null===(e=t.value)||void 0===e?void 0:e.txBase64)||void 0===n?void 0:n.toString())||""}));function c(){var e;null===(e=t.value)||void 0===e||e.resolve()}function l(){var e;null===(e=t.value)||void 0===e||e.reject(new Ga.v)}return(0,K.hi)((function(){a(null)})),{confirm:c,cancel:l,activeAccount:s,dataAsString:u,sender:n}}}),Js=(0,Ft.A)(zs,[["render",Qs],["__scopeId","data-v-50ead23c"]]),eu=Js;var tu={class:"donate-error"},nu={class:"error-info-title"},au={class:"error-info-content"},ru={class:"error-info-title"},ou={class:"error-info-content"},iu={class:"error-info-content"};function su(e,t,n,a,r,o){var i=(0,K.g2)("FormTextarea"),s=(0,K.g2)("BtnMain");return(0,K.uX)(),(0,K.CE)("div",tu,[(0,K.Lk)("h1",null,(0,tt.v_)(e.$t("pages.donate-error.error-report")),1),(0,K.bF)(i,{modelValue:e.description,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.description=t}),placeholder:e.$t("pages.donate-error.error-placeholder"),size:"md"},null,8,["modelValue","placeholder"]),(0,K.Lk)("h1",null,(0,tt.v_)(e.$t("pages.donate-error.data-collected")),1),(0,K.Lk)("h2",nu,(0,tt.v_)(e.$t("pages.donate-error.browser")),1),(0,K.Lk)("p",au,(0,tt.v_)(o.browser),1),(0,K.Lk)("h2",ru,(0,tt.v_)(e.$t("pages.donate-error.details")),1),(0,K.Lk)("p",ou,(0,tt.v_)(o.error.message),1),(0,K.Lk)("p",iu,(0,tt.v_)(o.error.stack),1),(0,K.bF)(s,{variant:"muted",inline:"","extra-padded":"",to:"/"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.cancel")),1)]})),_:1}),(0,K.bF)(s,{inline:"",onClick:o.donate},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.donate-error.donate")),1)]})),_:1},8,["onClick"])])}var uu=n(38151),cu=n(81503),lu=n(75417);const du={components:{FormTextarea:lu.A,BtnMain:Ro.A},props:{entry:{type:Object,default:function(){return{}}}},data:function(){return{description:null}},computed:{browser:function(){var e=this.entry.browser||{},t=e.name,n=e.os,a=e.version;return"".concat(t,", Version ").concat(a," (").concat(n,")")},error:function(){return this.entry.error}},methods:{donate:function(){var e=this;return(0,cu.A)((0,s.A)().mark((function t(){var n,a,r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,ce.U8)(),a=n.openDefaultModal,r=(0,I.ti)(),o=r.donateError,t.prev=2,t.next=5,o((0,uu.A)((0,uu.A)({},e.entry),{},{description:e.description}));case 5:return t.next=7,a({title:e.$t("modals.donate-errors.title"),msg:e.$t("modals.donate-errors.msg")});case 7:t.next=13;break;case 9:return t.prev=9,t.t0=t["catch"](2),t.next=13,a({title:e.$t("modals.donate-errors-error.title"),msg:e.$t("modals.donate-errors-error.msg")});case 13:return t.prev=13,e.$router.push("/account"),t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[2,9,13,16]])})))()}}},pu=(0,Ft.A)(du,[["render",su],["__scopeId","data-v-de37d780"]]),vu=pu;var fu={class:"token-container"},mu={class:"token-content"},gu={class:"top"},hu={class:"token-actions"},Au={ref:"stickyTabsWrapperEl",class:"sticky-tabs-wrapper"};function ku(e,t,n,a,r,o){var i=(0,K.g2)("Tokens"),s=(0,K.g2)("TokenAmount"),u=(0,K.g2)("OpenTransferReceiveModalButton"),c=(0,K.g2)("OpenTransferSendModalButton"),l=(0,K.g2)("BtnBox"),d=(0,K.g2)("Tab"),p=(0,K.g2)("Tabs"),v=(0,K.g2)("TransactionAndTokenFilter"),f=(0,K.g2)("IonRouterOutlet"),m=(0,K.g2)("IonContent"),g=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(g,null,{default:(0,K.k6)((function(){return[(0,K.bF)(m,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){var t,n,a;return[(0,K.Lk)("div",fu,[(0,K.Lk)("div",mu,[(0,K.Lk)("div",gu,[(0,K.bF)(i,{tokens:e.tokens,"symbol-length":22,"icon-size":e.ICON_SIZES.xxl,"full-symbol":"",vertical:""},null,8,["tokens","icon-size"]),(0,K.bF)(s,{class:"token-amount","hide-symbol":"",vertical:"",large:"",protocol:e.currentActiveProtocol,amount:e.assetBalance,"hide-fiat":!e.isCoin},null,8,["protocol","amount","hide-fiat"])]),(0,K.Lk)("div",hu,[(0,K.bF)(u,{"is-multisig":e.isMultisig,"token-contract-id":null===(t=e.fungibleToken)||void 0===t?void 0:t.contractId},null,8,["is-multisig","token-contract-id"]),(0,K.bF)(c,{"is-multisig":e.isMultisig,"token-contract-id":null===(n=e.fungibleToken)||void 0===n?void 0:n.contractId},null,8,["is-multisig","token-contract-id"]),e.isAe&&e.isNodeMainnet&&e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(l,{key:0,text:e.$t("common.buy"),icon:e.BuyIcon,href:e.activeAccountSimplexLink},null,8,["text","icon","href"])):e.isAe&&e.isNodeTestnet?((0,K.uX)(),(0,K.Wv)(l,{key:1,text:e.$t("common.faucet"),icon:e.FaucetIcon,href:e.activeAccountFaucetUrl},null,8,["text","icon","href"])):e.IS_IOS||!e.isNodeMainnet&&!e.isNodeTestnet||e.currentActiveProtocol!==e.PROTOCOLS.aeternity?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(l,{key:2,text:e.$t("common.swap"),icon:e.SwapIcon,href:e.AE_DEX_URL},null,8,["text","icon","href"]))]),(0,K.Lk)("div",Au,[(0,K.bF)(p,null,{default:(0,K.k6)((function(){return[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.tabs,(function(t){return(0,K.uX)(),(0,K.Wv)(d,{key:t.routeName,"exact-path":t.exact,to:{name:t.routeName,params:e.route.params},text:t.text},null,8,["exact-path","to","text"])})),128))]})),_:1}),((0,K.uX)(),(0,K.Wv)(v,{key:null===(a=e.routeName)||void 0===a?void 0:a.toString(),"show-filters":e.showFilterBar},null,8,["show-filters"]))],512)]),(0,K.bF)(f,{animated:!e.IS_FIREFOX,animation:e.fadeAnimation,class:"token-router",style:(0,tt.Tr)({height:e.routerHeight||"350px"})},null,8,["animated","animation","style"])])]})),_:1})]})),_:1})}var yu=n(44416);const bu=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"namespace":{"name":"List","typedefs":[]}},{"namespace":{"name":"String","typedefs":[]}},{"namespace":{"name":"Utils","typedefs":[]}},{"namespace":{"name":"UQ112x112","typedefs":[]}},{"namespace":{"name":"Math","typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"int"},{"name":"_3","type":"int"}],"name":"aedex_v2_call","payable":false,"returns":"unit","stateful":false}],"kind":"contract_interface","name":"IAedexV2Callback","payable":false,"typedefs":[]}},{"contract":{"event":{"variant":[{"Transfer":["address","address","int"]},{"Approval":["address","address","int"]},{"Allowance":["address","address","int"]},{"Mint":["address","int"]},{"Burn":["address","int"]},{"Deposit":["address","int"]},{"Withdrawal":["address","int"]}]},"functions":[{"arguments":[],"name":"meta_info","payable":false,"returns":"IAEX9Minimal.meta_info","stateful":false},{"arguments":[],"name":"total_supply","payable":false,"returns":"int","stateful":false},{"arguments":[{"name":"_1","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"_1","type":"IAEX9Minimal.allowance_accounts"}],"name":"allowance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"int"}],"name":"transfer","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"int"}],"name":"create_allowance","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"address"},{"name":"_3","type":"int"}],"name":"transfer_allowance","payable":false,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"IAEX9Minimal","payable":false,"typedefs":[{"name":"allowance_accounts","typedef":{"record":[{"name":"from_account","type":"address"},{"name":"for_account","type":"address"}]},"vars":[]},{"name":"meta_info","typedef":{"record":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"int"}]},"vars":[]}]}},{"contract":{"functions":[{"arguments":[],"name":"fee_to","payable":false,"returns":{"option":["address"]},"stateful":false}],"kind":"contract_interface","name":"IAedexV2FactoryForPair","payable":false,"typedefs":[]}},{"contract":{"event":{"variant":[{"LockLiquidity":["int"]},{"PairMint":["address","int","int"]},{"PairBurn":["address","address","string"]},{"SwapTokens":["address","address","string"]},{"Sync":["int","int"]}]},"functions":[{"arguments":[{"name":"_1","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"_1","type":"IAedexV2FactoryForPair"},{"name":"_2","type":"IAEX9Minimal"},{"name":"_3","type":"IAEX9Minimal"},{"name":"_4","type":{"option":["int"]}},{"name":"_5","type":{"option":["int"]}}],"name":"init","payable":false,"returns":"void","stateful":false},{"arguments":[],"name":"minimum_liquidity","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"factory","payable":false,"returns":"IAedexV2FactoryForPair","stateful":false},{"arguments":[],"name":"token0","payable":false,"returns":"IAEX9Minimal","stateful":false},{"arguments":[],"name":"token1","payable":false,"returns":"IAEX9Minimal","stateful":false},{"arguments":[],"name":"price0_cumulative_last","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"price1_cumulative_last","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"k_last","payable":false,"returns":"int","stateful":false},{"arguments":[{"name":"_1","type":"address"}],"name":"mint","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"_1","type":"address"}],"name":"burn","payable":false,"returns":"IAedexV2Pair.amounts","stateful":true},{"arguments":[{"name":"_1","type":"int"},{"name":"_2","type":"int"},{"name":"_3","type":"address"},{"name":"_4","type":{"option":["IAedexV2Callback"]}}],"name":"swap","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"_1","type":"address"}],"name":"skim","payable":false,"returns":"unit","stateful":true},{"arguments":[],"name":"sync","payable":false,"returns":"unit","stateful":true},{"arguments":[],"name":"get_reserves","payable":false,"returns":"IAedexV2Pair.reserves","stateful":false},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"address"},{"name":"_3","type":"int"}],"name":"transfer_allowance","payable":false,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"IAedexV2Pair","payable":false,"typedefs":[{"name":"amounts","typedef":{"record":[{"name":"amount0","type":"int"},{"name":"amount1","type":"int"}]},"vars":[]},{"name":"reserves","typedef":{"record":[{"name":"reserve0","type":"int"},{"name":"reserve1","type":"int"},{"name":"block_timestamp_last","type":"int"}]},"vars":[]}]}},{"namespace":{"name":"Option","typedefs":[]}},{"contract":{"event":{"variant":[{"Transfer":["address","address","int"]},{"Approval":["address","address","int"]},{"Allowance":["address","address","int"]},{"Mint":["address","int"]},{"Burn":["address","int"]},{"LockLiquidity":["int"]},{"PairMint":["address","int","int"]},{"PairBurn":["address","address","string"]},{"SwapTokens":["address","address","string"]},{"Sync":["int","int"]}]},"functions":[{"arguments":[{"name":"factory","type":"IAedexV2FactoryForPair"},{"name":"token0","type":"IAEX9Minimal"},{"name":"token1","type":"IAEX9Minimal"},{"name":"min_liquidity","type":{"option":["int"]}},{"name":"debug_time","type":{"option":["int"]}}],"name":"init","payable":false,"returns":"AedexV2Pair.state","stateful":false},{"arguments":[],"name":"meta_info","payable":false,"returns":"IAEX9Minimal.meta_info","stateful":false},{"arguments":[],"name":"aex9_extensions","payable":false,"returns":{"list":["string"]},"stateful":false},{"arguments":[],"name":"total_supply","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"balances","payable":false,"returns":"AedexV2Pair.balances","stateful":false},{"arguments":[{"name":"address","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[],"name":"allowances","payable":false,"returns":"AedexV2Pair.allowances","stateful":false},{"arguments":[{"name":"allowance_accounts","type":"AedexV2Pair.allowance_accounts"}],"name":"allowance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"}],"name":"allowance_for_caller","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[],"name":"owner","payable":false,"returns":"address","stateful":false},{"arguments":[],"name":"price0_cumulative_last","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"price1_cumulative_last","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"get_reserves","payable":false,"returns":"IAedexV2Pair.reserves","stateful":false},{"arguments":[],"name":"minimum_liquidity","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"factory","payable":false,"returns":"IAedexV2FactoryForPair","stateful":false},{"arguments":[],"name":"token0","payable":false,"returns":"IAEX9Minimal","stateful":false},{"arguments":[],"name":"token1","payable":false,"returns":"IAEX9Minimal","stateful":false},{"arguments":[{"name":"time","type":"int"}],"name":"set_debug_time","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"to","type":"address"}],"name":"mint","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"to","type":"address"}],"name":"burn","payable":false,"returns":"IAedexV2Pair.amounts","stateful":true},{"arguments":[{"name":"amount0_out","type":"int"},{"name":"amount1_out","type":"int"},{"name":"to","type":"address"},{"name":"callback_opt","type":{"option":["IAedexV2Callback"]}}],"name":"swap","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"to","type":"address"}],"name":"skim","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"sync","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value","type":"int"}],"name":"create_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"recipient","type":"address"},{"name":"amount","type":"int"}],"name":"transfer","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"from_account","type":"address"},{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value_change","type":"int"}],"name":"change_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"}],"name":"reset_allowance","payable":false,"returns":{"tuple":[]},"stateful":true}],"kind":"contract_main","name":"AedexV2Pair","payable":false,"state":{"record":[{"name":"total_supply","type":"int"},{"name":"balance_of","type":"AedexV2Pair.balances"},{"name":"locked_liquidity","type":"int"},{"name":"allowances","type":"AedexV2Pair.allowances"},{"name":"factory","type":"IAedexV2FactoryForPair"},{"name":"token0","type":"IAEX9Minimal"},{"name":"token1","type":"IAEX9Minimal"},{"name":"reserve0","type":"int"},{"name":"reserve1","type":"int"},{"name":"block_timestamp_last","type":"int"},{"name":"price0_cumulative_last","type":"int"},{"name":"price1_cumulative_last","type":"int"},{"name":"min_liquidity","type":"int"},{"name":"k_last","type":"int"},{"name":"debug_time","type":{"option":["int"]}}]},"typedefs":[{"name":"owner","typedef":"address","vars":[]},{"name":"spender","typedef":"address","vars":[]},{"name":"allowance_accounts","typedef":"IAEX9Minimal.allowance_accounts","vars":[]},{"name":"allowances","typedef":{"map":["AedexV2Pair.allowance_accounts","int"]},"vars":[]},{"name":"balances","typedef":{"map":["AedexV2Pair.owner","int"]},"vars":[]}]}}]');var wu=n(70694),Cu=n(90640),xu=n(56633),Lu=n(8666),Su=n(43226),Tu=n(57171),Eu=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Iu=(0,K.pM)({name:"AssetDetails",components:{TransactionAndTokenFilter:Lu.A,TokenAmount:Ms.A,BtnBox:La.A,Tokens:wu.A,Tabs:Cu.A,Tab:xu.A,OpenTransferReceiveModalButton:_a.A,OpenTransferSendModalButton:Wa.A,IonPage:Fe.AO,IonContent:Fe.W9,IonRouterOutlet:Fe.Rg},setup:function(){var e=this,t=(0,er.lq)(),n=(0,yn.s9)(),r=n.t,u=(0,ce.YY)(),c=u.setSharedAssetDetails,l=u.resetSharedAssetDetails,d=(0,ce.mv)(),p=d.setLoaderVisible,v=(0,K.EW)((function(){var e;return!!(null===(e=null===t||void 0===t?void 0:t.meta)||void 0===e?void 0:e.isMultisig)})),f=(0,ce.CP)(),m=f.isNodeMainnet,g=f.isNodeTestnet,h=f.getAeSdk,A=(0,ce.oV)(),k=A.activeAccount,y=A.getLastActiveProtocolAccount,b=(0,ce.Sr)({isMultisig:v.value}),w=b.protocolCoinBalance,C=(0,ce.ZN)(),x=C.marketData,S=(0,ce.Y7)(),E=S.getAccountTokenBalance,I=S.getProtocolAvailableTokens,W=(0,ce.ci)(),F=W.activeMultisigAccount,D=(0,K.EW)((function(){var e;return v.value?null===(e=F.value)||void 0===e?void 0:e.gaAccountId:k.value.address})),B=(0,K.EW)((function(){return v.value?o.yv.aeternity:k.value.protocol})),P=!!t.matched.find((function(e){var t=e.name;return t&&[Ye.s4,Ye.r,Ye.fc,Ye.iz].includes(t.toString())})),O=t.params.id,M=O===T.cK,R=P?Ye.r:Ye.tE,N=P?Ye.s4:Ye.uY,U=[{text:r("pages.transactionDetails.transactions"),routeName:v.value?Ye.fc:N,exact:!0},{text:r(P?"pages.token-details.coin-details":"pages.token-details.token-details"),routeName:v.value?Ye.iz:R,exact:!0}],X=(0,bt.KR)(),V=(0,bt.KR)({token0:null,token1:null}),H=(0,bt.KR)(),$=(0,K.EW)((function(){return I(B.value)[O]})),j=(0,K.EW)((function(){return P?void 0:E(D.value,O)})),q=(0,K.EW)((function(){return t.name})),G=(0,K.EW)((function(){var e;return!!(null===(e=null===t||void 0===t?void 0:t.meta)||void 0===e?void 0:e.showFilterBar)})),Q=(0,K.EW)((function(){return M?(0,_.mV)(D.value):null})),Z=(0,K.EW)((function(){return M?(0,_.hj)(D.value):null})),Y=(0,K.EW)((function(){return P?i.C.getAdapter(B.value).getDefaultCoin(x.value):$.value})),z=(0,K.EW)((function(){var e=[V.value.token0,V.value.token1],t=e[0],n=e[1],a=t&&n?[t,n,Y.value]:[Y.value];return a.filter(L.__)})),J=(0,K.EW)((function(){var e;return P?w.value.toNumber():(null===(e=E(D.value,O))||void 0===e?void 0:e.convertedBalance)||0}));function ee(){(0,K.dY)((function(){var e,t,n,a=null===(t=null===(e=document.querySelector("#app-wrapper"))||void 0===e?void 0:e.getBoundingClientRect())||void 0===t?void 0:t.bottom,r=null===(n=H.value)||void 0===n?void 0:n.getBoundingClientRect().bottom;X.value="".concat(a-r,"px")}))}function te(){var e=new ResizeObserver((function(){ee()}));e.observe(H.value)}function ne(e){return Eu(this,void 0,void 0,(0,s.A)().mark((function t(){var n,r,i,u,c,l,d,p,v,f,m,g;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,h();case 3:return n=t.sent,r=y(o.yv.aeternity),t.next=7,n.initializeContract({aci:bu,address:e});case 7:return i=t.sent,u=I(o.yv.aeternity),t.next=11,Promise.all([i.balances(),i.balance(null===r||void 0===r?void 0:r.address),i.token0(),i.token1(),i.get_reserves(),i.total_supply()]);case 11:return c=t.sent,l=(0,a.A)(c,6),d=l[0].decodedResult,p=l[1].decodedResult,v=l[2].decodedResult,f=l[3].decodedResult,m=l[4].decodedResult,g=l[5].decodedResult,t.abrupt("return",{token0:u[v]?Object.assign(Object.assign({},u[v]),{amount:(0,_._2)(p,g,m.reserve0)}):void 0,token1:u[f]?Object.assign(Object.assign({},u[f]),{amount:(0,_._2)(p,g,m.reserve1)}):void 0,totalSupply:g,balance:p,balances:d});case 22:return t.prev=22,t.t0=t["catch"](0),t.abrupt("return",{});case 25:case"end":return t.stop()}}),t,null,[[0,22]])})))}return(0,K.sV)((function(){return Eu(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(0,_.bK)(O)||M){e.next=8;break}return p(!0),e.next=4,h();case 4:return e.next=6,ne(O);case 6:V.value=e.sent,p(!1);case 8:setTimeout((function(){te(),ee()}),250);case 9:case"end":return e.stop()}}),e)})))})),(0,K.wB)(Y,(function(e){c({contractId:O,tokenPairs:V.value,tokenData:e,tokenBalance:j.value,tokens:z.value,isMultisig:v.value})}),{immediate:!0}),(0,Fe.r0)((function(){l()})),{PROTOCOLS:o.yv,UNFINISHED_FEATURES:o.s4,ICON_SIZES:o.hS,IS_FIREFOX:o.$M,IS_IOS:o.pz,AE_DEX_URL:T.hD,BuyIcon:Fa.A,FaucetIcon:Tu.A,SwapIcon:Su.A,assetBalance:J,assetData:Y,contractId:O,currentActiveProtocol:B,stickyTabsWrapperEl:H,fungibleToken:$,isAe:M,isCoin:P,isNodeMainnet:m,isNodeTestnet:g,activeAccountSimplexLink:Z,activeAccountFaucetUrl:Q,tabs:U,tokenPairs:V,tokens:z,showFilterBar:G,routeName:q,isMultisig:v,route:t,routerHeight:X,fadeAnimation:yu.r4}}}),_u=(0,Ft.A)(Iu,[["render",ku],["__scopeId","data-v-dca0ef5e"]]),Wu=_u;function Fu(e,t,n,a,r,o){var i=(0,K.g2)("TransactionList"),s=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(s,null,{default:(0,K.k6)((function(){return[e.isPageActive?((0,K.uX)(),(0,K.Wv)(i,{key:0,transactions:e.transactionsLoadedAndPending,"is-multisig":e.isMultisig,"is-loading":e.isLoading,"is-end-reached":e.isEndReached,onLoadMore:t[0]||(t[0]=function(t){return e.loadCurrentPageTransactions()})},null,8,["transactions","is-multisig","is-loading","is-end-reached"])):(0,K.Q3)("",!0)]})),_:1})}var Du=!1;const Bu=(0,K.pM)({name:"AssetDetailsTransactions",components:{IonPage:Fe.AO,TransactionList:ka},setup:function(){var e=(0,er.lq)(),t=e.params.id,n=(0,ce.YY)(),a=n.sharedAssetDetails,r=(0,ce.oV)(),s=r.activeAccount,u=(0,ce.ci)(),c=u.activeMultisigAccount,l=i.C.getAdapter(s.value.protocol),d=(0,bt.KR)(!1),p=(0,K.EW)((function(){return!!a.isMultisig})),v=(0,K.EW)((function(){return t===l.coinContractId})),f=(0,K.EW)((function(){var e;return p.value?null===(e=c.value)||void 0===e?void 0:e.gaAccountId:s.value.address})),m=(0,ce._8)({accountAddress:f.value,assetContractId:t,protocol:p.value?o.yv.aeternity:s.value.protocol}),g=m.isEndReached,h=m.isLoading,A=m.transactionsLoadedAndPending,k=m.loadCurrentPageTransactions,y=m.initializeTransactionListPolling,b=m.stopTransactionListPolling;return(0,Fe.UO)((function(){d.value=!0,Du||(y(),Du=!0)})),(0,Fe.r0)((function(){d.value=!1,b(),Du=!1})),(0,K.hi)((function(){d.value=!1,b(),Du=!1})),{sharedAssetDetails:a,currentAddress:f,transactionsLoadedAndPending:A,isAssetCoin:v,isEndReached:g,isLoading:h,isPageActive:d,isMultisig:p,loadCurrentPageTransactions:k}}}),Pu=(0,Ft.A)(Bu,[["render",Fu]]),Ou=Pu;var Mu={class:"token-details"},Ru={class:"white"},Nu={class:"white"};function Uu(e,t,n,a,r,o){var i=(0,K.g2)("Tokens"),s=(0,K.g2)("DetailsRow"),u=(0,K.g2)("AddressTruncated"),c=(0,K.g2)("LinkButton"),l=(0,K.g2)("IonContent"),d=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(d,null,{default:(0,K.k6)((function(){return[(0,K.bF)(l,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){var t,n,a,r,o,l,d,p,v,f,m,g;return[(0,K.Lk)("div",Mu,[(null===(t=e.assetData)||void 0===t?void 0:t.symbol)?((0,K.uX)(),(0,K.Wv)(s,{key:0,label:e.isCoin?e.$t("pages.token-details.coin"):e.$t("pages.token-details.token"),text:null===(n=e.assetData)||void 0===n?void 0:n.symbol},{text:(0,K.k6)((function(){return[e.tokens?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"token-details-tokens",tokens:e.tokens,bright:""},null,8,["tokens"])):(0,K.Q3)("",!0)]})),_:1},8,["label","text"])):(0,K.Q3)("",!0),(null===(a=e.assetData)||void 0===a?void 0:a.name)?((0,K.uX)(),(0,K.Wv)(s,{key:1,label:e.$t("pages.token-details.name"),text:e.assetData.name},null,8,["label","text"])):(0,K.Q3)("",!0),e.decimals?((0,K.uX)(),(0,K.Wv)(s,{key:2,label:e.$t("pages.token-details.decimals"),text:e.decimals},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(r=e.assetData)||void 0===r?void 0:r.contractId)&&!e.isCoin?((0,K.uX)(),(0,K.Wv)(s,{key:3,label:e.$t("common.smartContract")},{text:(0,K.k6)((function(){return[(0,K.bF)(u,{"show-explorer-link":"",protocol:e.assetData.protocol,address:e.assetData.contractId},null,8,["protocol","address"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),(null===(o=e.assetData)||void 0===o?void 0:o.circulatingSupply)?((0,K.uX)(),(0,K.Wv)(s,{key:4,label:e.$t("pages.token-details.max-supply"),text:e.formatNumber(e.assetData.circulatingSupply)},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(l=e.assetData)||void 0===l?void 0:l.totalSupply)?((0,K.uX)(),(0,K.Wv)(s,{key:5,label:e.$t("pages.token-details.total-supply"),text:e.formatNumber(e.assetData.totalSupply)},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(d=e.assetData)||void 0===d?void 0:d.marketCap)?((0,K.uX)(),(0,K.Wv)(s,{key:6,label:e.$t("pages.token-details.market-cap"),class:"price",text:e.formatCurrency(e.assetData.marketCap)},null,8,["label","text"])):(0,K.Q3)("",!0),e.tokenPairs.balances?((0,K.uX)(),(0,K.Wv)(s,{key:7,label:e.$t("pages.token-details.holders"),text:e.tokenPairs.balances.size},null,8,["label","text"])):(0,K.Q3)("",!0),e.tokenPairs.token0&&e.tokenPairs.token0.amount>0?((0,K.uX)(),(0,K.Wv)(s,{key:8,text:e.getPooledTokenAmount(e.tokenPairs.token0)},{label:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.token-details.pooled"))+" ",1),(0,K.Lk)("span",Ru,(0,tt.v_)(e.tokenPairs.token0.symbol),1)]})),_:1},8,["text"])):(0,K.Q3)("",!0),e.tokenPairs.token1&&e.tokenPairs.token1.amount>0?((0,K.uX)(),(0,K.Wv)(s,{key:9,text:e.getPooledTokenAmount(e.tokenPairs.token1)},{label:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.token-details.pooled"))+" ",1),(0,K.Lk)("span",Nu,(0,tt.v_)(e.tokenPairs.token1.symbol),1)]})),_:1},8,["text"])):(0,K.Q3)("",!0),e.poolShare?((0,K.uX)(),(0,K.Wv)(s,{key:10,label:e.$t("pages.token-details.poolShare"),text:e.poolShare},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(p=e.assetData)||void 0===p?void 0:p.totalVolume)?((0,K.uX)(),(0,K.Wv)(s,{key:11,label:e.$t("pages.token-details.volume"),text:e.formatCurrency(e.assetData.totalVolume)},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(v=e.assetData)||void 0===v?void 0:v.marketCapChange24h)?((0,K.uX)(),(0,K.Wv)(s,{key:12,class:"price",label:e.$t("pages.token-details.volumeDaily")},{text:(0,K.k6)((function(){var t,n,a;return[(0,K.Lk)("span",{class:(0,tt.C4)({green:(null===(t=e.assetData)||void 0===t?void 0:t.marketCapChangePercentage24h)>0,red:(null===(n=e.assetData)||void 0===n?void 0:n.marketCapChangePercentage24h)<0})},(0,tt.v_)(Number(e.assetData.marketCapChangePercentage24h).toFixed(2))+"% ",3),(0,K.eW)(" "+(0,tt.v_)(e.formatCurrency(null===(a=e.assetData)||void 0===a?void 0:a.marketCapChange24h)),1)]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.CE)(K.FK,{key:13},[(0,K.bF)(s,{label:e.$t("pages.token-details.transactions")},null,8,["label"]),(0,K.bF)(s,{label:e.$t("pages.token-details.feeDaily")},null,8,["label"]),(0,K.bF)(s,{label:e.$t("pages.token-details.priceAe")},null,8,["label"])],64)):(0,K.Q3)("",!0),(null===(f=e.assetData)||void 0===f?void 0:f.currentPrice)?((0,K.uX)(),(0,K.Wv)(s,{key:14,class:"price",label:e.$t("pages.token-details.price")},{text:(0,K.k6)((function(){return[(0,K.Lk)("span",{class:(0,tt.C4)({green:e.assetData.priceChangePercentage24h>0,red:e.assetData.priceChangePercentage24h<0})},(0,tt.v_)(Number(e.assetData.priceChangePercentage24h).toFixed(2))+"% ",3),(0,K.eW)(" "+(0,tt.v_)(e.formatCurrency(e.assetData.currentPrice)),1)]})),_:1},8,["label"])):(0,K.Q3)("",!0),(null===(m=e.assetData)||void 0===m?void 0:m.ath)?((0,K.uX)(),(0,K.Wv)(s,{key:15,label:e.$t("pages.token-details.ath-change"),text:e.formatCurrency(e.assetData.ath)},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(g=e.assetData)||void 0===g?void 0:g.atl)?((0,K.uX)(),(0,K.Wv)(s,{key:16,label:e.$t("pages.token-details.atl-change"),text:e.formatCurrency(e.assetData.atl)},null,8,["label","text"])):(0,K.Q3)("",!0),e.isCoin?((0,K.uX)(),(0,K.Wv)(s,{key:17,class:"link",label:e.$t("pages.token-details.more")},{text:(0,K.k6)((function(){return[(0,K.bF)(c,{"is-external":"",to:e.coinGeckoLinkUrl,variant:"muted"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.coinGeckoLinkLabel),1)]})),_:1},8,["to"])]})),_:1},8,["label"])):(0,K.Q3)("",!0)])]})),_:1})]})),_:1})}n(27495),n(25440);var Xu={class:"details-row"},Vu={class:"title"},Hu={class:"text"};function $u(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",Xu,[(0,K.Lk)("div",Vu,[(0,K.RG)(e.$slots,"label",{},(function(){return[(0,K.eW)((0,tt.v_)(n.label),1)]}),!0)]),(0,K.Lk)("div",Hu,[(0,K.RG)(e.$slots,"text",{},(function(){return[(0,K.eW)((0,tt.v_)(n.text),1)]}),!0)])])}const ju={props:{label:{type:String,default:null},text:{type:[String,Number],default:"N/A"}}},Ku=(0,Ft.A)(ju,[["render",$u],["__scopeId","data-v-1887a5f2"]]),qu=Ku,Gu=(0,K.pM)({name:"AssetDetailsInfo",components:{DetailsRow:qu,AddressTruncated:As.A,Tokens:wu.A,IonPage:Fe.AO,IonContent:Fe.W9,LinkButton:wt.A},setup:function(){var e=(0,ce.YY)(),t=e.sharedAssetDetails,n=(0,ce.ZN)(),a=n.formatCurrency,r=(0,K.EW)((function(){return t.tokenData||{}})),s=(0,K.EW)((function(){var e;return i.C.getAdapter(null===(e=r.value)||void 0===e?void 0:e.protocol)})),u=(0,K.EW)((function(){return r.value.contractId})),c=(0,K.EW)((function(){return t.tokens})),l=(0,K.EW)((function(){return t.tokenPairs||{}})),d=(0,K.EW)((function(){return t.tokenBalance})),p=(0,K.EW)((function(){return(0,L.go)(u.value)})),v=(0,K.EW)((function(){var e,t;return(null===(e=r.value)||void 0===e?void 0:e.decimals)||(null===(t=d.value)||void 0===t?void 0:t.decimals)})),f=(0,K.EW)((function(){return"https://www.coingecko.com/en/coins/".concat(s.value.getCoinGeckoCoinId())})),m=(0,K.EW)((function(){return f.value.replace("https://","").replace("en/coins","...")})),g=(0,K.EW)((function(){var e,t;return(null===(e=l.value)||void 0===e?void 0:e.balance)&&(null===(t=l.value)||void 0===t?void 0:t.totalSupply)?"".concat((0,L.k0)(new pe.A(l.value.balance).times(100).div(l.value.totalSupply)),"%"):null})),h=function(e){return(0,L.k0)((0,L.Y9)(e.amount,-e.decimals))};return{PROTOCOLS:o.yv,UNFINISHED_FEATURES:o.s4,isCoin:p,poolShare:g,getPooledTokenAmount:h,formatCurrency:a,formatNumber:L.ZV,sharedAssetDetails:t,coinGeckoLinkUrl:f,coinGeckoLinkLabel:m,tokens:c,tokenPairs:l,tokenBalance:d,assetData:r,decimals:v}}}),Qu=(0,Ft.A)(Gu,[["render",Uu],["__scopeId","data-v-b062462c"]]),Zu=Qu;var Yu=n(84316),zu=n.n(Yu),Ju={key:0,class:"iframe-image",src:zu(),alt:"Send & receive tips across the globe!"},ec={key:1,class:"not-iframe"},tc={class:"heading"},nc={class:"receive"},ac={class:"store"},rc={class:"send"},oc={class:"aeternity-name"},ic={key:0,class:"wallet-button-box"};function sc(e,t,n,a,r,o){var i=(0,K.g2)("SuperheroLogoIcon"),s=(0,K.g2)("i18n-t"),u=(0,K.g2)("Platforms"),c=(0,K.g2)("CheckBox"),l=(0,K.g2)("RouterLink"),d=(0,K.g2)("BtnSubheader"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:(0,tt.C4)(["index",{"extended-top-padding":!e.IS_WEB&&!e.IS_MOBILE_DEVICE,"ios-top-padding":e.IS_IOS}])},[e.IN_FRAME?((0,K.uX)(),(0,K.CE)("img",Ju)):((0,K.uX)(),(0,K.CE)("div",ec,[(0,K.bF)(i,{class:"superhero-logo"}),(0,K.Lk)("div",tc,[(0,K.bF)(s,{keypath:"pages.index.heading.message",tag:"span",class:"tag",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",nc,(0,tt.v_)(e.$t("pages.index.heading.receive")),1),(0,K.Lk)("span",ac,(0,tt.v_)(e.$t("pages.index.heading.store")),1),(0,K.Lk)("span",rc,(0,tt.v_)(e.$t("pages.index.heading.send")),1),(0,K.Lk)("span",oc,(0,tt.v_)(e.$t("pages.index.heading.aeternityBlockchain")),1)]})),_:1})]),e.IS_WEB?((0,K.uX)(),(0,K.Wv)(u,{key:0},{header:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.index.platforms.heading")),1)]})),footer:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.index.webVersion")),1)]})),_:1})):(0,K.Q3)("",!0)])),(0,K.Lk)("div",{class:(0,tt.C4)(["terms-agreement",{mobile:!e.IS_WEB}])},[(0,K.bF)(c,{modelValue:e.termsAgreed,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.termsAgreed=t}),"data-cy":"checkbox"},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",null,(0,tt.v_)(e.$t("pages.index.term1")),1)]})),_:1},8,["modelValue"]),(0,K.bF)(l,{to:{name:"about-terms"},"data-cy":"terms",class:(0,tt.C4)(["terms-of-use",{agreed:e.termsAgreed}])},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.index.termsAndConditions")),1)]})),_:1},8,["class"])],2),(0,K.bF)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.termsAgreed?((0,K.uX)(),(0,K.CE)("div",ic,[(0,K.bF)(d,{"data-cy":"generate-wallet",subheader:e.$t("pages.index.getStartedWithWallet"),header:e.$t("pages.index.generateWallet"),icon:e.PlusCircleIcon,onClick:e.createWallet},null,8,["subheader","header","icon","onClick"]),(0,K.bF)(d,{"data-cy":"import-wallet",subheader:e.$t("pages.index.enterSeed"),header:e.$t("pages.index.importWallet"),icon:e.CheckCircleIcon,onClick:e.importWallet},null,8,["subheader","header","icon","onClick"])])):(0,K.Q3)("",!0)]})),_:1})],2)]})),_:1})]})),_:1})}var uc={class:"checkbox-container"},cc=["disabled","checked","type","name"];function lc(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("label",uc,[(0,K.Lk)("input",{disabled:e.disabled,checked:!!e.modelValue,type:e.type,name:e.name,onChange:t[0]||(t[0]=function(t){return e.$emit("update:modelValue",t.target.checked)})},null,40,cc),(0,K.Lk)("span",{class:(0,tt.C4)(["checkmark",{checked:e.modelValue,disabled:e.disabled}])},null,2),e.$slots["default"]?((0,K.uX)(),(0,K.CE)("div",{key:0,class:(0,tt.C4)(["label-text",{checked:e.modelValue}])},[(0,K.RG)(e.$slots,"default",{},void 0,!0)],2)):(0,K.Q3)("",!0)])}const dc=(0,K.pM)({name:"CheckBox",props:{modelValue:{type:[String,Number,Boolean],default:""},type:{type:String,default:"checkbox"},name:{type:String,default:""},disabled:Boolean},emits:["update:modelValue"]}),pc=(0,Ft.A)(dc,[["render",lc],["__scopeId","data-v-3d62511b"]]),vc=pc;var fc={class:"box"},mc={class:"message"},gc={class:"heading"},hc={class:"description"};function Ac(e,t,n,a,r,o){var i=(0,K.g2)("IconWrapper"),s=(0,K.g2)("BtnBase");return(0,K.uX)(),(0,K.Wv)(s,(0,K.v6)(Object.assign(Object.assign({},e.$attrs),e.$props),{class:"button-subheader",extend:"",variant:"dark"}),{default:(0,K.k6)((function(){return[(0,K.Lk)("div",fc,[e.icon||e.protocolIcon?((0,K.uX)(),(0,K.Wv)(i,{key:0,icon:e.icon,"icon-size":e.iconSize,"protocol-icon":e.protocolIcon,"is-boxed":""},null,8,["icon","icon-size","protocol-icon"])):(0,K.Q3)("",!0),(0,K.Lk)("div",mc,[(0,K.Lk)("span",gc,(0,tt.v_)(e.header),1),(0,K.Lk)("span",hc,(0,tt.v_)(e.subheader),1)])])]})),_:1},16)}const kc=(0,K.pM)({components:{BtnBase:Mt.Ay,IconWrapper:Bo.Ay},props:Object.assign({header:{type:String,default:""},subheader:{type:String,default:""},icon:{type:Object,default:null},iconSize:Bo.m0,protocolIcon:Bo.ZO},Mt.Mp)}),yc=(0,Ft.A)(kc,[["render",Ac],["__scopeId","data-v-664f7dd3"]]),bc=yc;var wc=n(24538),Cc=n.n(wc),xc=n(59485),Lc=n.n(xc),Sc={class:"platforms"},Tc={class:"heading"},Ec={key:0,class:"mobile-web-icons"},Ic={key:1,class:"web-icons-wrapper"},_c={class:"web-icons"},Wc={class:"web-icons-title"},Fc={class:"web-icons-platforms"},Dc={class:"web-icons"},Bc={class:"web-icons-title"},Pc={class:"web-icons-platforms"},Oc={class:"footer"};function Mc(e,t,a,r,o,i){var s=(0,K.g2)("LinkButton"),u=(0,K.g2)("PlatformIcon");return(0,K.uX)(),(0,K.CE)("div",Sc,[(0,K.Lk)("div",Tc,[(0,K.RG)(e.$slots,"header",{},void 0,!0)]),e.IS_MOBILE_DEVICE?((0,K.uX)(),(0,K.CE)("div",Ec,[(0,K.bF)(s,{to:e.APP_LINK_IOS},{default:(0,K.k6)((function(){return[(0,K.Lk)("img",{class:(0,tt.C4)({grey:!e.IS_IOS||!e.IS_MOBILE_DEVICE}),src:Cc(),alt:"App Store"},null,2)]})),_:1},8,["to"]),(0,K.bF)(s,{to:e.APP_LINK_ANDROID},{default:(0,K.k6)((function(){return[(0,K.Lk)("img",{class:(0,tt.C4)({grey:e.IS_IOS||!e.IS_MOBILE_DEVICE}),src:Lc(),alt:"Google Play"},null,2)]})),_:1},8,["to"])])):((0,K.uX)(),(0,K.CE)("div",Ic,[(0,K.Lk)("div",_c,[(0,K.Lk)("div",Wc,(0,tt.v_)(e.$t("pages.index.platforms.browser-extension")),1),(0,K.Lk)("div",Fc,[(0,K.bF)(u,{to:e.APP_LINK_FIREFOX,disabled:!e.IS_FIREFOX||e.IS_MOBILE_DEVICE,src:n(24601),alt:"Firefox"},null,8,["to","disabled","src"]),(0,K.bF)(u,{to:e.APP_LINK_CHROME,disabled:e.IS_FIREFOX||e.IS_MOBILE_DEVICE,src:n(78116),alt:"Chrome"},null,8,["to","disabled","src"])])]),(0,K.Lk)("div",Dc,[(0,K.Lk)("div",Bc,(0,tt.v_)(e.$t("pages.index.platforms.mobile-app")),1),(0,K.Lk)("div",Pc,[(0,K.bF)(u,{to:e.APP_LINK_IOS,disabled:!e.IS_IOS||!e.IS_MOBILE_DEVICE,src:n(72347),alt:"App Store"},null,8,["to","disabled","src"]),(0,K.bF)(u,{to:e.APP_LINK_ANDROID,disabled:e.IS_IOS||!e.IS_MOBILE_DEVICE,src:n(40958),alt:"Google Play"},null,8,["to","disabled","src"])])])])),(0,K.Lk)("div",Oc,[(0,K.RG)(e.$slots,"footer",{},void 0,!0)])])}var Rc=["src","alt"];function Nc(e,t,n,a,r,o){var i=(0,K.g2)("LinkButton");return(0,K.uX)(),(0,K.Wv)(i,{to:e.to,class:"platform-icon"},{default:(0,K.k6)((function(){return[(0,K.Lk)("img",{class:(0,tt.C4)(["platform-icon-image",{grey:e.disabled}]),src:e.src,alt:e.alt},null,10,Rc)]})),_:1},8,["to"])}const Uc=(0,K.pM)({components:{LinkButton:wt.A},props:{to:{type:String,required:!0},src:{type:String,required:!0},alt:{type:String,required:!0},disabled:Boolean}}),Xc=(0,Ft.A)(Uc,[["render",Nc],["__scopeId","data-v-18a3b1c4"]]),Vc=Xc,Hc={components:{PlatformIcon:Vc,LinkButton:wt.A},data:function(){return{IS_MOBILE_DEVICE:o.Hy,IS_IOS:o.pz,IS_FIREFOX:o.$M,APP_LINK_CHROME:o.b1,APP_LINK_FIREFOX:o.Fl,APP_LINK_ANDROID:o.H1,APP_LINK_IOS:o.nO}}},$c=(0,Ft.A)(Hc,[["render",Mc],["__scopeId","data-v-11c59964"]]),jc=$c;var Kc={viewBox:"0 0 262 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},qc=(0,K.Fv)('',8),Gc=[qc];function Qc(e,t){return(0,K.uX)(),(0,K.CE)("svg",Kc,Gc)}const Zc={},Yc=(0,Ft.A)(Zc,[["render",Qc]]),zc=Yc;var Jc=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const el=(0,K.pM)({components:{SuperheroLogoIcon:zc,CheckBox:vc,BtnSubheader:bc,Platforms:jc,IonContent:Fe.W9,IonPage:Fe.AO},setup:function(){var e=this,t=(0,er.rd)(),n=(0,ce.oV)(),a=n.isLoggedIn,r=n.addRawAccount,i=n.setGeneratedMnemonic,u=n.mnemonic,c=n.discoverAccounts,l=n.setActiveAccountByGlobalIdx,d=(0,ce.U8)(),p=d.openModal,v=(0,ce.mv)(),f=v.loginTargetLocation,m=(0,bt.KR)(!1),g=!1;function h(){return Jc(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:g=!0,i(),r({isRestored:!1,protocol:o.yv.aeternity}),t.push(f.value);case 4:case"end":return e.stop()}}),e)})))}function A(){return Jc(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return g=!0,e.next=3,p(o.uR);case 3:case"end":return e.stop()}}),e)})))}return(0,K.sV)((function(){return Jc(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!o.pz||!o.I$){e.next=8;break}return e.next=3,(0,L.mU)(u);case 3:if(!u.value||g){e.next=8;break}return e.next=6,c();case 6:l(0),a.value&&t.push(f.value);case 8:case"end":return e.stop()}}),e)})))})),{PlusCircleIcon:_r.A,CheckCircleIcon:Zi,IS_WEB:o.u2,IS_IOS:o.pz,IS_MOBILE_DEVICE:o.Hy,IN_FRAME:o.IX,termsAgreed:m,createWallet:h,importWallet:A}}}),tl=(0,Ft.A)(el,[["render",sc],["__scopeId","data-v-67e61e9e"]]),nl=tl;var al={class:"invite-page"},rl={class:"section-title"},ol={key:0,class:"generated-links"},il={class:"section-title"};function sl(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("BalanceInfo"),u=(0,K.g2)("InputAmount"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("Field"),d=(0,K.g2)("InviteItem"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){var n;return[(0,K.Lk)("div",al,[(0,K.bF)(i,{account:e.activeAccount,"can-copy-address":"","show-protocol-icon":""},null,8,["account"]),(0,K.bF)(s,{balance:e.balance.toNumber(),protocol:e.activeAccount.protocol,"horizontal-offline-message":""},null,8,["balance","protocol"]),(0,K.Lk)("p",rl,(0,tt.v_)(e.$t("pages.invite.generate-link")),1),(0,K.bF)(l,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.amount=t}),name:"amount",rules:Object.assign(Object.assign({does_not_exceed_decimals:null===(n=e.formModel.selectedAsset)||void 0===n?void 0:n.decimals,min_value_exclusive:0},+e.balance.minus(e.fee)>0?{max_value:e.max}:{}),{enough_coin:e.fee.toString()})},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(u,(0,K.v6)(a,{"model-value":e.formModel.amount,class:"amount",name:"amount",label:e.$t("pages.invite.tip-attached"),message:r,readonly:"",protocol:e.PROTOCOLS.aeternity,"selected-asset":e.formModel.selectedAsset,onAssetSelected:t[0]||(t[0]=function(t){return e.formModel.selectedAsset=t})}),null,16,["model-value","label","message","protocol","selected-asset"]),(0,K.bF)(c,{extend:"",icon:e.PlusCircleFillIcon,disabled:!e.formModel.amount||!!r,"data-cy":"invite-generate",onClick:e.generate},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.invite.generate")),1)]})),_:2},1032,["icon","disabled","onClick"])]})),_:1},8,["modelValue","rules"]),e.invites.length>0?((0,K.uX)(),(0,K.CE)("div",ol,[(0,K.Lk)("p",il,(0,tt.v_)(e.$t("pages.invite.created-links")),1),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.invites,(function(n){return(0,K.uX)(),(0,K.Wv)(d,(0,K.v6)(null!==n&&void 0!==n?n:null,{key:n.secretKey.toString(),onLoading:t[2]||(t[2]=function(t){return e.setLoaderVisible(t)})}),null,16)})),128))])):(0,K.Q3)("",!0)])]})),_:1})]})),_:1})}var ul=n(65984),cl=n(99366),ll=(n(50778),{class:"invite-row"}),dl={class:"invite-info"},pl={class:"date"},vl={class:"invite-link-url"},fl={key:0,class:"centered-buttons"},ml={class:"centered-buttons"};function gl(e,t,n,a,r,o){var i,s=(0,K.g2)("TokenAmount"),u=(0,K.g2)("CopyText"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("InputAmount"),d=(0,K.g2)("Field");return(0,K.uX)(),(0,K.CE)("div",ll,[(0,K.Lk)("div",dl,[(0,K.bF)(s,{amount:e.inviteLinkBalance,protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"]),(0,K.Lk)("span",pl,(0,tt.v_)(e.formatDate(e.createdAt)),1)]),(0,K.bF)(u,{class:"invite-link",value:e.link.toString()},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",vl,(0,tt.v_)(e.link),1)]})),_:1},8,["value"]),e.topUp?((0,K.uX)(),(0,K.Wv)(d,{key:1,modelValue:e.formModel.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.amount=t}),name:"amount",rules:{required:!0,max_value:e.max,does_not_exceed_decimals:null===(i=e.formModel.selectedAsset)||void 0===i?void 0:i.decimals}},{default:(0,K.k6)((function(t){var n=t.field,a=t.errorMessage;return[(0,K.bF)(l,(0,K.v6)(n,{"model-value":e.formModel.amount,name:"amount",class:"input-amount",label:e.$t("pages.invite.top-up-with"),message:a,protocol:e.PROTOCOLS.aeternity,readonly:""}),null,16,["model-value","label","message","protocol"]),(0,K.Lk)("div",ml,[(0,K.bF)(c,{variant:"muted",text:e.$t("pages.invite.collapse"),onClick:e.resetTopUpChanges},null,8,["text","onClick"]),(0,K.bF)(c,{disabled:!e.formModel.amount||!!a,text:e.$t("pages.invite.top-up"),onClick:e.sendTopUp},null,8,["disabled","text","onClick"])])]})),_:1},8,["modelValue","rules"])):((0,K.uX)(),(0,K.CE)("div",fl,[e.inviteLinkBalance>0?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"button",variant:"muted","data-cy":"invite-claim",text:e.$t("pages.invite.claim"),onClick:e.claim},null,8,["text","onClick"])):((0,K.uX)(),(0,K.Wv)(c,{key:1,class:"button",variant:"muted","data-cy":"invite-delete",text:e.$t("pages.invite.delete"),onClick:e.deleteItem},null,8,["text","onClick"])),(0,K.bF)(c,{class:"button","data-cy":"invite-top-up",text:e.$t("pages.invite.top-up"),onClick:t[0]||(t[0]=function(t){return e.topUp=!0})},null,8,["text"])]))])}var hl=n(48287)["Buffer"],Al=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const kl=(0,K.pM)({components:{TokenAmount:Ms.A,BtnMain:Ro.A,InputAmount:cl.A,CopyText:Ys.A,Field:De.D0},props:{secretKey:{type:hl,required:!0},createdAt:{type:Number,required:!0}},setup:function(e,t){var n=t.emit,a=(0,er.rd)(),r=(0,ce.oV)(),u=r.getLastActiveProtocolAccount,c=(0,ce.ZN)(),l=c.marketData,d=(0,ce.ty)(),p=d.balance,f=(0,ce.CP)(),m=f.getAeSdk,g=(0,ce._V)(),A=g.claimInvite,k=g.removeInvite,y=g.handleInsufficientBalanceError,b=(0,bt.KR)({amount:"",selectedAsset:i.C.getAdapter(o.yv.aeternity).getDefaultCoin(l.value,+p.value)}),w=(0,ce.Ym)({formModel:b}),C=w.max,x=(0,bt.KR)(!1),S=(0,bt.KR)(0),T=(0,K.EW)((function(){var t=(0,h.lF)(hl.from(e.secretKey),v.W.Name).slice(3);return new URL("".concat(a.resolve({name:Ye.HH}).href.replace(/^#/,""),"#").concat(t),o.yS)})),E=(0,K.EW)((function(){return(0,_.Sf)(e.secretKey).address}));function I(){k(e.secretKey)}function W(){return Al(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:return t=e.sent,e.t0=parseFloat,e.next=6,t.getBalance(E.value,{format:ul.j8.AE})["catch"]((function(){return 0}));case 6:e.t1=e.sent.toString(),S.value=(0,e.t0)(e.t1);case 8:case"end":return e.stop()}}),e)})))}function F(){var t;return Al(this,void 0,void 0,(0,s.A)().mark((function a(){return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return n("loading",!0),a.prev=1,a.next=4,A({secretKey:hl.from(e.secretKey),recipientId:null===(t=u(o.yv.aeternity))||void 0===t?void 0:t.address,isMax:!0});case 4:return a.next=6,W();case 6:a.next=15;break;case 8:return a.prev=8,a.t0=a["catch"](1),a.next=12,y(a.t0,!0);case 12:if(!a.sent){a.next=14;break}return a.abrupt("return");case 14:throw a.t0;case 15:return a.prev=15,n("loading",!1),a.finish(15);case 18:case"end":return a.stop()}}),a,null,[[1,8,15,18]])})))}function D(){return Al(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return b.value.amount="",e.next=3,(0,K.dY)();case 3:x.value=!1;case 4:case"end":return e.stop()}}),e)})))}function B(){return Al(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n("loading",!0),e.next=3,m();case 3:return t=e.sent,e.prev=4,e.next=7,t.spend(b.value.amount,E.value,{denomination:ul.j8.AE});case 7:return e.next=9,W();case 9:D(),e.next=19;break;case 12:return e.prev=12,e.t0=e["catch"](4),e.next=16,y(e.t0);case 16:if(!e.sent){e.next=18;break}return e.abrupt("return");case 18:throw e.t0;case 19:return e.prev=19,n("loading",!1),e.finish(19);case 22:case"end":return e.stop()}}),e,null,[[4,12,19,22]])})))}return(0,K.wB)((function(){return e.secretKey}),(function(){return W()}),{immediate:!0}),{PROTOCOLS:o.yv,formModel:b,max:C,topUp:x,inviteLinkBalance:S,link:T,formatDate:L.Yq,resetTopUpChanges:D,deleteItem:I,sendTopUp:B,claim:F}}}),yl=(0,Ft.A)(kl,[["render",gl],["__scopeId","data-v-9a6ba60a"]]),bl=yl;var wl=n(48287)["Buffer"],Cl=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const xl=(0,K.pM)({components:{AccountInfo:Ta.A,BalanceInfo:Ea.A,InputAmount:cl.A,BtnMain:Ro.A,InviteItem:bl,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.oV)(),t=e.activeAccount,n=(0,ce.ZN)(),a=n.marketData,r=(0,ce.CP)(),u=r.getAeSdk,c=(0,ce.ty)(),l=c.balance,d=(0,ce._V)(),p=d.invites,v=d.addInvite,m=d.handleInsufficientBalanceError,g=(0,ce.mv)(),h=g.setLoaderVisible,A=(0,bt.KR)({amount:"",selectedAsset:i.C.getAdapter(o.yv.aeternity).getDefaultCoin(a.value,+l.value)}),k=(0,ce.Ym)({formModel:A}),y=k.max,b=k.fee;function w(){return Cl(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a,r;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return h(!0),t=(0,f.TZ)(),n=t.publicKey,a=t.secretKey,e.prev=2,e.next=5,u();case 5:return r=e.sent,e.next=8,r.spend(A.value.amount||0,n,{denomination:ul.j8.AE});case 8:e.next=17;break;case 10:return e.prev=10,e.t0=e["catch"](2),e.next=14,m(e.t0);case 14:if(!e.sent){e.next=16;break}return e.abrupt("return");case 16:throw e.t0;case 17:return e.prev=17,h(!1),e.finish(17);case 20:v(wl.from(a,"hex").slice(0,32)),A.value.amount="";case 22:case"end":return e.stop()}}),e,null,[[2,10,17,20]])})))}return{PROTOCOLS:o.yv,PlusCircleFillIcon:_r.A,activeAccount:t,balance:l,fee:b,invites:p,max:y,formModel:A,generate:w,setLoaderVisible:h}}}),Ll=(0,Ft.A)(xl,[["render",sl],["__scopeId","data-v-47b6712e"]]),Sl=Ll;function Tl(e,t,n,a,r,o){var i=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(i)}var El=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Il=(0,K.pM)({components:{IonPage:Fe.AO},setup:function(){var e=this,t=(0,Fe.jq)(),n=(0,er.lq)(),a=(0,ce.U8)(),r=a.openDefaultModal,i=a.openModal,u=(0,ce.mv)(),c=u.setLoaderVisible,l=(0,ce._V)(),d=l.handleInsufficientBalanceError;(0,Fe.UO)((function(){return El(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return c(!0),t.push({name:Ye.qJ}),e.prev=2,e.next=5,i(o.He,{secretKey:(0,h.D4)("nm_".concat(n.hash?n.hash.replace("#",""):n.fullPath.split("/").at(-1)))});case 5:e.next=18;break;case 7:if(e.prev=7,e.t0=e["catch"](2),"Invalid checksum"!==e.t0.message){e.next=13;break}return e.next=12,r({msg:"The invite link is broken"});case 12:return e.abrupt("return");case 13:return e.next=15,d(e.t0,!0);case 15:if(!e.sent){e.next=17;break}return e.abrupt("return");case 17:throw e.t0;case 18:return e.prev=18,c(!1),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[2,7,18,21]])})))}))}}),_l=(0,Ft.A)(Il,[["render",Tl]]),Wl=_l;var Fl={class:"language-settings"},Dl={class:"text-description"},Bl={class:"languages"},Pl=["onClick"];function Ol(e,t,n,a,r,o){var i=(0,K.g2)("RadioButton"),s=(0,K.g2)("IonContent"),u=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(u,null,{default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Fl,[(0,K.Lk)("p",Dl,(0,tt.v_)(e.$t("pages.languageSettings.chooseLanguage")),1),(0,K.Lk)("div",Bl,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.languageList,(function(t){var n=t.code,a=t.name;return(0,K.uX)(),(0,K.Wv)(i,{key:n,value:e.activeLanguage===n,disabled:!1,class:(0,tt.C4)(["language",[{active:e.activeLanguage===n}]]),onInput:function(t){return e.switchLanguage(n)}},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:"row",onClick:function(t){return e.switchLanguage(n)}},[(0,K.Lk)("div",null,[(0,K.eW)((0,tt.v_)(a)+" ",1),(0,K.Lk)("span",null,"("+(0,tt.v_)(n)+")",1)])],8,Pl)]})),_:2},1032,["value","class","onInput"])})),128))])])]})),_:1})]})),_:1})}var Ml=n(67239),Rl=Object.entries(x.eo).map((function(e){var t=(0,a.A)(e,2),n=t[0],r=t[1].name;return{code:n,name:r}})).sort();const Nl=(0,K.pM)({components:{RadioButton:Ml.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.Jt)(),t=e.activeLanguage,n=e.switchLanguage;return{languageList:Rl,activeLanguage:t,switchLanguage:n}}}),Ul=(0,Ft.A)(Nl,[["render",Ol],["__scopeId","data-v-2f99176c"]]),Xl=Ul;var Vl={class:"currency-settings"},Hl={class:"text-description"},$l={class:"options"},jl=["onClick"],Kl={class:"left"},ql={class:"code"},Gl={class:"symbol"},Ql={class:"name"};function Zl(e,t,n,a,r,o){var i=(0,K.g2)("RadioButton"),s=(0,K.g2)("IonContent"),u=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(u,null,{default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Vl,[(0,K.Lk)("p",Hl,(0,tt.v_)(e.$t("pages.currencySettings.chooseLanguage")),1),(0,K.Lk)("div",$l,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.CURRENCIES,(function(t,n){var a=t.code,r=t.name,o=t.symbol;return(0,K.uX)(),(0,K.Wv)(i,{key:"".concat(n,"-").concat(a),value:e.currentCurrencyCode===a,class:(0,tt.C4)([{active:e.currentCurrencyCode===a},"currency"]),onInput:function(t){return e.setCurrentCurrency(a)}},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:"row",onClick:function(t){return e.setCurrentCurrency(a)}},[(0,K.Lk)("div",Kl,[(0,K.Lk)("div",ql,(0,tt.v_)(a),1),(0,K.Lk)("div",Gl," ("+(0,tt.v_)(o)+") ",1)]),(0,K.Lk)("div",Ql,(0,tt.v_)(r),1)],8,jl)]})),_:2},1032,["value","class","onInput"])})),128))])])]})),_:1})]})),_:1})}const Yl=(0,K.pM)({name:"CurrencySettings",components:{RadioButton:Ml.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.ZN)(),t=e.CURRENCIES,n=e.currentCurrencyCode,a=e.setCurrentCurrency;return{CURRENCIES:t,currentCurrencyCode:n,setCurrentCurrency:a}}}),zl=(0,Ft.A)(Yl,[["render",Zl],["__scopeId","data-v-d9f35b18"]]),Jl=zl;var ed={class:"auction"},td={class:"auction-tabs"};function nd(e,t,n,a,r,o){var i=(0,K.g2)("Tab"),s=(0,K.g2)("Tabs"),u=(0,K.g2)("IonRouterOutlet"),c=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(c,null,{default:(0,K.k6)((function(){return[(0,K.Lk)("div",ed,[(0,K.Lk)("div",td,[(0,K.bF)(s,null,{default:(0,K.k6)((function(){return[(0,K.bF)(i,{to:{name:e.ROUTE_AUCTION_BID,params:e.routeParams},text:e.$t("pages.names.auctions.place-bid"),"exact-path":""},null,8,["to","text"]),(0,K.bF)(i,{to:{name:e.ROUTE_AUCTION_HISTORY,params:e.routeParams},text:e.$t("pages.names.auctions.bid-history")},null,8,["to","text"])]})),_:1})]),e.isLoaderVisible?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(u,{key:0,animation:e.fadeAnimation,class:"auction-router",name:e.name},null,8,["animation","name"]))])]})),_:1})}var ad=n(67283),rd=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},od=3e3;const id=(0,K.pM)({name:"Auction",components:{Tabs:Cu.A,Tab:xu.A,IonRouterOutlet:Fe.Rg,IonPage:Fe.AO},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,er.rd)(),n=(0,I.ef)(),r=n.getMiddleware,o=(0,er.lq)(),i=o.params,u=(0,ce.mv)(),c=u.isAppActive,l=u.isLoaderVisible,d=u.setLoaderVisible,p=(0,Un.q)(),v=p.setAuctionEntry;function f(){return rd(this,void 0,void 0,(0,s.A)().mark((function n(){var o,i,u,c,l,p,f,m;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,r();case 2:return o=n.sent,n.prev=3,i=(0,ad.bt)(e.name),n.next=7,Promise.all([o.getName(e.name),o.getAccountActivities(i,{limit:100})]);case 7:u=n.sent,c=(0,a.A)(u,2),l=c[0],p=c[1],f=l.info.auctionEnd,m=p.data.filter((function(e){var t=e.type;return"NameClaimEvent"===t})).filter((function(e){var t=e.payload.sourceTxType;return"NameClaimTx"===t})).map((function(e){var t=e.payload.tx,n=t.accountId,a=t.nameFee;return{nameFee:new pe.A((0,_.c4)(a)),accountId:n}})),v({name:e.name,expiration:f,bids:m}),n.next=19;break;case 16:n.prev=16,n.t0=n["catch"](3),t.push({name:Ye.cH});case 19:d(!1);case 20:case"end":return n.stop()}}),n,null,[[3,16]])})))}d(!0);var m=(0,L.mX)((function(){c.value&&f()}),od);return(0,K.xo)((function(){clearInterval(m)})),(0,K.wB)((function(){return e.name}),(function(){return f()})),{ROUTE_AUCTION_BID:Ye.cH,ROUTE_AUCTION_HISTORY:Ye.Bh,isLoaderVisible:l,routeParams:i,fadeAnimation:yu.r4}}}),sd=(0,Ft.A)(id,[["render",nd],["__scopeId","data-v-a1bc958c"]]),ud=sd;var cd={class:"auction-bid"},ld={class:"form"},dd={class:"tx-details"};function pd(e,t,n,a,r,o){var i=(0,K.g2)("AuctionCard"),s=(0,K.g2)("InputAmount"),u=(0,K.g2)("Field"),c=(0,K.g2)("TokenAmount"),l=(0,K.g2)("DetailsItem"),d=(0,K.g2)("BtnMain"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",cd,[(0,K.bF)(i,{name:e.name},null,8,["name"]),(0,K.Lk)("div",ld,[(0,K.bF)(u,{name:"amount",rules:{enough_coin:e.amountTotal.toString(),required:!0,does_not_exceed_decimals:e.AE_COIN_PRECISION}},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(s,(0,K.v6)(a,{modelValue:e.amount,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.amount=t}),name:"amount",message:e.amountError||r,protocol:e.PROTOCOLS.aeternity,readonly:""}),null,16,["modelValue","message","protocol"])]})),_:1},8,["rules"]),(0,K.Lk)("div",dd,[(0,K.bF)(l,{label:e.$t("transaction.fee")},{value:(0,K.k6)((function(){return[(0,K.bF)(c,{amount:+e.txFee,protocol:e.PROTOCOLS.aeternity,"hide-fiat":""},null,8,["amount","protocol"])]})),_:1},8,["label"]),(0,K.bF)(l,{label:e.$t("common.total")},{value:(0,K.k6)((function(){return[(0,K.bF)(c,{amount:+e.amountTotal,protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"])]})),_:1},8,["label"])]),(0,K.bF)(d,{disabled:!!e.amountError||!e.amount||e.errorName,class:"button",extend:"",onClick:e.bid},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.names.auctions.place-bid")),1)]})),_:1},8,["disabled","onClick"])])])]})),_:1})]})),_:1})}var vd={class:"auction-card"},fd={class:"name"};function md(e,t,n,a,r,o){var i=(0,K.g2)("BtnHelp"),s=(0,K.g2)("Avatar"),u=(0,K.g2)("AuctionOverview");return(0,K.uX)(),(0,K.CE)("div",vd,[(0,K.bF)(i,{class:"help-button",title:e.$t("modals.auctions-help.title"),msg:e.$t("modals.auctions-help.msg")},null,8,["title","msg"]),(0,K.bF)(s,{name:n.name},null,8,["name"]),(0,K.Lk)("span",fd,(0,tt.v_)(n.name),1),(0,K.bF)(u,{name:n.name},null,8,["name"])])}var gd=n(31157),hd={class:"auction-overview"};function Ad(e,t,n,a,r,o){var i=(0,K.g2)("TokenAmount"),s=(0,K.g2)("DetailsItem");return(0,K.uX)(),(0,K.CE)("div",hd,[(0,K.bF)(s,{label:e.$t("pages.auctionBid.current-highest-bid")},{value:(0,K.k6)((function(){return[(0,K.bF)(i,{amount:e.amount,protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"])]})),_:1},8,["label"]),(0,K.bF)(s,{class:"end-height",label:e.$t("pages.auctionBid.ending-height"),value:e.auction.expiration,secondary:"(≈".concat(e.endHeight,")")},null,8,["label","value","secondary"])])}const kd=(0,K.pM)({components:{DetailsItem:Os.A,TokenAmount:Ms.A},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,ce.U6)(),n=t.topBlockHeight,a=(0,Un.q)(),r=a.getNameAuctionHighestBid,i=a.getNameAuction,s=(0,K.EW)((function(){return i(e.name)})),u=(0,K.EW)((function(){return s.value.expiration-n.value})),c=(0,K.EW)((function(){return+r(e.name).nameFee})),l=(0,K.EW)((function(){return(0,L.zw)(u.value)}));return{PROTOCOLS:o.yv,blocksToRelativeTime:L.zw,auction:s,amount:c,endHeight:l}}}),yd=(0,Ft.A)(kd,[["render",Ad],["__scopeId","data-v-ae141ce8"]]),bd=yd,wd={components:{Avatar:hs.A,BtnHelp:gd.A,AuctionOverview:bd},props:{name:{type:String,required:!0}}},Cd=(0,Ft.A)(wd,[["render",md],["__scopeId","data-v-57d51d1e"]]),xd=Cd;var Ld=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Sd=(0,K.pM)({name:"AuctionBid",components:{AuctionCard:xd,InputAmount:cl.A,DetailsItem:Os.A,TokenAmount:Ms.A,BtnMain:Ro.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,er.rd)(),n=(0,yn.s9)(),a=n.t,r=(0,De.mN)(),i=r.validate,u=(0,De.YS)("amount"),c=(0,ce.CP)(),l=c.getAeSdk,d=(0,Un.q)(),p=d.getNameAuctionHighestBid,v=(0,ce.U8)(),f=v.openDefaultModal,m=(0,ce.mv)(),h=m.setLoaderVisible,A=(0,bt.KR)(""),k=(0,K.EW)((function(){var t;return(null===(t=p(e.name))||void 0===t?void 0:t.nameFee)||new pe.A(0)})),y=(0,K.EW)((function(){return(0,pe.A)((0,Xe.pj)((0,Xe.pr)({tag:g.vw.NameClaimTx,accountId:Ve.km,nonce:Ve.xQ,name:e.name,nameSalt:0,nameFee:(0,_.qX)(k.value.multipliedBy(T.YI).toString())}),g.vw.NameClaimTx).fee).shiftedBy(-T.kS)})),b=(0,K.EW)((function(){return y.value.plus(A.value||0)})),w=(0,K.EW)((function(){var e=k.value.multipliedBy(T.YI);return""!==A.value&&e.isGreaterThanOrEqualTo(+A.value)?a("pages.names.auctions.min-bid",{minBid:e}):null}));function C(){return Ld(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,i();case 2:if(n.sent.valid){n.next=4;break}return n.abrupt("return");case 4:return n.next=6,l();case 6:if(r=n.sent,!w.value){n.next=9;break}return n.abrupt("return");case 9:return n.prev=9,h(!0),n.next=13,r.aensBid(e.name,(0,_.qX)(A.value));case 13:f({msg:a("pages.names.auctions.bid-added",{name:e.name})}),t.push({name:Ye.Bh,params:{name:e.name}}),n.next=22;break;case 17:n.prev=17,n.t0=n["catch"](9),o=n.t0.message,o.includes("is not enough to execute")&&(o=a("pages.names.balance-error")),f({msg:o});case 22:return n.prev=22,h(!1),n.finish(22);case 25:case"end":return n.stop()}}),n,null,[[9,17,22,25]])})))}return{AE_COIN_PRECISION:T.kS,PROTOCOLS:o.yv,amount:A,amountTotal:b,amountError:w,errorName:u,txFee:y,bid:C}}}),Td=(0,Ft.A)(Sd,[["render",pd],["__scopeId","data-v-3431fc86"]]),Ed=Td;var Id={class:"auction-history"},_d={class:"title"},Wd={class:"name"},Fd={class:"item"};function Dd(e,t,n,a,r,o){var i=(0,K.g2)("AccountItem"),s=(0,K.g2)("AuctionOverview"),u=(0,K.g2)("TokenAmount"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Id,[(0,K.Lk)("span",_d,[(0,K.eW)((0,tt.v_)(e.$t("pages.names.auctions.bids-on"))+" ",1),(0,K.Lk)("span",Wd,(0,tt.v_)(e.name),1)]),(0,K.Lk)("div",Fd,[(0,K.bF)(i,{address:e.highestBid.accountId,name:e.getName(e.highestBid.accountId).value,protocol:e.protocol},null,8,["address","name","protocol"]),(0,K.bF)(s,{name:e.name},null,8,["name"])]),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.previousBids,(function(t,n){return(0,K.uX)(),(0,K.CE)("div",{key:n,class:"item"},[(0,K.bF)(u,{amount:+t.nameFee,protocol:e.protocol},null,8,["amount","protocol"]),(0,K.bF)(i,{protocol:e.protocol,address:t.accountId,name:e.getName(t.accountId).value},null,8,["protocol","address","name"])])})),128))])]})),_:1})]})),_:1})}var Bd=n(29086);const Pd=(0,K.pM)({components:{AccountItem:Bd.A,AuctionOverview:bd,TokenAmount:Ms.A,IonPage:Fe.AO,IonContent:Fe.W9},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,Un.q)(),n=t.getNameAuctionHighestBid,a=t.getNameAuction,r=t.getName,i=(0,K.EW)((function(){return n(e.name)})),s=(0,K.EW)((function(){return a(e.name).bids.filter((function(e){return e!==i.value}))}));return{protocol:o.yv.aeternity,getName:r,highestBid:i,previousBids:s}}}),Od=(0,Ft.A)(Pd,[["render",Dd],["__scopeId","data-v-66adf79c"]]),Md=Od;var Rd={class:"auction-list-content"},Nd={key:0,class:"list"},Ud={class:"name-wrapper"},Xd={class:"name"},Vd={key:0,class:"expiration"};function Hd(e,t,n,a,r,o){var i=(0,K.g2)("Filters"),s=(0,K.g2)("IonToolbar"),u=(0,K.g2)("TokenAmount"),c=(0,K.g2)("NameRow"),l=(0,K.g2)("AnimatedSpinner"),d=(0,K.g2)("RegisterName"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,{class:"auction-list"},{default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"toolbar"},{default:(0,K.k6)((function(){return[e.activeAuctions.length||e.auctions.length||e.loading?((0,K.uX)(),(0,K.Wv)(i,{key:0,modelValue:e.displayMode,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.displayMode=t}),filters:e.filters,sticky:""},null,8,["modelValue","filters"])):(0,K.Q3)("",!0)]})),_:1}),(0,K.bF)(p,{class:"ion-padding ion-content-bg--lighter"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Rd,[e.activeAuctions.length||e.auctions.length?((0,K.uX)(),(0,K.CE)("ul",Nd,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.auctions,(function(t,n){var a=t.name,r=t.expiration,o=t.lastBid;return(0,K.uX)(),(0,K.Wv)(c,{key:n,to:{name:"auction-bid",params:{name:a}},name:a,address:o.accountId},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Ud,[(0,K.Lk)("div",Xd,[(0,K.eW)((0,tt.v_)(a)+" ",1),(0,K.bF)(u,{amount:e.getAeFee(o.nameFee),protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"])]),e.topBlockHeight?((0,K.uX)(),(0,K.CE)("div",Vd,(0,tt.v_)(e.$t("pages.names.auctions.expires"))+" in ≈ "+(0,tt.v_)(e.blocksToRelativeTime(r-e.topBlockHeight)),1)):(0,K.Q3)("",!0)])]})),_:2},1032,["to","name","address"])})),128))])):e.loading?((0,K.uX)(),(0,K.Wv)(l,{key:1,class:"spinner"})):((0,K.uX)(),(0,K.Wv)(d,{key:2,msg:e.$t("pages.names.auctions.no-auctions")},null,8,["msg"]))])]})),_:1})]})),_:1})}var $d=n(9776),jd={class:"content"},Kd={class:"name-info"};function qd(e,t,n,a,r,o){var i=(0,K.g2)("Avatar"),s=(0,K.g2)("ListItemWrapper");return(0,K.uX)(),(0,K.Wv)(s,{to:n.to,replace:"",class:"name-row",onClick:t[0]||(t[0]=function(t){return e.$emit("click")})},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",jd,[(0,K.bF)(i,{name:n.name,address:n.address},null,8,["name","address"]),(0,K.Lk)("div",Kd,[(0,K.RG)(e.$slots,"default",{},void 0,!0)])])]})),_:3},8,["to"])}const Gd={components:{ListItemWrapper:Gn.A,Avatar:hs.A},props:{name:{type:String,default:""},address:{type:String,default:""},to:{type:Object,default:null}}},Qd=(0,Ft.A)(Gd,[["render",qd],["__scopeId","data-v-5a99e238"]]),Zd=Qd;var Yd={class:"register-name"},zd={class:"message"};function Jd(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain");return(0,K.uX)(),(0,K.CE)("div",Yd,[(0,K.Lk)("p",zd,(0,tt.v_)(n.msg),1),(0,K.bF)(i,{class:"btn",text:e.$t("pages.names.list.register-name"),to:{name:"account-details-names-claim"}},null,8,["text"])])}const ep={components:{BtnMain:Ro.A},props:{msg:{type:String,required:!0}}},tp=(0,Ft.A)(ep,[["render",Jd],["__scopeId","data-v-06542595"]]),np=tp;var ap=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},rp={soonest:"soonest",bid:"bid",length:"length"},op=1,ip=-1;const sp=(0,K.pM)({components:{Filters:$d.A,NameRow:Zd,TokenAmount:Ms.A,AnimatedSpinner:ua.A,RegisterName:np,IonPage:Fe.AO,IonContent:Fe.W9,IonToolbar:Fe.ai},setup:function(){var e=this,t=(0,yn.s9)(),n=t.t,a=(0,ce.U6)(),r=a.topBlockHeight,i=(0,I.ef)(),u=i.getMiddleware,c=i.fetchFromMiddlewareCamelCased,l=(0,bt.KR)(!1),d=(0,bt.KR)([]),p=(0,bt.KR)({key:"soonest",rotated:!1}),v=(0,bt.KR)({soonest:{rotated:!1,name:n("filters.soonest")},bid:{rotated:!1,name:n("filters.bid")},length:{rotated:!1,name:n("filters.length")}}),f=(0,K.EW)((function(){return(0,te.A)(d.value).sort((function(e,t){switch(p.value.key){case rp.length:return e.name.length-t.name.length;case rp.bid:return parseInt(e.lastBid.nameFee,10)-parseInt(t.lastBid.nameFee,10);default:return 1}})).sort((function(){return p.value.rotated?ip:op}))}));return(0,K.sV)((function(){return ap(e,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return l.value=!0,e.next=3,u();case 3:return t=e.sent,e.next=6,(0,L.Ey)((function(){return t.getNamesAuctions({by:"expiration",direction:"forward",limit:100})}),c);case 6:d.value=e.sent.map((function(e){var t=e.name,n=e.info;return{name:t,expiration:n.auctionEnd,lastBid:n.lastBid.tx}})),l.value=!1;case 8:case"end":return e.stop()}}),e)})))})),{PROTOCOLS:o.yv,blocksToRelativeTime:L.zw,loading:l,displayMode:p,activeAuctions:d,auctions:f,filters:v,topBlockHeight:r,getAeFee:_.px}}}),up=(0,Ft.A)(sp,[["render",Hd],["__scopeId","data-v-1442f094"]]),cp=up;var lp={class:"more"};function dp(e,t,n,a,r,o){var i=(0,K.g2)("Settings"),s=(0,K.g2)("PanelItem"),u=(0,K.g2)("ClaimTips"),c=(0,K.g2)("Invites"),l=(0,K.g2)("BugReport"),d=(0,K.g2)("BuyIcon"),p=(0,K.g2)("FaucetIcon"),v=(0,K.g2)("Dex"),f=(0,K.g2)("About"),m=(0,K.g2)("IonContent"),g=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(g,null,{default:(0,K.k6)((function(){return[(0,K.bF)(m,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",lp,[(0,K.bF)(s,{to:{name:"settings"},title:e.$t("pages.titles.settings"),"data-cy":"settings"},{icon:(0,K.k6)((function(){return[(0,K.bF)(i)]})),_:1},8,["title"]),e.isNodeMainnet||e.isNodeTestnet?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.bF)(s,{to:{name:"tips-claim"},title:e.$t("pages.claimTips.title"),disabled:!e.isActiveAccountAe,"data-cy":"tips-claim"},{icon:(0,K.k6)((function(){return[(0,K.bF)(u)]})),_:1},8,["title","disabled"]),(0,K.bF)(s,{to:{name:"invite"},title:e.$t("pages.titles.giftCards"),disabled:!e.isActiveAccountAe,"data-cy":"invite"},{icon:(0,K.k6)((function(){return[(0,K.bF)(c)]})),_:1},8,["title","disabled"])],64)):(0,K.Q3)("",!0),(0,K.bF)(s,{href:e.BUG_REPORT_URL,title:e.$t("pages.about.reportBug")},{icon:(0,K.k6)((function(){return[(0,K.bF)(l)]})),_:1},8,["href","title"]),e.isNodeMainnet&&e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(s,{key:1,href:e.AE_SIMPLEX_URL,title:e.$t("pages.fungible-tokens.buyAe")},{icon:(0,K.k6)((function(){return[(0,K.bF)(d)]})),_:1},8,["href","title"])):e.isNodeTestnet?((0,K.uX)(),(0,K.Wv)(s,{key:2,disabled:!e.isActiveAccountAe,href:e.activeAccountFaucetUrl,title:e.$t("common.faucet")},{icon:(0,K.k6)((function(){return[(0,K.bF)(p)]})),_:1},8,["disabled","href","title"])):(0,K.Q3)("",!0),(0,K.bF)(s,{href:e.AE_DEX_URL,title:e.$t("pages.more.dex")},{icon:(0,K.k6)((function(){return[(0,K.bF)(v)]})),_:1},8,["href","title"]),(0,K.bF)(s,{to:{name:"about"},title:e.$t("pages.titles.about"),"data-cy":"about"},{icon:(0,K.k6)((function(){return[(0,K.bF)(f)]})),_:1},8,["title"])])]})),_:1})]})),_:1})}var pp={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},vp=(0,K.Lk)("path",{d:"M12 22C12.2779 22 12.6734 21.7969 12.9941 21.5938C18.9695 17.7456 22.7963 13.2346 22.7963 8.65954C22.7963 4.7365 20.0919 2 16.682 2C14.5548 2 12.962 3.17584 12 4.9396C11.0593 3.18653 9.45588 2 7.32868 2C3.91874 2 1.20361 4.7365 1.20361 8.65954C1.20361 13.2346 5.03044 17.7456 11.0059 21.5938C11.3372 21.7969 11.7327 22 12 22ZM8.55797 13.0102C8.55797 12.8926 8.60073 12.7857 8.69693 12.6788L13.0689 7.22715C13.4324 6.77819 14.0203 7.08819 13.8065 7.63335L12.3955 11.4281H15.0572C15.271 11.4281 15.4634 11.5885 15.4634 11.8022C15.4634 11.9198 15.4099 12.0374 15.3137 12.1443L10.9524 17.5852C10.589 18.0342 9.99036 17.7242 10.2041 17.179L11.6258 13.3843H8.95348C8.73969 13.3843 8.55797 13.2239 8.55797 13.0102Z",fill:"currentColor"},null,-1),fp=[vp];function mp(e,t){return(0,K.uX)(),(0,K.CE)("svg",pp,fp)}const gp={},hp=(0,Ft.A)(gp,[["render",mp]]),Ap=hp;var kp={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},yp=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.061 21.1533C10.1626 21.6782 10.5859 22 11.1279 22H12.8721C13.3971 22 13.8205 21.6782 13.9221 21.1533L14.4132 19.1211C14.7519 19.0025 15.0737 18.8671 15.3446 18.7485L17.1228 19.8154C17.5631 20.1372 18.105 20.0694 18.4776 19.6969L19.6799 18.4945C20.0525 18.105 20.1372 17.5461 19.7985 17.1058L18.7485 15.3446C18.884 15.0567 19.0025 14.7519 19.1041 14.4301L21.1533 13.956C21.6782 13.8374 22 13.431 22 12.8891V11.1787C22 10.6537 21.6782 10.2303 21.1533 10.1287L19.1211 9.6376C19.0025 9.28196 18.8671 8.9602 18.7485 8.70618L19.8323 6.92803C20.1372 6.47079 20.1033 5.94581 19.7138 5.55631L18.4776 4.35394C18.0881 3.99831 17.6308 3.93057 17.1566 4.20152L15.3446 5.30229C15.0737 5.16681 14.7519 5.03133 14.4132 4.91279L13.9221 2.86367C13.8205 2.3387 13.3971 2 12.8721 2H11.1279C10.5859 2 10.1626 2.3387 10.061 2.88061L9.56986 4.89585C9.2481 5.01439 8.9094 5.14987 8.62151 5.28535L6.84335 4.20152C6.36918 3.93057 5.895 3.98137 5.5055 4.35394L4.26926 5.55631C3.87976 5.94581 3.84589 6.47079 4.15072 6.92803L5.23455 8.70618C5.116 8.9602 4.98053 9.28196 4.86198 9.6376L2.84674 10.1287C2.30483 10.2303 2 10.6537 2 11.1787V12.8891C2 13.431 2.30483 13.8374 2.84674 13.956L4.87892 14.4301C4.98053 14.7519 5.09907 15.0567 5.25148 15.3446L4.18459 17.1058C3.86283 17.5461 3.93057 18.105 4.30313 18.4945L5.5055 19.6969C5.895 20.0694 6.43692 20.1372 6.86029 19.8154L8.63844 18.7485C8.9094 18.8671 9.2481 19.0025 9.56986 19.1211L10.061 21.1533ZM15.3108 11.9915C15.3108 13.8036 13.8205 15.3108 11.9915 15.3108C10.1795 15.3108 8.68925 13.8036 8.68925 11.9915C8.68925 10.1964 10.1795 8.70618 11.9915 8.70618C13.8205 8.70618 15.3108 10.1964 15.3108 11.9915Z",fill:"currentColor"},null,-1),bp=[yp];function wp(e,t){return(0,K.uX)(),(0,K.CE)("svg",kp,bp)}const Cp={},xp=(0,Ft.A)(Cp,[["render",wp]]),Lp=xp;var Sp={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Tp=(0,K.Lk)("path",{d:"M11.9957 22C14.3743 22 16.4319 19.4486 16.4319 16.7078C16.4319 16.3374 16.3743 16.0329 16.2508 15.7695C16.4566 15.8272 16.6706 15.8848 16.8764 15.9342C17.4196 16.0988 17.5842 16.3374 17.5101 16.823L16.9175 20.6996C16.8352 21.2263 17.1644 21.5309 17.5924 21.5309C18.0451 21.5309 18.2508 21.251 18.3249 20.7984L18.9916 16.5597C19.1562 15.5144 18.7364 14.9465 17.6006 14.6914L13.8722 13.8272L13.864 13.7449C14.1932 13.5885 14.4155 13.2757 14.5307 12.9383L17.1068 12.6091C18.2179 12.4691 18.7118 11.8272 18.7118 10.7325V7.90946C18.7118 7.46502 18.4566 7.20165 18.0122 7.20165C17.5677 7.20165 17.3126 7.46502 17.3126 7.90946V10.4362C17.3126 11.0617 16.9751 11.2675 16.4072 11.3333L14.5965 11.5638C14.506 11.3169 14.3414 11.0947 14.1192 10.9465V10.8642C15.5513 10.6008 16.3414 9.73663 16.3414 8.46914C16.3414 7.45679 15.971 6.51852 15.3702 5.78601L15.4772 5.71193C16.3249 5.10288 16.4731 4.22222 15.9299 3.2428L15.4525 2.44444C15.2879 2.13169 15.0904 2 14.8023 2C14.4401 2 14.1603 2.2716 14.1603 2.62551C14.1603 2.78189 14.185 2.87243 14.2755 3.04527L14.6871 3.68724C14.9504 4.11523 14.934 4.49383 14.5883 4.79012C14.5471 4.83128 14.506 4.85597 14.4566 4.89712C13.757 4.40329 12.9093 4.12346 11.9957 4.12346C11.0986 4.12346 10.2591 4.40329 9.55949 4.88889C9.51834 4.85597 9.47719 4.82305 9.43603 4.78189C9.09035 4.49383 9.07389 4.11523 9.33727 3.68724L9.74879 3.04527C9.84756 2.87243 9.86402 2.78189 9.86402 2.62551C9.86402 2.2716 9.59241 2 9.22204 2C8.94221 2 8.73644 2.13169 8.57184 2.44444L8.09447 3.2428C7.55126 4.22222 7.69941 5.10288 8.54714 5.71193L8.63768 5.77778C8.03686 6.50206 7.65826 7.44856 7.65826 8.46914C7.65826 9.73663 8.44838 10.6008 9.87225 10.8642V10.9465C9.65003 11.0947 9.49365 11.3169 9.39488 11.5638L7.59241 11.3333C7.02451 11.2675 6.68706 11.0617 6.68706 10.4362V7.90946C6.68706 7.46502 6.43192 7.20165 5.98747 7.20165C5.54303 7.20165 5.27965 7.46502 5.27965 7.90946V10.7325C5.27965 11.8272 5.78171 12.4691 6.89282 12.6091L9.46896 12.9383C9.57595 13.2757 9.8064 13.5885 10.1356 13.7449V13.8272L6.399 14.6914C5.26319 14.9465 4.84344 15.5144 5.00805 16.5597L5.67472 20.7984C5.74879 21.251 5.95455 21.5309 6.40723 21.5309C6.83521 21.5309 7.16443 21.2263 7.08212 20.6996L6.48953 16.823C6.41546 16.3292 6.58007 16.0988 7.13151 15.9342C7.33727 15.8765 7.54303 15.8272 7.74879 15.7695C7.62533 16.0329 7.56772 16.3374 7.56772 16.7078C7.56772 19.4486 9.62533 22 11.9957 22Z",fill:"currentColor"},null,-1),Ep=[Tp];function Ip(e,t){return(0,K.uX)(),(0,K.CE)("svg",Sp,Ep)}const _p={},Wp=(0,Ft.A)(_p,[["render",Ip]]),Fp=Wp;var Dp={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Bp=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 7C12.5523 7 13 7.44772 13 8C13 8.55228 12.5523 9 12 9C11.4477 9 11 8.55228 11 8C11 7.44772 11.4477 7 12 7ZM12 10C12.5523 10 13 10.4477 13 11V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V11C11 10.4477 11.4477 10 12 10Z",fill:"currentColor"},null,-1),Pp=[Bp];function Op(e,t){return(0,K.uX)(),(0,K.CE)("svg",Dp,Pp)}const Mp={},Rp=(0,Ft.A)(Mp,[["render",Op]]),Np=Rp;var Up={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Xp=(0,K.Lk)("path",{d:"M5 19H20C20.5523 19 21 19.4477 21 20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3C4.55228 3 5 3.44772 5 4V19Z",fill:"currentColor"},null,-1),Vp=(0,K.Lk)("path",{opacity:"0.44",d:"M8.72954 14.684C8.35181 15.0869 7.71897 15.1073 7.31606 14.7296C6.91315 14.3518 6.89274 13.719 7.27047 13.3161L11.0205 9.3161C11.3858 8.92644 11.9928 8.89264 12.3991 9.23935L15.3589 11.765L19.2151 6.8804C19.5573 6.44692 20.1862 6.37294 20.6196 6.71516C21.0531 7.05738 21.1271 7.68621 20.7849 8.11969L16.2849 13.8197C15.9334 14.2649 15.2824 14.3289 14.8509 13.9607L11.8268 11.3802L8.72954 14.684Z",fill:"currentColor"},null,-1),Hp=[Xp,Vp];function $p(e,t){return(0,K.uX)(),(0,K.CE)("svg",Up,Hp)}const jp={},Kp=(0,Ft.A)(jp,[["render",$p]]),qp=Kp;var Gp={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Qp=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 10L7 4H17L24 10L12 21L0 10ZM16.583 10.667C16.694 10.667 16.8 10.711 16.878 10.789C16.956 10.867 17 10.973 17 11.084V11.917C17 12.028 16.956 12.133 16.878 12.212C16.8 12.29 16.694 12.334 16.583 12.334H12.833V16.084C12.833 16.194 12.789 16.3 12.711 16.379C12.633 16.456 12.527 16.5 12.417 16.5H11.583C11.472 16.5 11.367 16.456 11.289 16.378C11.211 16.3 11.167 16.194 11.167 16.083V12.333H7.417C7.306 12.333 7.201 12.289 7.122 12.211C7.044 12.133 7 12.027 7 11.916V11.083C7 10.972 7.044 10.867 7.122 10.788C7.2 10.71 7.306 10.666 7.417 10.666H11.167V6.916C11.167 6.805 11.211 6.7 11.289 6.621C11.368 6.544 11.474 6.5 11.584 6.5H12.417C12.528 6.5 12.633 6.544 12.711 6.622C12.789 6.7 12.833 6.806 12.833 6.917V10.667H16.583Z",fill:"currentColor"},null,-1),Zp=[Qp];function Yp(e,t){return(0,K.uX)(),(0,K.CE)("svg",Gp,Zp)}const zp={},Jp=(0,Ft.A)(zp,[["render",Yp]]),ev=Jp,tv=(0,K.pM)({name:"More",components:{PanelItem:Ut,Invites:Ap,Settings:Lp,About:Np,BuyIcon:Fa.A,Dex:qp,BugReport:Fp,ClaimTips:ev,FaucetIcon:Tu.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.oV)(),t=e.activeAccount,n=(0,ce.CP)(),a=n.isNodeMainnet,r=n.isNodeTestnet,i=(0,K.EW)((function(){return t.value.protocol===o.yv.aeternity})),s=(0,K.EW)((function(){return i.value?(0,_.mV)(t.value.address):null}));return{AE_DEX_URL:T.hD,AE_SIMPLEX_URL:T.Q5,BUG_REPORT_URL:o.y5,UNFINISHED_FEATURES:o.s4,activeAccountFaucetUrl:s,isActiveAccountAe:i,isNodeMainnet:a,isNodeTestnet:r}}}),nv=(0,Ft.A)(tv,[["render",dp],["__scopeId","data-v-2588bf9a"]]),av=nv;var rv={class:"claim"},ov={class:"chain-name-counter"},iv={class:"aens-domain"},sv={class:"auto-extend-label"};function uv(e,t,n,a,r,o){var i=(0,K.g2)("InputField"),s=(0,K.g2)("Field"),u=(0,K.g2)("BtnHelp"),c=(0,K.g2)("CheckBox"),l=(0,K.g2)("i18n-t"),d=(0,K.g2)("BtnMain"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg--lighter"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",rv,[(0,K.bF)(s,{name:"name",rules:{enough_coin:e.totalNameClaimAmount.toString(),required:!0,aens_name:!0,aens_name_unregistered:!0}},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(i,(0,K.v6)(a,{modelValue:e.name,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.name=t}),name:"name",class:"chain-name",label:e.$t("pages.names.claim.register-name"),message:r,placeholder:e.$t("pages.names.claim.name-placeholder")}),{"label-after":(0,K.k6)((function(){return[(0,K.Lk)("span",ov,(0,tt.v_)(e.name.length)+"/"+(0,tt.v_)(e.maxNameLength),1)]})),after:(0,K.k6)((function(){return[(0,K.Lk)("span",iv,(0,tt.v_)(e.AE_AENS_DOMAIN),1)]})),_:2},1040,["modelValue","label","message","placeholder"])]})),_:1},8,["rules"]),(0,K.bF)(c,{modelValue:e.autoExtend,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.autoExtend=t})},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",sv,[(0,K.eW)((0,tt.v_)(e.$t("pages.names.claim.auto-extend"))+" ",1),(0,K.bF)(u,{title:e.$t("modals.autoextend-help.title"),msg:e.$t("modals.autoextend-help.msg"),class:(0,tt.C4)({active:e.autoExtend})},null,8,["title","msg","class"])])]})),_:1},8,["modelValue"]),(0,K.bF)(l,{keypath:"pages.names.claim.short-names.message",tag:"p",class:"text-description explanation",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.names.claim.short-names.insertion")),1)]})),_:1}),(0,K.bF)(d,{class:"btn-register",extend:"",disabled:e.isLoaderVisible||!e.name||e.errorName,onClick:e.claim},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.isNameValid?e.$t("pages.names.claim.button-price",[e.totalNameClaimAmount.toFixed(4)]):e.$t("pages.names.claim.button")),1)]})),_:1},8,["disabled","onClick"])])]})),_:1})]})),_:1})}var cv=n(19389),lv=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},dv=0xef0073dca94fb;const pv=(0,K.pM)({name:"Claim",components:{InputField:cv.A,CheckBox:vc,BtnMain:Ro.A,BtnHelp:gd.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,er.rd)(),t=(0,De.mN)(),n=t.validate,a=(0,De.YS)("name"),r=(0,yn.s9)(),o=r.t,i=(0,ce.oV)(),u=i.activeAccount,c=(0,ce.U8)(),l=c.openDefaultModal,d=(0,ce.CP)(),p=d.getAeSdk,v=(0,ce.mv)(),f=v.isLoaderVisible,m=v.setLoaderVisible,h=(0,Un.q)(),A=h.setPendingAutoExtendName,k=h.updateOwnedNames,y=h.updateNamePointer,b=(0,bt.KR)(""),w=(0,bt.KR)(!1),C=T.d-T.CT.length,x=(0,K.EW)((function(){return"".concat(b.value).concat(T.CT)})),L=(0,K.EW)((function(){return b.value&&(0,_.F7)(x.value)})),S=(0,K.EW)((function(){return b.value.length?(0,pe.A)((0,Xe.pj)((0,Xe.pr)({tag:g.vw.NamePreclaimTx,accountId:Ve.km,nonce:Ve.xQ,commitmentId:(0,ad.MN)(x.value,dv)}),g.vw.NamePreclaimTx).fee).plus((0,Ws.oo)((0,Xe.pr)({tag:g.vw.NameClaimTx,accountId:Ve.km,nonce:Ve.xQ,name:x.value,nameSalt:0,nameFee:(0,ad.YQ)(x.value)})).toString()).shiftedBy(-T.kS):(0,pe.A)(0)}));function E(){return lv(this,void 0,void 0,(0,s.A)().mark((function t(){var a,r,i,c,d,v;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return m(!0),t.next=3,n();case 3:if(t.sent.valid){t.next=6;break}return m(!1),t.abrupt("return");case 6:return t.next=8,p();case 8:return a=t.sent,t.next=11,a.api.getNameEntryByName(x.value)["catch"]((function(){return!1}));case 11:if(r=t.sent,!r){t.next=17;break}m(!1),l({title:o("modals.name-exist.msg")}),t.next=54;break;case 17:return t.prev=17,t.next=20,a.aensPreclaim(x.value);case 20:return c=t.sent,d=c.salt,t.next=24,a.aensClaim(x.value,d,{waitMined:!1});case 24:return i=t.sent.hash,w.value&&A(x.value),t.next=28,(0,K.dY)();case 28:e.push({name:Ye.ao}),t.next=37;break;case 31:return t.prev=31,t.t0=t["catch"](17),v=t.t0.message,(v.includes("is not enough to execute")||404===t.t0.statusCode)&&(v=o("pages.names.balance-error")),l({icon:"critical",msg:v}),t.abrupt("return");case 37:return t.prev=37,m(!1),t.finish(37);case 40:return t.prev=40,t.next=43,a.poll(i);case 43:if(!(T.pR0?{max_value:e.max}:{}),{enough_coin:e.fee.toString()})},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(c,(0,K.v6)(a,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.formModel.amount=t}),name:"amount",class:"amount-input",readonly:"",message:r,protocol:e.PROTOCOLS.aeternity}),null,16,["modelValue","message","protocol"])]})),_:1},8,["rules"]),e.tip.title?((0,K.uX)(),(0,K.CE)("div",dh,(0,tt.v_)(e.tip.title),1)):(0,K.Q3)("",!0),(0,K.Lk)("div",ph,[(0,K.bF)(d,{variant:"muted","extra-padded":"",text:e.$t("common.cancel"),onClick:t[1]||(t[1]=function(t){return e.openCallbackOrGoHome(!1)})},null,8,["text"]),(0,K.bF)(d,{wide:"",disabled:!e.isTippingSupported||e.errorAmount,text:e.$t("common.confirm"),onClick:e.sendTip},null,8,["disabled","text","onClick"])])])]})),_:1})]})),_:1})}var fh=n(5335),mh=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const gh=(0,K.pM)({name:"Retip",components:{InputAmount:cl.A,UrlStatus:fh.A,BtnMain:Ro.A,BalanceInfo:Ea.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9,DetailsItem:Os.A},setup:function(){var e=this,t=(0,er.lq)(),n=(0,yn.s9)(),a=n.t,r=(0,De.YS)(),u=(0,ce.mv)(),c=u.setLoaderVisible,l=(0,bt.KR)({amount:""}),d=(0,I.ti)(),p=d.getCacheTip,v=(0,ce.CP)(),f=v.isTippingSupported,m=(0,ce.U8)(),h=m.openDefaultModal,A=(0,ce.ZN)(),k=A.marketData,y=(0,ce.oV)(),b=y.getLastActiveProtocolAccount,w=(0,ce.si)(),C=w.openCallbackOrGoHome,x=(0,ce.ty)(),S=x.balance,E=(0,ce.Ym)({formModel:l}),_=E.max,W=E.fee,F=(0,ce.kz)(),D=F.getTippingContracts,B=(0,ce.rb)(),P=B.addAccountPendingTransaction,O=(0,I.NC)(),M=O.getTippingUrlStatus,R=(0,ce.Y7)(),N=R.createOrChangeAllowance,U=t.query.id,X=(0,bt.KR)({url:"default",id:""}),V=(0,K.EW)((function(){return M(X.value.url)})),H=(0,K.EW)((function(){return S.value.toNumber()}));function $(){var e,t,n;return mh(this,void 0,void 0,(0,s.A)().mark((function r(){var i,u,d,p,v,f,m,A,k;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=(null===(e=l.value.selectedAsset)||void 0===e?void 0:e.contractId)!==T.cK?l.value.selectedAsset.decimals:T.kS,u=(0,L.Y9)(+(l.value.amount||0),i).toNumber(),d=b(o.yv.aeternity),c(!0),r.prev=4,r.next=7,D();case 7:if(p=r.sent,v=p.tippingV1,f=p.tippingV2,m=(null===U||void 0===U?void 0:U.includes("_v2"))||(null===U||void 0===U?void 0:U.includes("_v3"))?f:v,m){r.next=13;break}throw Error("failed to initialize tipping contract");case 13:if(A=null,!f||!(null===(t=l.value.selectedAsset)||void 0===t?void 0:t.contractId)||l.value.selectedAsset.contractId===T.cK){r.next=22;break}return r.next=17,N(l.value.selectedAsset.contractId,l.value.amount||0);case 17:return r.next=19,f.retip_token(+X.value.id.split("_")[0],l.value.selectedAsset.contractId,u,{waitMined:!1});case 19:A=r.sent,r.next=25;break;case 22:return r.next=24,m.retip(+X.value.id.split("_")[0],Object.assign(Object.assign({},{amount:u}),{waitMined:!1}));case 24:A=r.sent;case 25:k={hash:A.hash,tipUrl:X.value.url,pending:!0,protocol:o.yv.aeternity,transactionOwner:d.address,tx:{amount:u,callerId:d.address,contractId:m.$options.address,type:g.vw[g.vw.ContractCallTx],function:"retip",selectedTokenContractId:null===(n=l.value.selectedAsset)||void 0===n?void 0:n.contractId,arguments:[],fee:0}},P(d.address,k),C(!0),r.next=35;break;case 30:throw r.prev=30,r.t0=r["catch"](4),h({title:a("modals.transaction-failed.msg"),icon:"critical"}),r.t0.payload=X.value,r.t0;case 35:return r.prev=35,c(!1),r.finish(35);case 38:case"end":return r.stop()}}),r,null,[[4,30,35,38]])})))}return(0,K.sV)((function(){return mh(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(c(!0),l.value.selectedAsset=i.C.getAdapter(o.yv.aeternity).getDefaultCoin(k.value,+S.value),U){e.next=4;break}throw new Error('"id" param is missing');case 4:return e.prev=4,e.next=7,p(U);case 7:X.value=e.sent,e.next=14;break;case 10:throw e.prev=10,e.t0=e["catch"](4),e.t0.payload=U,e.t0;case 14:c(!1);case 15:case"end":return e.stop()}}),e,null,[[4,10]])})))})),{PROTOCOLS:o.yv,tip:X,formModel:l,urlStatus:V,isTippingSupported:f,numericBalance:H,sendTip:$,max:_,fee:W,balance:S,openCallbackOrGoHome:C,errorAmount:r}}}),hh=(0,Ft.A)(gh,[["render",vh],["__scopeId","data-v-69aca2f2"]]),Ah=hh;var kh={class:"seed-phrase-settings"};function yh(e,t,n,a,r,o){var i=(0,K.g2)("i18n-t"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("IonContent"),c=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(c,null,{default:(0,K.k6)((function(){return[(0,K.bF)(u,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",kh,[(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall",tag:"p",class:"text-description",scope:"global"}),(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall-2",tag:"p",class:"text-description",scope:"global"}),(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall-3",tag:"p",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.seed-phrase-settings.seedRecoverySmallBackItUp")),1)]})),_:1}),(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall-4",tag:"p",class:"text-description",scope:"global"}),(0,K.bF)(s,{class:"button",extend:"",to:{name:"settings-seed-phrase-details"}},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.seed-phrase-settings.seedRecoveryBtn")),1)]})),_:1})])]})),_:1})]})),_:1})}const bh={components:{BtnMain:Ro.A,IonPage:Fe.AO,IonContent:Fe.W9}},wh=(0,Ft.A)(bh,[["render",yh],["__scopeId","data-v-2062bb15"]]),Ch=wh;var xh={class:"seed-phrase-details"},Lh={class:"text-heading-1"},Sh={class:"mnemonics-text"},Th={class:"buttons"};function Eh(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain"),s=(0,K.g2)("CardMnemonic"),u=(0,K.g2)("i18n-t"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",xh,[(0,K.Lk)("div",Lh,(0,tt.v_)(e.$t("pages.seed-phrase-settings.this-your-seed-phrase")),1),(0,K.bF)(s,{class:"mnemonics"},{default:(0,K.k6)((function(){return[(0,K.Lk)("p",Sh,(0,tt.v_)(e.mnemonic),1),(0,K.bF)(i,{variant:"dark",class:"copy-btn","big-icon":"",icon:e.copied?e.CheckSuccessCircle:e.CopyOutlined,onClick:t[0]||(t[0]=function(t){return e.copy(e.mnemonic)})},{default:(0,K.k6)((function(){return[e.copied?((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.eW)((0,tt.v_)(e.$t("common.addressCopied")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.eW)((0,tt.v_)(e.$t("pages.seed-phrase-settings.copy")),1)],64))]})),_:1},8,["icon"])]})),_:1}),(0,K.bF)(u,{keypath:"pages.seedPhrase.backUpYourSeedPhrase",tag:"p",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.seedPhrase.inCorrectOrder")),1)]})),_:1}),(0,K.bF)(u,{keypath:"pages.seedPhrase.toBeSureYouGotItRight",tag:"p",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.seedPhrase.verifyYourSeedPhrase")),1)]})),_:1}),(0,K.Lk)("div",Th,[(0,K.bF)(i,{class:"button",extend:"",text:e.$t("pages.seedPhrase.verifySeed"),to:{name:"settings-seed-phrase-verify"}},null,8,["text"]),(0,K.bF)(i,{variant:"muted",extend:"",text:e.$t("pages.seedPhrase.doneThis"),onClick:t[1]||(t[1]=function(t){return e.markSeedPhraseAsBackedUp()})},null,8,["text"])])])]})),_:1})]})),_:1})}var Ih={class:"card-mnemonic"};function _h(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",Ih,[(0,K.RG)(e.$slots,"default",{},void 0,!0)])}const Wh=(0,K.pM)({name:"CardMnemonic"}),Fh=(0,Ft.A)(Wh,[["render",_h],["__scopeId","data-v-e74c1a8c"]]),Dh=Fh;var Bh=n(74462),Ph={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Oh=(0,K.Lk)("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"currentColor","stroke-width":"1.5"},null,-1),Mh=(0,K.Lk)("path",{d:"M16.769 7.81801C16.95 7.62414 17.2006 7.51011 17.4657 7.50102C17.597 7.49651 17.7278 7.5179 17.8508 7.56397C17.9738 7.61004 18.0865 7.67988 18.1825 7.76951C18.2785 7.85914 18.3559 7.9668 18.4103 8.08634C18.4647 8.20588 18.495 8.33496 18.4995 8.46622C18.504 8.59747 18.4826 8.72833 18.4365 8.85132C18.3905 8.9743 18.3206 9.08701 18.231 9.18301L11.231 16.683C11.055 16.8716 10.813 16.9849 10.5555 16.9993C10.2979 17.0136 10.0448 16.9279 9.84901 16.76L6.34901 13.76C6.2454 13.6759 6.15968 13.5718 6.09692 13.454C6.03416 13.3362 5.99562 13.207 5.98357 13.0741C5.97153 12.9411 5.98622 12.8071 6.02678 12.6799C6.06734 12.5528 6.13295 12.435 6.21974 12.3336C6.30653 12.2322 6.41275 12.1492 6.53213 12.0895C6.65152 12.0297 6.78165 11.9945 6.91485 11.9859C7.04805 11.9773 7.18164 11.9954 7.30773 12.0392C7.43382 12.083 7.54986 12.1516 7.64901 12.241L10.423 14.617L16.769 7.81801Z",fill:"currentColor"},null,-1),Rh=[Oh,Mh];function Nh(e,t){return(0,K.uX)(),(0,K.CE)("svg",Ph,Rh)}const Uh={},Xh=(0,Ft.A)(Uh,[["render",Nh]]),Vh=Xh,Hh=(0,K.pM)({name:"SeedPhraseDetailsSettings",components:{BtnMain:Ro.A,IonPage:Fe.AO,IonContent:Fe.W9,CardMnemonic:Dh},setup:function(){var e=(0,er.rd)(),t=(0,ce.mv)(),n=t.setBackedUpSeed,a=(0,ce.T9)(),r=a.copy,o=a.copied,i=(0,ce.oV)(),s=i.mnemonic,u=(0,ce.E$)({requirePolling:!1}),c=u.removeIsSeedBackedUpNotification;function l(){n(!0),c(),e.push({name:Ye.qJ})}return{CopyOutlined:Bh.A,CheckSuccessCircle:Vh,copy:r,copied:o,mnemonic:s,markSeedPhraseAsBackedUp:l}}}),$h=(0,Ft.A)(Hh,[["render",Eh],["__scopeId","data-v-2f6603ef"]]),jh=$h;var Kh={class:"seed-phrase-verify-settings"},qh={class:"seed-phrase-verify-settings-body"},Gh=["textContent"],Qh=["textContent"],Zh={class:"source-phrases"},Yh={class:"selected-phrases"};function zh(e,t,n,a,r,o){var i=(0,K.g2)("i18n-t"),s=(0,K.g2)("SeedPhraseBadge"),u=(0,K.g2)("SeedPhraseNotification"),c=(0,K.g2)("CardMnemonic"),l=(0,K.g2)("BtnMain"),d=(0,K.g2)("FixedScreenFooter"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Kh,[(0,K.Lk)("div",qh,[(0,K.Lk)("div",{class:"text-heading-1",textContent:(0,tt.v_)(e.$t("pages.seed-phrase-settings.verifyYourSeedPhrase"))},null,8,Gh),(0,K.Lk)("div",{class:"text-description",textContent:(0,tt.v_)(e.$t("pages.seed-phrase-settings.confirm-that-you-save-your-seed-phrase"))},null,8,Qh),(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.compose-your-seed-phrase",tag:"div",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.seed-phrase-settings.in-correct-order")),1)]})),_:1}),(0,K.Lk)("div",Zh,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.mnemonicShuffled,(function(t,n){return(0,K.uX)(),(0,K.Wv)(s,{key:n,text:t,selected:e.selectedWordIds.includes(n),onClick:function(t){return e.onSelectWord(n)}},null,8,["text","selected","onClick"])})),128))]),(0,K.Lk)("div",Yh,[e.showNotification?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"selected-phrases-notification","has-error":e.hasError},null,8,["has-error"])):(0,K.Q3)("",!0),(0,K.bF)(c,{class:"selected-phrases-list"},{default:(0,K.k6)((function(){return[e.selectedWordIds.length?((0,K.uX)(!0),(0,K.CE)(K.FK,{key:1},(0,K.pI)(e.selectedWordIds,(function(t,n){return(0,K.uX)(),(0,K.Wv)(s,{key:t,text:e.mnemonicShuffled[t],editable:"",onClick:function(t){return e.selectedWordIds.splice(n,1)}},null,8,["text","onClick"])})),128)):((0,K.uX)(!0),(0,K.CE)(K.FK,{key:0},(0,K.pI)(e.examplePhrase,(function(e,t){return(0,K.uX)(),(0,K.Wv)(s,{key:t,text:e,selected:"",editable:""},null,8,["text"])})),128))]})),_:1})])]),(0,K.bF)(d,null,{default:(0,K.k6)((function(){return[e.hasError||!e.showNotification?((0,K.uX)(),(0,K.Wv)(l,{key:0,class:"verify-button",disabled:e.isVerifyButtonDisabled,text:e.$t("pages.seedPhrase.verify"),onClick:e.verifyLastStep},null,8,["disabled","text","onClick"])):((0,K.uX)(),(0,K.Wv)(l,{key:1,text:e.$t("common.backToHome"),to:{name:e.ROUTE_ACCOUNT}},null,8,["text","to"]))]})),_:1})])]})),_:1})]})),_:1})}n(48598);var Jh=n(984),eA={class:"icon-wrapper"},tA=["textContent"];function nA(e,t,n,a,r,o){var i=(0,K.g2)("AlertIcon"),s=(0,K.g2)("CheckCircleIcon");return(0,K.uX)(),(0,K.CE)("div",{class:(0,tt.C4)(["seed-phrase-notification",{error:e.hasError}])},[(0,K.Lk)("div",eA,[e.hasError?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"icon"})):((0,K.uX)(),(0,K.Wv)(s,{key:1,class:"icon"}))]),(0,K.Lk)("div",{class:"text",textContent:(0,tt.v_)(e.notificationMessage)},null,8,tA)],2)}var aA={viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},rA=(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z"},null,-1),oA=(0,K.Lk)("path",{fill:"currentColor",d:"M33.538 15.6361C33.9 15.2484 34.4013 15.0203 34.9314 15.0022C35.1939 14.9931 35.4557 15.0359 35.7016 15.1281C35.9476 15.2202 36.173 15.3599 36.365 15.5391C36.557 15.7184 36.7118 15.9337 36.8206 16.1728C36.9294 16.4119 36.99 16.67 36.999 16.9326C37.008 17.1951 36.9652 17.4568 36.8731 17.7028C36.781 17.9487 36.6413 18.1742 36.462 18.3661L22.462 33.3661C22.1101 33.7433 21.626 33.9699 21.111 33.9986C20.5959 34.0273 20.0897 33.8559 19.698 33.5201L12.698 27.5201C12.4908 27.3518 12.3194 27.1437 12.1938 26.9081C12.0683 26.6725 11.9912 26.4141 11.9671 26.1482C11.9431 25.8824 11.9724 25.6144 12.0536 25.36C12.1347 25.1057 12.2659 24.8701 12.4395 24.6673C12.6131 24.4645 12.8255 24.2985 13.0643 24.179C13.303 24.0596 13.5633 23.9892 13.8297 23.9719C14.0961 23.9547 14.3633 23.9909 14.6155 24.0785C14.8676 24.1662 15.0997 24.3034 15.298 24.4821L20.846 29.2341L33.538 15.6361Z"},null,-1),iA=[rA,oA];function sA(e,t){return(0,K.uX)(),(0,K.CE)("svg",aA,iA)}const uA={},cA=(0,Ft.A)(uA,[["render",sA]]),lA=cA;var dA={viewBox:"0 0 48 49",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},pA=(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M24.8942 7.95537C24.7073 7.6575 24.4435 7.41259 24.1293 7.24504C23.8151 7.07749 23.4613 6.99316 23.1033 7.00043C22.7452 7.00771 22.3954 7.10635 22.0886 7.28652C21.7818 7.46669 21.5288 7.72211 21.3548 8.02731L4.25832 38.0305C4.08475 38.3348 3.99575 38.6781 4.00016 39.0263C4.00456 39.3745 4.1022 39.7155 4.28342 40.0156C4.46463 40.3157 4.72312 40.5644 5.03326 40.7371C5.34341 40.9097 5.69444 41.0004 6.05158 41H41.9517C42.3156 40.9998 42.6729 40.9051 42.9868 40.7257C43.3008 40.5463 43.5601 40.2886 43.7381 39.9791C43.9161 39.6697 44.0064 39.3195 43.9996 38.9648C43.9929 38.61 43.8895 38.2634 43.6999 37.9605L24.8942 7.95537Z"},null,-1),vA=(0,K.Lk)("path",{fill:"currentColor",d:"M25.3999 19C25.3999 17.8954 24.5045 17 23.3999 17C22.2953 17 21.3999 17.8954 21.3999 19V29C21.3999 30.1046 22.2953 31 23.3999 31C24.5045 31 25.3999 30.1046 25.3999 29V19Z"},null,-1),fA=(0,K.Lk)("path",{fill:"currentColor",d:"M25.3999 35C25.3999 33.8954 24.5045 33 23.3999 33C22.2953 33 21.3999 33.8954 21.3999 35C21.3999 36.1046 22.2953 37 23.3999 37C24.5045 37 25.3999 36.1046 25.3999 35Z"},null,-1),mA=[pA,vA,fA];function gA(e,t){return(0,K.uX)(),(0,K.CE)("svg",dA,mA)}const hA={},AA=(0,Ft.A)(hA,[["render",gA]]),kA=AA,yA=(0,K.pM)({components:{CheckCircleIcon:lA,AlertIcon:kA},props:{hasError:Boolean},setup:function(e){var t=(0,yn.s9)(),n=t.t,a=(0,K.EW)((function(){return e.hasError?n("pages.seed-phrase-settings.seed-phrase-incorrect"):n("pages.seed-phrase-settings.seed-phrase-correct")}));return{notificationMessage:a}}}),bA=(0,Ft.A)(yA,[["render",nA],["__scopeId","data-v-53556f6a"]]),wA=bA;function CA(e,t,n,a,r,o){var i=(0,K.g2)("CloseIcon"),s=(0,K.g2)("BtnPlain");return(0,K.uX)(),(0,K.Wv)(s,(0,K.v6)({class:["seed-phrase-badge",{selected:e.selected,editable:e.editable}]},e.$attrs,{onClick:t[0]||(t[0]=function(t){return e.$emit("click",t)})}),{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,(0,tt.v_)(e.text),1),e.editable?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"close-icon"})):(0,K.Q3)("",!0)]})),_:1},16,["class"])}var xA=n(5684);const LA=(0,K.pM)({components:{BtnPlain:Rr.A,CloseIcon:xA.A},props:{selected:Boolean,editable:Boolean,text:{type:String,required:!0}},emits:["click"]}),SA=(0,Ft.A)(LA,[["render",CA],["__scopeId","data-v-6c333003"]]),TA=SA,EA=(0,K.pM)({components:{SeedPhraseBadge:TA,SeedPhraseNotification:wA,FixedScreenFooter:ws.A,BtnMain:Ro.A,CardMnemonic:Dh,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,yn.s9)(),t=e.t,n=(0,ce.mv)(),a=n.setBackedUpSeed,r=(0,ce.oV)(),o=r.mnemonic,i=(0,ce.E$)({requirePolling:!1}),s=i.removeIsSeedBackedUpNotification,u=(0,bt.KR)([]),c=(0,bt.KR)(!1),l=(0,bt.KR)(!1),d=(0,bt.KR)([t("pages.seedPhrase.first"),t("pages.seedPhrase.second"),"..."]),p=(0,K.EW)((function(){return(0,Jh.A)(o.value.split(" "))})),v=(0,K.EW)((function(){return!u.value.length||u.value.length!==p.value.length||l.value&&c.value}));function f(){var e=u.value.map((function(e){return p.value[e]})).join(" ");c.value=!0,l.value=o.value!==e,l.value?setTimeout((function(){c.value=!1}),3e3):(a(!0),s())}function m(e){u.value.includes(e)||u.value.push(e)}return(0,Fe.Y0)((function(){u.value=[],c.value=!1,l.value=!1})),{ROUTE_ACCOUNT:Ye.qJ,selectedWordIds:u,showNotification:c,hasError:l,examplePhrase:d,mnemonic:o,mnemonicShuffled:p,isVerifyButtonDisabled:v,verifyLastStep:f,onSelectWord:m}}}),IA=(0,Ft.A)(EA,[["render",zh],["__scopeId","data-v-25d35038"]]),_A=IA;var WA={class:"settings"};function FA(e,t,n,a,r,o){var i=(0,K.g2)("PanelItem"),s=(0,K.g2)("IonContent"),u=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(u,null,{default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",WA,[(0,K.bF)(i,{to:{name:"settings-seed-phrase"},title:e.$t("pages.index.seedPhrase")},null,8,["title"]),(0,K.bF)(i,{to:{name:e.ROUTE_NETWORK_SETTINGS},title:e.$t("pages.titles.networks"),info:e.activeNetwork.name,"data-cy":"networks-settings"},null,8,["to","title","info"]),(0,K.bF)(i,{to:{name:e.ROUTE_PERMISSIONS_SETTINGS},title:e.$t("pages.titles.permissionsSettings")},null,8,["to","title"]),(0,K.bF)(i,{to:{name:"notification-settings"},title:e.$t("pages.titles.notifications")},null,8,["title"]),(0,K.bF)(i,{to:{name:"settings-language"},title:e.$t("pages.titles.language")},null,8,["title"]),(0,K.bF)(i,{to:{name:"settings-currency"},title:e.$t("pages.titles.currency"),info:e.activeCurrency},null,8,["title","info"]),(0,K.bF)(i,{to:{name:"settings-errors-log"},title:e.$t("pages.titles.saveErrorsLog"),info:e.saveErrorLog?"On":"Off"},null,8,["title","info"]),(0,K.bF)(i,{to:{name:"settings-reset-wallet"},title:e.$t("pages.titles.resetWallet")},null,8,["title"])])]})),_:1})]})),_:1})}const DA=(0,K.pM)({name:"Settings",components:{PanelItem:Ut,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.ZN)(),t=e.currentCurrencyInfo,n=(0,ce.fI)(),a=n.activeNetwork,r=(0,ce.mv)(),o=r.saveErrorLog,i=(0,K.EW)((function(){return"".concat(t.value.code.toUpperCase()," (").concat(t.value.symbol.toUpperCase(),")")}));return{ROUTE_NETWORK_SETTINGS:Ye.nj,ROUTE_PERMISSIONS_SETTINGS:Ye.z0,activeNetwork:a,saveErrorLog:o,activeCurrency:i}}}),BA=(0,Ft.A)(DA,[["render",FA],["__scopeId","data-v-e9e78210"]]),PA=BA;function OA(e,t,n,a,r,o){var i=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(i)}var MA=n(48287)["Buffer"],RA=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const NA=(0,K.pM)({name:"SignMessage",components:{IonPage:Fe.AO},setup:function(){var e=this,t=(0,er.lq)();(0,K.sV)((function(){return RA(e,void 0,void 0,(0,s.A)().mark((function e(){var n,a,r,i,u,c,l,d,p,v,f,m,g,h,A,k,y,b,w,C,x;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=(0,ce.si)(),i=r.callbackOrigin,u=r.openCallbackOrGoHome,c=(0,ce.CP)(),l=c.getAeSdk,d=(0,ce.U8)(),p=d.openModal,v=(0,ce.mv)(),f=v.setLoaderVisible,e.prev=4,f(!0),e.next=8,l();case 8:return m=e.sent,g=null===(n=t.query.message)||void 0===n?void 0:n.toString(),h=!!g&&"hex"===(null===(a=t.query.encoding)||void 0===a?void 0:a.toString()),A=h?MA.from(g,"hex"):g,k=null===A||void 0===A?void 0:A.toString(),y=i.value||{},b=y.host,w=y.href,e.next=16,p(o.gK,{message:k,app:{host:b,name:b,url:w}});case 16:return e.next=18,m.signMessage(A);case 18:C=e.sent,x=MA.from(C).toString("hex"),u(!0,{signature:x}),e.next=27;break;case 23:e.prev=23,e.t0=e["catch"](4),u(!1),e.t0 instanceof Ga.v&&(0,L.fY)(e.t0);case 27:return e.prev=27,f(!1),e.finish(27);case 30:case"end":return e.stop()}}),e,null,[[4,23,27,30]])})))}))}}),UA=(0,Ft.A)(NA,[["render",OA]]),XA=UA;function VA(e,t,n,a,r,o){var i=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(i)}var HA=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const $A=(0,K.pM)({name:"SignTransaction",components:{IonPage:Fe.AO},setup:function(){var e=this,t=(0,er.lq)(),n=(0,yn.s9)(),a=n.t;(0,K.sV)((function(){return HA(e,void 0,void 0,(0,s.A)().mark((function e(){var n,r,i,u,c,l,d,p,v,f,m,g,h,A,k,y,b,w,C;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=(0,ce.si)(),i=r.callbackOrigin,u=r.openCallbackOrGoHome,c=(0,ce.CP)(),l=c.nodeNetworkId,d=c.getAeSdk,p=(0,ce.U8)(),v=p.openDefaultModal,f=(0,ce.mv)(),m=f.setLoaderVisible,e.prev=4,m(!0),e.next=8,d();case 8:if(g=e.sent,h=t.query,A=h.transaction,k=h.networkId,y=h.broadcast,k===l.value){e.next=15;break}return e.next=13,v({icon:"warning",title:a("modals.wrongNetwork.title"),msg:a("modals.wrongNetwork.msg",[k]),buttonMessage:a("modals.wrongNetwork.button")});case 13:return u(!1),e.abrupt("return");case 15:return e.next=17,g.signTransaction(decodeURIComponent(A),{networkId:k,aeppOrigin:null===(n=i.value)||void 0===n?void 0:n.toString()});case 17:if(b=e.sent,!y){e.next=28;break}return e.next=21,g.api.postTransaction({tx:b});case 21:return w=e.sent,C=w.txHash,e.next=25,g.poll(C,{blocks:o.u8});case 25:u(!0,{"transaction-hash":C}),e.next=29;break;case 28:u(!0,{transaction:b});case 29:e.next=37;break;case 31:return e.prev=31,e.t0=e["catch"](4),e.next=35,v({title:a("modals.transaction-failed.msg"),icon:"critical",msg:e.t0.message});case 35:u(!1),e.t0 instanceof Ga.v&&(0,L.fY)(e.t0);case 37:return e.prev=37,m(!1),e.finish(37);case 40:case"end":return e.stop()}}),e,null,[[4,31,37,40]])})))}))}}),jA=(0,Ft.A)($A,[["render",VA]]),KA=jA;var qA=function(e){return(0,K.Qi)("data-v-6eec62a2"),e=e(),(0,K.jt)(),e},GA={class:"terms-of-service"},QA=qA((function(){return(0,K.Lk)("p",{class:"italic"},[(0,K.eW)(" The present "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(" are effective since 9th April 2020. ")],-1)})),ZA=qA((function(){return(0,K.Lk)("p",{class:"italic"},[(0,K.Lk)("b",null,"Superhero.com LVC"),(0,K.eW)(" reserves its right to modify and update these "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(" according to the policy and practice of the "),(0,K.Lk)("b",null,"company"),(0,K.eW)(". The new version of the "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(" becomes effective from the day it is announced on "),(0,K.Lk)("b",null,"Our Superhero Wallet"),(0,K.eW)(" unless stated otherwise. ")],-1)})),YA=qA((function(){return(0,K.Lk)("hr",null,null,-1)})),zA=qA((function(){return(0,K.Lk)("p",{class:"bolder"}," THE SOFTWARE IS PROVIDED BY SUPERHERO.COM LVC “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",-1)})),JA=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" These "),(0,K.Lk)("b",null,"TERMS OF USE („TERMS“)"),(0,K.eW)(" apply exclusively for the "),(0,K.Lk)("b",null,"Superhero Wallet"),(0,K.eW)(" (hereinafter referred to as the “"),(0,K.Lk)("b",null,"Wallet"),(0,K.eW)("” or the “"),(0,K.Lk)("b",null,"application"),(0,K.eW)("”) and all the content available on the website extension. Please make sure that you have carefully read the "),(0,K.Lk)("b",null,"TERMS"),(0,K.eW)(" before using the "),(0,K.Lk)("b",null,"application"),(0,K.eW)(". Otherwise, by using it, we consider these actions implicit agreement to the "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(". These "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(" represent a binding agreement between you, the legal entity you represent and the legal entity that registered you (collectively „"),(0,K.Lk)("b",null,"YOU"),(0,K.eW)("“) and "),(0,K.Lk)("b",null,"Superhero.com LVC (“Superhero”, “we”, “us”"),(0,K.eW)(" or "),(0,K.Lk)("b",null,"“our”)"),(0,K.eW)(" in connection to your use of the "),(0,K.Lk)("b",null,"Superhero Wallet application."),(0,K.eW)(". ")],-1)})),ek=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please, do not use the application provided by "),(0,K.Lk)("b",null,"Superhero"),(0,K.eW)(", if you do not agree to the "),(0,K.Lk)("b",null,"TERMS"),(0,K.eW)(" applied within this document. ")],-1)})),tk=qA((function(){return(0,K.Lk)("b",null,"WE",-1)})),nk=qA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),ak=qA((function(){return(0,K.Lk)("b",null,"USERS",-1)})),rk=qA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),ok=qA((function(){return(0,K.Lk)("b",null,"application",-1)})),ik=qA((function(){return(0,K.Lk)("b",null,"YOU",-1)})),sk=qA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),uk=qA((function(){return(0,K.Lk)("b",null,"Wallet",-1)})),ck=qA((function(){return(0,K.Lk)("b",null,"YOU",-1)})),lk=qA((function(){return(0,K.Lk)("b",null,"Wallet",-1)})),dk=qA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),pk=qA((function(){return(0,K.Lk)("b",null,"YOU",-1)})),vk=qA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),fk=qA((function(){return(0,K.Lk)("b",null,"Wallet",-1)})),mk=qA((function(){return(0,K.Lk)("b",null,"Superhero",-1)})),gk=qA((function(){return(0,K.Lk)("b",null,"YOU",-1)})),hk=qA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),Ak=qA((function(){return(0,K.Lk)("p",{class:"italic underline"},[(0,K.eW)(" Once you agree to the "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(", we consider this an explicit consent to the following: ")],-1)})),kk=qA((function(){return(0,K.Lk)("strong",null,"Superhero.com Establishment (“Superhero”, “we”, “us”, “our”",-1)})),yk=qA((function(){return(0,K.Lk)("strong",null,"“the company” ",-1)})),bk=qA((function(){return(0,K.Lk)("strong",null,"Superhero Wallet",-1)})),wk=qA((function(){return(0,K.Lk)("strong",null,"Superhero",-1)})),Ck=qA((function(){return(0,K.Lk)("strong",null,"Superhero Wallet",-1)})),xk=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.2. “"),(0,K.Lk)("strong",null,"USER"),(0,K.eW)("“ or “"),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)("“ means a natural or legal person, who has downloaded and uses the "),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)(),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")],-1)})),Lk=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.3. “"),(0,K.Lk)("strong",null,"Blockchain"),(0,K.eW)("“ means the list of records, also known as "),(0,K.Lk)("em",null,"blocks"),(0,K.eW)(", which are linked with the method of cryptography. The technology allows large groups of people to connect and reach agreement on data, which is afterwards permanently recorded without the presence of central authority. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can access, create and save information on the "),(0,K.Lk)("strong",null,"Aeternity blockchain"),(0,K.eW)(". The decentralized, distributed and public digital ledger is used for the purpose of recording transactions in blocks of information with the help of "),(0,K.Lk)("strong",null,"Validators"),(0,K.eW)(", which cannot be altered retroactively. ")],-1)})),Sk=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.4. “"),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)("” (“"),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)("” or “"),(0,K.Lk)("strong",null,"application"),(0,K.eW)("”) is a software program designed for end users, which allows supporters to send value to content creators, causes, charities, groups or regular individuals online as a reward for contributing accurate information, relevant insights, quality content. The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is a piece of software which is available for downloading/access and use as it follows: ")],-1)})),Tk=qA((function(){return(0,K.Lk)("strong",null,"application",-1)})),Ek=qA((function(){return(0,K.Lk)("strong",null,"application",-1)})),Ik=qA((function(){return(0,K.Lk)("strong",null,"application",-1)})),_k=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.5"),(0,K.Lk)("strong",null,". “Æid“, “Æternity token”"),(0,K.eW)(" or “"),(0,K.Lk)("strong",null,"Æ token"),(0,K.eW)("” are the "),(0,K.Lk)("strong",null,"Æternity "),(0,K.eW)("digital assets, which can be tracked or transferred on the "),(0,K.Lk)("strong",null,"Æternity blockchain. ")],-1)})),Wk=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.6. “"),(0,K.Lk)("strong",null,"Validators"),(0,K.eW)("” are independent physical persons or entities, which are not in any way part of "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". Their function in the system includes responsibility for "),(0,K.Lk)("em",null,"blocks"),(0,K.eW)(" constitution and broadcast of these "),(0,K.Lk)("em",null,"blocks"),(0,K.eW)(" with the "),(0,K.Lk)("strong",null,"Aeternity"),(0,K.eW)(),(0,K.Lk)("strong",null,"blockchain"),(0,K.eW)(". ")],-1)})),Fk=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.7. “"),(0,K.Lk)("strong",null,"Account address"),(0,K.eW)("” or “"),(0,K.Lk)("strong",null,"Wallet address"),(0,K.eW)("” is a hashed version of the "),(0,K.Lk)("strong",null,"USER’s public key"),(0,K.eW)(", used to identify "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")],-1)})),Dk=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.8. “"),(0,K.Lk)("strong",null,"Keys"),(0,K.eW)("” represent uniquely related private and public cryptographic keys of random numbers used for encryption and decryption of information. ")],-1)})),Bk=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.9. “"),(0,K.Lk)("strong",null,"Æternity Naming System"),(0,K.eW)("” allows "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" to claim names and associate them with one or more "),(0,K.Lk)("strong",null,"Æternity"),(0,K.eW)(" accounts. ")],-1)})),Pk=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.10. “"),(0,K.Lk)("strong",null,"Name of account"),(0,K.eW)("” is a domain-like identification string, which allows "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" control over its creation, development and alienation. ")],-1)})),Ok=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.1. The application ")],-1)})),Mk=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" designed and built the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" as a cryptocurrency wallet which is connected with the "),(0,K.Lk)("strong",null,"Æternity"),(0,K.Lk)("strong",null,"blockchain"),(0,K.eW)(".Through it, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can store, send and collect "),(0,K.Lk)("strong",null,"Æ tokens."),(0,K.eW)("  The purpose is to conduct donations to creators, causes, charities, groups, or regular individuals online as a reward for contributing accurate information, relevant insights and quality content. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can donate to different platforms through the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")],-1)})),Rk=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" is a software solution, the interface is provided with the purpose of facilitating the interaction between the "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and the protocols of the "),(0,K.Lk)("strong",null,"Aeternity blockchain,"),(0,K.eW)(" to manage your "),(0,K.Lk)("strong",null,"account"),(0,K.eW)(" and your "),(0,K.Lk)("strong",null,"Æ tokens. "),(0,K.eW)("The Protocols represent a system that is implemented with the purpose of reaching consensus between "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and validating transactions on the "),(0,K.Lk)("strong",null,"Aeternity blockchain. Superhero"),(0,K.eW)(" does not in any way control the blockchain due to the fact it is decentralized and all transactions are executed between "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" in a peer-to-peer manner in which "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not involved. ")],-1)})),Nk=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can use a variety of options to download and access the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(". They can download the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" as a browser extension, access it on an Internet address or download a mobile application. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" should be aware that they can use all the options mentioned with the same "),(0,K.Lk)("strong",null,"account"),(0,K.eW)(" only when they have created a seed phrase and they use it to link their "),(0,K.Lk)("strong",null,"accounts"),(0,K.eW)(" on the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(". ")],-1)})),Uk=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.2. Sending tips")],-1)})),Xk=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" when downloaded and used as an extension only, automatically finds the URL of a website for the purpose of the donation. Once "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are on the URL address that"),(0,K.Lk)("strong",null," YOU "),(0,K.eW)("want to tip, you have to: ")],-1)})),Vk=qA((function(){return(0,K.Lk)("ul",null,[(0,K.Lk)("li",null," Open your Superhero wallet extension. The button should be in the upper right of your browser tool bar. "),(0,K.Lk)("li",null,[(0,K.eW)("Click “Send "),(0,K.Lk)("strong",null,"Æ"),(0,K.eW)("”.")]),(0,K.Lk)("li",null,[(0,K.eW)(" On the next screen, fill in the required fields. Enter the amount of tips "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" want to send, and add a message telling the receiver why they’re awesome. ")]),(0,K.Lk)("li",null,"Click “Send Tips”."),(0,K.Lk)("li",null,"On the next screen, review the details of your tip."),(0,K.Lk)("li",null,"Click “Confirm” to complete the transaction.")],-1)})),Hk=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" When the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is accessed from the Web or as a mobile application, "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" have to choose and copy the URL address of the website "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" would like to tip and afterwards: ")],-1)})),$k=qA((function(){return(0,K.Lk)("ul",null,[(0,K.Lk)("li",null,[(0,K.eW)("Click “Send "),(0,K.Lk)("strong",null,"Æ"),(0,K.eW)("”.")]),(0,K.Lk)("li",null,[(0,K.eW)(" On the next screen, fill in the required fields. Enter the URL address, amount of tips "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" want to send, and add a message telling the receiver why they’re awesome. ")]),(0,K.Lk)("li",null,"Click “Send Tips”."),(0,K.Lk)("li",null,"On the next screen, review the details of your tip."),(0,K.Lk)("li",null,"Click “Confirm” to complete the transaction.")],-1)})),jk=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please bear in mind that the transactions are irreversible when completed – meaning that "),(0,K.Lk)("strong",null,"YOU "),(0,K.eW)("cannot change the URL address you sent the tip to, the amount or comment sent. ")],-1)})),Kk=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The donations can be oriented in two flows as it follows - "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can tip the owner of the whole website/platform or the specific creator/author on the platform who has written/prepared the news/article/section/material. ")],-1)})),qk=qA((function(){return(0,K.Lk)("strong",null,"USERS’",-1)})),Gk=qA((function(){return(0,K.Lk)("strong",null,"USERS",-1)})),Qk=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.3. Collecting tips")],-1)})),Zk=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" If "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" want to receive such tips yourself, copy your "),(0,K.Lk)("strong",null,"Wallet address "),(0,K.eW)("and paste it onto your web page or profile – it could be a blog, a social media account or any other online profile. Save the change and refresh the page. "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" can also add your"),(0,K.Lk)("strong",null," Wallet address"),(0,K.eW)(" in the source code of the web page. Then, "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" should open your "),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)(" to access the tips received. Please bear in mind that there may be slight delays in collecting tips, we advise that you wait for a few minutes and open the "),(0,K.Lk)("strong",null,"Wallet "),(0,K.eW)("again. Do not hesitate to contact us if "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" experience any difficulties. ")],-1)})),Yk=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.4. Loading your wallet")],-1)})),zk=qA((function(){return(0,K.Lk)("strong",null,"Wallet ",-1)})),Jk=qA((function(){return(0,K.Lk)("strong",null,"Æ tokens,",-1)})),ey=qA((function(){return(0,K.Lk)("strong",null,"YOU",-1)})),ty=qA((function(){return(0,K.Lk)("strong",null,"application",-1)})),ny=qA((function(){return(0,K.Lk)("strong",null,"YOU",-1)})),ay=qA((function(){return(0,K.Lk)("strong",null,"Æ tokens",-1)})),ry=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please bear in mind that the third-party platforms may collect fees. They are unilaterally determined and are not an object of control by "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". ")],-1)})),oy=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.5. Withdrawing tips")],-1)})),iy=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" To withdraw your tips, "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" can use one of the third-party crypto exchanges that supports "),(0,K.Lk)("strong",null,"Æ tokens. "),(0,K.eW)("Again, additional information about the platforms can be seen in our Superhero Tutorial and "),(0,K.Lk)("strong",null,"WE"),(0,K.eW)(" are at disposal for further assistance. ")],-1)})),sy=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.6. Transactions on the application and Æ claims")],-1)})),uy=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Transactions on the application"),(0,K.eW)(": USERS")]),(0,K.eW)(" can browse through their transaction history. "),(0,K.Lk)("strong",null,"The Wallet"),(0,K.eW)(" displays the "),(0,K.Lk)("strong",null,"USER’s"),(0,K.eW)(" tokens. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are in charge of the safe storage, sending and receiving of funds. The application is built for small transactions. High volume transactions or storage can be undertaken via the application at the "),(0,K.Lk)("strong",null,"USER’s"),(0,K.eW)(" own risk. ")],-1)})),cy=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Æ claims:")]),(0,K.eW)(" Please bear in mind that for the present moment the "),(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Æ claims function is not possible, ")]),(0,K.eW)("however, Superhero’s intention is to constantly develop and improve the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" for all"),(0,K.Lk)("strong",null," USERS"),(0,K.eW)(" and once this function is available on the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(", the following will be applicable: ")],-1)})),ly=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The tips are sent to the "),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)(" of the URL address entered when there is such "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" created. Donations can also be made to websites/platforms/organizations/people who have not downloaded and used the "),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)(" before or during the moment of tipping. ")],-1)})),dy=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Æternity blockchain "),(0,K.eW)("manages "),(0,K.Lk)("u",null,"smart contracts"),(0,K.eW)(" – they are self-enforcing agreements which are embedded in the source code. Therefore, the "),(0,K.Lk)("u",null,"smart contracts"),(0,K.eW)(" are independent, with incorporated set of rules when and how to act without any control or interference conducted by "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" under any form. The "),(0,K.Lk)("u",null,"smart contracts"),(0,K.eW)(" are a specific feature of the decentralized public ledger. If the websites/platforms/organizations/people who are tipped, do not have a "),(0,K.Lk)("strong",null,"Superhero Wallet, "),(0,K.eW)("the sent tip is stored in the so called “"),(0,K.Lk)("u",null,"Tipping Smart Contract"),(0,K.eW)("”. The "),(0,K.Lk)("u",null,"Oracles"),(0,K.eW)(" – also a function of the decentralized blockchain – follows when the receiver of the tip will generate a "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(". If the receiver of the tip creates a "),(0,K.Lk)("strong",null,"Wallet,"),(0,K.eW)(" they can claim the "),(0,K.Lk)("strong",null,"Æ tokens "),(0,K.eW)("initially tipped and stored in the “"),(0,K.Lk)("u",null,"Tipping Smart Contract"),(0,K.eW)("”. The receiver of the tip has the right to access and claim the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" in a time frame of 1 (one) year from the moment of tipping. After the lapse of this 1 (one) year, the receiver loses their right to gain the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(". Within the second year from the moment of tipping, only the tipping "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" can claim its "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" back. After the lapse of the second year, the tipping "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" loses its right to regain back the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" he has sent. Due to the decentralized character of the blockchain, "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" cannot control the accumulation/receipt of the tips and to return them back when they are not received. Only the "),(0,K.Lk)("u",null,"smart contract "),(0,K.eW)("and the "),(0,K.Lk)("strong",null,"USERS "),(0,K.eW)("themselves can affect the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" due to the peer-to-peer method. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand that if the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" are not claimed, they can be stored in the "),(0,K.Lk)("u",null,"smart contract"),(0,K.eW)(" without limitation of time and without any purpose. This is why, after the lapse of the two years in which the receiver and the sender of the tips could claim the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" but have not"),(0,K.Lk)("strong",null,","),(0,K.eW)(" the “"),(0,K.Lk)("u",null,"Tipping Smart Contract"),(0,K.eW)("” sends the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" to an "),(0,K.Lk)("strong",null,"address"),(0,K.eW)(" of "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". Once the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" are received by "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(", receivers and senders of the tip accept and agree that they shall not have any claims over the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" and "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall not be held liable for their receipt provided it is caused by the receiver and the sender’s inactivity from their side during the above-mentioned periods of time. The tips will then be used by "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" for the further development of the "),(0,K.Lk)("strong",null,"blockchain"),(0,K.eW)(" ecosystem, the development of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" or any other project or activity it finds suitable and reasonable. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall make such decisions at its own estimation. ")],-1)})),py=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The application gives two possibilities for identification of "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" as it follows: ")],-1)})),vy=qA((function(){return(0,K.Lk)("ul",null,[(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"Account address")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"Name of account ")])],-1)})),fy=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Account address"),(0,K.eW)(" consists of random string of numbers and letters that starts with “ak_”. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can find their "),(0,K.Lk)("strong",null,"Wallet addresses"),(0,K.eW)(" on the dashboard, right above the balance. The "),(0,K.Lk)("strong",null,"Account address"),(0,K.eW)(" is the public ID other "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" see by default. Once a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" has downloaded the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(", the "),(0,K.Lk)("strong",null,"Wallet "),(0,K.eW)("automatically generates the account address."),(0,K.Lk)("strong",null,"  ")],-1)})),my=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" In addition, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are given the option to claim a "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" for their account(s) via the "),(0,K.Lk)("strong",null,"Æternity Naming System"),(0,K.eW)(". If a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" claims a "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(", other "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" may associate it with the corresponding account. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are free to choose the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(". The only requirement is that the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" must have a minimum amount of "),(0,K.Lk)("strong",null,"Æ tokens "),(0,K.eW)("in the "),(0,K.Lk)("strong",null,"WALLET depending on the number of letters of the domain to be claimed"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"We"),(0,K.eW)(" request from "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" not to use any offensive, racist, misleading, provocative or any other inappropriate wording. ")],-1)})),gy=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The idea behind account "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(" is to serve as an alternative to the "),(0,K.Lk)("strong",null,"Account address"),(0,K.eW)(", making it much easier for other "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" to send a tip. ")],-1)})),hy=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can claim "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(" via a set of "),(0,K.Lk)("u",null,"smart contracts"),(0,K.eW)(". The name establishment to a person can be an object of an auction. ")],-1)})),Ay=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" In Section “Names” every "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" can freely claim a "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(". The "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" pre-claim requires the payment of a transaction fee in micro "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" and the commitment of the fee to the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" owned account. Once a person has set up a "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(", the "),(0,K.Lk)("strong",null,"Æternity Naming System"),(0,K.eW)(" launches an auction within which all "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" of the "),(0,K.Lk)("strong",null,"WALLET"),(0,K.eW)(" can bid and within which a final "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" fee is paid. Please bear in mind that "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(" with 13 (thirteen) or more characters are claimed directly without undergoing an auction and after the payment of the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" fee. The period of time during which the auction is available (for names with less than 13 characters) cannot be specified - it is based on the length of the name and the number of bids. Each bid resets the auction counter on the ongoing auction. The highest bid after the time has passed, receives the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(". Please bear in mind that the person who has suggested the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" and the person who has received the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" can be two separate people and the claim of the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" solely depends on the bids in the auctions. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not regulate or control the auctions. The claim is only available for 100 (one hundred) days. ")],-1)})),ky=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Before the lapse of 100 (one hundred) days, if the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" wants to preserve the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(", they should update the claim and pay for the same. Each update is for one more period of 100 (one hundred) days with an option for reservation for an additional period of 100 (one hundred) days. Once it reaches the expiration date on the claim, the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" is released, i.e. transition into the unclaimed state, after which it can be claimed again. During the claim, if the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" decides to extend the account related "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(", they shall only pay the transaction fee without paying additional "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" fees. The extension possibility is available within the above-mentioned period of 100 (one hundred) days and is not a prerequisite for renewal of the period.  ")],-1)})),yy=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Æternity Naming System"),(0,K.eW)(" gives the possibility for "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" to exchange and transfer their "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(". The "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" who has received the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" can transfer it to an account of another "),(0,K.Lk)("strong",null,"USER "),(0,K.eW)("- third party, or another "),(0,K.Lk)("strong",null,"Æ Wallet address"),(0,K.eW)(" the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" owns. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not control in any way the assignment and alienation of "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(". The decisions undertaken during the claim period of the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" are a result of the "),(0,K.Lk)("strong",null,"USER’s"),(0,K.eW)(" sole estimation. ")],-1)})),by=qA((function(){return(0,K.Lk)("strong",null,"name",-1)})),wy=qA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" As a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(", "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" agree to the following rules applicable for the"),(0,K.Lk)("strong",null," Superhero Wallet"),(0,K.eW)(" : ")]),(0,K.Lk)("ul",null,[(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" shall comply with the rules set within the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" and perform any actions on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" in good faith and according to the applicable legislation; ")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are an adult and "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are not persons under judicial disability ("),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" have obtained full legal capacity); ")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" shall not try to obtain or gain access over any personal or identifiable information, including but not limited to seed phrases, private keys, from other "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(", nor shall "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" disclose such information about yourself; ")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" shall not in any way compromise or exploit the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" or use the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" for any illegal activity or outside the purpose for its creation; ")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"Your"),(0,K.eW)(" actions do not in any manner mislead into thinking that "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are another person or company; "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" shall not purposefully provide information by using another person’s seed phrases, "),(0,K.Lk)("strong",null,"account addresses"),(0,K.eW)(", "),(0,K.Lk)("strong",null,"account"),(0,K.eW)(),(0,K.Lk)("strong",null,"names"),(0,K.eW)(" with the purpose of representing as somebody else. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall undertake any possible action against such identity thefts and frauds in case the "),(0,K.Lk)("strong",null,"company"),(0,K.eW)(" suspects a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)("; ")]),(0,K.Lk)("li",null,[(0,K.eW)(" the device "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" use does not contain or install any viruses, worms, malware, Trojan horses or other harmful or destructive content. ")])]),(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" shall be liable for any action undertaken in violation of the present article. ")])],-1)})),Cy=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" As mentioned above, the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" is only a software solution, which facilitates the interaction between "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and the decentralized, public ledger. Therefore, "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are solely responsible and liable for any and all of your actions and inactions on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" and all gains and losses sustained from your use of it. "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" indemnify "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(", its employees and affiliates in full for any and all negative consequences that might arise from the use of the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" due to the lack of control over the peer-to-peer activities. ")],-1)})),xy=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"General Disclaimer:")]),(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" is open-source, public and permissionless ledger, meaning that anyone can download, participate, develop, improve and validate transactions on the "),(0,K.Lk)("strong",null,"blockchain"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" cannot and does not control in any way the transactions conducted by "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not ensure the trustworthiness and validity of the same. Please, bear in mind that every "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" is solely responsible for the actions undertaken on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" and the information presented by them. ")],-1)})),Ly=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Password and Seed Phrase Security Disclaimer:")]),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" take responsibility for their digital security. The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" gives the possibility to set up a seed phrase, consisting of random unique combination of words. The purpose of the seed phrase is to restore the access to the "),(0,K.Lk)("strong",null,"account"),(0,K.eW)(", once the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" has lost access to the original "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" for any reason (migrating to a new device, reinstalling browser, etc.). "),(0,K.Lk)("strong",null,"Superhero"),(0,K.Lk)("strong",null,"does not collect the private keys or the seed phrases and shall not be treated under any circumstances as a custodian wallet provider. WE HIGHLY RECOMMEND ALL USERS TO SET UP A SEED PHRASE AND PROTECT IT."),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" should store their seed phrase offline safely. Please bear in mind that if a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" has not set up a seed phrase for backup or they have forgotten the seed phrase and its exact wording, the access to their "),(0,K.Lk)("strong",null,"accounts"),(0,K.eW)(" can be permanently restricted. The lack of access does not mean in any way that the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" are lost. The "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" remain available, however, they cannot be controlled, transferred and any other action with them cannot be undertaken. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall not be held liable in any case of lost, forgotten or misspelled seed phrases. In addition, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" must not share their seed phrase with anyone. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" should not be liable for any claim, damages or other liability, tort or otherwise, arising from, out of or in connection with the impossibility of "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" to regain access to their account on the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(". ")],-1)})),Sy=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please bear in mind that the option “Retrieve existing account” is applicable only in case the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" has a seed phrase. ")],-1)})),Ty=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Decentralization and Control "),(0,K.Lk)("u",null,"Transparency Disclaimer")]),(0,K.eW)(": "),(0,K.Lk)("strong",null,"Blockchain"),(0,K.eW)(" technology is decentralized by nature - which means that the makers of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" cannot access or freeze your "),(0,K.Lk)("strong",null,"account"),(0,K.eW)("; recover or reset your seed phrase; reverse, cancel or refund transactions. Only "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are in charge of the safe storage and sending of their funds. By agreeing to the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(", "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" accept and guarantee to defend, indemnify and hold "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" harmless from and against any and all claims, costs, expenses, including but not limited to attorneys’ fees, damages, etc., related to or arising from the use of the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")],-1)})),Ey=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Access and Connectivity Disclaimer")]),(0,K.eW)(": The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" can be downloaded or used from the following places: ")],-1)})),Iy=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please bear in mind that the marketplaces for downloading are third-party owned and therefore, can cease the supporting of the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" in their own estimation, making it difficult or impossible to receive any functionality from the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" or updates. ")],-1)})),_y=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Moreover, please bear in mind that the source code to the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is uploaded on GitHub. When any modifications/updates, etc. are conducted on the source code, they are automatically reflected on the browser extension option and the web browser due to the fact they are Internet connected "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" access points. However, for "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" who use the mobile options from Google Play or App Store, for them to receive updates, modifications, etc. of the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(", they should download the new version of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" from the same marketplaces. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and agree that if they do not download the newest versions from Google Play or App Store, they will not receive the latest features, improvements, etc. ")],-1)})),Wy=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" It is possible that devices on which the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" is installed to be harmed by malware/spyware/viruses/cyber-attacks, etc. or during technical support. Damage or loss of the device can possibly result in loss of funds or endanger them. Therefore, please refer to section "),(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Password and Seed Phrase Security Disclaimer")]),(0,K.eW)(" in regard to seed phrases. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not responsible for any of the above-mentioned access and connectivity troubleshooting. Therefore, "),(0,K.Lk)("strong",null,"WE"),(0,K.eW)(" shall not be held liable for any loss of data on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" caused in these cases. ")],-1)})),Fy=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Cryptocurrency Guidance Disclaimer:")]),(0,K.eW)(" The content presented on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is not intended to be used as guide for cryptocurrency investments or signing of other legal agreements in connection to cryptocurrencies. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not offer business advices, which can be used as a legal basis for any investments or agreements in the sphere. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall not be held liable in any case of negative consequences from transactions or non-compliance with obligations of legal agreements signed by "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(", including but not only losses, tort, revenue, income or profits loss arising out of the contracts/ transactions/investment acts/agreements. ")],-1)})),Dy=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Jurisdiction and Regulatory Disclaimer:")]),(0,K.eW)(" The access to the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is granted worldwide. The use of the "),(0,K.Lk)("strong",null,"Wallet "),(0,K.eW)("may be technically restricted or prohibited in certain territories and countries depending on the different legal acts. Please, bear in mind that "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" have to inform yourself about such legal restrictions and "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are liable solely in case of a breach of any legal norms. The access to our "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is prohibited provided the access point is in a territory where the content is illegal. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not have the obligation to control the legislation applicability according to each access point of "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and shall not be held liable in these circumstances. ")],-1)})),By=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that the legislation on a national, regional and international levels can introduce new regulations with an object- blockchain technology, tokens, blockchain technology based applications, etc. Therefore, in case of regulatory restrictions, bans and prohibitions, the "),(0,K.Lk)("strong",null,"Æternity blockchain’s"),(0,K.eW)(" or the "),(0,K.Lk)("strong",null,"Wallet’s "),(0,K.eW)("development shall be immensely influenced, probably causing its termination. Taking into account the above-mentioned, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand that there is no assurance that they will constantly or for indefinite period of time receive any functionality through the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" or the "),(0,K.Lk)("strong",null,"Æ"),(0,K.eW)(),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" held by them. ")],-1)})),Py=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Risks")]),(0,K.eW)(": "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and agree with the risks related to the "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" contribution and/or with the allocation, use and ownership of "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" and guarantee to relieve of responsibility "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" in these cases. ")],-1)})),Oy=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)("The risks mentioned within the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" are not comprehensive:")],-1)})),My=qA((function(){return(0,K.Lk)("ul",null,[(0,K.Lk)("li",null,[(0,K.Lk)("u",null,"Risk of software weaknesses: "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the blockchain technology, incorporating all elements and the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" are in a constant development process. There is no warranty that the receipt and transfer of "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" shall be uninterrupted or error-free at all times. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" accept and guarantee to dispense of responsibility "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" for any software or technology weaknesses, malfunctions, vulnerabilities or bugs, which can cause complete or partial loss of "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(". ")]),(0,K.Lk)("li",null,[(0,K.Lk)("u",null,"Risk of theft:"),(0,K.eW)(),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(", the "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" and the other blockchain technology related elements may be exposed to hacker attacks or other harmful individuals. These actions could result including but not limited to theft or loss of "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(". ")]),(0,K.Lk)("li",null,[(0,K.Lk)("u",null,"Risk of mining attacks"),(0,K.eW)(": "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that due to "),(0,K.Lk)("strong",null,"the application’s"),(0,K.eW)(" blockchain based system, it may be susceptible to mining attacks, including but not limited to double-spend attacks, majority mining power attacks, 'selfish-mining' attacks, and race condition attacks. Any of the above-mentioned attacks could for example result in disturbance of the transactions on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")])],-1)})),Ry=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("u",null,[(0,K.eW)("Risk of phishing attacks and "),(0,K.Lk)("strong",null,"forks"),(0,K.eW)(":")]),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" can be an object of phishing attacks. Highly possible results are the steal of data and credentials. The phishing attacks represent masquerade of an attacker as an authentic and trusted entity and the creation of an "),(0,K.Lk)("strong",null,"application"),(0,K.eW)("/ "),(0,K.Lk)("strong",null,"website"),(0,K.eW)(" with high percentage of resemblance with the original one. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" should be careful when they download and use the original "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can identity the authentic "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" by verifying that the developer on the marketplace is "),(0,K.Lk)("strong",null,"Superhero.com / Superhero.com LVC"),(0,K.eW)(" and can use the hyperlinks for downloading, incorporated in the present Terms. Due to the fact "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" is public and permissionless, any person has the possibility to create a “"),(0,K.Lk)("strong",null,"fork"),(0,K.eW)("”. Any developer can copy and develop the source code resulting in the formation of a distinct and separate software. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" cannot avoid the creation of such "),(0,K.Lk)("strong",null,"forks"),(0,K.eW)(" and is not responsible for them. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall not be held liable for any losses and/or damages resulted from the use of "),(0,K.Lk)("strong",null,"forks"),(0,K.eW)(". ")],-1)})),Ny=qA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" does not collect any fees or taxes for its use "),(0,K.Lk)("strong",null,"application "),(0,K.eW)("- it is free of charge. However, taxes and fees are payable for the transactions on the "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" including but not limited to miner fees, gas tax, transaction fee. The amounts of the taxes and fees are fixed unilaterally. ")]),(0,K.Lk)("p",null,[(0,K.eW)(" In addition, depending on the territory access point, the transfer and receipt of funds through the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" may be an object of tax and fee payments to public authorities in different countries depending on the legal regulations. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are obliged to inform themselves about such requirements and are solely responsible for their donations. ")])],-1)})),Uy=qA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" To send someone a tip, please make sure that "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are no the URL that "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" want to tip or "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" have copied and pasted the right URL (depending on the option for access to the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)("). "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not participate or control in any way the tips and shall not be held liable for any mistakes and wrong donations. The tips cannot be modified. Please bear in mind that the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is created in order for people to stimulate the full, transparent, useful and accurate information worldwide. Therefore, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" shall be fully liable for any use of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" in violation of its purpose and the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not control the platforms the donations are sent to. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not responsible for the content on the third-party platforms in any way. ")]),(0,K.Lk)("p",null,[(0,K.eW)(" In addition, any use of third-party platforms for the purpose of exchanging "),(0,K.Lk)("strong",null,"Æ"),(0,K.eW)(),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" with other cryptocurrencies or fiat currencies is subject to compliance with the third-party platform’s Terms of use and other compulsory documentation. It is solely your responsibility to comply duly with the rules, applicable for these platforms. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not responsible in any way for the use of these third-party platforms in relation to loading the "),(0,K.Lk)("strong",null,"USERS’"),(0,K.eW)(" wallets and the withdrawal of "),(0,K.Lk)("strong",null,"Æ"),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(". ")]),(0,K.Lk)("p",null,[(0,K.eW)(" Moreover, the platforms from which the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" can be downloaded are owned by third parties. Therefore, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" should comply their behaviour with the rules applicable for these third-party platforms. ")])],-1)})),Xy=qA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is developed under the open-source, permissive free software ISC License (“ISC”). Under this license other developers have the right to use, copy, modify and distribute the source code of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" for any purpose without a fee. The license only requires preservation of the copyright and license notice below. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not liable in any way for the diffusion and public access to the amended/modified by other developers source code files due to the open source character of the software. ")]),(0,K.Lk)("p",null,"The notice is as it follows:"),(0,K.Lk)("p",null,"“ISC License"),(0,K.Lk)("p",null,"Copyright (c) 2019, Superhero"),(0,K.Lk)("p",null," Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. "),(0,K.Lk)("p",null,' THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.” ')],-1)})),Vy=qA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is developed by "),(0,K.Lk)("strong",null,"Superhero. "),(0,K.eW)("The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" may display or include elements which are subject of intellectual property regulation including but not limited to logos, trademarks, domain names, etc.  It is prohibited to use any intellectual property of "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" before a prior explicit consent from the latter. ")]),(0,K.Lk)("p",null,[(0,K.eW)(" None of the elements mentioned above can be edited, downloaded, reproduced, used for commercial purposes, distributed and transmitted in any manner and/or any medium whatsoever, partially or in whole, without the explicit prior written consent of "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". ")]),(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" reserves its right to take any necessary legal action against intellectual property infringement. ")]),(0,K.Lk)("p",null,[(0,K.eW)(" The present article does not in any way exclude or interfere with the rights granted according to article 8- "),(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"LICENSE")]),(0,K.eW)(", of the present Terms. ")])],-1)})),Hy=qA((function(){return(0,K.Lk)("strong",null,"USERS",-1)})),$y=qA((function(){return(0,K.Lk)("strong",null,"the application",-1)})),jy=qA((function(){return(0,K.Lk)("strong",null,"Wallet",-1)})),Ky=qA((function(){return(0,K.Lk)("strong",null,"application",-1)})),qy=qA((function(){return(0,K.Lk)("strong",null,"YOU",-1)})),Gy=qA((function(){return(0,K.Lk)("strong",null,"USER",-1)})),Qy=qA((function(){return(0,K.Lk)("strong",null,"tokens",-1)})),Zy=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" These "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" set forth the entire understanding and agreement as to the subject matter hereof and supersedes any and all prior discussions, agreements, and understandings of any kind and every nature between "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". ")],-1)})),Yy=qA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The legislation and jurisdiction of Liechtenstein is applied for the issues outstanding the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" without regard to possible conflict of law provisions. The invalidity of one or more clauses/ provisions in the "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" does not lead to the invalidity of the whole agreement. ")],-1)})),zy=qA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"The Privacy Policy")]),(0,K.eW)(" is an inseparable part of the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" and should be considered as a complementary document with compulsory character. Unless explicitly stated otherwise in the "),(0,K.Lk)("strong",null,"Privacy Policy"),(0,K.eW)(", all rules from the "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" apply respectively. ")],-1)})),Jy=qA((function(){return(0,K.Lk)("strong",null,"TERMS",-1)})),eb=qA((function(){return(0,K.Lk)("strong",null,"Superhero",-1)}));function tb(e,t,n,a,r,o){var i=(0,K.g2)("LinkButton"),s=(0,K.g2)("AccordionItem"),u=(0,K.g2)("BackToTop"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg","data-cy":"terms-of-service"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",GA,[QA,ZA,YA,zA,JA,ek,(0,K.Lk)("p",null,[tk,(0,K.eW)(" preserve our right to modify the "),nk,(0,K.eW)(" at any time in our sole discretion. "),ak,(0,K.eW)(" will be notified of such changes by posting information for the new Effective Date of the "),rk,(0,K.eW)(" on the "),ok,(0,K.eW)(". "),ik,(0,K.eW)(" may be required to read and accept the updated "),sk,(0,K.eW)(" in order to continue your use of the "),uk,(0,K.eW)(". If "),ck,(0,K.eW)(" continue to use the "),lk,(0,K.eW)(" after a notification for the amended "),dk,(0,K.eW)(", "),pk,(0,K.eW)(" are agreeing to be bound by the modifications. If you don’t agree to be bound by the modified "),vk,(0,K.eW)(", then you should discontinue any use of the "),fk,(0,K.eW)(". Please contact "),mk,(0,K.eW)(" via an email to "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(" for the provision of information about the steps for termination of your use. Please check the Effective Date above to determine if there have been any changes since "),gk,(0,K.eW)(" have last reviewed these "),hk,(0,K.eW)(". ")]),Ak,(0,K.bF)(s,{label:e.$t("pages.termsOfService.section1Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" 1.1. "),kk,(0,K.eW)(" or "),yk,(0,K.eW)(") is a company with seat and registered address at: Dr. Grass Str. 12, 9490 Vaduz, Liechtenstein, with email address for communication related to the "),bk,(0,K.eW)(": "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(". "),wk,(0,K.eW)(" is the company, which created and developed "),Ck,(0,K.eW)(". ")]),xk,Lk,Sk,(0,K.Lk)("p",null,[(0,K.eW)(" 1) the "),Tk,(0,K.eW)(" can act  as an add-on to the web browsers Firefox, Chrome, Brave and Opera and contributes to the browsers’ additional functionalities. For Firefox: "),(0,K.bF)(i,{to:e.APP_LINK_FIREFOX,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_FIREFOX),1)]})),_:1},8,["to"]),(0,K.eW)(" ; for Chrome, Brave and Opera:       "),(0,K.bF)(i,{to:e.APP_LINK_CHROME,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_CHROME),1)]})),_:1},8,["to"]),(0,K.eW)("; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" 2) the "),Ek,(0,K.eW)(" can be accessed and used from any Browser at the address: "),(0,K.bF)(i,{to:e.APP_LINK_WEB,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_WEB),1)]})),_:1},8,["to"]),(0,K.eW)("; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" 3) the "),Ik,(0,K.eW)(" can be downloaded from Google Play and/or App Store. For Google Play: "),(0,K.bF)(i,{to:e.APP_LINK_ANDROID,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_ANDROID),1)]})),_:1},8,["to"]),(0,K.eW)(" and for App Store: "),(0,K.bF)(i,{to:e.APP_LINK_IOS,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_IOS),1)]})),_:1},8,["to"]),(0,K.eW)("; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" The results of the donations and comments are published on the website "),(0,K.bF)(i,{to:e.AGGREGATOR_URL,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)(" superhero.com ")]})),_:1},8,["to"]),(0,K.eW)(" . ")]),_k,Wk,Fk,Dk,Bk,Pk])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section2Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[Ok,Mk,Rk,Nk,Uk,Xk,Vk,Hk,$k,jk,Kk,(0,K.Lk)("p",null,[(0,K.eW)(" After that, the website - "),(0,K.bF)(i,{to:e.AGGREGATOR_URL,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)(" superhero.com ")]})),_:1},8,["to"]),(0,K.eW)(", reflects the "),qk,(0,K.eW)(" donations and comments and gives the possibility for other "),Gk,(0,K.eW)(" to actively donate and comment on the newsfeed of the Website. ")]),Qk,Zk,Yk,(0,K.Lk)("p",null,[(0,K.eW)(" In order to load your "),zk,(0,K.eW)("with "),Jk,ey,(0,K.eW)(" should click Button “Top Up” of the "),ty,(0,K.eW)(" and "),ny,(0,K.eW)(" can exchange other cryptocurrencies or fiat currencies with "),ay,(0,K.eW)(" through partnering third-party platforms. A full list of these platforms, you can see in our Superhero Tutorial. Our team is also ready to provide detailed information when contacted through email at "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(". ")]),ry,oy,iy,sy,uy,cy,ly,dy])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section3Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[py,vy,fy,my,gy,hy,Ay,ky,yy,(0,K.Lk)("p",null,[(0,K.eW)(" The "),by,(0,K.eW)(" can also be used as your profile name on the Superhero website "),(0,K.bF)(i,{to:e.AGGREGATOR_URL,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)(" superhero.com ")]})),_:1},8,["to"]),(0,K.eW)(". ")])])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section4Title")},{default:(0,K.k6)((function(){return[wy]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section5Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[Cy,xy,Ly,Sy,Ty,Ey,(0,K.Lk)("p",null,[(0,K.eW)(" 1) downloaded as an add-on (extension) to Firefox: "),(0,K.bF)(i,{to:e.APP_LINK_FIREFOX,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_FIREFOX),1)]})),_:1},8,["to"]),(0,K.eW)(" ; to Chrome, Brave and Opera:        "),(0,K.bF)(i,{to:e.APP_LINK_CHROME,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_CHROME),1)]})),_:1},8,["to"]),(0,K.eW)("; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" 2) accessed from any Browser at the address: "),(0,K.bF)(i,{to:e.APP_LINK_WEB,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_WEB),1)]})),_:1},8,["to"]),(0,K.eW)(" ; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" 3) downloaded from Google Play:     "),(0,K.bF)(i,{to:e.APP_LINK_ANDROID,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_ANDROID),1)]})),_:1},8,["to"]),(0,K.eW)(" and ")]),(0,K.Lk)("p",null,[(0,K.eW)(" from App Store: "),(0,K.bF)(i,{to:e.APP_LINK_IOS,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_IOS),1)]})),_:1},8,["to"]),(0,K.eW)(". ")]),Iy,_y,Wy,Fy,Dy,By,Py,Oy,My,Ry])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section6Title")},{default:(0,K.k6)((function(){return[Ny]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section7Title")},{default:(0,K.k6)((function(){return[Uy]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section8Title")},{default:(0,K.k6)((function(){return[Xy]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section9Title")},{default:(0,K.k6)((function(){return[Vy]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section10Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[Hy,(0,K.eW)(" understand and accept "),$y,(0,K.eW)(" can be periodically modified, updated, maintained or technically supported, which could to some extent influence the use of the "),jy,(0,K.eW)(", the visual representation of the "),Ky,(0,K.eW)(" or could result in malfunction. In the latter case, if "),qy,(0,K.eW)(" as a "),Gy,(0,K.eW)(" notice any change in the "),Qy,(0,K.eW)(", settings, accounts or any other information on the application, please contact "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(" for assistance. ")])])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section11Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[Zy,Yy,zy,(0,K.Lk)("p",null,[(0,K.eW)(" For more information regarding our Services and the present "),Jy,(0,K.eW)(", please do not hesitate to contact the "),eb,(0,K.eW)(" team at: "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(". ")])])]})),_:1},8,["label"])]),(0,K.bF)(u)]})),_:1})]})),_:1})}var nb={class:"accordion-item"},ab={class:"accordion-label-text"},rb={key:0,"data-cy":"accordion-item-content"};function ob(e,t,n,a,r,o){var i=(0,K.g2)("ChevronDownIcon");return(0,K.uX)(),(0,K.CE)("div",nb,[(0,K.Lk)("a",{class:"accordion-label","data-cy":"accordion-item-label",onClick:t[0]||(t[0]=function(t){return e.toggleVisibility()})},[(0,K.bF)(i,{class:(0,tt.C4)(["accordion-label-chevron",{rotated:e.isVisible}])},null,8,["class"]),(0,K.Lk)("span",ab,(0,tt.v_)(e.label),1)]),(0,K.bF)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.isVisible?((0,K.uX)(),(0,K.CE)("div",rb,[(0,K.RG)(e.$slots,"default",{},void 0,!0)])):(0,K.Q3)("",!0)]})),_:3})])}const ib=(0,K.pM)({components:{ChevronDownIcon:Sv.A},props:{label:{type:String,required:!0}},setup:function(){var e=(0,bt.KR)(!1);function t(){e.value=!e.value}return{isVisible:e,toggleVisibility:t}}}),sb=(0,Ft.A)(ib,[["render",ob],["__scopeId","data-v-77e13361"]]),ub=sb,cb=(0,K.pM)({components:{AccordionItem:ub,LinkButton:wt.A,IonPage:Fe.AO,IonContent:Fe.W9,BackToTop:ma.A},setup:function(){return{APP_LINK_WEB:o.yS,APP_LINK_CHROME:o.b1,APP_LINK_FIREFOX:o.Fl,APP_LINK_ANDROID:o.H1,APP_LINK_IOS:o.nO,AGGREGATOR_URL:o.G9,CONTACT_EMAIL:o.ei}}}),lb=(0,Ft.A)(cb,[["render",tb],["__scopeId","data-v-6eec62a2"]]),db=lb;var pb={class:"tips-claim"},vb={class:"header"},fb={class:"text-description"};function mb(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("BtnHelp"),u=(0,K.g2)("InputField"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("IonContent"),d=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(d,null,{default:(0,K.k6)((function(){return[(0,K.bF)(l,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",pb,[(0,K.bF)(i,{account:e.activeAccount},null,8,["account"]),(0,K.Lk)("div",vb,[(0,K.Lk)("p",fb,(0,tt.v_)(e.$t("pages.claimTips.header")),1),(0,K.bF)(s,{class:"help-button",title:e.$t("modals.verify.title"),msg:e.$t("modals.verify.msg"),option:{attrs:{href:e.AE_BLOG_CLAIM_TIP_URL,target:"_blank"}},icon:"success"},null,8,["title","msg","option"])]),(0,K.bF)(u,{modelValue:e.tipUrl,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.tipUrl=t}),label:e.$t("pages.claimTips.urlToClaim"),error:!e.normalizedUrl},null,8,["modelValue","label","error"]),(0,K.bF)(c,{disabled:!e.normalizedUrl||!e.isTippingSupported,text:e.$t("common.confirm"),extend:"",onClick:t[1]||(t[1]=function(t){return e.handleClaimTips()})},null,8,["disabled","text"])])]})),_:1})]})),_:1})}var gb=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const hb=(0,K.pM)({name:"TipsClaim",components:{InputField:cv.A,BtnMain:Ro.A,BtnHelp:gd.A,AccountInfo:Ta.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=this,t=(0,yn.s9)(),n=t.t,r=(0,er.rd)(),i=(0,I.ti)(),u=i.claimTips,c=i.cacheInvalidateOracle,l=i.cacheInvalidateTips,d=(0,ce.CP)(),p=d.isTippingSupported,v=(0,ce.oV)(),f=v.activeAccount,m=(0,ce.U8)(),g=m.openModal,h=m.openDefaultModal,A=(0,ce.kz)(),k=A.getTippingContracts,y=(0,ce.mv)(),b=y.setLoaderVisible,w=(0,bt.KR)(""),C=(0,K.EW)((function(){return(0,L.Ks)(w.value)?(0,L.Xz)(w.value).toString():""}));function x(){return gb(this,void 0,void 0,(0,s.A)().mark((function e(){var t,a,i,d,p,v,m,A;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=C.value,b(!0),e.prev=2,e.next=5,k();case 5:return a=e.sent,i=a.tippingV1,e.t0=parseFloat,e.t1=_.c4,e.next=11,i.unclaimed_for_url(t).then((function(e){return e.decodedResult}))["catch"]((function(){return 1}));case 11:if(e.t2=e.sent,e.t3=(0,e.t1)(e.t2),d=(0,e.t0)(e.t3),d){e.next=16;break}throw new Error("NO_ZERO_AMOUNT_PAYOUT");case 16:return e.next=18,u(t,f.value.address);case 18:return e.next=20,Promise.all([c,l]);case 20:g(o.pE,{url:t,claimAmount:d}),r.push({name:Ye.qJ}),e.next=34;break;case 24:if(e.prev=24,e.t4=e["catch"](2),p=e.t4.response?e.t4.response.data:{},v=p.error,m=void 0===v?"":v,m.includes("MORE_ORACLES_NEEDED")?A=n("pages.claim.moreOracles"):m.includes("URL_NOT_EXISTING")?A=n("pages.claim.urlNotExisting"):m.includes("NO_ZERO_AMOUNT_PAYOUT")||e.t4.message.includes("NO_ZERO_AMOUNT_PAYOUT")?A=n("pages.claim.noZeroClaim"):m.includes("ORACLE_SERVICE_CHECK_CLAIM_FAILED")?A=n("pages.claim.oracleFailed"):m&&(A=m),!A){e.next=32;break}h({msg:A}),e.next=34;break;case 32:throw e.t4.payload={url:t},e.t4;case 34:return e.prev=34,b(!1),e.finish(34);case 37:case"end":return e.stop()}}),e,null,[[2,24,34,37]])})))}return(0,K.sV)((function(){return gb(e,void 0,void 0,(0,s.A)().mark((function e(){var t,n,r;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(b(!1),!o.hL||!browser){e.next=8;break}return e.next=4,browser.tabs.query({active:!0,currentWindow:!0});case 4:t=e.sent,n=(0,a.A)(t,1),r=n[0],(null===r||void 0===r?void 0:r.url)&&(0,L.Ks)(r.url)&&(w.value=r.url);case 8:case"end":return e.stop()}}),e)})))})),{activeAccount:f,normalizedUrl:C,tipUrl:w,isTippingSupported:p,AE_BLOG_CLAIM_TIP_URL:T.Z3,handleClaimTips:x}}}),Ab=(0,Ft.A)(hb,[["render",mb],["__scopeId","data-v-1e037461"]]),kb=Ab;var yb={class:"multisig-proposal-details"},bb={class:"header"},wb={class:"content"},Cb={class:"explorer"},xb={class:"data-grid"},Lb={class:"receiving-address"},Sb={class:"text-address"},Tb={class:"row"},Eb={class:"text-address"},Ib={class:"span-3-columns"},_b={key:1,class:"bottom-buttons"},Wb={class:"row"};function Fb(e,t,n,a,r,o){var i=(0,K.g2)("AnimatedSpinner"),s=(0,K.g2)("TransactionAssetRows"),u=(0,K.g2)("TransactionInfo"),c=(0,K.g2)("ExternalLink"),l=(0,K.g2)("LinkButton"),d=(0,K.g2)("Avatar"),p=(0,K.g2)("CopyText"),v=(0,K.g2)("DetailsItem"),f=(0,K.g2)("AccountItem"),m=(0,K.g2)("DialogBox"),g=(0,K.g2)("MultisigProposalConsensus"),h=(0,K.g2)("PayloadDetails"),A=(0,K.g2)("TokenAmount"),k=(0,K.g2)("BtnMain"),y=(0,K.g2)("IonContent"),b=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(b,null,{default:(0,K.k6)((function(){return[(0,K.bF)(y,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",yb,[e.activeMultisigAccount&&e.multisigTx?((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.Lk)("div",bb,[e.multisigTx?((0,K.uX)(),(0,K.Wv)(s,{key:0,assets:e.transactionAssets,protocol:e.PROTOCOLS.aeternity,"icon-size":"rg"},null,8,["assets","protocol"])):(0,K.Q3)("",!0)]),(0,K.Lk)("div",wb,[e.multisigTx?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"transaction-overview",sender:{label:e.$t("multisig.multisigVault"),address:e.activeMultisigAccount.gaAccountId,url:e.protocolExplorer.prepareUrlForAccount(e.activeMultisigAccount.gaAccountId)},recipient:{label:e.$t("common.smartContract"),address:e.activeMultisigAccount.contractId,url:e.activeMultisigAccountExplorerUrl},transaction:{tx:e.multisigTx}},null,8,["sender","recipient","transaction"])):(0,K.Q3)("",!0),(0,K.Lk)("div",Cb,[(0,K.bF)(l,{to:e.activeMultisigAccountExplorerUrl,variant:"muted",underlined:""},{icon:(0,K.k6)((function(){return[(0,K.bF)(c)]})),default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.transactionDetails.explorer"))+" ",1)]})),_:1},8,["to"])]),(0,K.Lk)("div",xb,[e.multisigTx&&e.multisigTx.recipientId?((0,K.uX)(),(0,K.Wv)(v,{key:0,label:e.$t("pages.proposalDetails.receivingAddress"),small:""},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",Lb,[(0,K.bF)(d,{address:e.multisigTx.recipientId,size:"sm"},null,8,["address"]),(0,K.bF)(p,{"hide-icon":"",value:e.multisigTx.recipientId,"copied-text":e.$t("common.addressCopied")},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",Sb,(0,tt.v_)(e.splitAddress(e.multisigTx.recipientId)),1)]})),_:1},8,["value","copied-text"])])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.activeMultisigAccount.proposedBy?((0,K.uX)(),(0,K.Wv)(v,{key:1,label:e.$t("pages.proposalDetails.proposedBy"),small:""},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",Tb,[(0,K.bF)(f,{address:e.activeMultisigAccount.proposedBy,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]),e.isLocalAccountAddress(e.activeMultisigAccount.proposedBy)?((0,K.uX)(),(0,K.Wv)(m,{key:0,dense:""},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.you")),1)]})),_:1})):(0,K.Q3)("",!0)])]})),_:1},8,["label"])):(0,K.Q3)("",!0),(0,K.bF)(g,{"proposal-completed":e.proposalCompleted},null,8,["proposal-completed"]),e.transaction?((0,K.uX)(),(0,K.Wv)(v,{key:2,label:e.$t("pages.transactionDetails.hash"),"data-cy":"hash",small:""},{value:(0,K.k6)((function(){return[(0,K.bF)(p,{"hide-icon":"",value:e.transaction.hash,"copied-text":e.$t("common.hashCopied")},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",Eb,(0,tt.v_)(e.splitAddress(e.transaction.hash)),1)]})),_:1},8,["value","copied-text"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.multisigTx?((0,K.uX)(),(0,K.Wv)(h,{key:3,payload:e.getTransactionPayload(e.multisigTx)},null,8,["payload"])):(0,K.Q3)("",!0),(0,K.Lk)("div",Ib,[e.activeMultisigAccount.expirationHeight?((0,K.uX)(),(0,K.Wv)(v,{key:0,value:e.activeMultisigAccount.expirationHeight,label:e.$t("pages.proposalDetails.expiresAt"),secondary:e.expirationHeightToRelativeTime},null,8,["value","label","secondary"])):e.transaction?((0,K.uX)(),(0,K.Wv)(v,{key:1,value:e.transaction.blockHeight,label:e.$t("pages.transactionDetails.blockHeight")},null,8,["value","label"])):(0,K.Q3)("",!0),e.activeMultisigAccount.nonce?((0,K.uX)(),(0,K.Wv)(v,{key:2,value:e.activeMultisigAccount.nonce,label:e.$t("pages.transactionDetails.nonce"),"data-cy":"nonce"},null,8,["value","label"])):(0,K.Q3)("",!0)]),e.multisigTx.gasPrice?((0,K.uX)(),(0,K.Wv)(v,{key:4,label:e.$t("pages.transactionDetails.gasPrice"),"data-cy":"gas-price"},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.multisigTx.gasPrice),protocol:e.PROTOCOLS.aeternity,symbol:e.AE_SYMBOL,"hide-fiat":""},null,8,["amount","protocol","symbol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.transaction&&e.transaction.tx?((0,K.uX)(),(0,K.Wv)(v,{key:5,label:e.$t("pages.transactionDetails.gasPrice")},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.transaction.tx.gasPrice),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.transaction&&e.transaction.tx?((0,K.uX)(),(0,K.Wv)(v,{key:6,value:e.transaction.tx.gas,label:e.$t("pages.transactionDetails.gasUsed")},null,8,["value","label"])):(0,K.Q3)("",!0),e.multisigTx?((0,K.uX)(),(0,K.Wv)(v,{key:7,label:e.$t("modals.multisigTxProposal.fee")},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.multisigTx.fee),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.transaction?((0,K.uX)(),(0,K.Wv)(v,{key:8,label:e.$t("transaction.fee"),"data-cy":"fee"},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.transaction.tx.fee),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.totalSpent?((0,K.uX)(),(0,K.Wv)(v,{key:9,label:e.$t("common.total"),"data-cy":"amount"},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.totalSpent),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,"high-precision":""},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0)]),!e.proposalCompleted&&e.activeMultisigAccount.txHash?((0,K.uX)(),(0,K.CE)("div",_b,[(0,K.Lk)("div",Wb,[(0,K.bF)(k,{variant:"muted",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible,onClick:t[0]||(t[0]=function(t){return e.dispatchProposalAction(e.TX_FUNCTIONS_MULTISIG.refuse,e.$t("pages.proposalDetails.refuse"))})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.proposalDetails.refuse")),1)]})),_:1},8,["disabled"]),e.pendingMultisigTxCanBeSent?((0,K.uX)(),(0,K.Wv)(k,{key:0,extend:"",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible||e.pendingMultisigTxExpired,onClick:t[1]||(t[1]=function(t){return e.processProposal()})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.send")),1)]})),_:1},8,["disabled"])):((0,K.uX)(),(0,K.Wv)(k,{key:1,extend:"",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible||e.pendingMultisigTxConfirmedByLocalSigners||e.pendingMultisigTxExpired,onClick:t[2]||(t[2]=function(t){return e.dispatchProposalAction(e.TX_FUNCTIONS_MULTISIG.confirm,e.$t("pages.proposalDetails.sign"))})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.proposalDetails.sign")),1)]})),_:1},8,["disabled"]))]),e.isLocalAccountAddress(e.activeMultisigAccount.proposedBy)?((0,K.uX)(),(0,K.Wv)(k,{key:0,variant:"muted",extend:"",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible,onClick:t[3]||(t[3]=function(t){return e.dispatchProposalAction(e.TX_FUNCTIONS_MULTISIG.revoke,e.$t("pages.proposalDetails.revoke"))})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.proposalDetails.revokeTransaction")),1)]})),_:1},8,["disabled"])):(0,K.Q3)("",!0)])):(0,K.Q3)("",!0)])],64)):((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"spinner"}))])]})),_:1})]})),_:1})}var Db=n(46996),Bb=n(91392),Pb=n(37134),Ob=n(79708),Mb={class:"transaction-multisig-consensus"},Rb={key:0,class:"consensus-label"},Nb={class:"label"},Ub={class:"confirmations-count"},Xb={class:"consensus"},Vb={key:0,class:"signers"};function Hb(e,t,n,a,r,o){var i=(0,K.g2)("BtnHelp"),s=(0,K.g2)("ConsensusLabel"),u=(0,K.g2)("AccountItem"),c=(0,K.g2)("CheckCircle"),l=(0,K.g2)("CloseCircle"),d=(0,K.g2)("DialogBox"),p=(0,K.g2)("InfoBox");return(0,K.uX)(),(0,K.CE)("div",Mb,[e.isPendingMultisigTxCompleted?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("div",Rb,[(0,K.Lk)("div",Nb,[(0,K.Lk)("span",null,(0,tt.v_)(e.$t("multisig.consensus")),1),(0,K.bF)(i,{class:"btn-help",onHelp:e.openConsensusInfoModal},null,8,["onHelp"])]),(0,K.Lk)("span",Ub,[(0,K.bF)(s,{"confirmations-required":e.activeMultisigAccount.confirmationsRequired,"has-pending-transaction":e.activeMultisigAccount.hasPendingTransaction,"confirmed-by":e.activeMultisigAccount.confirmedBy,signers:e.activeMultisigAccount.signers},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])])])),(0,K.Lk)("div",Xb,[e.isPendingMultisigTxCompleted?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("div",Vb,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.pendingMultisigTxSortedSigners,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t,class:"signer"},[(0,K.bF)(u,{address:t,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]),e.pendingMultisigTxConfirmedBy.includes(t)||e.proposalCompleted?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"check-icon active"})):e.pendingMultisigTxRefusedBy.includes(t)?((0,K.uX)(),(0,K.Wv)(l,{key:1,class:"close-icon"})):((0,K.uX)(),(0,K.Wv)(c,{key:2,class:"check-icon"})),e.isLocalAccountAddress(t)?((0,K.uX)(),(0,K.Wv)(d,{key:3,dense:""},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.you")),1)]})),_:1})):(0,K.Q3)("",!0)])})),128))])),(0,K.bF)(p,{type:e.infoBox.type},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.infoBox.content),1)]})),_:1},8,["type"])])])}var $b={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},jb=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM11.8415 16.4438C11.6011 16.7998 11.2732 17 10.8689 17C10.4754 17 10.1585 16.8331 9.86339 16.4438L7.27322 13.2403C7.09836 13.0067 7 12.762 7 12.495C7 11.9388 7.4153 11.505 7.95082 11.505C8.27869 11.505 8.54098 11.6274 8.80328 11.9722L10.8361 14.6085L15.153 7.55617C15.3825 7.17798 15.6776 7 16.0055 7C16.5191 7 17 7.36707 17 7.91212C17 8.16796 16.8689 8.43493 16.7268 8.66852L11.8415 16.4438Z",fill:"currentColor"},null,-1),Kb=[jb];function qb(e,t){return(0,K.uX)(),(0,K.CE)("svg",$b,Kb)}const Gb={},Qb=(0,Ft.A)(Gb,[["render",qb]]),Zb=Qb;var Yb={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},zb=(0,K.Lk)("path",{d:"M11.9952 22C17.4761 22 22 17.4739 22 12C22 6.52611 17.4664 2 11.9855 2C6.51426 2 2 6.52611 2 12C2 17.4739 6.52392 22 11.9952 22ZM8.69889 16.2166C8.18656 16.2166 7.78057 15.8104 7.78057 15.2882C7.78057 15.0561 7.87724 14.824 8.0609 14.6499L10.6902 12.0097L8.0609 9.37911C7.87724 9.20503 7.78057 8.97292 7.78057 8.74081C7.78057 8.21857 8.18656 7.82205 8.69889 7.82205C8.96955 7.82205 9.18221 7.90909 9.35621 8.08317L11.9952 10.7137L14.6438 8.0735C14.8371 7.88975 15.0401 7.80271 15.3011 7.80271C15.8134 7.80271 16.2194 8.2089 16.2194 8.72147C16.2194 8.96325 16.1228 9.17602 15.9391 9.36944L13.3098 12.0097L15.9391 14.6402C16.1131 14.824 16.2098 15.0464 16.2098 15.2882C16.2098 15.8104 15.8038 16.2166 15.2818 16.2166C15.0208 16.2166 14.7985 16.1199 14.6148 15.9458L11.9952 13.325L9.37554 15.9458C9.20155 16.1296 8.96955 16.2166 8.69889 16.2166Z",fill:"currentColor"},null,-1),Jb=[zb];function ew(e,t){return(0,K.uX)(),(0,K.CE)("svg",Yb,Jb)}const tw={},nw=(0,Ft.A)(tw,[["render",ew]]),aw=nw,rw=(0,K.pM)({name:"TransactionMultisigConsensus",components:{BtnHelp:gd.A,ConsensusLabel:ta,AccountItem:Bd.A,CheckCircle:Zb,CloseCircle:aw,DialogBox:Ob.h,InfoBox:rh.A},props:{proposalCompleted:Boolean},setup:function(e){var t=(0,yn.s9)(),n=t.t,a=(0,ce.U8)(),r=a.openModal,i=(0,ce.ci)(),s=i.activeMultisigAccount,u=(0,ce.oV)(),c=u.isLocalAccountAddress,l=(0,ce.ju)(),d=l.pendingMultisigTxConfirmedBy,p=l.pendingMultisigTxRefusedBy,v=l.pendingMultisigTxSortedSigners,f=l.pendingMultisigTxConfirmed,m=l.pendingMultisigTxRevoked,g=l.pendingMultisigTxProposingAccountRevoked,h=l.pendingMultisigTxRequiredConfirmations,A=l.pendingMultisigTxPendingConfirmationsCount,k=l.pendingMultisigTxExpired,y=l.isPendingMultisigTxCompleted,b=l.isPendingMultisigTxCompletedAndRevoked,w=l.isPendingMultisigTxCompletedAndConfirmed,C=(0,K.EW)((function(){return e.proposalCompleted||w.value?{content:n("pages.proposalDetails.infoBox.completed"),type:rh.F.success}:k.value?{content:n("pages.proposalDetails.infoBox.expired"),type:rh.F.warning}:f.value?{content:n("pages.proposalDetails.infoBox.approved"),type:rh.F["default"]}:b.value?{content:n("pages.proposalDetails.infoBox.justRevoked"),type:rh.F.danger}:g.value?{content:n("pages.proposalDetails.infoBox.proposingAccountRevoked"),type:rh.F.danger}:m.value?{content:n("pages.proposalDetails.infoBox.revoked",[p.value.length,h.value]),type:rh.F.danger}:{content:n("pages.proposalDetails.infoBox.pending",[A.value,A.value>1?n("pages.proposalDetails.infoBox.signatures"):n("pages.proposalDetails.infoBox.signature")]),type:rh.F["default"]}}));function x(){r(o.bG)}return{PROTOCOLS:o.yv,activeMultisigAccount:s,isLocalAccountAddress:c,infoBox:C,pendingMultisigTxSortedSigners:v,pendingMultisigTxConfirmedBy:d,pendingMultisigTxRefusedBy:p,isPendingMultisigTxCompleted:y,openConsensusInfoModal:x}}}),ow=(0,Ft.A)(rw,[["render",Hb],["__scopeId","data-v-2ceebdf7"]]),iw=ow;var sw=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const uw=(0,K.pM)({components:{PayloadDetails:Pb.A,TransactionAssetRows:In.A,MultisigProposalConsensus:iw,TransactionInfo:Zs.A,DialogBox:Ob.h,Avatar:hs.A,TokenAmount:Ms.A,DetailsItem:Os.A,LinkButton:wt.A,AccountItem:Bd.A,BtnMain:Ro.A,CopyText:Ys.A,AnimatedSpinner:ua.A,ExternalLink:Ot.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,er.rd)(),t=(0,yn.s9)(),n=t.t,a=(0,ce.U8)(),r=a.openDefaultModal,u=a.openModal,c=(0,ce.mv)(),l=c.isLoaderVisible,d=c.setLoaderVisible,p=(0,ce.oV)(),v=p.activeAccount,f=p.isLocalAccountAddress,m=(0,ce.ci)(),h=m.activeMultisigAccount,A=m.activeMultisigAccountExplorerUrl,k=m.updateMultisigAccounts,y=m.fetchAdditionalInfo,b=m.stopFetchingAdditionalInfo,w=(0,ce.CP)(),C=w.nodeNetworkId,x=(0,ce.ju)(),S=x.pendingMultisigTxExpired,E=x.pendingMultisigTxExpiresAt,I=x.pendingMultisigTxCanBeSent,W=x.pendingMultisigTxLocalSigners,F=x.pendingMultisigTxConfirmedByLocalSigners,D=(0,ce.jC)(),B=D.fetchActiveMultisigTx,P=D.fetchTransactionByHash,O=D.sendTx,M=D.callContractMethod,R=(0,ce.Y7)(),N=R.getTxAssetSymbol,U=i.C.getAdapter(o.yv.aeternity).getExplorer(),X=(0,bt.KR)(null),V=(0,bt.KR)(null),H=(0,bt.KR)(!1),$=(0,ce.my)(),j=$.transactionAssets,q=$.setActiveTransaction,G=(0,K.EW)((function(){var e;if(!H.value||!V.value)return 0;var t=V.value.tx,n=null===(e=t.tx)||void 0===e?void 0:e.tx;return n?new pe.A(n.amount).plus(t.fee).plus(n.fee).toString():0})),Q=(0,K.EW)((function(){return E.value>0?"(≈".concat((0,L.zw)(E.value),")"):null}));function Z(){return sw(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,B();case 2:if(t=e.sent,t){e.next=5;break}return e.abrupt("return");case 5:X.value=Object.assign(Object.assign({},t.tx),{type:g.vw[g.vw.GaMetaTx],tag:g.vw.GaMetaTx}),q({tx:X.value});case 7:case"end":return e.stop()}}),e)})))}function Y(e,t,a){if(e){var o,i=e.message;(0,_.mo)(e)&&(i=t?n("modals.vaultLowBalance.msg"):n("modals.accountLowBalance.msg",{action:a}),o=n(t?"modals.vaultLowBalance.title":"modals.accountLowBalance.title")),r({icon:"warning",title:o,msg:i,textCenter:!0})}}function z(t,n){var a;return sw(this,void 0,void 0,(0,s.A)().mark((function r(){var i,c,l,p,f;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(h.value){r.next=2;break}return r.abrupt("return");case 2:return d(!0),r.prev=3,r.next=6,u(o.eN,{action:t,signers:W.value});case 6:return i=r.sent,c=h.value,l=c.contractId,p=c.txHash,f=new Bb.L(C),r.next=11,M(t,l,p,v.value.address!==i?{onAccount:{address:i,signTransaction:f.signTransaction.bind({nodeNetworkId:C,sign:f.sign})},fromAccount:i}:{});case 11:return r.next=13,k();case 13:(null===(a=h.value)||void 0===a?void 0:a.txHash)||e.push({name:Ye.zn}),r.next=19;break;case 16:r.prev=16,r.t0=r["catch"](3),Y(r.t0,!1,n.toString().toLowerCase());case 19:return r.prev=19,d(!1),r.finish(19);case 22:case"end":return r.stop()}}),r,null,[[3,16,19,22]])})))}function J(){return sw(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a,r,o;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(h.value&&I.value){e.next=2;break}return e.abrupt("return");case 2:return d(!0),e.prev=3,t=h.value,n=t.gaAccountId,a=t.txHash,r=t.nonce,e.next=7,P(a);case 7:if(o=e.sent,o){e.next=10;break}throw Error("failed to load a transaction");case 10:return e.next=12,O(n,o.tx,r);case 12:return V.value=e.sent,e.next=15,k();case 15:H.value=!0,e.next=21;break;case 18:e.prev=18,e.t0=e["catch"](3),Y(e.t0,!0);case 21:d(!1);case 22:case"end":return e.stop()}}),e,null,[[3,18]])})))}return(0,K.wB)((function(){return h.value}),(function(e,t){e&&!(0,Db.A)(e,t)&&Z()}),{immediate:!0}),(0,K.wB)((function(){return X.value}),(function(){y()})),(0,Fe.Y0)((function(){b(),d(!1)})),{AE_SYMBOL:T.kf,PROTOCOLS:o.yv,TX_FUNCTIONS_MULTISIG:T.y5,activeMultisigAccount:h,activeMultisigAccountExplorerUrl:A,multisigTx:X,transaction:V,transactionAssets:j,totalSpent:G,getTxAssetSymbol:N,getTransactionPayload:_.L5,splitAddress:L.lS,aettosToAe:_.c4,formatDate:L.Yq,formatTime:L.fU,isLocalAccountAddress:f,isLoaderVisible:l,pendingMultisigTxCanBeSent:I,pendingMultisigTxExpired:S,protocolExplorer:U,expirationHeightToRelativeTime:Q,pendingMultisigTxConfirmedByLocalSigners:F,proposalCompleted:H,blocksToRelativeTime:L.zw,dispatchProposalAction:z,processProposal:J}}}),cw=(0,Ft.A)(uw,[["render",Fb],["__scopeId","data-v-59015a73"]]),lw=cw;var dw={class:"reset-wallet-settings"},pw={class:"text-description"};function vw(e,t,n,a,r,o){var i=(0,K.g2)("RouterLink"),s=(0,K.g2)("i18n-t"),u=(0,K.g2)("BtnMain"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",dw,[(0,K.Lk)("p",pw,(0,tt.v_)(e.$t("pages.resetWallet.description")),1),(0,K.bF)(s,{keypath:"pages.resetWallet.description2",tag:"p",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.bF)(i,{to:{name:"settings-seed-phrase"}},{default:(0,K.k6)((function(){return[(0,K.eW)(" seed phrase ")]})),_:1})]})),_:1}),(0,K.bF)(u,{variant:"danger",class:"reset-wallet-button",extend:"",text:e.$t("pages.resetWallet.title"),icon:e.ResetWalletIcon,onClick:e.onResetWallet},null,8,["text","icon","onClick"])])]})),_:1})]})),_:1})}var fw={viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},mw=(0,K.Lk)("path",{d:"M22.6722 10.9517H21.4542C20.9409 6.54084 17.113 3 12.5021 3C9.95303 3 7.63887 4.11358 6.03809 5.85355C5.6118 6.27115 5.6292 6.82794 5.9772 7.14983C6.33389 7.48043 6.84718 7.48043 7.28217 7.08023C8.57845 5.67956 10.4402 4.80087 12.5021 4.80087C16.1734 4.80087 19.1401 7.48913 19.636 10.9517H18.3049C17.635 10.9517 17.4523 11.4476 17.8438 11.9869L19.9231 14.9275C20.245 15.3625 20.7321 15.3712 21.0453 14.9275L23.1333 11.9957C23.5248 11.4476 23.3508 10.9517 22.6722 10.9517ZM12.5108 13.4311C12.9893 13.4311 13.259 13.1614 13.2764 12.6568L13.4069 8.47221C13.4243 7.95892 13.0415 7.59352 12.5021 7.59352C11.9627 7.59352 11.5886 7.95022 11.606 8.46351L11.7278 12.6655C11.7452 13.1614 12.0236 13.4311 12.5108 13.4311ZM2.33196 13.0483H3.55864C4.07193 17.4592 7.89986 21 12.5021 21C15.0685 21 17.3827 19.8777 18.9835 18.1377C19.4011 17.7202 19.3837 17.1634 19.0357 16.8415C18.679 16.5109 18.1744 16.5109 17.7307 16.9198C16.4518 18.3204 14.5901 19.1991 12.5021 19.1991C8.83945 19.1991 5.8728 16.5109 5.37691 13.0483H6.69928C7.36047 13.0483 7.55187 12.5524 7.16038 12.0131L5.07241 9.0725C4.75922 8.63751 4.27202 8.62881 3.95883 9.0725L1.87086 12.0043C1.47067 12.5524 1.65337 13.0483 2.33196 13.0483ZM12.5108 16.3195C13.0763 16.3195 13.5374 15.9106 13.5374 15.3625C13.5374 14.8057 13.0763 14.4055 12.5108 14.4055C11.9453 14.4055 11.4842 14.8144 11.4842 15.3625C11.4842 15.9106 11.954 16.3195 12.5108 16.3195Z",fill:"currentColor"},null,-1),gw=[mw];function hw(e,t){return(0,K.uX)(),(0,K.CE)("svg",fw,gw)}const Aw={},kw=(0,Ft.A)(Aw,[["render",hw]]),yw=kw,bw=(0,K.pM)({components:{BtnMain:Ro.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.U8)(),t=e.openModal;function n(){t(o.iL)}return{ResetWalletIcon:yw,onResetWallet:n}}}),ww=(0,Ft.A)(bw,[["render",vw],["__scopeId","data-v-11f9ae84"]]),Cw=ww;var xw=function(e){var t,n,a=function(){var e,t;return null===(t=null===(e=window.popupProps)||void 0===e?void 0:e.reject)||void 0===t?void 0:t.call(e,new Ga.v)};window.addEventListener("beforeunload",a);var r=function(e){return function(){e.apply(void 0,arguments),window.removeEventListener("beforeunload",a),window.close()}},o=Object.assign(Object.assign({},window.popupProps),{resolve:r(null===(t=window.popupProps)||void 0===t?void 0:t.resolve),reject:r(null===(n=window.popupProps)||void 0===n?void 0:n.reject)}),i=(0,ce.m)(),s=i.setPopupProps;return s(o),(0,K.h)(e)},Lw=o.u2&&o.bW?[{name:o.kV,component:og},{name:o.Mc,component:mg},{name:o.iE,component:eu},{name:o.K$,component:$s},{name:o.gK,component:bg}].map((function(e){var t=e.name,n=e.component;return{name:"".concat(Ye.t,"-").concat(t),path:"/".concat(Ye.t,"/").concat(t),component:xw(n),meta:{notPersist:!0,hideHeader:!0}}})):[];const Sw=Lw;var Tw={"data-cy":"networks",class:"networks"},Ew={class:"text-description"},Iw={class:"networks-list"};function _w(e,t,n,a,r,o){var i=(0,K.g2)("NetworkRow"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("IonContent"),c=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(c,null,{default:(0,K.k6)((function(){return[(0,K.bF)(u,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Tw,[(0,K.Lk)("p",Ew,(0,tt.v_)(e.$t("pages.network.listLabel")),1),(0,K.Lk)("div",Iw,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.networks,(function(t){return(0,K.uX)(),(0,K.Wv)(i,{key:t.name,network:t,"is-active":t.name===e.activeNetwork.name,onSelectNetwork:e.switchNetwork,onDeleteNetwork:e.deleteCustomNetwork},null,8,["network","is-active","onSelectNetwork","onDeleteNetwork"])})),128))]),(0,K.bF)(s,{extend:"",variant:"muted",class:"add-custom-network","data-cy":"to-add",text:e.$t("pages.network.addCustomNetwork"),icon:e.PlusCircleIcon,to:{name:e.ROUTE_NETWORK_ADD}},null,8,["text","icon","to"])])]})),_:1})]})),_:1})}var Ww={class:"name-and-actions"},Fw={class:"name","data-cy":"network-name"},Dw={key:0,class:"actions"},Bw={class:"network-details"},Pw=["textContent"];function Ow(e,t,n,a,r,o){var i=(0,K.g2)("BtnIcon"),s=(0,K.g2)("RadioButton");return(0,K.uX)(),(0,K.CE)("div",{class:(0,tt.C4)(["network-row",{inactive:!e.isActive}])},[(0,K.bF)(s,{value:e.isActive,type:"radio",name:"activeNetwork",onInput:t[1]||(t[1]=function(t){return e.$emit("selectNetwork",e.network.name)})},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Ww,[(0,K.Lk)("p",Fw,(0,tt.v_)(e.network.name),1),e.network.type===e.NETWORK_TYPE_CUSTOM?((0,K.uX)(),(0,K.CE)("div",Dw,[(0,K.bF)(i,{size:"sm","data-cy":"network-edit",dimmed:"",to:{name:e.ROUTE_NETWORK_EDIT,params:{name:e.network.name}},icon:e.PencilIcon},null,8,["to","icon"]),(0,K.bF)(i,{size:"sm","data-cy":"network-delete","icon-variant":"danger",dimmed:"",icon:e.TrashIcon,onClick:t[0]||(t[0]=function(t){e.$emit("deleteNetwork",e.network.name)})},null,8,["icon"])])):(0,K.Q3)("",!0)])]})),_:1},8,["value"]),(0,K.Lk)("table",Bw,[(0,K.Lk)("tbody",null,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.networkSettingsToDisplay,(function(t,n){var a;return(0,K.uX)(),(0,K.CE)("tr",{key:n,class:"url"},[(0,K.Lk)("td",{class:"url-label",textContent:(0,tt.v_)(e.getProtocolName(n))},null,8,Pw),(0,K.Lk)("td",null,(0,tt.v_)(null===(a=t.nodeUrl)||void 0===a?void 0:a.replace("https://","")),1)])})),128))])])],2)}var Mw=n(94386);const Rw=(0,K.pM)({components:{BtnIcon:Lo.A,RadioButton:Ml.A},props:{network:{type:Object,required:!0},isActive:Boolean},emits:{selectNetwork:function(e){return!0},deleteNetwork:function(e){return!0}},setup:function(e){var t=(0,K.EW)((function(){return Object.fromEntries(Object.keys(e.network.protocols).map((function(t){var n=e.network.protocols[t];return n.nodeUrl?[t,n]:[]})))}));function n(e){return i.C.getAdapter(e).protocolName}return{NETWORK_TYPE_CUSTOM:o.Qb,ROUTE_NETWORK_EDIT:Ye.iO,PencilIcon:Mw.A,TrashIcon:Mm.A,networkSettingsToDisplay:t,getProtocolName:n}}}),Nw=(0,Ft.A)(Rw,[["render",Ow],["__scopeId","data-v-f4fc97a8"]]),Uw=Nw;var Xw={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Vw=(0,K.Lk)("path",{d:"M9.99605 18.3334C14.5635 18.3334 18.3334 14.5617 18.3334 10.0001C18.3334 5.43851 14.5554 1.66675 9.988 1.66675C5.42863 1.66675 1.66675 5.43851 1.66675 10.0001C1.66675 14.5617 5.43669 18.3334 9.99605 18.3334ZM6.09723 10.0081C6.09723 9.53264 6.43556 9.20221 6.90277 9.20221H9.19857V6.9053C9.19857 6.43786 9.52078 6.10743 9.97994 6.10743C10.4552 6.10743 10.7855 6.43786 10.7855 6.9053L10.7855 9.20221L13.0893 9.20221C13.5485 9.20221 13.8868 9.53264 13.8868 10.0081C13.8868 10.4675 13.5485 10.798 13.0893 10.798H10.7855V13.0949C10.7855 13.5542 10.4552 13.8927 9.97994 13.8927C9.52078 13.8927 9.19857 13.5542 9.19857 13.0949L9.19857 10.798L6.90277 10.798C6.43556 10.798 6.09723 10.4675 6.09723 10.0081Z",fill:"currentColor"},null,-1),Hw=[Vw];function $w(e,t){return(0,K.uX)(),(0,K.CE)("svg",Xw,Hw)}const jw={},Kw=(0,Ft.A)(jw,[["render",$w]]),qw=Kw,Gw=(0,K.pM)({components:{BtnMain:Ro.A,NetworkRow:Uw,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.fI)(),t=e.activeNetwork,n=e.networks,a=e.switchNetwork,r=e.deleteCustomNetwork;return{activeNetwork:t,networks:n,PlusCircleIcon:qw,ROUTE_NETWORK_ADD:Ye.jA,switchNetwork:a,deleteCustomNetwork:r}}}),Qw=(0,Ft.A)(Gw,[["render",_w],["__scopeId","data-v-00a35ffe"]]),Zw=Qw;var Yw=function(e){return(0,K.Qi)("data-v-e89c9e08"),e=e(),(0,K.jt)(),e},zw={class:"network-form","data-cy":"network-form"},Jw={key:1,class:"text-description"},eC=["data-cy"],tC=Yw((function(){return(0,K.Lk)("hr",null,null,-1)})),nC=["textContent"],aC={class:"button-wrapper"};function rC(e,t,n,a,r,o){var i=(0,K.g2)("InfoBox"),s=(0,K.g2)("InputField"),u=(0,K.g2)("Field"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("IonContent"),d=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(d,null,{default:(0,K.k6)((function(){return[(0,K.bF)(l,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",zw,[e.isNetworkPrefilled?((0,K.uX)(),(0,K.Wv)(i,{key:0,type:e.INFO_BOX_TYPES.warning,text:e.$t("pages.network.thirdPartyDetails")},null,8,["type","text"])):((0,K.uX)(),(0,K.CE)("p",Jw,(0,tt.v_)(e.$t("pages.network.formLabel")),1)),(0,K.bF)(u,{key:"name",name:"name",rules:{required:!0,network_exists:[e.customNetworks,e.savedNetworkName],max_len:e.NETWORK_NAME_MAX_LENGTH}},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(s,(0,K.v6)(a,{modelValue:e.newNetworkName,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.newNetworkName=t}),"data-cy":"network-name",placeholder:e.$t("pages.network.networkNamePlaceholder"),label:e.$t("pages.network.networkNameLabel"),message:r,"text-limit":e.NETWORK_NAME_MAX_LENGTH}),null,16,["modelValue","placeholder","label","message","text-limit"])]})),_:1},8,["rules"]),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.formStructure,(function(t){var n=t.inputs,a=t.name,r=t.protocol;return(0,K.uX)(),(0,K.CE)("div",{key:r,"data-cy":"group-".concat(r)},[tC,(0,K.Lk)("h3",{class:"text-heading-3",textContent:(0,tt.v_)(a)},null,8,nC),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(n,(function(t){return(0,K.uX)(),(0,K.Wv)(u,{key:r+t.key,name:"".concat(r,"-").concat(t.key),rules:Object.assign({required:!0===t.required,url:!0},t.validationRules)},{default:(0,K.k6)((function(n){var a=n.field,o=n.errorMessage;return[(0,K.bF)(s,(0,K.v6)(a,{modelValue:e.newNetworkProtocols[r][t.key],"onUpdate:modelValue":function(n){return e.newNetworkProtocols[r][t.key]=n},placeholder:t.getPlaceholder(),label:t.getLabel(),"data-cy":t.key,message:o}),null,16,["modelValue","onUpdate:modelValue","placeholder","label","data-cy","message"])]})),_:2},1032,["name","rules"])})),128))],8,eC)})),128)),(0,K.bF)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[Object.keys(e.errors).length?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"invalid-form-message",type:e.INFO_BOX_TYPES.danger,text:e.$t("validation.formInvalid")},null,8,["type","text"])):(0,K.Q3)("",!0)]})),_:1}),(0,K.Lk)("div",aC,[(0,K.bF)(c,{"data-cy":"cancel",variant:"muted",class:"cancel-button","extra-padded":"",text:e.$t("common.cancel"),onClick:e.goBack},null,8,["text","onClick"]),(0,K.bF)(c,{icon:e.isEdit?null:e.PlusCircleIcon,disabled:!!Object.keys(e.errors).length,"data-cy":"btn-add-network",class:"add-button",onClick:t[1]||(t[1]=function(t){return e.addOrUpdateNetwork()})},{default:(0,K.k6)((function(){return[e.isEdit?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.eW)((0,tt.v_)(e.$t("pages.network.apply")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.eW)((0,tt.v_)(e.$t("pages.network.addNetwork")),1)],64))]})),_:1},8,["icon","disabled"])])])]})),_:1})]})),_:1})}var oC=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const iC=(0,K.pM)({name:"NetworkForm",components:{InfoBox:rh.A,BtnMain:Ro.A,InputField:cv.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e,t=this,n=(0,De.mN)(),a=n.setValues,r=n.validate,u=n.errors,c=o.E4.map((function(e){var t=i.C.getAdapter(e);return{protocol:e,name:t.protocolName,inputs:t.getNetworkSettings()}})),l=(0,er.rd)(),d=(0,er.lq)(),p=(0,ce.fI)(),v=p.networks,f=p.customNetworks,m=p.switchNetwork,g=p.addCustomNetwork,h=p.updateCustomNetwork,A=d.name===Ye.iO,k=null===(e=d.params.name)||void 0===e?void 0:e.toString(),y=A?f.value.findIndex((function(e){var t=e.name;return t===k})):null,b=Object.fromEntries(o.E4.map((function(e){return[e,{}]}))),w=(0,bt.KR)(""),C=(0,bt.KR)(b),x=(0,bt.KR)(!1);function L(){l.replace({name:Ye.nj})}function S(){return oC(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,r();case 2:if(e.sent.valid){e.next=4;break}return e.abrupt("return");case 4:t={name:w.value,type:o.Qb,protocols:C.value},A?h(y,t):g(t),m(w.value),L();case 8:case"end":return e.stop()}}),e)})))}function T(){o.E4.forEach((function(e){var t=i.C.getAdapter(e),n=t.getNetworkSettings();C.value[e]=Object.fromEntries(n.map((function(e){var t=e.key,n=e.defaultValue;return n?[t,n]:[]})))}))}function E(){if(Object.keys(d.query).length){var e=["nodeUrl","middlewareUrl"];e.forEach((function(e){var t=d.query[e];t&&"string"===typeof t&&(C.value[o.yv.aeternity][e]=t,x.value=!0)}))}}function I(){var e={name:w.value};o.E4.forEach((function(t){var n=C.value[t];Object.keys(n).forEach((function(a){e["".concat(t,"-").concat(a)]=n[a]}))})),a(e)}return(0,K.sV)((function(){return oC(t,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:A?(w.value=k,C.value=v.value[w.value].protocols):(T(),E()),I();case 2:case"end":return e.stop()}}),e)})))})),{NETWORK_NAME_MAX_LENGTH:o.VG,INFO_BOX_TYPES:rh.F,PlusCircleIcon:qw,savedNetworkName:k,newNetworkProtocols:C,newNetworkName:w,networks:v,customNetworks:f,isNetworkPrefilled:x,isEdit:A,formStructure:c,errors:u,addOrUpdateNetwork:S,goBack:L}}}),sC=(0,Ft.A)(iC,[["render",rC],["__scopeId","data-v-e89c9e08"]]),uC=sC;var cC={key:0,class:"multisig-details"},lC={class:"address-row"},dC={class:"address-row"},pC={class:"row"};function vC(e,t,n,a,r,o){var i=(0,K.g2)("Avatar"),s=(0,K.g2)("AddressFormatted"),u=(0,K.g2)("DetailsItem"),c=(0,K.g2)("ExternalLinkIcon"),l=(0,K.g2)("LinkButton"),d=(0,K.g2)("BtnHelp"),p=(0,K.g2)("ConsensusLabel"),v=(0,K.g2)("AuthorizedAccounts"),f=(0,K.g2)("IonContent"),m=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(m,null,{default:(0,K.k6)((function(){return[(0,K.bF)(f,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[e.activeMultisigAccount?((0,K.uX)(),(0,K.CE)("div",cC,[(0,K.bF)(u,{label:e.$t("multisig.address")},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",lC,[(0,K.bF)(i,{class:"avatar",address:e.activeMultisigAccount.gaAccountId},null,8,["address"]),(0,K.bF)(s,{address:e.activeMultisigAccount.gaAccountId,"column-count":9,class:"text-address"},null,8,["address"])])]})),_:1},8,["label"]),(0,K.bF)(u,{label:e.$t("common.contractId")},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",dC,[(0,K.bF)(i,{class:"avatar",address:e.activeMultisigAccount.contractId},null,8,["address"]),(0,K.bF)(s,{address:e.activeMultisigAccount.contractId,"column-count":9,class:"text-address"},null,8,["address"])])]})),_:1},8,["label"]),(0,K.bF)(l,{class:"explorer-link",to:e.activeMultisigAccountExplorerUrl},{icon:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"external-icon"})]})),default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("multisig.explorerLink"))+" ",1)]})),_:1},8,["to"]),(0,K.Lk)("div",pC,[(0,K.bF)(u,{class:"details-item",label:e.$t("multisig.version"),value:e.activeMultisigAccount.version},null,8,["label","value"]),(0,K.bF)(u,{class:"details-item",label:e.$t("multisig.currentNonce"),value:e.activeMultisigAccount.nonce},null,8,["label","value"])]),(0,K.bF)(u,{class:"details-item",label:e.$t("multisig.consensus")},{label:(0,K.k6)((function(){return[(0,K.bF)(d,{onHelp:e.openConsensusInfoModal},null,8,["onHelp"])]})),value:(0,K.k6)((function(){return[(0,K.bF)(p,{"confirmations-required":e.activeMultisigAccount.confirmationsRequired,"has-pending-transaction":e.activeMultisigAccount.hasPendingTransaction,"confirmed-by":e.activeMultisigAccount.confirmedBy,signers:e.activeMultisigAccount.signers},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])]})),_:1},8,["label"]),(0,K.bF)(v,{"address-list":e.activeMultisigAccount.signers},null,8,["address-list"])])):(0,K.Q3)("",!0)]})),_:1})]})),_:1})}var fC=n(74295),mC={class:"account-list"};function gC(e,t,n,a,r,o){var i=(0,K.g2)("AccountItem"),s=(0,K.g2)("DialogBox"),u=(0,K.g2)("DetailsItem");return(0,K.uX)(),(0,K.Wv)(u,{label:e.$t("multisig.authorizedSigners"),class:"authorized-accounts"},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",mC,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.addressList,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t,class:"account-row"},[(0,K.bF)(i,{address:t,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]),e.isLocalAccountAddress(t)?((0,K.uX)(),(0,K.Wv)(s,{key:0,class:"dialog",dense:""},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.you")),1)]})),_:1})):(0,K.Q3)("",!0)])})),128))])]})),_:1},8,["label"])}const hC=(0,K.pM)({name:"AuthorizedAccounts",components:{DialogBox:Ob.h,DetailsItem:Os.A,AccountItem:Bd.A},props:{addressList:{type:Array,default:function(){return[]}}},setup:function(){var e=(0,ce.oV)(),t=e.isLocalAccountAddress;return{isLocalAccountAddress:t,PROTOCOLS:o.yv}}}),AC=(0,Ft.A)(hC,[["render",gC],["__scopeId","data-v-1229a01e"]]),kC=AC,yC=(0,K.pM)({name:"MultisigDetails",components:{BtnHelp:gd.A,ConsensusLabel:ta,LinkButton:wt.A,AuthorizedAccounts:kC,Avatar:hs.A,AddressFormatted:fC.A,DetailsItem:Os.A,ExternalLinkIcon:Ot.A,IonContent:Fe.W9,IonPage:Fe.AO},setup:function(){var e=(0,ce.U8)(),t=e.openModal,n=(0,ce.ci)(),a=n.activeMultisigAccount,r=n.activeMultisigAccountExplorerUrl,i=n.fetchAdditionalInfo,s=n.stopFetchingAdditionalInfo;function u(){t(o.bG)}return(0,Fe.xX)(i),(0,Fe.Y0)(s),(0,K.xo)(s),{activeMultisigAccount:a,activeMultisigAccountExplorerUrl:r,openConsensusInfoModal:u}}}),bC=(0,Ft.A)(yC,[["render",vC],["__scopeId","data-v-170ee221"]]),wC=bC;function CC(e,t,n,a,r,o){var i=(0,K.g2)("IonRouterOutlet"),s=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(s,null,{default:(0,K.k6)((function(){return[(0,K.bF)(i,{animated:!e.RUNNING_IN_TESTS&&!e.IS_FIREFOX,animation:e.popInAnimation},null,8,["animated","animation"])]})),_:1})}const xC=(0,K.pM)({components:{IonRouterOutlet:Fe.Rg,IonPage:Fe.AO},setup:function(){var e=(0,er.lq)(),t=(0,ce.mv)(),n=t.setHomeRouteName;function r(){var t=(0,a.A)(e.matched,1),r=t[0];n(r.meta.isMultisig?Ye.zn:Ye.qJ)}return(0,K.$u)((function(){r()})),(0,K.sV)((function(){r()})),{RUNNING_IN_TESTS:o.yW,IS_FIREFOX:o.$M,popInAnimation:yu.l$}}}),LC=(0,Ft.A)(xC,[["render",CC]]),SC=LC;var TC={key:0},EC={class:"apps-browser-popular-apps"},IC={class:"apps-browser-list"},_C=["src"];function WC(e,t,n,a,r,o){var i=(0,K.g2)("AppsBrowserHeader"),s=(0,K.g2)("BtnIcon"),u=(0,K.g2)("InputField"),c=(0,K.g2)("Field"),l=(0,K.g2)("AppsBrowserListItem"),d=(0,K.g2)("AppsBrowserHistory"),p=(0,K.g2)("BackToTop"),v=(0,K.g2)("IonContent"),f=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(f,null,{default:(0,K.k6)((function(){return[(0,K.bF)(v,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:(0,tt.C4)(["apps-browser",{"app-selected":e.selectedApp}])},[(0,K.bF)(i,{"selected-app":e.selectedApp,iframe:e.iframeRef,onBack:t[0]||(t[0]=function(t){return e.back()}),onRefresh:t[1]||(t[1]=function(t){return e.refresh()})},null,8,["selected-app","iframe"]),e.selectedApp?((0,K.uX)(),(0,K.CE)("iframe",{key:1,ref:"iframeRef",title:"selectedApp",class:"apps-browser-iframe",src:e.selectedApp.url,onLoad:t[3]||(t[3]=function(t){return e.onAppLoaded()})},null,40,_C)):((0,K.uX)(),(0,K.CE)("div",TC,[(0,K.bF)(c,{modelValue:e.customAppURL,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.customAppURL=t}),name:"customAppURL",rules:{url:e.customAppURL.length>0}},{default:(0,K.k6)((function(t){var n=t.field,a=t.errorMessage,r=t.resetField;return[(0,K.bF)(u,(0,K.v6)(n,{"model-value":e.customAppURL,class:"input-url",type:"url","show-message-help":"",placeholder:e.$t("pages.appsBrowser.inputPlaceholder"),message:a,onKeydown:(0,We.jR)((0,We.D$)((function(t){return e.handleEnter(t,a)}),["stop"]),["enter"])}),{after:(0,K.k6)((function(){return[e.customAppURL.length?((0,K.uX)(),(0,K.Wv)(s,{key:1,size:"sm",icon:e.CloseIcon,onClick:function(e){return r({value:""})}},null,8,["icon","onClick"])):((0,K.uX)(),(0,K.Wv)((0,K.$y)(e.GlobeSmallIcon),{key:0}))]})),_:2},1040,["model-value","placeholder","message","onKeydown"])]})),_:1},8,["modelValue","rules"]),(0,K.Lk)("div",EC,(0,tt.v_)(e.$t("pages.appsBrowser.popularApps")),1),(0,K.Lk)("div",IC,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.DAPPS_LIST,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t.title,class:"apps-browser-card"},[(0,K.bF)(l,{title:t.title,image:t.image,onClick:function(n){return e.onSelectApp(t)}},null,8,["title","image","onClick"])])})),128))]),(0,K.bF)(d,{onSelectApp:e.onSelectApp},null,8,["onSelectApp"])]))],2),e.selectedApp?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(p,{key:0}))]})),_:1})]})),_:1})}var FC=n(22146),DC=n(31490),BC=(n(13609),n(54228)),PC=(0,BC.S)([],o.d5.appsBrowserHistory);function OC(){function e(e){var t=new URL(e),n=t.hostname,a=t.pathname;return"".concat(n).concat(a)}function t(t){var n=e(t.url),a=PC.value.filter((function(e){return e.cleanPath!==n}));a.unshift(Object.assign(Object.assign({},t),{cleanPath:n})),a.length>o.Y6&&a.pop(),PC.value=a}return{history:PC,addHistoryItem:t}}var MC={class:"apps-browser-header"},RC={key:0,class:"left"},NC={class:"title"},UC={key:1,class:"host"},XC={class:"right"};function VC(e,t,n,a,r,o){var i=(0,K.g2)("AccountSelector"),s=(0,K.g2)("BtnIcon"),u=(0,K.g2)("Truncate"),c=(0,K.g2)("SecureIcon"),l=(0,K.g2)("BtnClose");return(0,K.uX)(),(0,K.CE)("div",MC,[e.selectedApp?((0,K.uX)(),(0,K.CE)("div",RC,[(0,K.bF)(i,{modelValue:e.accountAddress,"onUpdate:modelValue":[t[0]||(t[0]=function(t){return e.accountAddress=t}),e.onAccountChange],"avatar-only":"",options:e.aeAccountsSelectOptions},null,8,["modelValue","options","onUpdate:modelValue"]),(0,K.bF)(s,{class:"icon-btn","data-cy":"back-arrow",icon:e.BackIcon,onClick:e.back},null,8,["icon","onClick"])])):(0,K.Q3)("",!0),(0,K.Lk)("div",NC,[e.selectedApp?((0,K.uX)(),(0,K.CE)("div",UC,[e.isSecure?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"icon secure-lock"})):(0,K.Q3)("",!0),(0,K.eW)(" "+(0,tt.v_)(e.selectedAppHost),1)])):((0,K.uX)(),(0,K.Wv)(u,{key:0,str:e.$t("pages.titles.appsBrowser"),class:"text"},null,8,["str"]))]),(0,K.Lk)("div",XC,[e.selectedApp?((0,K.uX)(),(0,K.Wv)(s,{key:0,icon:e.ThreeDotsIcon,onClick:e.openActions},null,8,["icon","onClick"])):(0,K.Q3)("",!0),(0,K.bF)(l,{"data-cy":"btn-close",class:"btn-close",onClick:e.close},null,8,["onClick"])])])}var HC=n(86295),$C={viewBox:"0 0 18 18",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"icon"},jC=(0,K.Lk)("path",{id:"Vector",d:"M5.99143 15.1C5.50286 15.1 5.13214 14.9693 4.87929 14.708C4.62643 14.4509 4.5 14.0632 4.5 13.5448V9.06237C4.5 8.54817 4.62643 8.16252 4.87929 7.90542C5.13214 7.64832 5.50286 7.51977 5.99143 7.51977H12.0086C12.4971 7.51977 12.8679 7.64832 13.1207 7.90542C13.3736 8.16252 13.5 8.54817 13.5 9.06237V13.5448C13.5 14.0632 13.3736 14.4509 13.1207 14.708C12.8679 14.9693 12.4971 15.1 12.0086 15.1H5.99143ZM6.17143 13.962H11.8286C11.9614 13.962 12.0643 13.922 12.1371 13.8419C12.21 13.766 12.2464 13.6522 12.2464 13.5005V9.11295C12.2464 8.96121 12.21 8.84742 12.1371 8.77155C12.0643 8.69569 11.9614 8.65775 11.8286 8.65775H6.17143C6.04286 8.65775 5.94 8.69569 5.86286 8.77155C5.79 8.84742 5.75357 8.96121 5.75357 9.11295V13.5005C5.75357 13.6522 5.79 13.766 5.86286 13.8419C5.94 13.922 6.04286 13.962 6.17143 13.962ZM5.67643 8.05083V6.04039C5.67643 5.26066 5.83071 4.60948 6.13929 4.08685C6.45214 3.56001 6.86143 3.16382 7.36714 2.89829C7.87286 2.63276 8.41714 2.5 9 2.5C9.58286 2.5 10.1271 2.63276 10.6329 2.89829C11.1386 3.16382 11.5457 3.56001 11.8543 4.08685C12.1671 4.60948 12.3236 5.26066 12.3236 6.04039V8.05083H11.1214V5.92659C11.1214 5.43347 11.0229 5.01831 10.8257 4.68113C10.6329 4.33974 10.3757 4.08053 10.0543 3.90351C9.73286 3.72649 9.38143 3.63798 9 3.63798C8.61857 3.63798 8.26714 3.72649 7.94571 3.90351C7.62429 4.08053 7.36714 4.33974 7.17429 4.68113C6.98143 5.01831 6.885 5.43347 6.885 5.92659V8.05083H5.67643Z",fill:"currentColor"},null,-1),KC=[jC];function qC(e,t){return(0,K.uX)(),(0,K.CE)("svg",$C,KC)}const GC={},QC=(0,Ft.A)(GC,[["render",qC]]),ZC=QC;var YC={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},zC=(0,K.Lk)("path",{d:"M17 12C17 11.5055 17.1466 11.0222 17.4213 10.6111C17.696 10.2 18.0865 9.87952 18.5433 9.6903C19.0001 9.50108 19.5028 9.45157 19.9877 9.54804C20.4727 9.6445 20.9181 9.8826 21.2678 10.2322C21.6174 10.5819 21.8555 11.0273 21.952 11.5123C22.0484 11.9972 21.9989 12.4999 21.8097 12.9567C21.6205 13.4135 21.3 13.804 20.8889 14.0787C20.4778 14.3534 19.9945 14.5 19.5 14.5C18.837 14.5 18.2011 14.2366 17.7322 13.7678C17.2634 13.2989 17 12.663 17 12Z",fill:"currentColor"},null,-1),JC=(0,K.Lk)("path",{opacity:"0.66",d:"M9.92133 10.6111C9.64662 11.0222 9.5 11.5055 9.5 12C9.5 12.663 9.76339 13.2989 10.2322 13.7678C10.7011 14.2366 11.337 14.5 12 14.5C12.4945 14.5 12.9778 14.3534 13.3889 14.0787C13.8 13.804 14.1205 13.4135 14.3097 12.9567C14.4989 12.4999 14.5484 11.9972 14.452 11.5123C14.3555 11.0273 14.1174 10.5819 13.7678 10.2322C13.4181 9.8826 12.9727 9.6445 12.4877 9.54804C12.0028 9.45157 11.5001 9.50108 11.0433 9.6903C10.5865 9.87952 10.196 10.2 9.92133 10.6111Z",fill:"currentColor"},null,-1),ex=(0,K.Lk)("path",{opacity:"0.44",d:"M2.42133 10.6111C2.14662 11.0222 2 11.5055 2 12C2 12.663 2.26339 13.2989 2.73223 13.7678C3.20107 14.2366 3.83696 14.5 4.5 14.5C4.99445 14.5 5.4778 14.3534 5.88893 14.0787C6.30005 13.804 6.62048 13.4135 6.8097 12.9567C6.99892 12.4999 7.04843 11.9972 6.95196 11.5123C6.8555 11.0273 6.6174 10.5819 6.26777 10.2322C5.91814 9.8826 5.47268 9.6445 4.98773 9.54804C4.50277 9.45157 4.00011 9.50108 3.54329 9.6903C3.08648 9.87952 2.69603 10.2 2.42133 10.6111Z",fill:"currentColor"},null,-1),tx=[zC,JC,ex];function nx(e,t){return(0,K.uX)(),(0,K.CE)("svg",YC,tx)}const ax={},rx=(0,Ft.A)(ax,[["render",nx]]),ox=rx;var ix=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const sx=(0,K.pM)({components:{BtnClose:HC.A,Truncate:Xn.A,BtnIcon:Lo.A,SecureIcon:ZC,AccountSelector:bs},props:{selectedApp:{type:Object,default:null},iframe:{type:Object,default:null}},emits:["back","refresh"],setup:function(e,t){var n=t.emit,a=(0,Fe.jq)(),r=(0,ce.U8)(),i=r.openModal,u=(0,ce.mv)(),c=u.homeRouteName,l=(0,ce.oV)(),d=l.isLoggedIn,p=l.activeAccount,v=l.aeAccountsSelectOptions,f=l.setActiveAccountByAddress,m=(0,K.EW)((function(){return d.value?c.value:Ye.nv})),g=(0,K.EW)((function(){var t;return null===(t=null===e||void 0===e?void 0:e.selectedApp)||void 0===t?void 0:t.url.startsWith("https://")})),h=(0,K.EW)((function(){var t,n=new URL(null===(t=null===e||void 0===e?void 0:e.selectedApp)||void 0===t?void 0:t.url);return null===n||void 0===n?void 0:n.host})),A=(0,bt.KR)((0,bt.R1)(p.value.address));function k(e){f(e)}function y(){n("back")}function b(){a.navigate("/".concat(m.value),"back","push")}function w(){return ix(this,void 0,void 0,(0,s.A)().mark((function t(){var a;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i(o.TG,{iframe:e.iframe,selectedApp:null===e||void 0===e?void 0:e.selectedApp});case 3:a=t.sent,(null===a||void 0===a?void 0:a.action)===o.dL.refresh&&n("refresh"),t.next=10;break;case 7:throw t.prev=7,t.t0=t["catch"](0),t.t0;case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))}return{isSecure:g,openActions:w,homeRouteName:c,accountAddress:A,selectedAppHost:h,onAccountChange:k,aeAccountsSelectOptions:v,BackIcon:oo.A,ThreeDotsIcon:ox,ROUTE_ACCOUNT:Ye.qJ,ROUTE_MORE:Ye.Sr,back:y,close:b}}}),ux=(0,Ft.A)(sx,[["render",VC],["__scopeId","data-v-639ab793"]]),cx=ux;var lx={class:"apps-browser-list-item",type:"button"},dx={class:"app-image-wrapper"},px=["src"],vx={class:"app-title"};function fx(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("button",lx,[(0,K.Lk)("div",dx,[(0,K.Lk)("img",{src:e.imageUrl,class:"app-image",alt:"Dapp favicon"},null,8,px)]),(0,K.Lk)("div",vx,(0,tt.v_)(e.title),1)])}const mx=(0,K.pM)({name:"AppsBrowserListItem",props:{title:{type:String,required:!0},image:{type:String,default:null}},setup:function(e){var t=(0,K.EW)((function(){return e.image?n(33541)("./".concat(e.image)):null}));return{imageUrl:t}}}),gx=(0,Ft.A)(mx,[["render",fx],["__scopeId","data-v-4e0231c6"]]),hx=gx;var Ax={key:0,class:"apps-browser-history"},kx={class:"apps-browser-history-title"},yx={class:"apps-browser-list"};function bx(e,t,n,a,r,o){var i=(0,K.g2)("AppsBrowserHistoryListItem");return e.hasHistory?((0,K.uX)(),(0,K.CE)("div",Ax,[(0,K.Lk)("div",kx,(0,tt.v_)(e.$t("pages.appsBrowser.recentApps")),1),(0,K.Lk)("div",yx,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.history,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t.cleanPath},[(0,K.bF)(i,{title:t.title,image:t.image,url:t.url,onClick:function(n){return e.$emit("select-app",t)}},null,8,["title","image","url","onClick"])])})),128))])])):(0,K.Q3)("",!0)}var wx={class:"app-image-wrapper"},Cx=["src"],xx={class:"app-info"},Lx={key:0,class:"app-title"},Sx={class:"app-url"};function Tx(e,t,n,a,r,o){var i=(0,K.g2)("IconWrapper");return(0,K.uX)(),(0,K.CE)("button",{class:(0,tt.C4)(["apps-browser-history-list-item",{"no-title":!e.title}]),type:"button"},[(0,K.Lk)("div",wx,[e.image?((0,K.uX)(),(0,K.CE)("img",{key:0,src:e.imageUrl,class:"app-image",alt:"Dapp favicon"},null,8,Cx)):((0,K.uX)(),(0,K.Wv)(i,{key:1,icon:e.GlobeSmallIcon,class:"app-image default","is-full":""},null,8,["icon"]))]),(0,K.Lk)("div",xx,[e.title?((0,K.uX)(),(0,K.CE)("div",Lx,(0,tt.v_)(e.title),1)):(0,K.Q3)("",!0),(0,K.Lk)("div",Sx,(0,tt.v_)(e.url),1)])],2)}const Ex=(0,K.pM)({name:"AppsBrowserHistoryListItem",components:{IconWrapper:Bo.Ay},props:{url:{type:String,required:!0},title:{type:String,default:null},image:{type:String,default:null}},setup:function(e){var t=(0,K.EW)((function(){return e.image?n(33541)("./".concat(e.image)):null}));return{imageUrl:t,GlobeSmallIcon:wi.A}}}),Ix=(0,Ft.A)(Ex,[["render",Tx],["__scopeId","data-v-bd95fcd4"]]),_x=Ix,Wx=(0,K.pM)({name:"AppsBrowserHistory",components:{AppsBrowserHistoryListItem:_x},emits:["select-app"],setup:function(){var e=OC(),t=e.history,n=(0,K.EW)((function(){return t.value.length>0}));return{hasHistory:n,history:t}}}),Fx=(0,Ft.A)(Wx,[["render",bx],["__scopeId","data-v-46fe5ab0"]]),Dx=Fx;var Bx=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Px=[{title:"Aeternity Governance",url:"https://governance.aeternity.com/",image:"Governance.webp"},{title:"Graffiti Aepp",url:"https://graffiti.aeternity.com",image:"graffiti.svg"},{title:"Superhero DEX",url:"https://aepp.dex.superhero.com/swap",image:"SuperheroDEX.svg"}],Ox="selected-app";const Mx=(0,K.pM)({components:{AppsBrowserListItem:hx,AppsBrowserHeader:cx,AppsBrowserHistory:Dx,InputField:cv.A,BtnIcon:Lo.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9,BackToTop:ma.A},setup:function(){var e,t=OC(),n=t.addHistoryItem,a=(0,bt.KR)(),r=(0,bt.KR)(),i=(0,bt.KR)(""),u=(0,bt.KR)(""),c=(0,ce.CP)(),l=c.getAeSdk,d=(0,ce.U8)(),p=d.openModal,v=d.modalsOpen,f=(0,K.EW)((function(){return!!v.value.find((function(e){return e.name===o.om}))}));function m(){return Bx(this,void 0,void 0,(0,s.A)().mark((function t(){var o,i,c,d;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r.value&&a.value){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,l();case 4:o=t.sent,i=!1,c=r.value.contentWindow;try{d=new FC.A({target:c,origin:void 0}),u.value=o.addRpcClient(d),o.shareWalletInfo(u.value),e=setInterval((function(){try{var e=o._clients.get(u.value);e&&(o.shareWalletInfo(u.value),e.status!==DC.fE.CONNECTED||i||(i=!0,n(a.value)))}catch(t){(0,L.fY)(t)}}),3e3)}catch(s){(0,L.fY)(s)}case 8:case"end":return t.stop()}}),t)})))}function g(){r.value&&a.value&&((0,L.AP)([Ox],a.value),window.location.reload())}function h(e){p(o.om).then((function(){var t=e.url.startsWith("http://")||e.url.startsWith("https://")?e.url:"https://".concat(e.url);a.value=Object.assign(Object.assign({},e),{url:t})}),(function(){}))}function A(e,t){i.value.length>0&&!t&&!f.value&&((null===e||void 0===e?void 0:e.target).blur(),h({url:i.value}))}function k(){return Bx(this,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a.value=null,i.value="",e&&clearInterval(e),!u.value){t.next=8;break}return t.next=6,l();case 6:n=t.sent,n._clients.get(u.value)&&n.removeRpcClient(u.value);case 8:case"end":return t.stop()}}),t)})))}function y(){k()}return(0,K.sV)((function(){var e=(0,L._S)([Ox]);e&&(a.value=e,(0,L.AP)([Ox],null))})),(0,K.hi)((function(){k()})),{refresh:g,iframeRef:r,customAppURL:i,DAPPS_LIST:Px,selectedApp:a,onSelectApp:h,onAppLoaded:m,CloseIcon:aw,GlobeSmallIcon:wi.A,back:y,isWarningModalOpened:f,handleEnter:A}}}),Rx=(0,Ft.A)(Mx,[["render",WC],["__scopeId","data-v-1a03c862"]]),Nx=Rx;var Ux=n(55437),Xx=[].concat((0,te.A)(Sw),[{path:"/",name:Ye.nv,component:nl,meta:{title:"",hideHeader:!0,ifNotAuthOnly:!0,notPersist:!0}},{path:"/",component:SC,redirect:{name:Ye.qJ},children:[{path:"account",name:Ye.qJ,component:Pi},{path:"account-details/",component:uh,props:{viewComponentName:o.AK},children:[{path:"assets",name:Ye.r9,component:uh,props:{viewComponentName:o._V},meta:{redirectIfNull:Ye.no,showFilterBar:!0,hideHeader:!0,hideFilterButton:!0}},{path:"",name:Ye.no,component:Ca,meta:{hideHeader:!0,showFilterBar:!0}},{path:"names",component:uh,props:{viewComponentName:o.rh},meta:{redirectIfNull:Ye.no},children:[{path:"",name:Ye.ao,component:Yv,props:!0,meta:{hideHeader:!0}},{path:"auctions",component:cp,props:!0,name:Ye.tl,meta:{hideHeader:!0}},{path:"claim",component:fv,props:!0,name:Ye.PC,meta:{hideHeader:!0}}]}]}]},{path:"/account-details/transactions/:hash/:transactionOwner",name:Ye.iB,component:uh,props:{viewComponentName:o.nZ},meta:{title:"txDetails",showHeaderNavigation:!0,backRoute:{name:Ye.no}}},{path:"/multisig",component:SC,meta:{isMultisig:!0},children:[{path:"",name:Ye.zn,component:ls},{path:"details/",component:Pa,children:[{path:"assets",name:Ye.kb,component:Xa,meta:{showFilterBar:!0,hideHeader:!0,hideFilterButton:!0}},{path:"",name:Ye.uc,component:Ka,meta:{hideHeader:!0,showFilterBar:!0}},{path:"info",name:Ye.n3,component:wC,meta:{hideHeader:!0}}]},{path:"details/transactions/:hash/:transactionOwner",name:Ye.tX,component:Ux["default"],props:{multisigDashboard:!0},meta:{title:"txDetails",showHeaderNavigation:!0,backRoute:{name:Ye.uc}}},{path:"details/multisig-proposals",name:Ye.Ie,component:lw,props:!0,meta:{title:"multisigProposalDetails",backRoute:{name:Ye.uc},showHeaderNavigation:!0}},{path:"coins/:id?",component:Wu,beforeEnter:function(e,t,n){e.params.id?n():n({name:Ye.zn})},children:[{name:Ye.fc,path:"",component:Ka,props:!0,meta:{title:"coinDetails",backRoute:{name:Ye.kb},showHeaderNavigation:!0,showFilterBar:!0,hideSearchBar:!0,isMultisig:!0}},{name:Ye.iz,path:"details",component:Zu,props:!0,meta:{title:"coinDetails",backRoute:{name:Ye.kb},showHeaderNavigation:!0,isMultisig:!0}}]}]},{path:"/transfer/:t(.*)",redirect:"/account/:a(.*)"},{name:Ye.kM,path:"/popup-sign-tx",component:$s,props:!0,meta:{notPersist:!0}},{name:Ye.Q6,path:"/popup-raw-sign",component:eu,props:!0,meta:{notPersist:!0}},{name:Ye.E8,path:"/connect",component:og,props:!0,meta:{notPersist:!0}},{name:Ye.xO,path:"/message-sign",component:bg,props:!0,meta:{notPersist:!0}},{name:Ye.Go,path:"/account-list",component:mg,props:!0,meta:{notPersist:!0}},{path:"/more/settings",name:"settings",component:PA,meta:{title:"settings",showHeaderNavigation:!0}},{path:"/more/settings/reset-wallet",name:"settings-reset-wallet",component:Cw,meta:{title:"resetWallet",showHeaderNavigation:!0}},{path:"/more/settings/errors-log",name:"settings-errors-log",component:gm,meta:{title:"saveErrorsLog",showHeaderNavigation:!0}},{path:"/more/settings/language",name:"settings-language",component:Xl,meta:{title:"language",showHeaderNavigation:!0}},{path:"/more/settings/currency",name:"settings-currency",component:Jl,meta:{title:"currency",showHeaderNavigation:!0}},{path:"/more/settings/seed-phrase",name:"settings-seed-phrase",component:Ch,meta:{title:"seedPhrase",showHeaderNavigation:!0}},{path:"/more/settings/seed-phrase/details",name:"settings-seed-phrase-details",component:jh,meta:{title:"seedPhrase",showHeaderNavigation:!0}},{path:"/more/settings/seed-phrase/details/verify",name:"settings-seed-phrase-verify",component:_A,meta:{title:"seedPhrase",showHeaderNavigation:!0}},{path:"/more/settings/networks",name:Ye.nj,component:Zw,props:!0,meta:{title:"networks",showHeaderNavigation:!0}},{path:"/more/settings/networks/add",name:Ye.jA,component:uC,props:!0,meta:{title:"networkAdd",showHeaderNavigation:!0}},{path:"/more/settings/networks/:name",name:Ye.iO,component:uC,props:!0,meta:{title:"networkEdit",showHeaderNavigation:!0}},{path:"/more/settings/permissions",component:Cm,name:Ye.z0,meta:{title:"permissionsSettings",showHeaderNavigation:!0}},{path:"/more/settings/permissions/add",component:Xm,name:Ye.pe,meta:{title:"permissionsAdd",showHeaderNavigation:!0}},{path:"/more/settings/permissions/:host",component:Xm,name:Ye.eS,meta:{title:"permissionsEdit",showHeaderNavigation:!0,isEdit:!0}},{path:"/more/about",component:fn,name:"about",meta:{title:"about",showHeaderNavigation:!0}},{path:"/more/about/terms",component:db,name:"about-terms",meta:{title:"terms",showHeaderNavigation:!0,showScrollbar:!0,ifNotAuth:!0}},{path:"/more/about/privacy",component:Qg,name:"about-privacy",meta:{title:"privacy",ifNotAuth:!0,showHeaderNavigation:!0,showScrollbar:!0}},{path:"/more/tips-claim",name:"tips-claim",component:kb,meta:{title:"claimTips",showHeaderNavigation:!0}},{path:"/tips",redirect:"/account"},{path:"/retip",component:Ah,meta:{title:"sendTip",notPersist:!0,showHeaderNavigation:!0}},{path:"/more",component:av,name:"more",meta:{title:"more",showHeaderNavigation:!0}},{path:"/more/invite",name:"invite",component:Sl,meta:{title:"giftCards",showHeaderNavigation:!0}},{path:"/more/settings/notifications",name:"notification-settings",component:cm,meta:{title:"notifications",showHeaderNavigation:!0}},{path:"/account-details/names/auctions/:name/",component:ud,props:!0,children:[{path:"",component:Ed,props:!0,name:Ye.cH,meta:{title:"auction",showHeaderNavigation:!0}},{path:"history",component:Md,props:!0,name:Ye.Bh,meta:{title:"auction",backRoute:{name:Ye.tl},showHeaderNavigation:!0}}]},{path:"/comment",component:Ss,meta:{title:"commentNew",notPersist:!0,showHeaderNavigation:!0}},{name:Ye.rh,path:"/donate-error",component:vu,props:!0,meta:{title:"donateError",notPersist:!0,ifNotAuth:!0}},{name:"address",path:"/address",component:za,meta:{title:"address",notPersist:!0}},{path:"/coins/:id?",component:Wu,beforeEnter:function(e,t,n){e.params.id?n():n({name:Ye.qJ})},children:[{name:Ye.s4,path:"",component:Ou,props:!0,meta:{title:"coinDetails",backRoute:{name:Ye.r9},showHeaderNavigation:!0,showFilterBar:!0,hideSearchBar:!0}},{name:Ye.r,path:"details",component:Zu,props:!0,meta:{title:"coinDetails",backRoute:{name:Ye.r9},showHeaderNavigation:!0}}]},{path:"/tokens/:id?",component:Wu,beforeEnter:function(e,t,n){e.params.id?n():n({name:Ye.qJ})},children:[{name:Ye.uY,path:"",component:Ou,props:!0,meta:{title:"tokenDetails",backRoute:{name:Ye.r9},showHeaderNavigation:!0,showFilterBar:!0,hideSearchBar:!0}},{name:Ye.tE,path:"details",component:Zu,props:!0,meta:{title:"tokenDetails",backRoute:{name:Ye.r9},showHeaderNavigation:!0}}]},{name:"sign-message",path:"/sign-message",component:XA,meta:{title:"signMessage",notPersist:!0}},{name:"sign-transaction",path:"/sign-transaction",component:KA,meta:{title:"signTransaction",notPersist:!0}},{name:Ye.qC,path:"/apps-browser",component:Nx,meta:{title:"appsBrowser",hideHeader:!0,notPersist:!0}},{name:Ye.HH,path:"/invite/:secretKey?",component:Wl,props:!0,meta:{title:"invite",notPersist:!0}},{name:Ye.Ld,path:"/notifications",component:Kf,meta:{title:"notifications",showHeaderNavigation:!0,notPersist:!0}},{name:Ye.hN,path:"/page-not-found",component:mf,props:!0,meta:{ifNotAuth:!0,notPersist:!0,showHeaderNavigation:!0,title:"notFound"}},{path:"/:pathMatch(.*)*",redirect:{name:Ye.hN},props:!0,meta:{ifNotAuth:!0,notPersist:!0,showHeaderNavigation:!0,title:"notFound"}}]),Vx=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Hx=(0,Ne.aE)({routes:Xx,history:o.u2?(0,Ne.LA)():(0,Ne.Bt)(),scrollBehavior:function(e,t,n){return n||{left:0,top:0}}}),$x=(0,ce.oV)(),jx=$x.isLoggedIn,Kx=$x.activeAccount,qx=$x.areAccountsRestored,Gx=$x.setActiveAccountByGlobalIdx,Qx=$x.getLastActiveProtocolAccount,Zx=(0,ce.m)(),Yx=Zx.setPopupProps,zx=(0,ce.mv)(),Jx=zx.setLoginTargetLocation;Ge.r.init(Hx),et.init(Hx),Hx.beforeEach((function(e,t,n){return Vx(void 0,void 0,void 0,(0,s.A)().mark((function t(){var a,i,u,c;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,L.mU)(qx);case 2:if(a=e.meta,jx.value){t.next=6;break}return(null===a||void 0===a?void 0:a.ifNotAuthOnly)||(null===a||void 0===a?void 0:a.ifNotAuth)?n():(Jx(e),n({name:Ye.nv})),t.abrupt("return");case 6:if(e.name!==Ye.qC){t.next=15;break}if(o.I$||o.s4){t.next=10;break}return n({name:Ye.hN}),t.abrupt("return");case 10:if(Kx.value.protocol===o.yv.aeternity){t.next=15;break}return i=Qx(o.yv.aeternity),Gx(null===i||void 0===i?void 0:i.globalIdx),n({name:Ye.qC}),t.abrupt("return");case 15:if(!o.dx||e.name===Ye.hN){t.next=29;break}if(u=(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)({},o.tF,Ye.E8),o.ze,Ye.Go),o.sW,Ye.kM),o.LZ,Ye.Q6),o.MW,Ye.xO)[o.WZ],c=null,Object.keys(e.params).length){t.next=25;break}return t.next=21,qe();case 21:if(c=t.sent,null===c||void 0===c?void 0:c.app){t.next=25;break}return n({name:Ye.hN,params:{hideHomeButton:!0}}),t.abrupt("return");case 25:if(u===e.name){t.next=29;break}return Yx(c),n({name:u}),t.abrupt("return");case 29:n((null===a||void 0===a?void 0:a.ifNotAuthOnly)?{name:Ye.qJ}:void 0);case 30:case"end":return t.stop()}}),t)})))}));var eL=new Promise((function(e){return document.addEventListener("deviceready",e)})),tL=new Promise((function(e){var t=Hx.afterEach((function(){e(!0),setTimeout(t)}))}));o.I$&&function(){Vx(void 0,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([eL,tL]);case 2:Re.q.addListener("appUrlOpen",(function(e){var t=new URL(e.url),n=["superhero:",o.yS].find((function(e){return t.origin===e}));if(!n)throw new Error("Unknown url: ".concat(t.origin));try{Hx.push({path:t.pathname,hash:t.hash,query:Object.fromEntries(t.searchParams.entries())})}catch(a){if("NavigationDuplicated"!==a.name)throw a}})),Hx.afterEach((function(e){"/"===e.path?document.body.classList.remove("color-bg-app"):document.body.classList.add("color-bg-app")}));case 4:case"end":return e.stop()}}),e)})))}();const nL=Hx;var aL={class:"content-wrapper"},rL={class:"text-heading-1"},oL={class:"message"};function iL(e,t,n,a,r,o){var i=(0,K.g2)("BtnSubheader"),s=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(s,{class:"account-create-modal","from-bottom":"","has-close-button":"","no-padding":"",centered:"",onClose:e.resolve},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",aL,[(0,K.Lk)("h1",rL,(0,tt.v_)(e.isMultisig?e.$t("modals.createAccount.titleMultisig"):e.$t("modals.createAccount.titleAeternityAccount")),1),(0,K.Lk)("p",oL,(0,tt.v_)(e.isMultisig?e.$t("modals.createAccount.msgMultisig"):e.$t("modals.createAccount.msgAeternity")),1),e.isMultisig?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(i,{key:0,header:e.$t("pages.accounts.addAccount"),subheader:e.$t("modals.createAccount.btnSubtitle"),icon:e.PlusCircleIcon,disabled:!e.isOnline,onClick:t[0]||(t[0]=function(t){return e.createPlainAccount()})},null,8,["header","subheader","icon","disabled"])),(0,K.bF)(i,{header:e.$t("modals.createMultisigAccount.btnText"),subheader:e.$t("modals.createMultisigAccount.btnSubtitle"),icon:e.PlusCircleIcon,disabled:!e.isOnline,onClick:t[1]||(t[1]=function(t){return e.createMultisigAccount()})},null,8,["header","subheader","icon","disabled"])])]})),_:1},8,["onClose"])}var sL=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const uL=(0,K.pM)({components:{Modal:Bs.A,BtnSubheader:bc},props:{resolve:{type:Function,required:!0},isMultisig:Boolean},setup:function(e){var t=(0,ce.oV)(),n=t.addRawAccount,a=t.setActiveAccountByProtocolAndIdx,r=(0,ce.w5)(),i=r.isOnline,u=(0,ce.U8)(),c=u.openModal;function l(){return sL(this,void 0,void 0,(0,s.A)().mark((function t(){var r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:r=n({isRestored:!1,protocol:o.yv.aeternity}),a(o.yv.aeternity,r),e.resolve();case 3:case"end":return t.stop()}}),t)})))}function d(){return sL(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c(o.X0);case 2:e.resolve();case 3:case"end":return t.stop()}}),t)})))}return{PlusCircleIcon:_r.A,isOnline:i,createPlainAccount:l,createMultisigAccount:d}}}),cL=(0,Ft.A)(uL,[["render",iL],["__scopeId","data-v-0b7c85d9"]]),lL=cL;var dL=["textContent"];function pL(e,t,n,a,r,o){var i=(0,K.g2)("BtnSubheader"),s=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(s,{"from-bottom":"","has-close-button":"",onClose:t[1]||(t[1]=function(t){return e.reject()})},{default:(0,K.k6)((function(){return[(0,K.Lk)("p",{class:"text-heading-1 text-center",textContent:(0,tt.v_)(e.$t("pages.network.connectToNetwork"))},null,8,dL),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.defaultNetworks,(function(t){return(0,K.uX)(),(0,K.Wv)(i,{key:t.type,header:t.name,subheader:t.name===e.activeNetwork.name?e.$t("pages.network.connectedTo",{name:t.name.toLowerCase()}):e.$t("pages.network.connectTo",{name:t.name.toLowerCase()}),icon:t.type===e.NETWORK_TYPE_MAINNET?e.GlobeIcon:e.GlobeCogIcon,selected:t.name===e.activeNetwork.name,"icon-size":"xl",onClick:function(n){return e.switchNetworkAndClose(t.name)}},null,8,["header","subheader","icon","selected","onClick"])})),128)),(0,K.bF)(i,{to:{name:e.ROUTE_NETWORK_SETTINGS},icon:e.ThreeDotsIcon,header:e.$t("pages.network.moreNetworks"),subheader:e.$t("pages.network.viewAndManage"),onClick:t[0]||(t[0]=function(t){return e.resolve()})},null,8,["to","icon","header","subheader"])]})),_:1})}var vL={viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},fL=(0,K.Lk)("path",{d:"M13.9997 25.0147C17.1794 25.0147 19.7759 20.316 19.7759 14.0168C19.7759 7.68332 17.1909 2.98465 13.9997 2.98465C10.8085 2.98465 8.22355 7.68332 8.22355 14.0168C8.22355 20.316 10.82 25.0147 13.9997 25.0147ZM13.9997 4.36796C16.2415 4.36796 18.2432 8.82655 18.2432 14.0168C18.2432 19.1156 16.2415 23.6199 13.9997 23.6199C11.7579 23.6199 9.75623 19.1156 9.75623 14.0168C9.75623 8.82655 11.7579 4.36796 13.9997 4.36796ZM13.2562 3.1447V24.7974H14.7546V3.1447H13.2562ZM13.9997 18.2925C10.4768 18.2925 7.35426 19.2185 5.75295 20.6933L6.90818 21.6422C8.41799 20.4418 10.8771 19.7901 13.9997 19.7901C17.1222 19.7901 19.5814 20.4418 21.0913 21.6422L22.2464 20.6933C20.6451 19.2185 17.5226 18.2925 13.9997 18.2925ZM24.5569 13.2394H3.44249V14.737H24.5569V13.2394ZM13.9997 9.75257C17.5226 9.75257 20.6451 8.82655 22.2464 7.35178L21.0913 6.40291C19.5814 7.59186 17.1222 8.25493 13.9997 8.25493C10.8771 8.25493 8.41799 7.59186 6.90818 6.40291L5.75295 7.35178C7.35426 8.82655 10.4768 9.75257 13.9997 9.75257ZM13.9997 25.6548C20.3821 25.6548 25.6663 20.3618 25.6663 13.9939C25.6663 7.61472 20.3707 2.33301 13.9883 2.33301C7.61733 2.33301 2.33301 7.61472 2.33301 13.9939C2.33301 20.3618 7.62877 25.6548 13.9997 25.6548ZM13.9997 24.1001C8.47518 24.1001 3.88857 19.5158 3.88857 13.9939C3.88857 8.47215 8.46374 3.8878 13.9883 3.8878C19.5128 3.8878 24.1108 8.47215 24.1108 13.9939C24.1108 19.5158 19.5242 24.1001 13.9997 24.1001Z",fill:"currentColor"},null,-1),mL=[fL];function gL(e,t){return(0,K.uX)(),(0,K.CE)("svg",vL,mL)}const hL={},AL=(0,Ft.A)(hL,[["render",gL]]),kL=AL;var yL={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},bL=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.44443 12.6372C7.31746 12.5659 7.18707 12.5 7.05355 12.4398C6.42706 12.1573 5.73189 12 5 12C4.41736 12 3.85799 12.0997 3.33802 12.2829C3.2064 12.3292 3.0773 12.381 2.95098 12.4378C2.63045 12.582 2.32786 12.7589 2.04747 12.9644C2.01608 12.6467 2 12.325 2 12C2 6.52942 6.52942 2 11.9902 2C17.4608 2 22 6.52942 22 12C22 17.4608 17.4706 22 12 22C10.5358 22 9.1378 21.6737 7.87583 21.0907C8.27342 20.8107 8.62836 20.4741 8.92896 20.0928C9.15487 20.1802 9.38514 20.2582 9.6193 20.3266C9.45828 20.1623 9.30268 19.9814 9.15313 19.7851C9.42815 19.3758 9.64427 18.9236 9.78933 18.4406C10.2477 19.2668 10.7872 19.8578 11.3628 20.1136V16.9815C10.8879 16.998 10.4329 17.0331 9.99927 17.0864C9.99975 17.0576 10 17.0288 10 17C10 16.5949 9.95183 16.2011 9.86091 15.824C10.3458 15.76 10.8481 15.7175 11.3628 15.6982V12.6372H8.37415C8.38297 12.8765 8.39684 13.1138 8.41551 13.3484C8.12262 13.0743 7.79672 12.835 7.44443 12.6372ZM14.3807 20.3266C15.6776 19.9482 16.8552 19.2702 17.8315 18.375C17.3354 18.029 16.7381 17.7434 16.0505 17.5222C15.616 18.6915 15.0444 19.6494 14.3807 20.3266ZM14.7715 17.2041C14.2284 18.6674 13.4754 19.7353 12.6471 20.1092V16.9818C13.4085 17.0087 14.1188 17.0836 14.7715 17.2041ZM15.1488 15.9933C14.3678 15.833 13.5255 15.732 12.6471 15.6986V12.6372H15.6259C15.5819 13.8307 15.4122 14.973 15.1488 15.9933ZM16.427 16.3258C17.3297 16.6154 18.1079 16.9948 18.7085 17.4461C19.8018 16.1071 20.5074 14.4433 20.6429 12.6372H16.9412C16.8985 13.9754 16.7178 15.2192 16.427 16.3258ZM16.9398 11.353H20.6421C20.5056 9.56517 19.8091 7.91715 18.7308 6.58608C18.129 7.04342 17.3458 7.42768 16.4355 7.72054C16.7183 8.81173 16.895 10.0359 16.9398 11.353ZM15.162 8.05305C14.3772 8.21491 13.5305 8.31691 12.6471 8.35051V11.353H15.6245C15.5791 10.1753 15.4151 9.0546 15.162 8.05305ZM14.7907 6.8387C14.1327 6.96233 13.416 7.03947 12.6471 7.06702V3.88953C13.4852 4.26474 14.2461 5.34605 14.7907 6.8387ZM16.0622 6.51889C16.7571 6.29375 17.3594 6.00368 17.8578 5.6542C16.8749 4.74544 15.6858 4.05736 14.3757 3.67462C15.0481 4.35789 15.6255 5.32966 16.0622 6.51889ZM9.6316 3.66727C8.3152 4.04793 7.12162 4.73746 6.13624 5.64997C6.6358 6.00135 7.2402 6.29284 7.93782 6.51889C8.37608 5.32539 8.95613 4.35091 9.6316 3.66727ZM9.20939 6.83871C9.75603 5.3402 10.5208 4.25627 11.3628 3.88515V7.06737C10.5901 7.04013 9.87016 6.96286 9.20939 6.83871ZM7.5645 7.72055C6.65179 7.42692 5.86682 7.04139 5.26447 6.58244C4.18819 7.91414 3.4938 9.56354 3.35785 11.353H7.06029C7.10503 10.0359 7.28172 8.81173 7.5645 7.72055ZM8.3756 11.353C8.42099 10.1753 8.58494 9.05461 8.8381 8.05305C9.62575 8.21551 10.4759 8.31767 11.3628 8.35088V11.353H8.3756Z",fill:"currentColor"},null,-1),wL=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.22439 20.6613C4.26503 20.8713 4.43438 21 4.65114 21H5.34886C5.55885 21 5.7282 20.8713 5.76884 20.6613L5.96528 19.8484C6.10076 19.801 6.22947 19.7468 6.33785 19.6994L7.04911 20.1262C7.22523 20.2549 7.442 20.2278 7.59102 20.0787L8.07197 19.5978C8.221 19.442 8.25487 19.2185 8.11939 19.0423L7.69941 18.3378C7.7536 18.2227 7.80102 18.1008 7.84166 17.9721L8.6613 17.7824C8.8713 17.735 9 17.5724 9 17.3556V16.6715C9 16.4615 8.8713 16.2921 8.6613 16.2515L7.84843 16.055C7.80102 15.9128 7.74682 15.7841 7.69941 15.6825L8.13294 14.9712C8.25487 14.7883 8.24132 14.5783 8.08552 14.4225L7.59102 13.9416C7.43522 13.7993 7.25233 13.7722 7.06266 13.8806L6.33785 14.3209C6.22947 14.2667 6.10076 14.2125 5.96528 14.1651L5.76884 13.3455C5.7282 13.1355 5.55885 13 5.34886 13H4.65114C4.43438 13 4.26503 13.1355 4.22439 13.3522L4.02794 14.1583C3.89924 14.2058 3.76376 14.2599 3.6486 14.3141L2.93734 13.8806C2.74767 13.7722 2.558 13.7925 2.4022 13.9416L1.90771 14.4225C1.75191 14.5783 1.73836 14.7883 1.86029 14.9712L2.29382 15.6825C2.2464 15.7841 2.19221 15.9128 2.14479 16.055L1.3387 16.2515C1.12193 16.2921 1 16.4615 1 16.6715V17.3556C1 17.5724 1.12193 17.735 1.3387 17.7824L2.15157 17.9721C2.19221 18.1008 2.23963 18.2227 2.30059 18.3378L1.87384 19.0423C1.74513 19.2185 1.77223 19.442 1.92125 19.5978L2.4022 20.0787C2.558 20.2278 2.77477 20.2549 2.94412 20.1262L3.65538 19.6994C3.76376 19.7468 3.89924 19.801 4.02794 19.8484L4.22439 20.6613ZM6.3243 16.9966C6.3243 17.7214 5.7282 18.3243 4.99661 18.3243C4.2718 18.3243 3.6757 17.7214 3.6757 16.9966C3.6757 16.2786 4.2718 15.6825 4.99661 15.6825C5.7282 15.6825 6.3243 16.2786 6.3243 16.9966Z",fill:"currentColor"},null,-1),CL=[bL,wL];function xL(e,t){return(0,K.uX)(),(0,K.CE)("svg",yL,CL)}const LL={},SL=(0,Ft.A)(LL,[["render",xL]]),TL=SL,EL=(0,K.pM)({components:{Modal:Bs.A,BtnSubheader:bc},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,ce.fI)(),n=t.activeNetwork,a=t.defaultNetworks,r=t.customNetworks,i=t.switchNetwork;function s(t){t===n.value.name?e.resolve():(i(t),setTimeout((function(){return e.resolve()}),500))}return{ROUTE_NETWORK_SETTINGS:Ye.nj,NETWORK_TYPE_MAINNET:o.dk,GlobeIcon:kL,GlobeCogIcon:TL,ThreeDotsIcon:ox,activeNetwork:n,defaultNetworks:a,customNetworks:r,switchNetworkAndClose:s}}}),IL=(0,Ft.A)(EL,[["render",pL]]),_L=IL;var WL={key:0,class:"top-icon-wrapper"},FL={class:"text-heading-2 text-center title"};function DL(e,t,n,a,r,o){var i=(0,K.g2)("StatusIcon"),s=(0,K.g2)("IconBoxed"),u=(0,K.g2)("TemplateRenderer"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(l,(0,K.v6)({class:["default",{"text-center":e.textCenter}],"has-close-button":"","full-screen":e.fullScreen},(0,K.Tb)({close:e.close||e.resolve})),{footer:(0,K.k6)((function(){return[(0,K.RG)(e.$slots,"footer",{},(function(){return[(0,K.bF)(c,{class:(0,tt.C4)({"center-button":e.textCenter}),text:e.buttonMessage||e.$t("common.ok"),onClick:e.resolve},null,8,["class","text","onClick"])]}),!0)]})),default:(0,K.k6)((function(){return[e.icon?((0,K.uX)(),(0,K.CE)("div",WL,[(0,K.bF)(s,null,{default:(0,K.k6)((function(){return[(0,K.bF)(i,{status:e.icon,class:"status-icon"},null,8,["status"])]})),_:1})])):(0,K.Q3)("",!0),(0,K.Lk)("h2",FL,(0,tt.v_)(e.title),1),(0,K.RG)(e.$slots,"msg",{},(function(){return[(0,K.bF)(u,{str:e.msg},null,8,["str"])]}),!0),(0,K.RG)(e.$slots,"default",{},void 0,!0)]})),_:3},16,["class","full-screen"])}function BL(e,t,n,a,r,o){return e.icon?((0,K.uX)(),(0,K.Wv)((0,K.$y)(e.icon),{key:0,class:(0,tt.C4)(["status-icon",e.status]),onClick:t[0]||(t[0]=function(t){return e.$emit("click",t)})},null,8,["class"])):(0,K.Q3)("",!0)}var PL={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},OL=(0,K.Lk)("circle",{opacity:"0.5",cx:"12",cy:"12",r:"10",fill:"currentColor"},null,-1),ML=(0,K.Lk)("path",{d:"M11.699 13.9913C12.2382 13.9894 12.5802 13.6843 12.6083 13.2822C12.6081 13.243 12.6079 13.194 12.6078 13.1646C12.6355 12.6547 12.9872 12.3103 13.623 11.8963C14.5816 11.2557 15.2071 10.6947 15.2031 9.55745C15.1974 7.92021 13.7236 6.99397 11.9883 7.00003C10.3118 7.00588 9.16744 7.77459 8.86674 8.69721C8.8085 8.86408 8.77967 9.03085 8.78028 9.20732C8.78193 9.6779 9.1555 9.97072 9.54765 9.96935C9.9104 9.96809 10.1452 9.82021 10.3403 9.55482L10.4965 9.35819C10.8182 8.81785 11.2877 8.5319 11.876 8.52984C12.6701 8.52707 13.2109 8.99577 13.2133 9.66244C13.2154 10.2801 12.8047 10.5854 11.9734 11.1668C11.279 11.6496 10.771 12.1612 10.7741 13.0533L10.7745 13.1612C10.7764 13.7102 11.1107 13.9933 11.699 13.9913ZM11.6997 17.0011C12.3271 16.9989 12.8451 16.5363 12.843 15.9187C12.8408 15.301 12.3196 14.8519 11.6922 14.8541C11.0549 14.8563 10.5467 15.3188 10.5488 15.9267C10.551 16.5443 11.0722 17.0033 11.6997 17.0011Z",fill:"currentColor"},null,-1),RL=[OL,ML];function NL(e,t){return(0,K.uX)(),(0,K.CE)("svg",PL,RL)}const UL={},XL=(0,Ft.A)(UL,[["render",NL]]),VL=XL;var HL={viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},$L=(0,K.Lk)("g",null,[(0,K.Lk)("path",{fill:"currentColor",d:"M37.1444 8.53067L5.53296 40.1421L8.86048 43.4696L40.4719 11.8582L37.1444 8.53067Z"}),(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M19.7918 20.4706H16.9447V15.7648C16.9447 14.2589 17.4271 12.793 18.3188 11.5813C19.2106 10.3695 20.4671 9.47304 21.9047 9.02598C23.3423 8.57892 24.8835 8.60245 26.307 9.09186C27.4364 9.48245 28.4317 10.1577 29.227 11.0354L32.4247 7.83775L32.54 7.66598C31.4435 6.50363 30.1211 5.57658 28.6529 4.94599C27.1847 4.31541 25.6012 3.99305 24.0035 4.00011C20.8835 4.00482 17.8953 5.24482 15.6883 7.44951C13.4836 9.65656 12.2436 12.6448 12.2389 15.7648V20.4706H9.88592C8.63886 20.4706 7.44122 20.9671 6.55887 21.8495C5.67652 22.7318 5.18005 23.9295 5.18005 25.1765V35.0824L19.7918 20.4706Z"}),(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M38.1211 20.4707H37.5917L14.0624 44H38.1211C39.3682 44 40.5658 43.5036 41.4482 42.6212C42.3305 41.7389 42.827 40.5436 42.827 39.2942V25.1766C42.827 23.9295 42.3305 22.7319 41.4482 21.8495C40.5658 20.9672 39.3682 20.4707 38.1211 20.4707Z"})],-1),jL=[$L];function KL(e,t){return(0,K.uX)(),(0,K.CE)("svg",HL,jL)}const qL={},GL=(0,Ft.A)(qL,[["render",KL]]),QL=GL,ZL=(0,K.pM)({props:{status:{type:String,required:!0,validator:function(e){return o.wz.includes(e)}}},setup:function(e){var t={critical:Do,alert:kA,warning:$n.A,info:VL,success:lA,"not-secure":QL,help:kL},n=(0,K.EW)((function(){return t[e.status]}));return{icon:n}}}),YL=(0,Ft.A)(ZL,[["render",BL],["__scopeId","data-v-6ee6fe2e"]]),zL=YL;n(23418);var JL=function e(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return n.childNodes.length?Array.from(n.childNodes).filter((function(e){return[Node.ELEMENT_NODE,Node.TEXT_NODE].includes(e.nodeType)})).map((function(n){switch(n.tagName){case"strong":return t("strong",e(t,n));case"a":return t("a",(0,uu.A)({},a),e(t,n));case"br":return t("br");default:return n.textContent}})):n.textContent};const eS=(0,K.pM)({name:"TemplateRenderer",props:{str:{type:String,required:!0},option:{type:Object,default:null}},setup:function(e,t){var n=t.attrs;return function(){return(0,K.h)("span",{class:n["class"]},JL(K.h,(new DOMParser).parseFromString("".concat(e.str||"",""),"text/xml").childNodes[0],e.option))}}}),tS=eS,nS=tS;var aS={class:"icon-boxed"};function rS(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",aS,[(0,K.RG)(e.$slots,"default",{},(function(){return[((0,K.uX)(),(0,K.Wv)((0,K.$y)(e.icon),{class:"icon"}))]}))])}const oS=(0,K.pM)({props:{icon:{type:Object,default:null}}}),iS=(0,Ft.A)(oS,[["render",rS]]),sS=iS,uS=(0,K.pM)({components:{Modal:Bs.A,BtnMain:Ro.A,TemplateRenderer:nS,StatusIcon:zL,IconBoxed:sS},props:{resolve:{type:Function,required:!0},close:{type:Function,default:null},title:{type:String,default:""},msg:{type:String,default:""},icon:{type:String,default:""},buttonMessage:{type:String,default:""},textCenter:Boolean,fullScreen:Boolean}}),cS=(0,Ft.A)(uS,[["render",DL],["__scopeId","data-v-55c32d28"]]),lS=cS;var dS={class:"content-wrapper"},pS={class:"text-heading-1"},vS={class:"message"};function fS(e,t,n,a,r,o){var i=(0,K.g2)("BtnSubheader"),s=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(s,{class:"account-create","from-bottom":"","has-close-button":"","no-padding":"",centered:"",onClose:e.resolve},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",dS,[(0,K.Lk)("h2",pS,(0,tt.v_)(e.$t("modals.createAccount.title")),1),(0,K.Lk)("p",vS,(0,tt.v_)(e.$t("modals.createAccount.msg")),1),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.PROTOCOL_LIST,(function(t){return(0,K.uX)(),(0,K.Wv)(i,{key:t,header:e.getProtocolName(t),subheader:e.$t("modals.createAccount.addProtocolAccount",{name:e.getProtocolName(t)}),"protocol-icon":t,onClick:function(n){return e.createAccount(t)}},null,8,["header","subheader","protocol-icon","onClick"])})),128))])]})),_:1},8,["onClose"])}var mS=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const gS=(0,K.pM)({components:{Modal:Bs.A,BtnSubheader:bc},props:{resolve:{type:Function,required:!0}},setup:function(e){var t=(0,ce.oV)(),n=t.addRawAccount,a=t.setActiveAccountByProtocolAndIdx,r=(0,ce.w5)(),u=r.isOnline,c=(0,ce.U8)(),l=c.openModal,d=(0,ce.mv)(),p=d.setLoaderVisible;function v(t){return mS(this,void 0,void 0,(0,s.A)().mark((function r(){var i;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:p(!0),r.t0=t,r.next=r.t0===o.yv.aeternity?4:r.t0===o.yv.bitcoin||r.t0===o.yv.ethereum?7:10;break;case 4:return r.next=6,l(o.ul);case 6:return r.abrupt("break",11);case 7:return i=n({isRestored:!1,protocol:t}),a(t,i),r.abrupt("break",11);case 10:throw new Error("createAccount not implemented for protocol: ".concat(t));case 11:p(!1),e.resolve();case 13:case"end":return r.stop()}}),r)})))}function f(e){return i.C.getAdapter(e).protocolName}return(0,K.sV)((function(){p(!1)})),{PROTOCOL_LIST:o.E4,isOnline:u,createAccount:v,getProtocolName:f}}}),hS=(0,Ft.A)(gS,[["render",fS],["__scopeId","data-v-55406748"]]),AS=hS;var kS=function(e){return(0,K.Qi)("data-v-0764afea"),e=e(),(0,K.jt)(),e},yS={class:"text-center"},bS=["textContent"],wS={key:0},CS={class:"text-description"},xS=kS((function(){return(0,K.Lk)("br",null,null,-1)})),LS={key:1},SS=["textContent"];function TS(e,t,n,a,r,o){var i=(0,K.g2)("AnimatedSpinnerIcon"),s=(0,K.g2)("QrScanIcon"),u=(0,K.g2)("BtnPlain"),c=(0,K.g2)("FormTextarea"),l=(0,K.g2)("BtnMain"),d=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(d,{class:"import-account-modal","from-bottom":"","has-close-button":"",onClose:e.resolve},{footer:(0,K.k6)((function(){return[(0,K.bF)(l,{disabled:!e.mnemonic||!!e.error||e.discovering,text:e.$t("pages.index.importAccount"),"data-cy":"btn-import",class:"import-button",extend:"",center:"",onClick:t[1]||(t[1]=(0,We.D$)((function(){return e.importAccount()}),["prevent"]))},null,8,["disabled","text"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",yS,[(0,K.Lk)("p",{class:"text-heading-2",textContent:(0,tt.v_)(e.$t("pages.index.importWallet"))},null,8,bS),e.discovering?((0,K.uX)(),(0,K.CE)("div",wS,[(0,K.bF)(i,{class:"loader"}),(0,K.Lk)("p",CS,[(0,K.eW)((0,tt.v_)(e.$t("pages.index.restoringAccounts")),1),xS,(0,K.eW)(" "+(0,tt.v_)(e.$t("common.actionMayTakeFewMoments")),1)])])):((0,K.uX)(),(0,K.CE)("div",LS,[(0,K.Lk)("p",{textContent:(0,tt.v_)(e.$t("pages.index.enterSeedPhrase"))},null,8,SS)]))]),(0,K.bF)(c,{modelValue:e.mnemonic,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.mnemonic=t}),size:"xs",label:e.$t("pages.index.seedPhrase"),placeholder:e.$t("pages.index.seedPlaceHolder"),message:e.error,resizable:!1,readonly:e.discovering,"data-cy":"field-mnemonic","enter-submit":"",onSubmit:e.importAccount},{"label-after":(0,K.k6)((function(){return[(0,K.bF)(u,{"data-cy":"scan-button",class:(0,tt.C4)(["scan-button",{disabled:e.discovering}]),onClick:e.openScanQrModal},{default:(0,K.k6)((function(){return[(0,K.bF)(s)]})),_:1},8,["class","onClick"])]})),_:1},8,["modelValue","label","placeholder","message","readonly","onSubmit"])]})),_:1},8,["onClose"])}n(42762);var ES=n(46582),IS=n(73665),_S=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const WS=(0,K.pM)({components:{BtnMain:Ro.A,BtnPlain:Rr.A,Modal:Bs.A,FormTextarea:lu.A,QrScanIcon:IS.A,AnimatedSpinnerIcon:ua.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,er.rd)(),n=(0,yn.s9)(),a=n.t,r=(0,ce.oV)(),i=r.discoverAccounts,u=r.setMnemonic,c=(0,ce.U8)(),l=c.openModal,d=(0,ce.mv)(),p=d.loginTargetLocation,v=d.setBackedUpSeed,f=(0,bt.KR)(!1),m=(0,bt.KR)(""),g=(0,bt.KR)("");function h(){return _S(this,void 0,void 0,(0,s.A)().mark((function n(){var r;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=m.value.toLowerCase().replace(/\s+/g," ").replace(/[^a-z ]/g,"").trim(),(0,L.SN)(r)){n.next=4;break}return g.value=a("pages.index.invalidSeed"),n.abrupt("return");case 4:if(r&&(0,ES.validateMnemonic)(r)){n.next=7;break}return g.value=a("pages.index.accountNotFound"),n.abrupt("return");case 7:return f.value=!0,u(r),v(!0),n.next=12,i();case 12:e.resolve(),t.push(p.value),f.value=!1;case 15:case"end":return n.stop()}}),n)})))}function A(){return _S(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l(o.$b,{title:a("pages.index.scanSeedPhrase"),icon:"critical"});case 2:t=e.sent,t&&(m.value=t);case 4:case"end":return e.stop()}}),e)})))}return(0,K.wB)(m,(function(){g.value=""})),{discovering:f,mnemonic:m,error:g,importAccount:h,openScanQrModal:A}}}),FS=(0,Ft.A)(WS,[["render",TS],["__scopeId","data-v-0764afea"]]),DS=FS;function BS(e,t,n,a,r,o){var i=(0,K.g2)("FormSelectOptionsHeader"),s=(0,K.g2)("AccountSelectOptionsItem"),u=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(u,{class:"account-select-options","has-close-button":"","no-padding":"","from-bottom":"","full-screen":"",onClose:t[1]||(t[1]=function(t){return e.reject()})},{header:(0,K.k6)((function(){return[(0,K.bF)(i,{modelValue:e.searchPhrase,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchPhrase=t}),title:e.title,"options-length":e.options.length,"search-placeholder":e.$t("pages.accounts.searchAccountsPlaceholder")},null,8,["modelValue","title","options-length","search-placeholder"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.optionsFiltered,(function(t,n){return(0,K.uX)(),(0,K.Wv)(s,{key:t.value||n,option:t,selected:t.value===e.value,onClick:function(n){return e.resolve(t.value)}},null,8,["option","selected","onClick"])})),128))])]})),_:1})}function PS(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("TokenAmount"),u=(0,K.g2)("BtnPlain");return e.account?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"account-select-options-item",style:(0,tt.Tr)(e.bgColorStyle),onClick:t[0]||(t[0]=(0,We.D$)((function(t){return e.$emit("click")}),["prevent"]))},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:(0,tt.C4)(["option-wrapper",{selected:e.selected}])},[(0,K.bF)(i,{account:e.account,class:"account-info","avatar-size":"rg","avatar-borderless":"","is-list-name":"","show-protocol-icon":""},null,8,["account"]),(0,K.bF)(s,{amount:e.balance,symbol:e.tokenSymbol,protocol:e.account.protocol,class:"token-amount",vertical:"",small:""},null,8,["amount","symbol","protocol"])],2)]})),_:1},8,["style"])):(0,K.Q3)("",!0)}const OS=(0,K.pM)({components:{TokenAmount:Ms.A,AccountInfo:Ta.A,BtnPlain:Rr.A},props:{option:{type:Object,default:function(){return{}}},selected:Boolean},setup:function(e){var t=(0,ce.ty)(),n=t.getAccountBalance,a=(0,ce.oV)(),r=a.getAccountByAddress,o=r(e.option.value),s=(0,K.EW)((function(){return{"--bg-color":(0,L.cr)(e.option.value)}})),u=(0,K.EW)((function(){var t;return(null===(t=e.option)||void 0===t?void 0:t.value)?n(e.option.value).toNumber():0})),c=(0,K.EW)((function(){return i.C.getAdapter(o.protocol).coinSymbol}));return{account:o,balance:u,bgColorStyle:s,tokenSymbol:c,AE_SYMBOL:T.kf}}}),MS=(0,Ft.A)(OS,[["render",PS],["__scopeId","data-v-527219b2"]]),RS=MS;var NS={class:"form-select-options-header"},US={class:"text-heading-3 text-muted title"};function XS(e,t,n,a,r,o){var i=(0,K.g2)("InputSearch");return(0,K.uX)(),(0,K.CE)("div",NS,[(0,K.Lk)("span",US,(0,tt.v_)(e.title),1),e.optionsLength>e.SHOW_SEARCH_THRESHOLD?((0,K.uX)(),(0,K.Wv)(i,{key:0,value:e.value,placeholder:e.searchPlaceholder||e.$t("common.search"),class:"search-field","onUpdate:modelValue":e.filterOptions},null,8,["value","placeholder","onUpdate:modelValue"])):(0,K.Q3)("",!0)])}var VS=n(76801),HS=3;const $S=(0,K.pM)({components:{InputSearch:VS.A},props:{value:{type:String,default:""},title:{type:String,default:""},optionsLength:{type:Number,default:0},searchPlaceholder:{type:String,default:""}},setup:function(e,t){var n=t.emit;function a(e){n("update:modelValue",e?e.toLowerCase():"")}return{filterOptions:a,SHOW_SEARCH_THRESHOLD:HS}}}),jS=(0,Ft.A)($S,[["render",XS],["__scopeId","data-v-1e8729bf"]]),KS=jS,qS=(0,K.pM)({components:{FormSelectOptionsHeader:KS,AccountSelectOptionsItem:RS,Modal:Bs.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},title:{type:String,default:null},value:{type:[String,Number],default:null},options:{type:Array,default:function(){return[]}}},setup:function(e){var t=(0,Un.q)(),n=t.getName,a=(0,bt.KR)(""),r=(0,K.EW)((function(){return e.options.filter((function(e){var t=e.text,r=e.value;return t.toLowerCase().includes(a.value)||r.toString().includes(a.value)||n(r).value.includes(a.value)}))}));return{searchPhrase:a,optionsFiltered:r}}}),GS=(0,Ft.A)(qS,[["render",BS]]),QS=GS;var ZS={class:"top-icon-wrapper"},YS={class:"claimed"};function zS(e,t,n,a,r,o){var i=(0,K.g2)("StatusIcon"),s=(0,K.g2)("IconBoxed"),u=(0,K.g2)("BtnMain"),c=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(c,{class:"claim-success-modal","has-close-button":"",centered:"",onClose:e.resolve},{footer:(0,K.k6)((function(){return[(0,K.bF)(u,{onClick:e.resolve},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.ok")),1)]})),_:1},8,["onClick"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",ZS,[(0,K.bF)(s,null,{default:(0,K.k6)((function(){return[(0,K.bF)(i,{status:"success",class:"status-icon"})]})),_:1})]),(0,K.Lk)("span",null,[(0,K.Lk)("b",null,(0,tt.v_)(e.$t("pages.claim.url"))+":",1),(0,K.eW)(" "+(0,tt.v_)(e.url),1)]),(0,K.Lk)("span",null,[(0,K.Lk)("b",null,(0,tt.v_)(e.$t("pages.claim.tipsOnUrl"))+":",1),(0,K.eW)(" "+(0,tt.v_)(e.claimAmount)+" "+(0,tt.v_)(e.$t("pages.claim.ae")),1)]),(0,K.Lk)("span",YS,(0,tt.v_)(e.$t("pages.claim.claimed")),1)]})),_:1},8,["onClose"])}const JS=(0,K.pM)({components:{Modal:Bs.A,BtnMain:Ro.A,IconBoxed:sS,StatusIcon:zL},props:{resolve:{type:Function,required:!0},url:{type:String,required:!0},claimAmount:{type:Number,required:!0}}}),eT=(0,Ft.A)(JS,[["render",zS],["__scopeId","data-v-78c5e1d6"]]),tT=eT;function nT(e,t,n,a,r,o){var i=(0,K.g2)("TemplateRenderer"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(u,(0,K.v6)(Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{close:e.cancel}),{msg:(0,K.k6)((function(){return[(0,K.bF)(i,{str:e.msg},null,8,["str"])]})),footer:(0,K.k6)((function(){return[(0,K.bF)(s,{variant:"muted","extra-padded":"",text:e.$t("common.cancel"),onClick:e.cancel},null,8,["text","onClick"]),(0,K.bF)(s,{"data-cy":"to-confirm",text:e.$t("common.confirm"),onClick:e.resolve},null,8,["text","onClick"])]})),_:1},16,["close"])}const aT=(0,K.pM)({components:{Default:lS,TemplateRenderer:nS,BtnMain:Ro.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},msg:{type:String,default:""}},setup:function(e){function t(){e.reject(new Ga.v)}return{cancel:t}}}),rT=(0,Ft.A)(aT,[["render",nT]]),oT=rT;var iT={class:"text-heading-2 text-center"},sT={class:"error-msg"};function uT(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain"),s=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(s,{"has-close-button":"",onClose:e.resolve},{footer:(0,K.k6)((function(){return[(0,K.bF)(i,{variant:"muted",onClick:e.cancel},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.cancel")),1)]})),_:1},8,["onClick"]),(0,K.bF)(i,{onClick:e.createReport},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("modals.error-log.create-report")),1)]})),_:1},8,["onClick"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("h2",iT,(0,tt.v_)(e.$t("modals.error-log.title")),1),(0,K.Lk)("div",sT,(0,tt.v_)(e.messageTruncated)+"... ",1),(0,K.Lk)("div",null,[(0,K.Lk)("span",null,(0,tt.v_)(e.$t("modals.error-log.sub-title")),1),(0,K.eW)(" "+(0,tt.v_)(e.$t("modals.error-log.content")),1)])]})),_:1},8,["onClose"])}n(50375);const cT=(0,K.pM)({components:{Modal:Bs.A,BtnMain:Ro.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},entry:{type:Object,required:!0}},setup:function(e){var t=(0,er.rd)(),n=(0,K.EW)((function(){var t=e.entry.error.message,n=void 0===t?"":t;return n.substr(0,150)}));function a(){e.reject(new Ga.v)}function r(){e.resolve(!0),t.push({name:Ye.rh,params:{entry:e.entry}})}return{messageTruncated:n,cancel:a,createReport:r}}}),lT=(0,Ft.A)(cT,[["render",uT],["__scopeId","data-v-56780574"]]),dT=lT;function pT(e,t,n,a,r,o){var i=(0,K.g2)("FormSelectOptionsHeader"),s=(0,K.g2)("FormSelectOptionsItem"),u=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(u,{class:"form-select-options","from-bottom":"","has-close-button":"","no-padding":"",onClose:t[1]||(t[1]=function(t){return e.reject()})},{header:(0,K.k6)((function(){return[(0,K.bF)(i,{modelValue:e.searchPhrase,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchPhrase=t}),title:e.title,"options-length":e.options.length},null,8,["modelValue","title","options-length"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.optionsFiltered,(function(t,n){return(0,K.uX)(),(0,K.Wv)(s,{key:n,option:t,onClick:function(n){return e.resolve(t.value)}},null,8,["option","onClick"])})),128))])]})),_:1})}var vT={class:"option-wrapper"};function fT(e,t,n,a,r,o){var i=(0,K.g2)("Avatar"),s=(0,K.g2)("ListItemWrapper");return(0,K.uX)(),(0,K.Wv)(s,{class:"form-select-options-item",selected:e.option.value===e.value,onClick:t[0]||(t[0]=(0,We.D$)((function(t){return e.$emit("click")}),["prevent"]))},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",vT,[e.option.address?((0,K.uX)(),(0,K.Wv)(i,{key:0,address:e.option.address,size:"sm"},null,8,["address"])):(0,K.Q3)("",!0),(0,K.eW)(" "+(0,tt.v_)(e.option.text),1)])]})),_:1},8,["selected"])}const mT=(0,K.pM)({components:{ListItemWrapper:Gn.A,Avatar:hs.A},props:{option:{type:Object,default:function(){}},value:{type:[String,Number],default:null}}}),gT=(0,Ft.A)(mT,[["render",fT],["__scopeId","data-v-583e6b6c"]]),hT=gT,AT=(0,K.pM)({components:{FormSelectOptionsHeader:KS,FormSelectOptionsItem:hT,Modal:Bs.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},title:{type:String,default:null},value:{type:[String,Number],default:null},options:{type:Array,default:function(){return[]}}},setup:function(e){var t=(0,bt.KR)(""),n=(0,K.EW)((function(){return e.options.filter((function(e){var n=e.text,a=e.value;return n.toLowerCase().includes(t.value)||a.toString().includes(t.value)}))}));return{searchPhrase:t,optionsFiltered:n}}}),kT=(0,Ft.A)(AT,[["render",pT]]),yT=kT;var bT=function(e){return(0,K.Qi)("data-v-1ecdcc39"),e=e(),(0,K.jt)(),e},wT={class:"top-icon-wrapper"},CT=["textContent"],xT=["textContent"],LT={class:"camera"},ST={class:"video-loader"},TT={ref:"qrCodeVideoEl",class:"video"},ET=bT((function(){return(0,K.Lk)("track",{kind:"captions",title:"Scanning Qr Code"},null,-1)})),IT=[ET];function _T(e,t,n,a,r,o){var i=(0,K.g2)("IconBoxed"),s=(0,K.g2)("AnimatedSpinnerIcon"),u=(0,K.g2)("BtnMain"),c=(0,K.g2)("Modal");return e.browserReader||!e.cameraAllowed?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"qr-code-reader","has-close-button":"",centered:"","from-bottom":"",onClose:e.cancelReading},(0,K.eX)({default:(0,K.k6)((function(){return[(0,K.Lk)("div",wT,[(0,K.bF)(i,{icon:e.QrScanIcon},null,8,["icon"])]),e.heading?((0,K.uX)(),(0,K.CE)("div",{key:0,class:"heading",textContent:(0,tt.v_)(e.heading)},null,8,CT)):(0,K.Q3)("",!0),(0,K.Lk)("div",{class:"subtitle",textContent:(0,tt.v_)(e.cameraAllowed?e.title:e.$t("modals.qrCodeReader.subtitle"))},null,8,xT),(0,K.Lk)("div",LT,[(0,K.Lk)("span",ST,[(0,K.bF)(s,{class:"spinner"})]),(0,K.bo)((0,K.Lk)("div",null,[(0,K.Lk)("video",TT,IT,512)],512),[[We.aG,e.cameraAllowed]])])]})),_:2},[e.IS_MOBILE_APP?{name:"footer",fn:(0,K.k6)((function(){return[(0,K.bF)(u,{text:e.$t("modals.qrCodeReader.settings"),onClick:e.openSettings},null,8,["text","onClick"])]})),key:"0"}:void 0]),1032,["onClose"])):(0,K.Q3)("",!0)}var WT=n(64302),FT=n(86986),DT=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},BT="scanner-active";const PT=(0,K.pM)({components:{Modal:Bs.A,BtnMain:Ro.A,IconBoxed:sS,AnimatedSpinnerIcon:ua.A},props:{title:{type:String,required:!0},resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=this,a=(0,bt.KR)(o.I$?"granted":"denied"),r=(0,bt.KR)(),i=(0,bt.KR)(),u=(0,bt.KR)(),c=(0,er.lq)(),l=(0,yn.s9)(),d=l.t,p=(0,ce.mv)(),v=p.setQrScanner,f=(0,K.EW)((function(){return"granted"===a.value})),m=(0,K.EW)((function(){return"granted"===a.value?d("modals.qrCodeReader.scanQr"):d("modals.qrCodeReader.grantPermission")}));function g(){return DT(this,void 0,void 0,(0,s.A)().mark((function e(){var t,a;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n.e(504).then(n.bind(n,16380));case 2:t=e.sent,a=t.BrowserQRCodeReader,r.value=new a;case 5:case"end":return e.stop()}}),e)})))}function h(){var e,t;o.I$?(null===(e=document.querySelector("body"))||void 0===e||e.classList.remove(BT),WT.vi.showBackground(),v(!1),WT.vi.stopScan()):null===(t=i.value)||void 0===t||t.stop()}function A(){var e;return DT(this,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!o.I$){t.next=12;break}return v(!0),null===(e=document.querySelector("body"))||void 0===e||e.classList.add(BT),t.next=5,WT.vi.hideBackground();case 5:return setTimeout((function(){var e;null===(e=document.querySelector("#camera-close-btn"))||void 0===e||e.addEventListener("click",h)}),500),t.next=8,WT.vi.startScan();case 8:if(n=t.sent,!n.hasContent){t.next=11;break}return t.abrupt("return",n.content);case 11:return t.abrupt("return",new Error("No content"));case 12:return t.abrupt("return",new Promise((function(e){var t;null===(t=r.value)||void 0===t||t.decodeFromVideoDevice(void 0,u.value,(function(t,n,a){i.value=a,t&&(null===a||void 0===a||a.stop(),e(t.getText()))}))["catch"]((function(e){"NotAllowedError"!==e.name?(0,L.fY)(e):a.value="denied"}))})));case 13:case"end":return t.stop()}}),t)})))}function k(){return DT(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,FT.i7.checkPermissions();case 2:if(t=e.sent,"granted"!==t.camera){e.next=5;break}return e.abrupt("return",!0);case 5:return e.next=7,FT.i7.requestPermissions({permissions:["camera"]});case 7:if(n=e.sent,"granted"!==n.camera){e.next=10;break}return e.abrupt("return",!0);case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e)})))}function y(){h(),e.reject(new Ga.v)}function b(){WT.vi.openAppSettings()}function w(){o.hL&&navigator.mediaDevices.getUserMedia({video:!0}).then((function(){a.value="granted"}))["catch"]((function(){(0,L.EV)(browser.runtime.getURL("./CameraRequestPermission.html")),e.reject(new Ga.y)}))}return(0,K.wB)(a,(function(n){return DT(t,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("denied"!==n){t.next=3;break}return h(),t.abrupt("return");case 3:return o.hL&&"prompt"===n&&w(),t.prev=4,t.t0=e,t.next=8,A();case 8:t.t1=t.sent,t.t0.resolve.call(t.t0,t.t1),t.next=25;break;case 12:if(t.prev=12,t.t2=t["catch"](4),"NotAllowedError"!==t.t2.name){t.next=24;break}return t.prev=15,t.next=18,new Promise((function(e,t){var n;o.hL&&(w(),t()),(null===(n=navigator.mediaDevices)||void 0===n?void 0:n.getUserMedia)?navigator.mediaDevices.getUserMedia({video:!0}).then(e,t):t(new Error("Sorry, your browser does not support getUserMedia"))}));case 18:t.next=23;break;case 20:t.prev=20,t.t3=t["catch"](15),a.value="denied";case 23:return t.abrupt("return");case 24:(0,L.fY)(t.t2);case 25:case"end":return t.stop()}}),t,null,[[4,12],[15,20]])})))})),(0,K.wB)((function(){return c.fullPath}),(function(){e.resolve()})),(0,K.sV)((function(){return DT(t,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!o.I$){t.next=17;break}return t.next=3,k();case 3:if(!t.sent){t.next=9;break}return a.value="granted",t.next=7,WT.vi.prepare();case 7:t.next=11;break;case 9:return a.value="denied",t.abrupt("return");case 11:return t.t0=e,t.next=14,A();case 14:return t.t1=t.sent,t.t0.resolve.call(t.t0,t.t1),t.abrupt("return");case 17:return t.next=19,g();case 19:if(t.t2=navigator.permissions,!t.t2){t.next=24;break}return t.next=23,navigator.permissions.query({name:"camera"})["catch"]((function(e){var t="'camera' (value of 'name' member of PermissionDescriptor) is not a valid value for enumeration PermissionName.";return e.message!==t&&(0,L.fY)(e),null}));case 23:t.t2=t.sent;case 24:if(n=t.t2,!n){t.next=29;break}return a.value=n.state,n.onchange=function(){a.value=n.state},t.abrupt("return");case 29:a.value=o.hL?"prompt":"granted";case 30:case"end":return t.stop()}}),t)})))})),(0,K.xo)((function(){h()})),{cameraAllowed:f,browserReader:r,IS_MOBILE_APP:o.I$,heading:m,QrScanIcon:IS.A,cancelReading:y,openSettings:b,qrCodeVideoEl:u}}}),OT=(0,Ft.A)(PT,[["render",_T],["__scopeId","data-v-1ecdcc39"]]),MT=OT;function RT(e,t,n,a,r,o){var i=(0,K.g2)("TemplateRenderer"),s=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(s,(0,K.v6)(e.$attrs,{icon:n.icon||"info"}),{msg:(0,K.k6)((function(){return[(0,K.bF)(i,{str:n.msg,option:n.option},null,8,["str","option"])]})),_:1},16,["icon"])}const NT={components:{Default:lS,TemplateRenderer:nS},props:{msg:{type:String,default:""},option:{type:Object,default:null},icon:{type:String,default:null}}},UT=(0,Ft.A)(NT,[["render",RT]]),XT=UT;var VT=["textContent"];function HT(e,t,n,a,r,o){var i=(0,K.g2)("InputSearch"),s=(0,K.g2)("Loader"),u=(0,K.g2)("AssetListItem"),c=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(c,{"full-screen":"","from-bottom":"","has-close-button":"","no-padding":"",class:"asset-selector",onClose:t[1]||(t[1]=function(t){return e.reject()}),onOpen:e.onModalOpen},{header:(0,K.k6)((function(){return[(0,K.Lk)("span",{class:"text-heading-3 text-muted title",textContent:(0,tt.v_)(e.$t("pages.fungible-tokens.select-asset"))},null,8,VT),(0,K.bF)(i,{modelValue:e.searchTerm,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchTerm=t}),class:"search-bar",placeholder:e.$t("pages.fungible-tokens.searchAssetsPlaceholder")},null,8,["modelValue","placeholder"])]})),default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:(0,tt.C4)(["appearing-element",{visible:e.loading}])},null,8,["class"]),(0,K.bo)((0,K.Lk)("div",{class:(0,tt.C4)(["appearing-element",{visible:!e.loading}])},[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.accountAssetsToDisplay,(function(t){return(0,K.uX)(),(0,K.Wv)(u,{key:t.contractId,asset:t,selected:e.isTokenSelected(t),"show-current-price":"","prevent-navigation":"",onClick:function(n){return e.resolve(t)}},null,8,["asset","selected","onClick"])})),128))],2),[[We.aG,e.isFullyOpen]])]})),_:1},8,["onOpen"])}var $T=n(87862),jT=n(37354),KT=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const qT=(0,K.pM)({name:"AssetSelector",components:{AssetListItem:$T.A,Modal:Bs.A,InputSearch:VS.A,Loader:jT.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},selectedToken:{type:Object,default:null},protocol:{type:String,default:null},showTokensWithBalance:Boolean},setup:function(e){var t=(0,bt.KR)(!0),n=(0,bt.KR)(""),a=(0,bt.KR)(!1),r=(0,ce.Sr)({searchTerm:n,withBalanceOnly:e.showTokensWithBalance}),o=r.accountAssetsFiltered,i=(0,K.EW)((function(){return e.protocol?o.value.filter((function(t){var n=t.protocol;return n===e.protocol})):o.value}));function u(t){return!!e.selectedToken&&e.selectedToken.contractId===t.contractId}function c(){return KT(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,K.dY)();case 2:a.value=!0,setTimeout((function(){t.value=!1}),250);case 4:case"end":return e.stop()}}),e)})))}return{loading:t,searchTerm:n,isFullyOpen:a,accountAssetsToDisplay:i,isTokenSelected:u,onModalOpen:c}}}),GT=(0,Ft.A)(qT,[["render",HT],["__scopeId","data-v-2df1ce3c"]]),QT=GT;var ZT={class:"icon-wrapper"},YT={class:"info"},zT={class:"title"},JT={class:"text"};function eE(e,t,n,a,r,o){var i=(0,K.g2)("IconBoxed"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(u,{class:"reset-wallet","from-bottom":"","has-close-button":"",centered:"",onClose:e.resolve},{footer:(0,K.k6)((function(){return[(0,K.bF)(s,{variant:"muted",text:e.$t("common.cancel"),onClick:e.reject},null,8,["text","onClick"]),(0,K.bF)(s,{variant:"danger",text:e.$t("pages.resetWallet.reset"),onClick:e.onReset},null,8,["text","onClick"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",ZT,[(0,K.bF)(i,{icon:e.ResetWalletIcon},null,8,["icon"])]),(0,K.Lk)("div",YT,[(0,K.Lk)("h3",zT,(0,tt.v_)(e.$t("pages.resetWallet.title"))+"? ",1),(0,K.Lk)("div",JT,[(0,K.Lk)("span",null,(0,tt.v_)(e.$t("pages.resetWallet.warning")),1),(0,K.Lk)("span",null,(0,tt.v_)(e.$t("pages.resetWallet.warningConfirm")),1)])])]})),_:1},8,["onClose"])}var tE=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const nE=(0,K.pM)({components:{Modal:Bs.A,BtnMain:Ro.A,IconBoxed:sS},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,er.rd)(),n=(0,ce.oV)(),a=n.resetAccounts,r=(0,ce.fI)(),o=r.resetNetworks,i=(0,ce.mv)(),u=i.resetUiSettings,c=(0,ce.CP)(),l=c.disconnectDapps;function d(){return tE(this,void 0,void 0,(0,s.A)().mark((function n(){return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.resolve(),a(),o(),u(),l(),n.next=7,ze.v.clear();case 7:return n.next=9,t.push({name:Ye.nv});case 9:window.location.reload();case 10:case"end":return n.stop()}}),n)})))}return{ResetWalletIcon:yw,onReset:d}}}),aE=(0,Ft.A)(nE,[["render",eE],["__scopeId","data-v-13bf16f9"]]),rE=aE;var oE={class:"msg"},iE={key:0},sE={class:"help"},uE=["href"];function cE(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain"),s=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(s,(0,K.v6)(Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{icon:e.icon,title:e.title,close:e.resolve}),{msg:(0,K.k6)((function(){return[(0,K.Lk)("div",oE,[(0,K.eW)((0,tt.v_)(e.msg)+" ",1),e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.CE)("p",iE,[(0,K.Lk)("section",sE,[(0,K.eW)((0,tt.v_)(e.$t("modals.readMore.msg"))+" ",1),(0,K.Lk)("a",{href:e.AE_BLOG_CLAIM_TIP_URL},(0,tt.v_)(e.$t("modals.readMore.linkTitle")),9,uE)])])):(0,K.Q3)("",!0)])]})),footer:(0,K.k6)((function(){return[(0,K.bF)(i,{class:"footer",onClick:e.resolve},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.ok")),1)]})),_:1},8,["onClick"])]})),_:1},16,["icon","title","close"])}const lE=(0,K.pM)({components:{Default:lS,BtnMain:Ro.A},props:{resolve:{type:Function,required:!0},close:{type:Function,default:null},title:{type:String,default:""},msg:{type:String,default:""},type:{type:String,default:""},icon:{type:String,default:""}},setup:function(){return{AE_BLOG_CLAIM_TIP_URL:T.Z3,UNFINISHED_FEATURES:o.s4}}}),dE=(0,Ft.A)(lE,[["render",cE],["__scopeId","data-v-3ffbff84"]]),pE=dE;var vE={class:"msg"},fE={class:"sub-header"},mE={key:0,class:"title"},gE={key:0},hE={class:"title"},AE={key:1},kE=["href"];function yE(e,t,n,a,r,o){var i=(0,K.g2)("i18n-t"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(u,(0,K.v6)(Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{icon:"help",title:e.$t("modals.recipient.title"),close:e.resolve,"full-screen":""}),{msg:(0,K.k6)((function(){return[(0,K.Lk)("div",vE,[(0,K.Lk)("span",fE,(0,tt.v_)(e.isProtocolAe?e.$t("modals.recipient.ae-sub-header"):e.$t("modals.recipient.sub-header",{protocolName:e.protocolName})),1),(0,K.Lk)("p",{class:(0,tt.C4)({capitalize:!e.isProtocolAe})},[(0,K.bF)(i,{keypath:"modals.recipient.msg.publicAddress.msg",tag:"div",scope:"global"},{default:(0,K.k6)((function(){return[e.isProtocolAe?((0,K.uX)(),(0,K.CE)("strong",mE,(0,tt.v_)(e.$t("modals.recipient.msg.publicAddress.title")),1)):(0,K.Q3)("",!0)]})),_:1})],2),e.isProtocolAe?((0,K.uX)(),(0,K.CE)("p",gE,[(0,K.bF)(i,{keypath:"modals.recipient.msg.chain.msg",tag:"div",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",hE,(0,tt.v_)(e.$t("modals.recipient.msg.chain.title"))+": ",1),(0,K.eW)(" "+(0,tt.v_)(e.$t("modals.recipient.msg.chain.linkTitle")),1)]})),_:1})])):(0,K.Q3)("",!0),e.UNFINISHED_FEATURES&&e.isProtocolAe?((0,K.uX)(),(0,K.CE)("p",AE,[(0,K.bF)(i,{keypath:"modals.readMore.msg",class:"help",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("a",{href:e.AE_BLOG_CLAIM_TIP_URL},(0,tt.v_)(e.$t("modals.readMore.linkTitle")),9,kE)]})),_:1})])):(0,K.Q3)("",!0)])]})),footer:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"footer",extend:"",onClick:e.resolve},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.ok")),1)]})),_:1},8,["onClick"])]})),_:1},16,["title","close"])}const bE=(0,K.pM)({components:{Default:lS,BtnMain:Ro.A},props:{resolve:{type:Function,required:!0},protocol:{type:String,required:!0},close:{type:Function,default:null}},setup:function(e){var t=(0,K.EW)((function(){return e.protocol===o.yv.aeternity})),n=(0,K.EW)((function(){return i.C.getAdapter(e.protocol).protocolName}));return{AE_BLOG_CLAIM_TIP_URL:T.Z3,UNFINISHED_FEATURES:o.s4,protocolName:n,isProtocolAe:t}}}),wE=(0,Ft.A)(bE,[["render",yE],["__scopeId","data-v-2bbbdb24"]]),CE=wE;var xE={class:"content"},LE={class:"subtitle"},SE={class:"list"};function TE(e,t,n,a,r,o){var i=(0,K.g2)("TemplateRenderer"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(u,(0,K.v6)({class:"consensus-info"},Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{icon:"info",title:e.$t("modals.consensusInfo.title"),close:e.resolve}),{msg:(0,K.k6)((function(){return[(0,K.Lk)("div",xE,[(0,K.Lk)("div",LE,(0,tt.v_)(e.$t("modals.consensusInfo.subtitle")),1),(0,K.Lk)("ul",SE,[(0,K.Lk)("li",null,[(0,K.bF)(i,{str:e.$t("modals.consensusInfo.firstPoint")},null,8,["str"])]),(0,K.Lk)("li",null,[(0,K.bF)(i,{str:e.$t("modals.consensusInfo.secondPoint")},null,8,["str"])]),(0,K.Lk)("li",null,[(0,K.bF)(i,{str:e.$t("modals.consensusInfo.thirdPoint")},null,8,["str"])])]),(0,K.bF)(i,{str:e.$t("modals.consensusInfo.description")},null,8,["str"])])]})),footer:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"footer",extend:"",text:e.$t("common.ok"),onClick:e.resolve},null,8,["text","onClick"])]})),_:1},16,["title","close"])}const EE=(0,K.pM)({components:{TemplateRenderer:nS,Default:lS,BtnMain:Ro.A},props:{resolve:{type:Function,required:!0},close:{type:Function,default:null}}}),IE=(0,Ft.A)(EE,[["render",TE],["__scopeId","data-v-1660ae4c"]]),_E=IE;var WE={class:"header text-heading-2"},FE={class:"description text-description"},DE={class:"wrapper"};function BE(e,t,n,a,r,o){var i=(0,K.g2)("FormTextarea"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(u,{"from-bottom":"","body-without-padding-bottom":"","has-close-button":"",class:"payload-form",onClose:t[3]||(t[3]=function(t){return e.reject()})},{footer:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"btn-cancel",variant:"muted","extra-padded":"",text:e.$t("common.cancel"),onClick:t[1]||(t[1]=function(t){return e.reject()})},null,8,["text"]),(0,K.bF)(s,{text:e.$t("modals.payloadForm.doneBtn"),disabled:!e.value.length,onClick:t[2]||(t[2]=function(t){return e.resolve(e.value)})},null,8,["text","disabled"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",WE,(0,tt.v_)(e.$t("modals.payloadForm.title")),1),(0,K.Lk)("div",FE,(0,tt.v_)(e.$t("modals.payloadForm.desc")),1),(0,K.Lk)("div",DE,[(0,K.bF)(i,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.value=t}),size:"sm",resizable:!1},{label:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("modals.payloadForm.label")),1)]})),_:1},8,["modelValue"])])]})),_:1})}const PE=(0,K.pM)({name:"PayloadForm",components:{BtnMain:Ro.A,FormTextarea:lu.A,Modal:Bs.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},payload:{type:String,default:""}},setup:function(e){return{value:(0,bt.KR)(e.payload)}}}),OE=(0,Ft.A)(PE,[["render",BE],["__scopeId","data-v-3d4412a8"]]),ME=OE;var RE={class:"header text-heading-2"},NE={class:"redeemed-amount"},UE={class:"redeemed-by"},XE={class:"redeem-balance"},VE={key:0},HE={key:1,class:"already-redeemed"},$E={class:"buttons"};function jE(e,t,n,a,r,o){var i=(0,K.g2)("CheckCircleIcon"),s=(0,K.g2)("AccountSelector"),u=(0,K.g2)("AccountItem"),c=(0,K.g2)("DetailsItem"),l=(0,K.g2)("BalanceInfo"),d=(0,K.g2)("BtnMaxAmount"),p=(0,K.g2)("TransferSendAmount"),v=(0,K.g2)("BtnMain"),f=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(f,{"from-bottom":"","body-without-padding-bottom":"","has-close-button":"","min-height":"",class:"claim-gift-card",onClose:e.reject},{footer:(0,K.k6)((function(){return[(0,K.Lk)("div",$E,[e.step===e.STEPS.initial?((0,K.uX)(),(0,K.Wv)(v,{key:0,variant:"muted",text:e.$t("modals.claimGiftCard.redeemPartially"),disabled:e.loading,onClick:t[2]||(t[2]=function(t){return e.step=e.STEPS.form})},null,8,["text","disabled"])):(0,K.Q3)("",!0),(0,K.bF)(v,{icon:e.loading?e.AnimatedSpinner:null,text:e.mainButtonText,disabled:e.isDisabled||e.loading,onClick:t[3]||(t[3]=function(t){return e.handleMainButtonClick()})},null,8,["icon","text","disabled"])])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",RE,(0,tt.v_)(e.$t("modals.claimGiftCard.title")),1),e.step===e.STEPS.redeemPartially||e.step===e.STEPS.redeemFull&&!e.isCardEmpty?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.bF)(i,{class:"check-circle-icon"}),(0,K.Lk)("div",NE,[(0,K.Lk)("span",null,(0,tt.v_)(e.amount)+" "+(0,tt.v_)(e.AE_SYMBOL),1),(0,K.Lk)("span",UE,(0,tt.v_)(e.$t("modals.claimGiftCard.redeemedBy",["(".concat(e.currencyFormatted,")")])),1)])],64)):(0,K.Q3)("",!0),(0,K.bF)(c,null,{label:(0,K.k6)((function(){return[e.step!==e.STEPS.redeemPartially&&e.step!==e.STEPS.redeemFull?((0,K.uX)(),(0,K.Wv)(s,{key:0,modelValue:e.recipientId,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.recipientId=t}),options:e.aeAccountsSelectOptions},null,8,["modelValue","options"])):e.isCardEmpty?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(u,{key:1,address:e.recipientId,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]))]})),_:1}),(0,K.Lk)("div",XE,[e.step===e.STEPS.initial&&e.isCardEmpty?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("span",VE,(0,tt.v_)(e.$t("modals.claimGiftCard.balance")),1)),(0,K.bF)(l,{balance:e.balance.toNumber(),protocol:e.PROTOCOLS.aeternity,class:(0,tt.C4)({gray:0===e.balance.toNumber()})},null,8,["balance","protocol","class"])]),e.isCardEmpty?((0,K.uX)(),(0,K.CE)("span",HE,(0,tt.v_)(e.$t("modals.claimGiftCard.alreadyRedeemed")),1)):(0,K.Q3)("",!0),e.step===e.STEPS.form?((0,K.uX)(),(0,K.Wv)(p,{key:2,modelValue:e.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.amount=t}),errors:e.errors,readonly:"",protocol:e.PROTOCOLS.aeternity,"custom-label":e.$t("modals.claimGiftCard.amount"),"validation-rules":{max_redeem:e.max.toString()},"without-margin":""},{"label-after":(0,K.k6)((function(){return[(0,K.bF)(d,{"is-max":e.isMax,onClick:e.setMaxAmount},null,8,["is-max","onClick"])]})),_:1},8,["modelValue","errors","protocol","custom-label","validation-rules"])):(0,K.Q3)("",!0)]})),_:1},8,["onClose"])}var KE=n(40477),qE=n(48287)["Buffer"],GE=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},QE={initial:"initial",form:"form",redeemPartially:"redeemPartially",redeemFull:"redeemFull"};const ZE=(0,K.pM)({components:{AccountSelector:bs,AccountItem:Bd.A,BalanceInfo:Ea.A,BtnMain:Ro.A,CheckCircleIcon:lA,DetailsItem:Os.A,TransferSendAmount:KE.A,Modal:Bs.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},secretKey:{type:qE,required:!0}},setup:function(e){var t=this,n=(0,yn.s9)(),a=n.t,r=(0,De.mN)(),i=r.errors,u=(0,ce.CP)(),c=u.getAeSdk,l=(0,ce.oV)(),d=l.aeAccounts,p=l.aeAccountsSelectOptions,f=(0,ce.ZN)(),m=f.getFormattedFiat,A=(0,ce._V)(),k=A.claimInvite,y=(0,bt.KR)(d.value[0].address),b=(0,bt.KR)(""),w=(0,bt.KR)(new pe.A(0)),C=(0,bt.KR)(QE.initial),x=(0,bt.KR)(!1),L=(0,bt.KR)(!1),S=(0,K.EW)((function(){return m(+b.value,o.yv.aeternity)})),E=(0,K.EW)((function(){switch(C.value){case QE.initial:return a("modals.claimGiftCard.redeemFull");case QE.form:return a("modals.claimGiftCard.redeem");case QE.redeemPartially:case QE.redeemFull:return a("common.ok");default:return null}})),I=(0,_.Sf)(e.secretKey),W=I.address,F=(0,pe.A)((0,Xe.pj)((0,Xe.pr)({tag:g.vw.SpendTx,senderId:W,recipientId:y.value,amount:+b.value,payload:(0,h.lF)((new TextEncoder).encode(""),v.W.Bytearray),nonce:1}),g.vw.SpendTx).fee).shiftedBy(-T.kS),D=(0,K.EW)((function(){return w.value.minus(F)})),B=(0,K.EW)((function(){return b.value.toString()===D.value.toString()}));function P(){return GE(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,c();case 2:return t=e.sent,e.t0=pe.A,e.next=6,t.getBalance(W,{format:ul.j8.AE})["catch"]((function(){return 0}));case 6:e.t1=e.sent.toString(),w.value=(0,e.t0)(e.t1);case 8:case"end":return e.stop()}}),e)})))}function O(){b.value=D.value.isPositive()?D.value.toString():"0"}function M(){return GE(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:L.value=!0,t.t0=C.value,t.next=t.t0===QE.initial?4:t.t0===QE.form?9:t.t0===QE.redeemPartially||t.t0===QE.redeemFull?13:15;break;case 4:return O(),t.next=7,k({secretKey:e.secretKey,recipientId:y.value,isMax:!0});case 7:return C.value=QE.redeemFull,t.abrupt("break",16);case 9:return t.next=11,k({secretKey:e.secretKey,recipientId:y.value,amount:b.value,isMax:D.value.toString()===b.value.toString()});case 11:return C.value=QE.redeemPartially,t.abrupt("break",16);case 13:return e.resolve(),t.abrupt("break",16);case 15:throw new Error("Unknown step ".concat(C.value));case 16:L.value=!1;case 17:case"end":return t.stop()}}),t)})))}var R=(0,K.EW)((function(){var e;switch(C.value){case QE.form:return!b.value||!!(null===(e=i.value)||void 0===e?void 0:e.amount);default:return!1}}));return(0,K.sV)((function(){return GE(t,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,P();case 2:0===w.value.toNumber()&&(C.value=QE.redeemFull,x.value=!0),setInterval(P,3e3);case 4:case"end":return e.stop()}}),e)})))})),{AE_SYMBOL:T.kf,AnimatedSpinner:ua.A,aeAccountsSelectOptions:p,amount:b,balance:w,currencyFormatted:S,errors:i,fee:F,handleMainButtonClick:M,isCardEmpty:x,isDisabled:R,isMax:B,loading:L,mainButtonText:E,max:D,PROTOCOLS:o.yv,recipientId:y,setMaxAmount:O,step:C,STEPS:QE,updateBalance:P}}}),YE=(0,Ft.A)(ZE,[["render",jE],["__scopeId","data-v-5805577b"]]),zE=YE;var JE={class:"text-heading-1"},eI=["data-signer-idx"],tI={class:"signers-add-wrapper"},nI={class:"consensus"},aI={class:"description"},rI={class:"signers-count"},oI={class:"text-emphasis"};function iI(e,t,n,a,r,o){var i=(0,K.g2)("FormSelect"),s=(0,K.g2)("QrScanIcon"),u=(0,K.g2)("BtnPlain"),c=(0,K.g2)("PlusCircleIcon"),l=(0,K.g2)("FormTextarea"),d=(0,K.g2)("Field"),p=(0,K.g2)("BtnText"),v=(0,K.g2)("BtnHelp"),f=(0,K.g2)("FormNumberSelect"),m=(0,K.g2)("i18n-t"),g=(0,K.g2)("Form"),h=(0,K.g2)("MultisigVaultCreateReview"),A=(0,K.g2)("MultisigVaultCreateProgress"),k=(0,K.g2)("BtnMain"),y=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(y,{"full-screen":"","from-bottom":"","has-close-button":"",class:"multisig-vault-create",onClose:t[1]||(t[1]=function(t){return e.reject()})},{footer:(0,K.k6)((function(){return[e.currentStep===e.STEPS.form?((0,K.uX)(),(0,K.Wv)(k,{key:0,text:e.$t("modals.createMultisigAccount.btnText"),disabled:!e.canCreateMultisig,onClickOnce:e.openReviewStep},null,8,["text","disabled","onClickOnce"])):e.currentStep===e.STEPS.review?((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.bF)(k,{variant:"muted",text:e.$t("common.edit"),onClick:e.openFormStep},null,8,["text","onClick"]),(0,K.bF)(k,{text:e.$t("modals.createMultisigAccount.btnTextShort"),wide:"",disabled:e.multisigAccountCreationPhase!==e.MULTISIG_CREATION_PHASES.signed||e.notEnoughBalanceToCreateMultisig,onClick:e.createMultisigAccount},null,8,["text","disabled","onClick"])],64)):e.currentStep===e.STEPS.processing?((0,K.uX)(),(0,K.Wv)(k,{key:2,text:e.$t("modals.creatingMultisigAccount.btnText"),disabled:!(e.isMultisigAccountCreated||e.isMultisigAccountAccessible),onClick:e.navigateToMultisigVault},null,8,["text","disabled","onClick"])):(0,K.Q3)("",!0)]})),default:(0,K.k6)((function(){return[e.currentStep===e.STEPS.form?((0,K.uX)(),(0,K.Wv)(g,{key:0,class:"multisig-vault-create-form",onSubmit:(0,We.D$)(e.openReviewStep,["prevent"])},{default:(0,K.k6)((function(){return[(0,K.Lk)("h2",JE,(0,tt.v_)(e.$t("modals.createMultisigAccount.title")),1),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.signers,(function(t,n){return(0,K.uX)(),(0,K.CE)("div",{key:"signer".concat(n),"data-signer-idx":"signer-address-".concat(n)},[0===n?((0,K.uX)(),(0,K.Wv)(i,{key:0,modelValue:t.address,"onUpdate:modelValue":function(e){return t.address=e},modelModifiers:{trim:!0},"default-text":e.$t("modals.createMultisigAccount.signerInputPlaceholder"),label:e.getSignerLabel(n),options:e.aeAccountsSelectOptions,"item-title":"value","account-select":""},null,8,["modelValue","onUpdate:modelValue","default-text","label","options"])):((0,K.uX)(),(0,K.Wv)(d,{key:1,modelValue:t.address,"onUpdate:modelValue":function(e){return t.address=e},modelModifiers:{trim:!0},name:"signer-address-".concat(n),rules:{required:!0,account_address:[e.PROTOCOLS.aeternity]}},{default:(0,K.k6)((function(a){var r=a.field,o=a.errorMessage;return[(0,K.bF)(l,(0,K.v6)(r,{"model-value":t.address,"auto-height":"",label:e.getSignerLabel(n),placeholder:e.$t("modals.createMultisigAccount.signerInputPlaceholder"),name:"signer-address-".concat(n),message:o||e.getErrorMessage(t),class:{error:e.checkIfSignerAddressDuplicated(t)}}),{"label-after":(0,K.k6)((function(){return[(0,K.bF)(u,{class:"scan-button",onClick:(0,We.D$)((function(t){return e.openScanQrModal(n)}),["prevent"])},{default:(0,K.k6)((function(){return[(0,K.bF)(s)]})),_:2},1032,["onClick"])]})),after:(0,K.k6)((function(){return[n>=e.MULTISIG_VAULT_MIN_NUM_OF_SIGNERS?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"btn-plain",onClick:function(t){return e.removeSigner(n)}},{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"btn-remove-signer"})]})),_:2},1032,["onClick"])):(0,K.Q3)("",!0)]})),_:2},1040,["model-value","label","placeholder","name","message","class"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules"]))],8,eI)})),128)),(0,K.Lk)("div",tI,[(0,K.bF)(p,{icon:e.PlusCircleIcon,text:e.$t("modals.createMultisigAccount.addSigner"),"data-cy":"add-signer-btn",onClick:e.addNewSigner},null,8,["icon","text","onClick"]),(0,K.bF)(v,{title:e.$t("multisig.authorizedSigners"),msg:e.$t("modals.createMultisigAccount.addSignerHelpMsg"),"data-cy":"add-signer-btn-help"},null,8,["title","msg"])]),(0,K.Lk)("div",nI,[(0,K.Lk)("div",aI,(0,tt.v_)(e.$t("modals.createMultisigAccount.consensusRequiredDesc")),1),(0,K.Lk)("div",rI,[(0,K.bF)(f,{modelValue:e.confirmationsRequired,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.confirmationsRequired=t}),size:e.signers.length,"data-cy":"multisig-num-of-signers-selector"},null,8,["modelValue","size"]),(0,K.bF)(m,{keypath:"modals.createMultisigAccount.consensusRequiredContent",tag:"span",class:"text",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",oI,(0,tt.v_)(e.signers.length),1)]})),_:1}),(0,K.bF)(v,{title:e.$t("modals.createMultisigAccount.consensusRequiredHelpTitle"),msg:e.$t("modals.createMultisigAccount.consensusRequiredHelpMsg"),"data-cy":"multisig-num-of-signers-selector-help"},null,8,["title","msg"])])])]})),_:1},8,["onSubmit"])):e.currentStep===e.STEPS.review?((0,K.uX)(),(0,K.Wv)(h,{key:1,signers:e.signers,phase:e.multisigAccountCreationPhase,"confirmations-required":e.confirmationsRequired,"account-id":e.currentMultisigAccountId},null,8,["signers","phase","confirmations-required","account-id"])):e.currentStep===e.STEPS.processing?((0,K.uX)(),(0,K.Wv)(A,{key:2,phase:e.multisigAccountCreationPhase,"multisig-account":e.multisigAccount,"is-accessible":e.isMultisigAccountAccessible,"is-created":e.isMultisigAccountCreated},null,8,["phase","multisig-account","is-accessible","is-created"])):(0,K.Q3)("",!0)]})),_:1})}var sI=n(14552),uI={class:"number-select"},cI=["value"],lI=["value","selected"];function dI(e,t,n,a,r,o){var i=(0,K.g2)("ChevronDownIcon");return(0,K.uX)(),(0,K.CE)("div",uI,[e.modelValue?((0,K.uX)(),(0,K.CE)("select",{key:0,value:e.modelValue,class:"number-select-input","aria-label":"choose number",onChange:t[0]||(t[0]=function(t){return e.$emit("update:modelValue",+(null===t||void 0===t?void 0:t.target).value)})},[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.size,(function(t){return(0,K.uX)(),(0,K.CE)("option",{key:t,value:t,selected:t===e.modelValue},(0,tt.v_)(t),9,lI)})),128))],40,cI)):(0,K.Q3)("",!0),(0,K.bF)(i,{class:"chevron-icon"})])}const pI=(0,K.pM)({components:{ChevronDownIcon:Sv.A},props:{size:{type:Number,required:!0},modelValue:{type:Number,required:!0}},emits:["update:modelValue"]}),vI=(0,Ft.A)(pI,[["render",dI],["__scopeId","data-v-725fb95c"]]),fI=vI;var mI={class:"multisig-vault-create-review"},gI={class:"text-heading-1"},hI={class:"authorized-signers"};function AI(e,t,n,a,r,o){var i=(0,K.g2)("AccountSelector"),s=(0,K.g2)("i18n-t"),u=(0,K.g2)("DetailsItem"),c=(0,K.g2)("BtnHelp"),l=(0,K.g2)("ConsensusLabel"),d=(0,K.g2)("AccountItem"),p=(0,K.g2)("DialogBox"),v=(0,K.g2)("LoadingIcon"),f=(0,K.g2)("TokenAmount");return(0,K.uX)(),(0,K.CE)("div",mI,[(0,K.Lk)("h2",gI,(0,tt.v_)(e.$t("modals.createMultisigAccount.title")),1),(0,K.bF)(u,{label:e.$t("multisig.creatingAccount")},{value:(0,K.k6)((function(){return[(0,K.bF)(i,{modelValue:e.creatorAddress,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.creatorAddress=t}),options:e.aeAccountsSelectOptions},null,8,["modelValue","options"]),e.notEnoughBalanceToCreateMultisig?((0,K.uX)(),(0,K.Wv)(s,{key:0,keypath:"modals.createMultisigAccount.errorNotEnoughBalanceToCreateVault",tag:"div",class:"creator-error-message",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",null,(0,tt.v_)(e.fee)+" "+(0,tt.v_)(e.AE_SYMBOL),1)]})),_:1})):(0,K.Q3)("",!0)]})),_:1},8,["label"]),(0,K.bF)(u,{label:e.$t("multisig.consensus")},{label:(0,K.k6)((function(){return[(0,K.bF)(c,{onHelp:e.openConsensusInfoModal},null,8,["onHelp"])]})),default:(0,K.k6)((function(){return[(0,K.bF)(l,{"confirmations-required":e.confirmationsRequired,signers:e.signers,"default-confirmed-by":e.confirmationsRequired},null,8,["confirmations-required","signers","default-confirmed-by"])]})),_:1},8,["label"]),(0,K.bF)(u,{label:e.$t("multisig.authorizedSigners")},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",hI,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.signers,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t.address,class:"authorized-signers-row"},[(0,K.bF)(d,{address:t.address,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]),e.isLocalAccountAddress(t.address)?((0,K.uX)(),(0,K.Wv)(p,{key:0,dense:"",textContent:(0,tt.v_)(e.$t("common.you"))},null,8,["textContent"])):(0,K.Q3)("",!0)])})),128))])]})),_:1},8,["label"]),e.fee&&e.callData&&e.creatorAccountFetched?((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.bF)(u,{label:e.$t("transaction.fee")},{value:(0,K.k6)((function(){return[(0,K.bF)(f,{amount:e.fee,symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"]),(0,K.bF)(u,{expandable:"",label:e.$t("transaction.advancedDetails")},{default:(0,K.k6)((function(){return[(0,K.bF)(u,{label:e.$t("common.nonce"),value:e.creatorAccountFetched.nonce},null,8,["label","value"]),(0,K.bF)(u,{label:e.$t("common.callData"),value:e.callData,small:""},null,8,["label","value"])]})),_:1},8,["label"])],64)):((0,K.uX)(),(0,K.Wv)(v,{key:0,class:"loading-icon"}))])}var kI=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const yI=(0,K.pM)({components:{BtnHelp:gd.A,AccountSelector:bs,ConsensusLabel:ta,DetailsItem:Os.A,AccountItem:Bd.A,DialogBox:Ob.h,TokenAmount:Ms.A,LoadingIcon:ua.A},props:{phase:{type:String,default:null},signers:{type:Array,required:!0},confirmationsRequired:{type:Number,required:!0},accountId:{type:String,required:!0}},setup:function(e){var t=this,n=(0,ce.oV)(),a=n.aeAccounts,r=n.aeAccountsSelectOptions,i=n.isLocalAccountAddress,u=(0,ce.Nc)(),c=u.multisigAccountCreationFee,l=u.prepareVaultCreationRawTx,d=u.pendingMultisigCreationTxs,p=u.notEnoughBalanceToCreateMultisig,v=(0,ce.CP)(),f=v.getAeSdk,m=(0,ce.U8)(),g=m.openModal,h=(0,bt.KR)(e.signers[0].address||a.value[0].address),A=(0,bt.KR)(),k=(0,K.EW)((function(){return a.value.find((function(e){var t=e.address;return t===h.value}))})),y=(0,K.EW)((function(){return c.value})),b=(0,K.EW)((function(){return d.value[e.accountId].multisigAccountCreationEncodedCallData}));function w(){g(o.bG)}return(0,K.wB)(h,(function(n,a){return kI(t,void 0,void 0,(0,s.A)().mark((function t(){var r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n===a){t.next=18;break}return A.value=void 0,t.next=4,f();case 4:return r=t.sent,t.prev=5,t.next=8,r.api.getAccountByPubkey(n);case 8:o=t.sent,A.value=Object.assign(Object.assign({},o),{balance:o.balance.toString()}),t.next=16;break;case 12:t.prev=12,t.t0=t["catch"](5),(0,L.fY)(t.t0),A.value={balance:"0",id:n,kind:"basic",nonce:0,payable:!1};case 16:return t.next=18,l(n,e.accountId);case 18:case"end":return t.stop()}}),t,null,[[5,12]])})))}),{immediate:!0}),{AE_SYMBOL:T.kf,aeAccountsSelectOptions:r,creatorAddress:h,creatorAccount:k,creatorAccountFetched:A,isLocalAccountAddress:i,fee:y,callData:b,notEnoughBalanceToCreateMultisig:p,openConsensusInfoModal:w,PROTOCOLS:o.yv}}}),bI=(0,Ft.A)(yI,[["render",AI],["__scopeId","data-v-d3f0db28"]]),wI=bI;var CI={class:"multisig-vault-creation-progress"},xI=["textContent"],LI={class:"phase-list"},SI=["textContent"],TI={class:"phase-item-name"},EI={key:0},II={key:1},_I={key:2,class:"phase-item-caption"},WI={key:0,class:"multisig-account-created"},FI=["textContent"],DI=["textContent"],BI=["textContent"];function PI(e,t,n,a,r,o){var i=(0,K.g2)("ProgressBar"),s=(0,K.g2)("PendingIcon"),u=(0,K.g2)("CheckSuccessCircleIcon");return(0,K.uX)(),(0,K.CE)("div",CI,[(0,K.Lk)("h2",{class:"text-heading-1",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.title"))},null,8,xI),(0,K.bF)(i,{progress:e.progressPercentage},null,8,["progress"]),(0,K.Lk)("div",LI,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.localPhases,(function(t,n){return(0,K.uX)(),(0,K.CE)("div",{key:n,class:(0,tt.C4)([{highlighted:e.isPhaseCompleted(n)||e.isPhaseCurrent(n)},"phase-item"])},[e.isPhaseCurrent(n)?((0,K.uX)(),(0,K.Wv)(s,{key:0,class:"phase-pending-icon"})):e.isPhaseCompleted(n)?((0,K.uX)(),(0,K.Wv)(u,{key:1,class:"phase-success-icon"})):((0,K.uX)(),(0,K.CE)("div",{key:2,class:"phase-number",textContent:(0,tt.v_)(n+1)},null,8,SI)),(0,K.Lk)("div",TI,[e.isPhaseCurrent(n)?((0,K.uX)(),(0,K.CE)("div",EI,(0,tt.v_)(t.pendingText||t.text)+"… ",1)):((0,K.uX)(),(0,K.CE)("div",II,(0,tt.v_)(t.text),1)),t.caption&&!e.isAccessible&&e.isPhaseCurrent(n)?((0,K.uX)(),(0,K.CE)("div",_I,(0,tt.v_)(t.caption),1)):(0,K.Q3)("",!0)])],2)})),128))]),(0,K.bF)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.isAccessible||e.isCreated?((0,K.uX)(),(0,K.CE)("div",WI,[e.isAccessible?((0,K.uX)(),(0,K.CE)("div",{key:0,class:"message",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.vaultAccessibleMessage"))},null,8,FI)):e.isCreated?((0,K.uX)(),(0,K.CE)("div",{key:1,class:"message",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.vaultCreatedMessage"))},null,8,DI)):(0,K.Q3)("",!0),(0,K.Lk)("div",{class:"sub-message",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.vaultCreatedMessageSub"))},null,8,BI)])):(0,K.Q3)("",!0)]})),_:1})])}var OI={class:"progress-bar"};function MI(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",OI,[(0,K.Lk)("div",{class:"progress",style:(0,tt.Tr)({width:"".concat(e.progress,"%")})},null,4)])}const RI=(0,K.pM)({props:{progress:{type:Number,default:0}}}),NI=(0,Ft.A)(RI,[["render",MI],["__scopeId","data-v-1dd3e346"]]),UI=NI,XI=(0,K.pM)({name:"MultisigVaultCreateProgress",components:{ProgressBar:UI,CheckSuccessCircleIcon:Vh,PendingIcon:Vn.A},props:{multisigAccount:{type:Object,default:null},phase:{type:String,default:null},isAccessible:Boolean,isCreated:Boolean},setup:function(e){var t=(0,yn.s9)(),n=t.t,a=[{key:T._B.prepared,text:n("modals.creatingMultisigAccount.preparingMultisigVault")},{key:T._B.deployed,text:n("modals.creatingMultisigAccount.deployingSmartContract")},{key:T._B.created,text:n("modals.creatingMultisigAccount.creatingMultisigVault"),caption:n("modals.creatingMultisigAccount.creatingMultisigVault")},{key:T._B.accessible,text:n("modals.creatingMultisigAccount.addingToWallet"),pendingText:n("modals.creatingMultisigAccount.syncingVault"),caption:n("modals.creatingMultisigAccount.takingLong")}],r=(0,K.EW)((function(){return a.findIndex((function(t){var n=t.key;return n===e.phase}))})),o=(0,K.EW)((function(){return 100/a.length*(r.value+1)}));function i(e){return e===r.value+1}function s(t){return!!e.multisigAccount||t<=r.value}return{PlusCircle:_r.A,localPhases:a,progressPercentage:o,isPhaseCurrent:i,isPhaseCompleted:s}}}),VI=(0,Ft.A)(XI,[["render",PI],["__scopeId","data-v-23d2125d"]]),HI=VI;var $I=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},jI={form:"form",review:"review",processing:"processing"};const KI=(0,K.pM)({name:"MultisigVaultCreate",components:{FormNumberSelect:fI,FormTextarea:lu.A,Modal:Bs.A,BtnMain:Ro.A,BtnPlain:Rr.A,BtnText:sI.A,BtnHelp:gd.A,MultisigVaultCreateProgress:HI,QrScanIcon:IS.A,PlusCircleIcon:_r.A,MultisigVaultCreateReview:wI,FormSelect:Qo.A,Field:De.D0,Form:De.lV},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,er.rd)(),n=(0,yn.s9)(),a=n.t,r=(0,ce.oV)(),i=r.aeAccountsSelectOptions,u=(0,ce.U8)(),c=u.openModal,l=u.openDefaultModal,d=(0,De.lw)(),p=(0,ce.ci)({pollOnce:!0}),v=p.setActiveMultisigAccountId,f=(0,ce.Nc)(),m=f.multisigAccount,g=f.multisigAccountCreationPhase,h=f.pendingMultisigCreationTxs,A=f.multisigAccountCreationFee,k=f.isMultisigAccountAccessible,y=f.isMultisigAccountCreated,b=f.prepareVaultCreationAttachTx,w=f.deployMultisigAccount,C=f.notEnoughBalanceToCreateMultisig,x=(0,bt.KR)(jI.form),S=(0,bt.KR)([]),E=(0,bt.KR)(T.sL),I=(0,bt.KR)(),W=(0,K.EW)((function(){return S.value.map((function(e){var t=e.address;return t})).filter(L.__)}));function F(e){return(0,_.Fd)(e.address).valid&&S.value.filter((function(t){var n=t.address;return e.address===n})).length>=2}var D=(0,K.EW)((function(){return!S.value.filter((function(e){return!(0,_.Fd)(e.address).valid||F(e)})).length})),B=(0,K.EW)((function(){var e;return S.value.length>=T.sL&&D.value&&!(null===(e=d.value)||void 0===e?void 0:e.length)}));function P(){S.value.push({address:void 0})}function O(e){S.value.splice(e,1)}function M(e){return F(e)?a("modals.createMultisigAccount.errorDuplicatingInputMessage"):null}function R(e){return $I(this,void 0,void 0,(0,s.A)().mark((function t(){var n,r,i,u;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c(o.$b,{title:a("multisig.scanAddress"),icon:"critical"});case 2:if(n=t.sent,n){t.next=5;break}return t.abrupt("return");case 5:if(r=(0,_.Fd)(n),i=r.valid,u=r.isName,i&&!u){t.next=9;break}return l({title:a("modals.invalid-qr-code.msg"),icon:"critical"}),t.abrupt("return");case 9:if(!S.value.find((function(e){return e.address===n}))){t.next=12;break}return l({title:a("modals.createMultisigAccount.errorDuplicatingSigner"),icon:"critical"}),t.abrupt("return");case 12:S.value[e].address=n;case 13:case"end":return t.stop()}}),t)})))}function N(e){return"".concat(a("modals.createMultisigAccount.signer")," ").concat(e+1)}function U(){x.value=jI.form}function X(){return $I(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,b(E.value,W.value);case 2:I.value=e.sent,x.value=jI.review;case 4:case"end":return e.stop()}}),e)})))}function V(){var e;return $I(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(x.value=jI.processing,t.prev=1,I.value){t.next=4;break}throw Error(String(a("multisig.multisigVaultCreationFailed")));case 4:return t.next=6,w(I.value,E.value,W.value);case 6:t.next=14;break;case 8:return t.prev=8,t.t0=t["catch"](1),(0,L.fY)(t.t0),t.next=13,l({title:a("multisig.multisigVaultCreationFailed"),icon:"critical",msg:null===(e=null===t.t0||void 0===t.t0?void 0:t.t0.details)||void 0===e?void 0:e.reason,textCenter:!0});case 13:x.value=jI.form;case 14:case"end":return t.stop()}}),t,null,[[1,8]])})))}function H(){return $I(this,void 0,void 0,(0,s.A)().mark((function n(){return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!m.value){n.next=5;break}return n.next=3,e.resolve();case 3:v(m.value.gaAccountId),t.push({name:Ye.zn});case 5:case"end":return n.stop()}}),n)})))}return(0,K.sV)((function(){if(!S.value.length)for(var e=0;e99:return"99+";default:return e.toString()}}));return{ROUTE_NOTIFICATIONS:Ye.Ld,BellIcon:iW,notificationsCount:n}}}),uW=(0,Ft.A)(sW,[["render",z_]]),cW=uW;function lW(e,t,n,a,r,o){var i=(0,K.g2)("BtnPill");return(0,K.uX)(),(0,K.Wv)(i,{class:"network-button",dense:"",hollow:"",onClick:t[0]||(t[0]=(0,We.D$)((function(t){return e.openNetworkSwitcherModal()}),["prevent"]))},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:(0,tt.C4)(["circle",{connected:e.isOnline&&e.isAeNodeReady,error:!e.isOnline||e.isAeNodeError}])},null,2),(0,K.eW)(" "+(0,tt.v_)(e.activeNetwork.name),1)]})),_:1})}const dW=(0,K.pM)({components:{BtnPill:Zo.A},setup:function(){var e=(0,ce.w5)(),t=e.isOnline,n=(0,ce.fI)(),a=n.activeNetwork,r=(0,ce.U8)(),i=r.openModal,s=(0,ce.CP)(),u=s.isAeNodeReady,c=s.isAeNodeError;function l(){return i(o.ld)}return{isOnline:t,isAeNodeReady:u,isAeNodeError:c,activeNetwork:a,openNetworkSwitcherModal:l}}}),pW=(0,Ft.A)(dW,[["render",lW],["__scopeId","data-v-386368e2"]]),vW=pW;function fW(e,t,n,a,r,o){var i=(0,K.g2)("BtnIcon");return(0,K.uX)(),(0,K.Wv)(i,{class:"open-apps-browser-button","data-cy":"apps-browser-btn",icon:e.GlobeSmallIcon,to:{name:e.ROUTE_APPS_BROWSER}},null,8,["icon","to"])}const mW=(0,K.pM)({components:{BtnIcon:Lo.A},props:{isBig:Boolean,isMultisig:Boolean,tokenContractId:{type:String,default:""}},setup:function(){return{GlobeSmallIcon:wi.A,ROUTE_APPS_BROWSER:Ye.qC}}}),gW=(0,Ft.A)(mW,[["render",fW],["__scopeId","data-v-425bf3bf"]]),hW=gW,AW=(0,K.pM)({components:{NetworkButton:vW,AppsBrowserBtn:hW,NotificationsIcon:cW,BtnClose:HC.A,BtnPlain:Rr.A,Logo:Y_.A,Truncate:Xn.A,BtnIcon:Lo.A,IonHeader:Fe.eU,IonToolbar:Fe.ai},setup:function(){var e=(0,er.lq)(),t=(0,Fe.jq)(),n=(0,yn.s9)(),a=n.t,r=(0,ce.mv)(),i=r.homeRouteName,s=(0,ce.oV)(),u=s.isLoggedIn,c={settings:function(){return a("pages.titles.settings")},language:function(){return a("pages.titles.language")},about:function(){return a("pages.titles.about")},sendTip:function(){return a("pages.titles.sendTip")},claimTips:function(){return a("pages.claimTips.title")},terms:function(){return a("pages.titles.terms")},privacy:function(){return a("pages.titles.privacy")},currency:function(){return a("pages.titles.currency")},notifications:function(){return a("pages.titles.notifications")},auction:function(){return a("pages.titles.auction")},more:function(){return a("pages.titles.more")},networks:function(){return a("pages.titles.networks")},permissionsSettings:function(){return a("pages.titles.permissionsSettings")},permissionsEdit:function(){return a("pages.titles.permissionsEdit")},permissionsAdd:function(){return a("pages.titles.permissionsAdd")},commentNew:function(){return a("pages.titles.commentNew")},donateError:function(){return a("pages.titles.donateError")},address:function(){return a("pages.titles.address")},signMessage:function(){return a("pages.titles.signMessage")},signTransaction:function(){return a("pages.titles.signTransaction")},giftCards:function(){return a("pages.titles.giftCards")},txDetails:function(){return a("pages.titles.txDetails")},tokenDetails:function(){return a("pages.titles.tokenDetails")},coinDetails:function(){return a("pages.titles.coinDetails")},saveErrorsLog:function(){return a("pages.titles.saveErrorsLog")},resetWallet:function(){return a("pages.resetWallet.title")},seedPhrase:function(){return a("pages.titles.seedPhrase")},networkAdd:function(){return a("pages.titles.networkAdd")},networkEdit:function(){return a("pages.titles.networkEdit")},notFound:function(){return a("pages.titles.notFound")},multisigProposalDetails:function(){return a("pages.titles.multisigProposalDetails")}},l=(0,K.EW)((function(){return u.value?i.value:Ye.nv})),d=(0,K.EW)((function(){return e.meta})),p=(0,K.EW)((function(){var e;return!!(null===(e=d.value)||void 0===e?void 0:e.showHeaderNavigation)})),v=(0,K.EW)((function(){return e.name===Ye.qJ})),f=(0,K.EW)((function(){var e;return(null===(e=d.value)||void 0===e?void 0:e.title)&&c[d.value.title]?c[d.value.title]():""}));function m(){var n=e.fullPath,a=e.meta,r=a||{},o=r.backRoute;if(!u.value)return t.navigate({name:l.value},"back","push");if(o)return t.navigate(o,"back","push");var i=n.endsWith("/")?n.slice(0,-1):n;return t.navigate(i.substr(0,i.lastIndexOf("/"))||{name:l.value},"back","push")}function g(){t.navigate({name:l.value},"back","push")}return(0,Fe.zE)(1,m),{UNFINISHED_FEATURES:o.s4,homeRouteName:i,BackIcon:to,ThreeDotsIcon:ox,ROUTE_ACCOUNT:Ye.qJ,ROUTE_MORE:Ye.Sr,IS_MOBILE_APP:o.I$,isLoggedIn:u,showHeaderNavigation:p,isLogoDisabled:v,titleTruncated:f,back:m,close:g}}}),kW=(0,Ft.A)(AW,[["render",Z_],["__scopeId","data-v-e2406f5c"]]),yW=kW;function bW(e,t,n,a,r,o){return(0,K.uX)(),(0,K.Wv)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.statusText?((0,K.uX)(),(0,K.CE)("div",{key:0,"data-cy":"connect-node",class:(0,tt.C4)(["node-connection-status",{"is-error":e.isError}])},(0,tt.v_)(e.statusText),3)):(0,K.Q3)("",!0)]})),_:1})}var wW=2e3;const CW=(0,K.pM)({setup:function(){var e=(0,yn.s9)(),t=e.t,n=(0,ce.w5)(),a=n.isOnline,r=(0,ce.CP)(),o=r.isAeNodeConnecting,i=r.isAeNodeReady,s=r.isAeNodeError,u=(0,ce.oV)(),c=u.isLoggedIn,l=(0,bt.KR)(!1),d=(0,K.EW)((function(){return!a.value||s.value}));(0,K.wB)(i,(function(e){l.value=e,e&&setTimeout((function(){l.value=!1}),wW)}));var p=(0,K.EW)((function(){switch(!0){case!a.value:return t("connectionStatus.offline");case!c.value:return null;case o.value:return t("connectionStatus.node.connecting");case l.value:return t("connectionStatus.node.connected");case s.value:return t("connectionStatus.node.error");default:return null}}));return{isError:d,statusText:p}}}),xW=(0,Ft.A)(CW,[["render",bW],["__scopeId","data-v-7ee50ab2"]]),LW=xW;var SW=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const TW=(0,K.pM)({name:"App",components:{Header:yW,NodeConnectionStatus:LW,Close:xA.A,IonApp:Fe.U1,IonRouterOutlet:Fe.Rg,IonPage:Fe.AO,Loader:jT.A},setup:function(){var e=this,t=(0,er.lq)(),n=(0,er.rd)(),r=(0,yn.s9)(),i=r.t,u=(0,ce.w5)(),c=u.watchConnectionStatus,l=(0,ce.mv)(),d=l.isSeedBackedUp,p=l.qrScannerOpen,v=l.isLoaderVisible,f=l.initVisibilityListeners,m=(0,ce.U8)(),g=m.modalsOpen,h=(0,ce.oV)(),A=h.isLoggedIn,k=(0,ce.E$)(),y=k.addWalletNotification,b=(0,ce.ZN)({pollingDisabled:!0}),w=b.loadCoinsData,C=(0,ce.Jt)(),x=C.restoreLanguage,S=(0,K_.t)(),T=S.restore,E=(0,ce.ci)({pollingDisabled:!0}),I=E.multisigAccounts,_=(0,bt.KR)(),W=(0,bt.KR)(!1),F=(0,K.EW)((function(){return t.meta})),D=(0,K.EW)((function(){var e;return null===(e=F.value)||void 0===e?void 0:e.showScrollbar})),B=(0,K.EW)((function(){var e;return!(o.dx||t.params.app||(null===(e=F.value)||void 0===e?void 0:e.hideHeader))}));function P(){document.documentElement.style.setProperty("--height",o.I$&&o.pz?"100vh":"100%"),o.hL&&document.documentElement.classList.add("is-extension")}function O(){var e;return SW(this,void 0,void 0,(0,s.A)().mark((function t(){var n,r,u,c,l;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=null===(e=null===browser||void 0===browser?void 0:browser.runtime)||void 0===e?void 0:e.requestUpdateCheck,!o.hL||!n){t.next=11;break}return t.next=4,n();case 4:r=t.sent,u=(0,a.A)(r,1),c=u[0],l="",o.$M&&(l=o.Fl),o.m_&&(l=o.b1),"update_available"===c&&y({text:i("pages.account.updateAvailableText"),title:i("pages.account.updateAvailable"),buttonLabel:i("pages.notifications.goToStore"),path:l});case 11:case"end":return t.stop()}}),t)})))}function M(){return SW(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:d.value||y({title:i("pages.account.secureYourAccount"),text:i("pages.account.seedNotification"),buttonLabel:i("pages.account.backupNow"),path:"/more/settings/seed-phrase",isSeedBackup:!0});case 1:case"end":return e.stop()}}),e)})))}return(0,K.wB)((function(){return t.fullPath}),(function(){_.value&&(_.value.scrollTop=0)})),(0,K.wB)(I,(function(e){var t;!(null===e||void 0===e?void 0:e.length)&&(null===(t=F.value)||void 0===t?void 0:t.isMultisig)&&n.push({name:Ye.qJ})})),(0,K.wB)(B,(function(t){return SW(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t){e.next=4;break}W.value=!0,e.next=8;break;case 4:if(A.value){e.next=7;break}return W.value=!1,e.abrupt("return");case 7:setTimeout((function(){W.value=!1}),o.dy);case 8:case"end":return e.stop()}}),e)})))}),{immediate:!0}),f(),(0,K.KC)((function(){return SW(e,void 0,void 0,(0,s.A)().mark((function e(){var t,n;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:o.I$&&(j_.eA.setStyle({style:j_.OF.Dark}),j_.eA.setBackgroundColor({color:"#141414"}),null===(n=null===(t=window.screen.orientation)||void 0===t?void 0:t.lock)||void 0===n||n.call(t,"portrait"));case 1:case"end":return e.stop()}}),e)})))})),(0,K.sV)((function(){P(),O(),x(),T(),c(),o.I$&&setTimeout((function(){$_.S.hide({fadeOutDuration:300})}),2e3),o.dx||w(),(0,L.mU)(A).then((function(){setTimeout((function(){M()}),100)}))})),{IS_FIREFOX:o.$M,IS_IOS:o.pz,IS_WEB:o.u2,IS_EXTENSION:o.hL,IS_MOBILE_DEVICE:o.Hy,RUNNING_IN_TESTS:o.yW,modalsOpen:g,qrScannerOpen:p,showHeader:B,delayedShowHeader:W,showScrollbar:D,innerElement:_,isLoaderVisible:v}}}),EW=(0,Ft.A)(TW,[["render",H_],["__scopeId","data-v-353b17cc"]]),IW=EW;X_();var _W=(0,We.Ef)(IW);_W.use(Fe.hx),_W.use(x.Ru),_W.use(nL),_W.mount("#app"),S.A.init({app:_W}),Me()},90973:(e,t,n)=>{"use strict";n.d(t,{Bh:()=>P,E8:()=>N,GR:()=>D,Go:()=>X,HH:()=>_,Ie:()=>g,Ld:()=>y,PC:()=>c,Q6:()=>V,Sr:()=>k,ao:()=>s,cH:()=>B,eS:()=>M,fc:()=>d,hN:()=>L,iB:()=>A,iO:()=>E,iz:()=>p,jA:()=>T,kM:()=>U,kb:()=>h,n3:()=>m,nj:()=>S,no:()=>o,nv:()=>a,pe:()=>O,qC:()=>F,qJ:()=>r,r:()=>w,r9:()=>i,rh:()=>W,s4:()=>b,t:()=>I,tE:()=>x,tX:()=>v,tl:()=>u,uY:()=>C,uc:()=>f,xO:()=>H,z0:()=>R,zn:()=>l});var a="index",r="account",o="account-details",i="account-details-assets",s="account-details-names",u="account-details-names-auctions",c="account-details-names-claim",l="account-multisig",d="multisig-coin",p="multisig-coin-details",v="multisig-tx-details",f="multisig-account-details",m="multisig-account-details-info",g="account-details-multisig-proposal-details",h="multisig-account-details-assets",A="tx-details",k="more",y="notifications",b="coin",w="coin-details",C="token",x="token-details",L="not-found",S="network-settings",T="network-add",E="network-edit",I="web-iframe-popup",_="invite-claim",W="donate-error",F="apps-browser",D="about-terms",B="auction-bid",P="auction-history",O="permissions-add",M="permissions-details",R="permissions-settings",N="connect",U="popup-sign-tx",X="account-list",V="popup-raw-sign",H="message-sign"},55364:(e,t,n)=>{"use strict";n.d(t,{e:()=>U});var a=n(55096),r=n(2327),o=(n(28706),n(26099),n(50953)),i=n(20641),s=n(43089),u=n.n(s),c=n(95993),l=n(91087),d=n(65563),p=n(31189),v=n(29958),f=n(1287),m=n(6682),g=n(38151),h=n(81503),A=n(73808),k=(n(16280),n(76918),n(2008),n(50113),n(46449),n(74423),n(64346),n(62062),n(72712),n(34782),n(93514),n(94170),n(62010),n(33110),n(5506),n(53921),n(79432),n(16034),n(27495),n(21699),n(47764),n(25440),n(62953),n(76031),n(55886)),y=n(52347),b=["__requestBody","__queue"],w=!1;function C(e){return e.replace(/_./g,(function(e){return e[1].toUpperCase()}))}function x(e){return e.replace(/[A-Z]/g,(function(e){return"_".concat(e.toLowerCase())}))}var L=function(e,t){return Object.fromEntries(Object.entries(e).map(t))},S=function(e,t){return Object.fromEntries(Object.entries(e).filter(t))},T=function e(t,n){return"object"!==(0,A.A)(n)||null===n?n:Array.isArray(n)?n.map((function(n){return e(t,n)})):L(n,(function(n){var r=(0,a.A)(n,2),o=r[0],i=r[1];return[t(o),e(t,i)]}))},E=T.bind(null,x),I=T.bind(null,C);function _(e){return W.apply(this,arguments)}function W(){return W=(0,h.A)((0,r.A)().mark((function e(t){var n,o,i,s,u,c,l,d,p,x,T,_,W,F,D,B=arguments;return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=B.length>1&&void 0!==B[1]?B[1]:{},o=n.spec,i=n.internalUrl,s=n.disableBigNumbers,u=n.disableCaseConversion,c=n.responseInterceptor,l=s?JSON:y.A,e.next=4,Promise.all([t,i].map((function(e){if(!e)return null;var t={};return(0,k.A)({url:e,spec:o,requestInterceptor:function(e){if("GET"===e.method)return(0,g.A)((0,g.A)({},e),{},{userFetch:function(){var e=(0,h.A)((0,r.A)().mark((function e(n,a){var o,i;return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=JSON.stringify((0,g.A)((0,g.A)({},a),{},{_url:n})),null!==(o=t[i])&&void 0!==o||(t[i]=fetch(n,a)),e.prev=2,e.next=5,t[i];case 5:return e.abrupt("return",e.sent.clone());case 6:return e.prev=6,delete t[i],e.finish(6);case 9:case"end":return e.stop()}}),e,null,[[2,,6,9]])})));function n(t,n){return e.apply(this,arguments)}return n}()})},responseInterceptor:function(e){var t;if(""===e.text||0===(null===(t=e.text)||void 0===t?void 0:t.size))return e;var n=l.parse(e.text);return Object.assign(e,{body:u?n:I(n)}),c&&c(e)||e}})})));case 4:return d=e.sent,p=(0,a.A)(d,2),x=p[0],T=p[1],_=Object.assign.apply(Object,[{}].concat((0,m.A)(x.apis.external?[x.apis.external]:Object.values(x.apis)),[L((null===T||void 0===T?void 0:T.apis.internal)||{},(function(e){var t=(0,a.A)(e,2),n=t[0],r=t[1];return[n,function(){return w||(console.warn('SDK\'s wrapper of aeternity node internal API is deprecated, please use external equivalent (for example, "aeSdk.api.protectedDryRunTxs" instead of "aeSdk.api.dryRunTxs") or create a wrapper of internal API by yourself (using "genSwaggerClient")'),w=!0),r.apply(void 0,arguments)}]}))])),W=Object.fromEntries(Object.values(o.paths).map((function(e){return Object.values(e)})).flat().map((function(e){return[e.operationId,e]}))),F={},D=L(_,(function(e){var t=(0,a.A)(e,2),n=t[0],o=t[1],i=n.slice(0,1).toLowerCase()+C(n.slice(1));return[i,(0,h.A)((0,r.A)().mark((function e(){var t,s,c,d,p,k,y,w,C,x,T,I,_,D,B=arguments;return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(s=B.length,c=new Array(s),d=0;d{"use strict";n.d(t,{q:()=>W});var a=n(55096),r=n(2327),o=(n(93514),n(62953),n(52675),n(28706),n(2008),n(50113),n(46449),n(74423),n(25276),n(62062),n(44114),n(72712),n(62010),n(26099),n(21699),n(47764),n(50953)),i=n(20641),s=n(31189),u=n(91087),c=n(65563),l=n(12589),d=n(84754),p=n(58449),v=n(44343),f=n(32118),m=n(59755),g=n(58338),h=n(33587),A=n(77513),k=n(55364),y=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},b=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r{"use strict";n.d(t,{$:()=>u});var a=n(20641),r=n(65563),o=n(58449),i=n(81881),s=n(59755),u=(0,o.X)((function(){var e=(0,i.f)(),t=e.activeNetwork,n=(0,a.EW)((function(){return t.value.protocols.aeternity})),o=(0,a.EW)((function(){var e=t.value.type===r.Qb?r.Oj:t.value.type,n=s.eT[e];return n||{}}));return{aeActiveNetworkSettings:n,aeActiveNetworkPredefinedSettings:o}}))},77513:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});n(28706);var a=n(31189),r=n(33587);function o(){var e=(0,r.$)(),t=e.aeActiveNetworkSettings,n=t.value.backendUrl;function o(e,t){return(0,a.B2)("".concat(n,"/claim/submit"),{body:{url:e,address:t}})}function i(){return(0,a.x6)("".concat(n,"/cache/invalidate/oracle"))}function s(){return(0,a.x6)("".concat(n,"/cache/invalidate/tips"))}function u(e){return(0,a.B2)("".concat(n,"/errorreport"),{body:e})}function c(){return(0,a.x6)("".concat(n,"/cache/chainnames"))}function l(e){return(0,a.x6)("".concat(n,"/tips/single/").concat(e))}return{claimTips:o,cacheInvalidateOracle:i,cacheInvalidateTips:s,donateError:u,fetchCachedChainNames:c,getCacheTip:l}}},41549:(e,t,n)=>{"use strict";n.d(t,{ef:()=>a.e,$L:()=>r.$,ti:()=>o.t,NC:()=>f});var a=n(55364),r=n(33587),o=n(77513),i=n(2327),s=n(55096),u=(n(62953),n(74423),n(15086),n(26099),n(27495),n(21699),n(47764),n(71761),n(11392),n(50953)),c=n(31189),l=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function d(e){var t=e.match(/https:\/\/twitter.com\/[a-zA-Z0-9_]+/g);return!!t&&t[0]}var p=(0,u.KR)([]),v=(0,u.KR)([]);function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{ensureFetchedOnInit:!0},t=e.ensureFetchedOnInit;function n(e){p.value=e}function a(e){v.value=e}function o(){return l(this,void 0,void 0,(0,i.A)().mark((function e(){var t,o,u,l,d,f;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!p.value.length||!v.value.length){e.next=2;break}return e.abrupt("return");case 2:return t=(0,r.$)(),o=t.aeActiveNetworkSettings,e.prev=3,e.next=6,Promise.all([(0,c.x6)("".concat(o.value.backendUrl,"/verified")),(0,c.x6)("".concat(o.value.backendUrl,"/static/wallet/graylist"))]);case 6:u=e.sent,l=(0,s.A)(u,2),d=l[0],f=l[1],n(d),a(f),e.next=17;break;case 14:e.prev=14,e.t0=e["catch"](3),(0,c.fY)(e.t0);case 17:case"end":return e.stop()}}),e,null,[[3,14]])})))}function u(e){if(!e)return"default";var t=d(e),n=t||e;return v.value.some((function(e){return n.includes(e)}))?"blacklisted":p.value.includes(n)?"verified":(0,c.Ks)(n)&&n.startsWith("http:")?"not-secure":"not-verified"}return t&&o(),{getTippingUrlStatus:u}}},59755:(e,t,n)=>{"use strict";n.d(t,{di:()=>G,YI:()=>_,CT:()=>T,pR:()=>I,d:()=>E,d3:()=>b,Z3:()=>w,GO:()=>v,fX:()=>l,kS:()=>p,tL:()=>C,cK:()=>c,hD:()=>x,s8:()=>L,gc:()=>F,oz:()=>W,eT:()=>y,Ix:()=>k,_c:()=>A,LK:()=>f,aR:()=>m,QS:()=>u,Q5:()=>S,kf:()=>d,qD:()=>J,n1:()=>ee,Zi:()=>Q,Op:()=>K,ml:()=>V,xf:()=>H,yk:()=>$,$y:()=>q,_B:()=>Z,Di:()=>s,cq:()=>z,sL:()=>Y,TP:()=>D,vG:()=>B,y5:()=>P,m5:()=>O,S4:()=>U,Mb:()=>N,wb:()=>X,VA:()=>R,Mu:()=>M,LD:()=>te});var a=n(1287),r=(n(26099),n(31415),n(47764),n(62953),n(41805)),o=n(91087),i=n(65563),s="cb_+RCaRgOgve9Y9UQL6KRoPwfVNJcBlzMvD+DQb6//M5OJCG3AVQjAuRBsuQ0r/gP+MbwANwA3CIcCNwA3AZdABydHACdHABcHF4cCNwA3AUcAGgoAhgg+hgIEDAOvggABAD8MAoQMAwMMAwMMA38MAwAMA38MA6+CAAEAPycMEABGOgIAACgsAAJE/gQjAAICAigsBgICAxGgN2kGDwIIKCwIAgIDEaA3aQYPAgoMAgICAxGKkmS6DwIMDAICAgMR6tQZlA8CECgsBAJE/hIjAAICAgwCBAwChAwCCAwCCgwCDCgsAgIMAhAMAhInDBAA/gUnlSICNwKXQIcCNwEHNwEHNwAMAQICAxERgicfDwIAVQICAgMRNr2PA1UAAgMR0MNsuA8CBAIDETa9jwMPAgYMAQAMAgAMAgIMAgQMAgYnDApE/oYjAAICAgwBAAwCAgwCAET8gwYEBAICBAICAAYEAxFlpeAP/gpTjRIANwGXQDcADANdRVJST1JfTk9USElOR19UT19SRVZPS0UMAoYCAxH6lKxHDwIADAIADAEAVQACAxELyoirDwJvgibPKCwEAFUAIAAHDAj7A2VFUlJPUl9DQUxMRVJfTk9UX1BST1BPU0VSKCwAAAQDEWByuOf+C8qIqwI3A0cAl0A3BZdAB0cAZ0cANwBnRwA3ADcADAKCDAEAAgMR0bdm1AcMDAwDfwYDBgcMCvsDUUVSUk9SX05PVF9BVVRIT1JJWkVEAQM/KBwABCAQAgYDBv4MGh13ADcAdwECjv4RgicfAjcBhwI3AQc3AQcHCD0AAgRGNgAAAFkAFCAAAEY0AAAA/hV7P4YCNwI3BZdAB0cAZ0cANwBnRwA3ADcFl0AHRwBnRwA3AGdHADcANwAMAQBE/oYjAAICAigcAAJVAET8gwYEBAICBAICAgQCAxFlpeAPDwJvgibPKBwGAAIDEWNRdG0gCIQHDAgBAz8oHAACRPyDBgQEAgIEAgIGAgQDEWWl4A/+MvF1CQA3ADcABw6KBPsDlUVSUk9SX0ZFRV9QUk9URUNUSU9OX0FMUkVBRFlfRElTQUJMRUQMAoJVAAIDEdG3ZtQHDAr7A2FFUlJPUl9OT1RfQV9WQUxJRF9TSUdORVIaDoivggABAD8aDop/VQBE/IMGBAQCAgQCAg4CBAMRZaXgD/42vY8DAjcAZ+cANwABAy8A/kTWRB8ANwIHZ0cANwA3AAwBAlUAAgMR0bdm1CYABwwG+wOZRVJST1JfQUNDT1VOVF9PRl9HQV9NVVNUX05PVF9CRV9TSUdORVIMAwQMAQICAxFjUXRtIgAHDAz7A01FUlJPUl9NSU5fMl9TSUdORVJTDAEADAECAgMRY1F0bSIABwwS+wOxRVJST1JfQ09ORklSTUFUSU9OU19FWENFRURfQU1PVU5UX09GX1NJR05FUlMaDoavggABAD8aDoivggABARsrb4cHGv1JjP/Ab4UCVAvjwBoGggIaBoQAGg6K/xoOjAIaDo4VMi4wLjABAz/+WGaS0AA3AZdANwAMA11FUlJPUl9OT1RISU5HX1RPX1JFRlVTRQwChgIDEfqUrEcPAgAMAgAMAQBVAAIDEQvKiKsPAm+CJs8oLAgAVQACAxHRt2bUJgAHDAr7A1VFUlJPUl9BTFJFQURZX1JFRlVTRUQoLAYAVQACAxHRt2bUBwwSKCwIAFUAAgMR0MNsuA8CCimsCAAKBAMRaRFmxCgsCABVAAIDEdDDbLgPAgoprgwIAAooLAYAVQACAxF02loxDwIOKa4QBgwOGgoShAwCDgIDEWNRdG0VOBICIAAHDB4MAz8GAxwPAm+CJs8MAhAEAxFpEWbEKCwAAET8gwYEBAICBAICCAICAxFlpeAPBgMc/mByuOcCNwGXQDcAGg6Gr4IAAQA/DAEAVQBE/IMGBAQCAgQCAgoEBAMRZaXgD/5g2SfnADcAhwI3ADcBNwIHBwECiP5jUXRtAjcBZ+cANwAHMQQAAP5lpeAPAjcBhwg3A5dARwAHNwKXQEcANwKXQEcANwGXQDcBl0A3ApdARwA3AZdANwFHADcACg0AgwIEBggKDA4QRjYAAABGNgIAAkY2BAAEZAKvX58Bgc4Tg0fCXJ6pbxeVEaJyPOitJN2WIn8cMmH/1KkLiEddAAIEAQM/RjYAAABGNgIAAmOvX58BgdJtAIYtCcrDtXE8F2rZNOymOlqRcI6zmk9SSVKcSGsNAAIBAz9GNgAAAEY2AgACY69fnwGBKkEXjU6I2ofvnLTRwi2DlJp1EpJX2+7ZtusGyTALclAAAgEDP0Y2AAAAYi9fnwGB6pQ/O02tcnqFIIXwsGoPmTnwYw1wPYaWd0QzS6qDJygAAQM/RjYAAABiL1+fAYF5ZRN+QrVmgSx2/jfRKIV1k9Suadc9zb9gAjkFbFFHagABAz9GNgAAAEY2AgACY69fnwGB1BokHcMXqJIxi0GLSpuHUo1WALCdJvZBI8ulrNWJsPsAAgEDP0Y2AAAAYi9fnwGBETSmEurK4IgmXzhsxKTzQAyT99DkMvvTudmxmu5BWjIAAQM/RjYAAABiL1+fAYG2lE6h9A8XUcaevF1HJKucbYGIf9DJFEs/o6fzRY67LQABAz/+aRFmxAI3ATcFl0AHRwBnRwA3AGdHADcANwAMAQBE/oYjAAICAigcAABVAET8gwYEBAICBAICBAQCAxFlpeAPDwJvgibPKBwIAAIDEWNRdG0gCIQHDAgBAz8oHAAABAMRYHK45/5s8lcLADcBBxcMA1FFUlJPUl9OT19UWF9QUk9QT1NFRAwChgIDEfqUrEcPAgAiJACMBwwG+wNNRVJST1JfTk9OQ0VfVE9PX0xPVyEkAIwHDAr7A1FFUlJPUl9OT05DRV9UT09fSElHSAwCAAIDEerUGZQmAAcMEPsDQUVSUk9SX1RYX0VYUElSRUQHDoomDAM/BgMUDwJvgibPdwIWCD4WJBZGOhgWAAwCAAIDEYqSZLoHDBz7A0lFUlJPUl9OT19DT05TRU5TVVMoLAAAICAYBwwg+wNRRVJST1JfVU5FUVVBTF9IQVNIRVMMAhhE/IMGBAQCAgQCAgwCAgMRZaXgDw8Cb4ImzxQ2jAACGg6Gr4IAAQA/AQP/+wNVRVJST1JfTk9fQVVUSF9DT05URVhUAgMR55554gYDFP5zF3ZSADcBl0A3AAwDYUVSUk9SX05PVEhJTkdfVE9fQ09ORklSTQwChgIDEfqUrEcPAgAMAgAMAQBVAAIDEQvKiKsPAm+CJs8oLAYAVQACAxHRt2bUJgAHDAr7A11FUlJPUl9BTFJFQURZX0NPTkZJUk1FRAwCAAIDEerUGZQmAAcMEPsDQUVSUk9SX1RYX0VYUElSRUQoLAgAVQACAxHRt2bUBwwYKCwGAFUAAgMR0MNsuA8CDgwCACmsBgAOBAMRFXs/higsCABVAAIDEXTaWjEPAg4prhAIAA4oLAYAVQACAxHQw2y4DwISDAIAKawGEBIEAxEVez+G/nTaWjECNwLnAGfnADcAZ+cANwAuFAIAAP6KkmS6AjcBNwWXQAdHAGdHADcAZ0cANwAXDAKEKBwGAAIDEWNRdG0iAAD+meUfqgA3ACdHAAwCggQDEaA3aQb+oAKLeAI3AjcCd/cn5wAn5wEzBAIHDAg2BAIMAQACAxGgAot4NQQCKBwCACgcAAACADQAAAEDA/6gN2kGAjcBZ+cANwAn5wAyBAAMAysR/ZH04z8EAxGgAot4/ssUtbUANwKXQIcCNwEHNwEHNwAMAoJVAAIDEdG3ZtQHDBD7A1FFUlJPUl9OT1RfQVVUSE9SSVpFRAwBAgwBAAQDEQUnlSJGOAQAAgMR6tQZlAcMDvsDmUVSUk9SX0VYSVNUSU5HX1BST1BPU0VEX1RYX05PVF9FWFBJUkVEDAECDAEABAMRBSeVIhoKBIYIPoYGCP7Qw2y4AjcC5wBn5wA3AGfnADcALdQCAD8A/tG3ZtQCNwLnAGfnADcAFy8UAgAA/tmowSgANwAHAQKM/uPzPAgCNwE3AucA5wHnACgcAAAA/ueeeeICNwA3AAwCiAIDEfuGrxoPAgAoLAAApwAhAAcMBvsDWUVSUk9SX01BWF9GRUVfRVhDRUVERUQoLAIAXwAhAAcMCvsDbUVSUk9SX01BWF9HQVNQUklDRV9FWENFRURFRAEDP/7q1BmUAjcBNwWXQAdHAGdHADcAZ0cANwAXKBwCAFkAHwAA/vZYXzEANwE3AgcHNwAHDooE+wOVRVJST1JfRkVFX1BST1RFQ1RJT05fQUxSRUFEWV9ESVNBQkxFRAwCglUAAgMR0bdm1AcMCvsDYUVSUk9SX05PVF9BX1ZBTElEX1NJR05FUgwBAET+iCMAAgICAQM//vbWMu0ANwAXAQKK/vqUrEcCNwKHAjcANwHnAHfnAAg9AAIE+wECRjQAAAD++4avGgI3AYcCNwA3AecA5wAIPQACBPsDRUZvcmNlZCBOb25lIHZhbHVlRjQAAAD+/ZH04wI3Avf39wwBAgQDEePzPAi5AzgvIxED/jG8SWdldF9jb25zZW5zdXNfaW5mbxEFJ5UigS5TaW1wbGVHQU11bHRpU2lnLnNldF9jdXJyZW50X3R4EQpTjRIZcmV2b2tlEQvKiKvJLlNpbXBsZUdBTXVsdGlTaWcucmVxdWlyZV92YWxpZF9zaWduZXJfYW5kX3R4X2hhc2gRDBoddy1nZXRfdmVyc2lvbhERgicfjS5TaW1wbGVHQU11bHRpU2lnLmV4cGlyYXRpb25faGVpZ2h0ERV7P4adLlNpbXBsZUdBTXVsdGlTaWcuY29uZmlybV9hbmRfdXBkYXRlX3R4ETLxdQlZZGlzYWJsZV9mZWVfcHJvdGVjdGlvbhE2vY8DIS5TZXQubmV3EUTWRB8RaW5pdBFYZpLQGXJlZnVzZRFgcrjnhS5TaW1wbGVHQU11bHRpU2lnLmludGVybmFsX3Jldm9rZRFg2SfnSWdldF9mZWVfcHJvdGVjdGlvbhFjUXRtJS5TZXQuc2l6ZRFlpeAPLUNoYWluLmV2ZW50EWkRZsSNLlNpbXBsZUdBTXVsdGlTaWcucmVmdXNlX2FuZF9yZXZva2URbPJXCyVhdXRob3JpemURcxd2Uh1jb25maXJtEXTaWjEtLlNldC5kZWxldGURipJkun0uU2ltcGxlR0FNdWx0aVNpZy5oYXNfY29uc2Vuc3VzEZnlH6otZ2V0X3NpZ25lcnMRoAKLeCUuTGlzdC5tYXARoDdpBjEuU2V0LnRvX2xpc3QRyxS1tR1wcm9wb3NlEdDDbLgtLlNldC5pbnNlcnQR0bdm1C0uU2V0Lm1lbWJlchHZqMEoJWdldF9ub25jZRHj8zwIJS5QYWlyLmZzdBHnnnnifS5TaW1wbGVHQU11bHRpU2lnLnZlcmlmeV90eF9mZWUR6tQZlGUuU2ltcGxlR0FNdWx0aVNpZy5leHBpcmVkEfZYXzFVdXBkYXRlX2ZlZV9wcm90ZWN0aW9uEfbWMu1laXNfZmVlX3Byb3RlY3Rpb25fZW5hYmxlZBH6lKxHRS5PcHRpb24uZm9yY2VfbXNnEfuGrxo1Lk9wdGlvbi5mb3JjZRH9kfTjGS5eMTQ0MoIvAIU2LjEuMADBfpyn",u="æternity",c="aeternity",l="Æ Coin",d="AE",p=18,v="aeternity",f="ae_mainnet",m="ae_uat",g="https://mainnet.aeternity.io",h="https://testnet.aeternity.io",A=(0,a.A)((0,a.A)({},i.dk,{nodeUrl:g,middlewareUrl:"https://mainnet.aeternity.io/mdw",backendUrl:"https://superhero-backend-mainnet.prd.service.aepps.com"}),i.Oj,{nodeUrl:h,middlewareUrl:"https://testnet.aeternity.io/mdw",backendUrl:"https://superhero-backend-testnet.prd.service.aepps.com"}),k=A[i.Oj],y=(0,a.A)((0,a.A)({},i.dk,{explorerUrl:"https://aescan.io",multisigBackendUrl:"https://ga-multisig-backend-mainnet.prd.service.aepps.com"}),i.Oj,{explorerUrl:"https://testnet.aescan.io",multisigBackendUrl:"https://ga-multisig-backend-testnet.prd.service.aepps.com"}),b="https://avatars.z52da5wt.xyz/",w="https://blog.aeternity.com/superhero-how-to-send-receive-superhero-tips-34971b18c919#024e",C="https://github.com/aeternity/superhero-wallet/commit/",x="https://aepp.dex.superhero.com",L="https://faucet.aepps.com",S="https://simplex.superhero.com",T=".chain",E=63+T.length,I=12+T.length,_=1.05,W=5e3,F=[r.W.AccountAddress,r.W.Channel,r.W.ContractAddress,r.W.Name,r.W.OracleAddress,r.W.TxHash],D=32,B={tip:"tip",retip:"retip",tipToken:"tip_token",retipToken:"retip_token",transfer:"transfer",deposit:"deposit",propose:"propose",addLiquidity:"add_liquidity",addLiquidityAe:"add_liquidity_ae",removeLiquidity:"remove_liquidity",removeLiquidityAe:"remove_liquidity_ae",swapExactTokensForTokens:"swap_exact_tokens_for_tokens",swapTokensForExactTokens:"swap_tokens_for_exact_tokens",swapExactAeForTokens:"swap_exact_ae_for_tokens",swapTokensForExactAe:"swap_tokens_for_exact_ae",swapExactTokensForAe:"swap_exact_tokens_for_ae",swapAeForExactTokens:"swap_ae_for_exact_tokens",createAllowance:"create_allowance",changeAllowance:"change_allowance",transferAllowance:"transfer_allowance",transferPayload:"transfer_payload",withdraw:"withdraw",claim:"claim",spend:"spend",namePreclaim:"name_preclaim",nameClaim:"name_claim",nameTransfer:"name_transfer",incompleteTransfer:"incomplete_transfer",pendingSpend:"pending_spend",pendingTransfer:"pending_transfer",pendingTipAe:"pending_tip_ae",pendingTipToken:"pending_tip_token",payForGaAttach:"pay_for_ga_attach",gaMetaSpend:"ga_meta_spend",verifyAccount:"verify_account"},P={propose:"propose",confirm:"confirm",refuse:"refuse",revoke:"revoke"},O={pool:["remove_liquidity","remove_liquidity_ae","add_liquidity","add_liquidity_ae"],removeLiquidity:["remove_liquidity","remove_liquidity_ae"],addLiquidity:["add_liquidity","add_liquidity_ae"],swap:["deposit","withdraw","swap_exact_tokens_for_tokens","swap_tokens_for_exact_tokens","swap_exact_ae_for_tokens","swap_tokens_for_exact_ae","swap_exact_tokens_for_ae","swap_ae_for_exact_tokens"],allowance:["transfer_allowance","change_allowance","create_allowance"],maxSpent:["swap_tokens_for_exact_tokens","swap_tokens_for_exact_ae","swap_ae_for_exact_tokens"],minReceived:["swap_exact_tokens_for_tokens","swap_exact_ae_for_tokens","swap_exact_tokens_for_ae"]},M=[o.vw.SpendTx,o.vw.ContractCreateTx,o.vw.ContractCallTx,o.vw.NamePreclaimTx,o.vw.NameClaimTx,o.vw.NameUpdateTx,o.vw.NameTransferTx],R=new Set([o.vw.NameClaimTx,o.vw.NamePreclaimTx,o.vw.NameRevokeTx,o.vw.NameUpdateTx]),N="ok",U="abort",X="revert",V=(0,a.A)((0,a.A)({},f,{router:["ct_azbNZ1XrPjXfqBqbAh1ffLNTQ1sbnuUDFvJrXjYz7JQA1saQ3"],wae:["ct_J3zBY8xxjsRr3QojETNw48Eb38fjvEuJKkQ6KzECvubvEcvCa"]}),m,{router:["ct_2rWUGgaVEVytGKuovkeJiUiLvrW63Fx7acvLBb5Ee9ypqoNxL6","ct_6iyAWnbGoEbX6hxWsjKMLSM3Hx542PM9dZeG8mHo1bXzB7DDW","ct_N3fFG5QqyTb2dhqw8YcTQ3gqQjxjCJT9MTvDWfqBes7wEu4r9","ct_2eyXvDw3V3WSbcCpSiWcsCYHShBmEJEkU8PpUg7ymDLfZ4cSy4","ct_2mZo6oniJYbbAuBqJxqydc2ZzUhgrdFbTaR4vq2QxocChGUymJ","ct_MLXQEP12MBn99HL6WDaiTqDbG4bJQ3Q9Bzr57oLfvEkghvpFb"],wae:["ct_RzxedNERBDa9Kfx8FENNKQ33TQTt5FzV8i1WppiaTSC4adRXd","ct_y1sufvYLCwbbumgV16p8Bk9f5uHGFiteRDC1x8WNxxyvGJEw2","ct_2kc9naWGGnx4TWGK7UR9gut2cVcDvf7pv8CBYG1a8WML2jzUeb","ct_24gNuddxAbMYtT32sh8Xm1PpB2fZ3HMGtfST5sA3irect3Yu76","ct_2mdY71wG4zAjrdmqDJPXU6h8dYpzNs4mMZ81ujeNnrQPU2jMto","ct_JDp175ruWd7mQggeHewSLS1PFXt9AzThCDaFedxon8mF8xTRF"]}),H="provide_liquidity",$="remove_liquidity",j="swap",K="allow_token",q={add_liquidity:H,add_liquidity_ae:H,remove_liquidity:$,remove_liquidity_ae:$,swap_exact_tokens_for_tokens:j,swap_exact_ae_for_tokens:j,swap_tokens_for_exact_tokens:j,swap_tokens_for_exact_ae:j,swap_exact_tokens_for_ae:j,swap_ae_for_exact_tokens:j,create_allowance:K,change_allowance:K,transfer_allowance:K,deposit:j,withdraw:j},G="Aex9TransferEvent",Q={other:0,current:1,subAccount:2},Z={prepared:"prepared",signed:"signed",deployed:"deployed",created:"created",accessible:"accessible"},Y=2,z="2.0.0",J={tippingV1:"ct_2AfnEfCSZCTEkxL5Yoi4Yfq6fF7YapHRaFKDJK3THMXMBspp5z"},ee={tippingV1:"ct_2Cvbf3NYZ5DLoaNYAU71t67DdXLHeSXhodkSNifhgd7Xsw28Xd",tippingV2:"ct_2ZEoCKcqXkbz2uahRrsWeaPooZs9SdCv6pmC4kc55rD4MhqYSu"},te={update:"update",extend:"extend"}},58338:(e,t,n)=>{"use strict";n.d(t,{qX:()=>N,c4:()=>U,mV:()=>X,hj:()=>V,_2:()=>H,BY:()=>$,jY:()=>ke,dT:()=>j,Sf:()=>ye,Pd:()=>K,px:()=>q,Bd:()=>Z,jO:()=>Y,Sl:()=>z,xw:()=>J,L5:()=>ee,fK:()=>te,Ke:()=>M,qE:()=>ne,c0:()=>G,bB:()=>ae,F7:()=>ie,bK:()=>he,mo:()=>re,a3:()=>se,_B:()=>ue,t1:()=>fe,uW:()=>ce,_M:()=>pe,hQ:()=>ve,wX:()=>de,KJ:()=>me,Ng:()=>le,P:()=>oe,Fd:()=>ge});var a=n(55096),r=n(6682),o=(n(93514),n(62953),n(3296),n(48408),n(76918),n(28706),n(50113),n(46449),n(74423),n(62062),n(23288),n(9868),n(26099),n(16034),n(27495),n(90906),n(38781),n(99449),n(21699),n(47764),n(14603),n(47566),n(98721),n(88947)),i=n.n(o),s=n(65984),u=n(91087),c=n(57889),l=n(16896),d=n(19636),p=n(41805),v=n(67892),f=n(81265),m=n(60346),g=n(65563),h=n(31189),A=n(59755),k=(n(18107),n(67357),{symbol:A.kf,name:A.fX,decimals:A.kS,contractId:A.cK}),y={symbol:"Pool Token",decimals:A.kS},b=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return function(o){var i,s,u,c,l,d,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,v=e(o),f=t(o),m=[];if(o.tx["return"]&&("tuple"===o.tx["return"].type||!n&&"list"===o.tx["return"].type)&&(m=o.tx["return"].value),((null===p||void 0===p?void 0:p[v.contractId])||v.isWrappedCoin)&&((null===p||void 0===p?void 0:p[f.contractId])||f.isWrappedCoin)){var g=v.isWrappedCoin?A.kf:null===p||void 0===p?void 0:p[v.contractId].symbol,h=f.isWrappedCoin?A.kf:null===p||void 0===p?void 0:p[f.contractId].symbol;d="".concat(g,"/").concat(h)}return{tokens:[Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},v),{amount:(null===(i=null===m||void 0===m?void 0:m[0])||void 0===i?void 0:i.value)||v.amount}),k),null===p||void 0===p?void 0:p[v.contractId]),{isReceived:"remove"===a}),Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},f),{amount:(null===(s=null===m||void 0===m?void 0:m[1])||void 0===s?void 0:s.value)||f.amount}),k),null===p||void 0===p?void 0:p[f.contractId]),{isReceived:"remove"===a||!a})].concat((0,r.A)(n?[Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},y),d?{symbol:d}:{}),{amount:(null===(u=null===m||void 0===m?void 0:m[2])||void 0===u?void 0:u.value)||n(o)}),null===p||void 0===p?void 0:p[null===(l=null===(c=o.tx.log)||void 0===c?void 0:c[0])||void 0===l?void 0:l.address]),{isReceived:a&&"add"===a,isPool:!0})]:[]))}}},w=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[4])||void 0===n?void 0:n.value,amount:null===(a=r[2])||void 0===a?void 0:a.value}}),(function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[1])||void 0===t?void 0:t.value,minAmount:null===(n=r[5])||void 0===n?void 0:n.value,amount:null===(a=r[3])||void 0===a?void 0:a.value}}),(function(e){var t,n,a,r,o=e.tx.arguments;return new m.A(null===(t=o[2])||void 0===t?void 0:t.value).times(null===(n=o[3])||void 0===n?void 0:n.value).sqrt().minus(null===(r=null===(a=o[7])||void 0===a?void 0:a.value[1])||void 0===r?void 0:r.value)}),"add"),C=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[2])||void 0===n?void 0:n.value,amount:null===(a=r[1])||void 0===a?void 0:a.value}}),(function(e){var t,n=e.tx,a=n.arguments,r=n.contractId,o=n.amount;return{contractId:r,minAmount:null===(t=a[3])||void 0===t?void 0:t.value,amount:o,isWrappedCoin:!0}}),(function(e){var t,n,a,r=e.tx,o=r.arguments,i=r.amount;return new m.A(null===(t=o[1])||void 0===t?void 0:t.value).times(i).sqrt().minus(null===(a=null===(n=o[5])||void 0===n?void 0:n.value[1])||void 0===a?void 0:a.value)}),"add"),x=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[3])||void 0===n?void 0:n.value,amount:null===(a=r[3])||void 0===a?void 0:a.value}}),(function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[1])||void 0===t?void 0:t.value,minAmount:null===(n=r[4])||void 0===n?void 0:n.value,amount:null===(a=r[4])||void 0===a?void 0:a.value}}),(function(e){var t,n=e.tx.arguments;return null===(t=n[2])||void 0===t?void 0:t.value}),"remove"),L=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[2])||void 0===n?void 0:n.value,amount:null===(a=r[2])||void 0===a?void 0:a.value}}),(function(e){var t,n,a=e.tx,r=a.arguments,o=a.contractId;return{contractId:o,minAmount:null===(t=r[3])||void 0===t?void 0:t.value,amount:null===(n=r[3])||void 0===n?void 0:n.value,isWrappedCoin:!0}}),(function(e){var t,n=e.tx.arguments;return null===(t=n[1])||void 0===t?void 0:t.value}),"remove"),S=b((function(e){var t,n,a,r,o=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=o[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,amount:null===(r=o[0])||void 0===r?void 0:r.value}}),(function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,minAmount:null===(r=i[1])||void 0===r?void 0:r.value,amount:null===(o=i[1])||void 0===o?void 0:o.value}})),T=b((function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,maxAmount:null===(r=i[1])||void 0===r?void 0:r.value,amount:null===(o=i[1])||void 0===o?void 0:o.value}}),(function(e){var t,n,a,r,o=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=o[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,amount:null===(r=o[0])||void 0===r?void 0:r.value}})),E=b((function(e){var t,n,a,r=e.tx,o=r.arguments,i=r.amount;return{contractId:null===(a=null===(n=null===(t=o[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,amount:i,isWrappedCoin:!0}}),(function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,minAmount:null===(r=i[0])||void 0===r?void 0:r.value,amount:null===(o=i[0])||void 0===o?void 0:o.value}})),I=b((function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,maxAmount:null===(r=i[1])||void 0===r?void 0:r.value,amount:null===(o=i[1])||void 0===o?void 0:o.value}}),(function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,minAmount:null===(r=i[0])||void 0===r?void 0:r.value,amount:null===(o=i[0])||void 0===o?void 0:o.value,isWrappedCoin:!0}})),_=b((function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,minAmount:null===(r=i[0])||void 0===r?void 0:r.value,amount:null===(o=i[0])||void 0===o?void 0:o.value}}),(function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,maxAmount:null===(r=i[1])||void 0===r?void 0:r.value,amount:null===(o=i[1])||void 0===o?void 0:o.value,isWrappedCoin:!0}})),W=b((function(e){var t,n,a,r=e.tx,o=r.arguments,i=r.amount;return{contractId:null===(a=null===(n=null===(t=o[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,amount:i,isWrappedCoin:!0}}),(function(e){var t,n,a,r,o=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=o[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,amount:null===(r=o[0])||void 0===r?void 0:r.value}})),F=function(e){var t,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{tokens:[Object.assign(Object.assign(Object.assign({amount:null===(n=null===(t=e.tx.arguments)||void 0===t?void 0:t[1])||void 0===n?void 0:n.value},k),{symbol:"Amount"}),null===a||void 0===a?void 0:a[e.tx.contractId])]}},D=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=(0,a.A)(e.tx.arguments,3),r=n[0],o=n[1],i=n[2],s=Object.assign(Object.assign(Object.assign({amount:null===i||void 0===i?void 0:i.value},k),{symbol:"Amount"}),null===t||void 0===t?void 0:t[e.tx.contractId]);return{tokens:[s],sender:null===r||void 0===r?void 0:r.value,recipient:null===o||void 0===o?void 0:o.value}},B=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{tokens:[Object.assign(Object.assign({},k),{amount:e.tx.amount,isReceived:!1,isWrappedCoin:!0}),Object.assign(Object.assign(Object.assign(Object.assign({},k),{amount:e.tx.amount,symbol:"WAE"}),null===t||void 0===t?void 0:t[e.tx.contractId]),{isReceived:!0})]}},P=function(e){var t,n,a,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{tokens:[Object.assign(Object.assign(Object.assign(Object.assign({},k),{amount:null===(n=null===(t=e.tx.arguments)||void 0===t?void 0:t[0])||void 0===n?void 0:n.value,symbol:"WAE"}),null===o||void 0===o?void 0:o[e.tx.contractId]),{isReceived:!1}),Object.assign(Object.assign({},k),{amount:null===(r=null===(a=e.tx.arguments)||void 0===a?void 0:a[0])||void 0===r?void 0:r.value,isReceived:!0,isWrappedCoin:!0})]}},O={addLiquidity:w,addLiquidityAe:C,removeLiquidity:x,removeLiquidityAe:L,swapExactTokensForTokens:S,swapExactTokensForAe:_,swapExactAeForTokens:E,swapTokensForExactTokens:T,swapTokensForExactAe:I,swapAeForExactTokens:W,changeAllowance:F,createAllowance:F,transferAllowance:D,deposit:B,withdraw:P};function M(e){return O[e]}var R=n(48287)["Buffer"];function N(e){return(0,s.ej)(e.toString(),{denomination:s.j8.AE,targetDenomination:s.j8.AETTOS})}function U(e){return(0,s.ej)(e.toString(),{denomination:s.j8.AETTOS,targetDenomination:s.j8.AE})}function X(e){return"".concat(A.s8,"?address=").concat(e)}function V(e){var t=new URL(A.Q5);return t.searchParams.set("wallet_address",e),t.toString()}function H(e,t,n){if(e&&t&&n){var a=new m.A(e).times(100).div(t),r=new m.A(n).times(a).div(100);return r.toFixed(0)}}function $(e){var t,n=e||{},a=n.tx,r=n.incomplete,o=n.pending;if(!(0,h.NC)(a.type,u.vw[u.vw.ContractCallTx]))return null;if(r||o)return{amount:a.amount,assetContractId:null!==(t=a.selectedTokenContractId)&&void 0!==t?t:a.contractId,to:r?a.recipientId:a.callerId};var i=(a.arguments||[]).map((function(e){return e.value}));switch(a["function"]){case A.vG.transfer:case A.vG.transferPayload:case A.vG.changeAllowance:case A.vG.createAllowance:return{to:i[0],amount:i[1],assetContractId:a.contractId};case A.vG.tipToken:return{url:i[0],note:i[1],amount:i[3],assetContractId:i[2]};case A.vG.retipToken:return{url:i[0],amount:i[2],assetContractId:i[1]};default:return null}}function j(e){return{address:e.gaAccountId,protocol:g.yv.aeternity,idx:0,globalIdx:0}}function K(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"account_pubkey";return(e.pointers&&e.pointers.find((function(e){var n=e.key;return n===t}))||{}).id}function q(e){return+U(new m.A(e||0).toNumber())}function G(e){return(null===e||void 0===e?void 0:e.accountId)||(null===e||void 0===e?void 0:e.callerId)||(null===e||void 0===e?void 0:e.ownerId)}function Q(e){return["GAMetaTx",u.vw[u.vw.GaMetaTx],u.vw[u.vw.PayingForTx]].includes(e.type)}function Z(e){var t;if(e)return Q(e)?null===(t=e.tx)||void 0===t?void 0:t.tx:e}function Y(e){return e.isMultisig?e:void 0}function z(e,t,n){var a=G(n);return e.address===a?A.Zi.current:t.find((function(e){var t=e.address;return t===a}))?A.Zi.subAccount:A.Zi.other}function J(e){return e.isMultisig?void 0:e}function ee(e){var t=Z(e.tx);return(null===t||void 0===t?void 0:t.payload)?(0,c.D4)(null===t||void 0===t?void 0:t.payload).toString():null}function te(e){var t,n;return e.tipUrl||e.url||!e.pending&&!e.claim&&(null===(t=e.tx.log)||void 0===t?void 0:t[0])&&(null===(n=e.tx)||void 0===n?void 0:n["function"])&&(0,h.mK)([A.vG.tip,A.vG.claim],e.tx["function"])&&(0,c.D4)(e.tx.log[0].data).toString()||""}function ne(e,t){if((null===e||void 0===e?void 0:e.tag)===u.vw.SpendTx)return e.senderId===t?g.NX.sent:g.NX.received;var n=["senderId","accountId","ownerId","callerId","payerId"];return n.map((function(t){return null===e||void 0===e?void 0:e[t]})).includes(t)?g.NX.sent:g.NX.received}function ae(e){return e.tag?e.tag:(0,h.NC)(e.type,"GAAttachTx")?u.vw.GaAttachTx:(0,h.NC)(e.type,"GAMetaTx")?u.vw.GaMetaTx:e.type in u.vw?u.vw[e.type]:null}function re(e){return e instanceof l.InvalidTxError&&(0,h.L4)(e,"InsufficientBalance")}function oe(e){try{var t=(0,d.pj)(e);return A.Mu.includes(t.tag)}catch(n){return!1}}function ie(e){return e.length<=A.d&&/^(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])+\.chain$/g.test(e)}function se(e){var t,n=null===(t=$(e))||void 0===t?void 0:t.assetContractId;return!!e.tx&&!!n&&n!==A.cK}function ue(e,t){var n=t||{},a=n.wae,o=void 0===a?[]:a,i=n.router,s=void 0===i?[]:i;return!!((null===e||void 0===e?void 0:e.contractId)&&(null===e||void 0===e?void 0:e["function"])&&Object.values(A.m5).flat().includes(e["function"])&&[].concat((0,r.A)(o),(0,r.A)(s)).includes(e.contractId))}function ce(e){return!!e&&(0,h.mK)(A.m5.allowance,e)}function le(e){return!!e&&(0,h.mK)(A.m5.swap,e)}function de(e){return!!e&&(0,h.mK)(A.m5.pool,e)}function pe(e){return!!e&&(0,h.mK)(A.m5.maxSpent,e)}function ve(e){return!!e&&(0,h.mK)(A.m5.minReceived,e)}function fe(e){return!!e&&(0,h.mK)(A.m5.addLiquidity,e)}function me(e){return!!e&&(0,h.mK)(A.m5.removeLiquidity,e)}function ge(e){var t=!!(null===e||void 0===e?void 0:e.endsWith(A.CT)),n=!1,r=null,o=null;if(e){var i=e.split("_"),s=(0,a.A)(i,2);r=s[0],o=s[1],n=A.gc.includes(r)&&g.xS.test(o)||t}return{valid:n,isName:t,prefix:r,hash:o}}function he(e){var t=ge(e),n=t.valid,a=t.prefix;return n&&a===p.W.ContractAddress}function Ae(e){return(0,v.pL)(e,p.W.AccountAddress)||(0,v.pL)(e,p.W.ContractAddress)||(0,v.pL)(e,p.W.OracleAddress)}function ke(e){return Ae(e)||(0,v.pL)(e,p.W.Channel)}function ye(e){return new f.A(R.from(e).length===A.TP?i().sign.keyPair.fromSeed(R.from(e)).secretKey:R.from(e))}},91392:(e,t,n)=>{"use strict";n.d(t,{L:()=>y});var a=n(2327),r=n(41417),o=n(13217),i=n(6624),s=n(217),u=(n(16280),n(76918),n(28706),n(74423),n(26099),n(21699),n(91087)),c=n(19636),l=n(31490),d=n(57889),p=n(67892),v=n(56158),f=n(68411),m=n(12082),g=n(65563),h=n(48287)["Buffer"],A=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},k=[u.vw.SpendTx,u.vw.PayingForTx],y=function(e){function t(e){var n;(0,r.A)(this,t),n=(0,i.A)(this,t);var a=(0,f.o)(),o=a.getLastActiveProtocolAccount;return n.address=o(g.yv.aeternity).address,n.nodeNetworkId=e,n}return(0,s.A)(t,e),(0,o.A)(t,[{key:"signTransaction",value:function(e,t){return A(this,void 0,void 0,(0,a.A)().mark((function n(){var r,o,i,s,p,v;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(this.nodeNetworkId.value){n.next=2;break}throw new Error("Not connected to any network");case 2:if(r=(0,c.pj)(e),k.includes(r.tag)&&!(null===t||void 0===t?void 0:t.aeppOrigin)){n.next=10;break}return o=(0,m.S)(),i=o.checkOrAskPermission,n.next=7,i(l.J8.sign,null===t||void 0===t?void 0:t.aeppOrigin,Object.assign(Object.assign({},t),{txBase64:e,tx:r}));case 7:if(s=n.sent,s){n.next=10;break}throw new l.A6("Rejected by user");case 10:return p=(0,d.D4)(e),n.next=13,this.sign(h.concat([h.from(this.nodeNetworkId.value),h.from(p)]),t);case 13:return v=n.sent,n.abrupt("return",(0,c.pr)({tag:u.vw.SignedTx,encodedTx:p,signatures:[v]}));case 15:case"end":return n.stop()}}),n,this)})))}},{key:"signMessage",value:function(e,t){return A(this,void 0,void 0,(0,a.A)().mark((function n(){var r,o,i;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(null===t||void 0===t?void 0:t.aeppOrigin)){n.next=7;break}return r=(0,m.S)(),o=r.checkOrAskPermission,n.next=4,o(l.J8.signMessage,t.aeppOrigin,{message:e});case 4:if(i=n.sent,i){n.next=7;break}throw new l.A6("Rejected by user");case 7:return n.abrupt("return",this.sign((0,p.JS)(e),t));case 8:case"end":return n.stop()}}),n,this)})))}},{key:"sign",value:function(e,t){return A(this,void 0,void 0,(0,a.A)().mark((function n(){var r,o,i,s;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=(0,f.o)(),o=r.getLastActiveProtocolAccount,i=r.getAccountByAddress,s=(null===t||void 0===t?void 0:t.fromAccount)?i(t.fromAccount):o(g.yv.aeternity),!s||!s.secretKey||s.protocol!==g.yv.aeternity){n.next=4;break}return n.abrupt("return",(0,p._S)(e,s.secretKey));case 4:throw new Error("Unsupported protocol");case 5:case"end":return n.stop()}}),n)})))}}]),t}(v.A)},12533:(e,t,n)=>{"use strict";n.d(t,{w:()=>d});var a=n(1287),r=n(41417),o=n(13217),i=n(6624),s=n(217),u=(n(28706),n(41805)),c=n(58338),l=n(41370),d=function(e){function t(e){var n;return(0,r.A)(this,t),n=(0,i.A)(this,t),n.explorerUrl=e,n}return(0,s.A)(t,e),(0,o.A)(t,[{key:"prepareUrlForHash",value:function(e){var n=t.getEndpointByHash(e);return n?"".concat(this.explorerUrl,"/").concat(n,"/").concat(e):void 0}},{key:"prepareUrlForAccount",value:function(e){return this.prepareUrlForHash(e)||"".concat(this.explorerUrl,"/accounts/").concat(e)}}],[{key:"getEndpointByHash",value:function(e){var n=(0,c.Fd)(e),a=n.valid,r=n.prefix;if(a&&r)return t.ADDRESS_TYPES[r]}}]),t}(l.s);d.ADDRESS_TYPES=(0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)({},u.W.AccountAddress,"accounts"),u.W.ContractAddress,"contracts"),u.W.Name,"names"),u.W.OracleAddress,"oracles/queries"),u.W.TxHash,"transactions")},28446:(e,t,n)=>{"use strict";n.d(t,{HF:()=>i,Hl:()=>p,Jb:()=>u,OX:()=>s,bR:()=>o,nM:()=>c,tW:()=>d,uR:()=>l});var a=n(1287),r=n(65563),o="bitcoin",i="BTC",s="Bitcoin",u=8,c="bitcoin",l=546,d=(0,a.A)((0,a.A)({},r.dk,{nodeUrl:"https://blockstream.info/api"}),r.Oj,{nodeUrl:"https://blockstream.info/testnet/api"}),p=(0,a.A)((0,a.A)({},r.dk,{explorerUrl:"https://blockstream.info"}),r.Oj,{explorerUrl:"https://blockstream.info/testnet"})},11948:(e,t,n)=>{"use strict";n.d(t,{n1:()=>u,nG:()=>s});var a=n(60346),r=n(65563),o=n(28446);function i(e){return e/Math.pow(10,o.Jb)}function s(e,t){var n,r;return new a.A((null===(n=e.tx)||void 0===n?void 0:n.amount)||0).plus(t?0:(null===(r=e.tx)||void 0===r?void 0:r.fee)||0).toNumber()}function u(e,t){var n=e.fee,a=e.status,s=e.txid,u=e.vin,c=e.vout;return{protocol:r.yv.bitcoin,transactionOwner:t,hash:s,blockHeight:a.block_height,microTime:1e3*a.block_time,pending:!a.confirmed,tx:{amount:i(c[0].value),fee:i(n),senderId:u[0].prevout.scriptpubkey_address,recipientId:c[0].scriptpubkey_address,type:"SpendTx",arguments:[],callerId:"",contractId:o.bR}}}},28388:(e,t,n)=>{"use strict";n.d(t,{G:()=>s});var a=n(20641),r=n(65563),o=n(81881),i=n(7595);function s(){var e=(0,o.f)(),t=e.activeNetwork,n=e.activeNetworkName,s=(0,a.EW)((function(){return t.value.protocols[r.yv.ethereum]})),u=(0,a.EW)((function(){var e=t.value.type===r.Qb?r.Oj:t.value.type,n=i.$F[e];return n||{}}));return{activeNetworkName:n,ethActiveNetworkSettings:s,ethActiveNetworkPredefinedSettings:u}}},7595:(e,t,n)=>{"use strict";n.d(t,{$F:()=>h,Dz:()=>o,Id:()=>m,LB:()=>s,RA:()=>g,Sf:()=>u,Xn:()=>i,hj:()=>l,iA:()=>f,nE:()=>v,un:()=>p,vZ:()=>A,xU:()=>c,z2:()=>d});var a=n(1287),r=n(65563),o="Ethereum",i="ethereum",s="0x0000000000000000000000000000000000000000",u="Ethereum",c="ETH",l=18,d="ethereum",p=21e3,v=3e4,f=[{constant:!0,inputs:[],name:"decimals",outputs:[{name:"",type:"uint8"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_to",type:"address"},{name:"_value",type:"uint256"}],name:"transfer",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"}],m=12,g=(0,a.A)((0,a.A)({},r.dk,{nodeUrl:"https://ethereum.publicnode.com",chainId:"0x1"}),r.Oj,{nodeUrl:"https://ethereum-sepolia.publicnode.com",chainId:"0xaa36a7"}),h=(0,a.A)((0,a.A)({},r.dk,{explorerUrl:"https://etherscan.io",middlewareUrl:"https://api.etherscan.io/api",tokenMiddlewareUrl:"https://api.ethplorer.io"}),r.Oj,{explorerUrl:"https://sepolia.etherscan.io",middlewareUrl:"https://api-sepolia.etherscan.io/api",tokenMiddlewareUrl:"https://sepolia-api.ethplorer.io"}),A=g[r.Oj]},31189:(e,t,n)=>{"use strict";n.d(t,{k0:()=>I,dP:()=>J,zw:()=>_,Vr:()=>W,DB:()=>fe,d3:()=>F,NC:()=>D,ee:()=>B,Jk:()=>P,pe:()=>M,L4:()=>O,y5:()=>we,__:()=>R,mX:()=>N,Ey:()=>U,x6:()=>X,Yq:()=>Ce,ZV:()=>xe,lv:()=>Le,fU:()=>Se,cr:()=>g,lk:()=>ge,$W:()=>V,yU:()=>ve,_S:()=>H,sY:()=>Ue,vQ:()=>Be,XK:()=>_e,xx:()=>Fe,fY:()=>K,mK:()=>q,oS:()=>G,go:()=>me,El:()=>Q,SN:()=>Me,Ks:()=>Oe,xB:()=>Z,EV:()=>Y,Fs:()=>z,B2:()=>te,dZ:()=>ne,d6:()=>Te,j0:()=>ae,sc:()=>$,pV:()=>j,Aq:()=>re,AP:()=>oe,yy:()=>ie,jL:()=>se,lS:()=>ue,Y9:()=>ce,Xz:()=>Ee,LV:()=>le,W5:()=>de,mU:()=>pe});var a=n(73808);n(76918),n(23288),n(26099),n(58940),n(27495),n(90906),n(38781),n(50375);function r(e){var t,n=40,a=16,r=0,o=0,i=encodeURI(e)+"%80",s=[],u=[],c=1732584193,l=4023233417,d=~c,p=~l,v=3285377520,f=[c,l,d,p,v],m=0,g="";function h(e,t){return e<>>32-t}for(;r>2]=s[o>>2]|("%"==i[r]?parseInt(i.substring(r+1,r+=3),16):i.charCodeAt(r++))<<8*(3-(3&o));for(t=(1+(o+7>>6))*a,s[t-1]=8*o-8;m>3]>>>4*(7-(7&r))&15).toString(16);return g}function o(e){return e|=0,e<0?"00":e<16?"0"+e.toString(16):e<256?e.toString(16):"ff"}function i(e,t,n){return n=n<0?n+6:n>6?n-6:n,o(255*(n<1?e+(t-e)*n:n<3?t:n<4?e+(t-e)*(4-n):e))}function s(e,t,n){var a;if(0==t){var r=o(255*n);a=r+r+r}else{var s=n<=.5?n*(t+1):n+t-n*t,u=2*n-s;a=i(u,s,6*e+2)+i(u,s,6*e)+i(u,s,6*e-2)}return"#"+a}function u(e,t,n){var a=[.55,.5,.5,.46,.6,.55,.55],r=a[6*e+.5|0];return n=n<.5?n*r*2:r+(n-.5)*(1-r)*2,s(e,t,n)}function c(e,t){return e=t.X(e),[u(e,t.F,t.G(0)),u(e,t.o,t.p(.5)),u(e,t.F,t.G(1)),u(e,t.o,t.p(1)),u(e,t.o,t.p(0))]}function l(e,t,n){return parseInt(e.substr(t,n),16)}function d(e){return r(null==e?"":""+e)}function p(e){return/^[0-9a-f]{11,}$/i.test(e)&&e}var v={lightness:{color:.57,grayscale:[.47,.58]},saturation:{color:.83,grayscale:.42},backColor:"#12121bff"};function f(e){if(/^#[0-9a-f]{3,8}$/i.test(e)){var t,n=e.length;if(n<6){var a=e[1],r=e[2],o=e[3],i=e[4]||"";t="#"+a+a+r+r+o+o+i+i}return(7==n||n>8)&&(t=e),t}}function m(e,t){var n="object"==(0,a.A)(e)&&e||rootConfigurationHolder[CONFIG_PROPERTIES.n]||GLOBAL[CONFIG_PROPERTIES.W]||{},r=n["lightness"]||{},o=n["saturation"]||{},i="color"in o?o["color"]:o,s=o["grayscale"],u=n["backColor"],c=n["padding"];function l(e,t){var n=r[e];return n&&n.length>1||(n=t),function(e){return e=n[0]+e*(n[1]-n[0]),e<0?0:e>1?1:e}}function d(e){var t,a=n["hues"];return a&&a.length>0&&(t=a[0|.999*e*a.length]),"number"==typeof t?(t/360%1+1)%1:e}return{X:d,o:"number"==typeof i?i:.5,F:"number"==typeof s?s:0,p:l("color",[.4,.8]),G:l("grayscale",[.3,.9]),H:f(u),Y:"number"==typeof e?e:"number"==typeof c?c:t}}var g=function(e){var t=p(e)||d(e),n=l(t,-7)/268435455,a=m(v,.08);return c(n,a)[4]},h=n(55096),A=n(2327),k=n(6682),y=(n(25440),n(62953),n(28706),n(88431),n(2008),n(48980),n(51629),n(23418),n(74423),n(64346),n(48598),n(8921),n(62062),n(44114),n(72712),n(34782),n(15086),n(26910),n(33110),n(36033),n(2892),n(40150),n(9868),n(5506),n(53921),n(79432),n(16034),n(99449),n(21699),n(47764),n(71761),n(11392),n(23500),n(76031),n(20641)),b=n(51543),w=n(73864),C=n(60346),x=n(40962),L=n(65563),S=n(44343),T=n(32118),E=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function I(e){var t=2,n="object"===(0,a.A)(e)?e:new C.A(Number(e));return n.lt(.01)&&n.toString().length-t0&&void 0!==arguments[0]?arguments[0]:{},t=e.protocol,n=e.idx;return[t?T.C.getAdapter(t).protocolName:null,(0,S.tg)("pages.account.heading"),(n||0)+1].filter(R).join(" ")}function H(e){var t=window.localStorage.getItem(ee(e));return t?JSON.parse(t):void 0}function $(e){return window.localStorage.removeItem([L.$m].concat((0,k.A)(e)).join("_"))}function j(e){return Object.fromEntries(Object.entries(e).filter((function(e){return void 0!==e[1]})))}function K(e){return console.warn("Unknown rejection",e)}function q(e,t){return e.includes(t)}function G(e){return E(this,void 0,void 0,(0,A.A)().mark((function t(){var n;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,x.S.canShare();case 2:if(n=t.sent.value,!n){t.next=6;break}return t.next=6,x.S.share({text:e});case 6:case"end":return t.stop()}}),t)})))}function Q(e){return 404===(null===e||void 0===e?void 0:e.statusCode)}function Z(e){return Object.values(e).some((function(e){return![null,void 0,!1].includes(e)}))}function Y(e){window.open(e,"_blank")}function z(e){return function(t){return e.reduce((function(e,t){return t(e)}),t)}}function J(e){var t=this;return function(n){return e.reduce((function(e,n){return E(t,void 0,void 0,(0,A.A)().mark((function t(){return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.t0=n,t.next=3,e;case 3:return t.t1=t.sent,t.abrupt("return",(0,t.t0)(t.t1));case 5:case"end":return t.stop()}}),t)})))}),Promise.resolve(n))}}function ee(e){return[L.$m].concat((0,k.A)(e)).join("_")}function te(e,t){return X(e,Object.assign(Object.assign({method:"post",headers:{"Content-Type":"application/json"}},t),{body:(null===t||void 0===t?void 0:t.body)&&JSON.stringify(t.body)}))}function ne(e){return e.map((function(e){return{text:V(e),value:e.address}}))}function ae(e){return(0,b.A)(e,(function(e,t){return e.hash===t.hash&&e.transactionOwner===t.transactionOwner}))}function re(e,t){var n=S.tg,a=60,r=60*a,o=24*r;return et?"...":""):""}function pe(e){return new Promise((function(t){var n=(0,y.wB)(e,(function(e){e&&(t(e),(0,w.A)((function(){return n()})))}),{immediate:!0})}))}function ve(e,t,n){return E(this,void 0,void 0,(0,A.A)().mark((function a(){var r,o,i;return(0,A.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:r=0,o=0,i=[];case 3:return a.prev=3,r=i.lastIndexOf(!0)+o,o+=i.length,a.next=8,Promise.all(Array.from(Array(L.E9+r-o+1).keys(),(function(e){return e+o})).map((function(a){return e(t(n,a).address)})));case 8:i=a.sent,a.next=14;break;case 11:return a.prev=11,a.t0=a["catch"](3),a.abrupt("break",15);case 14:if(-1!==i.lastIndexOf(!0)&&i.filter((function(e){return!e})).length!==L.E9){a.next=3;break}case 15:return a.abrupt("return",r);case 16:case"end":return a.stop()}}),a,null,[[3,11]])})))}function fe(e){var t=L.G9.endsWith("/")?L.G9.slice(0,-1):L.G9;return[e["x-success"],e["x-cancel"]].every((function(e){return e&&e.startsWith(t)}))}function me(e){return L.E4.some((function(t){return T.C.getAdapter(t).coinContractId===e}))}function ge(e){var t=Object.assign({},e);return null===t||void 0===t||delete t.onCompiler,null===t||void 0===t||delete t.onNode,t}n(3296),n(48408),n(14603),n(47566),n(98721);var he=n(74353),Ae=n.n(he),ke=n(6279),ye=n.n(ke);Ae().extend(ye());const be=Ae();function we(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/(\r\n|\n|\r|\n\r)/gm," ").replace(/"/g,"")}function Ce(e){return new Date(+e).toLocaleDateString(L.Xn,{year:"2-digit",month:"2-digit",day:"2-digit"})}function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Intl.NumberFormat(L.Xn,t).format(e)}function Le(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Intl.NumberFormat(L.Xn,t).formatToParts(e)}function Se(e){return new Date(+e).toLocaleTimeString(navigator.language,{timeStyle:"short"})}function Te(e){return be().to(be(e))}function Ee(e){return new URL(e.includes("://")?e:"https://".concat(e))}var Ie={ChannelCloseSoloTx:function(){return(0,S.tg)("transaction.type.channelCloseSoloTx")},ChannelSlashTx:function(){return(0,S.tg)("transaction.type.channelSlashTx")},ChannelSettleTx:function(){return(0,S.tg)("transaction.type.channelSettleTx")},ChannelSnapshotSoloTx:function(){return(0,S.tg)("transaction.type.channelSnapshotSoloTx")},ContractCreateTx:function(){return(0,S.tg)("transaction.type.contractCreateTx")},ContractCallTx:function(){return(0,S.tg)("transaction.type.contractCallTx")},GaMetaTx:function(){return(0,S.tg)("transaction.type.gaMetaTx")},GaAttachTx:function(){return(0,S.tg)("transaction.type.gaAttachTx")},NamePreclaimTx:function(){return(0,S.tg)("transaction.type.namePreclaimTx")},NameClaimTx:function(){return(0,S.tg)("transaction.type.nameClaimTx")},NameUpdateTx:function(){return(0,S.tg)("transaction.type.nameUpdateTx")},NameTransferTx:function(){return(0,S.tg)("transaction.type.nameTransferTx")},NameRevokeTx:function(){return(0,S.tg)("transaction.type.nameRevokeTx")},OracleRegisterTx:function(){return(0,S.tg)("transaction.type.oracleRegisterTx")},OracleExtendTx:function(){return(0,S.tg)("transaction.type.oracleExtendTx")},OracleQueryTx:function(){return(0,S.tg)("transaction.type.oraclePostQueryTx")},OracleResponseTx:function(){return(0,S.tg)("transaction.type.oracleRespondTx")},PayingForTx:function(){return(0,S.tg)("transaction.type.payingForTx")},SpendTx:function(){return(0,S.tg)("transaction.type.sentTx")}};function _e(e){var t=Ie[e];return t?t():""}var We={NamePreclaimTx:function(){return(0,S.tg)("transaction.listType.namePreclaimTx")},NameClaimTx:function(){return(0,S.tg)("transaction.listType.nameClaimTx")},NameUpdateTx:function(){return(0,S.tg)("transaction.listType.nameUpdateTx")},NameTransferTx:function(){return(0,S.tg)("transaction.listType.nameTransferTx")},NameRevokeTx:function(){return(0,S.tg)("transaction.listType.nameRevokeTx")},SpendTx:function(){return(0,S.tg)("transaction.listType.sentTx")}};function Fe(e){var t=We[e];return t?t():""}var De={propose:function(){return(0,S.tg)("transaction.function.propose")},revoke:function(){return(0,S.tg)("transaction.function.revoke")},refuse:function(){return(0,S.tg)("transaction.function.refuse")},confirm:function(){return(0,S.tg)("transaction.function.confirm")},tip_token:function(){return(0,S.tg)("transaction.function.tip_token")},retip_token:function(){return(0,S.tg)("transaction.function.retip_token")}};function Be(e){var t=De[e];return t?t():""}var Pe=n(57761);function Oe(e){try{var t=Ee(e);return["http:","https:"].includes(t.protocol)&&(0,Pe.isFQDN)(t.hostname)}catch(n){return!1}}function Me(e){return e&&e.split(" ").length>=L.TP}n(90744);var Re="//",Ne=[(0,S.tg)("validation.addressNotSameAs",[Re]),(0,S.tg)("validation.maxValueVault",[Re])];function Ue(e){return e?Ne.some((function(t){var n=t.split(Re);return e.startsWith(n[0])&&e.endsWith(n[1])}))?{status:"warning",text:e}:{status:"error",text:e}:{status:"success"}}},87053:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Fv)('',3),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},84648:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M5.95552 18.0443C6.147 18.2358 6.42146 18.3443 6.70868 18.3379L15.1274 18.3315C15.4274 18.3251 15.6635 18.2294 15.8486 18.0443C16.2507 17.6422 16.2571 17.0614 15.8678 16.672C15.6635 16.4678 15.4146 16.372 15.1529 16.3784L12.2616 16.3593L8.71921 16.5188L10.2957 15.121L18.0315 7.38527C18.4528 6.96401 18.4528 6.37681 18.0379 5.96194C17.6166 5.54068 17.0294 5.54068 16.6082 5.96194L8.8724 13.6977L7.48098 15.2678L7.63416 11.7319L7.61501 8.84051C7.6214 8.57883 7.52566 8.3299 7.32141 8.12566C6.93207 7.73632 6.35125 7.7427 5.94914 8.1448C5.76405 8.3299 5.66192 8.57244 5.65554 8.89796V17.2848C5.64916 17.572 5.75766 17.8464 5.95552 18.0443Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},65608:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M18.0314 5.95549C17.8399 5.76401 17.5655 5.65551 17.2782 5.66189L8.85952 5.66827C8.55954 5.67465 8.32338 5.77039 8.13828 5.95549C7.73618 6.3576 7.72979 6.93842 8.11914 7.32776C8.32338 7.532 8.5723 7.62775 8.83399 7.62136L11.7253 7.64051L15.2677 7.48094L13.6912 8.87874L5.95542 16.6145C5.53416 17.0358 5.53416 17.623 5.94903 18.0379C6.37029 18.4591 6.95749 18.4591 7.37875 18.0379L15.1145 10.3021L16.5059 8.73194L16.3528 12.2679L16.3719 15.1593C16.3655 15.421 16.4613 15.6699 16.6655 15.8741C17.0548 16.2635 17.6357 16.2571 18.0378 15.855C18.2229 15.6699 18.325 15.4273 18.3314 15.1018V6.71503C18.3378 6.42781 18.2293 6.15335 18.0314 5.95549Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},19298:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.167368 0.167368C0.390524 -0.0557892 0.752333 -0.0557892 0.97549 0.167368L4 3.19188L7.02451 0.167368C7.24767 -0.0557892 7.60948 -0.0557892 7.83263 0.167368C8.05579 0.390524 8.05579 0.752333 7.83263 0.97549L4.40406 4.40406C4.1809 4.62722 3.8191 4.62722 3.59594 4.40406L0.167368 0.97549C-0.0557892 0.752333 -0.0557892 0.390524 0.167368 0.167368Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},46841:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 11 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M2 20L9.40945 11.6644C9.74624 11.2855 9.74624 10.7145 9.40945 10.3356L2 2",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},5684:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M6.28388 16.2874C5.91275 16.6584 5.89508 17.321 6.29272 17.7008C6.67269 18.0984 7.34427 18.0807 7.7154 17.7097L12.0011 13.4251L16.2868 17.7097C16.6668 18.0895 17.3207 18.0984 17.7007 17.7008C18.0983 17.321 18.0895 16.6584 17.7095 16.2785L13.4238 11.994L17.7095 7.71829C18.0895 7.32959 18.0983 6.67587 17.7007 6.296C17.3207 5.89847 16.6668 5.9073 16.2868 6.28717L12.0011 10.5717L7.7154 6.28717C7.34427 5.91614 6.67269 5.89847 6.29272 6.296C5.89508 6.67587 5.91275 7.33843 6.28388 7.70946L10.5696 11.994L6.28388 16.2874Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},41970:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Fv)('',2),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},2041:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Fv)('',2),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},74462:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r={viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M15.8888 9.16675H10.3888C9.71383 9.16675 9.16663 9.71396 9.16663 10.389V15.889C9.16663 16.564 9.71383 17.1112 10.3888 17.1112H15.8888C16.5639 17.1112 17.1111 16.564 17.1111 15.889V10.389C17.1111 9.71396 16.5639 9.16675 15.8888 9.16675Z",stroke:"currentColor","stroke-opacity":"0.85","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),i=(0,a.Lk)("path",{d:"M6.72213 12.8334H6.11102C5.78686 12.8334 5.47599 12.7046 5.24677 12.4754C5.01756 12.2462 4.88879 11.9353 4.88879 11.6111V6.11114C4.88879 5.78698 5.01756 5.47611 5.24677 5.2469C5.47599 5.01769 5.78686 4.88892 6.11102 4.88892H11.611C11.9352 4.88892 12.246 5.01769 12.4753 5.2469C12.7045 5.47611 12.8332 5.78698 12.8332 6.11114V6.72225",stroke:"currentColor","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),s=[o,i];function u(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,s)}var c=n(66262);const l={},d=(0,c.A)(l,[["render",u]]),p=d},45799:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M19.2202 4.67847H4.77995C2.95486 4.67847 2.00006 5.62481 2.00006 7.43301V8.19346H22.0001V7.43301C22.0001 5.62481 21.0537 4.67847 19.2202 4.67847ZM5.53196 16.6176C5.03344 16.6176 4.69546 16.2881 4.69546 15.8065V14.2433C4.69546 13.7701 5.03344 13.4322 5.53196 13.4322H7.60209C8.09216 13.4322 8.43014 13.7701 8.43014 14.2433V15.8065C8.43014 16.2881 8.09216 16.6176 7.60209 16.6176H5.53196ZM4.77995 19.3215H19.2202C21.0537 19.3215 22.0001 18.3667 22.0001 16.5585V10.1791H2.00006V16.5585C2.00006 18.3751 2.95486 19.3215 4.77995 19.3215Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},78185:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M14.6667 11.6111V15.2778C14.6667 15.6019 14.5379 15.9128 14.3087 16.142C14.0795 16.3712 13.7686 16.5 13.4444 16.5H6.72222C6.39807 16.5 6.08719 16.3712 5.85798 16.142C5.62877 15.9128 5.5 15.6019 5.5 15.2778V8.55556C5.5 8.2314 5.62877 7.92052 5.85798 7.69131C6.08719 7.4621 6.39807 7.33333 6.72222 7.33333H10.3889M12.8333 5.5H16.5M16.5 5.5V9.16667M16.5 5.5L9.77778 12.2222",stroke:"currentColor","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},57171:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.33209 4.50633L11.0376 4.90916C11.2965 4.41113 11.8172 4.07007 12.4161 4.07007C13.0206 4.07007 13.5429 4.41086 13.8021 4.90849L17.5084 4.50633C18.2633 4.42241 18.8001 4.90057 18.8001 5.62204C18.8001 6.35197 18.2633 6.83845 17.5084 6.75467L13.8002 6.34499C13.6571 6.61958 13.4344 6.84584 13.1627 6.99368V8.00465H13.6662C14.3287 8.00465 14.7399 8.41567 14.7399 9.07846V10.0348H14.9665C15.3355 10.0348 15.4781 10.1438 15.6291 10.5633L16.1409 11.9476C16.1836 12.0645 16.2631 12.1613 16.3756 12.2165C16.4406 12.2483 16.5164 12.2663 16.6023 12.2663H16.963C19.6813 12.2663 22.5 13.8687 22.5 18.6422V19.4223C22.5 19.7747 22.3322 19.9341 21.9798 19.9341H18.9094C18.5571 19.9341 18.3976 19.7747 18.3976 19.4223V18.2563C18.3976 17.1489 17.7348 16.5365 16.9044 16.5365C16.468 16.5365 15.9731 16.7294 15.5955 17.1069C14.6561 17.9711 13.8088 18.5415 12.4078 18.5415C10.9984 18.5415 9.89919 17.8788 9.07715 16.9812C8.70816 16.5533 8.44793 16.4861 7.92774 16.4861H3.85056V17.9207C3.85056 18.2899 3.5487 18.6002 3.17112 18.6002C2.80212 18.6002 2.5 18.2899 2.5 17.9207V11.0667C2.5 10.6976 2.80212 10.3871 3.17112 10.3871C3.5487 10.3871 3.85056 10.6976 3.85056 11.0667V12.2663H8.21294C8.4396 12.2663 8.59885 12.1321 8.67459 11.9476L9.17786 10.5633C9.33711 10.1438 9.47139 10.0348 9.84065 10.0348H10.0754V9.07846C10.0754 8.41567 10.4865 8.00465 11.141 8.00465H11.6778V6.99516C11.406 6.84718 11.1831 6.62012 11.0397 6.34432L7.33209 6.75467C6.56886 6.83845 6.03175 6.35197 6.03175 5.62204C6.03175 4.90057 6.56886 4.42241 7.33209 4.50633Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},18427:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM8.14255 4.20915C5.32236 5.60819 3.37003 8.49343 3.30984 11.8406C3.96861 11.9404 4.59539 12.1157 4.63655 12.4582C4.65044 12.5704 4.65925 12.69 4.66784 12.8064C4.66952 12.8292 4.6712 12.8519 4.6729 12.8744L4.67296 12.8754C4.71136 13.4318 4.75104 14.0067 5.20353 14.2064C5.2495 14.2275 5.29937 14.2389 5.34995 14.2397C5.53998 14.2397 5.67809 14.069 5.82658 13.8619L5.84424 13.838C5.97508 13.6559 6.09865 13.4842 6.25961 13.4842C6.31785 13.4863 6.37406 13.5062 6.42056 13.5415C6.61654 13.6617 6.82176 13.7661 7.03427 13.8536L7.048 13.8598C7.59079 14.1038 8.19938 14.3774 8.19938 14.7901C8.19327 15.0147 8.1749 15.2388 8.14434 15.4613C8.09034 15.9202 8.0405 16.3531 8.19938 16.4624C8.67464 16.9005 9.08327 17.406 9.41225 17.9629C9.43 18.0796 9.45815 18.1945 9.49637 18.3063C9.61978 18.6222 9.67328 18.9613 9.65317 19.3C9.52869 19.6252 9.36796 19.9345 9.17453 20.222C10.0604 20.5264 11.0109 20.6916 12 20.6916C16.8002 20.6916 20.6916 16.8002 20.6916 12C20.6916 11.495 20.6485 11.0001 20.5659 10.5187C20.4129 10.7734 20.1635 11.0284 19.8966 11.3014L19.8858 11.3125C19.2627 11.9421 18.5659 12.6559 18.8089 13.6445C18.8228 13.6912 18.8267 13.7404 18.8204 13.7888C18.8142 13.8372 18.7979 13.8837 18.7726 13.9254C18.622 14.1679 18.1495 14.273 17.6428 14.3843C17.0949 14.4314 16.5773 14.6561 16.1682 15.0243C16.0585 15.1698 15.9142 15.2854 15.7484 15.3605C15.5825 15.4355 15.4006 15.4677 15.2191 15.454C14.7713 15.4352 14.3317 15.327 13.9263 15.1356C13.8639 15.111 13.7969 15.1003 13.73 15.1044C13.647 15.1044 13.5514 15.1134 13.4491 15.123C13.4413 15.1237 13.4336 15.1245 13.4258 15.1252H13.4081L13.4018 15.1258C13.2766 15.137 13.1643 15.1471 13.055 15.1471C12.9706 15.1577 12.8849 15.1502 12.8037 15.1251C12.7224 15.1 12.6474 15.0578 12.5836 15.0014C12.5433 14.948 12.5151 14.8865 12.5009 14.8211C12.4868 14.7556 12.487 14.6879 12.5016 14.6226C12.5846 13.9402 13.0517 13.7653 13.6434 13.5437C13.6566 13.5387 13.6704 13.5335 13.6838 13.5285C13.8313 13.4729 13.9839 13.4154 14.1391 13.3448C14.7799 13.0565 15.6916 12.2001 15.6615 11.8078C15.6585 11.768 15.6422 11.7303 15.6153 11.7009C15.5884 11.6715 15.5523 11.6519 15.513 11.6455C14.7158 11.3947 13.9842 10.9696 13.3709 10.401C12.7576 9.83232 12.2781 9.13429 11.9668 8.35729C11.9159 8.34688 11.8837 8.14917 11.8442 7.89839C11.758 7.35417 11.6262 6.53315 11.161 6.49777C11.1294 6.49777 11.0981 6.49597 11.0667 6.49415C11.035 6.49232 11.0032 6.49049 10.9709 6.49049C10.7902 6.49348 10.6098 6.50808 10.4309 6.53419C10.2375 6.56103 10.0426 6.57563 9.84735 6.5779C9.59361 6.57653 9.34067 6.54933 9.09242 6.49673C8.29387 6.3344 8.26168 5.88279 8.20561 4.98165C8.19127 4.75485 8.1739 4.49768 8.14255 4.20915Z",fill:"white"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},87398:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 34 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 8.09196L9.00282 0H24.9972L34 8.09196L17.0479 24L0 8.09196ZM10.0085 2.48276H14.893L25.3324 12.7356L17 20.5517L3.73521 8.13794L10.0085 2.48276Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},94386:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M16.8246 5.12346L17.9121 4.04114C18.4509 3.49998 18.4709 2.90871 17.982 2.40763L17.5929 2.00678C17.104 1.51572 16.4954 1.56583 15.9666 2.09697L14.8791 3.16927L16.8246 5.12346ZM4.60249 17.3797L15.8668 6.06547L13.9312 4.13133L2.66691 15.4255L1.68914 17.7906C1.57939 18.0912 1.88868 18.422 2.188 18.3117L4.60249 17.3797Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},71403:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M23.9903 44C34.9522 44 44 34.9478 44 24C44 13.0522 34.9328 4 23.971 4C13.0285 4 4 13.0522 4 24C4 34.9478 13.0478 44 23.9903 44ZM14.6332 24.0193C14.6332 22.8781 15.4451 22.0851 16.5665 22.0851H22.0764V16.5725C22.0764 15.4507 22.8497 14.6576 23.9517 14.6576C25.0923 14.6576 25.885 15.4507 25.885 16.5725V22.0851H31.4142C32.5162 22.0851 33.3282 22.8781 33.3282 24.0193C33.3282 25.1219 32.5162 25.9149 31.4142 25.9149H25.885V31.4275C25.885 32.53 25.0923 33.3424 23.9517 33.3424C22.8497 33.3424 22.0764 32.53 22.0764 31.4275V25.9149H16.5665C15.4451 25.9149 14.6332 25.1219 14.6332 24.0193Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},73665:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Fv)('',1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},1100:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M12 22C17.4695 22 22 17.4792 22 12C22 6.53049 17.4695 2 11.9903 2C6.52081 2 2 6.53049 2 12C2 17.4792 6.53049 22 12 22ZM12 20.0348C7.54695 20.0348 3.97483 16.453 3.97483 12C3.97483 7.54695 7.53727 3.97483 11.9903 3.97483C16.4434 3.97483 20.0252 7.54695 20.0348 12C20.0348 16.453 16.453 20.0348 12 20.0348Z",fill:"currentColor"},null,-1),i=(0,a.Lk)("path",{d:"M11.699 13.9913C12.2382 13.9894 12.5802 13.6843 12.6083 13.2822C12.6081 13.243 12.6079 13.194 12.6078 13.1646C12.6355 12.6547 12.9872 12.3103 13.623 11.8963C14.5816 11.2557 15.2071 10.6947 15.2031 9.55745C15.1974 7.92021 13.7236 6.99397 11.9883 7.00003C10.3118 7.00588 9.16744 7.77459 8.86674 8.69721C8.8085 8.86408 8.77967 9.03085 8.78028 9.20732C8.78193 9.6779 9.1555 9.97072 9.54765 9.96935C9.9104 9.96809 10.1452 9.82021 10.3403 9.55482L10.4965 9.35819C10.8182 8.81785 11.2877 8.5319 11.876 8.52984C12.6701 8.52707 13.2109 8.99577 13.2133 9.66244C13.2154 10.2801 12.8047 10.5854 11.9734 11.1668C11.279 11.6496 10.771 12.1612 10.7741 13.0533L10.7745 13.1612C10.7764 13.7102 11.1107 13.9933 11.699 13.9913ZM11.6997 17.0011C12.3271 16.9989 12.8451 16.5363 12.843 15.9187C12.8408 15.301 12.3196 14.8519 11.6922 14.8541C11.0549 14.8563 10.5467 15.3188 10.5488 15.9267C10.551 16.5443 11.0722 17.0033 11.6997 17.0011Z",fill:"currentColor"},null,-1),s=[o,i];function u(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,s)}var c=n(66262);const l={},d=(0,c.A)(l,[["render",u]]),p=d},36100:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r={viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("circle",{opacity:"0.5",cx:"8.50016",cy:"8.24998",r:"6.66667",fill:"currentColor"},null,-1),i=(0,a.Lk)("path",{d:"M4.5 8.39293C4.49979 8.02697 4.54964 7.6627 4.64819 7.31026L5.38191 7.51598C5.18682 8.21199 5.23051 8.95329 5.506 9.62157C5.7815 10.2898 6.27292 10.8466 6.90183 11.2029C7.53074 11.5592 8.26089 11.6946 8.97573 11.5874C9.69058 11.4802 10.3489 11.1367 10.8457 10.6116C11.3424 10.0865 11.649 9.41012 11.7164 8.69044C11.7838 7.97075 11.6081 7.24923 11.2175 6.64103C10.8269 6.03284 10.2438 5.57303 9.56123 5.335C8.87872 5.09696 8.13613 5.09442 7.452 5.32779L7.90571 5.86836C7.92848 5.89544 7.94326 5.92832 7.94838 5.96332C7.95351 5.99832 7.94879 6.03406 7.93475 6.06653C7.92071 6.09901 7.89791 6.12692 7.86889 6.14716C7.83988 6.1674 7.8058 6.17916 7.77048 6.18112L5.91638 6.28588C5.88665 6.28777 5.85689 6.28265 5.8295 6.27095C5.8021 6.25925 5.77783 6.24128 5.75864 6.2185C5.73945 6.19571 5.72587 6.16874 5.71899 6.13976C5.71212 6.11077 5.71214 6.08057 5.71905 6.0516L6.15029 4.24931C6.15851 4.21508 6.17606 4.1838 6.20099 4.15894C6.22592 4.13407 6.25725 4.11661 6.29151 4.10848C6.32576 4.10035 6.3616 4.10187 6.39504 4.11288C6.42849 4.12389 6.45822 4.14395 6.48095 4.17084L6.93429 4.71255C7.72546 4.37601 8.60402 4.30335 9.43974 4.50534C10.2755 4.70733 11.0238 5.17323 11.574 5.83397C12.1241 6.49471 12.4467 7.31512 12.494 8.1736C12.5412 9.03209 12.3106 9.88294 11.8363 10.6001C11.3619 11.3172 10.6692 11.8624 9.86068 12.1548C9.05217 12.4473 8.17094 12.4715 7.34761 12.2238C6.52429 11.9761 5.80268 11.4697 5.28976 10.7797C4.77684 10.0896 4.4999 9.25271 4.5 8.39293Z",fill:"currentColor"},null,-1),s=[o,i];function u(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,s)}var c=n(66262);const l={},d=(0,c.A)(l,[["render",u]]),p=d},43226:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.1111 15.9498C13.8923 16.4718 14.8107 16.7504 15.7502 16.7504C17.01 16.7504 18.2182 16.2499 19.1091 15.3591C19.9999 14.4682 20.5004 13.26 20.5004 12.0002C20.5004 11.0607 20.2218 10.1423 19.6998 9.36112C19.1779 8.57996 18.436 7.97112 17.568 7.61159C16.7 7.25206 15.7449 7.15799 14.8235 7.34128C13.902 7.52456 13.0556 7.97697 12.3913 8.6413C11.727 9.30562 11.2746 10.152 11.0913 11.0735C10.908 11.9949 11.0021 12.95 11.3616 13.818C11.7211 14.686 12.33 15.4279 13.1111 15.9498ZM12.2778 17.197C13.3056 17.8838 14.514 18.2504 15.7502 18.2504C17.4078 18.2504 18.9976 17.5919 20.1697 16.4197C21.3419 15.2476 22.0004 13.6578 22.0004 12.0002C22.0004 10.764 21.6338 9.55561 20.947 8.52777C20.2602 7.49993 19.2841 6.69883 18.142 6.22577C17 5.75271 15.7433 5.62893 14.5308 5.8701C13.3184 6.11126 12.2047 6.70653 11.3306 7.58064C10.4565 8.45474 9.86126 9.56842 9.6201 10.7808C9.37893 11.9933 9.50271 13.25 9.97577 14.392C10.4488 15.5341 11.2499 16.5102 12.2778 17.197Z",fill:"currentColor"},null,-1),i=(0,a.Lk)("path",{d:"M8.25018 18.2504C7.01402 18.2504 5.80561 17.8838 4.77777 17.197C3.74993 16.5102 2.94883 15.5341 2.47577 14.392C2.00271 13.25 1.87893 11.9933 2.1201 10.7808C2.36126 9.56842 2.95653 8.45474 3.83064 7.58064C4.70474 6.70653 5.81842 6.11126 7.03083 5.8701C8.24325 5.62893 9.49995 5.75271 10.642 6.22577C11.7841 6.69883 12.7602 7.49993 13.447 8.52777C14.1338 9.55561 14.5004 10.764 14.5004 12.0002C14.5004 13.6578 13.8419 15.2476 12.6697 16.4197C11.4976 17.5919 9.90784 18.2504 8.25018 18.2504Z",fill:"currentColor"},null,-1),s=[o,i];function u(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,s)}var c=n(66262);const l={},d=(0,c.A)(l,[["render",u]]),p=d},35240:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M6.47614 18.3334H13.5317C14.5524 18.3334 15.1485 17.7895 15.1932 16.7763L15.6626 6.01036H16.6907C17.0707 6.01036 17.3613 5.71234 17.3613 5.33982C17.3613 4.9673 17.0632 4.68418 16.6907 4.68418H13.4572V3.56661C13.4572 2.37454 12.6898 1.66675 11.4083 1.66675H8.57717C7.29569 1.66675 6.5283 2.37454 6.5283 3.56661V4.68418H3.3097C2.93718 4.68418 2.63916 4.97475 2.63916 5.33982C2.63916 5.7198 2.93718 6.01036 3.3097 6.01036H4.34531L4.82214 16.7763C4.8594 17.7895 5.45543 18.3334 6.47614 18.3334ZM8.07799 3.63367C8.07799 3.2984 8.30896 3.08233 8.68148 3.08233H11.3115C11.684 3.08233 11.915 3.2984 11.915 3.63367V4.68418H8.07799V3.63367ZM7.60861 16.0461C7.3106 16.0461 7.10198 15.8524 7.09453 15.5544L6.87102 7.64201C6.86357 7.34399 7.07218 7.14283 7.3851 7.14283C7.68312 7.14283 7.89173 7.33654 7.89918 7.63456L8.12269 15.5469C8.1376 15.845 7.92898 16.0461 7.60861 16.0461ZM10.0002 16.0461C9.68729 16.0461 9.47868 15.8524 9.47868 15.5544V7.63456C9.47868 7.34399 9.68729 7.14283 10.0002 7.14283C10.3131 7.14283 10.5292 7.34399 10.5292 7.63456V15.5544C10.5292 15.8524 10.3131 16.0461 10.0002 16.0461ZM12.3918 16.0536C12.0714 16.0536 11.8628 15.845 11.8777 15.5544L12.1012 7.63456C12.1087 7.33654 12.3173 7.14283 12.6153 7.14283C12.9282 7.14283 13.1369 7.34399 13.1294 7.64201L12.9059 15.5544C12.8984 15.8524 12.6898 16.0536 12.3918 16.0536Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},29592:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r={viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{opacity:"0.5",d:"M10.5001 18.8333C15.1025 18.8333 18.8334 15.1024 18.8334 10.5C18.8334 5.89763 15.1025 2.16667 10.5001 2.16667C5.89771 2.16667 2.16675 5.89763 2.16675 10.5C2.16675 15.1024 5.89771 18.8333 10.5001 18.8333Z",fill:"currentColor"},null,-1),i=(0,a.Lk)("path",{d:"M11.3334 7.16666C11.3334 6.70642 10.9603 6.33333 10.5001 6.33333C10.0398 6.33333 9.66675 6.70642 9.66675 7.16666V12.1667C9.66675 12.6269 10.0398 13 10.5001 13C10.9603 13 11.3334 12.6269 11.3334 12.1667V7.16666Z",fill:"currentColor"},null,-1),s=(0,a.Lk)("path",{d:"M11.3334 14.6667C11.3334 14.2064 10.9603 13.8333 10.5001 13.8333C10.0398 13.8333 9.66675 14.2064 9.66675 14.6667C9.66675 15.1269 10.0398 15.5 10.5001 15.5C10.9603 15.5 11.3334 15.1269 11.3334 14.6667Z",fill:"currentColor"},null,-1),u=[o,i,s];function c(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,u)}var l=n(66262);const d={},p=(0,l.A)(d,[["render",c]]),v=p},54598:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 160 160"},o=(0,a.Fv)('',3),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},58071:(e,t,n)=>{"use strict";n.d(t,{A:()=>T});var a=n(20641),r=n(90033),o=["data-account-address"],i={class:"account-info-wrapper"},s={class:"buttons"},u={ref:"headerEl",class:"header"};function c(e,t,n,c,l,d){var p=(0,a.g2)("AccountInfo"),v=(0,a.g2)("BtnClose"),f=(0,a.g2)("BalanceInfo"),m=(0,a.g2)("OpenTransferReceiveModalButton"),g=(0,a.g2)("OpenTransferSendModalButton"),h=(0,a.g2)("TransactionAndTokenFilter"),A=(0,a.g2)("IonRouterOutlet");return(0,a.uX)(),(0,a.CE)("div",{class:"account-details","data-account-address":e.activeAccount.address},[(0,a.Lk)("div",i,[e.$slots["account-info"]?(0,a.RG)(e.$slots,"account-info",{key:0},void 0,!0):((0,a.uX)(),(0,a.Wv)(p,{key:1,account:e.activeAccount,"can-copy-address":"","show-protocol-icon":""},null,8,["account"])),(0,a.bF)(v,{"data-cy":"btn-close",class:"close-button",onClick:e.close},null,8,["onClick"])]),(0,a.Lk)("div",null,[e.$slots.balance?(0,a.RG)(e.$slots,"balance",{key:0},void 0,!0):((0,a.uX)(),(0,a.Wv)(f,{key:1,balance:e.balanceNumeric,protocol:e.activeAccount.protocol,"horizontal-offline-message":""},null,8,["balance","protocol"])),(0,a.Lk)("div",s,[e.withoutDefaultButtons?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)(a.FK,{key:0},[(0,a.bF)(m),(0,a.bF)(g)],64)),e.$slots.buttons?(0,a.RG)(e.$slots,"buttons",{key:1},void 0,!0):(0,a.Q3)("",!0)]),(0,a.Lk)("div",u,[(0,a.RG)(e.$slots,"navigation",{},void 0,!0),((0,a.uX)(),(0,a.Wv)(h,{key:e.routeName,"show-filters":e.isScrollEnabled},null,8,["show-filters"]))],512),(0,a.Lk)("div",{class:"tabs-content",style:(0,r.Tr)({height:e.routerHeight||"".concat(e.INITIAL_TABS_HEIGHT,"px")})},[(0,a.bF)(A,{animated:!e.IS_FIREFOX,animation:e.fadeAnimation},null,8,["animated","animation"])],4)])],8,o)}n(62010),n(76031);var l=n(62759),d=n(79417),p=n(50953),v=n(75220),f=n(65563),m=n(84754),g=n(44416),h=n(15653),A=n(65568),k=n(20756),y=n(39098),b=n(86295),w=n(8666),C=330;const x=(0,a.pM)({name:"AccountDetailsBase",components:{AccountInfo:y.A,BalanceInfo:k.A,OpenTransferSendModalButton:A.A,OpenTransferReceiveModalButton:h.A,TransactionAndTokenFilter:w.A,BtnClose:b.A,IonRouterOutlet:l.Rg},props:{withoutDefaultButtons:Boolean},setup:function(){var e=(0,v.lq)(),t=(0,l.jq)(),n=(0,m.oV)(),r=n.activeAccount,o=(0,m.J$)(),i=o.isScrollEnabled,s=(0,m.mv)(),u=s.homeRouteName,c=(0,m.ty)(),h=c.balance,A=(0,p.KR)(),k=(0,p.KR)(),y=(0,p.KR)(),b=(0,a.EW)((function(){return h.value.toNumber()})),w=(0,a.EW)((function(){return e.name}));function x(){var e,t,n,a,r=null===(t=null===(e=document.querySelector("#app-wrapper"))||void 0===e?void 0:e.getBoundingClientRect())||void 0===t?void 0:t.bottom,o=null===(a=null===(n=k.value)||void 0===n?void 0:n.getBoundingClientRect())||void 0===a?void 0:a.bottom,i=Math.ceil(r-o);A.value="".concat(i,"px")}function L(){t.navigate({name:u.value},"back","push",g.KR)}function S(){y.value=new ResizeObserver(x),y.value.observe(k.value)}return(0,a.sV)((function(){S(),setTimeout((function(){x()}),150),f.I$&&d.eA.setBackgroundColor({color:"#191919"})})),(0,a.xo)((function(){var e;null===(e=y.value)||void 0===e||e.disconnect(),f.I$&&d.eA.setBackgroundColor({color:"#141414"})})),{close:L,headerEl:k,homeRouteName:u,routeName:w,balanceNumeric:b,activeAccount:r,routerHeight:A,isScrollEnabled:i,fadeAnimation:g.r4,IS_FIREFOX:f.$M,INITIAL_TABS_HEIGHT:C}}});var L=n(66262);const S=(0,L.A)(x,[["render",c],["__scopeId","data-v-94271d80"]]),T=S},94449:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var a=n(20641),r={class:"account-details-navigation"},o={key:0,class:"sub-tabs"};function i(e,t,n,i,s,u){var c=(0,a.g2)("Tab"),l=(0,a.g2)("Tabs"),d=(0,a.g2)("BtnPill");return(0,a.uX)(),(0,a.CE)("div",r,[(0,a.bF)(l,null,{default:(0,a.k6)((function(){return[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.currentTabs,(function(e){return(0,a.uX)(),(0,a.Wv)(c,{key:e.routeName,"exact-path":e.exact,to:{name:e.routeName},text:e.text,"data-cy":e.routeName},null,8,["exact-path","to","text","data-cy"])})),128))]})),_:1}),e.isOnline&&e.currentSubTabs.length?((0,a.uX)(),(0,a.CE)("div",o,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.currentSubTabs,(function(e){return(0,a.uX)(),(0,a.Wv)(d,{key:e.routeName,to:{name:e.routeName},text:e.text,exact:e.exact},null,8,["to","text","exact"])})),128))])):(0,a.Q3)("",!0)])}var s=n(1287),u=(n(88431),n(50113),n(62062),n(15086),n(62010),n(26099),n(75220)),c=n(46992),l=n(84754),d=n(90973),p=n(15320),v=n(56633),f=n(90640),m=(0,s.A)((0,s.A)((0,s.A)((0,s.A)((0,s.A)((0,s.A)({},d.no,d.no),d.r9,d.r9),d.ao,d.ao),d.uc,d.uc),d.n3,d.n3),d.kb,d.kb);const g=(0,a.pM)({name:"AccountDetailsNavigation",components:{Tabs:f.A,Tab:v.A,BtnPill:p.A},props:{routeNames:{type:Array,required:!0,validator:function(e){return e.every((function(e){return!!m[e]}))}}},setup:function(e){var t=(0,u.lq)(),n=(0,c.s9)(),r=n.t,o=(0,l.w5)(),i=o.isOnline,p=(0,s.A)((0,s.A)((0,s.A)((0,s.A)((0,s.A)((0,s.A)({},d.no,{text:r("modals.accountDetails.transactions"),exact:!0}),d.r9,{text:r("modals.accountDetails.assets")}),d.ao,{text:r("modals.accountDetails.names"),children:[{text:r("pages.names.tabs.my-names"),routeName:d.ao,exact:!0},{text:r("pages.names.tabs.auctions"),routeName:d.tl},{text:r("pages.names.tabs.register"),routeName:d.PC}]}),d.uc,{text:r("modals.accountDetails.transactions"),exact:!0}),d.kb,{text:r("modals.accountDetails.assets")}),d.n3,{text:r("modals.accountDetails.details")}),v=e.routeNames.map((function(e){return Object.assign({routeName:e},p[e])})),f=(0,a.EW)((function(){var e;return(null===(e=v.find((function(e){var n=e.children;return null===n||void 0===n?void 0:n.some((function(e){var n=e.routeName;return n===t.name}))})))||void 0===e?void 0:e.children)||[]}));return{isOnline:i,currentTabs:v,currentSubTabs:f}}});var h=n(66262);const A=(0,h.A)(g,[["render",i],["__scopeId","data-v-c5baaaf6"]]),k=A},39098:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});n(62010);var a=n(20641),r=n(90033),o=["textContent"],i={key:1,class:"account-name-truncated"},s=["textContent"],u={key:0,class:"account-address"};function c(e,t,n,c,l,d){var p=(0,a.g2)("Avatar"),v=(0,a.g2)("Truncate"),f=(0,a.g2)("AddressTruncated"),m=(0,a.g2)("CopyText");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["account-info",{"can-copy-address":e.canCopyAddress}])},[(0,a.bF)(p,{class:"avatar",address:e.account.address,name:e.name,size:e.avatarSize,borderless:e.avatarBorderless,"is-placeholder":e.isPlaceholder},null,8,["address","name","size","borderless","is-placeholder"]),(0,a.Lk)("div",{class:(0,r.C4)(["account-details",{"list-name":e.isListName}])},[e.isMultisig?((0,a.uX)(),(0,a.CE)("div",{key:0,class:"account-name",textContent:(0,r.v_)(e.$t("multisig.multisigVault"))},null,8,o)):e.name?((0,a.uX)(),(0,a.CE)("div",i,[(0,a.bF)(v,{str:e.name},null,8,["str"])])):((0,a.uX)(),(0,a.CE)("div",{key:2,"data-cy":"account-name-number",class:"account-name",textContent:(0,r.v_)(e.getDefaultAccountLabel(e.account))},null,8,s)),(0,a.RG)(e.$slots,"address",{},(function(){var t;return[(null===(t=e.account.address)||void 0===t?void 0:t.length)?((0,a.uX)(),(0,a.CE)("div",u,[(0,a.bF)(m,{"data-cy":"copy",value:e.account.address,disabled:!e.canCopyAddress},{default:(0,a.k6)((function(){return[(0,a.bF)(f,{address:e.account.address,protocol:e.account.protocol,"show-protocol-icon":e.showProtocolIcon,class:"ae-address"},null,8,["address","protocol","show-protocol-icon"])]})),_:1},8,["value","disabled"])])):(0,a.Q3)("",!0)]}),!0)],2)],2)}var l=n(31189),d=n(32118),p=n(49012),v=n(59480),f=n(20789),m=n(39893),g=n(28192);const h=(0,a.pM)({components:{AddressTruncated:g.A,Avatar:v.A,Truncate:m.A,CopyText:f.A},props:{account:{type:Object,required:!0},avatarSize:{type:String,default:"lg"},canCopyAddress:Boolean,isMultisig:Boolean,avatarBorderless:Boolean,isListName:Boolean,isPlaceholder:Boolean,showProtocolIcon:Boolean},setup:function(e){var t=(0,p.q)(),n=t.getName,r=(0,a.EW)((function(){return n(e.account.address).value})),o=(0,a.EW)((function(){return e.account.protocol?d.C.getAdapter(e.account.protocol).getExplorer().prepareUrlForAccount(e.account.address):""}));return{name:r,explorerUrl:o,getDefaultAccountLabel:l.$W}}});var A=n(66262);const k=(0,A.A)(h,[["render",c],["__scopeId","data-v-bf1c6ab4"]]),y=k},29086:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});n(62010);var a=n(20641),r=n(90033),o={key:0,class:"name"};function i(e,t,n,i,s,u){var c=(0,a.g2)("Avatar"),l=(0,a.g2)("ProtocolIcon"),d=(0,a.g2)("Truncate"),p=(0,a.g2)("AddressTruncated"),v=(0,a.g2)("ExternalLinkIcon"),f=(0,a.g2)("LinkButton");return(0,a.uX)(),(0,a.Wv)(f,{to:e.explorerUrl,class:"account-item",variant:"muted"},{icon:(0,a.k6)((function(){return[(0,a.bF)(v,{class:"external-link-icon"})]})),default:(0,a.k6)((function(){return[(0,a.Lk)("div",{class:(0,r.C4)(["avatar-wrapper",{"has-protocol-icon":e.protocol}])},[(0,a.bF)(c,{address:e.address,name:e.name,class:(0,r.C4)({avatar:e.protocol}),size:"sm"},null,8,["address","name","class"]),e.protocol?((0,a.uX)(),(0,a.Wv)(l,{key:0,protocol:e.protocol,"icon-size":"xs",class:"protocol-icon"},null,8,["protocol"])):(0,a.Q3)("",!0)],2),e.name?((0,a.uX)(),(0,a.CE)("span",o,[(0,a.bF)(d,{class:(0,r.C4)([e.size]),str:e.name},null,8,["class","str"])])):((0,a.uX)(),(0,a.Wv)(p,{key:1,class:"address",address:e.address,protocol:e.protocol},null,8,["address","protocol"]))]})),_:1},8,["to"])}n(74423);var s=n(32118),u=n(28192),c=n(59480),l=n(47206),d=n(39893),p=n(62376),v=n(78185),f=["rg","md"];const m=(0,a.pM)({components:{ProtocolIcon:p.A,Avatar:c.A,AddressTruncated:u.A,ExternalLinkIcon:v.A,LinkButton:l.A,Truncate:d.A},props:{address:{type:String,required:!0},name:{type:String,default:""},protocol:{type:String,required:!0},size:{type:String,default:"rg",validator:function(e){return f.includes(e)}}},setup:function(e){var t=(0,a.EW)((function(){return s.C.getAdapter(e.protocol).getExplorer().prepareUrlForAccount(e.address)}));return{explorerUrl:t}}});var g=n(66262);const h=(0,g.A)(m,[["render",i],["__scopeId","data-v-4a2fe2f6"]]),A=h},74295:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r=n(90033),o={class:"address-formatted"},i={key:1};function s(e,t,n,s,u,c){return(0,a.uX)(),(0,a.CE)("div",o,[e.isAddress?((0,a.uX)(!0),(0,a.CE)(a.FK,{key:0},(0,a.pI)(e.addressChunks,(function(t,n){return(0,a.uX)(),(0,a.CE)("span",{key:n,class:(0,r.C4)(["address-formatted-chunk",{"align-right":e.alignRight}]),style:(0,r.Tr)(e.cssVariable)},(0,r.v_)(t),7)})),128)):((0,a.uX)(),(0,a.CE)("span",i,(0,r.v_)(e.address),1))])}n(28706),n(62062),n(2892),n(27495),n(71761),n(42781);var u=n(84754),c=n(32118);const l=(0,a.pM)({props:{address:{type:String,required:!0},columnCount:{type:Number,default:6},alignRight:Boolean},setup:function(e){var t=3,n=(0,u.fI)(),r=n.activeNetwork;function o(e){return e.length===t?e:"".concat(e).concat(" ".repeat(t-e.length))}var i=(0,a.EW)((function(){var t,n=null===(t=r.value)||void 0===t?void 0:t.type;return!!c.C.getAdapterByAddressOrNameEncoding(e.address,n)})),s=(0,a.EW)((function(){var t;return null===(t=e.address.match(/.{1,3}/g))||void 0===t?void 0:t.map(o)})),l=(0,a.EW)((function(){return{"--column-width":"".concat(100/e.columnCount,"%")}}));return{prepareChunk:o,isAddress:i,addressChunks:s,cssVariable:l}}});var d=n(66262);const p=(0,d.A)(l,[["render",s],["__scopeId","data-v-d647dd4e"]]),v=p},28192:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var a=n(20641),r=n(90033),o=function(e){return(0,a.Qi)("data-v-f112ca60"),e=e(),(0,a.jt)(),e},i={class:"address-truncated"},s={class:"address-truncated-chunks"},u={class:"address-chunk"},c=o((function(){return(0,a.Lk)("span",{class:"dots"}," ··· ",-1)})),l={class:"address-chunk"};function d(e,t,n,o,d,p){var v=(0,a.g2)("ProtocolIcon"),f=(0,a.g2)("ExternalLinkIcon"),m=(0,a.g2)("LinkButton");return(0,a.uX)(),(0,a.CE)("div",i,[e.showProtocolIcon?((0,a.uX)(),(0,a.Wv)(v,{key:0,protocol:e.protocol,class:"protocol-icon"},null,8,["protocol"])):(0,a.Q3)("",!0),(0,a.Lk)("div",s,[(0,a.Lk)("span",u,(0,r.v_)(e.truncatedAddress[0]),1),c,(0,a.Lk)("span",l,(0,r.v_)(e.truncatedAddress[1]),1)]),e.showExplorerLink?((0,a.uX)(),(0,a.Wv)(m,{key:1,to:e.explorerUrl,class:"external-link"},{icon:(0,a.k6)((function(){return[(0,a.bF)(f,{class:"external-link-icon"})]})),_:1},8,["to"])):(0,a.Q3)("",!0)])}var p=n(31189),v=n(32118),f=n(78185),m=n(62376),g=n(47206);const h=(0,a.pM)({components:{ProtocolIcon:m.A,LinkButton:g.A,ExternalLinkIcon:f.A},props:{address:{type:String,required:!0},protocol:{type:String,required:!0},showExplorerLink:Boolean,showProtocolIcon:Boolean},setup:function(e){var t=(0,a.EW)((function(){return(0,p.LV)(e.address)})),n=(0,a.EW)((function(){return v.C.getAdapter(e.protocol).getExplorer().prepareUrlForAccount(e.address)}));return{truncatedAddress:t,explorerUrl:n}}});var A=n(66262);const k=(0,A.A)(h,[["render",d],["__scopeId","data-v-f112ca60"]]),y=k},50118:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={class:"tokens-list"};function o(e,t,n,o,i,s){var u=(0,a.g2)("AssetListItem");return(0,a.uX)(),(0,a.CE)("div",r,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.accountAssetsFiltered,(function(t){return(0,a.uX)(),(0,a.Wv)(u,{key:t.contractId,asset:t,"is-multisig":e.isMultisig},null,8,["asset","is-multisig"])})),128))])}var i=n(84754),s=n(87862);const u=(0,a.pM)({components:{AssetListItem:s.A},props:{searchTerm:{type:String,default:""},ownedOnly:Boolean,isMultisig:Boolean},setup:function(e){var t=(0,i.Sr)({ownedOnly:e.ownedOnly,searchTerm:(0,a.EW)((function(){return e.searchTerm})),isMultisig:e.isMultisig}),n=t.accountAssetsFiltered;return{accountAssetsFiltered:n}}});var c=n(66262);const l=(0,c.A)(u,[["render",o]]),d=l},87862:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var a=n(20641),r=n(90033),o={class:"row"},i={key:0,class:"row bottom"},s={class:"price"},u={class:"price"};function c(e,t,n,c,l,d){var p=(0,a.g2)("Tokens"),v=(0,a.g2)("TokenAmount"),f=(0,a.g2)("ListItemWrapper");return e.asset?((0,a.uX)(),(0,a.Wv)(f,(0,a.v6)({key:0},e.$attrs,{class:"tokens-list-item",to:e.preventNavigation?null:{name:e.targetRouteName,params:{id:e.asset.contractId}},replace:"",extend:e.preventNavigation,selected:e.selected}),{default:(0,a.k6)((function(){var t;return[(0,a.Lk)("div",o,[(0,a.bF)(p,{tokens:[e.asset],"icon-size":"lg","full-symbol":"",bright:""},null,8,["tokens"]),(0,a.bF)(v,{amount:+(null!==(t=e.asset.convertedBalance)&&void 0!==t?t:0),protocol:e.PROTOCOLS.aeternity,"dynamic-sizing":"","hide-symbol":"","hide-fiat":""},null,8,["amount","protocol"])]),e.isCoin?((0,a.uX)(),(0,a.CE)("div",i,[(0,a.Lk)("div",s," @ "+(0,r.v_)(e.price),1),(0,a.Lk)("div",u,(0,r.v_)(e.balanceFormatted),1)])):(0,a.Q3)("",!0)]})),_:1},16,["to","extend","selected"])):(0,a.Q3)("",!0)}var l=n(65563),d=n(31189),p=n(84754),v=n(90973),f=n(39953),m=n(70694),g=n(68369);const h=(0,a.pM)({components:{TokenAmount:f.A,Tokens:m.A,ListItemWrapper:g.A},props:{asset:{type:Object,default:null},preventNavigation:Boolean,showCurrentPrice:Boolean,selected:Boolean,isMultisig:Boolean},setup:function(e){var t=(0,p.ZN)(),n=t.getCurrentCurrencyRate,r=t.getFormattedFiat,o=t.formatCurrency,i=(0,a.EW)((function(){return o(n(e.asset.protocol))})),s=(0,a.EW)((function(){return r(e.asset.convertedBalance||0,e.asset.protocol)})),u=(0,a.EW)((function(){return(0,d.go)(e.asset.contractId)})),c=(0,a.EW)((function(){return e.isMultisig?v.fc:u.value?v.s4:v.uY}));return{PROTOCOLS:l.yv,isCoin:u,price:i,targetRouteName:c,balanceFormatted:s}}});var A=n(66262);const k=(0,A.A)(h,[["render",c],["__scopeId","data-v-686b3f34"]]),y=k},59480:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var a=n(20641),r=n(90033),o=["src"];function i(e,t,n,i,s,u){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["avatar",[e.size,{borderless:e.borderless,placeholder:e.isPlaceholder}]]),style:(0,r.Tr)({"--color":e.color})},[!e.isPlaceholder&&e.srcUrl?((0,a.uX)(),(0,a.CE)("img",{key:0,class:"avatar-img",src:e.srcUrl,alt:"Avatar"},null,8,o)):(0,a.Q3)("",!0)],6)}var s=n(2327),u=(n(28706),n(74423),n(62010),n(26099),n(50953)),c=n(31189),l=n(59755),d=n(58338),p=n(41549),v=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},f=["xs","sm","rg","md","lg","xl"];const m=(0,a.pM)({props:{address:{type:String,default:""},name:{type:String,default:null},size:{type:String,default:"rg",validator:function(e){return f.includes(e)}},borderless:Boolean,isPlaceholder:Boolean},setup:function(e){var t=this,n=(0,p.$L)(),r=n.aeActiveNetworkSettings,o=(0,u.KR)(!1),i=(0,a.EW)((function(){return"".concat(l.d3).concat(e.name||e.address)})),f=(0,a.EW)((function(){return e.address?(0,c.cr)(e.address):void 0})),m=(0,a.EW)((function(){return""===e.address||(0,d.bK)(e.address)?null:"".concat(r.value.backendUrl,"/profile/image/").concat(e.address)})),g=(0,a.EW)((function(){return o.value?m.value:i.value}));return(0,a.sV)((function(){return v(t,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.t0=!!m.value,!e.t0){e.next=5;break}return e.next=4,(0,c.d3)(m.value);case 4:e.t0=e.sent;case 5:o.value=e.t0;case 6:case"end":return e.stop()}}),e)})))})),{srcUrl:g,color:f,hasProfileImage:o}}});var g=n(66262);const h=(0,g.A)(m,[["render",i],["__scopeId","data-v-1c2ad31e"]]),A=h},89460:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(87745);var a=n(20641),r=n(90033),o=n(53751),i={key:0,class:"back-to-top-btn-container"};function s(e,t,n,s,u,c){var l=(0,a.g2)("Chevron"),d=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.CE)("div",{ref:"el",class:(0,r.C4)(["back-to-top",{sticky:e.sticky,visible:e.isVisible}])},[(0,a.bF)(o.eB,{name:"fade-transition"},{default:(0,a.k6)((function(){return[e.isVisible?((0,a.uX)(),(0,a.CE)("div",i,[(0,a.bF)(d,{class:"back-to-top-btn",onClick:e.scrollTop},{default:(0,a.k6)((function(){return[(0,a.bF)(l,{class:"chevron"})]})),_:1},8,["onClick"])])):(0,a.Q3)("",!0)]})),_:1})],2)}var u=n(50953),c=n(24528),l=n(46841);const d=(0,a.pM)({components:{BtnPlain:c.A,Chevron:l.A},props:{sticky:Boolean},setup:function(){var e=(0,u.KR)(),t=(0,u.KR)(!1);function n(){var n,a,r;(null===(n=e.value)||void 0===n?void 0:n.parentNode)&&(t.value=(null===(r=null===(a=e.value)||void 0===a?void 0:a.parentNode)||void 0===r?void 0:r.scrollTop)>800)}function r(){var t,n;null===(n=null===(t=e.value)||void 0===t?void 0:t.parentNode)||void 0===n||n.scrollTo({top:0,behavior:"smooth"})}return(0,a.sV)((function(){var t,a;null===(a=null===(t=e.value)||void 0===t?void 0:t.parentNode)||void 0===a||a.addEventListener("scroll",n)})),(0,a.xo)((function(){var t,a;null===(a=null===(t=e.value)||void 0===t?void 0:t.parentNode)||void 0===a||a.removeEventListener("scroll",n)})),{el:e,isVisible:t,scrollTop:r}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-2c42d011"]]),f=v},20756:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var a=n(20641),r=n(90033),o={class:"balance-info","data-cy":"balance-info"},i={class:"display-value"};function s(e,t,n,s,u,c){var l=(0,a.g2)("MainBalance"),d=(0,a.g2)("MessageOffline");return(0,a.uX)(),(0,a.CE)("div",o,[e.isOnline?((0,a.uX)(),(0,a.CE)(a.FK,{key:0},[(0,a.bF)(l,{balance:e.balance,protocol:e.protocol},null,8,["balance","protocol"]),(0,a.Lk)("div",i,(0,r.v_)(e.currencyFormatted),1)],64)):((0,a.uX)(),(0,a.Wv)(d,{key:1,text:e.$t("common.balanceUnavailable"),horizontal:e.horizontalOfflineMessage,"disable-colors":!e.horizontalOfflineMessage},null,8,["text","horizontal","disable-colors"]))])}n(2892);var u=n(84754),c={class:"asset-symbol"},l={class:"asset-integer"},d={class:"asset-fractional"};function p(e,t,n,o,i,s){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["main-balance",[e.assetFontSize]])},[(0,a.Lk)("span",c,(0,r.v_)(e.assetSymbol),1),(0,a.Lk)("span",l,(0,r.v_)(e.balanceParts.integer)+(0,r.v_)(e.balanceParts.decimal),1),(0,a.Lk)("span",d,(0,r.v_)(e.balanceParts.fraction),1)],2)}n(28706),n(72712),n(26099);var v=n(32118),f=n(31189);const m=(0,a.pM)({props:{balance:{type:Number,default:0},protocol:{type:String,required:!0}},setup:function(e){var t=(0,a.EW)((function(){var t=v.C.getAdapter(e.protocol).getAmountPrecision({amount:e.balance}),n=(0,f.lv)(e.balance,{minimumFractionDigits:2,maximumFractionDigits:t}).reduce((function(e,t){return"decimal"===t.type?Object.assign(Object.assign({},e),{decimal:t.value}):"fraction"===t.type?Object.assign(Object.assign({},e),{fraction:t.value}):Object.assign(Object.assign({},e),{integer:"".concat(e.integer||"").concat(t.value)})}),{integer:"",decimal:"0",fraction:","}),a=n.integer,r=n.fraction,o=n.decimal;return{integer:a,fraction:r,decimal:o}})),n=(0,a.EW)((function(){return v.C.getAdapter(e.protocol).coinSymbol})),r=(0,a.EW)((function(){var e=t.value,n=e.fraction,a=e.integer,r=a.length+n.length;return r>=16?"sm":r>=14?"md":r>=13?"lg":null}));return{assetSymbol:n,balanceParts:t,assetFontSize:r}}});var g=n(66262);const h=(0,g.A)(m,[["render",p]]),A=h;var k=n(17831);const y=(0,a.pM)({components:{MainBalance:A,MessageOffline:k.A},props:{balance:{type:Number,required:!0},protocol:{type:String,required:!0},horizontalOfflineMessage:Boolean},setup:function(e){var t=(0,u.ZN)(),n=t.getFormattedFiat,r=(0,u.w5)(),o=r.isOnline,i=(0,a.EW)((function(){return n(e.balance,e.protocol)}));return{isOnline:o,currencyFormatted:i}}}),b=(0,g.A)(y,[["render",s],["__scopeId","data-v-46d07e78"]]),w=b},20789:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r=n(90033),o={key:0,class:"copied"};function i(e,t,n,i,s,u){var c=(0,a.g2)("CopyOutlinedIcon");return(0,a.uX)(),(0,a.CE)("a",{class:(0,r.C4)(["copy-text",{"has-icon":!e.hideIcon,disabled:e.disabled}]),onClick:t[0]||(t[0]=function(t){return e.copyText(t)})},[e.copied||e.copiedLocally?((0,a.uX)(),(0,a.CE)("div",o,[(0,a.bF)(c,{class:"copy-icon-copied"}),(0,a.eW)(" "+(0,r.v_)(e.copiedText||e.$t("common.addressCopied")),1)])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.value),1)]}),!0),e.hideIcon||e.disabled?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(c,{key:1,class:"copy-icon-indicator"}))],2)}var s=n(84754),u=n(74462);const c=(0,a.pM)({name:"CopyText",components:{CopyOutlinedIcon:u.A},props:{value:{type:String,default:null},copiedText:{type:String,default:""},copied:Boolean,disabled:Boolean,hideIcon:Boolean},setup:function(e){var t=(0,s.T9)(),n=t.copied,a=t.copy;function r(t){e.disabled||(a(e.value),t.preventDefault())}return{copiedLocally:n,copyText:r}}});var l=n(66262);const d=(0,l.A)(c,[["render",i],["__scopeId","data-v-4027e3b3"]]),p=d},74494:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(89195);var a=n(20641),r=n(90033),o=n(53751),i=["textContent"];function s(e,t,n,s,u,c){var l=(0,a.g2)("ChevronDownIcon");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["details-item",{expandable:e.expandable,expanded:e.expanded}])},[((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.expandable?"BtnPlain":"div"),{class:"label",onClick:t[0]||(t[0]=function(t){return e.toggleExpanded()})},{default:(0,a.k6)((function(){return[(0,a.eW)((0,r.v_)(e.label)+" ",1),e.$slots.label?((0,a.uX)(),(0,a.CE)("span",{key:0,class:(0,r.C4)({indent:e.label})},[(0,a.RG)(e.$slots,"label",{},void 0,!0)],2)):(0,a.Q3)("",!0),e.expandable?((0,a.uX)(),(0,a.Wv)(l,{key:1,class:"expand-arrow"})):(0,a.Q3)("",!0)]})),_:3})),(0,a.bF)(o.eB,{name:"fade-transition"},{default:(0,a.k6)((function(){return[e.expanded?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,r.C4)(["value",{small:e.small,highlight:e.highlight}])},[(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.value)+" ",1),e.secondary?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"secondary",textContent:(0,r.v_)(e.secondary)},null,8,i)):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"value",{},void 0,!0)]}),!0)],2)):(0,a.Q3)("",!0)]})),_:3})],2)}n(2892);var u=n(50953),c=n(19298),l=n(24528);const d=(0,a.pM)({name:"DetailsItem",components:{ChevronDownIcon:c.A,BtnPlain:l.A},props:{label:{type:String,default:""},value:{type:[String,Number,Array],default:""},secondary:{type:String,default:""},expandable:Boolean,small:Boolean,highlight:Boolean},setup:function(e){var t=(0,u.KR)(!e.expandable);function n(){e.expandable&&(t.value=!t.value)}return{expanded:t,toggleExpanded:n}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-68d052f1"]]),f=v},79708:(e,t,n)=>{"use strict";n.d(t,{h:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["dialog",[e.position,{dense:e.dense}]])},[(0,a.RG)(e.$slots,"default",{},void 0,!0)],2)}n(74423);var i=["left","bottom"];const s=(0,a.pM)({name:"DialogBox",props:{dense:Boolean,position:{type:String,validator:function(e){return i.includes(e)},default:i[0]}}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-5b9d82eb"]]),l=c},9776:(e,t,n)=>{"use strict";n.d(t,{A:()=>T});n(2008),n(62010),n(26099);var a=n(20641),r=n(90033),o={"data-cy":"filters",class:"filters"};function i(e,t,n,i,s,u){var c=(0,a.g2)("SortIcon"),l=(0,a.g2)("FilterArrowIcon"),d=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.CE)("div",o,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.filters,(function(t,n){return(0,a.uX)(),(0,a.Wv)(d,{key:n,class:(0,r.C4)(["filter",{active:e.modelValue.key===n||e.modelValue.filter===n}]),onClick:function(t){return e.handleClick(n)}},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",null,(0,r.v_)(t.name),1),void 0!==t.rotated?((0,a.uX)(),(0,a.Wv)(c,{key:0,class:(0,r.C4)({rotate:!t.rotated})},null,8,["class"])):((0,a.uX)(),(0,a.Wv)(l,{key:1}))]})),_:2},1032,["class","onClick"])})),128))])}n(2892);var s=n(50953),u=n(53368),c={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},l=(0,a.Lk)("g",{"clip-path":"url(#clip0)"},[(0,a.Lk)("path",{d:"M2.08 2.57516C2.03543 2.52175 2.00829 2.45825 2.00162 2.39176C1.99495 2.32527 2.00901 2.25842 2.04223 2.19871C2.07545 2.139 2.12652 2.08878 2.18971 2.05369C2.2529 2.01859 2.32572 2 2.4 2H13.6C13.6743 2 13.7471 2.01859 13.8103 2.05369C13.8735 2.08878 13.9245 2.139 13.9578 2.19871C13.991 2.25842 14.0051 2.32527 13.9984 2.39176C13.9917 2.45825 13.9646 2.52175 13.92 2.57516L9.6 7.75161V13.6405C9.6 13.7018 9.58255 13.7621 9.54932 13.8157C9.51609 13.8692 9.46818 13.9142 9.41014 13.9464C9.3521 13.9786 9.28586 13.9969 9.21771 13.9996C9.14957 14.0024 9.08178 13.9894 9.0208 13.9619L6.4 12.7843V7.75161L2.08 2.57516Z",fill:"currentColor"})],-1),d=[l];function p(e,t){return(0,a.uX)(),(0,a.CE)("svg",c,d)}var v=n(66262);const f={},m=(0,v.A)(f,[["render",p]]),g=m;var h={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},A=(0,a.Lk)("g",{"clip-path":"url(#clip0)"},[(0,a.Lk)("path",{d:"M12.875 2H3.125C2.50368 2 2 2.53726 2 3.2C2 3.86274 2.50368 4.4 3.125 4.4H12.875C13.4963 4.4 14 3.86274 14 3.2C14 2.53726 13.4963 2 12.875 2Z",fill:"white"}),(0,a.Lk)("path",{opacity:"0.44",d:"M6.875 13.9999C6.57663 13.9999 6.29048 13.8735 6.0795 13.6485C5.86853 13.4234 5.75 13.1182 5.75 12.7999C5.75 12.4817 5.86853 12.1764 6.0795 11.9514C6.29048 11.7264 6.57663 11.5999 6.875 11.5999H9.125C9.42337 11.5999 9.70952 11.7264 9.9205 11.9514C10.1315 12.1764 10.25 12.4817 10.25 12.7999C10.25 13.1182 10.1315 13.4234 9.9205 13.6485C9.70952 13.8735 9.42337 13.9999 9.125 13.9999H6.875ZM4.625 9.19993C4.32663 9.19993 4.04048 9.0735 3.8295 8.84845C3.61853 8.62341 3.5 8.31819 3.5 7.99993C3.5 7.68167 3.61853 7.37644 3.8295 7.1514C4.04048 6.92635 4.32663 6.79993 4.625 6.79993H11.375C11.6734 6.79993 11.9595 6.92635 12.1705 7.1514C12.3815 7.37644 12.5 7.68167 12.5 7.99993C12.5 8.31819 12.3815 8.62341 12.1705 8.84845C11.9595 9.0735 11.6734 9.19993 11.375 9.19993H4.625Z",fill:"white"})],-1),k=[A];function y(e,t){return(0,a.uX)(),(0,a.CE)("svg",h,k)}const b={},w=(0,v.A)(b,[["render",y]]),C=w;var x=n(24528);const L=(0,a.pM)({components:{FilterArrowIcon:g,SortIcon:C,BtnPlain:x.A},props:{modelValue:{type:Object,required:!0},filters:{type:Object,required:!0},scrollTopThreshold:{type:Number,default:140}},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,a=(0,u.k)(),r=a.viewportElement,o=(0,s.KR)(e.filters);function i(t){var a=o.value[t];r.value&&r.value.scrollTop>e.scrollTopThreshold&&r.value.scrollTo({top:e.scrollTopThreshold,behavior:"smooth"}),void 0!==a.rotated&&e.modelValue.key===t&&(a.rotated=!a.rotated);var i=Object.assign(Object.assign({},o.value[t]),{key:t});n("update:modelValue",i)}return{rotatableFilters:o,handleClick:i}}}),S=(0,v.A)(L,[["render",i],["__scopeId","data-v-78158338"]]),T=S},71364:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["fixed-screen-footer",[{mobile:e.IS_MOBILE_DEVICE},{noPaddingTop:e.noPaddingTop}]])},[(0,a.RG)(e.$slots,"default",{},void 0,!0)],2)}var i=n(65563);const s=(0,a.pM)({props:{noPaddingTop:Boolean},setup:function(){return{IS_MOBILE_DEVICE:i.Hy}}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-397b9317"]]),l=c},58411:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,m0:()=>c,ZO:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("ProtocolIcon");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["icon-wrapper",["icon-size-".concat(e.iconSize),{"is-boxed":e.isBoxed}]])},[e.icon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.icon),{key:0,class:(0,r.C4)(["icon-wrapper-icon",{"icon-wrapper-fill":e.isFull}])},null,8,["class"])):e.protocolIcon?((0,a.uX)(),(0,a.Wv)(u,{key:1,protocol:e.protocolIcon},null,8,["protocol"])):(0,a.Q3)("",!0)],2)}n(74423),n(21699);var i=n(62376),s=n(65563),u=[s.hS.lg,s.hS.xl],c={type:String,default:s.hS.lg,validator:function(e){return u.includes(e)}},l={type:String,default:null};const d=(0,a.pM)({components:{ProtocolIcon:i.A},props:{icon:{type:Object,default:null},isFull:Boolean,isBoxed:Boolean,iconSize:c,protocolIcon:l}});var p=n(66262);const v=(0,p.A)(d,[["render",o],["__scopeId","data-v-5e9dcd14"]]),f=v},72402:(e,t,n)=>{"use strict";n.d(t,{F:()=>i,A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["info-box",[e.type]])},[(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.text),1)]}),!0)],2)}n(74423),n(79432),n(21699);var i={default:"default",success:"success",danger:"danger",warning:"warning"};const s=(0,a.pM)({props:{type:{type:String,validator:function(e){return Object.keys(i).includes(e)},default:i["default"]},text:{type:String,default:null}}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-13169d05"]]),l=c},99366:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var a=n(20641),r=n(90033),o=["textContent"],i={key:0,class:"input-amount-desc-total","data-cy":"total-amount-currency"},s={key:0},u={key:1,class:"input-amount-desc-at"};function c(e,t,n,c,l,d){var p=(0,a.g2)("InputSelectAsset"),v=(0,a.g2)("InputField");return(0,a.uX)(),(0,a.Wv)(v,(0,a.v6)(e.$attrs,{class:"input-amount",type:"number",placeholder:"0.00","model-value":e.modelValue,label:e.label,message:e.$attrs.message,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.$emit("update:modelValue",t)})}),(0,a.eX)({after:(0,a.k6)((function(n){var i=n.focused;return[e.readonly?((0,a.uX)(),(0,a.CE)("div",{key:1,class:"readonly-symbol",textContent:(0,r.v_)(e.defaultCoin.symbol)},null,8,o)):((0,a.uX)(),(0,a.Wv)(p,(0,a.v6)({key:0},e.$attrs,{"data-cy":"select-asset",value:e.currentAsset,focused:i,"show-tokens-with-balance":e.showTokensWithBalance,onSelectAsset:t[0]||(t[0]=function(t){return e.handleAssetSelected(t)})}),null,16,["value","focused","show-tokens-with-balance"]))]})),under:(0,a.k6)((function(t){var n=t.focused;return[(0,a.Lk)("div",{class:(0,r.C4)(["input-amount-desc",{focused:n}])},[e.currentAssetFiatPrice?((0,a.uX)(),(0,a.CE)("span",i,[e.modelValue?((0,a.uX)(),(0,a.CE)("span",s,"≈")):(0,a.Q3)("",!0),(0,a.eW)(" "+(0,r.v_)(e.totalAmountFormatted),1)])):(0,a.Q3)("",!0),e.currentAssetFiatPrice?((0,a.uX)(),(0,a.CE)("span",u," @"+(0,r.v_)(e.currentAssetFiatPrice?e.currentAssetFiatPriceFormatted:e.$t("common.priceNotAvailable")),1)):(0,a.Q3)("",!0)],2)]})),_:2},[(0,a.pI)(e.$slots,(function(t,n){return{name:n,fn:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,n,{},void 0,!0)]}))}}))]),1040,["model-value","label","message"])}n(74423),n(62062),n(2892),n(21699);var l=n(84754),d=n(32118),p=n(19389);function v(e,t,n,o,i,s){var u=(0,a.g2)("ChevronDown"),c=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(c,{class:(0,r.C4)(["select-asset",{focused:e.focused,disabled:e.disabled}]),onClick:e.openAssetSelector},{default:(0,a.k6)((function(){return[(0,a.eW)((0,r.v_)(e.displayToken)+" ",1),e.disabled?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(u,{key:0,class:"chevron-down"}))]})),_:1},8,["class","onClick"])}n(28706);var f=n(65563),m=n(19298),g=n(24528);const h=(0,a.pM)({components:{BtnPlain:g.A,ChevronDown:m.A},props:{value:{type:Object,default:null},disabled:Boolean,focused:Boolean,showTokensWithBalance:Boolean},emits:["select-asset"],setup:function(e,t){var n=t.emit,r=(0,l.U8)(),o=r.openModal,i=(0,a.EW)((function(){if(e.value){var t=e.value.symbol;return"".concat(String(t).substring(0,11)).concat(t.length>11?"...":"")}return""}));function s(e){n("select-asset",e)}function u(){e.disabled||o(f.Pu,{selectedToken:e.value,showTokensWithBalance:e.showTokensWithBalance,resolve:function(e){return e}}).then((function(e){return s(e)}))["catch"]((function(){}))}return{displayToken:i,handleChange:s,openAssetSelector:u}}});var A=n(66262);const k=(0,A.A)(h,[["render",v],["__scopeId","data-v-2815dc49"]]),y=k,b=(0,a.pM)({components:{InputSelectAsset:y,InputField:p.A},props:{modelValue:{type:[String,Number],default:""},label:{type:String,default:null},selectedAsset:{type:Object,default:null},readonly:Boolean,showTokensWithBalance:Boolean,protocol:{type:String,required:!0}},emits:["update:modelValue","asset-selected"],setup:function(e,t){var n=t.emit,r=(0,l.ZN)(),o=r.getCurrentCurrencyRate,i=r.marketData,s=r.formatCurrency,u=(0,l.ty)(),c=u.balance,p=(0,l.oV)(),v=p.protocolsInUse,f=(0,a.EW)((function(){return d.C.getAdapter(e.protocol).getDefaultCoin(i.value,+c.value)})),m=(0,a.EW)((function(){return e.selectedAsset||f.value})),g=(0,a.EW)((function(){return v.value.map((function(e){return d.C.getAdapter(e).coinContractId})).includes(m.value.contractId)})),h=(0,a.EW)((function(){return g.value?o(e.protocol):0})),A=(0,a.EW)((function(){return s(h.value)})),k=(0,a.EW)((function(){return s(h.value?(+e.modelValue||0)*h.value:0)}));function y(e){n("asset-selected",e)}return(0,a.sV)((function(){e.selectedAsset||y(f.value)})),{defaultCoin:f,totalAmountFormatted:k,currentAssetFiatPrice:h,currentAssetFiatPriceFormatted:A,currentAsset:m,formatCurrency:s,handleAssetSelected:y}}}),w=(0,A.A)(b,[["render",c],["__scopeId","data-v-a339de10"]]),C=w},19389:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var a=n(20641),r=n(90033),o={key:0,class:"label"},i=["for"],s={key:1,class:"label-after"},u={class:"main-inner"},c=["id","value","disabled","maxlength","inputmode"],l={class:"under"},d={key:1,class:"message","data-cy":"input-message"},p=["for"];function v(e,t,n,v,f,m){var g=(0,a.g2)("BtnHelp");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["input-field",{error:e.hasError,warning:e.hasWarning,readonly:e.readonly,code:e.code,thin:e.thin}])},[e.label||e.$slots.label||e.$slots["label-after"]?((0,a.uX)(),(0,a.CE)("div",o,[(0,a.Lk)("label",{for:e.inputId,class:"label-text",onClick:t[0]||(t[0]=function(t){return e.$emit("click",t)})},[(0,a.RG)(e.$slots,"label",{},(function(){return[(0,a.eW)((0,r.v_)(e.label),1)]}),!0)],8,i),e.showHelp?((0,a.uX)(),(0,a.Wv)(g,{key:0,class:"btn-help",onHelp:t[1]||(t[1]=function(t){return e.$emit("help")})})):(0,a.Q3)("",!0),e.$slots["label-after"]||e.textLimit?((0,a.uX)(),(0,a.CE)("div",s,[(0,a.RG)(e.$slots,"label-after",{},(function(){return[(0,a.eW)((0,r.v_)(e.availableTextLimit),1)]}),!0)])):(0,a.Q3)("",!0)])):(0,a.Q3)("",!0),(0,a.Lk)("label",{"data-cy":"input-wrapper",class:"input-wrapper",onClick:t[6]||(t[6]=function(t){return e.$emit("click",t)})},[(0,a.Lk)("div",u,[e.hasError||e.hasWarning?(0,a.Q3)("",!0):(0,a.RG)(e.$slots,"before",{key:0},void 0,!0),(0,a.RG)(e.$slots,"default",{id:e.uid,inputId:e.inputId},(function(){return[(0,a.Lk)("input",(0,a.v6)(e.$attrs,{id:e.inputId,class:"input",autocomplete:"off",step:"any","data-cy":"input",value:e.modelValue,disabled:e.readonly,maxlength:e.textLimit,inputmode:e.inputMode,onInput:t[2]||(t[2]=function(){return e.handleInput&&e.handleInput.apply(e,arguments)}),onKeydown:t[3]||(t[3]=function(){return e.checkIfNumber&&e.checkIfNumber.apply(e,arguments)}),onFocusin:t[4]||(t[4]=function(t){return e.focused=!0}),onFocusout:t[5]||(t[5]=function(t){return e.focused=!1})}),null,16,c)]}),!0),(0,a.RG)(e.$slots,"after",{focused:e.focused},void 0,!0)]),(0,a.Lk)("div",l,[(0,a.RG)(e.$slots,"under",{focused:e.focused},void 0,!0)])]),e.showMessage?((0,a.uX)(),(0,a.CE)("div",d,[(0,a.Lk)("label",{class:"message-text","data-cy":"input-field-message",for:e.inputId},(0,r.v_)(e.messageAsObject?e.messageAsObject.text:null),9,p)])):(0,a.Q3)("",!0)],2)}var f=n(73808),m=(n(25440),n(74423),n(2892),n(27495),n(90906),n(21699),n(50953)),g=n(65563),h=n(31157);const A=(0,a.pM)({name:"InputField",components:{BtnHelp:h.A},props:{modelValue:{type:[String,Number],default:null},label:{type:String,default:""},type:{type:String,default:"text",validator:function(e){return["text","number","url"].includes(e)}},message:{type:[String,Object],validator:function(e){return"object"!==(0,f.A)(e)||!e.status||!!g.IS[e.status]},default:null},readonly:Boolean,showHelp:Boolean,showMessageHelp:Boolean,code:Boolean,thin:Boolean,textLimit:{type:Number,default:null}},emits:["update:modelValue","focus-change","click","help"],setup:function(e,t){var n,r=t.emit,o=null===(n=(0,a.nI)())||void 0===n?void 0:n.uid,i="input-".concat(o),s=(0,m.KR)(!1),u=(0,a.EW)((function(){return"number"===e.type?"decimal":"text"})),c=(0,a.EW)((function(){return"object"===(0,f.A)(e.message)?e.message:{text:e.message}})),l=(0,a.EW)((function(){var e,t;return(null===(e=c.value)||void 0===e?void 0:e.status)===g.IS.error||!!(null===(t=c.value)||void 0===t?void 0:t.text)})),d=(0,a.EW)((function(){var e;return(null===(e=c.value)||void 0===e?void 0:e.status)===g.IS.warning})),p=(0,a.EW)((function(){var e,t;return!(null===(e=c.value)||void 0===e?void 0:e.hideMessage)&&!!(null===(t=c.value)||void 0===t?void 0:t.text)})),v=(0,a.EW)((function(){return e.textLimit&&e.modelValue?e.textLimit-String(e.modelValue).length:e.textLimit}));function h(t){var n,a=1===t.key.length&&!t.ctrlKey&&!t.metaKey,r="string"===typeof e.modelValue&&(null===(n=e.modelValue)||void 0===n?void 0:n.includes("."))&&[",","."].includes(t.key);"number"!==e.type||!a||!r&&/^([0-9]+|,|\.)$/.test(t.key)||t.preventDefault()}function A(t){var n=t.target.value;r("update:modelValue","number"===e.type?null===n||void 0===n?void 0:n.replace(",","."):n)}return(0,a.wB)((function(){return s.value}),(function(e){return r("focus-change",e)})),{focused:s,uid:o,inputId:i,inputMode:u,messageAsObject:c,hasError:l,hasWarning:d,showMessage:p,availableTextLimit:v,checkIfNumber:h,handleInput:A}}});var k=n(66262);const y=(0,k.A)(A,[["render",v],["__scopeId","data-v-124f240c"]]),b=y},76801:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("Search"),u=(0,a.g2)("Eraser"),c=(0,a.g2)("InputField");return(0,a.uX)(),(0,a.Wv)(c,(0,a.v6)({class:"input-search"},e.$attrs,{thin:"","onUpdate:modelValue":t[1]||(t[1]=function(t){return e.$emit("update:modelValue",t)})}),{after:(0,a.k6)((function(){return[e.$attrs.value?((0,a.uX)(),(0,a.Wv)(u,{key:1,class:"erase-icon",onClick:t[0]||(t[0]=function(t){return e.$emit("update:modelValue","")})})):((0,a.uX)(),(0,a.Wv)(s,{key:0}))]})),_:1},16)}var o=n(19389),i={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},s=(0,a.Lk)("path",{d:"M10.603 17.126C11.9371 17.126 13.1872 16.7233 14.2276 16.0353L17.9025 19.7186C18.1458 19.9535 18.4562 20.0709 18.7918 20.0709C19.4882 20.0709 20 19.5256 20 18.8376C20 18.5188 19.8909 18.2083 19.656 17.9734L16.0063 14.3069C16.7614 13.233 17.2061 11.9325 17.2061 10.523C17.2061 6.89003 14.236 3.91992 10.603 3.91992C6.9785 3.91992 4 6.89003 4 10.523C4 14.1559 6.97011 17.126 10.603 17.126ZM10.603 15.3641C7.94337 15.3641 5.76193 13.1826 5.76193 10.523C5.76193 7.86329 7.94337 5.68185 10.603 5.68185C13.2627 5.68185 15.4442 7.86329 15.4442 10.523C15.4442 13.1826 13.2627 15.3641 10.603 15.3641Z",fill:"currentColor"},null,-1),u=[s];function c(e,t){return(0,a.uX)(),(0,a.CE)("svg",i,u)}var l=n(66262);const d={},p=(0,l.A)(d,[["render",c]]),v=p;var f={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},m=(0,a.Lk)("g",{opacity:"0.7"},[(0,a.Lk)("path",{opacity:"0.44",d:"M7.71402 19.71C7.90028 19.8947 8.15168 19.9989 8.41402 20H20.994C21.5245 20 22.0332 19.7893 22.4082 19.4142C22.7833 19.0391 22.994 18.5304 22.994 18V6C22.994 5.46957 22.7833 4.96086 22.4082 4.58579C22.0332 4.21071 21.5245 4 20.994 4H8.42002C8.15768 4.0011 7.90628 4.10526 7.72002 4.29L0.657021 11.29C0.563141 11.383 0.488619 11.4936 0.437761 11.6156C0.386903 11.7375 0.360718 11.8684 0.360718 12.0005C0.360718 12.1326 0.386903 12.2635 0.437761 12.3854C0.488619 12.5074 0.563141 12.618 0.657021 12.711L7.71402 19.71Z",fill:"white"}),(0,a.Lk)("path",{d:"M15.414 14.829L14 13.415L12.586 14.829C12.3983 15.0165 12.1439 15.1218 11.8786 15.1217C11.6134 15.1216 11.359 15.0161 11.1715 14.8285C10.984 14.6408 10.8787 14.3864 10.8788 14.1211C10.8789 13.8559 10.9843 13.6015 11.172 13.414L12.585 12L11.172 10.586C10.9898 10.3974 10.889 10.1448 10.8913 9.88259C10.8936 9.62039 10.9988 9.36958 11.1842 9.18417C11.3696 8.99876 11.6204 8.89359 11.8826 8.89131C12.1448 8.88903 12.3974 8.98983 12.586 9.17199L14 10.585L15.414 9.17199C15.5068 9.07908 15.6171 9.00536 15.7384 8.95506C15.8597 8.90475 15.9898 8.87883 16.1211 8.87878C16.2525 8.87874 16.3826 8.90456 16.5039 8.95478C16.6253 9.00501 16.7356 9.07864 16.8285 9.17149C16.9214 9.26433 16.9951 9.37457 17.0454 9.4959C17.0957 9.61723 17.1216 9.74728 17.1217 9.87863C17.1217 10.01 17.0959 10.1401 17.0457 10.2614C16.9955 10.3828 16.9218 10.4931 16.829 10.586L15.415 12L16.829 13.414C17.0166 13.6016 17.122 13.8561 17.122 14.1215C17.122 14.3869 17.0166 14.6413 16.829 14.829C16.6413 15.0166 16.3869 15.122 16.1215 15.122C15.8561 15.122 15.6016 15.0166 15.414 14.829Z",fill:"white"})],-1),g=[m];function h(e,t){return(0,a.uX)(),(0,a.CE)("svg",f,g)}const A={},k=(0,l.A)(A,[["render",h]]),y=k,b={components:{InputField:o.A,Search:v,Eraser:y}},w=(0,l.A)(b,[["render",r],["__scopeId","data-v-b52ecd9a"]]),C=w},47206:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var a=n(20641),r=n(90033),o=["href"],i={key:0,class:"link-icon"};function s(e,t,n,s,u,c){var l=(0,a.g2)("ExternalLinkIcon");return(0,a.uX)(),(0,a.CE)("a",{class:(0,r.C4)(["link-button",e.variant,{underlined:e.underlined}]),href:e.IS_MOBILE_APP?void 0:e.to,rel:"noopener noreferrer",target:"_blank",onClick:t[0]||(t[0]=function(){return e.onClick&&e.onClick.apply(e,arguments)})},[(0,a.RG)(e.$slots,"default",{},void 0,!0),e.isExternal||e.$slots.icon?((0,a.uX)(),(0,a.CE)("span",i,[e.isExternal?((0,a.uX)(),(0,a.Wv)(l,{key:0})):(0,a.RG)(e.$slots,"icon",{key:1},void 0,!0)])):(0,a.Q3)("",!0)],10,o)}var u=n(2327),c=(n(74423),n(26099),n(65563)),l=n(78185),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},p=["default","muted","simple"];const v=(0,a.pM)({components:{ExternalLinkIcon:l.A},props:{to:{type:String,required:!0},underlined:Boolean,isExternal:Boolean,variant:{type:String,validator:function(e){return p.includes(e)},default:p[0]}},setup:function(e){function t(t){return d(this,void 0,void 0,(0,u.A)().mark((function n(){return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:c.I$&&(t.preventDefault(),window.open(e.to,"_system"));case 1:case"end":return n.stop()}}),n)})))}return{LINK_BUTTON_VARIANT:p,IS_MOBILE_APP:c.I$,onClick:t}}});var f=n(66262);const m=(0,f.A)(v,[["render",s],["__scopeId","data-v-4532e494"]]),g=m},68369:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(s,(0,a.v6)(e.$attrs,{class:["list-item-wrapper",{selected:e.selected}]}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},void 0,!0)]})),_:3},16,["class"])}var o=n(24528);const i=(0,a.pM)({components:{BtnPlain:o.A},props:{selected:Boolean}});var s=n(66262);const u=(0,s.A)(i,[["render",r],["__scopeId","data-v-22701c0f"]]),c=u},37354:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={class:"loader","data-cy":"loader"},o={class:"container"};function i(e,t,n,i,s,u){var c=(0,a.g2)("AnimatedSpinner");return(0,a.uX)(),(0,a.CE)("div",r,[(0,a.Lk)("div",o,[(0,a.bF)(c,{class:"spinner"})])])}var s=n(54598);const u={components:{AnimatedSpinner:s.A}};var c=n(66262);const l=(0,c.A)(u,[["render",i],["__scopeId","data-v-5af93660"]]),d=l},17831:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var a=n(20641),r=n(90033),o={key:0,class:"text"};function i(e,t,n,i,s,u){var c=(0,a.g2)("OfflineIcon");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["message-offline",{horizontal:e.horizontal,"colors-disabled":e.disableColors}])},[(0,a.bF)(c,{class:"offline-icon"}),e.text?((0,a.uX)(),(0,a.CE)("p",o,(0,r.v_)(e.text),1)):(0,a.Q3)("",!0)],2)}var s={viewBox:"0 0 40 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},u=(0,a.Lk)("path",{opacity:".5",d:"M22.56 33.59c9.09 0 16.61-7.52 16.61-16.63 0-9.1-7.54-16.63-16.62-16.63C14.09.33 7 6.83 6.06 15.08a9.97 9.97 0 0 1 2.64-.23 13.34 13.34 0 0 1 2.73-6.34 12.2 12.2 0 0 0 3.7 1.8 25.8 25.8 0 0 0-.77 5.5h-1.75a10.7 10.7 0 0 1 3.13 2.28h5.7v4.54c-1.02.03-2.03.14-2.98.28.2.68.3 1.44.34 2.21.82-.13 1.7-.2 2.64-.24v4.99c-1.02-.45-1.95-1.56-2.7-3.14-.13.93-.4 1.82-.75 2.67.23.4.52.74.8 1-.38-.1-.75-.23-1.1-.37a9.1 9.1 0 0 1-1.48 2.25c1.95.84 4.1 1.3 6.35 1.3ZM12.88 6.85a13.8 13.8 0 0 1 5.73-3.33c-1.13 1.1-2.11 2.7-2.83 4.7-1.13-.37-2.1-.82-2.9-1.37Zm16.45 1.37c-.72-2-1.69-3.6-2.83-4.7a13.6 13.6 0 0 1 5.71 3.33c-.77.55-1.74 1.02-2.88 1.37Zm-11.32.55c.85-2.37 2.1-4.1 3.43-4.7v5.05A24.61 24.61 0 0 1 18 8.77Zm5.68.35V4.07c1.33.6 2.55 2.33 3.42 4.7-1.06.19-2.22.3-3.42.35Zm7.06 6.71a26.15 26.15 0 0 0-.76-5.52 13.2 13.2 0 0 0 3.7-1.78 13.7 13.7 0 0 1 2.85 7.3h-5.8Zm-14.1 0c.07-1.75.33-3.44.7-4.94 1.27.26 2.65.44 4.09.48v4.46h-4.8Zm7.04 0v-4.46c1.41-.04 2.8-.22 4.07-.48.38 1.5.64 3.19.7 4.94H23.7Zm0 6.8v-4.54h4.77a23.03 23.03 0 0 1-.72 5 26.64 26.64 0 0 0-4.05-.46Zm6.28 1.04c.44-1.67.71-3.56.78-5.58h5.79c-.21 2.75-1.27 5.3-2.9 7.37-.95-.73-2.2-1.32-3.67-1.79Zm-6.28 6.2v-5c1.2.06 2.34.17 3.39.36-.87 2.32-2.06 4.01-3.4 4.64Zm2.86.53c1.1-1.1 2.06-2.69 2.77-4.62 1.12.35 2.07.79 2.86 1.34a13.8 13.8 0 0 1-5.63 3.28Z",fill:"white"},null,-1),c=(0,a.Lk)("path",{d:"M8.27 33.67a8.32 8.32 0 0 0 8.28-8.28 8.33 8.33 0 0 0-8.29-8.27A8.32 8.32 0 0 0 0 25.4a8.32 8.32 0 0 0 8.27 8.28Zm-2.73-4.79a.76.76 0 0 1-.53-1.3L7.2 25.4 5 23.23a.75.75 0 0 1 .53-1.29c.23 0 .4.07.55.21l2.18 2.18 2.19-2.18a.74.74 0 0 1 .54-.23c.43 0 .76.34.76.76 0 .2-.08.38-.23.54L9.36 25.4l2.17 2.18a.76.76 0 0 1-.54 1.3.78.78 0 0 1-.55-.22l-2.17-2.17-2.17 2.17a.74.74 0 0 1-.56.22Z",fill:"currentColor"},null,-1),l=[u,c];function d(e,t){return(0,a.uX)(),(0,a.CE)("svg",s,l)}var p=n(66262);const v={},f=(0,p.A)(v,[["render",d]]),m=f,g=(0,a.pM)({components:{OfflineIcon:m},props:{text:{type:String,default:null},horizontal:Boolean,disableColors:Boolean}}),h=(0,p.A)(g,[["render",i],["__scopeId","data-v-129d996a"]]),A=h},285:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var a=n(20641),r=n(53751),o=n(90033),i={class:"container"},s={key:0,class:"header-icon"},u={class:"header-default-text"};function c(e,t,n,c,l,d){var p=(0,a.g2)("BtnClose"),v=(0,a.g2)("BackToTop"),f=(0,a.g2)("FixedScreenFooter");return(0,a.uX)(),(0,a.Wv)(r.eB,{appear:"",name:e.fromBottom?"from-bottom-transition":"pop-in-transition",onAfterEnter:t[1]||(t[1]=function(t){return e.$emit("open")})},{default:(0,a.k6)((function(){return[e.show?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,o.C4)(["modal",{"full-screen":e.fullScreen,"from-bottom":e.fromBottom,"has-header":e.showHeader,"has-close-button":e.hasCloseButton,"no-padding":e.noPadding,dense:e.dense,"semi-dense":e.semiDense,"blur-bg":!(e.IS_FIREFOX&&e.IS_EXTENSION),"min-height":e.minHeight}])},[(0,a.Lk)("div",i,[e.showHeader?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,o.C4)(["header",{transparent:e.hasCloseButton&&!(e.$slots.header||e.header)}])},[e.$slots.icon?((0,a.uX)(),(0,a.CE)("div",s,[(0,a.RG)(e.$slots,"icon",{},void 0,!0)])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"header",{},(function(){return[(0,a.Lk)("div",u,(0,o.v_)(e.header),1)]}),!0),e.hasCloseButton?((0,a.uX)(),(0,a.Wv)(p,{key:1,"data-cy":"btn-close",class:"close-button",onClick:e.handleClose},null,8,["onClick"])):(0,a.Q3)("",!0)],2)):(0,a.Q3)("",!0),e.$slots["default"]?((0,a.uX)(),(0,a.CE)("div",{key:1,class:(0,o.C4)(["body",{"text-center":e.centered,"without-padding-bottom":e.bodyWithoutPaddingBottom}])},[(0,a.RG)(e.$slots,"default",{},void 0,!0)],2)):(0,a.Q3)("",!0),(0,a.bF)(v,{sticky:""}),e.$slots.footer?((0,a.uX)(),(0,a.Wv)(f,(0,o._B)((0,a.v6)({key:2},e.$attrs)),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"footer",{},void 0,!0)]})),_:3},16)):(0,a.Q3)("",!0)]),(0,a.Lk)("div",{class:"cover",onClick:t[0]||(t[0]=function(){return e.handleClose&&e.handleClose.apply(e,arguments)})})],2)):(0,a.Q3)("",!0)]})),_:3},8,["name"])}var l=n(65563),d=n(86295),p=n(71364),v=n(89460);const f=(0,a.pM)({components:{FixedScreenFooter:p.A,BtnClose:d.A,BackToTop:v.A},props:{show:Boolean,hasCloseButton:Boolean,fullScreen:Boolean,fromBottom:Boolean,dense:Boolean,semiDense:Boolean,noPadding:Boolean,centered:Boolean,bodyWithoutPaddingBottom:Boolean,minHeight:Boolean,header:{type:String,default:null}},emits:["close","open"],setup:function(e,t){var n=t.slots,r=t.emit,o=(0,a.EW)((function(){return e.hasCloseButton||e.header||n.header}));function i(){r("close")}function s(e){e.detail.register(100,i)}return(0,a.sV)((function(){document.addEventListener("ionBackButton",s),document.body.style.overflow||(document.body.style.overflow="hidden")})),(0,a.xo)((function(){document.removeEventListener("ionBackButton",s),document.body.style.overflow=""})),{handleClose:i,IS_FIREFOX:l.$M,IS_EXTENSION:l.hL,showHeader:o}}});var m=n(66262);const g=(0,m.A)(f,[["render",c],["__scopeId","data-v-79ba9f59"]]),h=g},15653:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnBox");return(0,a.uX)(),(0,a.Wv)(s,{text:e.$t("common.receive"),subtitle:e.subtitle,icon:e.ArrowReceiveIcon,"is-big":e.isBig,disabled:e.disabled,onClick:t[0]||(t[0]=function(t){return e.openTransferReceiveModal()})},null,8,["text","subtitle","icon","is-big","disabled"])}var o=n(46992),i=n(65563),s=n(84754),u=n(28645),c=n(84648);const l=(0,a.pM)({components:{BtnBox:u.A},props:{isBig:Boolean,isMultisig:Boolean,tokenContractId:{type:String,default:""},disabled:Boolean},setup:function(e){var t=(0,s.U8)(),n=t.openModal,r=(0,o.s9)(),u=r.t;function l(){n(i.mp,{isMultisig:e.isMultisig,tokenContractId:e.tokenContractId})}var d=(0,a.EW)((function(){return e.isBig?e.isMultisig?u("dashboard.receiveCard.descriptionMultisig"):u("dashboard.receiveCard.description"):""}));return{subtitle:d,ArrowReceiveIcon:c.A,openTransferReceiveModal:l}}});var d=n(66262);const p=(0,d.A)(l,[["render",r]]),v=p},65568:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnBox");return(0,a.uX)(),(0,a.Wv)(s,{"data-cy":"send",text:e.isMultisig?e.$t("dashboard.proposeCard.title"):e.$t("common.send"),subtitle:e.subtitle,icon:e.ArrowSendIcon,disabled:e.disabled||!e.isOnline,"is-big":e.isBig,onClick:t[0]||(t[0]=function(t){return e.openTransferSendModal()})},null,8,["text","subtitle","icon","disabled","is-big"])}var o=n(46992),i=n(65563),s=n(84754),u=n(28645),c=n(65608);const l=(0,a.pM)({components:{BtnBox:u.A},props:{isBig:Boolean,isMultisig:Boolean,tokenContractId:{type:String,default:""},disabled:Boolean},setup:function(e){var t=(0,o.s9)(),n=t.t,r=(0,s.w5)(),u=r.isOnline,l=(0,s.U8)(),d=l.openModal;function p(){d(i.Fv,{isMultisig:e.isMultisig,tokenContractId:e.tokenContractId})}var v=(0,a.EW)((function(){return e.isMultisig?n("dashboard.proposeCard.description"):n("dashboard.sendCard.description")}));return{isOnline:u,subtitle:v,ArrowSendIcon:c.A,openTransferSendModal:p}}});var d=n(66262);const p=(0,d.A)(l,[["render",r]]),v=p},37134:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r=n(90033),o={key:0,class:"payload"},i={class:"payload-header"},s={class:"label-text"},u={class:"payload-text"};function c(e,t,n,c,l,d){return n.payload&&n.payload.length?((0,a.uX)(),(0,a.CE)("div",o,[(0,a.Lk)("div",i,[(0,a.Lk)("span",s,(0,r.v_)(e.$t("modals.send.payload")),1),(0,a.RG)(e.$slots,"default",{},void 0,!0)]),(0,a.Lk)("div",u,(0,r.v_)(n.payload),1)])):(0,a.Q3)("",!0)}const l={name:"PayloadDetails",props:{payload:{type:String,default:""}}};var d=n(66262);const p=(0,d.A)(l,[["render",c],["__scopeId","data-v-30e23ae8"]]),v=p},62376:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return e.selectedIcon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.selectedIcon),{key:0,class:(0,r.C4)(["protocol-icon",[e.iconSize]])},null,8,["class"])):(0,a.Q3)("",!0)}var i=n(1287),s=(n(74423),n(21699),n(65563)),u={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},c=(0,a.Lk)("circle",{cx:"8",cy:"8",r:"8",fill:"white"},null,-1),l=(0,a.Lk)("path",{d:"M4.738 5.70521C4.15716 5.7022 3.59909 5.92647 3.18614 6.3284C2.77342 6.73011 2.53933 7.27645 2.53467 7.84759C2.53933 8.41874 2.77342 8.96507 3.18614 9.36678C3.59909 9.76871 4.15716 9.99299 4.738 9.98998C5.68132 9.98998 6.36713 9.31944 7.0368 8.41658L7.12037 8.30391L7.67106 9.10814L7.6262 9.16579C6.88988 10.1119 6.01852 10.9026 4.73876 10.9027C3.91351 10.9065 3.12014 10.5875 2.53277 10.0151C1.94529 9.44255 1.6119 8.66332 1.60621 7.84829L1.6062 7.84689C1.6119 7.03186 1.94529 6.25264 2.53277 5.68013C3.12014 5.10772 3.91351 4.78866 4.73876 4.79252C6.29265 4.79263 7.28313 5.95315 8.30169 7.47277C8.8128 8.2353 9.26327 8.86642 9.73461 9.30748C10.2032 9.74598 10.6854 9.98997 11.2615 9.98997C11.6568 9.99067 12.0451 9.88682 12.3857 9.68935C12.7262 9.49188 13.0066 9.20808 13.1979 8.86766L13.2265 8.81663H14.2354L14.1799 8.95408C13.9476 9.52944 13.5456 10.0226 13.0262 10.3699C12.5067 10.7172 11.8937 10.9027 11.2664 10.9027H11.2615C9.70767 10.9027 8.75587 9.78998 7.69571 8.21992C7.16349 7.43173 6.71396 6.80153 6.24865 6.36752C5.78686 5.93679 5.31525 5.70521 4.738 5.70521Z",fill:"#F7296E"},null,-1),d=(0,a.Lk)("path",{d:"M14.3709 8.21614L14.3601 8.30394H10.5931V7.39124H13.4137C13.308 6.93235 13.053 6.51848 12.6857 6.21385C12.2874 5.88352 11.7828 5.70316 11.2619 5.70521C10.3182 5.70521 9.63256 6.37607 8.96253 7.27964L8.87944 7.39169L8.32596 6.59269L8.37091 6.53474C9.10688 5.58585 9.97895 4.79261 11.2613 4.79252C12.0865 4.78866 12.8799 5.10772 13.4673 5.68013C14.0547 6.25264 14.3881 7.03186 14.3938 7.84689C14.3935 7.97001 14.3859 8.09392 14.3709 8.21614Z",fill:"#F7296E"},null,-1),p=[c,l,d];function v(e,t){return(0,a.uX)(),(0,a.CE)("svg",u,p)}var f=n(66262);const m={},g=(0,f.A)(m,[["render",v]]),h=g;var A=n(41970),k=n(2041),y=[s.hS.xs,s.hS.md,s.hS.lg];const b=(0,a.pM)({props:{protocol:{type:String,required:!0},iconSize:{type:String,default:s.hS.md,validator:function(e){return y.includes(e)}}},setup:function(e){var t=(0,i.A)((0,i.A)((0,i.A)({},s.yv.aeternity,h),s.yv.bitcoin,A.A),s.yv.ethereum,k.A),n=(0,a.EW)((function(){return t[e.protocol]}));return{selectedIcon:n}}}),w=(0,f.A)(b,[["render",o],["__scopeId","data-v-3c4b9f22"]]),C=w},67239:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});n(62010);var a=n(20641),r=n(90033),o=["disabled","value","type","name"];function i(e,t,n,i,s,u){return(0,a.uX)(),(0,a.CE)("label",{class:(0,r.C4)(["radio-button",{disabled:e.disabled}])},[(0,a.Lk)("span",{class:(0,r.C4)(["radio-dot",{checked:e.value}])},[(0,a.Lk)("input",{class:"input",disabled:e.disabled,value:e.value,type:e.type,name:e.name},null,8,o)],2),(0,a.Lk)("span",{class:(0,r.C4)(["radio-holder",{checked:e.value}])},[(0,a.RG)(e.$slots,"default",{},void 0,!0)],2)],2)}n(2892);const s=(0,a.pM)({props:{value:{type:[String,Number,Boolean],default:""},type:{type:String,default:"checkbox"},name:{type:String,default:""},disabled:Boolean}});var u=n(66262);const c=(0,u.A)(s,[["render",i],["__scopeId","data-v-30c8e33a"]]),l=c},39953:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(89195);var a=n(20641),r=n(90033),o=["textContent"],i=["textContent"];function s(e,t,n,s,u,c){return(0,a.uX)(),(0,a.CE)("span",{class:(0,r.C4)(["token-amount",[{large:e.large,small:e.small,vertical:e.vertical}]])},[(0,a.Lk)("span",{class:"amount",style:(0,r.Tr)(e.dynamicSizing?{"--font-size":e.calculateFontSize(e.amountRounded)}:{})},[(0,a.eW)((0,r.v_)(e.amountRounded)+" ",1),e.hideSymbol?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("span",{key:0,class:"symbol",textContent:(0,r.v_)(e.symbolComputed)},null,8,o))],4),e.amountFiat?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"fiat",textContent:(0,r.v_)(e.amountFiat)},null,8,i)):(0,a.Q3)("",!0)],2)}n(2892),n(32637);var u=n(31189),c=n(84754),l=n(32118);const d=(0,a.pM)({props:{amount:{type:Number,required:!0},symbol:{type:String,default:null},protocol:{type:String,required:!0},vertical:Boolean,hideFiat:Boolean,hideSymbol:Boolean,highPrecision:Boolean,dynamicSizing:Boolean,large:Boolean,small:Boolean},setup:function(e){var t=l.C.getAdapter(e.protocol),n=(0,c.ZN)(),r=n.getFormattedAndRoundedFiat,o=(0,a.EW)((function(){return Number.isInteger(e.amount)||0===e.amount?e.amount:(0,u.ZV)(e.amount,{minimumFractionDigits:2,maximumFractionDigits:t.getAmountPrecision({amount:e.amount,highPrecision:e.highPrecision})})})),i=(0,a.EW)((function(){return e.hideFiat?"":r(e.amount,e.protocol)})),s=(0,a.EW)((function(){return e.symbol||t.coinSymbol}));return{amountRounded:o,amountFiat:i,symbolComputed:s,calculateFontSize:u.Vr}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-58c0fdc8"]]),f=v},70694:(e,t,n)=>{"use strict";n.d(t,{A:()=>K});n(62010);var a=n(20641),r=n(90033),o={class:"symbols"},i=["title","textContent"],s={key:1,class:"separator"},u=["title","textContent"];function c(e,t,n,c,l,d){var p,v,f,m,g,h,A,k,y=(0,a.g2)("AssetIcon");return(0,a.uX)(),(0,a.CE)("span",{class:(0,r.C4)(["tokens",{vertical:e.vertical,bright:e.bright}])},[!e.noIcons&&e.imgAsset?((0,a.uX)(),(0,a.Wv)(y,{key:0,class:"icon",asset:e.imgAsset,"icon-size":e.iconSize},null,8,["asset","icon-size"])):(0,a.Q3)("",!0),(0,a.Lk)("span",o,[e.fromAsset?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"symbol",title:(null===(p=e.fromAsset)||void 0===p?void 0:p.name)||(null===(v=e.fromAsset)||void 0===v?void 0:v.symbol),textContent:(0,r.v_)(e.truncateString(e.fullSymbol?null===(f=e.fromAsset)||void 0===f?void 0:f.name:null===(m=e.fromAsset)||void 0===m?void 0:m.symbol)||e.$t("common.unrecognized"))},null,8,i)):(0,a.Q3)("",!0),e.fromAsset&&e.targetAsset?((0,a.uX)(),(0,a.CE)("span",s," / ")):(0,a.Q3)("",!0),e.targetAsset?((0,a.uX)(),(0,a.CE)("span",{key:2,class:"symbol",title:(null===(g=e.targetAsset)||void 0===g?void 0:g.name)||(null===(h=e.targetAsset)||void 0===h?void 0:h.symbol),textContent:(0,r.v_)(e.truncateString(e.fullSymbol?null===(A=e.targetAsset)||void 0===A?void 0:A.name:null===(k=e.targetAsset)||void 0===k?void 0:k.symbol)||e.$t("common.unrecognized"))},null,8,u)):(0,a.Q3)("",!0)])],2)}n(50113),n(62062),n(2892),n(26099);var l=n(65563),d=n(31189),p=["src","title"];function v(e,t,n,o,i,s){var u,c,l,d,v;return e.selectedIcon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.selectedIcon),{key:0,class:(0,r.C4)(["asset-icon",[e.iconSize]]),title:(null===(u=e.asset)||void 0===u?void 0:u.name)||(null===(c=e.asset)||void 0===c?void 0:c.symbol)},null,8,["class","title"])):((0,a.uX)(),(0,a.CE)("img",{key:1,class:(0,r.C4)(["asset-icon",[e.iconSize,{"is-placeholder":!(null===(l=e.asset)||void 0===l?void 0:l.image)}]]),src:e.asset.image||e.getTokenPlaceholderUrl(e.asset),title:(null===(d=e.asset)||void 0===d?void 0:d.name)||(null===(v=e.asset)||void 0===v?void 0:v.symbol),alt:"Asset image"},null,10,p))}var f=n(1287),m=(n(28706),n(74423),n(21699),n(32118)),g=n(59755),h={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},A=(0,a.Lk)("circle",{cx:"8",cy:"8",r:"8",fill:"#F7296E"},null,-1),k=(0,a.Lk)("path",{d:"M4.738 5.70521C4.15716 5.7022 3.59909 5.92647 3.18614 6.3284C2.77342 6.73011 2.53933 7.27645 2.53467 7.84759C2.53933 8.41874 2.77342 8.96507 3.18614 9.36678C3.59909 9.76871 4.15716 9.99299 4.738 9.98998C5.68132 9.98998 6.36713 9.31944 7.0368 8.41658L7.12037 8.30391L7.67106 9.10814L7.6262 9.16579C6.88988 10.1119 6.01852 10.9026 4.73876 10.9027C3.91351 10.9065 3.12014 10.5875 2.53277 10.0151C1.94529 9.44255 1.6119 8.66332 1.60621 7.84829L1.6062 7.84689C1.6119 7.03186 1.94529 6.25264 2.53277 5.68013C3.12014 5.10772 3.91351 4.78866 4.73876 4.79252C6.29265 4.79263 7.28313 5.95315 8.30169 7.47277C8.8128 8.2353 9.26327 8.86642 9.73461 9.30748C10.2032 9.74598 10.6854 9.98997 11.2615 9.98997C11.6568 9.99067 12.0451 9.88682 12.3857 9.68935C12.7262 9.49188 13.0066 9.20808 13.1979 8.86766L13.2265 8.81663H14.2354L14.1799 8.95408C13.9476 9.52944 13.5456 10.0226 13.0262 10.3699C12.5067 10.7172 11.8937 10.9027 11.2664 10.9027H11.2615C9.70767 10.9027 8.75587 9.78998 7.69571 8.21992C7.16349 7.43173 6.71396 6.80153 6.24865 6.36752C5.78686 5.93679 5.31525 5.70521 4.738 5.70521Z",fill:"white"},null,-1),y=(0,a.Lk)("path",{d:"M14.3709 8.21614L14.3601 8.30394H10.5931V7.39124H13.4137C13.308 6.93235 13.053 6.51848 12.6857 6.21385C12.2874 5.88352 11.7828 5.70316 11.2619 5.70521C10.3182 5.70521 9.63256 6.37607 8.96253 7.27964L8.87944 7.39169L8.32596 6.59269L8.37091 6.53474C9.10688 5.58585 9.97895 4.79261 11.2613 4.79252C12.0865 4.78866 12.8799 5.10772 13.4673 5.68013C14.0547 6.25264 14.3881 7.03186 14.3938 7.84689C14.3935 7.97001 14.3859 8.09392 14.3709 8.21614Z",fill:"white"},null,-1),b=[A,k,y];function w(e,t){return(0,a.uX)(),(0,a.CE)("svg",h,b)}var C=n(66262);const x={},L=(0,C.A)(x,[["render",w]]),S=L;var T=n(41970),E=n(2041),I={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743",fill:"none",class:"icon"},_=(0,a.Lk)("path",{d:"M524.267 136.534c-2.016-1.799-3.327-2.599-4.235-2.599v-.1c-.706 0-1.21.6-1.613 1.6-.404.999.302 2.398 2.117 3.997 1.916 1.599 3.53 2.299 4.74 2.299 2.017 0 2.42-2.199-1.009-5.197",fill:"#fff"},null,-1),W=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M351.328 17c18.353 0 45.48 1 53.446 2.299a65 65 0 0 1 10.79 2.498c.504.4 1.714 4.098 2.723 8.096 2.017 6.996 2.017 7.496.201 8.695-.705.6-3.025 1-6.857 1-5.344 0-13.613-.7-24.605-1.9-4.639-.5-10.084-.7-14.824-.7-6.655 0-11.899.4-11.697 1.3.201.6 7.664 1.6 16.638 2.199a377 377 0 0 1 113.245 23.787l8.572 3.498c24.706 9.994 64.841 33.981 80.068 47.973 30.656 28.085 50.219 50.572 65.345 74.958 20.906 32.99 35.057 69.735 41.648 108.14a393 393 0 0 0 4.134 21.788c2.32 10.594 2.421 45.375.101 65.064-6.416 52.727-26.037 103.027-57.076 146.319-17.446 24.086-47.396 55.969-64.135 68.062-13.11 9.495-14.017 10.294-12.101 10.994h.202c3.63 0 23.496-15.092 40.941-31.483 7.059-6.496 10.79-9.594 12.504-9.594 1.412 0 1.513 1.799.807 5.297-1.008 5.497-3.832 9.395-11.899 16.391-4.034 3.498-11.597 10.494-16.841 15.691a310 310 0 0 1-15.63 14.292c-6.656 5.497-16.841 15.991-16.135 16.591h.202c1.513 0 11.597-5.997 18.252-10.994 4.135-3.198 5.95-4.298 7.362-4.298.504 0 1.008.2 1.512.4 3.026 1.299 4.236 7.196 2.118 10.394a104.9 104.9 0 0 1-27.227 17.491c-2.26.876-5.142 2.085-8.017 3.29l-.006.002-.01.005-.009.004-.023.009c-3.01 1.262-6.008 2.519-8.271 3.386-4.437 1.999-9.076 3.698-10.589 4.098s-4.336 1.999-6.555 3.498-6.05 3.598-8.571 4.497c-2.521.9-5.647 2.799-7.059 3.998-1.513 1.299-3.025 2.399-3.529 2.399-.505 0-3.429-2.699-6.656-5.997-3.025-3.298-6.454-5.997-7.261-5.997-.806 0-5.445 1.3-10.386 2.999a357 357 0 0 1-41.648 10.993c-7.655 1.265-9.499 1.818-11.039 4.24l6.601 5.055-.504 3.698c-.726 4.767-1.697 6.539-2.105 7.283q-.068.124-.114.213l-1.008 1.099c-2.42 2.499-5.647 2.799-10.488 2.999l-20.168 1.299a244.4 244.4 0 0 1-51.833-1.599c-5.142-.8-9.68-1.299-11.092-1.299-3.53 0-7.664-.3-11.093-2.599-2.42-1.699-5.243-4.897-5.243-10.994v-3.498l6.89-3.415a345.4 345.4 0 0 1-53.478-13.176c-4.235-1.299-7.059-1.998-9.378-1.998-3.328 0-5.446 1.499-8.672 4.797l-3.832 3.998-4.841-2.499a54 54 0 0 0-6.756-2.998c-1.513-.5-1.614-.9-.605-1.999 1.109-1.399.605-1.599-3.53-1.599-3.428 0-6.252-.8-9.277-2.599-2.42-1.399-6.757-3.398-9.681-4.397l-14.824-5.397a47.7 47.7 0 0 0-12.101-3.399c-5.042 0 7.866 8.696 32.068 20.389a223 223 0 0 0 20.37 9.095c3.832.7 3.832 2.399.101 6.497-1.916 2.098-3.832 3.198-6.454 3.198a40.6 40.6 0 0 1-15.025-4.997 368.4 368.4 0 0 1-55.06-32.682c-2.924-2.699-2.823-6.397.202-14.692a420 420 0 0 0 5.042-14.692l2.42-8.195-6.252-4.798a373 373 0 0 1-34.286-33.581c-2.723-3.298-4.74-4.797-8.068-4.797-1.916 0-4.235.499-7.462 1.499-15.126 4.597-21.48 6.496-24.807 6.496-2.218 0-3.025-.799-4.336-2.199-9.883-10.594-39.63-60.966-39.63-67.262 0-1.499 2.42-4.498 7.36-8.995 9.682-8.995 18.858-18.49 18.858-19.39a1794 1794 0 0 1-15.126-48.173c-1.614-5.397-2.925-10.394-2.925-11.194 0-1.699-3.73-2.998-14.117-4.997-11.698-2.199-22.085-5.597-23.194-7.496-2.017-3.798-3.025-19.889-3.025-47.573q0-2.443-.003-4.651c-.016-19.232-.022-25.457 3.106-28.162 1.496-1.295 3.71-1.784 6.983-2.508q.767-.168 1.611-.359l14.42-3.598 6.455-1.699 1.31-8.995c2.32-17.391 6.858-37.68 11.8-52.971l3.63-10.994-2.824-1.999a82.2 82.2 0 0 1-15.328-14.991 300.2 300.2 0 0 1 31.26-57.868c7.06-10.494 9.278-13.693 12.404-13.693 1.21 0 2.622.5 4.437 1.2a78.4 78.4 0 0 0 15.328 3.997c1.109 0 4.235-2.898 7.362-6.896 7.764-9.395 29.849-31.382 40.437-39.978 4.84-3.997 8.773-7.795 8.773-8.395 0-.5-1.008-4.997-2.622-9.994l-.02-.073c-1.871-6.656-2.842-10.11-1.86-12.895 1.06-3.004 4.392-5.23 11.318-9.857l.243-.163a211 211 0 0 1 25.211-14.891 251 251 0 0 1 32.067-15.891c2.219 0 4.235 1.998 4.235 3.997 0 1.1-2.319 2.699-6.756 4.498-13.311 5.597-53.748 28.984-53.748 31.183 0 .3.201.5.705.5 2.017 0 8.874-3.499 19.463-9.895 21.177-12.893 39.53-22.288 43.563-22.288 2.723 0 4.337 1 8.269 4.997l5.042 4.798 11.093-3.898a370 370 0 0 1 52.538-12.993c6.656-1.2 12.908-2.499 13.816-2.998.907-.5 5.647-.9 10.487-.9 4.841 0 8.572-.3 8.168-.6-.302-.3-4.638-.699-9.479-.799h-8.874l.303-4.997c.201-2.899 1.008-5.697 1.613-6.397 1.815-1.799 16.236-3.897 32.37-4.597 17.143-.8 27.228-1.6 27.631-2.199.302-.2 0-.9-.605-1.5-.605-.599-6.151-.799-13.412-.799-13.815 0-33.58.9-37.311 2.1-2.017.599-3.832.999-5.042.999-.505 0-.807 0-1.009-.2-1.815-1-.504-3.798 2.219-4.997 1.311-.6 8.369-.8 17.546-.8M233.747 89.76c1.311 0 3.428-.5 6.151-1.5 2.824-.999 6.051-1.499 8.37-1.499 1.614 0 2.824.3 3.126.8s-1.815 1.999-4.739 3.198a298 298 0 0 0-36.001 18.29l-21.681 13.193c-11.496 6.996-18.151 11.693-25.513 17.79-2.319 1.999-5.243 3.997-6.554 4.297-2.925 1-3.933 2.499-2.521 4.098 1.21 1.499-3.933 9.695-9.379 14.792-1.613 1.599-2.42 2.298-3.025 2.298-.403 0-.807-.399-1.311-.999-.907-1.199-1.613-1.699-2.017-1.699a296 296 0 0 1-21.378 34.581c-4.639 6.696-9.983 15.291-11.899 19.189-2.017 3.798-4.74 8.595-6.252 10.694a249 249 0 0 0-22.387 50.372c-3.328 10.394-5.85 23.987-4.942 26.386.404.999 1.11 1.599 2.017 1.599 1.614 0 3.63-1.3 5.647-3.598 6.555-7.296 9.177-12.693 14.219-28.884 2.824-8.795 6.05-17.691 7.059-19.989.4-.793 1.753-4.293 3.302-8.301.403-1.043.819-2.12 1.236-3.193 14.338-34.454 36.409-65.216 64.538-89.95 37.295-32.697 82.609-55.101 131.397-64.964 15.429-2.998 35.799-4.597 56.169-4.597 20.672 0 41.244 1.599 56.471 4.797 23.496 4.997 60.807 21.588 65.043 28.984 1.31 2.499 1.31 2.998 0 4.298-2.32 2.198-9.883 3.698-18.354 3.698-2.117 0-4.336 0-6.554-.3a261 261 0 0 0-77.648 5.597 159 159 0 0 0-34.589 12.793c-2.071.957-6.884 2.946-12.173 5.132l-.004.001-.002.001c-2.434 1.006-4.97 2.053-7.384 3.061a282 282 0 0 0-46.589 22.487 266 266 0 0 0-23.193 16.191c-10.085 7.596-20.875 17.991-40.236 38.479a35.5 35.5 0 0 1-6.757 6.297c-2.319 0 0-4.398 6.757-12.993a220.7 220.7 0 0 1 48.505-44.475c28.235-19.49 34.689-24.687 34.689-27.585 0-1.1-.202-1.699-1.311-1.699-1.513 0-4.336.799-10.286 2.698a309.3 309.3 0 0 0-65.547 30.683c-47.323 31.305-81.855 78.286-97.413 132.527-6.05 21.987-8.067 35.38-8.672 58.967-.706 29.184 1.714 50.072 8.874 74.658 9.973 33.074 26.42 63.877 48.404 90.65 22.724 26.637 50.913 48.17 82.69 63.165 39.009 18.652 81.836 28.126 125.144 27.685 21.984.099 28.538.799 18.253 1.998a239 239 0 0 1-22.186.3h-5.445c-12.807 0-16.437.7-8.773 1.799 7.818.582 15.665.682 23.496.3l.082-.001c18.877-.299 19.078-.302 18.876-2.498-.202-1.998.303-2.198 7.563-2.798 37.11-2.998 44.572-4.397 61.715-10.994l20.168-7.796c27.631-10.594 57.178-26.985 83.296-46.274 13.512-9.994 35.899-31.182 46.084-43.676 31.249-38.415 50.398-85.097 55.06-134.225.605-7.196 1.31-13.692 1.613-14.492.303-.799 1.21-4.597 2.017-8.395a24.85 24.85 0 0 1 3.832-9.695c5.042-5.897 4.336-35.48-1.412-63.165-2.521-11.893-10.992-38.978-15.832-50.672a314.2 314.2 0 0 0-44.875-75.158c-9.277-11.593-38.218-40.477-42.756-42.676-1.614-.8-4.942-2.998-7.463-5.197a266 266 0 0 0-44.168-26.585 99.3 99.3 0 0 0-19.563-8.096c-1.009 0 .302 1.2 4.537 3.798 3.127 1.999 5.748 3.998 5.748 4.297 0 .9-.806 1.3-1.916 1.3-1.008 0-2.319-.3-3.63-1-1.21-.6-2.521-1-3.328-1a1 1 0 0 0-.504.1c-1.008.7 5.647 7.697 10.185 10.395 1.714 1.2 3.227 2.499 3.227 2.998 0 .6-.403.9-1.008.9q-2.27 0-7.866-3.298a342 342 0 0 0-52.841-22.288 308.8 308.8 0 0 0-97.514-15.191c-15.933 0-32.571.8-42.353 2.198a205 205 0 0 1-19.462 2.499c-1.513 0-1.816-.3-1.816-.8 0-.6 1.311-.999 3.026-.999s4.739-.8 7.059-1.6c2.319-.799 5.546-1.498 7.058-1.498 1.513 0 3.832-.8 5.043-1.8 2.117-1.698 4.134-8.395 3.227-10.993-.202-.7-.606-1-1.513-1-.706 0-1.714.2-3.227.5l-18.152 3.398c-15.63 2.999-32.269 7.496-44.37 11.993l-5.748 2.1 5.345 5.396c3.025 2.999 5.143 5.497 4.84 5.797-.201.2-3.025 1.1-6.454 1.999-8.874 2.499-22.689 8.695-22.689 10.294 0 .8.605 1.3 2.017 1.3m252.16-14.792c2.684-.02 3.988-1.42 5.49-4.298 1.008-1.699 1.412-2.998 1.311-2.998l-8.874-2.998a324 324 0 0 0-60.404-15.992c-1.009 0-.404 6.497 1.109 9.195.504 1 2.118 2 3.63 2.299 9.883 1.999 38.723 9.295 47.396 12.193 5.008 1.688 8.126 2.587 10.342 2.599m0 0h.044-.1zm-311.152 45.375c.806 0 7.664-6.297 15.63-14.193 8.067-7.995 14.42-14.492 14.118-14.492-2.824.3-16.135 10.495-26.017 19.989-5.042 4.698-6.353 7.796-3.731 8.696m-51.329 48.273c1.311 0 4.841-2.799 8.975-6.896 5.042-5.198 8.975-7.896 11.093-7.896.706 0 1.21.3 1.512.8q.152.299.605.299c.706 0 1.916-.699 3.53-1.999 1.916-1.799 3.126-3.498 2.622-3.897h-.303c-.706 0-2.017.799-3.428 2.098-1.311 1.3-2.219 1.999-2.622 1.999-.303 0-.404-.299-.404-.599 0-2.799 4.135-7.996 8.774-10.994 6.252-4.198 18.454-16.791 18.454-18.99 0-.899-.706-2.198-1.614-2.998-.807-.7-2.218-2.499-3.025-3.998-.807-1.599-1.815-2.898-2.219-2.898-1.109.1-10.588 8.095-22.689 19.189a281.4 281.4 0 0 0-29.95 32.782c0 .999 8.067 3.998 10.689 3.998M51.022 319.532c4.034 0 5.345-2.399 7.26-12.793 1.917-10.694 6.152-25.786 11.194-39.978 1.614-4.597 2.924-8.795 2.924-9.195 0-.499-1.411-2.498-3.126-4.497-1.714-1.899-3.53-3.498-4.033-3.498-2.118 0-10.084 29.283-13.614 49.972-2.924 17.59-3.025 19.989-.605 19.989m273.481 364.797 2.823 2.099c4.236 3.098 11.496 3.998 39.026 4.597 5.242.2 10.283.2 14.92.2h.005c18.958 0 32.471-1.099 37.412-3.198l3.428-1.399-.504 3.598c-.302 1.999-.807 3.998-1.008 4.197-.303.3-2.622.5-5.143.6l-20.37 1.299a238.5 238.5 0 0 1-49.917-1.499c-4.437-.699-9.983-1.399-12.403-1.399-6.252 0-8.269-1.399-8.269-5.597z",fill:"#fff"},null,-1),F=(0,a.Lk)("path",{d:"M526.485 62.175c-10.588-5.097-16.638-7.396-19.664-7.396-1.008 0-1.714.3-2.117.7-1.614 1.599-.404 3.198 3.126 4.398 2.017.6 12.907 5.596 24.202 10.993 11.193 5.397 20.672 9.895 21.176 9.895.404-.1-2.016-2.599-5.344-5.597a81.5 81.5 0 0 0-21.379-12.993m202.088 292.138.303 1.299a125 125 0 0 1-.303 28.484c-.302 0-.403-4.997-.403-14.991s.101-14.792.403-14.792m-43.058 140.722c0-1.899-.404-3.498-.908-3.498a80.7 80.7 0 0 0-8.067 13.592 386.5 386.5 0 0 1-43.463 64.864c-1.714 1.099-1.109 2.599 1.109 2.599 1.4.051 2.774.392 4.034.999.807.4 1.513.7 2.219.7 2.42 0 4.538-2.499 8.067-8.596l11.798-20.188c13.211-22.488 25.211-46.475 25.211-50.472m-8.366 35.68c.706 0 1.311.699 1.311 2.398 0 2.499-7.362 17.091-13.816 27.185q-.324.536-.633 1.042l-.477.784c-1.282 2.102-2.217 3.635-2.217 3.871 0 .3-1.614 2.998-3.53 5.997-2.42 3.598-4.235 5.497-5.546 5.497q-4.689 0 2.117-8.995c2.219-2.999 6.152-9.295 8.673-13.993l7.563-13.492a106 106 0 0 0 4.134-7.796c.706-1.699 1.715-2.598 2.421-2.598zm3.33 24.386c0-1.499-2.017-3.598-3.53-3.598-.605 0-1.613 1.199-2.218 2.698-2.118 4.798-12.404 20.689-14.521 22.488l-2.118 1.799 2.723 1.199c1.008.4 1.815.7 2.621.7.605 0 1.211-.2 1.715-.5a152.7 152.7 0 0 0 15.328-24.786m-97.618 86.552c1.412 0 2.319 1.1 3.327 3.398 2.219 5.197 2.017 7.796-1.21 11.094-7.26 7.596-61.614 36.48-68.37 36.48h-.303a35 35 0 0 1-10.285-8.396c0-.399 3.025-1.998 6.857-3.897a379 379 0 0 0 63.631-35.481c3.025-2.098 4.84-3.198 6.353-3.198m-255.033 66.766 12.303 1.499a663 663 0 0 0 74.118 1.199h1.311c2.017 0 2.319.5 2.521 2.799.403 4.497-2.924 9.095-7.261 9.994a360 360 0 0 1-44.471 1.999c-11.193-.4-28.739-1.999-31.966-2.998-2.219-.8-6.858-8.695-6.858-11.893 0-1.4.101-2.599.303-2.599",fill:"#fff"},null,-1),D=[_,W,F];function B(e,t){return(0,a.uX)(),(0,a.CE)("svg",I,D)}const P={},O=(0,C.A)(P,[["render",B]]),M=O;var R=[l.hS.sm,l.hS.rg,l.hS.md,l.hS.lg,l.hS.xxl],N=(0,f.A)((0,f.A)((0,f.A)({},l.yv.aeternity,S),l.yv.bitcoin,T.A),l.yv.ethereum,E.A),U=Object.assign(Object.assign({},N),{ct_xtk8rSz9suPb6D6VLquyfVji25FcnFRDjn3dnn5mmvHsPiESt:M});const X=(0,a.pM)({props:{asset:{type:Object,required:!0},iconSize:{type:String,default:l.hS.md,validator:function(e){return R.includes(e)}}},setup:function(e){var t=(0,a.EW)((function(){return e.asset.protocol||l.yv.aeternity})),n=(0,a.EW)((function(){return e.asset.contractId||m.C.getAdapter(t.value).coinContractId})),r=(0,a.EW)((function(){return U[n.value]}));function o(e){return"".concat(g.d3).concat(e.contractId)}return{selectedIcon:r,getTokenPlaceholderUrl:o}}}),V=(0,C.A)(X,[["render",v],["__scopeId","data-v-9ac94844"]]),H=V,$=(0,a.pM)({components:{AssetIcon:H},props:{tokens:{type:Array,required:!0},symbolLength:{type:Number,default:11},doubleSymbolLength:{type:Number,default:5},protocol:{type:String,default:l.yv.aeternity},iconSize:{type:String,default:l.hS.sm},vertical:Boolean,noIcons:Boolean,fullSymbol:Boolean,bright:Boolean},setup:function(e){function t(){var t;if((null===(t=e.tokens)||void 0===t?void 0:t.length)<2)return e.symbolLength;var n=e.tokens.map((function(e){var t=e.symbol;return(null===t||void 0===t?void 0:t.length)||0})).find((function(t){return t{"use strict";n.d(t,{A:()=>h});var a=n(20641),r=n(90033),o=n(53751),i={key:0,ref:"transactionFilterEl",class:"filter-wrapper"};function s(e,t,n,s,u,c){var l=(0,a.g2)("InputSearch"),d=(0,a.g2)("Filters");return e.showFilterBar?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,r.C4)(["transaction-filter",{"without-search":e.hideSearch}]),style:(0,r.Tr)({maxHeight:e.openHeight})},[(0,a.bF)(o.eB,{name:"fade-transition",mode:"out-in"},{default:(0,a.k6)((function(){return[e.firstRender||e.openHeight?((0,a.uX)(),(0,a.CE)("div",i,[!e.hideSearch&&e.isActiveAccountAe?((0,a.uX)(),(0,a.Wv)(l,{key:0,modelValue:e.searchPhrase,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchPhrase=t}),class:"input-search",placeholder:e.$t("pages.fungible-tokens.searchPlaceholder"),onFocusChange:e.handleFocus},null,8,["modelValue","placeholder","onFocusChange"])):(0,a.Q3)("",!0),e.hideFilterButton?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(d,{key:1,modelValue:e.displayMode,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.displayMode=t}),class:"filters",filters:e.isActiveAccountAe?e.filtersConfigAe:e.filtersConfig,"scroll-top-threshold":e.scrollTopThreshold},null,8,["modelValue","filters","scroll-top-threshold"]))],512)):(0,a.Q3)("",!0)]})),_:1})],6)):(0,a.Q3)("",!0)}var u=n(50953),c=n(75220),l=n(65563),d=n(84754),p=n(76801),v=n(9776);const f=(0,a.pM)({name:"TransactionAndTokenFilter",components:{Filters:v.A,InputSearch:p.A},props:{showFilters:Boolean},setup:function(e){var t=(0,c.lq)(),n=(0,d.QR)(),r=n.isSearchBarAndFilterExpanded,o=n.searchPhrase,i=n.displayMode,s=n.filtersConfig,p=n.filtersConfigAe,v=n.resetFilter,f=(0,d.kW)(),m=f.viewportElement,g=(0,d.oV)(),h=g.activeAccount,A=140,k=(0,u.KR)(0),y=(0,u.KR)(!0),b=(0,u.KR)(!1),w=(0,u.KR)(),C=(0,u.KR)(),x=(0,a.EW)((function(){return h.value.protocol===l.yv.aeternity})),L=(0,a.EW)((function(){return e.showFilters||b.value||r.value?"".concat(k.value,"px"):0})),S=(0,a.EW)((function(){var e;return!!(null===(e=t.meta)||void 0===e?void 0:e.showFilterBar)})),T=(0,a.EW)((function(){var e;return!!(null===(e=t.meta)||void 0===e?void 0:e.hideSearchBar)})),E=(0,a.EW)((function(){var e;return!!(null===(e=t.meta)||void 0===e?void 0:e.hideFilterButton)}));function I(e){b.value=e}function _(){C.value=new ResizeObserver((function(){var e,t=(null===(e=w.value)||void 0===e?void 0:e.clientHeight)||0;t&&t>0&&(k.value=t)}))}return(0,a.wB)(w,(function(e){var t,n;e?null===(t=C.value)||void 0===t||t.observe(e):null===(n=C.value)||void 0===n||n.disconnect()})),(0,a.wB)((function(){return o.value}),(function(){m.value&&m.value.scrollTop>A&&m.value.scrollTo({top:A,behavior:"smooth"})})),(0,a.sV)((function(){var e;S.value&&(k.value=null===(e=null===w||void 0===w?void 0:w.value)||void 0===e?void 0:e.clientHeight,y.value=!1,_())})),(0,a.hi)((function(){return v()})),{transactionFilterEl:w,searchPhrase:o,filtersConfig:s,filtersConfigAe:p,isActiveAccountAe:x,openHeight:L,hideSearch:T,showFilterBar:S,hideFilterButton:E,displayMode:i,firstRender:y,scrollTopThreshold:A,handleFocus:I}}});var m=n(66262);const g=(0,m.A)(f,[["render",s],["__scopeId","data-v-5de9a71a"]]),h=g},3260:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(20641),r=n(90033),o={class:"amount"},i=["textContent"];function s(e,t,n,s,u,c){var l=(0,a.g2)("Tokens");return e.filteredAssets.length?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,r.C4)(["transaction-asset-rows",{reversed:e.isReversed}])},[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.filteredAssets,(function(t){return(0,a.uX)(),(0,a.CE)("div",{key:t.symbol,class:(0,r.C4)(["row",{error:e.error,received:t.isReceived,"multiple-rows":e.multipleRows}]),style:(0,r.Tr)({"--font-size":e.calculateFontSize(t.amount)})},[(0,a.bF)(l,{tokens:t.isPool?e.filteredAssets:[t],"icon-size":e.iconSize,protocol:e.protocol,"full-symbol":"",bright:""},null,8,["tokens","icon-size","protocol"]),(0,a.Lk)("span",o,[(0,a.eW)((0,r.v_)(t.isReceived?"":"−")+" "+(0,r.v_)(e.amountFormatted({token:t,isRounded:e.isRounded}))+" ",1),(null===t||void 0===t?void 0:t.symbol)?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"symbol",textContent:(0,r.v_)(e.truncateString(t.symbol,5))},null,8,i)):(0,a.Q3)("",!0)])],6)})),128))],2)):(0,a.Q3)("",!0)}n(76918),n(2008),n(25276),n(62062),n(23288),n(26099),n(38781);var u=n(65563),c=n(31189),l=n(70694);const d=(0,a.pM)({name:"TransactionAssetRows",components:{Tokens:l.A},props:{assets:{type:Array,default:null},iconSize:{type:String,default:"sm"},protocol:{type:String,required:!0},error:Boolean,isRounded:Boolean,isReversed:Boolean,multipleRows:Boolean},setup:function(e){var t=(0,a.EW)((function(){var t,n;return null===(n=null===(t=e.assets||[])||void 0===t?void 0:t.filter((function(e){var t=e.amount;return void 0!==t})))||void 0===n?void 0:n.map((function(e){return(0,c.Jk)(e)}))})),n=function(e){var t,n=e.token,a=e.isRounded;return!n.amount||a&&-1===(null===(t=n.amount)||void 0===t?void 0:t.toString().indexOf("e"))?n.amount:(0,c.k0)(n.amount)};return{TX_DIRECTION:u.NX,filteredAssets:t,truncateString:c.W5,amountFormatted:n,calculateFontSize:c.Vr}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-1bbadb59"]]),f=v},75518:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var a=n(20641),r=n(90033),o={class:"transaction-details-base"},i={key:0,class:"header"},s={key:1,class:"content"},u={class:"explorer"},c={class:"data-grid"},l={class:"text-address"},d={class:"text-address"},p={class:"span-3-columns"};function v(e,t,n,v,f,m){var g,h,A=(0,a.g2)("TransactionErrorStatus"),k=(0,a.g2)("TransactionOverview"),y=(0,a.g2)("LinkButton"),b=(0,a.g2)("DetailsItem"),w=(0,a.g2)("CopyText"),C=(0,a.g2)("PayloadDetails"),x=(0,a.g2)("AnimatedPending"),L=(0,a.g2)("TokenAmount");return(0,a.uX)(),(0,a.CE)("div",o,[e.showHeader||e.isErrorTransaction?((0,a.uX)(),(0,a.CE)("div",i,[e.isErrorTransaction?((0,a.uX)(),(0,a.Wv)(A,{key:0,"return-type":null===(h=null===(g=e.transaction)||void 0===g?void 0:g.tx)||void 0===h?void 0:h.returnType},null,8,["return-type"])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"tokens",{},void 0,!0)])):(0,a.Q3)("",!0),e.transaction?((0,a.uX)(),(0,a.CE)("div",s,[(0,a.bF)(k,{transaction:e.transaction},null,8,["transaction"]),(0,a.Lk)("div",u,[(0,a.bF)(y,{"is-external":"",to:e.explorerUrl,variant:"muted"},{default:(0,a.k6)((function(){return[(0,a.eW)((0,r.v_)(e.$t("pages.transactionDetails.explorer")),1)]})),_:1},8,["to"])]),(0,a.Lk)("div",c,[e.isErrorTransaction?(0,a.Q3)("",!0):(0,a.RG)(e.$slots,"swap-data",{key:0},void 0,!0),e.isErrorTransaction?((0,a.uX)(),(0,a.Wv)(b,{key:1,label:e.$t("pages.transactionDetails.reason"),value:e.transaction.tx["return"],class:"reason","data-cy":"reason"},null,8,["label","value"])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"additional-content",{},void 0,!0),e.contractId&&e.isContract(e.contractId)?((0,a.uX)(),(0,a.Wv)(b,{key:2,label:e.$t("common.smartContract"),small:""},{value:(0,a.k6)((function(){return[(0,a.bF)(w,{"hide-icon":"",value:e.contractId,"copied-text":e.$t("common.hashCopied")},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",l,(0,r.v_)(e.splitAddress(e.contractId)),1)]})),_:1},8,["value","copied-text"])]})),_:1},8,["label"])):(0,a.Q3)("",!0),(0,a.bF)(b,{label:e.$t("pages.transactionDetails.hash"),"data-cy":"hash",small:""},{value:(0,a.k6)((function(){return[(0,a.bF)(w,{"hide-icon":"",value:e.hash,"copied-text":e.$t("common.hashCopied")},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",d,(0,r.v_)(e.splitAddress(e.hash)),1)]})),_:1},8,["value","copied-text"])]})),_:1},8,["label"]),(0,a.RG)(e.$slots,"multisig-content",{},void 0,!0),(0,a.bF)(C,{payload:e.payload},null,8,["payload"]),(0,a.Lk)("div",p,[e.transaction.pending?((0,a.uX)(),(0,a.Wv)(b,{key:0,label:e.$t("pages.transactionDetails.timestamp"),"data-cy":"timestamp"},{value:(0,a.k6)((function(){return[(0,a.bF)(x,{class:"pending-icon"}),(0,a.eW)(" "+(0,r.v_)(e.$t("common.pending"))+"... ",1)]})),_:1},8,["label"])):e.transaction.microTime?((0,a.uX)(),(0,a.Wv)(b,{key:1,value:e.formatDate(e.transaction.microTime),secondary:e.formatTime(e.transaction.microTime),label:e.$t("pages.transactionDetails.timestamp"),"data-cy":"timestamp"},null,8,["value","secondary","label"])):(0,a.Q3)("",!0),e.transaction.blockHeight&&e.transaction.blockHeight>0?((0,a.uX)(),(0,a.Wv)(b,{key:2,value:e.transaction.blockHeight,label:e.$t("pages.transactionDetails.blockHeight"),"data-cy":"block-height"},null,8,["value","label"])):(0,a.Q3)("",!0),e.transaction.tx.nonce?((0,a.uX)(),(0,a.Wv)(b,{key:3,value:e.transaction.tx.nonce,label:e.$t("pages.transactionDetails.nonce"),"data-cy":"nonce"},null,8,["value","label"])):(0,a.Q3)("",!0)]),e.amount?((0,a.uX)(),(0,a.Wv)(b,{key:3,label:e.$t("common.amount"),"data-cy":"amount"},{value:(0,a.k6)((function(){return[(0,a.bF)(L,{amount:e.amount,symbol:e.assetSymbol,"hide-fiat":e.hideFiat,"high-precision":!!e.nonAeAssets,protocol:e.protocol},null,8,["amount","symbol","hide-fiat","high-precision","protocol"])]})),_:1},8,["label"])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"gas",{},void 0,!0),e.fee?((0,a.uX)(),(0,a.Wv)(b,{key:4,label:e.$t("transaction.fee"),"data-cy":"fee"},{value:(0,a.k6)((function(){return[(0,a.bF)(L,{amount:e.fee,symbol:e.coinSymbol,protocol:e.protocol,"high-precision":!!e.nonAeAssets},null,8,["amount","symbol","protocol","high-precision"])]})),_:1},8,["label"])):(0,a.Q3)("",!0),e.hideAmountTotal?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(b,{key:5,label:e.$t("common.total"),"data-cy":"total"},{value:(0,a.k6)((function(){return[(0,a.bF)(L,{amount:e.amountTotal,symbol:e.assetSymbol,"hide-fiat":e.hideFiat,"high-precision":!!e.nonAeAssets,protocol:e.protocol},null,8,["amount","symbol","hide-fiat","high-precision","protocol"])]})),_:1},8,["label"]))])])):(0,a.Q3)("",!0)])}n(2892);var f=n(31189),m=n(32118),g=n(84754),h=n(58338),A=n(29351),k=n(39953),y=n(74494),b=n(47206),w=n(20789),C=n(37134),x={class:"transaction-reverted-status"},L={class:"status-wrapper"},S={class:"text-wrapper"},T={key:0,class:"revert-info"};function E(e,t,n,o,i,s){var u=(0,a.g2)("Revert"),c=(0,a.g2)("Failed");return(0,a.uX)(),(0,a.CE)("div",x,[(0,a.Lk)("div",L,[(0,a.Lk)("div",S,[s.isReverted?((0,a.uX)(),(0,a.Wv)(u,{key:0,class:"icon"})):((0,a.uX)(),(0,a.Wv)(c,{key:1,class:"icon"})),(0,a.eW)(" "+(0,r.v_)(s.isReverted?e.$t("pages.transactionDetails.revert"):e.$t("pages.transactionDetails.failed")),1)])]),s.isReverted?((0,a.uX)(),(0,a.CE)("div",T,(0,r.v_)(e.$t("pages.transactionDetails.revertInfo")),1)):(0,a.Q3)("",!0)])}var I=n(36100),_=n(29592);const W={components:{Revert:I.A,Failed:_.A},props:{returnType:{type:String,default:""}},computed:{isReverted:function(){return"revert"===this.returnType}}};var F=n(66262);const D=(0,F.A)(W,[["render",E],["__scopeId","data-v-e674478a"]]),B=D;var P=n(87053);const O=(0,a.pM)({components:{PayloadDetails:C.A,TransactionErrorStatus:B,TransactionOverview:A.A,TokenAmount:k.A,DetailsItem:y.A,LinkButton:b.A,CopyText:w.A,AnimatedPending:P.A},props:{transaction:{type:Object,default:null},amount:{type:Number,default:0},amountTotal:{type:Number,default:0},fee:{type:Number,default:0},payload:{type:String,default:""},hash:{type:String,required:!0},nonAeAssets:{type:Array,default:null},protocol:{type:String,required:!0},isErrorTransaction:Boolean,showHeader:Boolean,hideAmountTotal:Boolean,hideFiat:Boolean},setup:function(e){var t=m.C.getAdapter(e.protocol),n=t.coinSymbol,r=(0,g.Y7)(),o=r.getTxAssetSymbol,i=(0,a.EW)((function(){var n;return t.getExplorer().prepareUrlForHash((null===(n=null===e||void 0===e?void 0:e.transaction)||void 0===n?void 0:n.hash)||"")})),s=(0,a.EW)((function(){var t,n;return null===(n=null===(t=e.transaction)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.contractId})),u=(0,a.EW)((function(){return o(e.transaction)}));return{formatDate:f.Yq,formatTime:f.fU,splitAddress:f.lS,isContract:h.bK,assetSymbol:u,coinSymbol:n,contractId:s,explorerUrl:i}}}),M=(0,F.A)(O,[["render",v],["__scopeId","data-v-173f98fe"]]),R=M},18665:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(20641),r={class:"token-info"};function o(e,t,n,o,i,s){var u=(0,a.g2)("TokenAmount"),c=(0,a.g2)("Tokens"),l=(0,a.g2)("AddressTruncated"),d=(0,a.g2)("DetailsItem");return(0,a.uX)(),(0,a.Wv)(d,{label:e.label,class:"pool-token-row"},{value:(0,a.k6)((function(){return[(0,a.Lk)("div",null,[e.hideAmount?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(u,{key:0,amount:e.amount,protocol:e.PROTOCOLS.aeternity,"hide-fiat":"","hide-symbol":""},null,8,["amount","protocol"])),(0,a.Lk)("div",r,[e.token?((0,a.uX)(),(0,a.Wv)(c,{key:0,tokens:e.assetsMapped},null,8,["tokens"])):(0,a.Q3)("",!0),!e.token.contractId||e.token.isWrappedCoin||e.isAssetCoin(e.token.contractId)?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(l,{key:1,"show-explorer-link":"",address:e.token.contractId,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]))])])]})),_:1},8,["label"])}n(62062);var i=n(31189),s=n(65563),u=n(74494),c=n(39953),l=n(70694),d=n(28192);const p=(0,a.pM)({components:{AddressTruncated:d.A,TokenAmount:c.A,DetailsItem:u.A,Tokens:l.A},props:{label:{type:String,default:""},token:{type:Object,required:!0},tokens:{type:Array,required:!0},hideAmount:Boolean},setup:function(e){var t=(0,a.EW)((function(){return+(e.token.decimals?(0,i.Y9)(e.token.amount,-e.token.decimals):e.token.amount)})),n=(0,a.EW)((function(){return(e.token.isPool?e.tokens:[e.token]).map((function(e){return(0,i.Jk)(e)}))}));return{isAssetCoin:i.go,PROTOCOLS:s.yv,amount:t,assetsMapped:n}}});var v=n(66262);const f=(0,v.A)(p,[["render",o],["__scopeId","data-v-47a7c49c"]]),m=f},8783:(e,t,n)=>{"use strict";n.d(t,{A:()=>pe});n(62010);var a=n(20641),r=function(e){return(0,a.Qi)("data-v-a033de50"),e=e(),(0,a.jt)(),e},o={class:"transaction-info"},i={class:"parties"},s={class:"mid"},u=r((function(){return(0,a.Lk)("div",{class:"line"},null,-1)})),c={key:2,class:"custom-avatar"},l={class:"details"};function d(e,t,n,r,d,p){var v=(0,a.g2)("TransactionTagList"),f=(0,a.g2)("Avatar"),m=(0,a.g2)("TriangleRight"),g=(0,a.g2)("AensIcon"),h=(0,a.g2)("SHLogo"),A=(0,a.g2)("ActionIcon"),k=(0,a.g2)("TransactionInfoDetailsParty");return(0,a.uX)(),(0,a.CE)("div",o,[(0,a.bF)(v,(0,a.v6)(e.$attrs,{transaction:e.transaction}),null,16,["transaction"]),(0,a.Lk)("div",i,[e.sender.address?((0,a.uX)(),(0,a.Wv)(f,{key:0,name:e.sender.name,address:e.sender.address,size:"lg"},null,8,["name","address"])):(0,a.Q3)("",!0),(0,a.Lk)("div",s,[(0,a.bF)(m,{class:"triangle"}),u]),e.recipient.address?((0,a.uX)(),(0,a.Wv)(f,{key:1,address:e.recipient.address,name:e.recipient.name,size:"lg"},null,8,["address","name"])):((0,a.uX)(),(0,a.CE)("div",c,[e.recipient.aens?((0,a.uX)(),(0,a.Wv)(g,{key:0,class:"icon"})):(0,a.Q3)("",!0),e.recipient.wallet?((0,a.uX)(),(0,a.Wv)(h,{key:1,class:"icon logo"})):((0,a.uX)(),(0,a.Wv)(A,{key:2,class:"icon"}))]))]),(0,a.Lk)("div",l,[(0,a.bF)(k,{"tx-party":e.sender,"data-cy":"sender"},null,8,["tx-party"]),(0,a.bF)(k,{"tx-party":e.recipient,"data-cy":"recipient","is-recipient":""},null,8,["tx-party"])])])}var p={viewBox:"0 0 15 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},v=(0,a.Lk)("path",{d:"M1.75 2.00481L13 8.5L1.75 14.9952L1.75 2.00481Z",fill:"#141414",stroke:"currentColor","stroke-width":"2"},null,-1),f=[v];function m(e,t){return(0,a.uX)(),(0,a.CE)("svg",p,f)}var g=n(66262);const h={},A=(0,g.A)(h,[["render",m]]),k=A;var y={viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},b=(0,a.Lk)("path",{d:"M24 30.036C24 30.2506 24.0691 30.4595 24.197 30.6318C24.3248 30.8042 24.5048 30.9308 24.7102 30.993C24.9156 31.0552 25.1356 31.0496 25.3376 30.9772C25.5396 30.9047 25.7129 30.7692 25.832 30.5907L33.6306 18.8933C33.731 18.7427 33.7887 18.5677 33.7974 18.3869C33.8061 18.2062 33.7656 18.0264 33.6802 17.8668C33.5948 17.7072 33.4677 17.5738 33.3125 17.4808C33.1572 17.3878 32.9796 17.3387 32.7986 17.3387H26.6653V9.96934C26.6649 9.7551 26.5956 9.54668 26.4678 9.37476C26.34 9.20284 26.1603 9.07652 25.9553 9.0144C25.7502 8.95228 25.5307 8.95764 25.3289 9.0297C25.1272 9.10177 24.9539 9.23671 24.8346 9.41467L17.036 21.112C16.9356 21.2626 16.8779 21.4376 16.8692 21.6184C16.8605 21.7992 16.901 21.9789 16.9864 22.1385C17.0718 22.2981 17.1989 22.4315 17.3541 22.5245C17.5094 22.6175 17.687 22.6667 17.868 22.6667H24.0013L24 30.036Z",fill:"currentColor"},null,-1),w=(0,a.Lk)("path",{opacity:"0.44",d:"M9.99998 30.6667C9.46955 30.6667 8.96084 30.456 8.58577 30.081C8.21069 29.7059 7.99998 29.1972 7.99998 28.6667C7.99998 28.1363 8.21069 27.6276 8.58577 27.2525C8.96084 26.8775 9.46955 26.6667 9.99998 26.6667H16.6666C17.1971 26.6667 17.7058 26.8775 18.0809 27.2525C18.4559 27.6276 18.6666 28.1363 18.6666 28.6667C18.6666 29.1972 18.4559 29.7059 18.0809 30.081C17.7058 30.456 17.1971 30.6667 16.6666 30.6667H9.99998ZM7.33331 22.6667C6.80288 22.6667 6.29417 22.456 5.9191 22.081C5.54403 21.7059 5.33331 21.1972 5.33331 20.6667C5.33331 20.1363 5.54403 19.6276 5.9191 19.2525C6.29417 18.8775 6.80288 18.6667 7.33331 18.6667H12.6666C13.1971 18.6667 13.7058 18.8775 14.0809 19.2525C14.4559 19.6276 14.6666 20.1363 14.6666 20.6667C14.6666 21.1972 14.4559 21.7059 14.0809 22.081C13.7058 22.456 13.1971 22.6667 12.6666 22.6667H7.33331ZM9.99998 14.6667C9.46955 14.6667 8.96084 14.456 8.58577 14.081C8.21069 13.7059 7.99998 13.1972 7.99998 12.6667C7.99998 12.1363 8.21069 11.6276 8.58577 11.2525C8.96084 10.8775 9.46955 10.6667 9.99998 10.6667H16.6666C17.1971 10.6667 17.7058 10.8775 18.0809 11.2525C18.4559 11.6276 18.6666 12.1363 18.6666 12.6667C18.6666 13.1972 18.4559 13.7059 18.0809 14.081C17.7058 14.456 17.1971 14.6667 16.6666 14.6667H9.99998Z",fill:"currentColor"},null,-1),C=[b,w];function x(e,t){return(0,a.uX)(),(0,a.CE)("svg",y,C)}const L={},S=(0,g.A)(L,[["render",x]]),T=S;var E={viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},I=(0,a.Lk)("path",{d:"M25 33.3253H9.00001C8.64667 33.3253 8.30667 33.1853 8.05734 32.9347C7.80667 32.6855 7.66667 32.3456 7.66667 31.9924V7.99967C7.66667 7.64645 7.80667 7.30655 8.05734 7.0573C8.30667 6.80671 8.64667 6.66675 9.00001 6.66675H25C26.0613 6.66675 27.0787 7.08795 27.828 7.83839C28.5787 8.5875 29 9.60452 29 10.6655V29.3265C29 30.3875 28.5787 31.4045 27.828 32.1536C27.0787 32.9041 26.0613 33.3253 25 33.3253ZM18.3213 19.996C17.4853 19.9294 16.6453 20.0347 15.8507 20.3039C15.056 20.5732 14.3253 21.0024 13.7027 21.5635C13.08 22.1247 12.5787 22.8072 12.228 23.5696C11.8787 24.3307 11.6867 25.1558 11.6667 25.9942C11.6947 26.1781 11.7827 26.3474 11.9187 26.4754C11.988 26.5687 12.0867 26.634 12.2 26.6606H24.436C24.5093 26.6646 24.5827 26.654 24.652 26.6273C24.7213 26.602 24.784 26.562 24.836 26.5114C24.956 26.3674 25.016 26.1821 25 25.9942C24.8013 22.294 22.2427 19.996 18.3213 19.996ZM18.3333 13.3314C17.8053 13.3314 17.2907 13.4873 16.852 13.7806C16.4133 14.0738 16.072 14.4897 15.8693 14.9775C15.668 15.4641 15.6147 15.9999 15.7173 16.5171C15.82 17.0343 16.0747 17.5088 16.4467 17.882C16.82 18.2552 17.2947 18.5085 17.812 18.6111C18.3307 18.7151 18.8667 18.6618 19.3533 18.4605C19.84 18.2592 20.2573 17.9166 20.5507 17.4781C20.844 17.0396 21 16.5251 21 15.9972C21 15.2908 20.7187 14.6123 20.2187 14.1125C19.7187 13.6126 19.04 13.3314 18.3333 13.3314Z",fill:"currentColor"},null,-1),_=(0,a.Lk)("path",{opacity:"0.44",d:"M31.3211 7.83875C30.6727 7.08808 29.794 6.66675 28.8785 6.66675L25.6978 6.66941L26.5753 6.91208C27.0555 7.10941 27.5 7.41475 27.8662 7.83875C28.5146 8.58941 28.8785 9.60675 28.8785 10.6667V29.3334C28.8785 30.3947 28.5146 31.4121 27.8662 32.1614C27.5 32.5854 27.0544 32.8907 26.5753 33.0881L25.6667 33.3121L28.8785 33.3334C29.7952 33.3334 30.6739 32.9121 31.3211 32.1614C31.9683 31.4107 32.3333 30.3934 32.3333 29.3334V10.6667C32.3333 9.60541 31.9694 8.58808 31.3211 7.83875Z",fill:"currentColor"},null,-1),W=[I,_];function F(e,t){return(0,a.uX)(),(0,a.CE)("svg",E,W)}const D={},B=(0,g.A)(D,[["render",F]]),P=B;var O=n(87398),M=n(59480),R=n(90033),N={key:1,class:"wallet"};function U(e,t,n,r,o,i){var s=(0,a.g2)("Truncate"),u=(0,a.g2)("LinkButton"),c=(0,a.g2)("AddressFormatted"),l=(0,a.g2)("CopyText");return(0,a.uX)(),(0,a.CE)("div",{class:(0,R.C4)(["transaction-info-details-party",{recipient:e.isRecipient}])},[e.txParty.url||!e.isRecipient?((0,a.uX)(),(0,a.Wv)(u,{key:0,to:e.txParty.url,class:"name"},{default:(0,a.k6)((function(){return[(0,a.bF)(s,{right:e.isRecipient,str:e.txParty.name||e.txParty.label||e.$t("common.fellowSuperhero")},null,8,["right","str"])]})),_:1},8,["to"])):e.txParty.wallet?((0,a.uX)(),(0,a.CE)("span",N,(0,R.v_)(e.$t("common.title")),1)):((0,a.uX)(),(0,a.CE)("span",{key:2,class:(0,R.C4)(["name",{aens:e.txParty.aens}])},(0,R.v_)(e.txParty.label||e.$t("transaction.overview.accountAddress")),3)),e.txParty.address?((0,a.uX)(),(0,a.Wv)(l,{key:3,"hide-icon":"",value:e.txParty.address},{default:(0,a.k6)((function(){return[(0,a.bF)(c,{address:e.txParty.address,"column-count":5,"align-right":e.isRecipient,class:"text-address","data-cy":"address"},null,8,["address","align-right"])]})),_:1},8,["value"])):(0,a.Q3)("",!0)],2)}var X=n(20789),V=n(39893),H=n(74295),$=n(47206);const j=(0,a.pM)({components:{AddressFormatted:H.A,CopyText:X.A,LinkButton:$.A,Truncate:V.A},props:{isRecipient:Boolean,txParty:{type:Object,required:!0}}}),K=(0,g.A)(j,[["render",U],["__scopeId","data-v-06588384"]]),q=K;function G(e,t,n,r,o,i){var s=(0,a.g2)("TransactionTag");return(0,a.uX)(),(0,a.CE)("div",{class:(0,R.C4)(["transaction-tag-list",{dense:e.dense}])},[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.labels,(function(e){return(0,a.uX)(),(0,a.Wv)(s,{key:e,"tx-type":e,class:"title-tag","data-cy":"label"},null,8,["tx-type"])})),128))],2)}n(2008),n(74423),n(44114),n(26099),n(21699);var Q=n(46992),Z=n(91087),Y=n(84754),z=n(31189),J=n(65563),ee=n(59755),te=n(58338),ne={class:"transaction-tag"};function ae(e,t,n,r,o,i){return(0,a.uX)(),(0,a.CE)("div",ne,(0,R.v_)(n.txType),1)}const re={props:{txType:{type:String,required:!0}}},oe=(0,g.A)(re,[["render",ae],["__scopeId","data-v-156e7b98"]]),ie=oe,se=(0,a.pM)({components:{TransactionTag:ie},props:{customTitle:{type:String,default:null},transaction:{type:Object,default:null},additionalTag:{type:String,default:null},dense:Boolean},setup:function(e){var t,n=(0,Q.s9)(),r=n.t,o=(0,Y.my)({transaction:e.transaction,externalAddress:null===(t=e.transaction)||void 0===t?void 0:t.transactionOwner}),i=o.direction,s=o.innerTx,u=o.innerTxTag,c=o.outerTxTag,l=o.txTypeLabel,d=o.txFunctionLabel,p=o.isDex,v=o.isDexAllowance,f=(0,Y.kz)(),m=f.tippingContractAddresses,g=(0,Y.Y7)(),h=g.getProtocolAvailableTokens,A=(0,a.EW)((function(){var t,n,a,o;if(e.customTitle)return[e.customTitle];if(!(null===(t=e.transaction)||void 0===t?void 0:t.tx)||e.transaction.pending||c.value===Z.vw.NameTransferTx)return[];var f=m.value,g=f.tippingV1,A=f.tippingV2,k=[];return e.additionalTag&&k.push(e.additionalTag),c.value===Z.vw.GaMetaTx?k.push(r("transaction.type.gaMetaTx")):c.value===Z.vw.PayingForTx&&k.push(r("transaction.type.payingForTx")),ee.VA.has(c.value)?k.push(J.um,l.value):u.value===Z.vw.GaMetaTx?k.push(r("transaction.type.contractCallTx"),r("transaction.type.multisigProposal")):u.value===Z.vw.SpendTx?k.push(r("transaction.type.spendTx"),i.value===J.NX.received?r("transaction.spendType.in"):r("transaction.spendType.out")):v.value?k.push(r("transaction.dexType.allowToken")):p.value?k.push(J.Iu,(0,te.wX)(s.value["function"])?r("transaction.dexType.pool"):r("common.swap")):e.transaction.claim||[g,A].includes(null===(n=s.value)||void 0===n?void 0:n.contractId)&&s.value["function"]===ee.vG.claim?k.push(r("pages.token-details.tip"),r("transaction.spendType.in")):(null===(a=s.value)||void 0===a?void 0:a.contractId)&&[g,A].includes(s.value.contractId)&&(0,z.mK)([ee.vG.tip,ee.vG.retip],s.value["function"])?k.push(r("pages.token-details.tip"),r("transaction.spendType.out")):c.value===Z.vw.PayingForTx&&u.value===Z.vw.GaAttachTx?k.push(r("transaction.type.createMultisigVault")):c.value===Z.vw.ContractCallTx&&h(J.yv.aeternity)[null===(o=s.value)||void 0===o?void 0:o.contractId]&&(s.value["function"]===ee.vG.transfer||e.transaction.incomplete)?k.push(r("transaction.type.spendTx"),s.value.callerId!==e.transaction.transactionOwner&&e.transaction.transactionOwner?r("transaction.spendType.in"):r("transaction.spendType.out")):e.transaction.tx["function"]?k.push(d.value,l.value):l.value!==(null===k||void 0===k?void 0:k[0])&&k.push(l.value),k.filter(z.__)}));return{labels:A}}}),ue=(0,g.A)(se,[["render",G],["__scopeId","data-v-abaedd20"]]),ce=ue,le=(0,a.pM)({name:"TransactionInfo",components:{TransactionTagList:ce,TransactionInfoDetailsParty:q,TriangleRight:k,ActionIcon:T,AensIcon:P,Avatar:M.A,SHLogo:O.A},props:{transaction:{type:Object,default:null},sender:{type:Object,required:!0},recipient:{type:Object,required:!0}}}),de=(0,g.A)(le,[["render",d],["__scopeId","data-v-a033de50"]]),pe=de},29351:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("TransactionInfo");return(0,a.uX)(),(0,a.Wv)(s,{class:"transaction-overview",title:e.preparedTransaction.title,sender:e.preparedTransaction.sender,recipient:e.preparedTransaction.recipient,"transaction-function":e.preparedTransaction["function"],transaction:e.transaction,"additional-tag":e.additionalTag},null,8,["title","sender","recipient","transaction-function","transaction","additional-tag"])}var o=n(2327),i=(n(16280),n(76918),n(62010),n(26099),n(11392),n(91087)),s=n(50953),u=n(46992),c=n(66176),l=n(65563),d=n(32118),p=n(84754),v=n(59755),f=n(41549),m=n(49012),g=n(8783),h=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const A=(0,a.pM)({components:{TransactionInfo:g.A},props:{transaction:{type:Object,required:!0},additionalTag:{type:String,default:null}},setup:function(e){var t,n=this,r=(0,u.s9)(),g=r.t,A=r.tm,k=(0,p.CP)(),y=k.getAeSdk,b=(0,m.q)(),w=b.getName,C=(0,f.ef)(),x=C.getMiddleware,L=(0,s.KR)(""),S=(0,s.KR)({}),T=d.C.getAdapter(e.transaction.protocol||l.yv.aeternity),E=T.getExplorer(),I=(0,p.my)({transaction:e.transaction,externalAddress:null===(t=e.transaction)||void 0===t?void 0:t.transactionOwner}),_=I.isDex,W=I.outerTxTag,F=I.innerTxTag,D=I.direction,B=I.getOwnershipAddress,P=I.innerTx;function O(e){return{address:e,label:g("transaction.overview.accountAddress"),url:E.prepareUrlForAccount(e)}}var M=(0,a.EW)((function(){var t,n=A("transaction.type"),a=P.value,r=a.senderId,o=a.recipientId,s=a.contractId,u=a.callerId;switch(W.value){case i.vw.SpendTx:return{sender:{address:r,name:w(r).value,url:E.prepareUrlForAccount(r),label:g("transaction.overview.accountAddress")},recipient:{address:o,name:L.value||w(o).value,url:E.prepareUrlForAccount(o),label:g("transaction.overview.accountAddress")},title:g("transaction.type.spendTx")};case i.vw.ContractCallTx:var c,d={address:s,url:E.prepareUrlForHash(s),label:_.value?g("transaction.overview.superheroDex"):g("common.smartContract")},p=d;if(e.transaction.transactionOwner&&(c=O(e.transaction.transactionOwner)),P.value["function"]===v.vG.transfer){var f=o||(null===(t=P.value.arguments)||void 0===t?void 0:t[0].value);p=O(D.value===l.NX.received?u:f)}return{sender:D.value===l.NX.sent?S.value:p,recipient:D.value===l.NX.received?null!==c&&void 0!==c?c:S.value:d,title:g("transaction.type.contractCallTx"),function:P.value["function"]};case i.vw.ContractCreateTx:return{sender:S.value,recipient:{label:g("transaction.overview.contractCreate")},title:g("transaction.type.contractCreateTx")};case i.vw.NamePreclaimTx:case i.vw.NameClaimTx:case i.vw.NameUpdateTx:return{sender:S.value,recipient:{label:g("transaction.overview.aens")},title:W.value?n[W.value]:void 0};case i.vw.PayingForTx:return{sender:{address:P.value.ownerId,name:w(P.value.ownerId).value,url:E.prepareUrlForAccount(P.value.ownerId),label:g("multisig.multisigVault")},recipient:{label:g("common.smartContract"),address:P.value.contractId}};case i.vw.GaMetaTx:if(F.value===i.vw.SpendTx)return{sender:{address:r,name:w(r).value,url:E.prepareUrlForAccount(r),label:g("transaction.overview.accountAddress")},recipient:{address:o,name:L.value||w(o).value,url:E.prepareUrlForAccount(o),label:g("transaction.overview.accountAddress")},title:g("transaction.type.spendTx")};default:throw new Error("Unsupported transaction type ".concat(W.value))}}));function R(){var e;return h(this,void 0,void 0,(0,o.A)().mark((function t(){var n,a,r,i,s,u;return(0,o.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=P.value.callData||P.value.call_data,P.value.contractId&&n){t.next=3;break}return t.abrupt("return",void 0);case 3:return t.next=5,y();case 5:return a=t.sent,t.next=8,a.getContractByteCode(P.value.contractId);case 8:if(r=t.sent,i=r.bytecode,s=new c.BytecodeContractCallEncoder(i),u=s.decodeCall(n),u){t.next=14;break}return t.abrupt("return",void 0);case 14:return t.abrupt("return",null===(e=u.args)||void 0===e?void 0:e[0]);case 15:case"end":return t.stop()}}),t)})))}return(0,a.sV)((function(){return h(n,void 0,void 0,(0,o.A)().mark((function e(){var t,n,a,r;return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,x();case 2:if(n=e.sent,!(null===(t=P.value.recipientId)||void 0===t?void 0:t.startsWith("nm_"))){e.next=7;break}return e.next=6,n.getName(P.value.recipientId);case 6:L.value=e.sent.name;case 7:if(P.value["function"]!==v.vG.claim){e.next=11;break}return e.next=10,R();case 10:a=e.sent;case 11:r=B(a),S.value={address:r,name:w(r).value,label:g("transaction.overview.accountAddress"),url:E.prepareUrlForAccount(r)};case 13:case"end":return e.stop()}}),e)})))})),{preparedTransaction:M}}});var k=n(66262);const y=(0,k.A)(A,[["render",r]]),b=y},40477:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("InputAmount"),c=(0,a.g2)("Field");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["transfer-send-amount",{"without-margin":e.withoutMargin}])},[(0,a.bF)(c,{ref:"amountField",name:"amount","model-value":e.modelValue,"validate-on-mount":!!e.modelValue,rules:Object.assign({required:!0,min_value_exclusive:0,does_not_exceed_decimals:e.assetDecimals},e.validationRules)},{default:(0,a.k6)((function(n){var r=n.field;return[(0,a.bF)(u,(0,a.v6)(r,{"model-value":e.modelValue,name:"amount","data-cy":"amount",class:"amount-input","show-tokens-with-balance":"",label:e.customLabel||e.$t("common.amount"),message:e.amountMessage,protocol:e.protocol,readonly:e.readonly,"selected-asset":e.selectedAsset,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.$emit("update:modelValue",t)}),onAssetSelected:t[1]||(t[1]=function(t){return e.$emit("asset-selected",t)})}),{"label-after":(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"label-after",{},void 0,!0)]})),_:2},1040,["model-value","label","message","protocol","readonly","selected-asset"])]})),_:3},8,["model-value","validate-on-mount","rules"])],2)}var i=n(15261),s=n(31189),u=n(32118),c=n(99366);const l=(0,a.pM)({components:{InputAmount:c.A,Field:i.D0},props:{modelValue:{type:String,default:""},validationRules:{type:Object,default:function(){}},selectedAsset:{type:Object,default:function(){}},errors:{type:Object,required:!0},customLabel:{type:String,default:""},readonly:Boolean,withoutMargin:Boolean,protocol:{type:String,required:!0}},emits:["update:modelValue","asset-selected"],setup:function(e){var t=(0,a.EW)((function(){return(0,s.sY)(e.errors.amount)})),n=(0,a.EW)((function(){var t,n;return null!==(n=null===(t=e.selectedAsset)||void 0===t?void 0:t.decimals)&&void 0!==n?n:u.C.getAdapter(e.protocol).coinPrecision}));return{assetDecimals:n,amountMessage:t}}});var d=n(66262);const p=(0,d.A)(l,[["render",o],["__scopeId","data-v-cdda66bc"]]),v=p},39893:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});n(94298);var a=n(20641),r=n(90033),o=["textContent"];function i(e,t,n,i,s,u){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["truncate",{right:e.right}])},[(0,a.Lk)("span",{ref:"container",class:(0,r.C4)(["container",{fixed:e.fixed,scrollable:e.shouldScroll}]),style:(0,r.Tr)({"--animationTranslate":e.animationTranslate,"--animationDuration":e.animationDuration})},[(0,a.Lk)("span",{ref:"scroll",class:"inner"},(0,r.v_)(e.nameComponent),513)],6),e.nameComponent!==e.str?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"domain",textContent:(0,r.v_)(e.AE_AENS_DOMAIN)},null,8,o)):(0,a.Q3)("",!0)],2)}var s=n(2327),u=(n(25440),n(26099),n(27495),n(99449),n(76031),n(50953)),c=n(59755),l=n(63366),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const p=(0,a.pM)({props:{str:{type:String,required:!0},fixed:Boolean,right:Boolean},setup:function(e){var t,n=this,r=(0,u.KR)(),o=(0,u.KR)(),i=(0,u.KR)(!1),p=(0,u.KR)(),v=(0,u.KR)(),f=(0,a.EW)((function(){var t;return(null===(t=e.str)||void 0===t?void 0:t.endsWith(c.CT))?e.str.replace(c.CT,""):e.str})),m=function(){return d(n,void 0,void 0,(0,s.A)().mark((function t(){var n,u,c,l,d;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i.value=!1,t.next=3,(0,a.dY)();case 3:!e.fixed&&o.value&&(null===(n=r.value)||void 0===n?void 0:n.clientWidth)&&(u=r.value.clientWidth,c=o.value.clientWidth,l=c-u,d=2,c>u&&(p.value="-".concat(l+d,"px"),v.value="".concat(200*(l+d),"ms"),i.value=!0));case 4:case"end":return t.stop()}}),t)})))};function g(){t=new ResizeObserver((0,l.A)((function(){m()}),100)),t.observe(r.value)}return(0,a.wB)(f,m),(0,a.sV)((function(){g(),setTimeout((function(){m()}),500)})),(0,a.xo)((function(){r.value&&t&&t.disconnect()})),{AE_AENS_DOMAIN:c.CT,container:r,scroll:o,shouldScroll:i,nameComponent:f,animationTranslate:p,animationDuration:v}}});var v=n(66262);const f=(0,v.A)(p,[["render",i],["__scopeId","data-v-72e5b080"]]),m=f},5335:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var a=n(20641),r=n(90033),o={class:"title"};function i(e,t,n,i,s,u){var c=(0,a.g2)("QuestionCircleIcon"),l=(0,a.g2)("BtnPlain"),d=(0,a.g2)("Default");return e.statusData?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,r.C4)(["url-status",e.status])},[(0,a.Lk)("span",o,(0,r.v_)(e.statusData.title),1),(0,a.bF)(l,{class:(0,r.C4)(["icon-link",e.status]),onClick:t[0]||(t[0]=function(t){return e.showModal()})},{default:(0,a.k6)((function(){return[(0,a.bF)(c,{class:"icon"})]})),_:1},8,["class"])],2)):((0,a.uX)(),(0,a.Wv)(d,{key:1}))}n(16280),n(76918),n(74423);var s=n(46992),u=n(65563),c=n(84754),l={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",class:"icon"},d=(0,a.Lk)("path",{id:"Path_443","data-name":"Path 443",d:"M55,46a9,9,0,1,0,9,9A9.01,9.01,0,0,0,55,46Zm7.3,12.6H59.487a15.842,15.842,0,0,0,.395-3.171h3.25A8.085,8.085,0,0,1,62.3,58.6ZM46.868,55.429H50.12a15.774,15.774,0,0,0,.393,3.171H47.7A8.083,8.083,0,0,1,46.868,55.429Zm.669-3.686h2.9a15.975,15.975,0,0,0-.318,2.829H46.868A8.083,8.083,0,0,1,47.538,51.743Zm7.891-.857v-3.98a3.882,3.882,0,0,1,2.343,2.232,9.9,9.9,0,0,1,.695,1.749Zm3.258.857a15,15,0,0,1,.336,2.829H55.429V51.743Zm-4.115-4.837v3.98H51.534a9.9,9.9,0,0,1,.695-1.749A3.884,3.884,0,0,1,54.571,46.905Zm0,4.837v2.829H50.977a14.994,14.994,0,0,1,.336-2.829Zm-3.594,3.686h3.594V58.6H51.394A14.764,14.764,0,0,1,50.977,55.429Zm3.594,4.029v3.638a3.882,3.882,0,0,1-2.343-2.232,9.589,9.589,0,0,1-.587-1.406Zm.857,3.637V59.457h2.93a9.594,9.594,0,0,1-.587,1.406A3.884,3.884,0,0,1,55.429,63.095Zm0-4.495V55.429h3.594a14.765,14.765,0,0,1-.416,3.171Zm4.453-4.029a16.031,16.031,0,0,0-.319-2.829h2.9a8.083,8.083,0,0,1,.669,2.829Zm2.143-3.686H59.357a9.031,9.031,0,0,0-1.837-3.629A8.183,8.183,0,0,1,62.024,50.886Zm-9.544-3.629a9.036,9.036,0,0,0-1.837,3.629H47.976a8.183,8.183,0,0,1,4.505-3.629Zm-4.292,12.2h2.554a8.726,8.726,0,0,0,1.738,3.286A8.181,8.181,0,0,1,48.189,59.457Zm9.331,3.286a8.724,8.724,0,0,0,1.738-3.286h2.554A8.181,8.181,0,0,1,57.519,62.743Z",transform:"translate(-46 -46)",fill:"#bcbcc4"},null,-1),p=[d];function v(e,t){return(0,a.uX)(),(0,a.CE)("svg",l,p)}var f=n(66262);const m={},g=(0,f.A)(m,[["render",v]]),h=g;var A=n(1100),k=n(24528);const y=(0,a.pM)({components:{Default:h,QuestionCircleIcon:A.A,BtnPlain:k.A},props:{status:{type:String,required:!0,validator:function(e){return["verified","blacklisted","not-secure","not-verified","default"].includes(e)}}},setup:function(e){var t=(0,s.s9)(),n=t.t,r=(0,c.U8)(),o=r.openModal,i=(0,a.EW)((function(){switch(e.status){case"verified":return{icon:"success",title:n("modals.verified.title"),msg:n("modals.verified.msg")};case"blacklisted":return{icon:"alert",title:n("modals.blacklisted.title"),msg:n("modals.blacklisted.msg")};case"not-secure":return{icon:"not-secure",title:n("modals.not-secure.title"),msg:n("modals.not-secure.msg")};case"not-verified":return{icon:"warning",title:n("modals.not-verified.title"),msg:n("modals.not-verified.msg")};case"default":return null;default:throw new Error("Unknown url status: ".concat(e.status))}}));function l(){var e,t,n;o(u.rM,{title:null===(e=i.value)||void 0===e?void 0:e.title,msg:null===(t=i.value)||void 0===t?void 0:t.msg,icon:null===(n=i.value)||void 0===n?void 0:n.icon})}return{statusData:i,showModal:l}}}),b=(0,f.A)(y,[["render",i],["__scopeId","data-v-7e3c0162"]]),w=b},34264:(e,t,n)=>{"use strict";n.d(t,{Mp:()=>c,Ay:()=>v});var a=n(20641);function r(e,t,n,r,o,i){return(0,a.uX)(),(0,a.Wv)((0,a.$y)(e.component),(0,a.v6)(e.$attrs,{to:e.to,href:e.href,target:e.href?"_blank":null,"aria-disabled":e.disabled?"true":null,style:e.bgColorStyle,type:e.submit?"submit":null,class:[["variant-".concat(e.variant),{disabled:e.disabled,hollow:e.hollow,outlined:e.outlined,selected:e.selected}],"btn-base"],onClick:e.onClick}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},void 0,!0)]})),_:3},16,["to","href","target","aria-disabled","style","type","class","onClick"])}var o=n(2327),i=(n(74423),n(26099),n(65563)),s=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},u=["primary","secondary","muted","danger","purple","dark"],c={to:{type:Object,default:null},href:{type:String,default:null},variant:{type:String,validator:function(e){return u.includes(e)},default:u[0]},bgColor:{type:String,default:null},submit:Boolean,disabled:Boolean,hollow:Boolean,outlined:Boolean,selected:Boolean};const l=(0,a.pM)({props:c,setup:function(e){var t=(0,a.EW)((function(){switch(!0){case!!e.to:return"RouterLink";case!!e.href:return"a";default:return"button"}}));function n(t){return s(this,void 0,void 0,(0,o.A)().mark((function n(){return(0,o.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:i.I$&&e.href&&(t.preventDefault(),window.open(e.href,"_system"));case 1:case"end":return n.stop()}}),n)})))}var r=(0,a.EW)((function(){return e.bgColor?{"--bg-color":e.bgColor}:null}));return{IS_MOBILE_APP:i.I$,onClick:n,component:t,bgColorStyle:r}}});var d=n(66262);const p=(0,d.A)(l,[["render",r],["__scopeId","data-v-5a60e3f7"]]),v=p},28645:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r=n(90033),o=["textContent"],i=["textContent"];function s(e,t,n,s,u,c){var l=(0,a.g2)("IconWrapper"),d=(0,a.g2)("BtnBase");return(0,a.uX)(),(0,a.Wv)(d,(0,a.v6)(e.$attrs,{class:["btn-box",{disabled:n.disabled,"is-big":n.isBig}],variant:"dark",disabled:n.disabled}),{default:(0,a.k6)((function(){return[n.icon?((0,a.uX)(),(0,a.Wv)(l,{key:0,class:"icon",icon:n.icon,"is-boxed":n.isBig},null,8,["icon","is-boxed"])):(0,a.Q3)("",!0),n.text?((0,a.uX)(),(0,a.CE)("span",{key:1,class:"text",textContent:(0,r.v_)(n.text)},null,8,o)):(0,a.Q3)("",!0),n.isBig&&n.subtitle?((0,a.uX)(),(0,a.CE)("span",{key:2,class:"subtitle",textContent:(0,r.v_)(n.subtitle)},null,8,i)):(0,a.Q3)("",!0)]})),_:1},16,["disabled","class"])}var u=n(58411),c=n(34264);const l={components:{BtnBase:c.Ay,IconWrapper:u.Ay},props:{text:{type:String,default:null},subtitle:{type:String,default:null},icon:{type:Object,default:null},disabled:Boolean,isBig:Boolean}};var d=n(66262);const p=(0,d.A)(l,[["render",s],["__scopeId","data-v-aded6086"]]),v=p},86295:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnIcon");return(0,a.uX)(),(0,a.Wv)(s,(0,a.v6)({class:"btn-close"},e.$attrs,{icon:r.CloseIcon}),null,16,["icon"])}var o=n(94622),i=n(5684);const s={name:"BtnClose",components:{BtnIcon:o.A},setup:function(){return{CloseIcon:i.A}}};var u=n(66262);const c=(0,u.A)(s,[["render",r]]),l=c},31157:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});n(89195);var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("QuestionCircle"),c=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(c,{class:(0,r.C4)(["btn-help",{small:e.small}]),onClick:e.showHelpModal},{default:(0,a.k6)((function(){return[(0,a.bF)(u,{class:"icon"})]})),_:1},8,["class","onClick"])}var i=n(84754),s=n(65563),u=n(24528),c=n(1100);const l=(0,a.pM)({components:{BtnPlain:u.A,QuestionCircle:c.A},props:{title:{type:String,default:""},msg:{type:String,default:""},icon:{type:String,default:""},option:{type:Object,default:null},small:Boolean},setup:function(e,t){var n=t.emit,a=(0,i.U8)(),r=a.openModal;function o(){n("help"),(e.title.length||e.msg.length)&&r(s.c9,{icon:e.icon||"info",title:e.title,msg:e.msg,option:e.option,textCenter:!0})}return{showHelpModal:o}}});var d=n(66262);const p=(0,d.A)(l,[["render",o],["__scopeId","data-v-2658afd8"]]),v=p},94622:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("AnimatedPendingIcon"),u=(0,a.g2)("Badge"),c=(0,a.g2)("BtnBase");return(0,a.uX)(),(0,a.Wv)(c,(0,a.v6)(e.$attrs,{class:["btn-icon",["size-".concat(n.size),"icon-variant-".concat(n.iconVariant),{dimmed:n.dimmed,loading:n.loading}]],variant:"muted",hollow:"",disabled:n.loading}),{default:(0,a.k6)((function(){return[(0,a.bF)(u,{class:"badge",text:n.badgeText},{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},(function(){return[n.loading?((0,a.uX)(),(0,a.Wv)(s,{key:0})):n.icon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(n.icon),{key:1,class:"icon"})):(0,a.Q3)("",!0)]}))]})),_:3},8,["text"])]})),_:3},16,["class","disabled"])}n(74423),n(2892);var o=n(87053),i=n(90033),s={class:"badge"},u=["textContent"];function c(e,t,n,r,o,c){return(0,a.uX)(),(0,a.CE)("span",s,[(0,a.RG)(e.$slots,"default",{},void 0,!0),null!==e.text?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"badge-inner","data-cy":"badge-text",textContent:(0,i.v_)(e.text)},null,8,u)):(0,a.Q3)("",!0)])}const l=(0,a.pM)({props:{text:{type:[Number,String],default:null}}});var d=n(66262);const p=(0,d.A)(l,[["render",c],["__scopeId","data-v-f4a4a6c2"]]),v=p;var f=n(34264),m=["sm","rg"],g=["default","light","dimmed","danger"];const h={components:{BtnBase:f.Ay,Badge:v,AnimatedPendingIcon:o.A},props:{icon:{type:Object,default:null},iconVariant:{type:String,default:"default",validator:function(e){return g.includes(e)}},size:{type:String,default:"rg",validator:function(e){return m.includes(e)}},badgeText:{type:[String,Number],default:null},dimmed:Boolean,loading:Boolean}},A=(0,d.A)(h,[["render",r]]),k=A},24574:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("BtnBase");return(0,a.uX)(),(0,a.Wv)(u,(0,a.v6)(e.$attrs,{class:["btn-main",[{extend:e.extend,third:e.third,inline:e.inline,nowrap:e.nowrap,wide:e.wide,"extra-padded":e.extraPadded,"has-icon":!!e.icon}]]}),{default:(0,a.k6)((function(){return[e.icon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.icon),{key:0,class:(0,r.C4)(["btn-main-icon",{lg:e.bigIcon}])},null,8,["class"])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.text),1)]}),!0)]})),_:3},16,["class"])}var i=n(34264);const s=(0,a.pM)({components:{BtnBase:i.Ay},props:{text:{type:String,default:""},icon:{type:Object,default:null},extend:Boolean,third:Boolean,inline:Boolean,nowrap:Boolean,wide:Boolean,extraPadded:Boolean,bigIcon:Boolean}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-5f957749"]]),l=c},15320:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("BtnBase");return(0,a.uX)(),(0,a.Wv)(u,(0,a.v6)(e.$attrs,{class:["btn-pill",{dense:e.dense,static:e["static"],avatar:e.avatar}]}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.text),1)]}),!0)]})),_:3},16,["class"])}var i=n(34264);const s=(0,a.pM)({components:{BtnBase:i.Ay},props:{text:{type:String,default:null},avatar:Boolean,dense:Boolean,static:Boolean}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-67d90d96"]]),l=c},24528:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return(0,a.uX)(),(0,a.Wv)((0,a.$y)(n.to?"RouterLink":"button"),(0,a.v6)(e.$attrs,{class:["button-plain",{extend:n.extend,avatar:n.avatar}],to:n.to}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(n.text),1)]}),!0)]})),_:3},16,["class","to"])}const i={props:{extend:Boolean,text:{type:String,default:null},to:{type:[Object,String],default:null},avatar:Boolean}};var s=n(66262);const u=(0,s.A)(i,[["render",o],["__scopeId","data-v-ea8fa866"]]),c=u},14552:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(u,{class:(0,r.C4)(["btn-text",{"has-icon":!!e.icon}]),disabled:e.disabled},{default:(0,a.k6)((function(){return[e.icon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.icon),{key:0,class:"btn-text-icon"})):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.text),1)]}),!0)]})),_:3},8,["class","disabled"])}var i=n(24528);const s=(0,a.pM)({name:"BtnText",components:{BtnPlain:i.A},props:{text:{type:String,default:""},icon:{type:Object,default:null},disabled:Boolean}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-656ac1bf"]]),l=c},19442:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(20641),r=n(90033),o={class:"input-field-text-wrapper"};function i(e,t,n,i,s,u){var c=(0,a.g2)("ChevronDownIcon"),l=(0,a.g2)("BtnPlain"),d=(0,a.g2)("InputField");return e.unstyled?((0,a.uX)(),(0,a.Wv)(l,(0,a.v6)({key:0,class:"form-select unstyled"},e.$attrs,{onClick:e.openOptionsModal}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"current-text",{text:e.currentText},(function(){return[(0,a.eW)((0,r.v_)(e.currentText),1)]}),!0),e.hideArrow?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(c,{key:0,class:"arrow-icon"}))]})),_:3},16,["onClick"])):((0,a.uX)(),(0,a.Wv)(d,(0,a.v6)({key:1},e.$attrs,{class:"form-select",onClick:e.openOptionsModal}),{after:(0,a.k6)((function(){return[(0,a.bF)(c,{class:"arrow-icon"})]})),default:(0,a.k6)((function(){return[(0,a.Lk)("div",o,(0,r.v_)(e.currentText),1)]})),_:1},16,["onClick"]))}n(50113),n(2892),n(26099);var s=n(65563),u=n(84754),c=n(24528),l=n(19389),d=n(19298);const p=(0,a.pM)({name:"FormSelect",components:{BtnPlain:c.A,ChevronDownIcon:d.A,InputField:l.A},model:{event:"select"},props:{modelValue:{type:[String,Number],default:null},options:{type:Array,default:function(){return[]}},itemTitle:{type:String,default:"text"},defaultText:{type:String,required:!0},accountSelect:Boolean,persistentDefaultText:Boolean,unstyled:Boolean,hideArrow:Boolean},emits:["select","update:modelValue"],setup:function(e,t){var n=t.emit,r=(0,u.U8)(),o=r.openModal,i=(0,a.EW)((function(){var t;return e.persistentDefaultText||!e.modelValue?e.defaultText:null===(t=e.options.find((function(t){var n=t.value;return n===e.modelValue})))||void 0===t?void 0:t[e.itemTitle]}));function c(){o(e.accountSelect?s.E0:s._B,{value:e.modelValue,options:e.options,title:e.defaultText}).then((function(e){n("select",e),n("update:modelValue",e)}))["catch"]((function(){return null}))}return{currentText:i,openOptionsModal:c}}});var v=n(66262);const f=(0,v.A)(p,[["render",i],["__scopeId","data-v-3ac87742"]]),m=f},75417:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(20641),r=n(90033),o=n(53751),i=["id","placeholder","value","disabled"];function s(e,t,n,s,u,c){var l=(0,a.g2)("InputField");return(0,a.uX)(),(0,a.Wv)(l,(0,a.v6)(e.$attrs,{class:["textarea",[e.size,{"auto-height":e.autoHeight}]],readonly:e.readonly,"onUpdate:modelValue":e.handleInput}),(0,a.eX)({default:(0,a.k6)((function(n){var s=n.inputId;return[(0,a.Lk)("textarea",{id:s,ref:"textarea","data-cy":"textarea",class:(0,r.C4)(["textarea-input styled-scrollbar",{resizable:e.resizable&&!e.autoHeight}]),style:(0,r.Tr)({height:e.height}),placeholder:e.placeholder,value:e.modelValue,rows:1,disabled:e.readonly,onKeydown:t[0]||(t[0]=(0,o.jR)((0,o.D$)((function(){return e.handleEnterClick&&e.handleEnterClick.apply(e,arguments)}),["prevent"]),["enter"])),onInput:t[1]||(t[1]=function(t){return e.handleInput(t)}),onBlur:t[2]||(t[2]=function(t){return e.handleInput(t)})},null,46,i)]})),_:2},[(0,a.pI)(e.$slots,(function(t,n){return{name:n,fn:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,n,{},void 0,!0)]}))}}))]),1040,["class","readonly","onUpdate:modelValue"])}n(74423);var u=n(50953),c=n(19389),l=["xs","sm","rg","md"];const d=(0,a.pM)({components:{InputField:c.A},props:{type:{type:String,default:""},modelValue:{type:String,default:""},placeholder:{type:String,default:""},enterSubmit:Boolean,resizable:{type:Boolean,default:!0},size:{type:String,default:null,validator:function(e){return l.includes(e)}},autoHeight:Boolean,readonly:Boolean},emits:["update:modelValue","submit"],setup:function(e,t){var n=t.emit,r=(0,u.KR)(),o=(0,u.KR)();function i(e){var t=e.target.value;n("update:modelValue",t)}function s(){e.enterSubmit&&n("submit")}return(0,a.sV)((function(){(0,a.wB)((function(){return e.modelValue}),(function(){e.autoHeight&&r.value&&(o.value="auto",(0,a.dY)((function(){var e=r.value,t=e.scrollHeight,n=e.clientHeight,a=n>t?n:t;o.value="".concat(a,"px")})))}),{immediate:!0})})),{textarea:r,height:o,handleInput:i,handleEnterClick:s}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-2d4905c2"]]),f=v},56633:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(s,(0,a.v6)(e.$attrs,{class:["tab",[e.active,e.exactPath?"exact":"not-exact"]],text:e.text}),null,16,["class","text"])}var o=n(24528);const i=(0,a.pM)({components:{BtnPlain:o.A},props:{text:{type:String,required:!0},active:Boolean,exactPath:Boolean}});var s=n(66262);const u=(0,s.A)(i,[["render",r],["__scopeId","data-v-6286b0cb"]]),c=u},90640:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(20641),r={class:"tabs"};function o(e,t){return(0,a.uX)(),(0,a.CE)("div",r,[(0,a.RG)(e.$slots,"default",{},void 0,!0)])}var i=n(66262);const s={},u=(0,i.A)(s,[["render",o],["__scopeId","data-v-b4464f30"]]),c=u},55437:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>se});var a=n(20641),r=n(90033),o={class:"transaction-details"},i={class:"row payer-id"},s={class:"text-address"},u={class:"row"},c={class:"text-address"};function l(e,t,n,l,d,p){var v=(0,a.g2)("TransactionAssetRows"),f=(0,a.g2)("SwapRates"),m=(0,a.g2)("SwapRoute"),g=(0,a.g2)("TransactionDetailsPoolTokens"),h=(0,a.g2)("Truncate"),A=(0,a.g2)("LinkButton"),k=(0,a.g2)("CopyText"),y=(0,a.g2)("DetailsItem"),b=(0,a.g2)("Avatar"),w=(0,a.g2)("DialogBox"),C=(0,a.g2)("TokenAmount"),x=(0,a.g2)("TransactionDetailsBase"),L=(0,a.g2)("IonContent"),S=(0,a.g2)("IonPage");return(0,a.uX)(),(0,a.Wv)(S,null,{default:(0,a.k6)((function(){return[(0,a.bF)(L,{class:"ion-padding ion-content-bg"},{default:(0,a.k6)((function(){return[(0,a.Lk)("div",o,[e.transaction&&!e.transaction.incomplete?((0,a.uX)(),(0,a.Wv)(x,{key:0,transaction:e.transaction,amount:e.amount,"amount-total":e.amountTotal,fee:e.transactionFee,"is-error-transaction":e.isErrorTransaction,payload:e.getTransactionPayload(e.transaction),"show-header":!e.isDexAllowance,"hide-amount-total":e.isDex||e.isDexAllowance||e.isMultisig||e.isTransactionAex9(e.transaction),"hide-fiat":e.isTransactionAex9(e.transaction),hash:e.hash,protocol:e.PROTOCOLS.aeternity},(0,a.eX)({tokens:(0,a.k6)((function(){return[(0,a.bF)(v,{assets:e.transactionAssets,error:e.isErrorTransaction,"is-reversed":e.isPool,protocol:e.PROTOCOLS.aeternity,"icon-size":"rg","multiple-rows":""},null,8,["assets","error","is-reversed","protocol"])]})),"additional-content":(0,a.k6)((function(){return[e.isPool||e.isDexAllowance?((0,a.uX)(),(0,a.Wv)(g,{key:0,transaction:e.transaction,tokens:e.transactionAssets,reversed:e.isPool},null,8,["transaction","tokens","reversed"])):(0,a.Q3)("",!0),e.tipUrl?((0,a.uX)(),(0,a.Wv)(y,{key:1,label:e.$t("pages.transactionDetails.tipUrl"),class:"tip-url","data-cy":"tip-url"},{value:(0,a.k6)((function(){return[(0,a.bF)(k,{value:e.tipUrl},{default:(0,a.k6)((function(){return[(0,a.bF)(A,{to:e.tipLink},{default:(0,a.k6)((function(){return[(0,a.bF)(h,{str:e.tipUrl,fixed:""},null,8,["str"])]})),_:1},8,["to"])]})),_:1},8,["value"])]})),_:1},8,["label"])):(0,a.Q3)("",!0)]})),"multisig-content":(0,a.k6)((function(){return[e.multisigTransactionFeePaidBy?((0,a.uX)(),(0,a.Wv)(y,{key:0,label:e.$t("pages.transactionDetails.feePaidBy"),small:""},{default:(0,a.k6)((function(){return[(0,a.Lk)("div",i,[(0,a.bF)(b,{address:e.multisigTransactionFeePaidBy,size:"sm"},null,8,["address"]),(0,a.Lk)("div",null,[e.isLocalAccountAddress(e.multisigTransactionFeePaidBy)?((0,a.uX)(),(0,a.Wv)(w,{key:0,class:"dialog-box",dense:"",position:"bottom"},{default:(0,a.k6)((function(){return[(0,a.eW)((0,r.v_)(e.$t("common.you")),1)]})),_:1})):(0,a.Q3)("",!0),(0,a.bF)(k,{"hide-icon":"",value:e.multisigTransactionFeePaidBy,"copied-text":e.$t("common.addressCopied")},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",s,(0,r.v_)(e.splitAddress(e.multisigTransactionFeePaidBy)),1)]})),_:1},8,["value","copied-text"])])])]})),_:1},8,["label"])):(0,a.Q3)("",!0),e.multisigContractId?((0,a.uX)(),(0,a.Wv)(y,{key:1,label:e.$t("pages.transactionDetails.vaultContractId"),small:""},{default:(0,a.k6)((function(){return[(0,a.Lk)("div",u,[(0,a.bF)(b,{address:e.multisigContractId,size:"sm"},null,8,["address"]),(0,a.bF)(k,{"hide-icon":"",value:e.multisigContractId,"copied-text":e.$t("common.addressCopied")},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",c,(0,r.v_)(e.splitAddress(e.multisigContractId)),1)]})),_:1},8,["value","copied-text"])])]})),_:1},8,["label"])):(0,a.Q3)("",!0)]})),gas:(0,a.k6)((function(){return[e.gasPrice?((0,a.uX)(),(0,a.Wv)(y,{key:0,label:e.$t("pages.transactionDetails.gasPrice"),"data-cy":"gas-price"},{value:(0,a.k6)((function(){return[(0,a.bF)(C,{amount:+e.aettosToAe(e.gasPrice),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,"hide-fiat":""},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,a.Q3)("",!0),e.gasUsed?((0,a.uX)(),(0,a.Wv)(y,{key:1,value:e.gasUsed,label:e.$t("pages.transactionDetails.gasUsed"),"data-cy":"gas"},null,8,["value","label"])):(0,a.Q3)("",!0)]})),_:2},[e.isSwap?{name:"swap-data",fn:(0,a.k6)((function(){return[(0,a.bF)(f,{transaction:e.transaction},null,8,["transaction"]),(0,a.bF)(m,{transaction:e.transaction},null,8,["transaction"])]})),key:"0"}:void 0]),1032,["transaction","amount","amount-total","fee","is-error-transaction","payload","show-header","hide-amount-total","hide-fiat","hash","protocol"])):(0,a.Q3)("",!0)])]})),_:1})]})),_:1})}var d=n(2327),p=(n(28706),n(50113),n(44114),n(26099),n(27495),n(90906),n(50953)),v=n(75220),f=n(91087),m=n(62759),g=n(65563),h=n(31189),A=n(84754),k=n(90973),y=n(32118),b=n(59755),w=n(58338),C=n(41549),x=n(75518),L=n(74494),S=n(47206),T=n(39893),E=n(20789),I=function(e){return(0,a.Qi)("data-v-42b180dd"),e=e(),(0,a.jt)(),e},_=I((function(){return(0,a.Lk)("span",{class:"price"},"1",-1)}));function W(e,t,n,r,o,i){var s=(0,a.g2)("Tokens"),u=(0,a.g2)("TokenAmount"),c=(0,a.g2)("DetailsItem");return e.rates.length?((0,a.uX)(),(0,a.Wv)(c,{key:0,class:"swap-rates",label:e.$t("pages.transactionDetails.rates")},{default:(0,a.k6)((function(){return[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.rates,(function(t,n){return(0,a.uX)(),(0,a.CE)("div",{key:n,class:"rate"},[(0,a.Lk)("div",null,[_,(0,a.bF)(s,{tokens:[t.from],"no-icons":""},null,8,["tokens"])]),(0,a.Lk)("div",null,[(0,a.bF)(u,{amount:t.price,protocol:e.PROTOCOLS.aeternity,class:"price","hide-fiat":"","hide-symbol":"","high-precision":""},null,8,["amount","protocol"]),(0,a.bF)(s,{tokens:[t.to],"no-icons":""},null,8,["tokens"])])])})),128))]})),_:1},8,["label"])):(0,a.Q3)("",!0)}n(88431),n(2892);var F=n(95993),D=n(70694),B=n(39953);const P=(0,a.pM)({components:{DetailsItem:L.A,Tokens:D.A,TokenAmount:B.A},props:{transaction:{type:Object,required:!0}},setup:function(e){var t=(0,A.Y7)(),n=t.getProtocolAvailableTokens,r=(0,a.EW)((function(){return(0,w.Ng)(e.transaction.tx["function"])||(0,w.wX)(e.transaction.tx["function"])})),o=(0,a.EW)((function(){if(!r.value)return[];var t=(0,w.Ke)((0,F.A)(e.transaction.tx["function"]));if(!t)return[];var a=t(e.transaction,n(g.yv.aeternity)),o=a.tokens;if((null===o||void 0===o?void 0:o.length)<=1)return[];var i=o.every((function(e){return!!e.amount})),s=[Number(o[0].amount),Number(o[1].amount)];return[{from:o[0],to:o[1],price:i?s[1]/s[0]:0},{from:o[1],to:o[0],price:i?s[0]/s[1]:0}]}));return{PROTOCOLS:g.yv,isSwapTx:r,rates:o}}});var O=n(66262);const M=(0,O.A)(P,[["render",W],["__scopeId","data-v-42b180dd"]]),R=M;var N=function(e){return(0,a.Qi)("data-v-17e1d96a"),e=e(),(0,a.jt)(),e},U={class:"swap-steps"},X={key:0,class:"step-fee"},V=N((function(){return(0,a.Lk)("span",{class:"line"},null,-1)})),H=N((function(){return(0,a.Lk)("span",{class:"arrow"},null,-1)}));function $(e,t,n,o,i,s){var u=(0,a.g2)("Tokens"),c=(0,a.g2)("DetailsItem");return e.assetList.length>1?((0,a.uX)(),(0,a.Wv)(c,{key:0,class:"swap-route",label:e.$t("pages.transactionDetails.swapRoute")},{default:(0,a.k6)((function(){return[(0,a.Lk)("div",U,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.assetList,(function(t,n){return(0,a.uX)(),(0,a.CE)("span",{key:n,class:"swap-steps-item"},[n?((0,a.uX)(),(0,a.CE)("span",X,[V,(0,a.eW)(" "+(0,r.v_)(e.getSwapStepFee(n))+"% "+(0,r.v_)(e.$t("pages.transactionDetails.poolFee"))+" ",1),H])):(0,a.Q3)("",!0),(0,a.bF)(u,{tokens:[t]},null,8,["tokens"])])})),128))])]})),_:1},8,["label"])):(0,a.Q3)("",!0)}var j=n(6682);n(48980),n(74423),n(62062),n(34782),n(13609),n(21699);const K=(0,a.pM)({components:{DetailsItem:L.A,Tokens:D.A},props:{transaction:{type:Object,required:!0}},setup:function(e){var t=y.C.getAdapter(g.yv.aeternity),n=(0,A.CP)(),r=n.nodeNetworkId,o=(0,A.Y7)(),i=o.getProtocolAvailableTokens,s=(0,a.EW)((function(){return i(g.yv.aeternity)}));function u(e){return(0,F.A)(e)}var c=(0,a.EW)((function(){var n,a=u(e.transaction.tx["function"]);if(!(0,w.Ng)(a)&&!(0,w.Ng)(e.transaction.tx["function"]))return[];var o=(0,w.Ke)(a);if(!o)return[];var i=o(e.transaction,s.value),c=i.tokens,l=e.transaction.tx.arguments.findIndex((function(e){var t=e.type;return"list"===t})),d=null===(n=b.ml[r.value])||void 0===n?void 0:n.wae,p=c.length-1;return l>=0&&e.transaction.tx.arguments[l].value.length>c.length&&(c=[c[0]].concat((0,j.A)(e.transaction.tx.arguments[l].value.slice(1,e.transaction.tx.arguments[l].value.length-1).map((function(e){return s.value[e.value]}))),[c[1]])),c[0].isWrappedCoin&&!(null===d||void 0===d?void 0:d.includes(c[1].contractId))?(c[0].isWrappedCoin=!1,c.unshift(Object.assign(Object.assign(Object.assign({},c[0]),t.getDefaultCoin({})),{isWrappedCoin:!1}))):c[p].isWrappedCoin&&!(null===d||void 0===d?void 0:d.includes(c[p-1].contractId))&&(c[p].isWrappedCoin=!1,c.push(Object.assign(Object.assign(Object.assign({},c[p]),t.getDefaultCoin({})),{isWrappedCoin:!0}))),c}));function l(e){var t,n;return!!e.contractId&&(null===(n=null===(t=b.ml[r.value])||void 0===t?void 0:t.wae)||void 0===n?void 0:n.includes(e.contractId))}function d(e){var n=c.value[e-1],a=c.value[e];return n.contractId===t.coinContractId||a.contractId===t.coinContractId?"0":l(n)||l(a)?"0.3":"<0.3"}return{assetList:c,getSwapStepFee:d}}}),q=(0,O.A)(K,[["render",$],["__scopeId","data-v-17e1d96a"]]),G=q;function Q(e,t,n,o,i,s){var u=(0,a.g2)("TransactionDetailsPoolTokenRow");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["pool-tokens",{reversed:e.reversed}])},[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.tokens,(function(t,n){return(0,a.uX)(),(0,a.Wv)(u,{key:n,token:t,tokens:e.tokens,"hide-amount":e.hideAmount,label:e.getLabel(t.isPool)},null,8,["token","tokens","hide-amount","label"])})),128))],2)}var Z=n(46992),Y=n(18665);const z=(0,a.pM)({components:{TransactionDetailsPoolTokenRow:Y.A},props:{transaction:{type:Object,required:!0},tokens:{type:Array,required:!0},hideAmount:Boolean,reversed:Boolean},setup:function(e){var t=(0,Z.s9)(),n=t.t;function a(t){var a=b.$y[e.transaction.tx["function"]],r=a===b.xf;return a===b.Op?n("pages.transactionDetails.approveTokenUse"):n(t?r?"pages.transactionDetails.poolTokenReceived":"pages.transactionDetails.poolTokenSpent":r?"pages.transactionDetails.deposited":"pages.transactionDetails.withdrawn")}return{aettosToAe:w.c4,getLabel:a}}}),J=(0,O.A)(z,[["render",Q],["__scopeId","data-v-6d2914ca"]]),ee=J;var te=n(79708),ne=n(59480),ae=n(3260),re=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const oe=(0,a.pM)({components:{TokenAmount:B.A,Avatar:ne.A,DialogBox:te.h,SwapRoute:G,SwapRates:R,TransactionDetailsBase:x.A,TransactionDetailsPoolTokens:ee,TransactionAssetRows:ae.A,DetailsItem:L.A,CopyText:E.A,LinkButton:S.A,Truncate:T.A,IonContent:m.W9,IonPage:m.AO},props:{multisigDashboard:Boolean},setup:function(e){var t=this,n=(0,v.rd)(),r=(0,v.lq)(),o=(0,C.$L)(),i=o.aeActiveNetworkSettings,s=(0,A.ci)({pollOnce:!0}),u=s.activeMultisigAccountId,c=(0,A.oV)(),l=c.activeAccount,m=c.isLocalAccountAddress,x=(0,A.mv)(),L=x.setLoaderVisible,S=(0,A.Y7)(),T=S.getTxAmountTotal,E=r.params.hash,I=r.params.transactionOwner,_=(0,a.EW)((function(){return I||(e.multisigDashboard?u.value:l.value.address)})),W=(0,A._8)({accountAddress:_.value,protocol:g.yv.aeternity}),F=W.transactionsLoaded,D=(0,A.my)({externalAddress:_.value,showDetailedAllowanceInfo:!0}),B=D.setExternalAddress,P=D.setActiveTransaction,O=D.direction,M=D.isErrorTransaction,R=D.isDex,N=D.isDexAllowance,U=D.isMultisig,X=D.outerTxTag,V=D.transactionAssets,H=(0,p.KR)(),$=(0,p.KR)(),j=(0,a.EW)((function(){return H.value?T(H.value,g.NX.received):0})),K=(0,a.EW)((function(){return H.value?T(H.value,O.value):0})),q=(0,a.EW)((function(){return H.value?(0,w.fK)(H.value):""})),G=(0,a.EW)((function(){var e,t;return null===(t=null===(e=H.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t["function"]})),Q=(0,a.EW)((function(){return(0,w.Ng)(G.value)})),Z=(0,a.EW)((function(){return(0,w.wX)(G.value)})),Y=(0,a.EW)((function(){return/^http[s]*:\/\//.test(q.value)?q.value:"http://".concat(q.value)})),z=(0,a.EW)((function(){var e,t,n,a,r,o;return(null===(a=null===(n=null===(t=null===(e=H.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.tx)||void 0===a?void 0:a.gasPrice)||(null===(o=null===(r=H.value)||void 0===r?void 0:r.tx)||void 0===o?void 0:o.gasPrice)})),J=(0,a.EW)((function(){var e,t,n,a,r,o;return(null===(a=null===(n=null===(t=null===(e=H.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.tx)||void 0===a?void 0:a.gasUsed)||(null===(o=null===(r=H.value)||void 0===r?void 0:r.tx)||void 0===o?void 0:o.gasUsed)})),ee=(0,a.EW)((function(){var e,t,n;return X.value!==f.vw.PayingForTx?null:null!==(n=null===(t=null===(e=H.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.payerId)&&void 0!==n?n:null})),te=(0,a.EW)((function(){var e,t,n,a,r,o=null!==(e=H.value)&&void 0!==e?e:{},i=o.tx,s=null!==(t=null===i||void 0===i?void 0:i.fee)&&void 0!==t?t:0,u=null!==(r=null===(a=null===(n=null===i||void 0===i?void 0:i.tx)||void 0===n?void 0:n.tx)||void 0===a?void 0:a.fee)&&void 0!==r?r:0;return+(0,w.c4)(s+u)}));return(0,a.sV)((function(){return re(t,void 0,void 0,(0,d.A)().mark((function t(){var a,r,o,s,c,p,v,m,A;return(0,d.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(s=F.value.find((function(e){return e.hash===E})),s&&!s.incomplete&&!s.claim){t.next=27;break}return c=y.C.getAdapter(g.yv.aeternity),t.prev=3,t.t0=Object,t.t1=Object,t.t2=Object.assign({},s||{}),t.next=9,c.fetchTransactionByHash(E,_.value);case 9:t.t3=t.sent,t.t4=t.t1.assign.call(t.t1,t.t2,t.t3),t.t5={incomplete:!1},s=t.t0.assign.call(t.t0,t.t4,t.t5),t.next=24;break;case 15:return t.prev=15,t.t6=t["catch"](3),t.next=19,null===(a=c.fetchPendingTransactions)||void 0===a?void 0:a.call(c,_.value);case 19:if(p=t.sent,s=null===p||void 0===p?void 0:p.find((function(e){return e.hash===E})),s){t.next=24;break}return n.push({name:k.hN}),t.abrupt("return");case 24:return t.prev=24,L(!1),t.finish(24);case 27:if(!(null===s||void 0===s?void 0:s.tx)){t.next=38;break}if(!e.multisigDashboard){t.next=33;break}return t.next=31,(0,h.mU)((function(){return u.value}));case 31:t.next=35;break;case 33:return t.next=35,(0,h.mU)((function(){return l.value}));case 35:H.value=Object.assign(Object.assign({},s),{transactionOwner:_.value}),B(_.value),P(H.value);case 38:if(X.value!==f.vw.GaMetaTx){t.next=51;break}return t.prev=39,t.next=42,(0,h.x6)("".concat(i.value.nodeUrl,"/v3/accounts/").concat(null===(o=null===(r=H.value)||void 0===r?void 0:r.tx)||void 0===o?void 0:o.gaId));case 42:v=t.sent,m=v.contract_id,A=void 0===m?null:m,$.value=A,t.next=51;break;case 48:t.prev=48,t.t7=t["catch"](39),(0,h.fY)(t.t7);case 51:case"end":return t.stop()}}),t,null,[[3,15,24,27],[39,48]])})))})),(0,a.wB)(H,(function(e){var t=!(e&&!e.incomplete);L(t)}),{immediate:!0,deep:!0}),{AE_SYMBOL:b.kf,PROTOCOLS:g.yv,TX_DIRECTION:g.NX,transaction:H,amount:j,amountTotal:K,isSwap:Q,isPool:Z,isErrorTransaction:M,isDexAllowance:N,isDex:R,isTransactionAex9:w.a3,getTransactionPayload:w.L5,isMultisig:U,tipUrl:q,tipLink:Y,direction:O,hash:E,splitAddress:h.lS,aettosToAe:w.c4,isLocalAccountAddress:m,gasPrice:z,gasUsed:J,multisigTransactionFeePaidBy:ee,multisigContractId:$,transactionFee:te,transactionAssets:V}}}),ie=(0,O.A)(oe,[["render",l],["__scopeId","data-v-9edab714"]]),se=ie},33541:(e,t,n)=>{var a={"./Governance.webp":77282,"./SuperheroDEX.svg":4483,"./dapp-favorite.svg":13839,"./dapp-refresh.svg":17660,"./dapp-share.svg":97952,"./graffiti.svg":32239};function r(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=o,e.exports=r,r.id=33541},77282:e=>{"use strict";e.exports="data:image/webp;base64,UklGRigDAABXRUJQVlA4WAoAAAAQAAAAVwAAVwAAQUxQSHgAAAABd2CQbeTgj2Az+Ef5iIjpxZC9Cq5q21aV9RyHAlaAAk4OJwFRGISA3xcB/9YMbifILkBE/ycACouvCS5rAFxMtAHMTDaCh86Ujgm7a6XiVWn4Voo/Sgf7G/CrtHwrxTel1lkpU1HyeOpMYKyTAPYqVQDmX4VD1wFWUDggigIAADARAJ0BKlgAWAA+kUSaSSWkIqEo+zpwsBIJQBhsVy/IClNbABuDPPs8//fAN4v+2ZtCOwDubsTWTIsW5DOH1edlN3m4okt0XnTvLg2tZeTXVoXS9CFosGJEnEvmSF4vJcE9TWG8QUvaXKIoRY5y1Jrh0tj7kiXITtl1rXlWIt7IbNsqgGVwbx3We0DCtaEJC0YAAP7jAUM//SwiXfr++dv6Dv+cB/S0dKuHOanIRzHO/mTwsIZwRLmifd+P25UFfyVef5Vj+Bmd7x9cAn8QQGS1nojoqVBcP5QAu1BagL4a5zv57fhMN2yN0V+ywbWQUp5NZk/P+0nHq+yRKNNjWpKG9KNNjW9te25Tn/k02N5bfPrfkY0PLf5yYvzCCib4UL/yxjrWu5/0I5HPAOyrr+vS5YJmITL14jI8+QLG+aneGBDe6oTgzFXiO/VTMJMovx/5PFzuYLJJumF36uDcyW95eLaNUgfiNo4aYuPRkWK9YtJoaKekic3laKdKRifelKcOXsDdvuHUK/qTyu+lLYNQl/mWcmDYhQpIXn294HYARV4dXcT43JhwIU9DDk+keWv0Kh8Mq8z/aY5dsRNY3TITXlWxTnyjKCz7dAyyaWjYNodxsVZONE74qzjbIhDwnXXWscOrd2aAdirMBVe0/VNC10SHnsLZGmDCiqWMLuC7zaeAhaZ03zR8h9ua9vAq7w/P4pqqANRv/gMr1YSLSUpQ7af6aEnUt29XoMzy3egTDLqDTi7LFBVxs4uxTGK13SIR6dEDFnDoshy7O6l1T8RF2fBZ0dE/TdQi4cFX//x6d0MJs284ctzjaZeurVhx2VRgmUutbCffZJjpzx/S3ZB2bBYyfyb+dQAA"},42634:()=>{},15340:()=>{},79838:()=>{},71281:()=>{},12717:e=>{"use strict";e.exports=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"namespace":{"name":"List","typedefs":[]}},{"namespace":{"name":"String","typedefs":[]}},{"contract":{"event":{"variant":[{"Transfer":["address","address","int"]},{"Allowance":["address","address","int"]},{"Burn":["address","int"]},{"Mint":["address","int"]},{"Swap":["address","int"]}]},"functions":[{"arguments":[],"name":"aex9_extensions","payable":false,"returns":{"list":["string"]},"stateful":false},{"arguments":[{"name":"name","type":"string"},{"name":"decimals","type":"int"},{"name":"symbol","type":"string"},{"name":"initial_owner_balance","type":{"option":["int"]}}],"name":"init","payable":false,"returns":"FungibleTokenFull.state","stateful":false},{"arguments":[],"name":"meta_info","payable":false,"returns":"FungibleTokenFull.meta_info","stateful":false},{"arguments":[],"name":"total_supply","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"owner","payable":false,"returns":"address","stateful":false},{"arguments":[],"name":"balances","payable":false,"returns":"FungibleTokenFull.balances","stateful":false},{"arguments":[{"name":"account","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[],"name":"swapped","payable":false,"returns":{"map":["address","int"]},"stateful":false},{"arguments":[],"name":"allowances","payable":false,"returns":"FungibleTokenFull.allowances","stateful":false},{"arguments":[{"name":"allowance_accounts","type":"FungibleTokenFull.allowance_accounts"}],"name":"allowance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"}],"name":"allowance_for_caller","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"},{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value","type":"int"}],"name":"create_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value_change","type":"int"}],"name":"change_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"}],"name":"reset_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"value","type":"int"}],"name":"burn","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"account","type":"address"},{"name":"value","type":"int"}],"name":"mint","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"swap","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"account","type":"address"}],"name":"check_swap","payable":false,"returns":"int","stateful":true}],"kind":"contract_main","name":"FungibleTokenFull","payable":false,"state":{"record":[{"name":"owner","type":"address"},{"name":"total_supply","type":"int"},{"name":"balances","type":"FungibleTokenFull.balances"},{"name":"meta_info","type":"FungibleTokenFull.meta_info"},{"name":"allowances","type":"FungibleTokenFull.allowances"},{"name":"swapped","type":{"map":["address","int"]}}]},"typedefs":[{"name":"meta_info","typedef":{"record":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"int"}]},"vars":[]},{"name":"allowance_accounts","typedef":{"record":[{"name":"from_account","type":"address"},{"name":"for_account","type":"address"}]},"vars":[]},{"name":"balances","typedef":{"map":["address","int"]},"vars":[]},{"name":"allowances","typedef":{"map":["FungibleTokenFull.allowance_accounts","int"]},"vars":[]}]}}]')},10854:e=>{"use strict";e.exports=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"namespace":{"name":"List","typedefs":[]}},{"namespace":{"name":"Option","typedefs":[]}},{"namespace":{"name":"Pair","typedefs":[]}},{"namespace":{"name":"Set","typedefs":[{"name":"set","typedef":{"record":[{"name":"to_map","type":{"map":["\'a","unit"]}}]},"vars":[{"name":"\'a"}]}]}},{"namespace":{"name":"String","typedefs":[]}},{"contract":{"event":{"variant":[{"TxProposed":["hash","address","int"]},{"TxConfirmed":["hash","address"]},{"TxRefused":["hash","address"]},{"TxConsensusReached":["hash"]},{"TxConsensusLost":["hash"]},{"TxRevoked":["hash","address"]},{"TxAuthorized":["hash"]},{"FeeProtectionDisabled":["address"]}]},"functions":[{"arguments":[{"name":"confirmations_required","type":"int"},{"name":"signers","type":{"Set.set":["address"]}}],"name":"init","payable":false,"returns":"SimpleGAMultiSig.state","stateful":true},{"arguments":[{"name":"nonce","type":"int"}],"name":"authorize","payable":false,"returns":"bool","stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"},{"name":"ttl","type":"Chain.ttl"}],"name":"propose","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"}],"name":"confirm","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"}],"name":"refuse","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"}],"name":"revoke","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"fee_protection","type":"SimpleGAMultiSig.fee_protection"}],"name":"update_fee_protection","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"disable_fee_protection","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"get_version","payable":false,"returns":"string","stateful":false},{"arguments":[],"name":"is_fee_protection_enabled","payable":false,"returns":"bool","stateful":false},{"arguments":[],"name":"get_fee_protection","payable":false,"returns":{"option":["SimpleGAMultiSig.fee_protection"]},"stateful":false},{"arguments":[],"name":"get_nonce","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"get_signers","payable":false,"returns":{"list":["address"]},"stateful":false},{"arguments":[],"name":"get_consensus_info","payable":false,"returns":"SimpleGAMultiSig.consensus_info","stateful":false}],"kind":"contract_main","name":"SimpleGAMultiSig","payable":false,"state":{"record":[{"name":"signers","type":{"Set.set":["address"]}},{"name":"confirmations_required","type":"int"},{"name":"current_tx","type":{"option":["SimpleGAMultiSig.transaction"]}},{"name":"fee_protection","type":{"option":["SimpleGAMultiSig.fee_protection"]}},{"name":"fee_protection_enabled","type":"bool"},{"name":"nonce","type":"int"},{"name":"version","type":"string"}]},"typedefs":[{"name":"transaction","typedef":{"record":[{"name":"tx_hash","type":"hash"},{"name":"expires_at","type":"int"},{"name":"proposed_by","type":"address"},{"name":"confirmed_by","type":{"Set.set":["address"]}},{"name":"refused_by","type":{"Set.set":["address"]}}]},"vars":[]},{"name":"consensus_info","typedef":{"record":[{"name":"tx_hash","type":{"option":["hash"]}},{"name":"confirmations_required","type":"int"},{"name":"confirmed_by","type":{"list":["address"]}},{"name":"refused_by","type":{"list":["address"]}},{"name":"has_consensus","type":"bool"},{"name":"expiration_height","type":"int"},{"name":"expired","type":"bool"},{"name":"proposed_by","type":{"option":["address"]}}]},"vars":[]},{"name":"fee_protection","typedef":{"record":[{"name":"max_fee","type":"int"},{"name":"max_gasprice","type":"int"}]},"vars":[]}]}}]')}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=e,(()=>{var e=[];n.O=(t,a,r,o)=>{if(!a){var i=1/0;for(l=0;l=o)&&Object.keys(n.O).every((e=>n.O[e](a[u])))?a.splice(u--,1):(s=!1,o0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[a,r,o]}})(),(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return n.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(a,r){if(1&r&&(a=this(a)),8&r)return a;if("object"===typeof a&&a){if(4&r&&a.__esModule)return a;if(16&r&&"function"===typeof a.then)return a}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&a;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>a[e]));return i["default"]=()=>a,n.d(o,i),o}})(),(()=>{n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}})(),(()=>{n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,a)=>(n.f[a](e,t),t)),[]))})(),(()=>{n.u=e=>"js/"+{201:"ae-account-details-names",341:"ae-account-details-tokens",375:"ae-transfer-receive-modal",386:"ae-account-details",395:"eth-account-details",522:"ae-transfer-send-modal",551:"eth-transfer-send-modal",575:"btc-account-details",618:"eth-transaction-details",625:"locale-cn",640:"btc-transfer-receive-modal",732:"eth-transfer-receive-modal",838:"btc-transaction-details",875:"btc-transfer-send-modal",986:"eth-account-details-tokens",996:"chunk-common"}[e]+"."+{201:"e377462a",341:"51f28b92",375:"70325c7c",386:"bf2a1151",395:"c185f8db",522:"7630f7d3",551:"25bbd180",575:"e9f47237",618:"000e6b28",625:"9227acba",640:"6d95d4d9",732:"c1104d81",838:"953e3017",875:"d39f4654",986:"f3a3f584",996:"9817d459"}[e]+".js"})(),(()=>{n.miniCssF=e=>"css/"+{201:"ae-account-details-names",341:"ae-account-details-tokens",375:"ae-transfer-receive-modal",386:"ae-account-details",395:"eth-account-details",522:"ae-transfer-send-modal",551:"eth-transfer-send-modal",575:"btc-account-details",640:"btc-transfer-receive-modal",732:"eth-transfer-receive-modal",875:"btc-transfer-send-modal"}[e]+"."+{201:"bd692696",341:"927fff82",375:"80db357d",386:"13d9e4cd",395:"8a72039a",522:"220d3489",551:"66c17c4c",575:"c3d856bc",640:"80db357d",732:"80db357d",875:"c23d0474"}[e]+".css"})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="superhero-wallet:";n.l=(a,r,o,i)=>{if(e[a])e[a].push(r);else{var s,u;if(void 0!==o)for(var c=document.getElementsByTagName("script"),l=0;l{s.onerror=s.onload=null,clearTimeout(v);var r=e[a];if(delete e[a],s.parentNode&&s.parentNode.removeChild(s),r&&r.forEach((e=>e(n))),t)return t(n)},v=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),u&&document.head.appendChild(s)}}})(),(()=>{n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{n.p="/"})(),(()=>{if("undefined"!==typeof document){var e=(e,t,a,r,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",n.nc&&(i.nonce=n.nc);var s=n=>{if(i.onerror=i.onload=null,"load"===n.type)r();else{var a=n&&n.type,s=n&&n.target&&n.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+a+": "+s+")");u.name="ChunkLoadError",u.code="CSS_CHUNK_LOAD_FAILED",u.type=a,u.request=s,i.parentNode&&i.parentNode.removeChild(i),o(u)}};return i.onerror=i.onload=s,i.href=t,a?a.parentNode.insertBefore(i,a.nextSibling):document.head.appendChild(i),i},t=(e,t)=>{for(var n=document.getElementsByTagName("link"),a=0;anew Promise(((r,o)=>{var i=n.miniCssF(a),s=n.p+i;if(t(i,s))return r();e(a,s,null,r,o)})),r={887:0};n.f.miniCss=(e,t)=>{var n={201:1,341:1,375:1,386:1,395:1,522:1,551:1,575:1,640:1,732:1,875:1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=a(e).then((()=>{r[e]=0}),(t=>{throw delete r[e],t})))}}})(),(()=>{var e={887:0};n.f.j=(t,a)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else{var o=new Promise(((n,a)=>r=e[t]=[n,a]));a.push(r[2]=o);var i=n.p+n.u(t),s=new Error,u=a=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){var o=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}};n.l(i,u,"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,[i,s,u]=a,c=0;if(i.some((t=>0!==e[t]))){for(r in s)n.o(s,r)&&(n.m[r]=s[r]);if(u)var l=u(n)}for(t&&t(a);cn(29806)));a=n.O(a)})(); \ No newline at end of file diff --git a/js/popup.ee2c6e45.js b/js/popup.ee2c6e45.js deleted file mode 100644 index 9545efb12..000000000 --- a/js/popup.ee2c6e45.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={3199:e=>{function t(e){return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}t.keys=()=>[],t.resolve=t,t.id=3199,e.exports=t},4483:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 34 24'%3e%3cpath fill='%2300FF9D' fill-rule='evenodd' d='M0 8.092 9.003 0h15.994L34 8.092 17.048 24zm10.009-5.61h4.884l10.44 10.254L17 20.552 3.735 8.138z' clip-rule='evenodd'/%3e%3c/svg%3e"},13839:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor'%3e%3cpath stroke='currentColor' stroke-width='1.4' d='m12.43 17.086-.414-.303-.413.303-4.794 3.51-.002.002c-.293.217-.482.147-.523.12-.023-.015-.049-.041-.065-.1-.016-.064-.026-.193.045-.398l.002-.006 1.89-5.626.165-.49-.42-.302-4.929-3.533-.002-.002c-.162-.115-.228-.22-.252-.283-.024-.06-.02-.101-.01-.127.012-.038.096-.187.419-.187H9.71l.158-.484 1.823-5.603.002-.008c.086-.274.244-.319.322-.319s.237.045.322.319l.002.005 1.8 5.604.156.486h6.587c.32 0 .398.146.41.182a.2.2 0 0 1-.011.135c-.026.066-.091.17-.247.284h-.001l-4.904 3.532-.417.3.162.489 1.868 5.626.003.008c.07.205.061.334.044.399-.015.06-.041.086-.063.1-.038.026-.217.094-.495-.116l-.009-.006z'/%3e%3c/svg%3e"},17660:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='M17.135 16.33a7.4 7.4 0 0 1-5.992 3.065 7.37 7.37 0 0 1-7.402-7.402A7.366 7.366 0 0 1 11.143 4.6c3.484 0 6.376 2.35 7.176 5.567h-1.124c-.337 0-.591.118-.695.348-.101.223-.032.5.147.759l1.982 2.823c.157.22.366.35.593.352.226.001.438-.126.6-.352l1.974-2.814c.187-.263.26-.541.158-.767-.104-.232-.361-.349-.698-.349h-1.159c-.854-4.148-4.576-7.317-8.954-7.317C6.15 2.85 2 6.99 2 11.993c0 4.994 4.15 9.144 9.143 9.144 3.023 0 5.702-1.534 7.394-3.826.34-.44.236-1.008-.182-1.269l-.002-.001c-.432-.257-.922-.116-1.218.289' clip-rule='evenodd'/%3e%3c/svg%3e"},97952:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='m21.46 12.962-7.384 6.928c-.471.444-.825.607-1.27.607-.615 0-1.056-.441-1.056-1.057V15.9h-.435c-1.72 0-3.127.252-4.295.862-1.17.613-2.083 1.576-2.83 2.965-.168.315-.349.492-.53.594a1.2 1.2 0 0 1-.607.139c-.254 0-.483-.117-.656-.368-.177-.258-.298-.663-.298-1.23 0-3.36.74-6.03 2.25-7.86 1.503-1.822 3.795-2.838 6.966-2.838h.435V4.642c0-.623.448-1.103 1.075-1.103.416 0 .723.162 1.252.654l7.384 6.881c.324.308.44.646.44.944 0 .29-.117.637-.44.944M3.558 18.365c.165 0 .243-.134.274-.196l.001-.003c1.07-2.228 3.693-3.568 7.93-3.568h1.194c.065 0 .087.011.091.014.003.004.014.026.014.091v3.441c0 .087.027.178.095.25.068.07.16.101.247.101a.43.43 0 0 0 .29-.131l6.376-6.022.004-.004a.6.6 0 0 0 .113-.148c.03-.06.04-.118.04-.172 0-.137-.077-.234-.143-.31l-.006-.007-6.374-6.084a.43.43 0 0 0-.3-.132.34.34 0 0 0-.244.097.34.34 0 0 0-.098.245V9.35c0 .065-.011.087-.014.092-.004.002-.026.014-.091.014h-1.194c-3.05 0-5.142 1.009-6.486 2.61-1.338 1.593-1.911 3.746-1.987 5.996v.007c0 .057.012.13.06.194.055.07.134.1.208.1m17.904-5.403-7.385 6.928c-.471.444-.825.607-1.27.607-.615 0-1.056-.441-1.056-1.057V15.9h-.435c-1.72 0-3.127.252-4.295.862-1.17.613-2.083 1.576-2.83 2.965-.168.315-.349.492-.53.594a1.2 1.2 0 0 1-.607.139c-.254 0-.483-.117-.656-.368-.177-.258-.298-.663-.298-1.23 0-3.36.74-6.03 2.25-7.86 1.503-1.822 3.795-2.838 6.966-2.838h.435V4.642c0-.623.448-1.103 1.075-1.103.416 0 .723.162 1.252.654l7.384 6.881c.324.308.44.646.44.944 0 .29-.117.637-.44.944m-9.81-4.897V4.642c0-.674.49-1.202 1.174-1.202.455 0 .784.183 1.32.681l7.384 6.88c.343.327.471.692.471 1.017 0 .316-.128.69-.471 1.016l-7.385 6.928c-.482.455-.86.634-1.337.634-.67 0-1.156-.485-1.156-1.156V16h-.336c-1.711 0-3.1.25-4.249.85-1.15.601-2.05 1.549-2.789 2.924-.175.327-.367.52-.568.634a1.3 1.3 0 0 1-.656.15c-.29 0-.548-.134-.738-.41-.192-.28-.315-.707-.315-1.286 0-3.372.743-6.07 2.273-7.923 1.526-1.85 3.848-2.874 7.042-2.874zm2.052-2.448a.43.43 0 0 0-.3-.132.34.34 0 0 0-.244.097.34.34 0 0 0-.098.245V9.35c0 .065-.011.087-.014.092-.004.002-.026.014-.091.014h-1.194c-3.05 0-5.142 1.009-6.486 2.61-1.338 1.593-1.911 3.746-1.987 5.996v.007c0 .057.012.13.06.194.055.07.134.1.208.1.165 0 .243-.133.274-.195l.001-.003c1.07-2.228 3.693-3.568 7.93-3.568h1.194c.065 0 .087.011.091.014.003.004.014.026.014.091v3.441c0 .087.027.178.095.25.068.07.16.101.247.101a.43.43 0 0 0 .29-.131l6.376-6.022.004-.004a.6.6 0 0 0 .113-.148c.03-.06.04-.118.04-.172 0-.137-.077-.234-.143-.31l-.006-.007zm6.302 6.153-6.372-6.083a.33.33 0 0 0-.23-.103.24.24 0 0 0-.174.068.24.24 0 0 0-.069.175V9.35c0 .074-.012.119-.03.146l-.011.017-.018.011c-.027.018-.071.03-.145.03h-1.194c-3.027 0-5.089 1.001-6.41 2.575-1.318 1.57-1.888 3.698-1.964 5.934v.006c0 .045.01.094.04.133a.16.16 0 0 0 .129.063c.101 0 .155-.08.185-.14v-.003c1.095-2.278 3.767-3.624 8.02-3.624h1.194c.074 0 .118.012.145.03l.018.012.01.017c.019.027.031.071.031.146v3.44c0 .068.021.132.067.18.047.05.11.072.176.072a.33.33 0 0 0 .22-.102l.002-.002L20 12.272l.003-.004a.5.5 0 0 0 .094-.122.3.3 0 0 0 .03-.128c0-.097-.053-.17-.119-.245z' clip-rule='evenodd'/%3e%3c/svg%3e"},32239:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' fill='none'%3e%3cpath fill='%2363F' d='M47.817 41.059h-4.194v-4.774h4.194z'/%3e%3cpath fill='%2309F' d='M47.817 36.285h-4.194v-4.8h4.194z'/%3e%3cpath fill='%233F0' d='M47.817 31.485h-4.194v-4.773h4.194z'/%3e%3cpath fill='%23FF0' d='M43.623 21.919h4.194v4.793h-4.194z'/%3e%3cpath fill='%23F90' d='M47.817 17.122h-4.194v4.797h4.194z'/%3e%3cpath fill='red' d='M47.817 17.122h-4.194v-4.77h4.194z'/%3e%3cpath fill='%2363F' d='M43.623 42.971h-4.194v-4.773h4.194z'/%3e%3cpath fill='%2309F' d='M43.623 38.199h-4.194v-4.784h4.194z'/%3e%3cpath fill='%233F0' d='M43.623 33.415h-4.194v-4.79h4.194z'/%3e%3cpath fill='%23FF0' d='M39.429 23.818h4.194v4.806h-4.194z'/%3e%3cpath fill='%23F90' d='M43.623 19.035h-4.194v4.797h4.194z'/%3e%3cpath fill='red' d='M43.623 19.035h-4.194V14.27h4.194z'/%3e%3cpath fill='%2363F' d='M39.429 41.06h-4.195v-4.8h4.194z'/%3e%3cpath fill='%2309F' d='M39.429 36.26h-4.195v-4.772h4.194z'/%3e%3cpath fill='%233F0' d='M39.429 31.488h-4.195v-4.774h4.194z'/%3e%3cpath fill='%23FF0' d='M35.235 21.9h4.194v4.814h-4.194z'/%3e%3cpath fill='%23F90' d='M39.429 17.127h-4.195V21.9h4.194z'/%3e%3cpath fill='red' d='M39.429 17.127h-4.195v-4.773h4.194z'/%3e%3cpath fill='%2363F' d='M35.234 39.159h-4.207v-4.826h4.207z'/%3e%3cpath fill='%2309F' d='M35.234 34.333h-4.207V29.54h4.207z'/%3e%3cpath fill='%233F0' d='M35.234 29.54h-4.207V24.8h4.207z'/%3e%3cpath fill='%23FF0' d='M31.027 19.988h4.207V24.8h-4.207z'/%3e%3cpath fill='%23F90' d='M35.235 15.213h-4.207v4.775h4.207z'/%3e%3cpath fill='red' d='M35.234 15.213h-4.207v-4.774h4.207z'/%3e%3cpath fill='%2363F' d='M31.027 37.178h-4.181v-4.78h4.181z'/%3e%3cpath fill='%2309F' d='M31.027 32.398h-4.181v-4.753h4.181z'/%3e%3cpath fill='%233F0' d='M31.027 27.644h-4.181v-4.76h4.181z'/%3e%3cpath fill='%23FF0' d='M26.846 18.085h4.181v4.8h-4.181z'/%3e%3cpath fill='%23F90' d='M31.027 13.275h-4.181v4.81h4.181z'/%3e%3cpath fill='red' d='M31.027 13.275h-4.181v-4.75h4.181z'/%3e%3cpath fill='%2363F' d='M26.846 39.151H22.65V34.38h4.195z'/%3e%3cpath fill='%2309F' d='M26.846 34.379H22.65v-4.8h4.195z'/%3e%3cpath fill='%233F0' d='M26.846 29.579H22.65v-4.78h4.195z'/%3e%3cpath fill='%23FF0' d='M22.652 20.012h4.194V24.8h-4.194z'/%3e%3cpath fill='%23F90' d='M26.846 15.219H22.65v4.794h4.195z'/%3e%3cpath fill='red' d='M26.846 15.219H22.65v-4.781h4.195z'/%3e%3cpath fill='%2363F' d='M22.652 41.059h-4.207v-4.774h4.207z'/%3e%3cpath fill='%2309F' d='M22.652 36.285h-4.207v-4.8h4.207z'/%3e%3cpath fill='%233F0' d='M22.652 31.485h-4.207v-4.773h4.207z'/%3e%3cpath fill='%23FF0' d='M18.445 21.933h4.207v4.779h-4.207z'/%3e%3cpath fill='%23F90' d='M22.652 17.122h-4.207v4.81h4.207z'/%3e%3cpath fill='red' d='M22.652 17.122h-4.207v-4.77h4.207z'/%3e%3cpath fill='%2363F' d='M18.451 42.987h-3.77v-4.774h3.77z'/%3e%3cpath fill='%2309F' d='M18.445 38.213h-3.764v-4.8h3.764z'/%3e%3cpath fill='%233F0' d='M18.445 33.413h-3.764V28.64h3.764z'/%3e%3cpath fill='%23FF0' d='M14.68 23.833h3.765v4.807H14.68z'/%3e%3cpath fill='%23F90' d='M18.45 19.07h-3.77v4.776h3.77z'/%3e%3cpath fill='red' d='M18.445 19.07h-3.764v-4.803h3.764z'/%3e%3cpath fill='%23FDFDFD' d='M15.925 46.4H.019V48h15.906zM7.962 5.29a1.31 1.31 0 0 1-1.317-1.318 1.31 1.31 0 0 1 1.317-1.318A1.31 1.31 0 0 1 9.28 3.972a1.31 1.31 0 0 1-1.318 1.317M0 11.105h15.906v-1.6H8.753V7.962h3.181V0H3.972v7.962h3.18v1.544H0zm14.099 22.89h-6.08v-6.08h6.08zm-6.193-6.194h-6.08v-6.08h6.08zM15.925 12.8H.019v31.793h15.906z'/%3e%3c/svg%3e"},84316:(e,t,n)=>{e.exports=n.p+"img/sendAndReceive.5eca3aa8.svg"},24538:(e,t,n)=>{e.exports=n.p+"img/app-store-mobile.aa908fdc.svg"},72347:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3e%3cdefs%3e%3clinearGradient id='a' x1='.5' x2='.5' y2='1' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%2317c9fb'/%3e%3cstop offset='1' stop-color='%231a74e8'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath fill='url(%23a)' d='M8.76 0h22.48A8.76 8.76 0 0 1 40 8.76v22.48A8.76 8.76 0 0 1 31.24 40H8.76A8.76 8.76 0 0 1 0 31.24V8.76A8.76 8.76 0 0 1 8.76 0'/%3e%3cpath fill='%23fff' d='m12.819 29.033-1.363 2.37a1.808 1.808 0 1 1-3.131-1.808l1.007-1.745.1-.168a1.49 1.49 0 0 1 1.451-.6s2.006.218 2.151 1.26a1.2 1.2 0 0 1-.211.686Zm19.4-6.05h-4.267a.63.63 0 0 1-.467-.18l-4.565-7.907h-.006l-.274-.393c-.449-.686-1.161 1.069-1.161 1.069-.851 1.956.121 4.179.459 4.851l6.338 10.98a1.808 1.808 0 1 0 3.131-1.808l-1.585-2.746c-.031-.067-.084-.247.241-.248h2.154a1.808 1.808 0 0 0 0-3.616Zm-8.283 2.458s.225 1.162-.651 1.162H7.515a1.808 1.808 0 1 1 0-3.616h4.053c.654-.038.81-.416.81-.416l5.294-9.168a.4.4 0 0 0 0-.371l-1.747-3.029a1.808 1.808 0 0 1 3.131-1.8l.81 1.4.809-1.4a1.808 1.808 0 1 1 3.131 1.808l-7.362 12.751c-.032.078-.042.2.2.221h4.4v.043a2.956 2.956 0 0 1 2.889 2.414Z'/%3e%3c/svg%3e"},78116:(e,t,n)=>{e.exports=n.p+"img/chrome.ac34fdda.svg"},24601:(e,t,n)=>{e.exports=n.p+"img/firefox.d4d36a42.svg"},59485:(e,t,n)=>{e.exports=n.p+"img/google-play-mobile.a27ad291.svg"},40958:e=>{e.exports="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36.501 40'%3e%3cdefs%3e%3clinearGradient id='a' x1='.915' x2='-.383' y1='.05' y2='.719' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%2300a0ff'/%3e%3cstop offset='.007' stop-color='%2300a1ff'/%3e%3cstop offset='.26' stop-color='%2300beff'/%3e%3cstop offset='.512' stop-color='%2300d2ff'/%3e%3cstop offset='.76' stop-color='%2300dfff'/%3e%3cstop offset='1' stop-color='%2300e3ff'/%3e%3c/linearGradient%3e%3clinearGradient id='b' x1='1.076' x2='-1.305' y1='.5' y2='.5' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%23ffe000'/%3e%3cstop offset='.409' stop-color='%23ffbd00'/%3e%3cstop offset='.775' stop-color='orange'/%3e%3cstop offset='1' stop-color='%23ff9c00'/%3e%3c/linearGradient%3e%3clinearGradient id='c' x1='.862' x2='-.501' y1='.178' y2='1.948' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%23ff3a44'/%3e%3cstop offset='1' stop-color='%23c31162'/%3e%3c/linearGradient%3e%3clinearGradient id='d' x1='-.188' x2='.421' y1='-.542' y2='.249' gradientUnits='objectBoundingBox'%3e%3cstop offset='0' stop-color='%2332a071'/%3e%3cstop offset='.068' stop-color='%232da771'/%3e%3cstop offset='.476' stop-color='%2315cf74'/%3e%3cstop offset='.801' stop-color='%2306e775'/%3e%3cstop offset='1' stop-color='%2300f076'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath fill='url(%23a)' d='M.732 1.156A3.09 3.09 0 0 0 0 3.34v34.387a3.08 3.08 0 0 0 .732 2.184l.118.112 19.581-19.261v-.454L.849 1.043z' data-name='Path 1203' transform='translate(.006 -.538)'/%3e%3cpath fill='url(%23b)' d='m35.635 32.643-6.525-6.424v-.454l6.527-6.422.149.081 7.733 4.322c2.209 1.234 2.209 3.253 0 4.49l-7.733 4.321Z' data-name='Path 1204' transform='translate(-8.674 -5.994)'/%3e%3cpath fill='url(%23c)' d='m27.416 35.384-6.676-6.567L1.043 48.2c.728.759 1.932.852 3.284.1z' data-name='Path 1205' transform='translate(-.305 -8.82)'/%3e%3cpath fill='url(%23d)' d='M27.416 13.754 4.327.845C2.975.089 1.771.183 1.043.941L20.74 20.32l6.676-6.568Z' data-name='Path 1206' transform='translate(-.305 -.323)'/%3e%3cg data-name='Group 971'%3e%3cpath d='M26.963 26.421 4.023 39.243c-1.285.719-2.43.671-3.166.017l-.118.116.118.111a2.67 2.67 0 0 0 3.166-.015l23.089-12.908-.148-.143Z' data-name='Path 1207' opacity='.2'/%3e%3cpath d='M.738 39.148a3.09 3.09 0 0 1-.732-2.184v.227a3.08 3.08 0 0 0 .732 2.18l.118-.116-.118-.112Z' data-name='Path 1208' opacity='.12'/%3e%3c/g%3e%3cpath d='m34.845 22.016-7.882 4.406.149.145 7.733-4.321A2.73 2.73 0 0 0 36.502 20a2.9 2.9 0 0 1-1.657 2.017Z' data-name='Path 1209' opacity='.12'/%3e%3cpath fill='%23fff' d='m4.022.75 30.821 17.227a2.9 2.9 0 0 1 1.657 2.018 2.73 2.73 0 0 0-1.657-2.246L4.022.524C1.815-.711.006.315.006 2.803v.227C.006.541 1.813-.484 4.022.75' data-name='Path 1210' opacity='.25'/%3e%3c/svg%3e"},35726:(e,t,n)=>{var a=n(9295)["default"];n(2008),n(51629),n(64346),n(62062),n(33110),n(5506),n(53921),n(79432),n(26099),n(47764),n(23500),n(62953),n(62953),window.browser={runtime:{getURL:function(e){return e}},storage:{local:{get:function(e){var t=Array.isArray(e)?e:[e];return Promise.resolve(Object.fromEntries(t.map((function(e){var t=localStorage.getItem(e);return[e,null===t?void 0:JSON.parse(t)]})).filter((function(e){var t=a(e,2),n=t[1];return void 0!==n})).map((function(e){var t=a(e,2),n=t[0],r=t[1];return[n,r]}))))},set:function(e){return Object.entries(e).forEach((function(e){var t=a(e,2),n=t[0],r=t[1];return localStorage.setItem(n,JSON.stringify(r))})),Promise.resolve()},remove:function(e){var t=Array.isArray(e)?e:[e];return t.forEach((function(e){return localStorage.removeItem(e)})),Promise.resolve()},clear:function(){return localStorage.clear(),Promise.resolve()}}}}},52347:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(55096),r=n(73808),o=(n(27208),n(76918),n(28706),n(64346),n(62062),n(60739),n(23288),n(5506),n(53921),n(26099),n(38781),n(1843)),i=n.n(o),s=n(60346),u=i()({storeAsString:!0}),c=function e(t){if("object"===(0,r.A)(t)&&null!==t&&t.constructor===Object)return Object.fromEntries(Object.entries(t).map((function(t){var n=(0,a.A)(t,2),r=n[0],o=n[1];return[r,e(o)]})).map((function(e){var t=(0,a.A)(e,2),n=t[0],r=t[1];return[n,r]})));if(Array.isArray(t))return t.map((function(t){return e(t)}));if("string"===typeof t&&(0,s.A)(t).toString(10)===t){var n=(0,s.A)(t);return n.toJSON=function(){return n.toString(10)},n}return t.toString()};const l={stringify:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a{"use strict";n.d(t,{S:()=>f});var a=n(6682),r=n(55096),o=(n(28706),n(2008),n(50113),n(74423),n(62062),n(62010),n(5506),n(26099),n(21699),n(11392),n(42762),n(60346)),i=n(20641),s=n(65563),u=n(32118),c=n(53592),l=n(85522),d=n(68411),p=n(53048),v=n(40239);function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ownedOnly,n=void 0!==t&&t,f=e.withBalanceOnly,m=void 0!==f&&f,g=e.searchTerm,h=e.isMultisig,A=void 0!==h&&h,k=(0,c.Z)(),y=k.marketData,b=(0,v.t)(),w=b.balance,C=(0,d.o)(),x=C.activeAccount,L=(0,p.c)(),S=L.activeMultisigAccount,T=(0,l.Y)(),E=T.getAccountTokenBalances,I=T.getProtocolAvailableTokens,_=(0,i.EW)((function(){var e,t=A?null===(e=S.value)||void 0===e?void 0:e.balance:w.value;return new o.A(null!==t&&void 0!==t?t:0)})),W=(0,i.EW)((function(){return A?s.yv.aeternity:x.value.protocol})),F=(0,i.EW)((function(){var e;return E(A?null===(e=S.value)||void 0===e?void 0:e.gaAccountId:x.value.address)})),D=(0,i.EW)((function(){return I(W.value)})),B=(0,i.EW)((function(){return F.value.map((function(e){var t=e.contractId;return t}))})),P=(0,i.EW)((function(){return u.C.getAdapter(W.value).getDefaultCoin(y.value,+_.value)})),M=(0,i.EW)((function(){var e=A?[]:Object.entries(D.value).map((function(e){var t=(0,r.A)(e,2),n=t[0],a=t[1],o=F.value.find((function(e){return e.contractId===n}));return o?Object.assign(Object.assign({},a),o):a}));return[].concat((0,a.A)(P.value?[P.value]:[]),(0,a.A)(e))})),O=(0,i.EW)((function(){var e=((null===g||void 0===g?void 0:g.value)||"").trim().toLowerCase(),t=e.startsWith("ct_"),a=u.C.getAdapter(W.value).coinContractId;return M.value.filter((function(e){var t=e.contractId;return!n||t===a||B.value.includes(t)})).filter((function(e){var t=e.contractId,n=e.convertedBalance;return!m||t===a||+(n||0)})).filter((function(n){var a=n.contractId,r=n.symbol,o=n.name;return!e||(null===r||void 0===r?void 0:r.toLowerCase().includes(e))||(null===o||void 0===o?void 0:o.toLowerCase().includes(e))||t&&(null===a||void 0===a?void 0:a.toLowerCase().includes(e))}))}));return{accountAssets:M,accountAssetsFiltered:O,protocolCoinBalance:_}}},68411:(e,t,n)=>{"use strict";n.d(t,{o:()=>Z});var a=n(2327),r=n(1287),o=n(6682),i=(n(62953),n(28706),n(50113),n(51629),n(74423),n(62062),n(44114),n(72712),n(53921),n(79432),n(26099),n(21699),n(47764),n(23500),n(50953)),s=n(20641),u=n(41343),c=n(46582),l=n(65563),d=n(31189),p=n(32118),v=n(35306),f=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},m=function(e){return f(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r,o;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(null===e||void 0===e?void 0:e.length){t.next=24;break}return t.next=3,(0,v.a)();case 3:if(t.t2=n=t.sent,t.t1=null===t.t2,t.t1){t.next=7;break}t.t1=void 0===n;case 7:if(!t.t1){t.next=11;break}t.t3=void 0,t.next=12;break;case 11:t.t3=n.accounts;case 12:if(t.t4=r=t.t3,t.t0=null===t.t4,t.t0){t.next=16;break}t.t0=void 0===r;case 16:if(!t.t0){t.next=20;break}t.t5=void 0,t.next=21;break;case 20:t.t5=r.list;case 21:if(o=t.t5,!(null===o||void 0===o?void 0:o.length)){t.next=24;break}return t.abrupt("return",o.reduce((function(e,t){var n=t.protocol,a=t.type;return l.E4.includes(n)&&a===l.zE&&e.push({isRestored:!0,protocol:n,type:a}),e}),[]));case 24:return t.abrupt("return",e);case 25:case"end":return t.stop()}}),t)})))};const g=m;var h=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},A=function(e){return h(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e){t.next=15;break}return t.next=3,(0,v.a)();case 3:if(t.t1=n=t.sent,t.t0=null===t.t1,t.t0){t.next=7;break}t.t0=void 0===n;case 7:if(!t.t0){t.next=11;break}t.t2=void 0,t.next=12;break;case 11:t.t2=n.mnemonic;case 12:if(r=t.t2,!r||!(0,c.validateMnemonic)(r)){t.next=15;break}return t.abrupt("return",r);case 15:return t.abrupt("return",e);case 16:case"end":return t.stop()}}),t)})))};const k=A;var y=n(26169),b=(n(25440),n(62010),n(27495),n(99449),n(84754)),w=n(85142),C=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function x(e){return C(this,void 0,void 0,(0,a.A)().mark((function t(){var n,r,i,s,u;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=[],t.next=3,w.YA.readdir({path:e});case 3:r=t.sent,i=(0,y.A)(r.files),t.prev=5,i.s();case 7:if((s=i.n()).done){t.next=17;break}if(u=s.value,"directory"!==u.type){t.next=14;break}return t.next=12,x(u.uri).then((function(e){n.push.apply(n,(0,o.A)(e))}));case 12:t.next=15;break;case 14:"file"===u.type&&u.uri.endsWith(".mnemonic")&&n.push(u);case 15:t.next=7;break;case 17:t.next=22;break;case 19:t.prev=19,t.t0=t["catch"](5),i.e(t.t0);case 22:return t.prev=22,i.f(),t.finish(22);case 25:return t.abrupt("return",n);case 26:case"end":return t.stop()}}),t,null,[[5,19,22,25]])})))}function L(){return C(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,w.YA.getUri({path:"Caches",directory:w.__.Library});case 2:return t=e.sent,e.next=5,x(t.uri);case 5:if(n=e.sent,!n.length){e.next=8;break}return e.abrupt("return",n[0].name.replace(".mnemonic",""));case 8:return e.abrupt("return",null);case 9:case"end":return e.stop()}}),e)})))}function S(){return C(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n,r,o,i;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,w.YA.getUri({path:"Caches",directory:w.__.Library});case 2:return t=e.sent,e.next=5,x(t.uri);case 5:n=e.sent,r=(0,y.A)(n),e.prev=7,r.s();case 9:if((o=r.n()).done){e.next=20;break}return i=o.value,e.prev=11,e.next=14,w.YA.deleteFile({path:i.uri});case 14:e.next=18;break;case 16:e.prev=16,e.t0=e["catch"](11);case 18:e.next=9;break;case 20:e.next=25;break;case 22:e.prev=22,e.t1=e["catch"](7),r.e(e.t1);case 25:return e.prev=25,r.f(),e.finish(25);case 28:case"end":return e.stop()}}),e,null,[[7,22,25,28],[11,16]])})))}var T=function(e){return C(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r,o;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e||!l.pz||!l.I$){t.next=13;break}return n=(0,b.mv)(),r=n.setLoaderVisible,r(!0),t.prev=3,t.next=6,L();case 6:if(o=t.sent,!o){t.next=10;break}return S(),t.abrupt("return",o);case 10:return t.prev=10,r(!1),t.finish(10);case 13:return t.abrupt("return",e);case 14:case"end":return t.stop()}}),t,null,[[3,,10,13]])})))};const E=T;var I=n(54228),_=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},W=!1,F=(0,d.pe)(),D=F.addCallback,B=F.runCallbacks,P=(0,i.KR)(!1),M=(0,I.S)("",l.d5.mnemonic,{backgroundSync:!0,migrations:[].concat((0,o.A)(l.pz&&l.I$?[E]:[]),[k])}),O=(0,I.S)([],l.d5.accountsRaw,{backgroundSync:!0,migrations:[g],onRestored:function(){P.value=!0}}),R=(0,I.S)(0,l.d5.activeAccountGlobalIdx,{backgroundSync:!0}),N=(0,I.S)({},l.d5.protocolLastActiveAccountIdx,{backgroundSync:!0}),U=(0,s.EW)((function(){return M.value?(0,c.mnemonicToSeed)(M.value):null})),X=(0,s.EW)((function(){var e;if(!M.value||!(null===(e=O.value)||void 0===e?void 0:e.length))return[];var t=Object.fromEntries(l.E4.map((function(e){return[e,0]})));return O.value.map((function(e,n){var a=t[e.protocol],r=p.C.getAdapter(e.protocol).getHdWalletAccountFromMnemonicSeed(U.value,a);return t[e.protocol]+=1,Object.assign(Object.assign({globalIdx:n,idx:a},e),r)}))})),V=(0,s.EW)((function(){return X.value[R.value]||{}})),H=(0,s.EW)((function(){return X.value.reduce((function(e,t){return Object.assign(Object.assign({},e),(0,r.A)({},t.protocol,[].concat((0,o.A)((null===e||void 0===e?void 0:e[t.protocol])||[]),[t])))}),{})})),$=(0,s.EW)((function(){return H.value[l.yv.aeternity]||[]})),j=(0,s.EW)((function(){return X.value.map((function(e){var t=e.address;return t}))})),K=(0,s.EW)((function(){return(0,d.dZ)(X.value)})),q=(0,s.EW)((function(){return(0,d.dZ)($.value)})),G=(0,s.EW)((function(){return V.value&&Object.keys(V.value).length>0})),Q=(0,s.EW)((function(){return(0,u.A)(X.value.map((function(e){var t=e.protocol;return t})))}));function Z(){var e=this;function t(e){return X.value.find((function(t){return t.address===e}))}function n(e){return X.value.find((function(t){return t.globalIdx===e}))}function r(e){if(V.value.protocol===e)return V.value;var t=N.value[e];return t?n(t):X.value.find((function(t){return t.protocol===e}))}function o(e){var t=H.value[e];return t?t[t.length-1]:void 0}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=V.value,a=n(e);R.value=(null===a||void 0===a?void 0:a.globalIdx)||0,a&&t.address!==a.address&&(N.value[a.protocol]=a.globalIdx,B(a,t))}function s(e){var n;e&&i(null===(n=t(e))||void 0===n?void 0:n.globalIdx)}function u(e,t){var n,a=null===(n=H.value[e])||void 0===n?void 0:n.find((function(e){return e.idx===t}));a&&i(a.globalIdx)}function v(e){var t=r(e);u(e,(null===t||void 0===t?void 0:t.idx)||0)}function f(e){M.value=e}function m(){f((0,c.generateMnemonic)())}function g(e){return j.value.includes(e)}function h(e){var t,n=e.isRestored,a=e.protocol;return O.value.push({protocol:a,isRestored:n,type:l.zE}),(null===(t=o(a))||void 0===t?void 0:t.idx)||0}function A(){return _(this,void 0,void 0,(0,a.A)().mark((function e(){var t;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(l.E4.map((function(e){return p.C.getAdapter(e).discoverLastUsedAccountIndex(U.value)})));case 2:t=e.sent,l.E4.forEach((function(e,n){for(var a=0;a<=t[n];a+=1)h({isRestored:!0,protocol:e})}));case 4:case"end":return e.stop()}}),e)})))}function k(){M.value="",O.value=[],R.value=0}return function(){_(e,void 0,void 0,(0,a.A)().mark((function e(){return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(W){e.next=5;break}return W=!0,e.next=4,(0,d.mU)(G);case 4:N.value[V.value.protocol]=V.value.globalIdx;case 5:case"end":return e.stop()}}),e)})))}(),{accounts:X,aeAccounts:$,accountsAddressList:j,accountsSelectOptions:K,aeAccountsSelectOptions:q,accountsRaw:O,activeAccount:V,activeAccountGlobalIdx:R,areAccountsRestored:P,isLoggedIn:G,mnemonic:M,mnemonicSeed:U,protocolsInUse:Q,discoverAccounts:A,isLocalAccountAddress:g,addRawAccount:h,getAccountByAddress:t,getAccountByGlobalIdx:n,getLastActiveProtocolAccount:r,onAccountChange:D,setActiveAccountByAddress:s,setActiveAccountByGlobalIdx:i,setActiveAccountByProtocolAndIdx:u,setActiveAccountByProtocol:v,setMnemonic:f,setGeneratedMnemonic:m,resetAccounts:k}}},75265:(e,t,n)=>{"use strict";n.d(t,{C:()=>Q});var a,r,o,i=n(2327),s=(n(62953),n(76918),n(51629),n(23288),n(62010),n(26099),n(38781),n(47764),n(23500),n(50953)),u=n(20641),c=n(46512),l=n(31490),d=n(60182),p=n(41417),v=n(13217),f=n(6624),m=n(84177),g=n(22342),h=n(217),A=(n(62062),n(3798)),k=n(65563),y=n(68411),b=n(91392),w=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},C=function(e){function t(e,n){var a;return(0,p.A)(this,t),a=(0,f.A)(this,t,[e]),a.nodeNetworkId=n,a}return(0,h.A)(t,e),(0,v.A)(t,[{key:"_resolveAccount",value:function(){return new b.L(this.nodeNetworkId)}},{key:"getAccounts",value:function(){var e={connected:{},current:{}},t=(0,y.o)(),n=t.getLastActiveProtocolAccount,a=n(k.yv.aeternity);return a&&(e.current[a.address]={}),e}},{key:"addresses",value:function(){var e=(0,y.o)(),t=e.aeAccounts;return t.value.map((function(e){var t=e.address;return t}))}},{key:"spendWithCustomOptions",value:function(e,n,a){return(0,m.A)((0,g.A)(t.prototype),"spend",this).call(this,e,n,a)}},{key:"getWalletInfo",value:function(){return w(this,void 0,void 0,(0,i.A)().mark((function e(){return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.t0=this.id,e.t1=this.name,e.next=4,this.api.getNetworkId();case 4:return e.t2=e.sent,e.t3=void 0,e.t4=this._type,e.abrupt("return",{id:e.t0,name:e.t1,networkId:e.t2,origin:e.t3,type:e.t4});case 8:case"end":return e.stop()}}),e,this)})))}}]),t}(A.A),x=n(6682),L=(n(28706),n(2008),n(74423),n(31415),n(21699),n(99834)),S=n(22146),T=n(31189),E=3e3,I=function(){var e,t=new Set,n=!1;function a(){return[window.parent].concat((0,x.A)((0,L.A)(window.parent.frames.length,(function(e){return window.parent.frames[e]}))))}function r(r){n=!0,clearInterval(e);try{e=(0,T.mX)((function(){return a().filter((function(e){return e!==window})).forEach((function(e){if(!t.has(e)){t.add(e);var n,o=new S.A({target:e}),i=o.connect;o.connect=function(t){i.call(this,(function(a,r,o){o===e&&(clearInterval(n),t(a,r,o))}),(function(){}))};var s=r.addRpcClient(o);n=(0,T.mX)((function(){a().includes(e)?r.shareWalletInfo(s):clearInterval(n)}),3e3)}}))}),E)}catch(o){(0,T.fY)(o)}}return{initialized:n,init:r}}(),_=n(59755),W=n(41549),F=n(12082),D=n(81881),B=n(48287)["Buffer"],P=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},M=!1,O=(0,s.KR)(),R=(0,s.KR)(!1),N=(0,s.KR)(!1),U=(0,s.KR)(!1),X=(0,s.KR)(!1),V={},H=(0,u.EW)((function(){return!R.value&&a})),$=(0,u.EW)((function(){return O.value===_.LK})),j=(0,u.EW)((function(){return O.value===_.aR})),K=(0,u.EW)((function(){return!$.value&&!j.value})),q=(0,u.EW)((function(){return k.yW||!K.value})),G=(0,u.EW)((function(){return O.value?_.ml[O.value]:void 0}));function Q(){var e=this,t=(0,D.f)(),n=t.activeNetworkName,s=t.areNetworksRestored,u=t.onNetworkChange,p=(0,y.o)(),v=p.accountsAddressList,f=p.isLoggedIn,m=p.getLastActiveProtocolAccount,g=p.onAccountChange,h=(0,F.S)(),A=h.checkOrAskPermission,b=(0,W.$L)(),w=b.aeActiveNetworkSettings;function x(e){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var n;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return N.value=!1,X.value=!1,U.value=!0,t.prev=3,n=new c.A(e),t.next=7,n.getStatus();case 7:O.value=t.sent.networkId,N.value=!0,t.next=16;break;case 11:return t.prev=11,t.t0=t["catch"](3),O.value=void 0,X.value=!0,t.abrupt("return",null);case 16:return U.value=!1,t.abrupt("return",n);case 18:case"end":return t.stop()}}),t,null,[[3,11]])})))}function L(e,t){return P(this,void 0,void 0,(0,i.A)().mark((function n(){return(0,i.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return R.value=!0,a.pool["delete"](e.name),n.t0=a,n.t1=t.name,n.next=6,x(t.protocols.aeternity.nodeUrl);case 6:n.t2=n.sent,n.t0.addNode.call(n.t0,n.t1,n.t2,!0),R.value=!1;case 9:case"end":return n.stop()}}),n)})))}function S(){return P(this,void 0,void 0,(0,i.A)().mark((function e(){var t;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return R.value=!0,e.next=3,Promise.all([(0,T.mU)(f),(0,T.mU)(s)]);case 3:return r=n.value,e.next=6,x(w.value.nodeUrl);case 6:t=e.sent,a=new C({name:"Superhero",nodes:[{name:n.value,instance:t}],id:"Superhero Wallet",type:k.hL?l.VE.extension:l.VE.window,onConnection:function(e,t,n){V[e]=Object.assign(Object.assign({},t),{origin:n})},onDisconnect:function(e){delete V[e]},onSubscription:function(e,t,n){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var a,r;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=V[e],r=k.ys?a.origin:n,t.next=4,A(l.J8.subscribeAddress,r);case 4:if(!t.sent){t.next=6;break}return t.abrupt("return",m(k.yv.aeternity).address);case 6:return t.abrupt("return",Promise.reject(new l.A6("Rejected by user")));case 7:case"end":return t.stop()}}),t)})))},onAskAccounts:function(e,t,n){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var a,r;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=V[e],r=k.ys?a.origin:n,t.next=4,A(l.J8.address,r);case 4:if(!t.sent){t.next=6;break}return t.abrupt("return",v.value);case 6:return t.abrupt("return",Promise.reject(new l.A6("Rejected by user")));case 7:case"end":return t.stop()}}),t)})))}},O),k.IX&&!I.initialized&&I.init(a),R.value=!1;case 10:case"end":return e.stop()}}),e)})))}function E(){return P(this,void 0,void 0,(0,i.A)().mark((function e(){return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!R.value){e.next=5;break}return e.next=3,(0,T.mU)((function(){return!R.value}));case 3:e.next=8;break;case 5:if(a){e.next=8;break}return e.next=8,S();case 8:return e.abrupt("return",a);case 9:case"end":return e.stop()}}),e)})))}function _(){return P(this,void 0,void 0,(0,i.A)().mark((function e(){var t,a;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o){e.next=5;break}return t=new c.A(w.value.nodeUrl,{ignoreVersion:!0}),o=new d.A({nodes:[{name:n.value,instance:t}]}),r=n.value,e.abrupt("return",o);case 5:return r!==n.value&&(a=new c.A(w.value.nodeUrl,{ignoreVersion:!0}),o.pool["delete"](r),o.pool["delete"](n.value),o.addNode(n.value,a,!0)),e.abrupt("return",o);case 7:case"end":return e.stop()}}),e)})))}function K(e){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var n,a;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,E();case 2:return n=t.sent,t.t0=B,t.next=6,n.signMessage(e.challenge);case 6:return t.t1=t.sent,a=t.t0.from.call(t.t0,t.t1).toString("hex"),t.abrupt("return",{challenge:e.challenge,signature:a});case 9:case"end":return t.stop()}}),t)})))}function Q(){return P(this,void 0,void 0,(0,i.A)().mark((function e(){var t;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!k.IX){e.next=5;break}return e.next=3,E();case 3:t=e.sent,t._clients.forEach((function(e,n){e.status===l.fE.CONNECTED&&e.rpc.notify(l.J8.closeConnection,null),t.removeRpcClient(n)}));case 5:case"end":return e.stop()}}),e)})))}function Z(e){return P(this,void 0,void 0,(0,i.A)().mark((function t(){var n;return(0,i.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,E();case 2:return n=t.sent,t.abrupt("return",n.poll(e));case 4:case"end":return t.stop()}}),t)})))}return M||(M=!0,u((function(e,t){L(t,e)})),g((function(){return P(e,void 0,void 0,(0,i.A)().mark((function e(){var t;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,E();case 2:t=e.sent,t._pushAccountsToApps();case 4:case"end":return e.stop()}}),e)})))}))),{isAeNodeReady:N,isAeNodeConnecting:U,isAeNodeError:X,isNodeMainnet:$,isNodeTestnet:j,isAeSdkReady:H,nodeNetworkId:O,isTippingSupported:q,dexContracts:G,getAeSdk:E,getDryAeSdk:_,resetNode:L,fetchRespondChallenge:K,createNodeInstance:x,disconnectDapps:Q,waitTransactionMined:Z}}},40239:(e,t,n)=>{"use strict";n.d(t,{t:()=>y});var a=n(2327),r=(n(62953),n(62062),n(72712),n(9868),n(53921),n(26099),n(47764),n(20641)),o=n(87471),i=n(60346),s=n(65563),u=n(31189),c=n(32118),l=n(53592),d=n(58449),p=n(68411),v=n(54228),f=n(81881),m=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},g=!1,h=5e3,A=(0,d.y)(h),k=(0,v.S)({},s.d5.balances,{serializer:{read:function(e){return(0,o.A)(e,(function(e){return new i.A(e)}))},write:function(e){return(0,o.A)(e,(function(e){return e.toFixed()}))}}});function y(){var e=(0,p.o)(),t=e.activeAccount,n=e.accounts,o=(0,f.f)(),s=o.onNetworkChange,d=(0,l.Z)(),v=d.getCurrentCurrencyRate,h=(0,r.EW)((function(){return k.value[t.value.address]||new i.A(0)})),y=(0,r.EW)((function(){var e=n.value.reduce((function(e,t){var n,a=null===(n=k.value)||void 0===n?void 0:n[t.address];return a?e+v(t.protocol)*a.toNumber():e}),0);return e.toFixed(2)}));function b(e){return k.value[e]||new i.A(0)}function w(){return m(this,void 0,void 0,(0,a.A)().mark((function e(){var t,r,o,s=this;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=n.value,r=t.map((function(e){var t=e.address,n=e.protocol;return m(s,void 0,void 0,(0,a.A)().mark((function e(){return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c.C.getAdapter(n).fetchBalance(t)["catch"]((function(e){return(0,u.El)(e)||(0,u.fY)(e),0})));case 1:case"end":return e.stop()}}),e)})))})),e.next=4,Promise.all(r);case 4:o=e.sent,k.value=Object.fromEntries(o.map((function(e,n){return[t[n].address,(0,i.A)(e||0)]})));case 6:case"end":return e.stop()}}),e)})))}return A((function(){return w()})),g||(g=!0,s((function(){w()}))),{balances:k,accountsTotalBalance:y,balance:h,getAccountBalance:b,updateBalances:w}}},58449:(e,t,n)=>{"use strict";n.d(t,{X:()=>s,y:()=>u});n(76031);var a=n(50953),r=n(20641),o=n(24122),i=n(909);function s(e){var t;return function(){return t||(t=(0,a.uY)(!0).run(e)||e()),t}}function u(e){var t=(0,o.w)(),n=t.isOnline,a=(0,i.m)(),s=a.isAppActive,u=!1,c=null,l=0;return function(t){function a(){n.value&&s.value&&(u=!0,t())}(0,r.nI)()&&((0,r.sV)((function(){l+=1,l>0&&!c&&(u||a(),c=setInterval((function(){return a()}),e))})),(0,r.xo)((function(){l-=1,0===l&&c&&(clearInterval(c),c=null)})))}}},24122:(e,t,n)=>{"use strict";n.d(t,{w:()=>c});var a=n(50953),r=n(20641),o=n(81849),i=n(65563),s=!1,u=(0,a.KR)(window.navigator.onLine);function c(){function e(){s||(s=!0,i.I$?o.l.addListener("networkStatusChange",(function(e){u.value=e.connected})):(window.addEventListener("online",(function(){u.value=!0})),window.addEventListener("offline",(function(){u.value=!1}))))}return i.I$&&!s&&o.l.getStatus().then((function(e){u.value=e.connected})),{isOnline:(0,r.EW)((function(){return u.value})),watchConnectionStatus:e}}},53592:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var a=n(2327),r=(n(50113),n(48598),n(62062),n(9868),n(53921),n(26099),n(50953)),o=n(20641),i=n(66401),s=n(46661),u=n(65563),c=n(31189),l=n(32118),d=n(68411),p=n(41417),v=n(13217),f=(n(62953),n(48408),n(76918),n(28706),n(23288),n(38781),n(47764),n(14603),n(47566),n(98721),n(43089)),m=n.n(f),g=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},h="https://api.coingecko.com/api/v3",A=function(){function e(){(0,p.A)(this,e)}return(0,v.A)(e,null,[{key:"fetchFromApi",value:function(e,t){var n=new URLSearchParams(t).toString();return(0,c.x6)("".concat(h).concat(e,"?").concat(n))}},{key:"fetchCoinMarketData",value:function(t,n){return g(this,void 0,void 0,(0,a.A)().mark((function r(){var o;return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,e.fetchFromApi("/coins/markets",{ids:t,vs_currency:n});case 3:if(a.t0=a.sent,a.t0){a.next=6;break}a.t0=[];case 6:return o=a.t0,a.abrupt("return",o?m()(o):null);case 10:return a.prev=10,a.t1=a["catch"](0),a.abrupt("return",null);case 13:case"end":return a.stop()}}),r,null,[[0,10]])})))}},{key:"fetchCoinCurrencyRates",value:function(t){return g(this,void 0,void 0,(0,a.A)().mark((function n(){return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e.fetchFromApi("/simple/price",{ids:t,vs_currencies:u.yR.map((function(e){var t=e.code;return t})).join(",")});case 3:return n.abrupt("return",n.sent);case 6:return n.prev=6,n.t0=n["catch"](0),n.abrupt("return",null);case 9:case"end":return n.stop()}}),n,null,[[0,6]])})))}}]),e}(),k=n(58449),y=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},b=!1,w=36e5,C="currency",x="usd",L=(0,r.KR)(null),S=(0,r.KR)({}),T=(0,r.KR)(!1),E=(0,r.KR)((0,c._S)([C])||x),I=(0,k.y)(w);function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.pollingDisabled,n=void 0!==t&&t,r=(0,d.o)(),p=r.protocolsInUse,v=r.isLoggedIn,f=(0,o.EW)((function(){return u.yR.find((function(e){var t=e.code;return t===E.value}))}));function m(e){var t,n;return(null===(n=null===(t=S.value)||void 0===t?void 0:t[e])||void 0===n?void 0:n[E.value])||0}function g(){return p.value.map((function(e){return l.C.getAdapter(e).getCoinGeckoCoinId()})).join(",")}function h(){return y(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,c.mU)(v);case 3:return e.next=5,A.fetchCoinMarketData(g(),E.value);case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0=[];case 8:t=e.t0,n=Object.fromEntries(t.map((function(e){return[e.id,e]}))),L.value=(0,i.A)(n)?null:n,e.next=17;break;case 13:e.prev=13,e.t1=e["catch"](0),(0,c.fY)(e.t1),L.value=null;case 17:case"end":return e.stop()}}),e,null,[[0,13]])})))}function k(e){E.value=e,h(),(0,c.AP)([C],e)}function w(){return y(this,void 0,void 0,(0,a.A)().mark((function e(){var t;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return T.value=!0,e.next=3,A.fetchCoinCurrencyRates(g());case 3:t=e.sent,t&&(S.value=t),T.value=!1;case 6:case"end":return e.stop()}}),e)})))}function x(e){return new Intl.NumberFormat(u.Xn,{style:"currency",currencyDisplay:"narrowSymbol",currency:E.value}).format(e)}function _(e,t){return+(m(t)*e).toFixed(2)}function W(e,t){return x(_(e,t))}function F(e,t){if(!m(t)||0===e)return x(0);var n=_(e,t);return n<.01?"<".concat(x(.01)):x(n)}return n||I((function(){return w()})),b||(b=!0,(0,o.wB)(p,(function(e,t){(0,s.A)(e,t).length&&!T.value&&w()}))),{CURRENCIES:u.yR,marketData:L,currencyRates:S,currentCurrencyCode:E,currentCurrencyInfo:f,getCurrentCurrencyRate:m,loadCoinsData:h,loadCurrencyRates:w,setCurrentCurrency:k,formatCurrency:x,getFiat:_,getFormattedFiat:W,getFormattedAndRoundedFiat:F}}},85522:(e,t,n)=>{"use strict";n.d(t,{Y:()=>W});var a=n(73808),r=n(55096),o=n(2327),i=(n(93514),n(25440),n(62953),n(18107),n(2008),n(50113),n(46449),n(62062),n(44114),n(72712),n(62010),n(2892),n(5506),n(26099),n(16034),n(27495),n(67357),n(47764),n(20641)),s=n(60346),u=n(41805),c=n(31189),l=n(65563),d=n(32118),p=n(12717),v=n(59755),f=n(58338),m=n(5582),g=n(68411),h=n(75265),A=n(97911),k=n(58449),y=n(54228),b=n(81881),w=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},C=!1,x=(0,y.S)({},l.d5.fungibleTokenList),L=(0,y.S)([],l.d5.fungibleTokenBalances),S=(0,i.EW)((function(){var e=(0,m.A)(L.value,"contractId").map((function(e){return{contractId:e.contractId,protocol:e.protocol,name:null===e||void 0===e?void 0:e.name,symbol:null===e||void 0===e?void 0:e.symbol}})),t=e.reduce((function(e,t){var n,a,r=t.contractId,o=t.protocol;return e[o]||(e[o]={}),(null===(a=null===(n=null===x||void 0===x?void 0:x.value)||void 0===n?void 0:n[o])||void 0===a?void 0:a[r])||(e[o][r]=t),e}),{});return Object.values(l.yv).reduce((function(e,n){return e[n]=Object.assign(Object.assign({},x.value[n]),t[n]),e}),{})}));function T(e){return S.value[e]||{}}var E=(0,k.y)(6e4),I=(0,k.y)(1e4),_=!1;function W(){var e=this,t=(0,b.f)(),n=t.activeNetwork,m=t.onNetworkChange,k=(0,h.C)(),y=k.getAeSdk,W=(0,A.k)(),F=W.tippingContractAddresses,D=(0,g.o)(),B=D.accounts,P=D.protocolsInUse,M=D.getLastActiveProtocolAccount;function O(e){return L.value.filter((function(t){return t.address===e}))||[]}function R(e,t){return O(e).find((function(e){return e.contractId===t}))}function N(){return w(this,void 0,void 0,(0,o.A)().mark((function e(){var t,a,r;return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=P.value.map((function(e){var t,n;return null===(n=(t=d.C.getAdapter(e)).fetchAvailableTokens)||void 0===n?void 0:n.call(t)})),a=n.value.name,e.next=4,Promise.all(t);case 4:if(r=e.sent.map((function(e,t){return e||Object.values(x.value[P.value[t]]||{})})).flat(),a===n.value.name){e.next=7;break}return e.abrupt("return");case 7:x.value=r.reduce((function(e,t){var n=t.contractId,a=t.protocol;return e[a]||(e[a]={}),e[a][n]=t,e}),{});case 8:case"end":return e.stop()}}),e)})))}function U(){return w(this,void 0,void 0,(0,o.A)().mark((function e(){var t,n,a,i=this;return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!_){e.next=2;break}return e.abrupt("return");case 2:return _=!0,t={},B.value.map((function(e){var n,a,r,o=e.address,i=e.protocol;return t[o]=null!==(r=null===(a=(n=d.C.getAdapter(i)).fetchAccountTokenBalances)||void 0===a?void 0:a.call(n,o))&&void 0!==r?r:[],null})),n=L.value,a={},n.map((function(e){return a[e.address]||(a[e.address]=[]),a[e.address].push(e),null})),e.next=10,Promise.all(Object.entries(t).map((function(e){var t=(0,r.A)(e,2),n=t[0],s=t[1];return w(i,void 0,void 0,(0,o.A)().mark((function e(){return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,s;case 2:if(e.t1=e.sent,e.t1){e.next=5;break}e.t1=a[n];case 5:if(e.t0=e.t1,e.t0){e.next=8;break}e.t0=[];case 8:return e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e)})))})));case 10:L.value=e.sent.flat(),_=!1;case 12:case"end":return e.stop()}}),e)})))}function X(e,t){var n,a,r,i;return w(this,void 0,void 0,(0,o.A)().mark((function d(){var v,f,m,g,h,A,k,b;return(0,o.A)().wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.next=2,y();case 2:return v=o.sent,f=M(l.yv.aeternity),m=T(l.yv.aeternity)[e],o.next=7,v.initializeContract({aci:p,address:e});case 7:return g=o.sent,o.next=10,g.allowance({from_account:null===f||void 0===f?void 0:f.address,for_account:null===(a=null===(n=null===F||void 0===F?void 0:F.value)||void 0===n?void 0:n.tippingV2)||void 0===a?void 0:a.replace("ct_","ak_")});case 10:return h=o.sent,A=h.decodedResult,k=void 0!==A?new s.A(A).multipliedBy(-1).plus((0,c.Y9)(t,null===m||void 0===m?void 0:m.decimals)).toNumber():(0,c.Y9)(t,null===m||void 0===m?void 0:m.decimals).toNumber(),b=g.methods[void 0!==A?"change_allowance":"create_allowance"],o.abrupt("return",b(null===(i=null===(r=F.value)||void 0===r?void 0:r.tippingV2)||void 0===i?void 0:i.replace("".concat(u.W.ContractAddress,"_"),"".concat(u.W.AccountAddress,"_")),k));case 15:case"end":return o.stop()}}),d)})))}function V(e){var t,n=e||{},a=n.protocol,r=void 0===a?l.yv.aeternity:a,o=n.tx,i=void 0===o?{}:o,s=T(r);return(0,c.go)(i.contractId)||!i.contractId?d.C.getAdapter(r).coinSymbol:null===(t=s[i.contractId])||void 0===t?void 0:t.symbol}function H(e){var t,n,r,o,i,u,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.NX.sent,p=d===l.NX.received,m=e||{},g=m.protocol,h=m.tx;if(g&&g!==l.yv.aeternity)return new s.A((null===h||void 0===h?void 0:h.amount)||0).plus(p?0:(null===h||void 0===h?void 0:h.fee)||0).toNumber();var A=(null===e||void 0===e?void 0:e.tx)&&(0,f.BY)(e),k=g&&T(g)[null===A||void 0===A?void 0:A.assetContractId];if(A&&k)return+(0,c.Y9)(A.amount||0,-(k.decimals||v.kS));var y="claim"===h["function"]?null===(n=null===(t=h.log)||void 0===t?void 0:t[0])||void 0===n?void 0:n.topics[2]:null,b=(null===h||void 0===h?void 0:h.amount)||(null===(o=null===(r=null===h||void 0===h?void 0:h.tx)||void 0===r?void 0:r.tx)||void 0===o?void 0:o.amount)||(null===h||void 0===h?void 0:h.nameFee)||y||0,w="object"===(0,a.A)(b)?b:new s.A(Number(b));return+(0,f.c4)(w.plus(p?0:(null===h||void 0===h?void 0:h.fee)||0).plus(p?0:(null===(u=null===(i=null===h||void 0===h?void 0:h.tx)||void 0===i?void 0:i.tx)||void 0===u?void 0:u.fee)||0))}return E((function(){return N()})),I((function(){return U()})),C||(C=!0,(0,i.wB)(B,(function(e,t){e.length!==t.length&&(U(),1===e.filter((function(t){var n,a=t.protocol;return a===(null===(n=e.at(-1))||void 0===n?void 0:n.protocol)})).length&&N())})),m((function(t,n){return w(e,void 0,void 0,(0,o.A)().mark((function e(){var a,r,i,s;return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t.protocols[l.yv.aeternity].middlewareUrl,s=null===(r=null===(a=null===n||void 0===n?void 0:n.protocols)||void 0===a?void 0:a[l.yv.aeternity])||void 0===r?void 0:r.middlewareUrl,i===s){e.next=9;break}return L.value=[],x.value={},e.next=7,N();case 7:return e.next=9,U();case 9:case"end":return e.stop()}}),e)})))}))),{tokenBalances:L,tokensAvailable:S,createOrChangeAllowance:X,getAccountTokenBalance:R,getAccountTokenBalances:O,getProtocolAvailableTokens:T,getTxAssetSymbol:V,getTxAmountTotal:H,loadTokenBalances:U,loadAvailableTokens:N}}},84754:(e,t,n)=>{"use strict";n.d(t,{Sr:()=>Xe.S,oV:()=>a.o,CP:()=>oe.C,YY:()=>i,ty:()=>s.t,w5:()=>f.w,T9:()=>v,ZN:()=>m.Z,si:()=>C,Y7:()=>H.Y,_V:()=>O,Jt:()=>lt,rb:()=>Z,Ym:()=>se,U8:()=>b.U,Nc:()=>Ae,ci:()=>ue.c,jC:()=>We,fI:()=>B.f,E$:()=>Fe.E,ju:()=>Re,Sk:()=>dt.S,m:()=>Ne.m,J$:()=>it,S7:()=>D.S,kz:()=>Ue.k,U6:()=>Te,QR:()=>qe,my:()=>Ze,_8:()=>at,mv:()=>ze.m,kW:()=>rt.k});var a=n(68411),r=(n(51629),n(79432),n(26099),n(23500),n(50953)),o=(0,r.Kh)({});function i(){function e(e){Object.keys(e).forEach((function(t){o[t]=e[t]}))}function t(){Object.keys(o).forEach((function(e){o[e]=void 0}))}return{sharedAssetDetails:o,setSharedAssetDetails:e,resetSharedAssetDetails:t}}var s=n(40239),u=n(2327),c=(n(27495),n(71761),n(76031),n(85811)),l=n(31189),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function p(e){var t=document.createElement("textarea");if(t.value=e,t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),navigator.userAgent.match(/ipad|ipod|iphone/i)){t.contentEditable="true",t.readOnly=!0;var n=document.createRange();n.selectNodeContents(t);var a=window.getSelection();a&&(a.removeAllRanges(),a.addRange(n)),t.setSelectionRange(0,999999)}else t.select();document.execCommand("copy"),document.body.removeChild(t)}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.timeout,n=void 0===t?1e3:t,a=(0,r.KR)(!1);function o(e){return d(this,void 0,void 0,(0,u.A)().mark((function t(){return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e){t.next=19;break}if(t.prev=1,!c.B){t.next=6;break}c.B.write({string:e}),t.next=12;break;case 6:if(!navigator.clipboard){t.next=11;break}return t.next=9,navigator.clipboard.writeText(e);case 9:t.next=12;break;case 11:p(e);case 12:a.value=!0,setTimeout((function(){a.value=!1}),n),t.next=19;break;case 16:t.prev=16,t.t0=t["catch"](1),(0,l.fY)(t.t0);case 19:case"end":return t.stop()}}),t,null,[[1,16]])})))}return{copied:a,copy:o}}var f=n(24122),m=n(53592),g=n(55096),h=(n(25440),n(62953),n(3296),n(48408),n(72712),n(34782),n(5506),n(84864),n(57465),n(87745),n(38781),n(47764),n(14603),n(47566),n(98721),n(75220)),A=n(62759),k=n(90973),y=n(65563),b=n(21452),w=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function C(){var e=(0,A.jq)(),t=(0,h.lq)(),n=(0,r.KR)(t.query["x-success"]?new URL(decodeURIComponent(t.query["x-success"])):null);function a(e){return w(this,void 0,void 0,(0,u.A)().mark((function t(){var n,a;return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.path.slice(1)===k.qJ&&(0,l.DB)(e.query)&&(n=(0,b.U)(),a=n.openModal,a(y.Fv));case 1:case"end":return t.stop()}}),t)})))}function o(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.query[n?"x-success":"x-cancel"];if(r){var o=Object.entries(a).reduce((function(e,t){var n=(0,g.A)(t,2),a=n[0],r=n[1];return e.replace(new RegExp("{".concat(a,"}"),"g"),encodeURIComponent(r))}),decodeURIComponent(String(t.query[n?"x-success":"x-cancel"])));e.replace({name:k.qJ}),y.I$&&!y.pz?window.open(o,"_system"):window.open(o,"_self")}else e.replace({name:k.qJ})}return{checkIfOpenTransferSendModal:a,callbackOrigin:n,openCallbackOrGoHome:o}}n(27208),n(2008),n(74423),n(13609),n(59089),n(60739),n(23288),n(62010),n(21699);var x=n(60182),L=n(46512),S=n(65984),T=n(44343),E=n(58338),I=n(35306),_=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},W=function(e){return _(void 0,void 0,void 0,(0,u.A)().mark((function t(){var n,a,r;return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(null===e||void 0===e?void 0:e.length){t.next=24;break}return t.next=3,(0,I.a)();case 3:if(t.t2=n=t.sent,t.t1=null===t.t2,t.t1){t.next=7;break}t.t1=void 0===n;case 7:if(!t.t1){t.next=11;break}t.t3=void 0,t.next=12;break;case 11:t.t3=n.invites;case 12:if(t.t4=a=t.t3,t.t0=null===t.t4,t.t0){t.next=16;break}t.t0=void 0===a;case 16:if(!t.t0){t.next=20;break}t.t5=void 0,t.next=21;break;case 20:t.t5=a.invites;case 21:if(r=t.t5,!(null===r||void 0===r?void 0:r.length)){t.next=24;break}return t.abrupt("return",r);case 24:return t.abrupt("return",e);case 25:case"end":return t.stop()}}),t)})))};const F=W;var D=n(54228),B=n(81881),P=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},M=(0,D.S)([],y.d5.invites,{migrations:[F]});function O(){var e=(0,B.f)(),t=e.activeNetwork,n=(0,b.U)(),a=n.openDefaultModal;function r(e){M.value.unshift({secretKey:e.toJSON(),createdAt:Date.now()})}function o(e){M.value=M.value.filter((function(t){return t.secretKey!==e}))}function i(e){var n=e.secretKey,a=e.recipientId,r=e.amount,o=void 0===r?"0":r,i=e.isMax,s=void 0!==i&&i;return P(this,void 0,void 0,(0,u.A)().mark((function e(){var r;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=new x.A({nodes:[{name:t.value.name,instance:new L.A(t.value.protocols.aeternity.nodeUrl)}],accounts:[(0,E.Sf)(n)]}),s){e.next=6;break}return e.next=4,r.spend(o,a,{denomination:S.j8.AE});case 4:e.next=8;break;case 6:return e.next=8,r.transferFunds(1,a,{verify:!1});case 8:case"end":return e.stop()}}),e)})))}function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return P(this,void 0,void 0,(0,u.A)().mark((function n(){return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if((t||e.message.includes("is not enough to execute"))&&(!t||e.message.includes("Transaction build error"))){n.next=2;break}return n.abrupt("return",!1);case 2:return n.next=4,a({msg:t?(0,T.tg)("pages.invite.insufficient-invite-balance"):(0,T.tg)("pages.invite.insufficient-balance")});case 4:return n.abrupt("return",!0);case 5:case"end":return n.stop()}}),n)})))}return{invites:M,addInvite:r,removeInvite:o,claimInvite:i,handleInsufficientBalanceError:s}}var R=n(6682),N=(n(93514),n(28706),n(46449),n(62062),n(44114),n(16034),n(20641)),U=n(50824),X=n(46996),V=n(32118),H=n(85522),$=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},j=!1,K=(0,D.S)({},y.d5.transactionsLatest),q=(0,D.S)({},y.d5.transactionsPending),G=(0,r.KR)(!1),Q=(0,N.EW)((function(){var e=[].concat((0,R.A)(Object.values(K.value).flat()),(0,R.A)(Object.values(q.value).flat()));return(0,l.Fs)([l.j0,l.jL])(e)}));function Z(){var e=(0,a.o)(),t=e.accounts,n=e.getAccountByAddress,r=(0,B.f)(),o=r.activeNetwork,i=r.onNetworkChange,c=(0,s.t)(),l=c.balances,d=(0,H.Y)(),p=d.tokenBalances;function v(e,t){q.value[e]=(0,U.A)(q.value[e],(function(e){return t===e.hash}))}function f(e){var t,n=e.address,a=e.protocol;return $(this,void 0,void 0,(0,u.A)().mark((function e(){var r,i,s,c,l,d;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=V.C.getAdapter(a),i=o.value.name,e.next=4,r.fetchAccountTransactions(n);case 4:if(s=e.sent,c=s.regularTransactions,l=s.pendingTransactions,d=s.tipWithdrawnTransactions,i===o.value.name){e.next=10;break}return e.abrupt("return",!0);case 10:return(c.length||(null===l||void 0===l?void 0:l.length)||(null===d||void 0===d?void 0:d.length))&&(K.value[n]=[].concat((0,R.A)(c),(0,R.A)(l||[]),(0,R.A)(d||[])),(null===(t=q.value[n])||void 0===t?void 0:t.length)&&c.forEach((function(e){var t=e.hash;return v(n,t)}))),e.abrupt("return",!0);case 12:case"end":return e.stop()}}),e)})))}function m(){return $(this,void 0,void 0,(0,u.A)().mark((function e(){var n=this;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(G.value){e.next=5;break}return G.value=!0,e.next=4,Promise.all(t.value.map((function(e){return $(n,void 0,void 0,(0,u.A)().mark((function t(){return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",f(e));case 1:case"end":return t.stop()}}),t)})))})));case 4:G.value=!1;case 5:case"end":return e.stop()}}),e)})))}function h(e,t){return $(this,void 0,void 0,(0,u.A)().mark((function a(){var r;return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(r=n(e),!r||!(null===t||void 0===t?void 0:t.hash)){a.next=11;break}return q.value[e]||(q.value[e]=[]),q.value[e].push(Object.assign(Object.assign({},t),{microTime:Date.now()})),a.prev=4,a.next=7,V.C.getAdapter(r.protocol).waitTransactionMined(t.hash);case 7:f(r);case 8:return a.prev=8,v(e,t.hash),a.finish(8);case 11:case"end":return a.stop()}}),a,null,[[4,,8,11]])})))}return j||(j=!0,m(),setInterval((function(){Object.entries(q.value).forEach((function(e){var t=(0,g.A)(e,2),n=t[0],a=t[1];a.forEach((function(e){var t=e.hash,a=e.microTime;Date.now()-(a||0)>y.tk&&v(n,t)}))}))}),6e4),(0,N.wB)(l,(function(e,n){t.value.forEach((function(t){var a=n[t.address],r=e[t.address];a&&r&&!r.isEqualTo(a)&&setTimeout((function(){return f(t)}),V.C.getAdapter(t.protocol).mdwToNodeApproxDelayTime)}))}),{deep:!0}),(0,N.wB)(p,(function(e,t){(0,X.A)(e,t)||m()}),{deep:!0}),i((function(e,t){e.name!==t.name&&(K.value={},q.value={},m())}))),{accountsTransactionsLatest:K,accountsTransactionsPending:q,areLatestTransactionsUpdating:G,allLatestTransactions:Q,addAccountPendingTransaction:h,loadAllLatestTransactions:m}}n(76918),n(9868);var Y=n(60346),z=n(19636),J=n(91087),ee=n(57889),te=n(41805),ne=n(59794),ae=n(59755),re=n(12717),oe=n(75265),ie=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function se(e){var t,n,o,i=this,c=e.formModel,d=(0,oe.C)(),p=d.getAeSdk,v=(0,s.t)(),f=v.balance,m=(0,a.o)(),g=m.getLastActiveProtocolAccount,h=(0,r.KR)(new Y.A(0)),A=(0,r.KR)(new Y.A(0)),k=(0,r.KR)(0),b=(0,r.KR)(0),w=(0,N.EW)((function(){var e,t;if(f.value&&(null===(t=null===(e=c.value)||void 0===e?void 0:e.selectedAsset)||void 0===t?void 0:t.contractId)===ae.cK){var n=f.value.minus(h.value);return(n.isPositive()?n:0).toString()}return A.value.toString()}));function C(){return g(y.yv.aeternity)}return(0,N.wB)((function(){return c.value}),(function(e){return ie(i,void 0,void 0,(0,u.A)().mark((function t(){var n,a,r,i,s,c,d;return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(null===e||void 0===e?void 0:e.selectedAsset){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,p();case 4:if(n=t.sent,a=e.selectedAsset.contractId===ae.cK,r=C(),a){t.next=13;break}if(o&&o.$options.address===e.selectedAsset.contractId){t.next=12;break}return t.next=11,n.initializeContract({aci:re,address:e.selectedAsset.contractId});case 11:o=t.sent;case 12:b.value=e.selectedAsset.decimals;case 13:if(i=e.amount&&+e.amount>0?e.amount:0,s=new Y.A(i).shiftedBy(ae.kS),a&&(!e.address||(0,E.F7)(e.address)||!(0,l.Ks)(e.address))){t.next=20;break}return c=ne._7,o&&(c=o._calldata.encode(o._name,"transfer",[r.address,s.toFixed()])),h.value=(0,Y.A)((0,z.pj)((0,z.pr)({tag:J.vw.ContractCallTx,callerId:r.address,contractId:a?ne.zk:e.selectedAsset.contractId,amount:0,callData:c,nonce:k.value}),J.vw.ContractCallTx).fee).shiftedBy(-ae.kS),t.abrupt("return");case 20:a&&o&&(o=null),d=(0,Y.A)((0,z.pj)((0,z.pr)({tag:J.vw.SpendTx,senderId:r.address,recipientId:r.address,amount:s,payload:(0,ee.lF)((new TextEncoder).encode(e.payload),te.W.Bytearray),nonce:k.value}),J.vw.SpendTx).fee).shiftedBy(-ae.kS),d.isEqualTo(h.value)||(h.value=d);case 23:case"end":return t.stop()}}),t)})))}),{deep:!0,immediate:!0}),(0,N.sV)((function(){t=(0,l.mX)((function(){return ie(i,void 0,void 0,(0,u.A)().mark((function e(){var t;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(o){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,p();case 4:return e.t0=Y.A,e.next=7,o.balance(C().address);case 7:if(e.t2=t=e.sent.decodedResult,e.t1=null!==e.t2,!e.t1){e.next=11;break}e.t1=void 0!==t;case 11:if(!e.t1){e.next=15;break}e.t3=t,e.next=16;break;case 15:e.t3=0;case 16:e.t4=e.t3,A.value=new e.t0(e.t4).shiftedBy(-b.value);case 18:case"end":return e.stop()}}),e)})))}),1e3),n=(0,l.mX)((function(){return ie(i,void 0,void 0,(0,u.A)().mark((function e(){var t;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:return t=e.sent,e.prev=3,e.next=6,t.api.getAccountNextNonce(C().address);case 6:k.value=e.sent.nextNonce,e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](3),e.t0.message.includes("Account not found")||(0,l.fY)(e.t0);case 12:case"end":return e.stop()}}),e,null,[[3,9]])})))}),5e3)})),(0,N.xo)((function(){clearInterval(t),clearInterval(n)})),{max:w,fee:h}}var ue=n(53048),ce=(n(16280),n(1688),n(67892)),le=n(81265),de=n(74353),pe=n.n(de),ve=n(10854),fe=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},me=(0,r.KR)({}),ge=(0,r.KR)(null),he=(0,r.KR)(!1);function Ae(){var e=(0,oe.C)(),t=e.getDryAeSdk,n=e.getAeSdk,a=(0,ue.c)({pollOnce:!0}),o=a.getMultisigAccountByContractId,i=a.addPendingMultisigAccount,c=(0,s.t)(),l=c.balances,d=(0,r.KR)(null),p=(0,r.KR)(0),v=(0,N.EW)((function(){return d.value&&ge.value===ae._B.accessible})),f=(0,N.EW)((function(){return d.value&&ge.value===ae._B.created}));function m(){return fe(this,void 0,void 0,(0,u.A)().mark((function e(){var n;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:return n=e.sent,e.abrupt("return",n.initializeContract({aci:ve,bytecode:ae.Di}));case 4:case"end":return e.stop()}}),e)})))}function g(e,t,n,a){return fe(this,void 0,void 0,(0,u.A)().mark((function r(){return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(r.t0=e,r.t0){r.next=5;break}return r.next=4,m();case 4:r.t0=r.sent;case 5:return r.abrupt("return",r.t0._estimateGas("init",[t,n],{senderId:a}));case 6:case"end":return r.stop()}}),r)})))}function h(e,n){return fe(this,void 0,void 0,(0,u.A)().mark((function a(){var r,o,i,s,c;return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!(e>n.length)){a.next=2;break}throw Error("Number of confirmations exceed amount of signers");case 2:return r=[e,n],a.next=5,t();case 5:return o=a.sent,i=(0,ce.TZ)(),me.value[i.publicKey]={},a.next=10,m();case 10:return s=a.sent,me.value[i.publicKey].multisigAccountCreationEncodedCallData=s._calldata.encode(s._name,"init",r),a.t0=o,a.t1=i.publicKey,a.t2=s.$options.bytecode,a.t3=me.value[i.publicKey].multisigAccountCreationEncodedCallData,a.t4=(0,ce.tW)("authorize"),a.t5=J.vw.GaAttachTx,a.next=20,g(s,e,n,i.publicKey);case 20:return a.t6=a.sent,a.t7={ownerId:a.t1,code:a.t2,callData:a.t3,authFun:a.t4,tag:a.t5,gasLimit:a.t6,nonce:1},a.next=24,a.t0.buildTx.call(a.t0,a.t7);case 24:return c=a.sent,a.next=27,o.signTransaction(c,{innerTx:!0,onAccount:new le.A(i.secretKey)});case 27:return me.value[i.publicKey].signedAttachTx=a.sent,ge.value=ae._B.prepared,a.abrupt("return",i.publicKey);case 30:case"end":return a.stop()}}),a)})))}function A(e,t){var a;return fe(this,void 0,void 0,(0,u.A)().mark((function r(){var o,i,s,c,d,v,f;return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(o=me.value[t].signedAttachTx,o){r.next=3;break}throw Error("GA Attach Tx not found for account ".concat(t,", Prepare attach transaction first"));case 3:return r.next=5,n();case 5:return i=r.sent,r.t0=i,r.next=9,i.buildTx({tag:J.vw.PayingForTx,payerId:e,tx:o});case 9:return r.t1=r.sent,r.t2={fromAccount:e},r.next=13,r.t0.signTransaction.call(r.t0,r.t1,r.t2);case 13:if(s=r.sent,me.value[t].rawTx=s,c=(0,z.pj)(s,J.vw.SignedTx),c.encodedTx.tag===J.vw.PayingForTx&&c.encodedTx.tx.encodedTx.tag===J.vw.GaAttachTx){r.next=18;break}throw Error("Transaction build failed");case 18:d=c.encodedTx.fee,v=c.encodedTx.tx.encodedTx.fee,f=new Y.A(d).plus(v).toFixed(),p.value=+(0,E.c4)(f),ge.value=ae._B.signed,he.value=null===(a=l.value[e])||void 0===a?void 0:a.isLessThan(p.value);case 24:case"end":return r.stop()}}),r)})))}function k(e,t,a){return fe(this,void 0,void 0,(0,u.A)().mark((function r(){var s,c,l,p,v,f,m;return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(s=me.value[e].rawTx,s){r.next=3;break}throw Error("Raw PayForTransaction not found for account ".concat(e,", Prepare PayForTransaction first"));case 3:return r.next=5,n();case 5:return c=r.sent,r.next=8,c.api.postTransaction({tx:s});case 8:return l=r.sent,p=l.txHash,r.next=12,c.poll(p,{blocks:y.u8});case 12:if(v=r.sent,!v||-1===v.blockHeight){r.next=24;break}return ge.value=ae._B.deployed,r.next=17,c.getAccount(e);case 17:f=r.sent,ge.value=ae._B.created,m=pe()().toISOString(),d.value={contractId:f.contractId,balance:new Y.A(f.balance.toString()),gaAccountId:e,signers:a,confirmationsRequired:t,nonce:1,createdAt:m,updatedAt:m,hasPendingTransaction:!1,confirmedBy:[],expired:!1,id:0,proposedBy:"",refusedBy:[],txHash:void 0,version:ae.cq,expirationHeight:0,signerId:a[0],height:-1,pending:!0},delete me.value[e],r.next=25;break;case 24:throw Error("Vault creation transaction is not mined within the expected time");case 25:return i(d.value),r.next=28,new Promise((function(e){var t=setInterval((function(){var n;(null===(n=d.value)||void 0===n?void 0:n.contractId)&&o(d.value.contractId)&&(ge.value=ae._B.accessible,e(!0),clearInterval(t))}),1e3)}));case 28:case"end":return r.stop()}}),r)})))}return{multisigAccount:d,multisigAccountCreationPhase:ge,pendingMultisigCreationTxs:me,multisigAccountCreationFee:p,isMultisigAccountAccessible:v,isMultisigAccountCreated:f,prepareVaultCreationAttachTx:h,prepareVaultCreationRawTx:A,deployMultisigAccount:k,notEnoughBalanceToCreateMultisig:he}}n(21489),n(75044),n(28845),n(373),n(11745),n(48140),n(81630),n(72170),n(69539),n(31694),n(89955),n(21903),n(91134),n(33206),n(44496),n(66651),n(12887),n(19369),n(66812),n(8995),n(31575),n(36072),n(88747),n(29423),n(57301),n(86614),n(41405),n(37467),n(44732),n(33684),n(79577),n(26280),n(27913),n(47801);var ke=n(25801),ye=n(41549),be=n(58449),we=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Ce=3e4,xe=!1,Le=(0,be.y)(Ce),Se=(0,r.KR)();function Te(){var e=(0,B.f)(),t=e.onNetworkChange,n=(0,oe.C)(),a=n.getAeSdk,r=(0,N.EW)((function(){var e;return(null===(e=Se.value)||void 0===e?void 0:e.height)||0}));function o(){return we(this,void 0,void 0,(0,u.A)().mark((function e(){var t;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a();case 2:return t=e.sent,e.next=5,t.api.getTopHeader();case 5:Se.value=e.sent;case 6:case"end":return e.stop()}}),e)})))}function i(){return we(this,void 0,void 0,(0,u.A)().mark((function e(){return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o();case 2:return e.abrupt("return",r.value);case 3:case"end":return e.stop()}}),e)})))}return Le((function(){return o()})),xe||(xe=!0,t((function(){o()}))),{topHeaderData:Se,topBlockHeight:r,updateTopHeaderData:o,fetchCurrentTopBlockHeight:i}}var Ee=n(48287)["Buffer"],Ie=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},_e=480;function We(){var e=(0,ye.$L)(),t=e.aeActiveNetworkPredefinedSettings,n=(0,oe.C)(),a=n.nodeNetworkId,r=n.getDryAeSdk,o=n.getAeSdk,i=Te(),s=i.fetchCurrentTopBlockHeight;function c(e,t,n,a){return Ie(this,void 0,void 0,(0,u.A)().mark((function r(){var i;return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,o();case 2:return i=r.sent,r.abrupt("return",i.buildTx({tag:J.vw.SpendTx,senderId:e,recipientId:t,amount:n,payload:(0,ee.lF)((new TextEncoder).encode(a),te.W.Bytearray)}));case 4:case"end":return r.stop()}}),r)})))}function d(e){return Ie(this,void 0,void 0,(0,u.A)().mark((function n(){return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,l.x6)("".concat(t.value.multisigBackendUrl,"/tx/").concat(e)).then((function(e){return e}))["catch"](l.fY));case 1:case"end":return n.stop()}}),n)})))}function p(){var e,t,n;return Ie(this,void 0,void 0,(0,u.A)().mark((function a(){var r,o,i,s;return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(r=(0,ue.c)(),o=r.activeMultisigAccount,i=null===(e=o.value)||void 0===e?void 0:e.txHash,!i||!(null===(t=o.value)||void 0===t?void 0:t.hasPendingTransaction)&&!(null===(n=o.value)||void 0===n?void 0:n.pending)){a.next=7;break}return a.next=5,d(i);case 5:return s=a.sent,a.abrupt("return",Object.assign(Object.assign({},o.value),{totalConfirmations:o.value.confirmedBy.length,hash:i,tx:s?(0,z.pj)(s.tx):void 0,isMultisig:!0,microTime:s?Date.now():void 0,protocol:y.yv.aeternity}));case 7:return a.abrupt("return",null);case 8:case"end":return a.stop()}}),a)})))}function v(e,n){return Ie(this,void 0,void 0,(0,u.A)().mark((function a(){return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,l.B2)("".concat(t.value.multisigBackendUrl,"/tx"),{body:{hash:n,tx:e}}));case 1:case"end":return a.stop()}}),a)})))}function f(e,t){return Ie(this,void 0,void 0,(0,u.A)().mark((function n(){var r,i,c,l,d,p,v;return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([o(),s()]);case 2:return r=n.sent,i=(0,g.A)(r,2),c=i[0],l=i[1],d=l+_e,p=new Uint8Array((0,ce.tW)(Ee.concat([Ee.from(a.value),(0,ee.D4)(e)]))),n.next=10,c.initializeContract({aci:ve,address:t});case 10:return v=n.sent,n.next=13,v.propose(p,{FixedTTL:[d]});case 13:return n.abrupt("return",Ee.from(p).toString("hex"));case 14:case"end":return n.stop()}}),n)})))}function m(e,t,n,a){return Ie(this,void 0,void 0,(0,u.A)().mark((function r(){var i,c,l,d,p,v,f;return(0,u.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,Promise.all([o(),s()]);case 2:return i=r.sent,c=(0,g.A)(i,2),l=c[0],d=c[1],p=d+_e,r.next=9,l.initializeContract({aci:ve,address:t});case 9:return v=r.sent,r.next=12,v[e](n,Object.assign({FixedTTL:[p]},a));case 12:return f=r.sent,r.abrupt("return",f);case 14:case"end":return r.stop()}}),r)})))}function h(e,t,n){return Ie(this,void 0,void 0,(0,u.A)().mark((function a(){var o,i;return(0,u.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,r();case 2:return o=a.sent,a.next=5,o.initializeContract({aci:ve,bytecode:ae.Di});case 5:return i=a.sent,a.abrupt("return",o.sendTransaction(t,{authData:{callData:i._calldata.encode(i._name,"authorize",[n])},onAccount:new ke.A(e)}));case 7:case"end":return a.stop()}}),a)})))}return{buildSpendTx:c,postSpendTx:v,proposeTx:f,fetchTransactionByHash:d,sendTx:h,fetchActiveMultisigTx:p,callContractMethod:m}}var Fe=n(34281),De=(n(26910),function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))}),Be=!1,Pe=(0,r.KR)(null),Me=(0,r.KR)(null),Oe=(0,r.KR)(!1);function Re(){var e=this,t=(0,ye.ef)(),n=t.getMiddleware,o=(0,ue.c)(),i=o.activeMultisigAccount,s=We(),c=s.fetchActiveMultisigTx,d=Te(),p=d.topBlockHeight,v=(0,a.o)(),f=v.aeAccounts,m=(0,N.EW)((function(){var e,t;return null!==(t=null===(e=i.value)||void 0===e?void 0:e.confirmationsRequired)&&void 0!==t?t:ae.sL})),h=(0,N.EW)((function(){var e,t;return null!==(t=null===(e=i.value)||void 0===e?void 0:e.signers)&&void 0!==t?t:[]})),A=(0,N.EW)((function(){var e,t;return null!==(t=null===(e=i.value)||void 0===e?void 0:e.confirmedBy)&&void 0!==t?t:[]})),k=(0,N.EW)((function(){return m.value-A.value.length})),y=(0,N.EW)((function(){var e,t;return null!==(t=null===(e=i.value)||void 0===e?void 0:e.refusedBy)&&void 0!==t?t:[]})),b=(0,N.EW)((function(){return(0,R.A)(h.value).sort((function(e){var t;return(null===(t=i.value)||void 0===t?void 0:t.confirmedBy.includes(e))?-1:1}))})),w=(0,N.EW)((function(){return A.value.length>=m.value})),C=(0,N.EW)((function(){return h.value.length-y.value.length=i.value.expirationHeight})),S=(0,N.EW)((function(){return i.value?i.value.expirationHeight-p.value:0})),T=(0,N.EW)((function(){return!L.value&&w.value})),E=(0,N.EW)((function(){return f.value.filter((function(e){var t=e.address;return h.value.includes(t)}))})),I=(0,N.EW)((function(){return E.value.filter((function(e){var t,n,a=e.address;return null===(n=null===(t=i.value)||void 0===t?void 0:t.confirmedBy)||void 0===n?void 0:n.includes(a)})).length===E.value.length})),_=(0,N.EW)((function(){var e;return!(null===(e=i.value)||void 0===e?void 0:e.txHash)})),W=(0,N.EW)((function(){var e,t;return!(null===(e=i.value)||void 0===e?void 0:e.txHash)&&(null===(t=Me.value)||void 0===t?void 0:t.tx["function"])===ae.y5.revoke})),F=(0,N.EW)((function(){var e,t;return!(null===(e=i.value)||void 0===e?void 0:e.txHash)&&(null===(t=Me.value)||void 0===t?void 0:t.tx["function"])===ae.y5.confirm}));function D(){var e;return De(this,void 0,void 0,(0,u.A)().mark((function t(){var a,r,o,s,c;return(0,u.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,a=null===(e=i.value)||void 0===e?void 0:e.contractId,t.next=4,n();case 4:return r=t.sent,t.next=7,r.getTxs({direction:"backward",limit:1,contract:a});case 7:return o=t.sent,s=(0,g.A)(o.data,1),c=s[0],t.abrupt("return",c);case 13:return t.prev=13,t.t0=t["catch"](0),(0,l.fY)(t.t0),t.abrupt("return",null);case 17:case"end":return t.stop()}}),t,null,[[0,13]])})))}return Be||(Be=!0,(0,r.uY)(!0).run((function(){var t=(0,ue.c)(),n=t.activeMultisigAccount;(0,N.wB)(n,(function(t,n){return De(e,void 0,void 0,(0,u.A)().mark((function e(){var a,r;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t||(0,X.A)(t,n)){e.next=18;break}if(null===t||void 0===t?void 0:t.txHash){e.next=6;break}Me.value=null,Pe.value=null,e.next=18;break;case 6:if(t.txHash===(null===n||void 0===n?void 0:n.txHash)){e.next=17;break}return Oe.value=!0,e.next=10,Promise.all([D(),c()]);case 10:a=e.sent,r=(0,g.A)(a,2),Me.value=r[0],Pe.value=r[1],Oe.value=!1,e.next=18;break;case 17:!(0,X.A)(t.confirmedBy,n.confirmedBy)&&Pe.value&&(Pe.value=Object.assign(Object.assign(Object.assign({},Pe.value),t),{totalConfirmations:t.confirmedBy.length}));case 18:case"end":return e.stop()}}),e)})))}),{immediate:!0})}))),{pendingMultisigTransaction:Pe,pendingMultisigTxSigners:h,pendingMultisigTxConfirmedBy:A,pendingMultisigTxRefusedBy:y,pendingMultisigTxSortedSigners:b,pendingMultisigTxConfirmed:w,pendingMultisigTxRevoked:C,pendingMultisigTxProposingAccountRevoked:x,pendingMultisigTxRequiredConfirmations:m,pendingMultisigTxPendingConfirmationsCount:k,pendingMultisigTxExpired:L,pendingMultisigTxExpiresAt:S,pendingMultisigTxCanBeSent:T,pendingMultisigTxLocalSigners:E,pendingMultisigTxConfirmedByLocalSigners:I,isLoading:Oe,isPendingMultisigTxCompleted:_,isPendingMultisigTxCompletedAndRevoked:W,isPendingMultisigTxCompletedAndConfirmed:F}}var Ne=n(98822),Ue=n(97911),Xe=n(59602),Ve={all:"all",in:"in",out:"out"},He=Object.assign(Object.assign({},Ve),{dex:"dex"});function $e(){return{rotated:!0,key:He.all}}var je=(0,r.KR)(""),Ke=(0,r.KR)($e());function qe(){var e=(0,N.EW)((function(){return Ke.value.key!==He.all||!!je.value.length})),t=(0,r.KR)({all:{name:(0,T.tg)("common.all")},in:{name:(0,T.tg)("filters.in")},out:{name:(0,T.tg)("filters.out")}}),n=(0,r.KR)(Object.assign(Object.assign({},t.value),{dex:{name:(0,T.tg)("filters.dex")}}));function a(){je.value="",Ke.value=$e()}return{searchPhrase:je,displayMode:Ke,isSearchBarAndFilterExpanded:e,filtersConfig:t,filtersConfigAe:n,resetFilter:a,FILTER_MODE:He}}n(52675),n(50113),n(25276);var Ge=n(95993),Qe=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0&&void 0!==arguments[0]?arguments[0]:{},t=e.transaction,n=e.externalAddress,o=e.showDetailedAllowanceInfo,i=void 0!==o&&o,s=(0,oe.C)(),u=s.dexContracts,c=(0,a.o)(),d=c.accounts,p=c.activeAccount,v=(0,Ue.k)(),f=v.tippingContractAddresses,m=(0,H.Y)(),g=m.getProtocolAvailableTokens,h=m.getTxAmountTotal,A=m.getTxAssetSymbol,k=(0,r.KR)(t),b=(0,r.KR)(n),w=(0,N.EW)((function(){var e;return null===(e=k.value)||void 0===e?void 0:e.tx})),C=(0,N.EW)((function(){return w.value?(0,E.Bd)(w.value):void 0})),x=(0,N.EW)((function(){return w.value?(0,E.bB)(w.value):null})),L=(0,N.EW)((function(){return C.value?(0,E.bB)(C.value):null})),S=(0,N.EW)((function(){return x.value?J.vw[x.value]:null})),T=(0,N.EW)((function(){return S.value?(0,l.XK)(S.value):""})),I=(0,N.EW)((function(){var e=S.value?(0,l.xx)(S.value):"";return null!==e&&void 0!==e?e:T.value})),_=(0,N.EW)((function(){var e;return(null===(e=w.value)||void 0===e?void 0:e["function"])?(0,l.vQ)(w.value["function"]):""})),W=(0,N.EW)((function(){var e;return!(null===(e=w.value)||void 0===e?void 0:e.contractId)||(0,l.go)(w.value.contractId)})),F=(0,N.EW)((function(){return(0,E._B)(C.value,u.value)})),D=(0,N.EW)((function(){var e;return!!C.value&&(0,E.uW)(null===(e=C.value)||void 0===e?void 0:e["function"])&&!!g(y.yv.aeternity)[C.value.contractId]})),B=(0,N.EW)((function(){var e;return(0,E.t1)(null===(e=C.value)||void 0===e?void 0:e["function"])})),P=(0,N.EW)((function(){var e;return(0,E.KJ)(null===(e=C.value)||void 0===e?void 0:e["function"])})),M=(0,N.EW)((function(){var e;return(0,E.wX)(null===(e=C.value)||void 0===e?void 0:e["function"])})),O=(0,N.EW)((function(){var e;return!!(null===(e=w.value)||void 0===e?void 0:e["function"])&&((0,l.mK)(Object.values(ae.y5),w.value["function"])||!!w.value.payerId)})),R=(0,N.EW)((function(){var e,t;return!!((null===(e=C.value)||void 0===e?void 0:e.contractId)&&(null===(t=C.value)||void 0===t?void 0:t["function"])&&(0,l.mK)([f.value.tippingV1,f.value.tippingV2],C.value.contractId)&&(0,l.mK)([ae.vG.tip,ae.vG.retip,ae.vG.claim],C.value["function"]))})),U=(0,N.EW)((function(){var e=w.value||{},t=e.returnType;return!(!t||t===ae.Mb)})),X=(0,N.EW)((function(){return(0,E.c0)(C.value)})),$=(0,N.EW)((function(){return(0,E.Sl)(p.value,d.value,C.value)})),j=(0,N.EW)((function(){var e,t;return(null===(e=C.value)||void 0===e?void 0:e["function"])===ae.vG.claim?y.NX.received:(0,E.qE)((null===(t=w.value)||void 0===t?void 0:t.payerId)?w.value:C.value,n||$.value!==ae.Zi.current&&X.value||p.value.address)})),K=(0,N.EW)((function(){var e,t,n,a,r;if(!(null===(e=k.value)||void 0===e?void 0:e.tx))return[];var o=!1,s=k.value.protocol,u=void 0===s?y.yv.aeternity:s,c=V.C.getAdapter(u),d=g(u);if(u===y.yv.aeternity){if((null===(t=C.value)||void 0===t?void 0:t["function"])&&(!D.value||i)){var p=(0,Ge.A)(C.value["function"]),v=(0,E.Ke)(p);if(v)return v({tx:w.value},d).tokens.map((function(e){var t=e.amount,n=e.decimals,a=Qe(e,["amount","decimals"]);return Object.assign({amount:+(0,l.Y9)(t,-n)},a)}))}d[null===(n=C.value)||void 0===n?void 0:n.contractId]&&L.value!==J.vw.ContractCreateTx||(o=!0)}var f=D.value?(0,l.Y9)((null===(a=C.value)||void 0===a?void 0:a.fee)||0,-c.coinPrecision):h(k.value,j.value),m=j.value===y.NX.received;if(W.value||D.value||O.value||o)return[Object.assign(Object.assign({},C.value||{}),{amount:f,assetType:y.Dd.coin,contractId:c.coinContractId,isReceived:m,name:c.coinName,protocol:u,symbol:c.coinSymbol})];var b=d[w.value.contractId];return[Object.assign(Object.assign(Object.assign({},C.value||{}),b||{}),{amount:f,assetType:y.Dd.token,contractId:null===(r=w.value)||void 0===r?void 0:r.contractId,isReceived:m,name:null===b||void 0===b?void 0:b.name,protocol:u,symbol:A(k.value)})]}));function q(e){k.value=e}function G(e){b.value=e}function Q(e){var t,n=ae.Zi.current,a=ae.Zi.subAccount;switch($.value){case n:return p.value.address;case a:var r=C.value||{},o=r.accountId,i=r.callerId;return null===(t=d.value.find((function(e){var t=e.address;return[o,i].includes(t)})))||void 0===t?void 0:t.address;default:return e||X.value}}return{outerTxTag:x,innerTxTag:L,innerTx:C,txTypeLabel:T,txTypeListLabel:I,txFunctionLabel:_,isErrorTransaction:U,isDex:F,isDexAddLiquidity:B,isDexAllowance:D,isDexPool:M,isDexRemoveLiquidity:P,isMultisig:O,isTip:R,isTransactionCoin:W,direction:j,transactionAssets:K,getOwnershipAddress:Q,setActiveTransaction:q,setExternalAddress:G}}var Ye=n(5582),ze=n(909),Je=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},et=(0,D.S)({isEndReached:!1,isInitialLoadDone:!1,nextPagePaginationParams:{},transactionsLoaded:[]},y.d5.transactionsLoaded),tt=(0,N.EW)((function(){return et.value.isEndReached})),nt=(0,N.EW)((function(){return et.value.transactionsLoaded}));function at(e){var t,n=e.accountAddress,a=e.assetContractId,o=e.protocol,i=(0,r.KR)(!1),s=(0,f.w)(),c=s.isOnline,d=(0,ze.m)(),p=d.isAppActive,v=(0,B.f)(),m=v.activeNetwork,g=Z(),h=g.accountsTransactionsPending,A=V.C.getAdapter(o),k=(0,N.EW)((function(){return(h.value[n]||[]).filter((function(e){var t=e.tx;return(null===t||void 0===t?void 0:t.contractId)===a}))})),b=(0,N.EW)((function(){return[].concat((0,R.A)(k.value),(0,R.A)(nt.value))}));function w(){et.value={accountAddress:n,assetContractId:a,isEndReached:!1,isInitialLoadDone:!1,networkName:m.value.name,nextPagePaginationParams:{},transactionsLoaded:[]}}function C(e){return a?A.fetchAccountAssetTransactions(n,a,e):A.fetchAccountTransactions(n,e)}function x(){return Je(this,void 0,void 0,(0,u.A)().mark((function e(){var t,r,o,s,d;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!c.value||i.value||et.value.isEndReached){e.next=15;break}return i.value=!0,e.next=4,C(et.value.nextPagePaginationParams);case 4:if(t=e.sent,r=t.paginationParams,o=t.regularTransactions,s=t.pendingTransactions,d=t.tipWithdrawnTransactions,n===et.value.accountAddress&&a===et.value.assetContractId&&m.value.name===et.value.networkName){e.next=11;break}return e.abrupt("return");case 11:(0,l.xB)(r)?et.value.nextPagePaginationParams=r:et.value.isEndReached=!0,((null===o||void 0===o?void 0:o.length)||(null===s||void 0===s?void 0:s.length)||(null===d||void 0===d?void 0:d.length))&&(et.value.transactionsLoaded=(0,Ye.A)([].concat((0,R.A)(et.value.isInitialLoadDone?et.value.transactionsLoaded:[]),(0,R.A)(o),(0,R.A)(s||[]),(0,R.A)(d||[])),"hash")),i.value=!1,et.value.isInitialLoadDone=!0;case 15:case"end":return e.stop()}}),e)})))}function L(){return Je(this,void 0,void 0,(0,u.A)().mark((function e(){var r=this;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(et.value.isInitialLoadDone&&nt.value.length){e.next=7;break}return et.value.isInitialLoadDone&&!nt.value.length&&w(),e.next=4,x();case 4:if(n===et.value.accountAddress&&a===et.value.assetContractId&&m.value.name===et.value.networkName){e.next=7;break}return i.value=!1,e.abrupt("return");case 7:t=setInterval((function(){return Je(r,void 0,void 0,(0,u.A)().mark((function e(){var r,o,s,c,l,d,v,f;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!p.value){e.next=14;break}return e.next=3,C();case 3:if(s=e.sent,c=s.paginationParams,l=s.regularTransactions,d=s.pendingTransactions,v=s.tipWithdrawnTransactions,n===et.value.accountAddress&&a===et.value.assetContractId&&m.value.name===et.value.networkName){e.next=12;break}return i.value=!1,clearInterval(t),e.abrupt("return");case 12:f=et.value.transactionsLoaded.filter((function(e){var t=e.claim,n=void 0!==t&&t,a=e.pending,r=void 0!==a&&a;return!n&&!r})),(null===l||void 0===l?void 0:l.length)&&(null===(r=null===l||void 0===l?void 0:l[0])||void 0===r?void 0:r.hash)!==(null===(o=null===f||void 0===f?void 0:f[0])||void 0===o?void 0:o.hash)&&(et.value.transactionsLoaded=[].concat((0,R.A)(l),(0,R.A)(d||[]),(0,R.A)(v||[])),et.value.nextPagePaginationParams=c,et.value.isEndReached=!1);case 14:case"end":return e.stop()}}),e)})))}),y.uw);case 8:case"end":return e.stop()}}),e)})))}function S(){clearInterval(t)}return et.value.accountAddress===n&&et.value.assetContractId===a&&et.value.networkName===m.value.name||w(),{isLoading:i,isEndReached:tt,transactionsLoaded:nt,transactionsLoadedAndPending:b,fetchTransactions:C,loadCurrentPageTransactions:x,initializeTransactionListPolling:L,stopTransactionListPolling:S}}var rt=n(53368),ot=(0,r.KR)(!1);function it(){function e(e){ot.value=e}return{setScrollConf:e,isScrollEnabled:ot}}var st=n(53319),ut=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},ct="active-language";function lt(){var e=T.Ru.global.locale;function t(t){return ut(this,void 0,void 0,(0,u.A)().mark((function n(){var a;return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t!==e.value){n.next=2;break}return n.abrupt("return");case 2:if(T.Ru.global.availableLocales.includes(t)){n.next=7;break}return n.next=5,T.eo[t].getMessages();case 5:a=n.sent["default"],T.Ru.global.setLocaleMessage(t,a);case 7:T.Ru.global.locale.value=t,document.documentElement.setAttribute("lang",t),st.v.set(ct,t);case 10:case"end":return n.stop()}}),n)})))}function n(){return ut(this,void 0,void 0,(0,u.A)().mark((function e(){var n;return(0,u.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,st.v.get(ct);case 2:n=e.sent,n?t(n):document.documentElement.setAttribute("lang",T.Ru.global.locale.value);case 4:case"end":return e.stop()}}),e)})))}return{activeLanguage:e,restoreLanguage:n,switchLanguage:t}}var dt=n(12082)},21452:(e,t,n)=>{"use strict";n.d(t,{U:()=>g});n(9391),n(62953),n(52675),n(16280),n(76918),n(28706),n(2008),n(48980),n(25276),n(62062),n(44114),n(54554),n(62010),n(36033),n(26099),n(47764);var a=n(50953),r=n(20641),o=n(65563),i=n(31189),s=n(90973),u=n(98822),c=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r1&&void 0!==arguments[1]?arguments[1]:{},a=l.get(e);if(!a)return Promise.reject(new Error('Modal with name "'.concat(e,'" not registered')));var r=o.IX&&o.u2&&!!a.showInPopupIfWebFrame,i=p+1;p+=1;var c=new Promise((function(t,o){if(d.value.push({name:e,key:i,inPopup:r,props:Object.assign(Object.assign({},n),{resolve:t,reject:o,show:!0})}),a.showInPopupIfWebFrame&&!r){var c=(0,u.m)(),l=c.setPopupProps;l(Object.assign(Object.assign({},n),{resolve:t,reject:o}))}r&&(v&&v.focus(),f["catch"]((function(){}))["finally"]((function(){v=window.open("/".concat(s.t,"/").concat(e),"popup-".concat(i),"height=600,width=375"),v?v.popupProps=Object.assign(Object.assign({},n),{resolve:t,reject:o,show:!0}):o(new Error("Can't show popup window"))})))}))["finally"]((function(){return t(i)}));return r&&(f=c),c}function a(e){return n(o.o1,e)}function g(e){return n(o.Hn,e)}function h(e){return n(o.g_,{entry:e})["catch"](i.fY)}return{modalsOpen:e,registerModal:m,openModal:n,openDefaultModal:a,openConfirmModal:g,openErrorModal:h,closeModalByKey:t}}},53048:(e,t,n)=>{"use strict";n.d(t,{c:()=>O});var a=n(55096),r=n(2327),o=n(6682),i=(n(62953),n(52675),n(76918),n(28706),n(2008),n(50113),n(74423),n(25276),n(62062),n(44114),n(15086),n(26910),n(23288),n(2892),n(26099),n(38781),n(21699),n(47764),n(50953)),s=n(20641),u=n(5582),c=n(43089),l=n.n(c),d=n(65626),p=n(60346),v=n(31189),f=n(10854),m=n(59755),g=n(12533),h=n(41549),A=n(58449),k=n(75265),y=n(68411),b=n(81881),w=n(48287)["Buffer"],C=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},x=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r2&&void 0!==arguments[2]&&arguments[2];return(0,v.AP)([n?E:T,t],e)}function _(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,v._S)([t?E:T,e])||[]}var W=(0,i.KR)([]),F=(0,i.KR)([]),D=(0,i.KR)(),B=(0,i.KR)(""),P=(0,i.KR)(!1),M=(0,A.y)(S);function O(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.pollOnce,i=void 0!==n&&n,c=t.pollingDisabled,A=void 0!==c&&c,S=(0,b.f)(),E=S.onNetworkChange,O=(0,h.$L)(),R=O.aeActiveNetworkPredefinedSettings,N=(0,k.C)(),U=N.nodeNetworkId,X=N.getAeSdk,V=(0,y.o)(),H=V.aeAccounts,$=(0,s.EW)((function(){return[].concat((0,o.A)(W.value),(0,o.A)(F.value))})),j=(0,s.EW)((function(){return $.value.find((function(e){return e.gaAccountId===D.value}))})),K=(0,s.EW)((function(){return j.value?new g.w(R.value.explorerUrl).prepareUrlForHash(j.value.contractId):null})),q=(0,s.EW)((function(){var e;return!!(null===(e=j.value)||void 0===e?void 0:e.gaAccountId)&&!!F.value.find((function(e){var t=e.gaAccountId;return t===j.value.gaAccountId}))}));function G(e){e&&$.value.some((function(t){return t.gaAccountId===e}))&&(D.value=e,B.value=U.value,(0,v.AP)([T,"active",U.value],e))}function Q(e){F.value.push(e),I(F.value,U.value,!0)}function Z(e,t,n){F.value=F.value.map((function(a){return a.gaAccountId===t?Object.assign(Object.assign({},a),{txHash:e,hasPendingTransaction:!0,proposedBy:n}):a})),I(F.value,U.value,!0)}function Y(){var e;if(null===(e=F.value)||void 0===e?void 0:e.length){var t=F.value.filter((function(e){return!W.value.find((function(t){return t.gaAccountId===e.gaAccountId}))}));F.value=t,I(t,U.value,!0)}}function z(){var e;return C(this,void 0,void 0,(0,r.A)().mark((function t(){var n,i,s,c,g=this;return(0,r.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s=function(e){return e.hasPendingTransaction&&e.signers.some((function(t){return H.value.map((function(e){var t=e.address;return t})).includes(t)&&!e.confirmedBy.includes(t)}))},t.next=3,X();case 3:return n=t.sent,i=[],t.prev=5,t.next=8,Promise.all(H.value.map((function(e){var t=e.address;return C(g,void 0,void 0,(0,r.A)().mark((function e(){var n;return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.t0=(n=i).push,e.t1=n,e.t2=o.A,e.next=5,(0,v.x6)("".concat(R.value.multisigBackendUrl,"/").concat(t));case 5:return e.t3=e.sent,e.t4=(0,e.t2)(e.t3),e.abrupt("return",e.t0.apply.call(e.t0,e.t1,e.t4));case 8:case"end":return e.stop()}}),e)})))})));case 8:t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](5),console.log("failed to fetch multisigAccounts");case 13:return i=(0,u.A)(i,"contractId"),t.next=16,Promise.all(i.filter((function(e){var t=e.version;return t===m.cq})).map((function(e){return C(g,void 0,void 0,(0,r.A)().mark((function t(){var o,i,s,u,c,p,g,h,A,k,y,b,C,L,S;return(0,r.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o=e.contractId,i=e.gaAccountId,s=x(e,["contractId","gaAccountId"]),t.prev=1,t.next=4,n.initializeContract({aci:f,address:o});case 4:return u=t.sent,c=W.value.find((function(e){return e.contractId===o})),t.next=8,Promise.all([P.value&&i===D.value||null==(null===c||void 0===c?void 0:c.nonce)?u.get_nonce():{decodedResult:c.nonce},(null===c||void 0===c?void 0:c.signers)?{decodedResult:c.signers}:u.get_signers(),u.get_consensus_info(),i?n.getBalance(i):0]);case 8:return p=t.sent,g=(0,a.A)(p,4),h=g[0],A=g[1],k=g[2],y=g[3],b=k.decodedResult,C=b.tx_hash,L=l()(b),L.expirationHeight=Number(L.expirationHeight),L.confirmationsRequired=Number(L.confirmationsRequired),S=!!C&&!L.expired,t.abrupt("return",Object.assign(Object.assign(Object.assign({},L),s),{contractId:o,gaAccountId:i,nonce:Number(h.decodedResult),signers:A.decodedResult,balance:(0,v.Y9)(y,-m.kS),hasPendingTransaction:S,txHash:C?w.from(C).toString("hex"):void 0}));case 23:return t.prev=23,t.t0=t["catch"](1),t.t0 instanceof d.Vz||(0,v.fY)(t.t0),t.abrupt("return",W.value.find((function(e){return e.contractId===o})));case 27:case"end":return t.stop()}}),t,null,[[1,23]])})))})));case 16:c=t.sent.filter(Boolean).sort((function(e,t){var n;return e.hasPendingTransaction&&!t.hasPendingTransaction?-1:!e.hasPendingTransaction&&t.hasPendingTransaction?1:s(e)&&!s(t)?-1:!s(e)&&s(t)?1:t.confirmedBy.length&&e.confirmedBy.length&&t.confirmedBy.length!==e.confirmedBy.length?t.confirmedBy.length-e.confirmedBy.length:p.A.isBigNumber(e.balance)&&p.A.isBigNumber(t.balance)&&!(null===(n=t.balance)||void 0===n?void 0:n.minus(e.balance).isZero())?t.balance.minus(e.balance).toNumber():new Date(e.createdAt).getTime()-new Date(t.createdAt).getTime()})),W.value=c,D.value&&B.value===U.value||G(null===(e=c[0])||void 0===e?void 0:e.gaAccountId),I(c,U.value),Y();case 21:case"end":return t.stop()}}),t,null,[[5,10]])})))}function J(){P.value=!0,z()}function ee(){P.value=!1}function te(e){return $.value.find((function(t){return t.contractId===e}))}return function(){C(e,void 0,void 0,(0,r.A)().mark((function e(){return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,X();case 2:W.value.length&&B.value===U.value||(W.value=_(U.value),F.value=_(U.value,!0)),D.value&&B.value===U.value||(D.value=(0,v._S)([T,"active",U.value])||void 0,B.value=U.value);case 4:case"end":return e.stop()}}),e)})))}(),A||(i&&!_(U.value).length?z():i||M((function(){return z()}))),L||(L=!0,E((function(){z()}))),{multisigAccounts:$,pendingMultisigAccounts:F,isAdditionalInfoNeeded:P,isActiveMultisigAccountPending:q,activeMultisigAccountId:D,activeMultisigAccount:j,activeMultisigAccountExplorerUrl:K,addTransactionToPendingMultisigAccount:Z,fetchAdditionalInfo:J,setActiveMultisigAccountId:G,stopFetchingAdditionalInfo:ee,updateMultisigAccounts:z,getMultisigAccountByContractId:te,addPendingMultisigAccount:Q}}},81881:(e,t,n)=>{"use strict";n.d(t,{f:()=>S});var a=n(2327),r=n(6682),o=(n(16280),n(76918),n(28706),n(48980),n(51629),n(62062),n(44114),n(54554),n(62010),n(53921),n(26099),n(23500),n(50953)),i=n(20641),s=n(65563),u=n(31189),c=n(32118),l=n(44343),d=n(21452),p=n(54228),v=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},f=!1,m=(0,u.pe)(),g=m.addCallback,h=m.runCallbacks,A=[],k=(0,o.KR)(!1),y=(0,p.S)([],s.d5.customNetworks,{backgroundSync:!0}),b=(0,p.S)(s.y1,s.d5.activeNetworkName,{backgroundSync:!0,onRestored:function(){k.value=!0}}),w=(0,i.EW)((function(){return Object.fromEntries([].concat(A,(0,r.A)(y.value)).map((function(e){return[e.name,e]})))})),C=(0,i.EW)((function(){return w.value[b.value]})),x=(0,i.EW)((function(){return C.value.type===s.Oj}));function L(){if(0===A.length){var e=[s.dk,s.Oj];e.forEach((function(e){A.push({name:e===s.dk?s.y1:s.I1,protocols:Object.fromEntries(s.E4.map((function(t){return[t,c.C.getAdapter(t).getNetworkTypeDefaultValues(e)]}))),type:e})}))}}function S(){var e=(0,d.U)(),t=e.openConfirmModal;function n(e){if(!w.value[e])throw Error('Could not switch to "'.concat(e,'" network as it does not exist'));var t=C.value;b.value=e,h(C.value,t)}function r(e){y.value.push(e)}function o(e,t){return!!y.value[e]&&(y.value[e]=t,!0)}function i(e){return v(this,void 0,void 0,(0,a.A)().mark((function r(){var o;return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,t({msg:(0,l.tg)("pages.network.confirmDelete")});case 3:if(o=y.value.findIndex((function(t){return t.name===e})),!(o>-1)){a.next=8;break}return e===C.value.name&&n(s.y1),y.value.splice(o,1),a.abrupt("return",!0);case 8:return a.abrupt("return",!1);case 11:return a.prev=11,a.t0=a["catch"](0),a.abrupt("return",!1);case 14:case"end":return a.stop()}}),r,null,[[0,11]])})))}function u(){y.value=[],b.value=s.y1}return f||(f=!0,L(),C.value||n(s.y1)),{areNetworksRestored:k,networks:w,customNetworks:y,defaultNetworks:A,activeNetwork:C,isActiveNetworkTestnet:x,activeNetworkName:b,switchNetwork:n,addCustomNetwork:r,updateCustomNetwork:o,deleteCustomNetwork:i,resetNetworks:u,onNetworkChange:g}}},34281:(e,t,n)=>{"use strict";n.d(t,{E:()=>T});var a=n(2327),r=n(55096),o=n(6682),i=(n(62953),n(3296),n(48408),n(52675),n(76918),n(28706),n(2008),n(50113),n(51629),n(74423),n(25276),n(62062),n(44114),n(34782),n(26910),n(1688),n(23288),n(5506),n(26099),n(38781),n(21699),n(47764),n(23500),n(14603),n(47566),n(98721),n(50953)),s=n(20641),u=n(31189),c=n(65563),l=(n(72712),n(79432),n(16034),n(35306)),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},p=function(e){return d(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r,o;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e&&Object.keys(e).length){t.next=16;break}return t.next=3,(0,l.a)();case 3:if(t.t1=n=t.sent,t.t0=null===t.t1,t.t0){t.next=7;break}t.t0=void 0===n;case 7:if(!t.t0){t.next=11;break}t.t2=void 0,t.next=12;break;case 11:t.t2=n.notificationSettings;case 12:if(r=t.t2,!(null===r||void 0===r?void 0:r.length)){t.next=16;break}return o=Object.values(c.I9),t.abrupt("return",r.reduce((function(e,t){return o.includes(t.type)&&(e[t.type]=!!t.checked),e}),{}));case 16:return t.abrupt("return",e);case 17:case"end":return t.stop()}}),t)})))};const v=p;var f=n(41549),m=n(68411),g=n(58449),h=n(75265),A=n(54228),k=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},y=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0&&void 0!==arguments[0]?arguments[0]:{},n=t.requirePolling,l=void 0!==n&&n,d=(0,f.$L)(),p=d.aeActiveNetworkSettings,v=(0,h.C)(),g=v.fetchRespondChallenge,A=(0,m.o)(),b=A.activeAccount,T=(0,i.KR)(!0),E=(0,i.KR)(0);function I(e){return[void 0,!0].includes(x.value[e])}var _=(0,s.EW)((function(){return[].concat((0,o.A)(L.value),(0,o.A)(S.value)).sort((function(e,t){return new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime()}))})),W=(0,s.EW)((function(){return _.value.filter((function(e){var t=e.type;return I(t)}))})),F=(0,s.EW)((function(){return W.value.filter((function(e){var t=e.status;return t===c.PM}))})),D=(0,s.EW)((function(){return W.value.filter((function(e){var t=e.status;return t===c.w}))})),B=(0,s.EW)((function(){return W.value.slice(0,E.value*w)}));function P(){return k(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n,o,i,s;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(b.value.protocol===c.yv.aeternity){e.next=2;break}return e.abrupt("return",[]);case 2:return e.prev=2,t="".concat(p.value.backendUrl,"/notification/user/").concat(b.value.address),e.next=6,(0,u.x6)(t);case 6:return n=e.sent,e.next=9,g(n);case 9:return o=e.sent,i=new URL(t),Object.entries(o).forEach((function(e){var t=(0,r.A)(e,2),n=t[0],a=t[1];return i.searchParams.append(n,a)})),e.next=14,(0,u.x6)(i.toString());case 14:return s=e.sent,e.abrupt("return",!s||s.err?[]:s);case 18:return e.prev=18,e.t0=e["catch"](2),(0,u.fY)(e.t0),e.abrupt("return",[]);case 22:case"end":return e.stop()}}),e,null,[[2,18]])})))}function M(e,t){return k(this,void 0,void 0,(0,a.A)().mark((function n(){var r,o,i,s=this;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.length){n.next=2;break}return n.abrupt("return");case 2:return r=function(e){return k(s,void 0,void 0,(0,a.A)().mark((function t(){return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,u.B2)("".concat(p.value.backendUrl,"/notification"),{body:e}));case 1:case"end":return t.stop()}}),t)})))},n.next=5,r({ids:e,status:t,author:b.value.address});case 5:return o=n.sent,n.next=8,g(o);case 8:return i=n.sent,n.next=11,r(i);case 11:case"end":return n.stop()}}),n)})))}function O(e){S.value.push(Object.assign(Object.assign({},e),{type:c.I9.wallet,status:c.w,createdAt:(new Date).toISOString()}))}function R(e,t){var n=S.value.find((function(t){return t.createdAt===e}));n&&(n.status=t)}function N(){T.value=!1,E.value+=1,B.value.length{"use strict";n.d(t,{S:()=>P});var a=n(2327),r=n(1287),o=(n(62953),n(3296),n(48408),n(1688),n(23288),n(26099),n(47764),n(14603),n(47566),n(98721),n(31490)),i=n(65563),s=n(31189),u=n(58338),c=(n(35726),n(55096),n(28706),n(62010),n(11392),n(73808)),l=(n(51629),n(23500),n(42302)),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},p="web",v=!1,f="extension"===p&&!v,m="connectConfirm",g={},h=function(e){return new URL(e.connection.port.sender.url)},A=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return d(void 0,void 0,void 0,(0,a.A)().mark((function r(){var o,i,s,u,d,p,v,A,k,y,b,w,C;return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return o=(0,l.A)(),i="object"===(0,c.A)(t)?h(t):new URL(t),s=i.href,u=i.protocol,d=i.host,p="object"===(0,c.A)(t)?t:{},v=p.name,A=void 0===v?d:v,a.next=5,browser.tabs.query({active:!0});case 5:return k=a.sent,k.forEach((function(e){var t=e.url,n=e.id,a=new URL(t);a.searchParams.get("type")===m&&decodeURIComponent(a.searchParams.get("url")||"")===s&&browser.tabs.remove(n)})),y=browser.runtime.getURL("./index.html"),b="".concat(y,"?id=").concat(o,"&type=").concat(e,"&url=").concat(encodeURIComponent(s)),w=f&&browser.runtime.getPlatformInfo().then((function(e){var t=e.os;return"mac"===t})),a.t0=browser.windows,a.t1=b,a.next=14,w;case 14:if(!a.sent){a.next=18;break}a.t2=360,a.next=19;break;case 18:a.t2=375;case 19:return a.t3=a.t2,a.t4={url:a.t1,type:"popup",height:630,width:a.t3},a.next=23,a.t0.create.call(a.t0,a.t4);case 23:if(C=a.sent,C){a.next=26;break}return a.abrupt("return",null);case 26:return g[o]={id:o,props:{app:{url:s,name:A,protocol:u,host:d},message:n.message,tx:n.tx,txBase64:n.txBase64}},a.abrupt("return",g[o]);case 28:case"end":return a.stop()}}),r)})))},k=function(e){return delete g[e]},y=function(e){return g[e]},b=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function w(e,t){return b(this,void 0,void 0,(0,a.A)().mark((function n(){var r;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!i.$M){n.next=8;break}n.t0=e,n.next="openPopup"===n.t0?4:"removePopup"===n.t0?5:"getPopup"===n.t0?6:7;break;case 4:return n.abrupt("return",A(t.popupType,t.aepp,t.params));case 5:return n.abrupt("return",k(t.id));case 6:return n.abrupt("return",y(t.id));case 7:return n.abrupt("return",null);case 8:return r=(0,s.lk)(t),n.abrupt("return",browser.runtime.sendMessage({target:"background",method:e,params:r}));case 10:case"end":return n.stop()}}),n)})))}var C=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},x={},L=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return C(void 0,void 0,void 0,(0,a.A)().mark((function r(){return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.abrupt("return",w("openPopup",{popupType:e,aepp:t,params:n}).then((function(e){return new Promise((function(t,n){var a=Object.assign(Object.assign({},e),{actions:{resolve:t,reject:n}}),r=a.id;return x[r]=a,a}))})));case 1:case"end":return a.stop()}}),r)})))},S=(n(79432),n(35306)),T=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},E=function(e){return T(void 0,void 0,void 0,(0,a.A)().mark((function t(){var n,r;return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e&&Object.keys(e).length){t.next=21;break}return t.next=3,(0,S.a)();case 3:if(t.t1=n=t.sent,t.t0=null===t.t1,t.t0){t.next=7;break}t.t0=void 0===n;case 7:if(!t.t0){t.next=11;break}t.t2=void 0,t.next=12;break;case 11:t.t2=n.permissions;case 12:if(r=t.t2,t.prev=13,!r||!Object.keys(r).length){t.next=16;break}return t.abrupt("return",r);case 16:t.next=21;break;case 18:t.prev=18,t.t3=t["catch"](13),(0,s.fY)(t.t3);case 21:return t.abrupt("return",e);case 22:case"end":return t.stop()}}),t,null,[[13,18]])})))};const I=E;var _=n(54228),W=n(21452),F=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},D=(0,_.S)({},i.d5.permissions,{backgroundSync:!0,migrations:[I]}),B=(0,r.A)((0,r.A)((0,r.A)((0,r.A)({},o.J8.subscribeAddress,{modal:i.kV,popup:i.tF}),o.J8.address,{modal:i.Mc,popup:i.ze}),o.J8.signMessage,{modal:i.gK,popup:i.MW}),o.J8.sign,{modal:i.K$,popup:i.sW});function P(){var e=(0,W.U)(),t=e.openModal;function n(e){D.value[e]=Object.assign(Object.assign({},D.value[e]),{transactionSignSpent:0,transactionSignFirstAskedOn:(new Date).toISOString()})}function r(e){D.value[e.host]=e}function c(e){delete D.value[e]}function l(e){return(new Date).getTime()-new Date(e).getTime()>=864e5}function d(e,t){var a=t.amount,r=void 0===a?0:a,o=t.fee,i=void 0===o?0:o,s=t.nameFee,c=void 0===s?0:s,d=D.value[e]||{},p=d.transactionSignLimit,v=d.transactionSignFirstAskedOn;if(!p)return!1;v&&!l(v)||n(e);var f=+(0,u.c4)(+r+ +i+ +c),m=(D.value[e].transactionSignSpent||0)+f;return!(m>p)&&(D.value[e].transactionSignSpent=m,!0)}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=D.value[e];if(!a)return!1;switch(t){case o.J8.sign:return d(e,n);case o.J8.connect:return a.address;case o.J8.address:return a.addressList;case o.J8.signMessage:return a.messageSign;case o.J8.subscribeAddress:return a.address;default:return!1}}function v(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return F(this,void 0,void 0,(0,a.A)().mark((function c(){var l,d,v,f,m,g;return(0,a.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(d=(0,s.lk)(r),!n){a.next=7;break}if(v=new URL(n),!p(v.host,e,r.tx)){a.next=5;break}return a.abrupt("return",!0);case 5:l={host:v.host,name:v.hostname,protocol:v.protocol,url:v.href},d=Object.assign(Object.assign({},d),{app:l});case 7:if(a.prev=7,f=B[e]||{},m=f.modal,g=f.popup,m&&g){a.next=11;break}return a.abrupt("return",!1);case 11:return e!==o.J8.sign||r.txBase64&&(0,u.P)(r.txBase64)||(m=i.iE,g=i.LZ),a.next=14,i.pb&&(null===l||void 0===l?void 0:l.url)?L(g,l.url,d):t(m,d);case 14:return a.abrupt("return",!0);case 17:return a.prev=17,a.t0=a["catch"](7),a.abrupt("return",!1);case 20:case"end":return a.stop()}}),c,null,[[7,17]])})))}return{permissions:D,addPermission:r,removePermission:c,checkPermission:p,checkOrAskPermission:v,checkTransactionSignLimit:d}}},98822:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});n(62010);var a=n(50953),r=n(20641),o=(0,a.KR)(null);function i(){function e(e){o.value=e}var t=(0,r.EW)((function(){var e,t,n,a,r,i;return{name:null===(t=null===(e=o.value)||void 0===e?void 0:e.app)||void 0===t?void 0:t.name,address:null===(a=null===(n=o.value)||void 0===n?void 0:n.app)||void 0===a?void 0:a.host,url:null===(i=null===(r=o.value)||void 0===r?void 0:r.app)||void 0===i?void 0:i.url}}));return{sender:t,popupProps:o,setPopupProps:e}}},54228:(e,t,n)=>{"use strict";n.d(t,{S:()=>c});var a=n(2327),r=(n(26099),n(76031),n(50953)),o=n(20641),i=n(31189),s=n(53319),u=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function c(e,t){var n=this,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=c.serializer,d=c.backgroundSync,p=void 0!==d&&d,v=c.migrations,f=c.onRestored,m=!1,g=(0,r.KR)(e);function h(e){null!==e&&(m=!0,g.value=(null===l||void 0===l?void 0:l.read)?l.read(e):e,setTimeout((function(){m=!1}),0))}function A(e){s.v.set(t,e&&(null===l||void 0===l?void 0:l.write)?l.write(e):e)}return function(){u(n,void 0,void 0,(0,a.A)().mark((function e(){var n,r;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,s.v.get(t);case 2:if(r=e.sent,!(null===v||void 0===v?void 0:v.length)){e.next=8;break}return e.next=6,(0,i.dP)(v)(r);case 6:r=e.sent,null!==r&&A(r);case 8:null===f||void 0===f||f(r),h(r),(0,o.wB)(g,(function(e){m||A(e)}),{deep:!0}),p&&(null===(n=s.v.watch)||void 0===n||n.call(s.v,t,(function(e){return h(e)})));case 12:case"end":return e.stop()}}),e)})))}(),g}},97911:(e,t,n)=>{"use strict";n.d(t,{k:()=>A});var a=n(2327),r=n(55096),o=(n(62953),n(16280),n(76918),n(26099),n(47764),n(50953)),i=n(20641),s=n(65563);const u=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"},{"name":"_3","type":"bool"}],"name":"check_persist_claim","payable":false,"returns":"OracleService.success_claim","stateful":true},{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"}],"name":"query_oracle","payable":true,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"OracleService","payable":false,"typedefs":[{"name":"success_claim","typedef":{"record":[{"name":"success","type":"bool"},{"name":"caller","type":"address"},{"name":"percentage","type":"int"}]},"vars":[]}]}},{"contract":{"event":{"variant":[{"TipReceived":["address","int","Tipping.url"]},{"ReTipReceived":["address","int","Tipping.url"]},{"TipWithdrawn":["address","int","Tipping.url"]}]},"functions":[{"arguments":[{"name":"oracle_service","type":"OracleService"},{"name":"owner","type":"address"}],"name":"init","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"oracle_service","type":"OracleService"}],"name":"change_oracle_service","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"url","type":"string"},{"name":"title","type":"string"}],"name":"tip","payable":true,"returns":"unit","stateful":true},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retip","payable":true,"returns":"unit","stateful":true},{"arguments":[{"name":"url","type":"string"},{"name":"expected_account","type":"address"}],"name":"pre_claim","payable":true,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"url","type":"string"},{"name":"account","type":"address"},{"name":"recheck","type":"bool"}],"name":"claim","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"new_contract","type":"address"}],"name":"migrate_balance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"get_state","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"url","type":"string"}],"name":"tips_for_url","payable":false,"returns":{"list":["Tipping.tip"]},"stateful":false},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retips_for_tip","payable":false,"returns":{"list":["Tipping.retip"]},"stateful":false},{"arguments":[{"name":"url","type":"string"}],"name":"unclaimed_for_url","payable":false,"returns":"int","stateful":false},{"arguments":[{"name":"url","type":"string"},{"name":"expected_account","type":"address"}],"name":"check_claim","payable":false,"returns":"OracleService.success_claim","stateful":false}],"kind":"contract_main","name":"Tipping","payable":false,"state":{"record":[{"name":"urls","type":{"map":["Tipping.url","Tipping.url_id"]}},{"name":"claims","type":{"map":["Tipping.url_id",{"tuple":["Tipping.claim_gen","int"]}]}},{"name":"url_index","type":{"map":["Tipping.url_id","Tipping.url"]}},{"name":"tips","type":{"map":["Tipping.tip_id","Tipping.tip"]}},{"name":"retips","type":{"map":["Tipping.retip_id","Tipping.retip"]}},{"name":"owner","type":"address"},{"name":"oracle_service","type":"OracleService"}]},"typedefs":[{"name":"tip_id","typedef":"int","vars":[]},{"name":"url_id","typedef":"int","vars":[]},{"name":"retip_id","typedef":"int","vars":[]},{"name":"url","typedef":"string","vars":[]},{"name":"claim_gen","typedef":"int","vars":[]},{"name":"tip","typedef":{"record":[{"name":"sender","type":"address"},{"name":"title","type":"string"},{"name":"claim_gen","type":"Tipping.claim_gen"},{"name":"timestamp","type":"int"},{"name":"url_id","type":"Tipping.url_id"},{"name":"amount","type":"int"}]},"vars":[]},{"name":"retip","typedef":{"record":[{"name":"sender","type":"address"},{"name":"amount","type":"int"},{"name":"claim_gen","type":"Tipping.claim_gen"},{"name":"tip_id","type":"Tipping.tip_id"}]},"vars":[]}]}}]'),c=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"address"},{"name":"_3","type":"int"}],"name":"transfer_allowance","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"int"}],"name":"transfer","payable":false,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"TokenContract","payable":false,"typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"},{"name":"_3","type":"bool"}],"name":"check_persist_claim","payable":false,"returns":"OracleService.success_claim","stateful":true},{"arguments":[{"name":"_1","type":"string"},{"name":"_2","type":"address"}],"name":"query_oracle","payable":true,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"OracleService","payable":false,"typedefs":[{"name":"success_claim","typedef":{"record":[{"name":"success","type":"bool"},{"name":"account","type":"address"},{"name":"percentage","type":"int"}]},"vars":[]}]}},{"contract":{"event":{"variant":[{"TipReceived":["address","Tipping.amount","Tipping.url"]},{"ReTipReceived":["address","Tipping.amount","Tipping.url"]},{"TipWithdrawn":["address","Tipping.amount","Tipping.url"]},{"TipTokenReceived":["address","Tipping.amount","Tipping.url","TokenContract"]},{"ReTipTokenReceived":["address","Tipping.amount","Tipping.url","TokenContract"]},{"TipDirectReceived":["address","Tipping.amount","Tipping.receiver_str"]},{"TipDirectTokenReceived":["address","Tipping.amount","Tipping.receiver_str","TokenContract"]}]},"functions":[{"arguments":[{"name":"oracle_service","type":"OracleService"}],"name":"init","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"title","type":"string"}],"name":"tip","payable":true,"returns":"int","stateful":true},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"title","type":"string"},{"name":"token","type":"TokenContract"},{"name":"token_amount","type":"int"}],"name":"tip_token","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"receiver","type":"Tipping.receiver"},{"name":"title","type":"string"}],"name":"tip_direct","payable":true,"returns":"int","stateful":true},{"arguments":[{"name":"receiver","type":"Tipping.receiver"},{"name":"title","type":"string"},{"name":"token","type":"TokenContract"},{"name":"token_amount","type":"int"}],"name":"tip_token_direct","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retip","payable":true,"returns":"int","stateful":true},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"},{"name":"token","type":"TokenContract"},{"name":"token_amount","type":"int"}],"name":"retip_token","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"expected_account","type":"address"}],"name":"pre_claim","payable":true,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"account","type":"address"},{"name":"recheck","type":"bool"}],"name":"claim","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"get_state","payable":false,"returns":"Tipping.state","stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"}],"name":"tips_for_url","payable":false,"returns":{"list":["Tipping.tip"]},"stateful":false},{"arguments":[{"name":"tip_id","type":"Tipping.tip_id"}],"name":"retips_for_tip","payable":false,"returns":{"list":["Tipping.retip"]},"stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"}],"name":"unclaimed_for_url","payable":false,"returns":{"tuple":["int",{"map":["TokenContract","int"]}]},"stateful":false},{"arguments":[{"name":"url","type":"Tipping.url"},{"name":"expected_account","type":"address"}],"name":"check_claim","payable":false,"returns":"OracleService.success_claim","stateful":false}],"kind":"contract_main","name":"Tipping","payable":false,"state":{"record":[{"name":"urls","type":{"map":["Tipping.url","Tipping.url_id"]}},{"name":"claims","type":{"map":["Tipping.url_id",{"tuple":["Tipping.claim_gen","int",{"map":["TokenContract","int"]}]}]}},{"name":"url_index","type":{"map":["Tipping.url_id","Tipping.url"]}},{"name":"tips","type":{"map":["Tipping.tip_id","Tipping.tip"]}},{"name":"retips","type":{"map":["Tipping.retip_id","Tipping.retip"]}},{"name":"oracle_service","type":"OracleService"},{"name":"version","type":"string"}]},"typedefs":[{"name":"tip_id","typedef":"int","vars":[]},{"name":"url_id","typedef":"int","vars":[]},{"name":"retip_id","typedef":"int","vars":[]},{"name":"url","typedef":"string","vars":[]},{"name":"claim_gen","typedef":"int","vars":[]},{"name":"amount","typedef":"int","vars":[]},{"name":"receiver","typedef":"address","vars":[]},{"name":"receiver_str","typedef":"string","vars":[]},{"name":"tip","typedef":{"variant":[{"AeTip":["Tipping.tip_meta","Tipping.url_id","Tipping.amount","Tipping.claim_gen"]},{"TokenTip":["Tipping.tip_meta","Tipping.url_id","Tipping.tip_token_data","Tipping.claim_gen"]},{"DirectAeTip":["Tipping.tip_meta","Tipping.receiver","Tipping.amount"]},{"DirectTokenTip":["Tipping.tip_meta","Tipping.receiver","Tipping.tip_token_data"]}]},"vars":[]},{"name":"tip_token_data","typedef":{"record":[{"name":"token","type":"TokenContract"},{"name":"amount","type":"int"}]},"vars":[]},{"name":"tip_meta","typedef":{"record":[{"name":"sender","type":"address"},{"name":"title","type":"string"},{"name":"timestamp","type":"int"}]},"vars":[]},{"name":"retip","typedef":{"record":[{"name":"sender","type":"address"},{"name":"amount","type":"int"},{"name":"token_amount","type":"int"},{"name":"claim_gen","type":"Tipping.claim_gen"},{"name":"token","type":{"option":["TokenContract"]}},{"name":"tip_id","type":"Tipping.tip_id"}]},"vars":[]}]}}]');var l,d,p=n(31189),v=n(59755),f=n(75265),m=n(81881),g=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},h=(0,o.KR)(!1);function A(){var e=(0,m.f)(),t=e.activeNetwork,n=(0,f.C)(),o=n.getAeSdk,A=n.isTippingSupported,k=(0,i.EW)((function(){switch(t.value.type){case s.dk:return v.qD;case s.Oj:return v.n1;default:return{}}}));function y(){return g(this,void 0,void 0,(0,a.A)().mark((function e(){var t,n,i;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(A.value&&k.value){e.next=2;break}return e.abrupt("return");case 2:return h.value=!0,e.next=5,o();case 5:return t=e.sent,e.next=8,Promise.all([t.initializeContract({aci:u,address:k.value.tippingV1}),k.value.tippingV2?t.initializeContract({aci:c,address:k.value.tippingV2}):void 0]);case 8:n=e.sent,i=(0,r.A)(n,2),l=i[0],d=i[1],h.value=!1;case 13:case"end":return e.stop()}}),e)})))}function b(){var e;return g(this,void 0,void 0,(0,a.A)().mark((function t(){return(0,a.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(l&&l.$options.address===(null===(e=k.value)||void 0===e?void 0:e.tippingV1)){t.next=5;break}return t.next=3,y();case 3:t.next=8;break;case 5:if(!h.value){t.next=8;break}return t.next=8,(0,p.mU)((function(){return!h.value}));case 8:if(l){t.next=10;break}throw Error("failed to initialize tipping contract");case 10:return t.abrupt("return",{tippingV1:l,tippingV2:d});case 11:case"end":return t.stop()}}),t)})))}return{tippingContractAddresses:k,getTippingContracts:b}}},43631:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});n(76031);var a=n(75220),r=n(65563),o=n(84754),i=n(31189);function s(){var e=(0,a.lq)(),t=e.meta,n=(0,o.U8)(),s=n.openModal;function u(e){(0,i.AP)([r.d5.transferSendData],e)}function c(){var e=(0,i._S)([r.d5.transferSendData]);r.hL&&e&&setTimeout((function(){var n,a;s(r.Fv,Object.assign({isMultisig:null===(n=t.value)||void 0===n?void 0:n.isMultisig,tokenContractId:null===(a=null===e||void 0===e?void 0:e.selectedAsset)||void 0===a?void 0:a.contractId},e)),(0,i.sc)([r.d5.transferSendData])}),100)}return{restore:c,save:u}}},909:(e,t,n)=>{"use strict";n.d(t,{m:()=>L});n(44114);var a=n(50953),r=n(20641),o=n(65563),i=n(90973),s=n(2327),u=(n(26099),n(35306)),c=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},l=function(e){return c(void 0,void 0,void 0,(0,s.A)().mark((function t(){var n,a;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(null===e||void 0===e?void 0:e.length){t.next=15;break}return t.next=3,(0,u.a)();case 3:if(t.t1=n=t.sent,t.t0=null===t.t1,t.t0){t.next=7;break}t.t0=void 0===n;case 7:if(!t.t0){t.next=11;break}t.t2=void 0,t.next=12;break;case 11:t.t2=n.hiddenCards;case 12:if(a=t.t2,!(null===a||void 0===a?void 0:a.length)){t.next=15;break}return t.abrupt("return",a);case 15:return t.abrupt("return",e);case 16:case"end":return t.stop()}}),t)})))};const d=l;var p=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},v=function(e){return p(void 0,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e){t.next=12;break}return t.next=3,(0,u.a)();case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0={};case 6:return n=t.t0,a=n.backedUpSeed,r=void 0!==a&&a,o=n.saveErrorLog,i=void 0!==o&&o,t.abrupt("return",{isSeedBackedUp:r,saveErrorLog:i});case 12:return t.abrupt("return",e);case 13:case"end":return t.stop()}}),t)})))};const f=v;var m=n(54228),g=(0,a.KR)(i.qJ),h=(0,a.KR)(!1),A=(0,a.KR)(!1),k=(0,a.KR)({name:i.qJ}),y=(0,a.KR)(!1),b=(0,m.S)([],o.d5.hiddenCards,{migrations:[d]}),w=(0,m.S)({},o.d5.otherSettings,{migrations:[f]}),C=(0,r.EW)((function(){return!!w.value.isSeedBackedUp})),x=(0,r.EW)((function(){return!!w.value.saveErrorLog}));function L(){function e(e,t){g.value!==e&&(g.value=e,t&&t())}function t(e){A.value=e}function n(e){k.value=e}function a(e){y.value=e}function o(){h.value=!document.hidden}function i(e){b.value.push(e)}function s(e){w.value.isSeedBackedUp=e}function u(e){w.value.saveErrorLog=e}function c(){o(),(0,r.sV)((function(){document.addEventListener("visibilitychange",o)})),(0,r.xo)((function(){document.removeEventListener("visibilitychange",o)}))}function l(){b.value=[],w.value={}}return{homeRouteName:g,hiddenCards:b,isAppActive:h,loginTargetLocation:k,qrScannerOpen:y,isLoaderVisible:A,isSeedBackedUp:C,saveErrorLog:x,initVisibilityListeners:c,setCardHidden:i,setBackedUpSeed:s,setSaveErrorLog:u,setHomeRouteName:e,setLoginTargetLocation:n,setQrScanner:a,setLoaderVisible:t,resetUiSettings:l}}},53368:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});var a=n(63366),r=n(50953),o=n(20641),i=(0,r.KR)(),s=function(){var e=(0,a.A)((function(e){if(i.value){var t=i.value,n=t.scrollHeight,a=t.scrollTop,r=t.clientHeight,o=n-a<=r+100;e({isOutsideOfViewport:o})}}),50);function t(e){i.value=e}function n(t){i.value&&i.value.addEventListener("scroll",(function(){return e(t)})),window.addEventListener("scroll",(function(){return e(t)})),(0,o.xo)((function(){i.value&&i.value.removeEventListener("scroll",(function(){return e(t)})),window.removeEventListener("scroll",(function(){return e(t)}))}))}return{viewportElement:i,onViewportScroll:n,initViewport:t}}},37534:(e,t,n)=>{"use strict";n.d(t,{$b:()=>fe,$m:()=>a,AK:()=>i,Dd:()=>Ve,E0:()=>Z,E4:()=>o,E9:()=>v,Fl:()=>U,Fv:()=>ke,G9:()=>$,H1:()=>X,He:()=>we,Hk:()=>g,Hn:()=>J,I1:()=>L,I9:()=>D,IS:()=>De,Iu:()=>P,Jw:()=>_e,K$:()=>ee,K0:()=>I,LX:()=>l,LY:()=>q,LZ:()=>Te,MW:()=>Se,Mc:()=>ae,NB:()=>Fe,NX:()=>h,OO:()=>E,Oj:()=>w,PM:()=>F,Pu:()=>Y,Qb:()=>C,R$:()=>ge,TG:()=>ye,TP:()=>f,VG:()=>S,X0:()=>de,XA:()=>p,Xn:()=>Re,Y6:()=>Xe,ZH:()=>A,_3:()=>Be,_B:()=>se,_V:()=>s,b1:()=>N,bG:()=>re,c9:()=>ue,d5:()=>M,dL:()=>Ne,dk:()=>b,dy:()=>Ue,eN:()=>le,ei:()=>K,gK:()=>ce,g_:()=>ie,hS:()=>Me,hg:()=>We,iE:()=>te,iL:()=>he,iP:()=>d,jA:()=>Ee,kQ:()=>ve,kV:()=>ne,ld:()=>pe,mp:()=>Ae,nO:()=>V,nZ:()=>c,nf:()=>m,o1:()=>oe,om:()=>be,pE:()=>z,qj:()=>_,rM:()=>me,rh:()=>u,sW:()=>Le,su:()=>Ie,tF:()=>Ce,tk:()=>He,u8:()=>T,uL:()=>j,uR:()=>Q,ul:()=>G,um:()=>B,uw:()=>$e,w:()=>W,wz:()=>Pe,x0:()=>Oe,xS:()=>k,y1:()=>x,y5:()=>H,yR:()=>O,yS:()=>R,yv:()=>r,zE:()=>y,ze:()=>xe});n(16034);var a="sh-wallet",r={aeternity:"aeternity",bitcoin:"bitcoin",ethereum:"ethereum"},o=Object.values(r),i="AccountDetails",s="AccountDetailsTokens",u="AccountDetailsNames",c="TransactionDetails",l="TransferReceiveModal",d="TransferSendModal",p=[i,c,s,u,l,d],v=5,f=12,m=9,g=2,h={sent:"sent",received:"received"},A={POPUP:"POPUP",OTHER:"OTHER"},k=/^[1-9A-HJ-NP-Za-km-z]{48,50}$/,y="hd-wallet",b="mainnet",w="testnet",C="custom",x="Mainnet",L="Testnet",S=15,T=15,E=30,I=30,_=17e3,W="CREATED",F="READ",D={wallet:"wallet",commentOnTip:"COMMENT_ON_TIP",commentOnComment:"COMMENT_ON_COMMENT",tipOnComment:"TIP_ON_COMMENT",claimOfTip:"CLAIM_OF_TIP",claimOfRetip:"CLAIM_OF_RETIP",retipOnTip:"RETIP_ON_TIP"},B="AENS",P="DEX",M={mnemonic:"mnemonic",accountsRaw:"accounts-raw",activeAccountGlobalIdx:"active-account-global-idx",protocolLastActiveAccountIdx:"protocol-last-active-account-idx",balances:"balances",customNetworks:"custom-networks",activeNetworkName:"active-network-name",hiddenCards:"hidden-cards",otherSettings:"other-settings",errorLog:"error-log",invites:"invites",namesOwned:"names-owned",namesDefault:"names-default",notificationsSettings:"notifications-settings",lastRoute:"last-route",fungibleTokenList:"fungible-token-list",fungibleTokenBalances:"fungible-token-balances",permissions:"permissions",appsBrowserHistory:"apps-browser-history",transactionsLatest:"transactions-latest",transactionsLoaded:"transactions-loaded",transactionsPending:"transactions-pending",transferSendData:"transfer-send-data"},O=[{name:"United States Dollar",code:"usd",symbol:"$"},{name:"Euro",code:"eur",symbol:"€"},{name:"Australia Dollar",code:"aud",symbol:"AU$"},{name:"Brasil Real",code:"brl",symbol:"R$"},{name:"Canada Dollar",code:"cad",symbol:"CA$"},{name:"Swiss Franc",code:"chf",symbol:"CHF"},{name:"China Yuan Renminbi",code:"cny",symbol:"¥"},{name:"Czech Republic Koruna",code:"czk",symbol:"Kč"},{name:"Denmark Krone",code:"dkk",symbol:"Kr"},{name:"United Kingdom Pound",code:"gbp",symbol:"£"},{name:"Hong Kong Dollar",code:"hkd",symbol:"HK$"},{name:"Hungary Forint",code:"huf",symbol:"Ft"},{name:"Indonesia Rupiah",code:"idr",symbol:"Rp"},{name:"Israel Shekel",code:"ils",symbol:"₪"},{name:"India Rupee",code:"inr",symbol:"₹"},{name:"Japan Yen",code:"jpy",symbol:"¥"},{name:"South Korea Won",code:"krw",symbol:"₩"},{name:"Mexico Peso",code:"mxn",symbol:"MX$"},{name:"Malaysia Ringgit",code:"myr",symbol:"MR"},{name:"Norway Krone",code:"nok",symbol:"Kr"},{name:"New Zealand Dollar",code:"nzd",symbol:"NZ$"},{name:"Philippines Peso",code:"php",symbol:"₱"},{name:"Poland Zloty",code:"pln",symbol:"zł"},{name:"Russia Ruble",code:"rub",symbol:"₽"},{name:"Sweden Krona",code:"sek",symbol:"Kr"},{name:"Singapore Dollar",code:"sgd",symbol:"SG$"},{name:"Thailand Baht",code:"thb",symbol:"฿"},{name:"Turkey Lira",code:"try",symbol:"₺"},{name:"South Africa Rand",code:"zar",symbol:"R"},{name:"Gold Ounce",code:"xau",symbol:"XAU"}],R="https://wallet.superhero.com",N="https://chrome.google.com/webstore/detail/superhero/mnhmmkepfddpifjkamaligfeemcbhdne",U="https://addons.mozilla.org/en-US/firefox/addon/superhero-wallet",X="https://play.google.com/store/apps/details?id=com.superhero.cordova",V="https://apps.apple.com/us/app/superhero-wallet/id1502786641",H="https://spgrrc00ymg.typeform.com/to/Kk3Zyjdr",$="https://superhero.com/",j=["https://chat.superhero.com","https://chat.superhero.chat","https://matrix.superhero.chat"],K="superherowallet@protonmail.com",q="account-create",G="account-ae-create",Q="import-account",Z="account-select-options",Y="asset-selector",z="claim-success",J="confirm",ee="confirm-transaction-sign",te="confirm-raw-sign",ne="confirm-connect",ae="confirm-account-list",re="consensus-info",oe="default",ie="error-log",se="form-select-options",ue="help",ce="confirm-message-sign",le="multisig-proposal-confirm-action",de="multisig-vault-create",pe="network-switcher",ve="payload-form",fe="read-qr-code",me="recipient-helper",ge="recipient-info",he="reset-wallet",Ae="transfer-receive",ke="transfer-send",ye="browser-actions",be="warning-dapp-browser",we="claim-gift-card",Ce="connectConfirm",xe="account-list",Le="sign",Se="messageSign",Te="rawSign",Ee="address",Ie="transactions",_e={getProps:"getProps",resolve:"resolve",reject:"reject"},We={host:"",name:"",address:!1,addressList:!1,messageSign:!1,dailySpendLimit:!1,transactionSignLimit:0,transactionSignSpent:0,transactionSignFirstAskedOn:null},Fe="TIP",De={success:"success",warning:"warning",error:"error"},Be={buyAe:"buyAe",claimName:"claimName",faucet:"faucet",daeppBrowser:null},Pe=["alert","critical","help","info","not-secure","success","warning"],Me={xs:"xs",sm:"sm",rg:"rg",md:"md",lg:"lg",xl:"xl",xxl:"xxl"},Oe={form:"form",review:"review",reviewTip:"tip"},Re="en-US",Ne={refresh:"refresh",share:"share",favourite:"favourite"},Ue=150,Xe=10,Ve={coin:"coin",token:"token"},He=6e5,$e=15e3},65563:(e,t,n)=>{"use strict";n.d(t,{zE:()=>a.zE,E9:()=>a.E9,um:()=>a.um,G9:()=>a.G9,wz:()=>a.wz,H1:()=>a.H1,b1:()=>a.b1,Fl:()=>a.Fl,nO:()=>a.nO,yS:()=>a.yS,Dd:()=>a.Dd,qj:()=>a.qj,dL:()=>a.dL,y5:()=>a.y5,ZH:()=>a.ZH,ei:()=>a.ei,yR:()=>a.yR,_3:()=>a._3,nf:()=>a.nf,Hk:()=>a.Hk,Xn:()=>a.Xn,u8:()=>a.u8,Iu:()=>a.Iu,XA:()=>a.XA,l2:()=>x,OO:()=>a.OO,xS:()=>a.xS,hS:()=>a.hS,IS:()=>a.IS,IX:()=>p,bW:()=>l,m_:()=>y,hL:()=>m,ys:()=>g,$M:()=>b,pz:()=>A,I$:()=>f,Hy:()=>k,pb:()=>h,p8:()=>w,u2:()=>v,$m:()=>a.$m,Y6:()=>a.Y6,LY:()=>a.LY,uR:()=>a.uR,E0:()=>a.E0,ul:()=>a.ul,Pu:()=>a.Pu,He:()=>a.He,pE:()=>a.pE,Hn:()=>a.Hn,Mc:()=>a.Mc,kV:()=>a.kV,iE:()=>a.iE,K$:()=>a.K$,bG:()=>a.bG,TG:()=>a.TG,o1:()=>a.o1,g_:()=>a.g_,_B:()=>a._B,c9:()=>a.c9,gK:()=>a.gK,eN:()=>a.eN,X0:()=>a.X0,ld:()=>a.ld,kQ:()=>a.kQ,$b:()=>a.$b,rM:()=>a.rM,R$:()=>a.R$,iL:()=>a.iL,mp:()=>a.mp,Fv:()=>a.Fv,om:()=>a.om,y1:()=>a.y1,VG:()=>a.VG,I1:()=>a.I1,Qb:()=>a.Qb,dk:()=>a.dk,Oj:()=>a.Oj,NB:()=>a.NB,w:()=>a.w,PM:()=>a.PM,I9:()=>a.I9,dy:()=>a.dy,hg:()=>a.hg,uw:()=>a.uw,Jw:()=>a.Jw,jA:()=>a.jA,su:()=>a.su,WZ:()=>d,ze:()=>a.ze,tF:()=>a.tF,MW:()=>a.MW,LZ:()=>a.LZ,sW:()=>a.sW,yv:()=>a.yv,E4:()=>a.E4,AK:()=>a.AK,_V:()=>a._V,rh:()=>a.rh,nZ:()=>a.nZ,LX:()=>a.LX,iP:()=>a.iP,dx:()=>c,yW:()=>u,TP:()=>a.TP,d5:()=>a.d5,uL:()=>a.uL,tk:()=>a.tk,x0:()=>a.x0,K0:()=>a.K0,NX:()=>a.NX,s4:()=>C});var a=n(37534),r=(n(74423),n(62010),n(26099),n(99449),n(21699),n(47764),n(11392),n(62953),n(3296),n(48408),n(14603),n(47566),n(98721),n(37736)),o=navigator.userAgent.toLowerCase(),i=new URL(window.location.href),s="web",u=!1,c=!(!i.searchParams.get("id")||!window.location.pathname.includes("index.html")&&!u),l=!!window.opener&&window.name.startsWith("popup-"),d=i.searchParams.get("type")||null,p=window.parent!==window,v="web"===s,f="ionic"===s,m="extension"===s&&!u,g=m&&window.location.href.endsWith("_generated_background_page.html"),h="/offscreen.html"===window.location.pathname,A=(0,r.a)("ios"),k=((0,r.a)("android"),(0,r.a)("mobile")),y=o.includes("chrome"),b=o.includes("firefox"),w=!0,C=!1,x=""},59794:(e,t,n)=>{"use strict";n.d(t,{DZ:()=>x,FE:()=>b,_7:()=>d,km:()=>c,xQ:()=>v,zk:()=>l});var a=n(1287),r=(n(23288),n(91087)),o=n(65984),i=n(60346),s=n(59755),u=n(37534),c="ak_enAPooFqpTQKkhJmU47J16QZu9HbPQQPwWBVeGnzDbDnv9dxp",l="ct_2rWUGgaVEVytGKuovkeJiUiLvrW63Fx7acvLBb5Ee9ypqoNxL6",d="cb_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACDJfUrsdAtW6IZtMvhp0+eVDUiQivrquyBwXrl/ujPLcgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJQQwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUEMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJvjRF",p="tx_+FEMAaEByqPFadmQk4sGtyDiquosAZyKJNmherKOhheVIEYTLCKhAcqjxWnZkJOLBrcg4qrqLAGciiTZoXqyjoYXlSBGEywiC4YPJvVhyAAAE4ALeFGB",v=1e4,f="ct_T6MWNrowGVC9dyTDksCBrCCSaeK3hzBMMY5hhMKwvwr8wJvM8",m="ct_2Cvbf3NYZ5DLoaNYAU71t67DdXLHeSXhodkSNifhgd7Xsw28Xd",g="ct_2ZEoCKcqXkbz2uahRrsWeaPooZs9SdCv6pmC4kc55rD4MhqYSu",h={mnemonic:"media view gym mystery all fault truck target envelope kit drop fade",address:"ak_2fxchiLvnj9VADMAXHBiKPsaCEsTFehAspcmWJ3ZzF3pFK1hB5",protocol:u.yv.aeternity},A="ak_2ELPCWzcTdiyYuumjaV4D7kE843d1Ts27zH1Y2LBMKDbNtfq1Q",k="ct_ym8eXWR2YfQZcMaXA8GFid9aarfCozGkeMcRHYVCVoBdVMzio",y=(s.GO,{url:"http://localhost:5000/aepp/aepp",name:"AEPP",protocol:"http:",host:"localhost"}),b=(0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)({},u.tF,{app:y}),u.ze,{app:y}),u.MW,{app:y,message:"test"}),u.LZ,{app:y,txBase64:p}),u.sW,{app:y,tx:{type:r.vw[r.vw.SpendTx],VSN:"1",senderId:h.address,recipientId:A,amount:1e15,fee:1682e10,nonce:190,payload:"ba_Xfbg4g==",arguments:[],callerId:c,contractId:l}}),"base",{app:y,action:{params:{returnSigned:!1},method:"transaction.sign"}}),w=new i.A(2).exponentiatedBy(256).minus(1).toNumber(),C={amount:1e17,ttl:w,nonce:w,fee:1e16,gas:1579e3,gasPrice:1e9,waitMined:!0,denomination:o.j8.AETTOS,clientTtl:84600,nameTtl:5e4,nameFee:0,deposit:0,options:"",dryRunAccount:{pub:"ak_11111111111111111111111111111111273Yts",amount:1e35},queryFee:3e4,oracleTtl:{type:"delta",value:500},queryTtl:{type:"delta",value:10},responseTtl:{type:"delta",value:10},ctVersion:{abiVersion:r.BL.Sophia,vmVersion:r.SM.Sophia},abiVersion:r.BL.Sophia,callData:d},x=(0,a.A)((0,a.A)((0,a.A)({},r.vw[r.vw.ContractCreateTx],Object.assign({ownerId:h.address,code:"cb_+LBGA6DK15BWhAK4E5OWH1kkfhQIx/qEDTVv8hrfY/bk13cN88C4g7hT/iiALJYANwGXQDcAGgaCAAEDP/5E1kQfADcANwAaDoKfAYEKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqgEDP/6LoCthADcAl0ABAoKqLwMRKIAsliVzZXRfYnl0ZXMRRNZEHxFpbml0EYugK2ElZ2V0X2J5dGVzgi8AhTQuMi4wABHX/Rk="},C)),r.vw[r.vw.ContractCallTx],Object.assign({contractId:k,callerId:h.address},C)),r.vw[r.vw.SpendTx],Object.assign({senderId:h.address,recipientId:A},C)),L=(new Date).getTime();u.yv.aeternity,h.address,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,h.address,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity,h.address,u.yv.aeternity,h.address,u.yv.aeternity,h.address,u.yv.aeternity,s.cK,u.yv.aeternity,u.yv.aeternity,u.yv.aeternity},32118:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});n(16280),n(76918),n(72712),n(26099);var a=n(65563),r=function(){var e={},t={};function n(t,n){e[t]=n}function r(n){if(!e[n])throw new Error("Protocol ".concat(n," is not registered"));return t[n]||(t[n]=new e[n]),t[n]}function o(e,t){return a.E4.reduce((function(n,a){if(!n){var o=r(a);o.isAccountAddressValid(e,t)&&(n=o)}return n}),void 0)}function i(e,t){return a.E4.reduce((function(n,a){if(!n){var o=r(a);o.isValidAddressOrNameEncoding(e,t)&&(n=o)}return n}),void 0)}return{registerAdapter:n,getAdapter:r,getAdapterByAccountAddress:o,getAdapterByAddressOrNameEncoding:i}}()},41370:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var a=n(13217),r=n(41417),o=(0,a.A)((function e(){(0,r.A)(this,e)}))},74335:(e,t,n)=>{"use strict";n.d(t,{r:()=>l});var a=n(1287),r=(n(62953),n(48408),n(76918),n(50113),n(48598),n(44114),n(23288),n(26099),n(38781),n(47764),n(14603),n(47566),n(98721),n(84754)),o=n(65563),i=n(90973),s=n(32118),u="op",c="token",l=function(){function e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return[o.yS,e,"?",new URLSearchParams(Object.assign((0,a.A)({},u,t),n)).toString()].join("")}var t={transferSend:function(e,t){var n=(0,r.U8)(),a=n.openModal,i=(0,r.oV)(),u=i.setActiveAccountByProtocol,l=t[c],d=o.E4.find((function(e){var t=s.C.getAdapter(e);return t.getUrlTokenKey()===l}));return u(d||o.yv.aeternity),a(o.Fv),!0},addNetwork:function(e,t){return e.push({name:i.jA,query:t}),!1}};function n(e){var n=e.beforeResolve((function(a,r,o){var i=a.query,s=null===i||void 0===i?void 0:i[u];if(s&&"string"===typeof s&&t[s]){var c=Object.assign({},i);delete c[u];var l=t[s](e,c);l&&o(),n()}else o()}))}return{createUrl:e,init:n}}()},53319:(e,t,n)=>{"use strict";n.d(t,{v:()=>d});var a=n(2327),r=n(1287),o=(n(74423),n(33110),n(79432),n(26099),n(21699),n(46996)),i=n(65563),s=n(31189),u=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function c(){var e=this,t=browser.storage.local;return{set:function(e,n){return t.set((0,r.A)({},(0,s.ee)(e),JSON.stringify(n)))},get:function(n){return u(e,void 0,void 0,(0,a.A)().mark((function e(){var r,o;return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=(0,s.ee)(n),e.next=3,t.get(r);case 3:return e.t0=r,o=e.sent[e.t0],e.abrupt("return",o?JSON.parse(o):null);case 6:case"end":return e.stop()}}),e)})))},remove:function(e){return t.remove(e)},watch:function(e,t){var n,a;null===(a=null===(n=null===browser||void 0===browser?void 0:browser.storage)||void 0===n?void 0:n.onChanged)||void 0===a||a.addListener((function(n){var a=n[(0,s.ee)(e)];a&&!(0,o.A)(a.newValue,a.oldValue)&&t(JSON.parse(a.newValue))}))},clear:function(){return t.clear()}}}function l(){var e=this;return{set:function(e,t){return new Promise((function(n){return n(localStorage.setItem((0,s.ee)(e),JSON.stringify(t)))}))},get:function(e){return new Promise((function(t){var n=localStorage.getItem((0,s.ee)(e));t(n?JSON.parse(n):null)}))},remove:function(e){return new Promise((function(t){return t(localStorage.removeItem((0,s.ee)(e)))}))},watch:function(e,t){i.pb&&window.addEventListener("storage",(function(n){(0,s.ee)(e).includes(n.key)&&n&&!(0,o.A)(n.newValue,n.oldValue)&&t(JSON.parse(n.newValue))}))},clear:function(){return u(e,void 0,void 0,(0,a.A)().mark((function e(){return(0,a.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",localStorage.clear());case 1:case"end":return e.stop()}}),e)})))}}}var d=!i.yW&&!i.pb&&i.ys&&browser?c():l()},39262:(e,t,n)=>{"use strict";n.d(t,{v:()=>u,y:()=>c});var a=n(13217),r=n(41417),o=n(6624),i=n(217),s=n(20852),u=(n(16280),n(76918),n(62010),function(e){function t(){var e;return(0,r.A)(this,t),e=(0,o.A)(this,t,["Rejected by user"]),e.name=e.constructor.name,e}return(0,i.A)(t,e),(0,a.A)(t)}((0,s.A)(Error))),c=function(e){function t(){var e;return(0,r.A)(this,t),e=(0,o.A)(this,t,["No UserMedia permission"]),e.name=e.constructor.name,e}return(0,i.A)(t,e),(0,a.A)(t)}((0,s.A)(Error))},12589:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var a=n(6682),r=n(73808),o=n(2327),i=n(41417),s=n(13217),u=(n(52675),n(76918),n(28706),n(74423),n(25276),n(59089),n(23288),n(62010),n(1480),n(26099),n(38781),n(21699),n(83997)),c=n(48468),l=n(65563),d=n(84754),p=n(39262),v=n(53319),f=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},m=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0&&void 0!==arguments[0]?arguments[0]:{},a=n.background,i=void 0!==a&&a,s=n.app;e.background=i,!i&&s&&(s.config.errorHandler=function(t,n,a){console.error(t,a),t&&t instanceof p.v&&e.write({message:t.toString(),info:a,type:"vue-error"})},s.config.warnHandler=function(e,t,n){console.warn(e,n)}),window.addEventListener("unhandledrejection",(function(n){return f(t,void 0,void 0,(0,o.A)().mark((function t(){var a,r,i,s;return(0,o.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a=n.reason||{},r=a.stack,i=a.message,s=a.name,!("string"===typeof a&&a.includes("CompileError: WebAssembly.instantiate()")||"NavigationDuplicated"===s||a&&a instanceof p.v)){t.next=4;break}return t.abrupt("return");case 4:return t.prev=4,t.next=7,e.write({message:"string"===typeof a?a:i,stack:r,type:"unhandledrejection"});case 7:t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](4),console.error("Logger:",t.t0);case 12:case"end":return t.stop()}}),t,null,[[4,9]])})))})),window.onerror=function(t,n,a,o,i){e.write({message:"object"===(0,r.A)(t)?t.type:t,stack:"".concat(n," ").concat(a,":").concat(o),type:"window-error",info:i})}}},{key:"write",value:function(t){var n=t.modal,r=void 0===n?!l.p8:n,i=m(t,["modal"]);return f(this,void 0,void 0,(0,o.A)().mark((function t(){var n,s,p,f;return(0,o.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.saveErrorLog.value){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,e.get();case 4:n=t.sent,s={error:Object.assign({},(0,u.A)(i,["name"].concat((0,a.A)(Object.getOwnPropertyNames(i))))),appVersion:"2.2.0",browser:(0,c.o0)(),platform:"web",time:Date.now()},v.v.set(l.d5.errorLog,[].concat((0,a.A)(n),[s])),!e.background&&r&&i.message&&(p=(0,d.U8)(),f=p.openErrorModal,f(s));case 8:case"end":return t.stop()}}),t)})))}},{key:"get",value:function(){return f(this,void 0,void 0,(0,o.A)().mark((function e(){return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,v.v.get(l.d5.errorLog);case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0=[];case 5:return e.abrupt("return",e.t0);case 6:case"end":return e.stop()}}),e)})))}},{key:"sendLog",value:function(){return f(this,void 0,void 0,(0,o.A)().mark((function t(){return(0,o.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.get();case 2:t.sent;case 4:case"end":return t.stop()}}),t)})))}}]),e}();g.saveErrorLog=(0,d.mv)().saveErrorLog},35306:(e,t,n)=>{"use strict";n.d(t,{a:()=>u});var a=n(2327),r=(n(26099),n(65563)),o=n(31189),i=n(50953),s=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},u=function(){var e,t=(0,i.KR)(!1);return function(){return s(void 0,void 0,void 0,(0,a.A)().mark((function n(){var i;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(null===window||void 0===window?void 0:window.browser)){n.next=21;break}if(!t.value){n.next=6;break}return n.next=4,(0,o.mU)(t);case 4:n.next=21;break;case 6:if(e||r.pb){n.next=21;break}return t.value=!0,n.next=10,window.browser.storage.local.get("state");case 10:if(n.t1=i=n.sent,n.t0=null===n.t1,n.t0){n.next=14;break}n.t0=void 0===i;case 14:if(!n.t0){n.next=18;break}n.t2=void 0,n.next=19;break;case 18:n.t2=i.state;case 19:e=n.t2,t.value=!1;case 21:return n.abrupt("return",e);case 22:case"end":return n.stop()}}),n)})))}}()},44416:(e,t,n)=>{"use strict";n.d(t,{r4:()=>u,l$:()=>o,KR:()=>i});var a=n(67746),r=n(65563),o=function(e,t){var n=(0,a.c)().addElement(t.enteringEl).fromTo("opacity",0,1).fromTo("transform","translateY(70%)","translateY(0px)").duration(r.dy),o=(0,a.c)().addElement(t.leavingEl).addElement(document.querySelector("#header")).fromTo("opacity",1,0).beforeStyles({filter:"blur(5px)"}).afterClearStyles(["filter"]).duration(r.dy),i=(0,a.c)().addAnimation(n).addAnimation(o);return i},i=function(e,t){var n=(0,a.c)().addElement(t.enteringEl).addElement(document.querySelector("#header")).fromTo("opacity",0,1).beforeStyles({filter:"blur(5px)"}).afterClearStyles(["filter"]).duration(r.dy),o=(0,a.c)().addElement(t.leavingEl).fromTo("opacity",1,0).fromTo("transform","translateY(0)","translateY(70%)").duration(r.dy),i=(0,a.c)().addAnimation(n).addAnimation(o);return i},s=100,u=function(e,t){var n=(0,a.c)().addElement(t.enteringEl).fromTo("opacity",0,1).duration(s),r=(0,a.c)().addElement(t.leavingEl).fromTo("opacity",1,0),o=(0,a.c)().addAnimation(n).addAnimation(r);return o}},44343:(e,t,n)=>{"use strict";n.d(t,{Ru:()=>u,eo:()=>l,tg:()=>c});var a=n(1287),r=(n(26099),n(47764),n(62953),n(46992));const o=JSON.parse('{"common":{"address":"Address","addressCopied":"Copied","ae":"AE","all":"All","allAddresses":"All account addresses","amount":"Amount","balanceUnavailable":"Unable to load balance.","buy":"Buy","by":"by","callData":"Call data","cancel":"Cancel","confirm":"Confirm","contractId":"Contract ID","copy":"Copy","days":"{n} days | {n} day | {n} days","edit":"Edit","faucet":"Faucet","fellowSuperhero":"Fellow Superhero","fundsAreSafe":"Keep calm! Your funds are safe with Superhero wallet.","hashCopied":"Hash copied","hours":"{n} hours | {n} hour | {n} hours","hoursShort":"{n} h","minutes":"{n} minutes | {n} minute | {n} minutes","minutesShort":"{n} mins | {n} min | {n} mins","next":"Next","nonce":"Nonce","of":"of","ok":"OK","pending":"Pending","priceNotAvailable":"price: n/a","receive":"Receive","search":"Search","seconds":"{n} seconds | {n} second | {n} seconds","secondsShort":"{n} s","send":"Send","smartContract":"Smart contract","swap":"Swap","browser":"Browser","title":"Superhero wallet","total":"Total","totalMultisig":"Total in multisig vaults","tx":"Tx","unrecognized":"Unrecognized","you":"You","verifying":"Verifying","max":"MAX","tokens":"tokens","transferSpeed":{"fast":"Fast","medium":"Medium","slow":"Slow"},"actionMayTakeFewMoments":"This may take a few moments.","backToHome":"Proceed to dashboard"},"connectionStatus":{"offline":"You are offline. Go online to get real time data.","node":{"error":"Unable to connect to the chosen node.","connecting":"Connecting to the node...","connected":"Connected"},"middleware":{"unavailable":"Middleware is offline."}},"badges":{"verified":"Verified","notVerified":"Not verified"},"dashboard":{"selectAccount":"Select active account","receiveCard":{"description":"from existing wallet","descriptionMultisig":"to multisig vault"},"sendCard":{"description":"assets to others"},"proposeCard":{"title":"Propose Tx","description":"to other signers"},"backUpCard":{"title":"Back up your seed phrase","description":"Make a copy of your seed phrase to be able to recover your wallet and avoid losing your funds.","button":"Back up now"},"daeppBrowserCard":{"title":"Browse the æcosystem","description":"Explore æpps from within your wallet with the new built-in browser.","button":"Browse"},"buyCard":{"title":"Buy AE coin","description":"Use Simplex to buy AE coins with your credit card or bank account.","button":"Buy AE"},"nameCard":{"title":"Claim your own .chain name","description":"Get a human-readable name for your account and receive funds with it.","button":"Claim a name"},"latestTransactionCard":{"title":"Latest transactions"},"pendingMultisigCard":{"title":"Pending multisig transaction"}},"multisig":{"backToMainAccounts":"Back to main accounts","showMultisigVaults":"Show multisig vaults","consensus":"Consensus","signatureRequested":"Your signature is requested.","transactionSigned":"You have signed the transaction.","transactionReady":"Transaction is ready to be sent","multisigVault":"Multisig vault","address":"Multisig vault address","version":"Contract version","currentNonce":"Current nonce","authorizedSigners":"Authorized signers","explorerLink":"View smart contract in blockchain explorer","consensusPending":"Consensus pending","multisigVaultCreationFailed":"Multisig creation failed","needForApproval":"Needed for approval","creatingAccount":"Creating account (pays for the transaction)","approved":"Approved","waitingToBeSent":"Waiting to be sent...","scanAddress":"Scan æternity address"},"modals":{"createAccount":{"title":"Add account","titleMultisig":"Add multisig vault","titleAeternityAccount":"Add æternity account","msg":"Please select blockchain to add an account address to.","msgMultisig":"Generate new multisig account address and add it to your wallet.","msgAeternity":"Generate new account address to store, send and receive crypto currency on the æternity blockhain.","btnSubtitle":"Derive another account from your seed","addProtocolAccount":"Add {name} account"},"transaction-failed":{"msg":"We cannot process this transaction. Please, try again later."},"required":{"msg":"Please fill in all fields."},"payloadInfo":{"title":"Payload message","msg":"A payload is an optional public message composed by the sender and sent to the recipient along with a blockchain transaction.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'}Payload can be utilized as additional transaction identifier, destination tag (required by some centralized exchanges when depositing funds), or just to provide any extra information in free-form text."},"payloadForm":{"title":"Add payload (optional)","desc":"Send a public message with your transaction for approx. 0.00000002 AE per character.","label":"Payload message","doneBtn":"Done"},"only-chars":{"msg":"Only letters and numbers are allowed."},"name-exist":{"msg":"This name is already registered."},"name-length":{"msg":"Names on SUPERHERO have to be a minimum of 13 characters."},"incorrect-address":{"msg":"Please make sure that you have entered a valid public address."},"incorrect-amount":{"msg":"Please make sure you entered a valid amount."},"insufficient-balance":{"msg":"You do not have enough balance for this transaction."},"vaultLowBalance":{"title":"Insufficient vault balance","msg":"The vault does not have enough funds to pay for this transaction (proposed amount + network fee)."},"accountLowBalance":{"title":"Insufficient funds","msg":"You don’t have enough AE on your signing account to {action} this transaction."},"createMultisigAccount":{"title":"Create new multisig vault","btnText":"Create multisig vault","btnTextShort":"Create vault","btnSubtitle":"Manage funds with multiple accounts","signer":"Signer","signerInputPlaceholder":"Signer\'s account address","addSigner":"Add Signer","selectAccount":"Select an account","addSignerHelpMsg":"Each multisig transaction needs to be confirmed by the signatures of a preset number of authorized accounts.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'}As the creator of this multisig vault you can determine the authorized signers and set the consensus required for a transaction confirmation.","consensusRequiredDesc":"Consensus required for tx confirmation:","consensusRequiredContent":"of {0} signatures","consensusRequiredHelpTitle":"Consensus required","consensusRequiredHelpMsg":"As the creator of this multisig vault you can determine the authorized signers and set the consensus needed for a transaction confirmation (how many signatures are required to confirm each transaction).","createMultisigVault":"Create Vault","errorDuplicatingSigner":"You can not add the same account address as a signer more than once.","errorDuplicatingInputMessage":"Duplicated account address","errorNotEnoughBalanceToCreateVault":"Not enough balance in this account. Creating multisig vault requires at least {0}."},"creatingMultisigAccount":{"title":"Creating vault progress","btnText":"Go to wallet dashboard","vaultAccessibleMessage":"Multisig vault has been successfully added to you wallet dashboard.","vaultCreatedMessage":"You may proceed to wallet dashboard.","vaultCreatedMessageSub":"Your newly created multisig vault will become visible to other authorized signers in a short period of time (usually it takes about a minute or two).","preparingMultisigVault":"Preparing multisig vault","deployingSmartContract":"Deploying smart contract","creatingMultisigVault":"Creating multisig vault account","addingToWallet":"Adding multisig vault to the wallet","addingToWalletCard":"Adding to wallet...","syncingVault":"Syncing multisig vault","takingLong":"This step may take a few moments.","syncing":"Syncing..."},"consensusInfo":{"title":"Multisig consensus","subtitle":" X/Y of Z","firstPoint":"{\'<\'}strong{\'>\'}X ={\'<\'}/strong{\'>\'} accounts that have already signed the transaction;","secondPoint":"{\'<\'}strong{\'>\'}Y ={\'<\'}/strong{\'>\'} number of signatures required to approve the transaction;","thirdPoint":"{\'<\'}strong{\'>\'}Z ={\'<\'}/strong{\'>\'} number of authorized signers.","description":"If {\'<\'}strong{\'>\'}X=Y{\'<\'}/strong{\'>\'} the multisig consensus has been reached. The transaction proposal has been approved and the transaction can be sent by any of the authorized signers."},"removeAccount":{"title":"Are you sure you want to remove this account?","msg":"This action will remove your account from the wallet and will delete the extension storage. Make sure you have backed up your seed phrase before proceeding. This action cannot be undone!"},"verify":{"title":"Verify your URL","msg":"Make sure that the public address of your Superhero wallet, or your .chain name, is added somewhere on the website you want to claim tips for."},"recipient":{"title":"Send cryptocurrency","ae-sub-header":"to public address or .chain name","sub-header":"to public {protocolName} address","msg":{"publicAddress":{"title":"Send to public address","msg":"{0} scan QR code or manually enter recipient’s account address."},"chain":{"title":"Send to .chain name","linkTitle":"claim your own .chain name","msg":"{0} AENS name is a human friendly nickname ending with .chain that points to recipient’s æccount. Before sending any funds make sure the recipient is still the name owner. You can also {1} and set a pointer to one of your public addresses!"}}},"readMore":{"msg":"{0} about tipping and claiming cryptocurrency tips.","linkTitle":"Read more"},"verified":{"title":"Verified URL","msg":"The Superhero wallet identifies this URL as verified. This means that æternity blockchain account address has been found on the webpage and tips can be successfully claimed by its owner."},"not-verified":{"title":"Not verified URL","msg":"This means that we could not find æternity blockchain account address at this URL. The URL owner will be able to claim all tips accumulated as soon as they add their account address to the web page content."},"blacklisted":{"title":"Inaccessible URL","msg":"The Superhero wallet can tip any public URL. Currently, web pages that require logging in to view information cannot be tipped. We\'re still working on solutions for this."},"not-secure":{"title":"Not secure URL","msg":"Superhero Wallet is marking HTTP sites as \\"Not secure\\" - please, use URLs with HTTPS, only. The S in HTTPS stands for \\"secure.\\" The TLS (or SSL) certificate proves that the server is actually the legitimate host of the website. Website using HTTPS are more trustworthy and secure, for both users and website owners."},"error-log":{"title":"Something went wrong","sub-title":"Be a Superhero!","content":"Please provide more information about the error you encountered so we can improve our superpowers. No personal data will be collected.","create-report":"Create report"},"donate-errors":{"title":"Your Error Report Has Been Sent","msg":"Thank you for being such a helpful Superhero!"},"donate-errors-error":{"title":"Your Error Report Was not send","msg":"There was problem sending your error report."},"invalid-qr-code":{"msg":"The scanned QR code is invalid."},"confirmTransactionSign":{"recipientId":"Recipient ID","commitmentId":"Commitment ID","nameFee":"Name fee","nameId":"Name ID","pointers":"Pointers","data-sign":"Data to sign","functionName":"Function name","arguments":"Arguments","superheroChat":"Superhero Chat","unableToExecute":"This transaction can not be executed.","confirmSigning":"would like you to confirm a transaction."},"confirm-raw-sign":{"title":"Sign raw transaction","warning":{"title":"Transaction Warning","content":"Transaction data is either broken or Superhero wallet doesn’t support this type of transactions yet. Signing it may cause unexpected results including loss of your funds or other malicious effects.{0}{0}Be careful and sign the data only if you trust the aepp and its owner."}},"qrCodeReader":{"grantPermission":"Grant camera permission","scanQr":"Scan QR code","subtitle":"Allow Superhero wallet to access your camera in order to scan QR codes.","settings":"Settings"},"name-pointers-help":{"title":"Name pointers","msg":"Name pointer associates a .chain name with an account address so that the name becomes human-readable alias of the address."},"auctions-help":{"title":"Auctions and bidding","msg":"If your .chain name is {\'<\'}strong{\'>\'}12 characters or less{\'<\'}/strong{\'>\'} – you’ve got to bid for it in an auction. To win the bidding process, all you have to do is have the highest bid once the auction ends! If somebody outbids you – all of your funds are automatically returned.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'}Auction periods and initial fees vary as the length of the name varies – the shorter the name, the higher the fee and longer the period."},"autoextend-help":{"title":"Autoextend name","msg":"In order to encourage the active usage of .chain names their ownership is limited in time by default.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'} Selecting the auto-extend option guarantees that you will not lose the ownership of a .chain name.{\'<\'}br /{\'>\'}{\'<\'}br /{\'>\'} Your .chain name will be auto-extended at the cost of a simple name update transaction (under a penny as you are taking advantage of the super-low transaction fees of aeternity blockchain)"},"receive":{"funds":"funds","title":"Receive {name} to public address","requestAmount":"Request specific amount (optional)","copied":"Copied!","share":"Share","shareTextNoAmount":"My {protocolName} address: {address} Or send with Superhero Wallet: {walletLink}","shareTextWithAmount":"{amount} {coinSymbol} has been requested. Send to {protocolName} address: {address} Or send with Superhero Wallet: {walletLink}"},"receiveMultisig":{"title":"Receive funds to multisig vault"},"send":{"sendTitle":"Send funds","sendAsset":"Send {name}","reviewTitle":"Review transaction","successTitle":"Transaction successfully submitted","recipientLabel":"Recipient","recipientPlaceholder":"Enter public address or .chain name","recipientPlaceholderUrl":"Enter public address, .chain name or URL","recipientPlaceholderProtocol":"Enter {name} public address","recipientPlaceholderENS":"or ENS name","transactionSpeed":"Transaction speed","transactionWillBeCompleted":"Transaction will be completed in ≈{time}.","payload":"Payload"},"multisigTxProposal":{"title":"Multisig transaction proposal","multisigVault":"Multisig vault","amount":"Propose amount","amountProposed":"Proposed amount","signingAddress":"Signing address","signingAccount":"Signing account","fee":"Proposal transaction fee","proposeAndApprove":"Propose and approve","tokenWarning":"Multisig transactions currently support AE coin only."},"wrongNetwork":{"title":"Network discrepancy","msg":"This action was initiated on a different network. Please switch to {0} in your wallet settings to proceed.","button":"Dismiss"},"accountDetails":{"assets":"Assets","assetsNotAvailable":"Assets list is not available offline.","transactions":"Transactions","transactionsNotAvailable":"Transactions history is not available offline.","names":"Names","namesNotAvailable":"Names list is not available offline.","details":"Details"},"claimGiftCard":{"title":"Redeem gift card","selectAccount":"Select account","balance":"Remaining card balance","amount":"Amount to redeem","redeem":"Redeem","redeemPartially":"Redeem partially","redeemFull":"Redeem full amount","redeemedBy":"{0} redeemed by","alreadyRedeemed":"This gift card has already been redeemed."}},"filters":{"out":"Out","in":"In","dex":"DEX","date":"Date","tips":"Tips","bid":"Bid","soonest":"Ending soon","length":"Name length"},"transaction":{"fee":"Transaction fee","advancedDetails":"Advanced transaction details","type":{"spendTx":"Spend","contractCreateTx":"Contract create","contractCallTx":"Contract call","namePreclaimTx":"Preclaim name","nameClaimTx":"Claim name","nameUpdateTx":"Update name","nameTransferTx":"Transfer name","nameRevokeTx":"Revoke name","oracleRegisterTx":"Register oracle","oracleExtendTx":"Extend oracle","oraclePostQueryTx":"Post query oracle","oracleRespondTx":"Respond oracle","channelCloseSoloTx":"Solo close channel","channelSlashTx":"Slash channel","channelSettleTx":"Settle channel","channelSnapshotSoloTx":"Solo snapshot channel","payingForTx":"Pay For Tx","gaMetaTx":"GA Meta Tx","gaAttachTx":"GA Attach Tx","multisigProposal":"Multisig Proposal","sentTx":"Sending","receivedTx":"Receiving","multisigVaultCreated":"Multisig vault created","createMultisigVault":"Create Multisig Vault"},"listType":{"sentTx":"Sent","receivedTx":"Received","namePreclaimTx":"Name preclaimed","nameClaimTx":"Name claimed","nameUpdateTx":"Name updated","nameTransferTx":"Name transferred","nameRevokeTx":"Revoke name","tipSent":"Tip sent","tipReceived":"Tip received"},"dexType":{"provideLiquidity":"Liquidity provided","removeLiquidity":"Liquidity removed","allowToken":"Allow token","changeAllowance":"Allow token","transferAllowance":"Allow token","deposit":"Deposit","withdraw":"Withdraw","pool":"Pool"},"spendType":{"out":"out","in":"in"},"function":{"propose":"Propose Tx","revoke":"Revoke Tx","refuse":"Disapprove Tx","confirm":"Approve Tx","tip_token":"tip_token","retip_token":"retip_token"},"overview":{"aens":"AENS","contractCreate":"Contract create","accountAddress":"Account address","superheroDex":"Superhero DEX"},"returnType":{"abort":"Failed","revert":"Reverted"}},"pages":{"titles":{"settings":"Wallet settings","language":"Language","about":"About","sendTip":"Send tip","terms":"Terms of Use","privacy":"Privacy Policy","currency":"Currency","notifications":"Notifications","auction":"Bidding","more":"More","networks":"Network","permissionsSettings":"Permissions","permissionsEdit":"Edit permissions","permissionsAdd":"Add permissions","commentNew":"Add comment","donateError":"Donate Data","address":"Send Address","signMessage":"Sign Message","signTransaction":"Sign Transaction","giftCards":"Gift cards","txDetails":"Transaction details","tokenDetails":"Token details","coinDetails":"Coin details","saveErrorsLog":"Save error log","resetWallet":"Reset wallet","seedPhrase":"Seed phrase","networkAdd":"Add custom network","networkEdit":"Edit network","notFound":"Feature not found","multisigProposalDetails":"Multisig Tx proposal details","appsBrowser":"Browse the æcosystem"},"errors-log-settings":{"description":"This will help us to identify what causes the errors. Thank you for being a fellow Superhero!"},"about":{"systemName":"Superhero","terms":"Terms","privacyPolicy":"Privacy","reportBug":"Report a bug","name":"Name","commit":"Commit","software-version":"Software version","sdk-version":"SDK version","middleware-version":"Middleware version","node-version":"Node version"},"account":{"heading":"account","accountName":"Account name","claim":"Claim Tip","latestTransactions":"Latest transactions","noTransactionsFound":"No transactions found!","balance":"Balance","secureYourAccount":"Secure your account","backupNow":"Back up now","seedNotification":"Welcome to Superhero wallet! Please backup your seed phrase!","backup":"backup","updateExtension":"New version available! Please update your extension.","updateAvailable":"Update available","updateAvailableText":"There is a new wallet version available for download in the store","claim-name":"Claim your .chain name"},"accounts":{"addAccount":"Add account","searchAccountsPlaceholder":"Search for account","addAccountDescription":"Add an account to your wallet to manage funds separately."},"vaults":{"addVault":"Add vault","addVaultDescription":"Add a multisig vault to your wallet to manage funds with multiple accounts."},"claim":{"claim":"Claim tips","noZeroClaim":"There are no tips to be claimed for this URL.","noAddress":"Address not found","errorClaim":"Error.","ae":"AE tokens","claimed":" Claim request sent! ","url":"URL","tipsOnUrl":"Tips on this URL","urlNotExisting":"No tips for this URL at the moment.","moreOracles":"There aren\'t enough active Oracles to verify your claim request. Please try again later.","oracleFailed":"Oracle service check claim failed. Please try again later.","unknownError":"Error occured during claim request. Please try again later.","noMobileClaim":"Claiming is currently only available on desktop."},"claimTips":{"title":"Claim tips","header":"You need to verify ownership of the URL before you can claim any tips.","urlToClaim":"Claim tips from this URL:"},"notFound":{"header":"Lost in space?","description":"The feature could not be found in this Universe. Keep calm and safely fly back home.","backToHome":"Return home","reportBug":"Report a bug"},"recentTransactions":{"title":"Recent transactions","viewMore":"View full transaction history","noTransactionsFound":"There are no recent transactions for this account.","searchPlaceholder":"Search transactions by asset name","unknownMode":"Unknown display mode type:","transactionListEnd":"There are no older transactions for this account."},"advancedSettings":{"heading":"Advanced","exportKeypair":"Export keypair","exportKeystore":"Export keystore"},"airGapSetup":{"heading":"AirGap Setup","step1heading":"Install AirGap on your phone","step1info":"Search for AirGap.it in the store or scan this QR code","setupSteps1heading":"Open AirGap on the 2nd device","setupSteps2heading":"Create secret key","setupSteps3heading":"Write it down in the right order","setupSteps4heading":"Add an aeternity wallet","setupSteps5heading":"Link your aeternity wallet","setupSteps1":"For security, turn off your internet connection before opening AirGap","setupSteps2":"No internet connection means maximum security for the key","setupSteps3":"You will need it for recovery","setupSteps4":"Tap wallet, add wallet, and choose aeternity","setupSteps5":"Finish by linking your vault to your aeternity address","linkVault":"Link Vault"},"auctionBid":{"backToAuctions":"Back to auctions","bidding":"Bidding","bidOn":"Bid on","current-highest-bid":"Current highest bid","remaining-time":"Remaining Time","ending-height":"Ending height"},"accountListConfirm":{"websiteRequestConnect":"would like to connect to your Superhero wallet.","addressesRequest":"This aepp is requesting access to view all of your account addresses.","message":"Make sure you trust the aepp provider before accepting the request."},"connectConfirm":{"title":"Allow access","websiteRequestConnect":"would like to connect to your account.","websiteRequest":"This website is requesting access to view your current account address. Always make sure you trust the website you interact with. ","cancelButton":"Deny","confirmButton":"Accept","transactionLabel":"Transaction","addressRequest":"This aepp is requesting access to view your current account address.","transactionRequest":"This aepp may prepare a transaction, you are in charge of confirming it.","websiteRequestAccounts":"would like to get account addresses","addressesLabel":"Addresses","addressesRequest":"This aepp is requesting access to view your account addresses","connecting":"Connecting"},"fungible-tokens":{"tokens":"Tokens | Token | Tokens","searchPlaceholder":"Search by token name or contract address","searchAssetsPlaceholder":"Search for assets","buyAe":"Buy AE","select-asset":"Select asset"},"token-details":{"details":"Token Details","proposeTx":"Propose Tx","tip":"Tip","token-details":"Token details","coin-details":"Coin details","token":"Token","name":"Name","coin":"Coin","token-description":"Token Description","community":"Community","decimals":"Decimals","available-supply":"Available supply","total-supply":"Total supply","max-supply":"Max supply","supply":"Supply","priceAe":"Price (AE)","price":"Price","volume":"Total Volume","volumeDaily":"Volume (24h)","feeDaily":"Fee (24h)","market-cap":"Market Cap","atl-change":"All time low","ath-change":"All time high","more":"More","poolShare":"Pool share","holders":"Holders","transactions":"Transactions","pooled":"Pooled"},"more":{"get-ae":"Get AE","dex":"Superhero DEX"},"names":{"default":"Default","balance-error":"Your account balance is not enough to execute this transaction.","pointer-added":"Name {type} successful!","auto-extend":"Auto-extend","tabs":{"my-names":"My names","auctions":"Auctions","register":"Register name"},"list":{"default":"Default","default-make":"Make default","valid-identifier-error":"Enter valid ae blockchain identifier","no-names":"There are no .chain names owned by this account. Would you like to register one?","register-name":"Register .chain name","name-hash":"Name code","pointers":"Pointers"},"details":{"created-height":"Created at height","expires-height":"Expires at height","set-pointer":"Set pointer","address-placeholder":"Enter ak_, ct_, ok_, ch_"},"claim":{"auto-extend":"Auto extend name","register-name":"Register .chain name","name-placeholder":"Enter .chain name","button":"Register name","button-price":"Register name for {0} AE","short-names":{"message":"Ownership of .chain names {0} will be acquired at an auction by the account that places the highest bid.","insertion":"shorter than 13 characters"}},"auctions":{"button":"Auctions","soonest":"Soonest","length":"Name length","bid":"Bid","expires":"Ends","no-auctions":"There are no .chain names for auction at the moment. Would you like to register one?","not-found":"Not found","current-bid":"Current bid","previous-bids":"Previous bids","bidding":"Go for bidding","bid-on":"Bid on","current-heighest-bid":"Current heighest bid","remaining-time":"Remaining Time","add-amount":"Enter amount","min-bid":"Bid must be more than {minBid} AE","bid-added":"Bid added successfully","place-bid":"Place bid","bid-history":"Bid history","bids-on":"Bids on"}},"languageSettings":{"chooseLanguage":"Choose Superhero wallet UI language."},"currencySettings":{"heading":"Currency","chooseLanguage":"Choose Superhero wallet fiat currency conversion. Conversion to XAU (gold) is also an available option."},"index":{"term1":"I agree to the Superhero ","term2":"Terms of Use","term3":"Privacy Policy","termsAndConditions":"Terms of Use","heading":{"message":"More than just a way to {0}, {1} & {2} on the {3}","receive":"receive","store":"store","send":"send tokens","aeternityBlockchain":"æternity blockchain"},"ready":"Ready to go?","go":"Go!","platforms":{"heading":"Download for your device","browser-extension":"Browser extension","mobile-app":"Mobile app"},"webVersion":"or continue with web version","securingAccount":"Securing your account","generateWallet":"Create new wallet","getStartedWithWallet":"Get started with Superhero Wallet","importWallet":"Restore existing wallet","enterSeed":"Enter seed phrase","passwordError":"Password must be at lest 4 symbols.","loginButton":"Login","seedPhrase":"Seed phrase","enterSeedPhrase":"Please enter the 12 words or more of your seed phrase (separated by spaces) in the correct order to restore your Superhero wallet.","continueButton":"Continue","continue":"Continue","importAccount":"Restore wallet","accountNotFound":"Account not found. Please check again your seed phrase.","invalidSeed":"Your seed phrase should consist of 12 words or more separated by spaces.","seedPlaceHolder":"Enter or paste your seed phrase here","scanSeedPhrase":"Scan Seed Phrase","restoringAccounts":"Restoring accounts..."},"ledgerSetup":{"ledgerConnectSetup":"How to connect from Ledger","ledgerAccount":"Add Ledger Account","ledgerSteps":"Steps","ledgerUsb":"Connect your Ledger via USB and unlock it","ledgerLedger":"Open the aeternity app on your Ledger","ledgerAccountCreate":"Create a first account by pressing the button bellow"},"notifications":{"wallet":"Wallet","superhero":"Superhero.com","commentOnComment":"replied to your comment.","commentOnTip":"commented on your tip.","tipOnComment":"tipped on your comment","retipOnTip":"retipped your tip.","claimOfTip":"claimed your tip.","claimOfRetip":"claimed your retip.","viewOnSuperhero":"View on Superhero.com","goToStore":"Go to store","noNotifications":"You do not have any unread notifications."},"notificationSettings":{"description":"Wallet notifications are always on by default and you are not able of turning them off.","description2":"You can choose below which notifications to receive from social platform Superhero.com.","commentOnTip":"Someone commented on your tip or post.","commentOnComment":"Someone replied to your comment.","retipOnTip":"Someone retipped to your tip.","wallet":"Wallet notifications (always on).","tipOnComment":"Someone tipped to your comment.","claimOfTip":"Someone claimed your tip.","claimOfRetip":"Someone claimed your retip."},"privacyPolicy":{"heading":"Privacy Policy","content":"Your privacy is important to us. It is Superhero\'s policy to respect your privacy regarding any information we may collect from you across our website and other sites we own and operate. We don\'t ask for personal information to provide a service to you. We don\'t collect and retain any information for providing your requested service. We don’t share any personally identifying information publicly or with third-parties. Our website and browser extension may link to external sites that are not operated by us. Please be aware that we have no control over the content and practices of these sites, and cannot accept responsibility or liability for their respective privacy policies. Your continued use of our website will be regarded as acceptance of our practices around privacy and personal information. If you have any questions about how we handle user data and personal information, feel free to contact us. This policy is effective as of 31 January 2020."},"seed-phrase-settings":{"verifyYourSeedPhrase":"Verify your seed phrase!","backToSettings":"Back to settings","heading":"Security and Privacy","privacyDataHeading":"Privacy Data","privacyDataSmall":"Clear privacy data so all websites must request access to view account information again.","privacyDataClearBtn":"Clear Privacy Data","privateKeyHeading":"Reveal Private Key","privateKeySmall":"You can view your private key after you enter your password","privateKeyRevealBtn":"Reveal Private Key","privateKeyWarning":"Do not share your private key with anyone, it can be used to steal all your accounts","privateKey":"Your private key","showPrivateKey":"Show Private Key","incorrectPassword":"Incorrect Password","decryptingPrivateKey":"Decrypting private key","seedRecoveryHeading":"Show seed phrase","seedRecoverySmall":"Your seed phrase is a combination of 12 words and serves as password to access and restore your wallet accounts.","seedRecoverySmall-2":"Never disclose this to anyone.","seedRecoverySmall-3":"Make sure you {0} on a piece of paper or in a file that no one else can see - but that you will never lose.","seedRecoverySmall-4":"Losing your seed phrase means losing access to your wallet and all funds in your accounts.","seedRecoverySmallBackItUp":"back it up in the correct word sequence","seedRecoveryBtn":"Show seed phrase","seedPhrase":"Your seed phrase","copy":"Copy to clipboard","this-your-seed-phrase":"This is your seed phrase. Keep it safe!","confirm-that-you-save-your-seed-phrase":"Confirm that you got your seed phrase correctly.","compose-your-seed-phrase":"Tap the words below {0} to compose your seed phrase.","in-correct-order":"in the correct order","seed-phrase-correct":"Seed phrase has been verified!","seed-phrase-incorrect":"Seed phrase words are not in the correct order. Please enter your seed phrase again!"},"seedPhrase":{"securingAccount":"Securing your account","attentionMsg":"Please make sure to keep your seed phrase safe! Superhero does not store and cannot recover your seed phrase for you. It is your responsibility to keep it safe. If you lose access to your seed phrase, you will lose access to your wallet and all your funds.","tips":"Tips on protecting your funds","tip1":"Save a backup in multiple places","tip2":"Remember your password to decrypt your wallet","tip3":"Never share your seed phrase with anyone","confirmSeedPhrase":"Confirm your seed phrase. Tap the words below to compose your seed phrase in the correct order.","recoveryPhrase":"Your recovery seed phrase","first":"first","second":"second","third":"third","dontLose":"Do not lose this seed phrase!","nextScreen":"To make sure you got it right, you will be asked to recreate this seed phrase in the next screen.","verifySeed":"Verify your seed phrase","doneThis":"I have verified seed phrase before","verify":"Verify seed phrase","seedConfirmed":"Seed phrase confirmed.","toDashboard":"Back to Dashboard","backUpYourSeedPhrase":"Back up your seed phrase {0} on a piece of paper or file that no one but you will ever see. Make multiple copies. Make sure you keep your seed phrase in a safe place!","inCorrectOrder":"in the correct order of 12 words","toBeSureYouGotItRight":"To be sure you got it right, you should {0} clicking on the button below!","verifyYourSeedPhrase":"verify your seed phrase"},"send":{"title":"Transaction has been submitted","subtitle":"You may check the status of your transaction in æternity blockchain explorer","success":"Success","viewInExplorer":"View in explorer","scan":"Scan QR code","review":"Review and send","reviewtx":"Review transaction","checkalert":"Please check the information carefully.","sender":"Sending address","recipient":"Receiving address","successAlert":"has been successfully sent to","receivingUrl":"Receiving URL","sending":"Sending","sendingTo":"sending to","sentTo":"have been successfully sent to","sendingCryptoToUrl":"Sending tip to URL","tipInfo":"Your transaction will be publicly displayed as URL tip on {0}","to":"To","hash":"Transaction Hash","messageUrlOwner":"Message the URL owner (optional)","scanAddress":"Scan the recipient’s account address QR code in order to send {assetName} to them.","error":"Invalid AE address or AENS name","confirm-sending-to-same-account":"Are you sure you want to send tokens to your own address?"},"signTransaction":{"unknownAccount":"Unknown","name":"Name","nameSalt":"Name Salt","nameId":"Name Id","reject":"Reject","contractCall":"Contract call","contractCalling":"Calling contract method. Please do not close the window","insufficientBalance":"Insufficient Balance","incorrectAddress":"Incorrect address","compiledCode":"Compiled Code","callData":"Call Data","payload":"Payload","newContract":"New Contract","aens":"AENS","balanceError":"Your account balance is not enough to execute this transaction.","maxSpent":"Maximum spent","minReceived":"Minimum received","from":"From","to":"To","approveUseOfToken":"Approve use of token","approveUseOfTokens":"Approve use of tokens","maximumDeposited":"Maximum deposited","poolTokenSpent":"Pool token spent","minimumWithdrawn":"Minimum withdrawn"},"termsOfService":{"terms-of-use":"Terms of use","terms-with-quotes":"(„TERMS“)","terms":"terms","sub-heading":"The present @:termsOfService.terms-of-use were created on 3 April 2020.","section0Content":"@:termsOfService.superhero-com reserves its right to modify and update these @:termsOfService.terms-of-use according to the policy and practice of the @:termsOfService.company. The new version of thе @:termsOfService.terms-of-use becomes effective from the day it is announced on @:termsOfService.our-superhero-wallet unless stated otherwise.","superhero-com":"Superhero.com LVC","company":"company","our-superhero-wallet":"Our Superhero Wallet","section01Content":"THE SOFTWARE IS PROVIDED BY SUPERHERO.COM LVC “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","section02Content":"These @:termsOfService.terms-of-use @:termsOfService.terms-with-quotes apply exclusively for the @:termsOfService.superHero-wallet (hereinafter referred to as the “@:termsOfService.wallet“ or the “@:termsOfService.application”) and all the content available on the @:termsOfService.website-extension. Please make sure that you have carefully read the @:termsOfService.terms before using the @:termsOfService.application. Otherwise, by using it, we consider these actions implicit agreement to the @:termsOfService.terms-of-use. These @:termsOfService.terms-of-use represent a binding agreement between you, the legal entity you represent and the legal entity that registered you (collectively „@:termsOfService.you“) and Superhero.com LVC @:termsOfService.superhero-we-us-with-quotes or @:termsOfService.our-with-quotes in connection to your use of the @:termsOfService.superHero-wallet @:termsOfService.website-extension.","superHero-wallet":"Superhero Wallet","wallet":"Wallet","application":"application","website-extension":"website extension","you":"you","superhero-we-us-with-quotes":"(“Superhero”, “we”, “us”","our-with-quotes":"“our”)","section1Title":"1. Definitions","section1Content":"1.1. Superhero.com Establishment (Superhero.com ”, “we”, “us”, “our” or “the company”) ​is a company with email address for communication related to Superhero Wallet: superherowallet{\'@\'}protonmail.com. Superhero.com ​is the company, which created and developed Superhero Wallet​. \\n 1.2. ​„USER“ or ​„YOU“ means a natural or legal person, who has downloaded and uses the Superhero Wallet ​website extension. \\n 1.3. „​Blockchain​“ means the list of records, also known as ​blocks,​ which are linked with the method of cryptography. The technology allows large groups of people to connect and reach agreement on data, which is afterwards permanently recorded without the presence of central authority. ​USERS can access, create and save information on the aeternity blockchain. The decentralized, distributed and public digital ledger is used for the purpose of recording transactions in blocks of information with the help of ​Validators​, which cannot be altered retroactively. \\n 1.4. Superhero Wallet​” (“​WALLET​” or “​the application​”) is a website extension, which allows supporters to send value to content creators, causes, charities, groups, or regular individuals online as a reward for contributing accurate information, relevant insights, quality content. The website extension is a piece of software which acts as an add-on to the web browser Firefox and contributes to the browser’s additional functionality. The application is available at: https://addons.mozilla.org/en-US/firefox/addon/superhero-wallet-extension/ . The results of the donations and comments are published on the website ​https://superhero.com/​ . \\n 1.5. “​Validators​” are independent physical persons or entities, which are not in any way part of Superhero.com . ​Their function in the system includes responsibility for ​blocks constitution and broadcast of these ​blocks​ with the​ aeternity ​network. \\n 1.6. “​Account address​” is a hashed version of the ​USER’s ​public key​, used to identify USERS​ on ​the application​. \\n 1.7. “​Keys​” represent uniquely related private and public cryptographic keys of random numbers used for encryption and decryption of information.","section2Title":"2. GENERAL PROVISIONS","section2Content":"Superhero.com ​designed and built ​the application as a cryptocurrency wallet through which ​USERS can store and send Superhero.com tokens for the purpose of conducting donations to creators, causes, charities, groups, or regular individuals online as a reward for contributing accurate information, relevant insights, quality content​. USERS can donate to different websites through the application. The application automatically searches for the public key of the website for the purpose of the donation. The donations can be oriented in two flows as it follows- ​USERS can tip the owner of the whole website or ​USERS can choose specific creators and authors on the website who have written the news to whom to send the tokens. \\n After that, the website ​https://superhero.com/ reflects the ​USERS’ donations and comments and gives the possibility for other ​USERS to actively donate and comment on the news available on the newsfeed of the Website. \\n USERS ​can browse through their transaction history. ​The Wallet displays the ​USER’s tokens​. ​USERS​ are in charge of the safe storage, sending and receiving of funds. \\n The application is built for small transactions. High volume transactions or storage can be undertaken via the application at the ​USER’s​ own risk.","section3Title":"3. USERS IDENTIFICATION","section3Content":"The application uses ​Account address​ for identification of ​USERS​. \\n For ​USERS to send Superhero.com tokens, they should share only their account address. Any other information is not shared or collected by the application. Once a ​USER has downloaded the application, the ​Wallet ​automatically generates the account address. ​For more information about the processing of the account address, please read the Privacy Policy of the application.","section4Title":"​4. USERS OBLIGATIONS","section4Content":"As a ​USER​, ​You​ agree to the following rules applicable for Superhero.com ​: \\n ● You ​shall comply with the rules set within the present ​TERMS and perform any actions on the application in good faith and according to the applicable legislation; \\n ● You are an adult and ​YOU are not persons under judicial disability (​You have obtained full legal capacity); \\n ● You shall not try to obtain or gain access over any personal or identifiable information, including but not limited to recover passphrases, from other ​USERS​, nor shall ​You​ disclose such information about yourself; \\n ● You shall not in any way compromise or exploit the application or use the application for any illegal activity or outside the purpose for its creation; \\n ● Your actions do not in any manner mislead into thinking that ​You are another person or company; ​You shall not purposefully provide information by using another person’s recover phrases, account addresses, etc. with the purpose of representing as somebody else. Superhero.com ​shall undertake any possible action against such identity thefts and frauds in case ​the company​ suspects a ​USER​; \\n ● the device ​You use does not contain or install any viruses, worms, malware, Trojan horses or other harmful or destructive content; \\n USERS​ shall be liable for any action undertaken in violation of the present article.","section5Title":"5. WARRANTY and LIABILITY DISCLAIMERS","section5Content":"\\n General Disclaimer: The Superhero.com ​network is open-source, public and permissionless blockchain, meaning that anyone can download, participate, develop, improve and validate transactions on the blockchain. Superhero.com ​cannot and does not control in any way the transactions conducted by USERS​. Superhero.com ​does not ensure the trustworthiness and validity of the same. Please, bear in mind that every ​USER is solely responsible for the actions undertaken on the application and the information presented by them. \\n Password and Security Disclaimer: ​USERS take responsibility for their digital security. The application ​gives the possibility to set up a recovery passphrase, consisting of random unique combination of words. The purpose of the recovery passphrase is to restore the access to the account, once the ​USER has lost access to the original ​Wallet​. Superhero.com does not collect the private keys or the recovery passphrases and shall not be treated under any circumstances as a custodian wallet provider. ​WE HIGHLY RECOMMEND ALL USERS TO SET UP A RECOVERY PASSPHRASE AND PROTECT IT. ​Therefore​, USERS should store their recovery passphrase offline safely. Please bear in mind that if a USER has not set up a recovery passphrase for backup or they have forgotten the recovery passphrase and its exact wording, the access to their accounts can be permanently restricted. The lack of access does not mean in any way that the Superhero.com tokens ​are lost. The ​tokens ​remain available, however, they cannot be controlled, transferred and any other action with them cannot be undertaken. Superhero.com ​shall not be held liable in any case of lost, forgotten or misspelled recovery passphrases. In addition, ​USERS ​must not share their recovery passphrase with anyone. Superhero.com ​should not be liable for any claim, damages or other liability, tort or otherwise, arising from, out of or in connection with the impossibility of ​USERS to regain access to their account​ on the ​Wallet​. \\n Please bear in mind that the option “Already have an account? Retrieve existing account” is applicable only in case the ​USER​ has a recovery passphrase. \\n Decentralization and Control Transparency Disclaimer: ​Blockchain technology is decentralized by nature- which means that the makers of ​the Wallet cannot access or freeze your account; recover or reset your recovery passphrase; reverse, cancel or refund transactions. Only ​USERS are in charge of the safe storage and sending of their funds. By agreeing to the present ​TERMS​, ​USERS accept and guarantee to defend, indemnify and hold Superhero.com ​harmless from and against any and all claims, costs, expenses, including but not limited to attorneys’ fees, damages, etc., related to or arising from the use of ​the application​. \\n Access and Connectivity Disclaimer: ​The Wallet ​can be downloaded from https://addons.mozilla.org/en-US/firefox/addon/superhero-wallet-extension/​. Please bear in mind that the website can delist or remove ​the application in their own estimation, making it difficult to receive updates. Devices on which the ​Wallet is installed are likely to be harmed by malware/spyware/viruses/cyber-attacks, etc. or during technical support. Damage or loss of the device can possibly result in loss of funds or endanger them. Therefore, please refer to section Password and Security Disclaimer in regard to recovery passphrases. Superhero.com ​is not responsible for any of the above-mentioned access and connectivity troubleshooting. Therefore, ​WE shall not be held liable for any loss of data on ​the application ​caused in these cases. \\n Cryptocurrency Guidance Disclaimer: The content presented on the application is not intended to be used as guide for cryptocurrency investments or signing of other legal agreements in connection to cryptocurrencies. Superhero.com ​does not offer business advices, which can be used as a legal basis for any investments or agreements in the sphere. Superhero.com ​shall not be held liable in any case of negative consequences from transactions or non-compliance with obligations of legal agreements signed by ​YOU​, including but not only losses, tort, revenue, income or profits loss arising out of the contracts/ transactions/investment acts/agreements. \\n Jurisdiction and Regulatory Disclaimer: ​The access to ​the application is granted worldwide. The use of the application may be technically restricted or prohibited in certain territories and countries depending on the different legal acts. Please, bear in mind that you have to inform yourself about such legal restrictions and you are liable solely in case of a breach of any legal norms. The access to our website is prohibited provided the access point is in a territory where the content is illegal. Superhero.com ​does not have the obligation to control the legislation applicability according to each access point of ​USERS and shall not be held liable in these circumstances. \\n USERS understand and accept that the legislation on a national, regional and international levels can introduce new regulations with an object- blockchain technology, tokens, blockchain technology based applications, etc. Therefore, in case of regulatory restrictions, bans and prohibitions, the Superhero.com ​Network development shall be immensely influenced, probably causing its termination. Taking into account the above-mentioned, ​USERS understand that there is no assurance that they will constantly or for indefinite period of time receive any functionality through ​the application ​or the​ Superhero.com tokens​ held by them. \\n Risks​: USERS understand and agree with the risks related to Superhero.com ​Contribution and/or with the allocation, use and ownership of Superhero.com tokens ​and guarantee to relieve of responsibility Superhero.com in these cases. The risks mentioned within the present ​TERMS​ are not comprehensive: \\n ● Risk of software weaknesses​: ​USERS understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the blockchain technology, incorporating all elements and ​the application are in a constant development process. There is no warranty that the receipt and transfer of Superhero.com tokens ​shall be uninterrupted or error-free at all times. ​USERS accept and guarantee to dispense of responsibility Superhero.com ​for any software or technology weaknesses, malfunctions, vulnerabilities or bugs, which can cause complete or partial loss of Superhero.com tokens. \\n ● Risk of theft: ​USERS understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the application, the Superhero.com ​Network and the other blockchain technology related elements may be exposed to hacker attacks or other harmful individuals. These actions could result including but not limited to theft or loss of Superhero.com tokens. \\n ● Risk of mining attacks: ​USERS understand and accept that due to Superhero.com ​blockchain based system, it may be susceptible to mining attacks, including but not limited to double-spend attacks, majority mining power attacks, \'selfish-mining\' attacks, and race condition attacks. Any of the above-mentioned attacks could for example result in disturbance of the transactions on ​the application​. \\n ● Risk of phishing attacks and ​forks​: ​USERS understand and accept that the application can be an object of phishing attacks. Highly possible results are the steal of data and credentials. The phishing attacks represent masquerade of an attacker as an authentic and trusted entity and the creation of an application/ website with high percentage of resemblance with the original one. ​USERS should be careful when they download and use ​the ​application​. ​USERS can identity the authentic Wallet ​by verifying that the developer on the marketplace is Superhero.com / Superhero.com LVC. \\n Due to the fact Superhero.com blockchain is public and permissionless, any person has the possibility to create a “​fork​”. Any developer can copy and develop the source code resulting in the formation of a distinct and separate software. ​USERS understand and accept that Superhero.com ​cannot avoid the creation of such ​forks and is not responsible for them. Superhero.com ​shall not be held liable for any losses and/or damages resulted from the use of ​forks​.","section6Title":"6. TAXES AND FEES","section6Content":"The Wallet does not collect any fees or taxes for the use of ​the application- ​it is free of charge. However, taxes and fees are payable for the transactions on the Superhero.com blockchain including but not limited to miner fees, gas tax, transaction fee. The amounts of the taxes and fees are fixed unilaterally. \\n In addition, depending on the territory access point, the transfer and receipt of funds through the application may be an object of tax and fee payments to public authorities in different countries depending on the legal regulations. ​USERS are obliged to inform themselves about such requirements and are solely responsible for their donations.","section7Title":"7. THIRD-PARTY PLATFORMS","section7Content":"In order to donate, ​USERS should copy and paste in the Section “Send a tip to” the URL of a website to which they would like to donate. Please bear in mind that the applications is created in order for people to stimulate the full, transparent, useful and accurate information worldwide. Therefore, ​USERS shall be fully liable for any use of the ​Wallet in violation of the purpose of the ​Wallet and the present Terms. Superhero.com ​does not control the websites the donations are sent to. Superhero.com ​is not responsible for the content on the websites in any way.","section8Title":"8. LICENSE","section8Content":"The application is created, developed and operated by Superhero.com ​. Each component on the application including but not limited to logos, trademarks and other intellectual property displayed on the application are considered a property of Superhero.com ​and are protected by the applicable intellectual property legislation. It is prohibited to use any intellectual property of Superhero.com ​before a prior explicit consent from the latter. \\n None of the elements mentioned above can be edited, downloaded, reproduced, used for commercial purposes, distributed and transmitted in any manner and/or any medium whatsoever, partially or in whole, without the explicit prior written consent of Superhero.com. \\n Superhero.com ​reserves its right to take any necessary legal action against intellectual property infringement.","section9Title":"9. INTELLECTUAL PROPERTY RIGHTS","section9Content":"USERS understand and accept ​the application can be periodically modified, updated, maintained or technically supported, which could to some extent influence the use of the Wallet​, the visual representation of ​the application ​or could result in malfunction. In the latter case, if ​You as a ​USER notice any change in the funds, settings, accounts or any other information on the application, please superherowallet{\'@\'}protonmail.com​ for assistance.","section10Title":"10. MODIFICATIONS","section10Content":"The legislation and jurisdiction of Liechtenstein is applied for the issues outstanding the present ​TERMS​. The invalidity of one or more clauses/ provisions in the ​TERMS does not lead to the invalidity of the whole agreement. \\n The Privacy Policy is an inseparable part of the present ​TERMS and should be considered as a complementary document with compulsory character. Unless explicitly stated otherwise in the Privacy Policy, all rules from the ​TERMS​ apply respectively.","section11Title":"11. FINAL PROVISIONS"},"tipPage":{"url":"Send tip to","claimingExplanation":"With Superhero wallet URL owners will be able to claim all tips from the URL as soon as their account address can be found on the page.","maxNoteLengthError":"Please enter a message below 280 characters.","minAmountError":"Tips should be over 0.01 USD in tokens."},"transactionDetails":{"poolFee":"pool fee","heading":"Transactions Details","type":"Type","txHash":"Tx hash","transactions":"Transactions","backToTransactions":"Back to Transactions","explorer":"View transaction in blockchain explorer","txName":"Name","name":"Name","nameSalt":"Name Salt","nameId":"Name Id","advancedMode":"Advanced Mode","blockHeight":"Block height","signatures":"Signatures","nonce":"Nonce","callData":"Call Data","gasUsed":"Gas used","gasPrice":"Gas price","code":"Code","abiV":"Abi version","vmV":"Vm version","payload":"Payload","commitment":"Commitment id","clientTtl":"Client TTL","nameTtl":"Name TTL","pointerId":"Pointer Id","pointerKey":"Pointer Key","moreInfo":"More Info","hash":"Hash","status":"Status","revert":"Reverted","revertInfo":"Transaction has been reverted. All states returned to the state before the transaction.","failed":"Failed","reason":"Reason","tipUrl":"Tipped URL","timestamp":"Timestamp","poolTokenReceived":"Pool token received","poolTokenSpent":"Pool token spent","approveTokenUse":"Approved use of token","deposited":"Deposited","withdrawn":"Withdrawn","rates":"Rates","swapRoute":"Swap route","feePaidBy":"Transaction fee paid by","vaultContractId":"Vault contract Id"},"proposalDetails":{"receivingAddress":"Receiving address","proposedBy":"Proposed by","revoke":"Revoke","revokeTransaction":"Revoke transaction proposal","refuse":"Disapprove","sign":"Approve","expiresAt":"Expires at height","infoBox":{"signatures":"signatures","signature":"signature","expired":"Transaction proposal has been expired!!","pending":"Pending consensus: {0} more {1} is required to approve the transaction proposal.","approved":"Transaction proposal has been approved by the required number of authorized signers. Transaction can be sent by any of the authorized signers.","revoked":"Transaction proposal has been disapproved by {0} out of {1} required authorized signers. ","proposingAccountRevoked":"Transaction proposal has been revoked by the proposing account.","justRevoked":"Transaction proposal has been revoked.","completed":"Transaction has been successfully sent."},"signDialog":{"title":"Approve transaction proposal","formSelectText":"Signing account","btnText":"Approve","msg":"Approve transaction proposal?","cannotDoActionWithSelectedAccount":"Cannot approve the transaction proposal with the selected account!","selectedAccountAlreadyDoneThisAction":"The selected account already signed this transaction proposal!"},"revokeDialog":{"title":"Revoke transaction proposal","formSelectText":"Signing account","btnText":"Revoke proposal","msg":"Are you sure you would like to revoke the transaction proposal?","cannotDoActionWithSelectedAccount":"Cannot revoke transaction with the selected account!","selectedAccountAlreadyDoneThisAction":"The selected account already revoked this transaction!"},"refuseDialog":{"title":"Disapprove transaction proposal","formSelectText":"Signing account","btnText":"Disapprove","msg":"Are you sure you would like to disapprove the transaction?","cannotDoActionWithSelectedAccount":"Cannot disapprove this transaction proposal with the selected account!","selectedAccountAlreadyDoneThisAction":"The selected account already disapproved this transaction proposal!"}},"transactions":{"heading":"Transaction history","filters":"Filters","loadMore":"Load More","allLoaded":"All transactions loaded.","newTransactions":"new transactions","noTransactions":"No transactions found","type":"Type","incoming":"Incoming","outgoing":"Outgoing","spendType":"Spend Type","spexdTx":"spend tx","namePreclaim":"name preclaim tx","nameClaim":"name claim tx","nameUpdate":"name update tx","createTx":"create tx","clear":"Clear filter","apply":"Apply filter","sent":"Sent","received":"Received","search":"Search by token"},"popupMessageSign":{"title":"Sign message","heading":"would like to sign message.","message":"Message"},"network":{"connectToNetwork":"Connect to network","connectTo":"Connect to {name}","connectedTo":"Connected to {name}","listLabel":"Choose between æternity’s Mainnet and Testnet or add custom node to connect to. Only add custom networks you trust to avoid malicious providers.","formLabel":"Fill in the custom node details in the fields below. Make sure to add only trusted custom networks.","thirdPartyDetails":"Network details below have been provided by a third party. Make sure you trust the network provider to avoid malicious behavior resulting in lose of funds.","delete":"Delete","middleware":"Middleware","allNetworks":"Your networks","addCustomNetwork":"Add custom network","addNetwork":"Add network","apply":"Apply","networkNamePlaceholder":"Enter network name","networkNameLabel":"Network name","networkUrlPlaceholder":"Enter network URL","networkUrlLabel":"Network URL","networkMiddlewarePlaceholder":"Enter network middleware URL","networkMiddlewareLabel":"Network middleware","backendUrlPlaceholder":"Enter tipping Backend URL","backendUrlLabel":"Tipping backend","chainIdPlaceholder":"0x1","chainIdLabel":"Chain id (hex)","showTippingConfig":"Show Tipping Configuration","hideTippingConfig":"Hide Tipping Configuration","save":"Connect","error":{"networkExists":"Network with this name exist","invalidHostname":"Invalid hostname","enterName":"Enter network name"},"confirmDelete":"Are you sure you want to delete this custom network?","moreNetworks":"More","viewAndManage":"View and manage all networks"},"donate-error":{"error-report":"Error Report:","error-placeholder":"Describe what were your actions before the error occurred (optional).","data-collected":"Data Collected","browser":"Browser version","details":"Technical details:","donate":"Donate Data"},"invite":{"generate-link":"Generate new gift card","generate":"Generate gift card","created-links":"Gift cards","top-up":"Top up","collapse":"Collapse","claim":"Claim Back","insufficient-balance":"Insufficient balance","insufficient-invite-balance":"This invite Link expired and the Tokens are already claimed.","tip-attached":"Gift card amount","top-up-with":"Top up with","delete":"Delete"},"permissions":{"login":"Don\'t ask for login requests","message-sign":"Auto-sign messages","addressList":"Don\'t ask for list of all addresses","daily-spending-limit":"Daily spending limit without asking","transaction-sign":"Limit for spending without asking per day","spent-today":"Spent today","left-today":"Left today","delete":"Remove permission","add":"Add permission","add-description":"Use this feature with caution and only for platforms you trust.","empty":"You aren\'t connected to any aepps","description":"Manage confirmation popups and daily spending limits. For security reasons use this feature with caution only for trusted platforms such as {0} and your localhost environment.","custom-name":"Custom name","enter-custom-name":"Enter custom name of your choice","permissions-for-url":"Permissions for URL","enter-url":"Enter URL","always-ask":"always ask"},"resetWallet":{"title":"Reset wallet","description":"This action will remove all accounts from your wallet and delete the extension storage.","description2":"Make sure you have backed up your {0} before proceeding. This action cannot be undone!","warning":"This action will remove all accounts from your wallet and delete the extension storage.\\n This action cannot be undone!","warningConfirm":"Are you sure you would like to proceed?","reset":"Reset"},"appsBrowser":{"popularApps":"Featured","recentApps":"Latest visited","inputPlaceholder":"Enter URL"},"warningDappBrowser":{"title":"You are going to visit a \\n third-party website","warning":"Superhero Wallet is not liable for failures in this or any other third-party website as stated in the Superhero wallet {0}.","warning2":"By interacting with this or any other third-party website you agree to be subject to its Terms and Privacy Policy.","decline":"Decline"}},"dappActionBrowser":{"refresh":{"title":"Refresh","description":"Reload contents of the page"},"bookmark":{"title":"Add bookmark","description":"Add this page to your favorites"},"share":{"title":"Share","description":"Share this page with your contacts"}},"validation":{"formInvalid":"One or more fields above are not valid. Please review the information you entered.","required":"This field is required","url":"Invalid URL","address":"Enter valid blockchain address or .chain name","name":"Enter valid .chain name","nameRegisteredAddress":"Invalid address or .chain name","nameUnregistered":"This name has already been registered.","addressNotSameAs":"Sender and receiver address are the same. You will send {0} to your own account.","tokenToAnAddress":"Unfortunately you can only send AEX-9 Tokens to an address","addressGeneric":"Invalid {protocol} address","minValue":"This field must be {0} or more","minValueExclusive":"This field must be more than {0}","enoughCoin":"Not enough {0} balance","enoughAeSigner":"Insufficient balance on your signing account to propose a transaction","maxLength":"The value should be no longer than {0} characters","maxValue":"This field must be {0} or less","hexFormat":"The value should be in hex format","maxRedeem":"Maximum redeemable amount is {0} AE.","maxValueVault":"Amount is exceeding the vault\'s balance: {0}","notToken":"Tokens are currently not allowed, please switch to AE","invalidAddressChainUrl":"Invalid address, .chain name or URL","invalidAddress":"Invalid account address","doesNotExceedDecimals":"Amount should not exceed {0} decimals"}}');var i={en:"en",cn:"cn"},s=i.en,u=(0,r.hU)({allowComposition:!0,fallbackLocale:s,locale:s,messages:{en:o}}),c=u.global.t,l=(0,a.A)((0,a.A)({},i.en,{name:"English",getMessages:function(){return o}}),i.cn,{name:"中国人",getMessages:function(){return n.e(625).then(n.t.bind(n,1659,19))}})},78904:(e,t,n)=>{"use strict";n(23792),n(3362),n(69085),n(9391),n(35726);var a=n(55096),r=n(1287),o=(n(51629),n(5506),n(26099),n(23500),n(65563)),i=n(32118),s=n(2327),u=n(41417),c=n(13217),l=n(6624),d=n(217),p=(n(62953),n(52675),n(16280),n(76918),n(18107),n(28706),n(2008),n(74423),n(25276),n(62062),n(94490),n(59089),n(23288),n(94170),n(33110),n(9868),n(67357),n(21699),n(47764),n(11392),n(5582)),v=n(41805),f=n(67892),m=n(24007),g=n(91087),h=n(57889),A=n(43089),k=n.n(A),y=n(52347),b=n(12717),w=n(75265),C=(0,c.A)((function e(){(0,u.A)(this,e)})),x=n(44343),L=n(31189),S=n(12589),T=n(59755),E=n(12533),I=n(41549),_=n(58338),W=n(48287)["Buffer"],F=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},D=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0&&void 0!==arguments[0]?arguments[0]:{},t=e.highPrecision,n=e.amount;return t||n&&n<.01?9:2}},{key:"getUrlTokenKey",value:function(){return T.kf}},{key:"getCoinGeckoCoinId",value:function(){return T.GO}},{key:"getDefaultCoin",value:function(e,t){return Object.assign(Object.assign({},(null===e||void 0===e?void 0:e[o.yv.aeternity])||{}),{protocol:o.yv.aeternity,contractId:this.coinContractId,decimals:this.coinPrecision,name:this.coinName,symbol:this.coinSymbol,convertedBalance:t})}},{key:"getNetworkSettings",value:function(){return this.networkSettings}},{key:"getNetworkTypeDefaultValues",value:function(e){return T._c[e]}},{key:"fetchBalance",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,w.C)(),a=n.getAeSdk,t.next=3,a();case 3:return r=t.sent,t.next=6,r.getBalance(e);case 6:return o=t.sent,t.abrupt("return",(0,_.c4)(o));case 8:case"end":return t.stop()}}),t)})))}},{key:"isAccountAddressValid",value:function(e){return(0,f.pL)(e,v.W.AccountAddress)}},{key:"isValidAddressOrNameEncoding",value:function(e){return(0,f.pL)(e,v.W.ContractAddress)||(0,f.pL)(e,v.W.AccountAddress)||(0,f.pL)(e,v.W.Name)}},{key:"isAccountUsed",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,w.C)(),a=n.getDryAeSdk,t.next=3,a();case 3:return r=t.sent,t.abrupt("return",r.api.getAccountByPubkey(e).then((function(){return!0}),(function(){return!1})));case 5:case"end":return t.stop()}}),t)})))}},{key:"getHdWalletAccountFromMnemonicSeed",value:function(e,t){var n=(0,m.An)(e,t);return Object.assign(Object.assign({},n),{publicKey:W.from(n.publicKey),secretKey:W.from(n.secretKey,"hex"),address:n.publicKey})}},{key:"discoverLastUsedAccountIndex",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,L.yU)(this.isAccountUsed.bind(this),this.getHdWalletAccountFromMnemonicSeed.bind(this),e);case 2:return n=t.sent,t.abrupt("return",n>-1?n:0);case 4:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAvailableTokens",value:function(){return F(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=(0,I.ef)(),n=t.fetchFromMiddleware,e.t0=k(),e.next=4,(0,L.Ey)((function(){return n("/v2/aex9?by=name&limit=100&direction=forward")}),n);case 4:return e.t1=e.sent,a=(0,e.t0)(e.t1),e.abrupt("return",(a||[]).map((function(e){return Object.assign(Object.assign({},e),{protocol:o.yv.aeternity})})));case 7:case"end":return e.stop()}}),e)})))}},{key:"fetchAccountTokenBalances",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,I.ef)(),a=n.fetchFromMiddleware,t.prev=1,t.t0=k(),t.next=5,(0,L.Ey)((function(){return a("/v2/aex9/account-balances/".concat(e,"?limit=100"))}),a);case 5:return t.t1=t.sent,r=(0,t.t0)(t.t1),t.abrupt("return",r.map((function(t){var n=t.amount,a=t.contractId,r=t.decimals;return{address:e,amount:n,contractId:a,convertedBalance:+(0,L.k0)((0,L.Y9)(n,-r)),protocol:o.yv.aeternity}})));case 10:t.prev=10,t.t2=t["catch"](1),(0,L.fY)(t.t2);case 13:return t.abrupt("return",[]);case 14:case"end":return t.stop()}}),t,null,[[1,10]])})))}},{key:"transferToken",value:function(e,t,n,a){return F(this,void 0,void 0,(0,s.A)().mark((function r(){var o,i,u,c;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return o=(0,w.C)(),i=o.getAeSdk,r.next=3,i();case 3:return u=r.sent,r.next=6,u.initializeContract({aci:b,address:n});case 6:return c=r.sent,r.abrupt("return",c.transfer(t,e.toFixed(),a));case 8:case"end":return r.stop()}}),r)})))}},{key:"fetchRegularTransactions",value:function(e,t,n){var a,r;return F(this,void 0,void 0,(0,s.A)().mark((function o(){var i,u,c,l,d,v,f,m;return(0,s.A)().wrap((function(o){while(1)switch(o.prev=o.next){case 0:return i=(0,I.ef)(),u=i.fetchFromMiddlewareCamelCased,c=i.normalizeMiddlewareTransactionStructure,l=n||"/v2/accounts/".concat(e,"/activities?limit=").concat(t),o.prev=2,o.next=5,u(l);case 5:if(d=o.sent,v=d.data,f=d.next,m=(v||[]).filter((function(e){var t=e.type;return!(null===t||void 0===t?void 0:t.startsWith("Internal"))})).map((function(t){return c(t,e)})),(null===(a=v.at(-1))||void 0===a?void 0:a.type)!==T.di){o.next=13;break}return o.next=12,this.fetchTransactionByHash(null===(r=v.at(-1))||void 0===r?void 0:r.payload.txHash,e);case 12:m[m.length-1]=o.sent;case 13:return m=(0,p.A)(m.reverse(),"hash").reverse(),o.abrupt("return",{regularTransactions:m,nextPageUrl:f});case 17:return o.prev=17,o.t0=o["catch"](2),o.abrupt("return",{});case 20:case"end":return o.stop()}}),o,this,[[2,17]])})))}},{key:"fetchPendingTransactions",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,n=(0,w.C)(),a=n.getAeSdk,t.next=4,a();case 4:return r=t.sent,t.next=7,r.api.getPendingAccountTransactionsByPubkey(e);case 7:return i=t.sent,t.abrupt("return",y.A.parse(y.A.stringify((null===i||void 0===i?void 0:i.transactions)||[])).map((function(t){return Object.assign(Object.assign({},t),{pending:!0,protocol:o.yv.aeternity,microTime:Date.now(),transactionOwner:e})})));case 11:return t.prev=11,t.t0=t["catch"](0),t.abrupt("return",[]);case 14:case"end":return t.stop()}}),t,null,[[0,11]])})))}},{key:"fetchTipWithdrawnTransactions",value:function(e,t){return F(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r,i,u,c,l;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,a=(0,I.$L)(),r=a.aeActiveNetworkSettings,i=(0,w.C)(),u=i.getAeSdk,n.next=5,u();case 5:return n.next=7,(0,L.x6)("".concat(r.value.backendUrl,"/cache/events/?address=").concat(e,"&event=TipWithdrawn").concat(t?"&limit=5":""));case 7:if(c=n.sent,!c.message){n.next=10;break}return n.abrupt("return",[]);case 10:return l=c.map((function(t){var n=t.amount,a=t.contract,r=t.height,i=t.data.tx,s=D(t,["amount","contract","height","data"]);return Object.assign(Object.assign({tx:Object.assign(Object.assign({},i),{address:e,amount:n,contractId:a,type:g.vw[g.vw.ContractCallTx]})},s),{microTime:new Date(s.createdAt).getTime(),blockHeight:r,claim:!0,protocol:o.yv.aeternity,transactionOwner:e})})),n.abrupt("return",l);case 14:return n.prev=14,n.t0=n["catch"](0),n.abrupt("return",[]);case 17:case"end":return n.stop()}}),n,null,[[0,14]])})))}},{key:"fetchAccountTransactions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.nextPageUrl;return F(this,void 0,void 0,(0,s.A)().mark((function t(){var r,i,u,c,l,d,p,v;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r={},t.next=3,Promise.all([this.fetchRegularTransactions(e,o.K0,n),this.fetchPendingTransactions(e),this.fetchTipWithdrawnTransactions(e,!n)]);case 3:return i=t.sent,u=(0,a.A)(i,3),c=u[0],l=c.regularTransactions,d=c.nextPageUrl,p=u[1],v=u[2],d&&(r.nextPageUrl=d),t.abrupt("return",{regularTransactions:l,pendingTransactions:p,tipWithdrawnTransactions:v,paginationParams:r});case 12:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAccountAssetTransactions",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.nextPageUrl;return F(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o,i,u=this;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r={},o=[],n.prev=2,n.next=5,this.fetchAccountTransactions(e,{nextPageUrl:a});case 5:i=n.sent,r=i.paginationParams,o=t===this.coinContractId?i.regularTransactions.filter((function(e){var t=e.tx;return!t.contractId||t.contractId===u.coinContractId})):i.regularTransactions.filter((function(e){var n=e.tx;return n.contractId===t||JSON.stringify(Object.assign(Object.assign({},n.arguments),n.log)).includes(t)})),n.next=13;break;case 10:n.prev=10,n.t0=n["catch"](2),S.A.write(n.t0);case 13:return n.abrupt("return",{paginationParams:r,regularTransactions:o});case 14:case"end":return n.stop()}}),n,this,[[2,10]])})))}},{key:"fetchTransactionByHash",value:function(e,t){return F(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r,i;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=(0,I.ef)(),r=a.getMiddleware,n.next=3,r();case 3:return i=n.sent,n.t0=Object,n.t1=Object,n.t2={},n.next=9,i.getTx(e);case 9:return n.t3=n.sent,n.t4=n.t1.assign.call(n.t1,n.t2,n.t3),n.t5={protocol:o.yv.aeternity,transactionOwner:t},n.abrupt("return",n.t0.assign.call(n.t0,n.t4,n.t5));case 13:case"end":return n.stop()}}),n)})))}},{key:"constructAndSignTx",value:function(){throw new Error("Method not implemented.")}},{key:"spend",value:function(e,t,n){return F(this,void 0,void 0,(0,s.A)().mark((function a(){var r,o,i;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=(0,w.C)(),o=r.getAeSdk,a.next=3,o();case 3:return i=a.sent,a.abrupt("return",i.spendWithCustomOptions(e,t,{waitMined:!1,payload:(0,h.lF)(W.from(n.payload),v.W.Bytearray)}));case 5:case"end":return a.stop()}}),a)})))}},{key:"waitTransactionMined",value:function(e){return F(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,w.C)().waitTransactionMined(e));case 1:case"end":return t.stop()}}),t)})))}}]),t}(C),P=n(26169),M=(n(26910),n(2892),n(38781),n(76031),n(44774)),O=n(852),R=n(21757),N=n(70057),U=n(14673),X=n(81881),V=n(28446),H=n(11948),$=n(41370),j=function(e){function t(e){var n;return(0,u.A)(this,t),n=(0,l.A)(this,t),n.explorerUrl=e,n}return(0,d.A)(t,e),(0,c.A)(t,[{key:"prepareUrlForHash",value:function(e){return"".concat(this.explorerUrl,"/tx/").concat(e)}},{key:"prepareUrlForAccount",value:function(e){return"".concat(this.explorerUrl,"/address/").concat(e)}}]),t}($.s),K=n(20641);function q(){var e=(0,X.f)(),t=e.activeNetwork,n=e.activeNetworkName,a=(0,K.EW)((function(){return t.value.protocols[o.yv.bitcoin]})),r=(0,K.EW)((function(){var e=t.value.type===o.Qb?o.Oj:t.value.type;return V.Hl[e]||{}}));return{activeNetworkName:n,btcActiveNetworkSettings:a,btcActiveNetworkPredefinedSettings:r}}var G=n(38700),Q=function(){function e(t,n){(0,u.A)(this,e),this.publicKey=n,this.secretKey=t}return(0,c.A)(e,[{key:"sign",value:function(e){var t=(0,G.Ay)(M);return t.fromPrivateKey(this.secretKey).sign(e)}}]),e}(),Z=n(48287)["Buffer"],Y=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},z=5e3,J=10,ee=function(e){function t(){var e;return(0,u.A)(this,t),e=(0,l.A)(this,t,arguments),e.protocol=o.yv.bitcoin,e.protocolName="Bitcoin",e.coinName=V.OX,e.coinSymbol=V.HF,e.coinContractId=V.bR,e.coinPrecision=V.Jb,e.hasTokensSupport=!1,e.mdwToNodeApproxDelayTime=0,e.bip32=(0,O.Pr)(M),e.networkSettings=[{key:"nodeUrl",testId:"url",required:!0,defaultValue:V.tW[o.Oj].nodeUrl,getPlaceholder:function(){return(0,x.tg)("pages.network.networkUrlPlaceholder")},getLabel:function(){return(0,x.tg)("pages.network.networkUrlLabel")}}],e}return(0,d.A)(t,e),(0,c.A)(t,[{key:"getAccountPrefix",value:function(){var e=(0,X.f)(),t=e.activeNetwork;return t.value.type===o.Oj?"tb1q":"bc1q"}},{key:"getExplorer",value:function(){var e=q(),t=e.btcActiveNetworkPredefinedSettings;return new j(t.value.explorerUrl)}},{key:"getAmountPrecision",value:function(){return V.Jb}},{key:"getUrlTokenKey",value:function(){return V.bR}},{key:"getNetworkSettings",value:function(){return this.networkSettings}},{key:"getNetworkTypeDefaultValues",value:function(e){return V.tW[e]}},{key:"getCoinGeckoCoinId",value:function(){return V.nM}},{key:"getDefaultCoin",value:function(e,t){return Object.assign(Object.assign({},(null===e||void 0===e?void 0:e[o.yv.bitcoin])||{}),{protocol:o.yv.bitcoin,contractId:this.coinContractId,symbol:this.coinSymbol,decimals:this.getAmountPrecision(),name:V.OX,convertedBalance:t})}},{key:"fetchBalance",value:function(e){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o,i,u,c,l,d,p;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,X.f)(),a=n.activeNetwork,r=a.value.protocols.bitcoin.nodeUrl,t.next=4,(0,L.x6)("".concat(r,"/address/").concat(e));case 4:return o=t.sent,i=o.chain_stats,u=i.funded_txo_sum,c=i.spent_txo_sum,l=o.mempool_stats,d=l.funded_txo_sum,p=l.spent_txo_sum,t.abrupt("return",(0,U.toBitcoin)(Number(u)-Number(c)+Number(d)-Number(p)).toString());case 12:case"end":return t.stop()}}),t)})))}},{key:"isAccountAddressValid",value:function(e,t){try{var n=(0,r.A)((0,r.A)({},o.dk,"bitcoin"),o.Oj,"testnet"),a=t?R.o8[n[t]]:void 0;return(0,N.toOutputScript)(e,a),!0}catch(i){return!1}}},{key:"isValidAddressOrNameEncoding",value:function(e,t){return this.isAccountAddressValid(e,t)}},{key:"isAccountUsed",value:function(e){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,X.f)(),a=n.activeNetwork,r=a.value.protocols.bitcoin.nodeUrl,t.next=4,(0,L.x6)("".concat(r,"/address/").concat(e));case 4:return o=t.sent,i=o.chain_stats.funded_txo_sum,t.abrupt("return",!!i);case 7:case"end":return t.stop()}}),t)})))}},{key:"getHdWalletAccountFromMnemonicSeed",value:function(e,t){var n=(0,X.f)(),a=n.activeNetwork,r=R.o8[a.value.type]||R.o8.bitcoin,i=a.value.type===o.Oj?1:0,s=this.bip32.fromSeed(Z.from(e)),u="m/84'/".concat(i,"'/").concat(t,"'/0/0"),c=s.derivePath(u),l=R.KT.p2wpkh({pubkey:c.publicKey,network:r}),d=l.address;return{secretKey:c.privateKey,publicKey:c.publicKey,address:d}}},{key:"discoverLastUsedAccountIndex",value:function(e){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,L.yU)(this.isAccountUsed,this.getHdWalletAccountFromMnemonicSeed.bind(this),e));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAccountTransactions",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.lastTxId;return Y(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o,i,u,c;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=(0,X.f)(),o=r.activeNetwork,i=o.value.protocols.bitcoin.nodeUrl,n.next=4,(0,L.x6)(a?"".concat(i,"/address/").concat(e,"/txs/chain/").concat(a):"".concat(i,"/address/").concat(e,"/txs"));case 4:return u=n.sent,c=u.map((function(t){return(0,H.n1)(t,e)})),n.abrupt("return",{regularTransactions:c,paginationParams:{lastTxId:(null===(t=c[c.length-1])||void 0===t?void 0:t.hash)||void 0}});case 7:case"end":return n.stop()}}),n)})))}},{key:"fetchAccountAssetTransactions",value:function(e,t,n){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this.fetchAccountTransactions(e,n));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"fetchTransactionByHash",value:function(e){return Y(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,X.f)(),a=n.activeNetwork,r=a.value.protocols.bitcoin.nodeUrl,t.next=4,(0,L.x6)("".concat(r,"/tx/").concat(e));case 4:return o=t.sent,t.abrupt("return",(0,H.n1)(o));case 6:case"end":return t.stop()}}),t)})))}},{key:"constructAndSignTx",value:function(e,t,n){return Y(this,void 0,void 0,(0,s.A)().mark((function a(){var r,o,i,u,c,l,d,p,v,f,m,g,h,A,k,y,b,w,C,x,S,T,E=this;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=(0,X.f)(),o=r.activeNetwork,i=R.o8[o.value.type]||R.o8.bitcoin,u=o.value.protocols.bitcoin.nodeUrl,c=(0,U.toSatoshi)(e),l=(0,U.toSatoshi)(n.fee),d=0,p=!1,v=new R.iL({network:i}),a.next=10,(0,L.x6)("".concat(u,"/address/").concat(n.address,"/utxo"));case 10:return f=a.sent,a.next=13,Promise.all(f.map((function(e){var t=e.txid,n=e.vout,a=e.value;return Y(E,void 0,void 0,(0,s.A)().mark((function e(){var r;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,fetch("".concat(u,"/tx/").concat(t,"/hex"));case 2:return r=e.sent,e.t0=t,e.t1=n,e.t2=a,e.next=8,r.text();case 8:return e.t3=e.sent,e.abrupt("return",{txid:e.t0,vout:e.t1,value:e.t2,transactionInHex:e.t3});case 10:case"end":return e.stop()}}),e)})))})));case 13:m=a.sent,g=m.sort((function(e,t){return Math.abs(e.value-c+l)-Math.abs(t.value-c+l)})),h=(0,P.A)(g),a.prev=16,h.s();case 18:if((A=h.n()).done){a.next=30;break}if(k=A.value,y=k.txid,b=k.vout,w=k.value,C=k.transactionInHex,!p){a.next=22;break}return a.abrupt("break",30);case 22:x=R.ZX.fromHex(C),S=x.outs.at(b),T=x.hasWitnesses(),T?v.addInput({hash:y,index:b,witnessUtxo:{script:S.script,value:w}}):v.addInput({hash:y,index:b,nonWitnessUtxo:Z.from(C,"hex")}),d+=w,d>=c+l&&(p=!0);case 28:a.next=18;break;case 30:a.next=35;break;case 32:a.prev=32,a.t0=a["catch"](16),h.e(a.t0);case 35:return a.prev=35,h.f(),a.finish(35);case 38:if(p){a.next=40;break}throw new Error("Insufficient balance");case 40:return v.addOutput({address:t,value:c}),d-(c+l)>V.uR&&v.addOutput({address:n.address,value:d-c-l}),a.next=44,v.signAllInputs(new Q(n.secretKey,n.publicKey));case 44:return a.next=46,v.finalizeAllInputs();case 46:return a.abrupt("return",v.extractTransaction());case 47:case"end":return a.stop()}}),a,null,[[16,32,35,38]])})))}},{key:"spend",value:function(e,t,n){return Y(this,void 0,void 0,(0,s.A)().mark((function a(){var r,o,i,u,c,l,d=this;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=(0,X.f)(),o=r.activeNetwork,i=o.value.protocols.bitcoin.nodeUrl,a.next=4,this.constructAndSignTx(e,t,n);case 4:return u=a.sent.toHex(),c={method:"POST",headers:new Headers({"Content-Type":"text/plain"}),body:u,redirect:"follow"},a.next=8,fetch("".concat(i,"/tx"),c).then((function(e){return Y(d,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(200===e.status){t.next=6;break}return t.t0=Error,t.next=4,e.text();case 4:throw t.t1=t.sent,new t.t0(t.t1);case 6:return t.abrupt("return",e.text());case 7:case"end":return t.stop()}}),t)})))}));case 8:return l=a.sent,a.abrupt("return",{hash:l});case 10:case"end":return a.stop()}}),a,this)})))}},{key:"waitTransactionMined",value:function(e){var t=this;return new Promise((function(n){var a=0,r=setInterval((function(){return Y(t,void 0,void 0,(0,s.A)().mark((function t(){var o,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a+=1,o=a>=J,t.next=4,this.fetchTransactionByHash(e);case 4:if(i=t.sent,!i){t.next=8;break}return clearInterval(r),t.abrupt("return",n(i));case 8:if(!o){t.next=11;break}return clearInterval(r),t.abrupt("return",n(null));case 11:return t.abrupt("return",null);case 12:case"end":return t.stop()}}),t,this)})))}),z)}))}}]),t}(C),te=n(6682),ne=(n(48980),n(64346),n(54554),n(78459),n(69825)),ae=n(38653),re=n(40166),oe=n(97362),ie=n(37061),se=n(20345),ue=n(7595),ce=n(84754),le=n(28388),de=function(e){function t(e){var n;return(0,u.A)(this,t),n=(0,l.A)(this,t),n.explorerUrl=e,n}return(0,d.A)(t,e),(0,c.A)(t,[{key:"prepareUrlForHash",value:function(e){return"".concat(this.explorerUrl,"/tx/").concat(e)}},{key:"prepareUrlForAccount",value:function(e){return"".concat(this.explorerUrl,"/address/").concat(e)}}]),t}($.s),pe=(n(48408),n(50113),n(58940),n(14603),n(47566),n(98721),n(60346));function ve(e,t,n){var a=e||{},r=a.blockNumber,i=a.from,s=a.hash,u=a.gas,c=a.gasPrice,l=a.to,d=a.value,p=a.type,v=t||{},f=v.timestamp,m=0===Number(p),g=(0,ae.BA)(n);return{transactionOwner:g,protocol:o.yv.ethereum,hash:s,microTime:f?new Date(1e3*Number(f)).getTime():void 0,pending:!r,blockHeight:Number(r),tx:{amount:Number((0,ae.kX)(d||0,"ether")),fee:m?0:+(0,ae.kX)(Number(u||0)*Number(c||0),"ether"),senderId:i?(0,ae.BA)(i):void 0,recipientId:l?(0,ae.BA)(l):void 0,type:"SpendTx",arguments:[],callerId:"",contractId:ue.Xn}}}function fe(e){return e&&(null===e||void 0===e?void 0:e.startsWith("0x"))?(0,ae.BA)(e):e}var me,ge,he=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Ae="No transactions found",ke=function(){function e(t){(0,u.A)(this,e),this.freeVersionTimeDelay=o.l2?250:5300,this.apiUrl=t}return(0,c.A)(e,[{key:"fetchFromApi",value:function(e){return he(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=new URLSearchParams(Object.assign(Object.assign({},(0,L.pV)(e)),{apikey:o.l2})).toString(),a=(new Date).getTime(),r=me?this.freeVersionTimeDelay-(a-me):0,me=a+(r>0?r:0),!(r>0)){t.next=7;break}return t.next=7,(0,L.yy)(r);case 7:return t.abrupt("return",(0,L.x6)("".concat(this.apiUrl,"?").concat(n)));case 8:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAccountCoinTransactions",value:function(t,n){var a;return he(this,void 0,void 0,(0,s.A)().mark((function r(){var i,u,c,l,d;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=n.page,u=void 0===i?"1":i,c=n.offset,l=void 0===c?o.K0.toString():c,r.next=3,this.fetchFromApi({module:"account",action:"txlist",address:t,page:u,offset:l,sort:"desc"});case 3:if(d=r.sent,"1"===(null===d||void 0===d?void 0:d.status)||(null===d||void 0===d?void 0:d.message)===Ae){r.next=6;break}throw new Error((null===d||void 0===d?void 0:d.result)||(null===d||void 0===d?void 0:d.message));case 6:return r.abrupt("return",(null===(a=null===d||void 0===d?void 0:d.result)||void 0===a?void 0:a.map((function(n){return e.normalizeEtherscanTransactionStructure(n,t)})))||[]);case 7:case"end":return r.stop()}}),r,this)})))}},{key:"fetchAccountTokenTransactions",value:function(t){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return he(this,void 0,void 0,(0,s.A)().mark((function r(){var i,u,c,l,d,p,v,f;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=a.assetContractId,u=a.page,c=void 0===u?"1":u,l=a.offset,d=void 0===l?o.K0.toString():l,p=a.startblock,v=a.endblock,r.next=3,this.fetchFromApi({module:"account",action:"tokentx",contractaddress:i,address:t,page:c,offset:d,sort:"desc",startblock:p,endblock:v});case 3:if(f=r.sent,"1"===(null===f||void 0===f?void 0:f.status)||(null===f||void 0===f?void 0:f.message)===Ae){r.next=6;break}throw new Error((null===f||void 0===f?void 0:f.result)||(null===f||void 0===f?void 0:f.message));case 6:return r.abrupt("return",(null===(n=null===f||void 0===f?void 0:f.result)||void 0===n?void 0:n.map((function(n){return e.normalizeEtherscanTransactionStructure(n,t,i)})))||[]);case 7:case"end":return r.stop()}}),r,this)})))}},{key:"fetchAccountTokenTransactionByHash",value:function(e,t,n){return he(this,void 0,void 0,(0,s.A)().mark((function a(){var r;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,this.fetchAccountTokenTransactions(t,{startblock:n,endblock:n});case 2:return r=a.sent,a.abrupt("return",r.find((function(t){return t.hash===e})));case 4:case"end":return a.stop()}}),a,this)})))}}],[{key:"normalizeEtherscanTransactionStructure",value:function(e,t,n){var a=e.confirmations,r=e.contractAddress,i=e.from,s=e.functionName,u=e.gasUsed,c=e.gasPrice,l=e.hash,d=e.nonce,p=e.timeStamp,v=e.to,f=e.value,m=fe(i),g=fe(v),h=fe(t),A=fe(r||n)||ue.Xn,k=Number((0,ae.kX)(c,"ether")),y=u*k,b=Number((0,ae.kX)(f,"ether")),w=parseInt(a,10)<=ue.Id,C=1e3*p,x=!r;return{protocol:o.yv.ethereum,transactionOwner:h,hash:l,microTime:C,pending:w,tx:{amount:b,fee:y,senderId:m,recipientId:g,type:x?"SpendTx":"ContractCallTx",arguments:[],callerId:x?"":m,contractId:A,function:s,nonce:d,gasPrice:k,gasUsed:u}}}}]),e}(),ye=(n(62010),function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))}),be="freekey",we=429,Ce=function(){function e(t){(0,u.A)(this,e),this.resourcesUrl="https://ethplorer.io",this.freeVersionTimeDelay=600,this.apiUrl=t}return(0,c.A)(e,[{key:"fetchFromApi",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ye(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r,o;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=new URLSearchParams(Object.assign(Object.assign({},t),{apiKey:be})).toString(),be&&"freekey"!==be){n.next=8;break}if(r=(new Date).getTime(),o=ge?this.freeVersionTimeDelay-(r-ge):0,ge=r+(o>0?o:0),!(o>0)){n.next=8;break}return n.next=8,(0,L.yy)(o);case 8:return n.abrupt("return",(0,L.x6)("".concat(this.apiUrl).concat(e,"?").concat(a)));case 9:case"end":return n.stop()}}),n,this)})))}},{key:"normalizeTokenStructure",value:function(e){return{contractId:fe(e.address),decimals:Number(e.decimals),name:e.name,protocol:o.yv.ethereum,symbol:e.symbol,image:e.image?"".concat(this.resourcesUrl).concat(e.image):void 0}}},{key:"fetchTopTokens",value:function(){var e;return ye(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r=this;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.fetchFromApi("/getTopTokens");case 2:if(n=t.sent,(null===(e=null===n||void 0===n?void 0:n.error)||void 0===e?void 0:e.code)!==we){t.next=5;break}return t.abrupt("return",null);case 5:return a=n.tokens||[],t.abrupt("return",a.filter((function(e){var t=e.address,n=e.name,a=e.symbol;return t&&n&&a})).filter((function(e){var t=e.address;return t!==ue.LB})).map((function(e){return r.normalizeTokenStructure(e)})));case 7:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAccountTokenBalances",value:function(e){var t;return ye(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,this.fetchFromApi("/getAddressInfo/".concat(e));case 2:if(a=n.sent,(null===(t=null===a||void 0===a?void 0:a.error)||void 0===t?void 0:t.code)!==we){n.next=5;break}return n.abrupt("return",null);case 5:return r=a.tokens||[],n.abrupt("return",r.map((function(t){var n=t.rawBalance,a=t.tokenInfo,r=a.address,i=a.decimals,s=a.name,u=a.symbol;return{address:e,amount:n,contractId:fe(r),convertedBalance:+(0,L.k0)((0,L.Y9)(n,-i)),decimals:i,symbol:u,name:s,protocol:o.yv.ethereum}}))||[]);case 7:case"end":return n.stop()}}),n,this)})))}},{key:"fetchTokenInfo",value:function(e){return ye(this,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.fetchFromApi("/getTokenInfo/".concat(e));case 2:return n=t.sent,t.abrupt("return",(null===n||void 0===n?void 0:n.error)?void 0:this.normalizeTokenStructure(n));case 4:case"end":return t.stop()}}),t,this)})))}}]),e}(),xe=n(48287)["Buffer"],Le=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Se=6e3,Te=10,Ee=3,Ie=function(e){function t(){var e;return(0,u.A)(this,t),e=(0,l.A)(this,t,arguments),e.protocol=o.yv.ethereum,e.protocolName=ue.Dz,e.coinName=ue.Sf,e.coinSymbol=ue.xU,e.coinContractId=ue.Xn,e.coinPrecision=ue.hj,e.hasTokensSupport=!0,e.mdwToNodeApproxDelayTime=ue.nE,e.bip32=(0,O.Pr)(M),e.networkSettings=[{key:"nodeUrl",testId:"url",defaultValue:ue.vZ.nodeUrl,getPlaceholder:function(){return(0,x.tg)("pages.network.networkUrlPlaceholder")},getLabel:function(){return(0,x.tg)("pages.network.networkUrlLabel")}},{key:"chainId",defaultValue:ue.vZ.chainId,validationRules:{url:!1,is_hex_format:!0},getPlaceholder:function(){return(0,x.tg)("pages.network.chainIdPlaceholder")},getLabel:function(){return(0,x.tg)("pages.network.chainIdLabel")}}],e}return(0,d.A)(t,e),(0,c.A)(t,[{key:"getTransactionCount",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this.getWeb3EthInstance(),t.next=3,(0,ie.ym)(n,e,"pending",ie.XD);case 3:return a=t.sent,t.abrupt("return",a);case 5:case"end":return t.stop()}}),t,this)})))}},{key:"getAccountPrefix",value:function(){return"0x"}},{key:"getAmountPrecision",value:function(){return 9}},{key:"getCoinGeckoCoinId",value:function(){return ue.z2}},{key:"getExplorer",value:function(){var e=(0,le.G)(),t=e.ethActiveNetworkPredefinedSettings;return new de(t.value.explorerUrl)}},{key:"getUrlTokenKey",value:function(){return ue.Xn}},{key:"getDefaultCoin",value:function(e,t){return Object.assign(Object.assign({},(null===e||void 0===e?void 0:e[o.yv.ethereum])||{}),{protocol:o.yv.ethereum,contractId:this.coinContractId,symbol:this.coinSymbol,decimals:this.coinPrecision,name:ue.Sf,convertedBalance:t})}},{key:"getNetworkSettings",value:function(){return this.networkSettings}},{key:"getNetworkTypeDefaultValues",value:function(e){return ue.RA[e]}},{key:"fetchBalance",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this.getWeb3EthInstance(),t.next=3,(0,ie.r1)(n,e,"latest",ie.XD);case 3:return a=t.sent,t.abrupt("return",(0,ae.kX)(a,"ether").toString());case 5:case"end":return t.stop()}}),t,this)})))}},{key:"isAccountAddressValid",value:function(e){return(0,ne.PW)(e)}},{key:"isValidAddressOrNameEncoding",value:function(e){return this.isAccountAddressValid(e)}},{key:"isAccountUsed",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,r,o,i;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.t0=Promise,t.next=3,this.fetchBalance(e);case 3:return t.t1=t.sent,t.t2=this.getTransactionCount(e),t.t3=[t.t1,t.t2],t.next=8,t.t0.all.call(t.t0,t.t3);case 8:return n=t.sent,r=(0,a.A)(n,2),o=r[0],i=r[1],t.abrupt("return",parseFloat(o)>0||i>0);case 13:case"end":return t.stop()}}),t,this)})))}},{key:"getHdWalletAccountFromMnemonicSeed",value:function(e,t){var n=this.bip32.fromSeed(xe.from(e)),a="m/44'/60'/".concat(t,"'/0/0"),r=n.derivePath(a),o=(0,ae.BA)((0,oe.uX)(r.privateKey).toString());return{secretKey:r.privateKey,publicKey:r.publicKey,address:o}}},{key:"discoverLastUsedAccountIndex",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,L.yU)(this.isAccountUsed.bind(this),this.getHdWalletAccountFromMnemonicSeed.bind(this),e));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"fetchAvailableTokens",value:function(){return Le(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=(0,le.G)(),n=t.ethActiveNetworkPredefinedSettings,a=n.value.tokenMiddlewareUrl,e.prev=2,e.abrupt("return",new Ce(a).fetchTopTokens());case 6:return e.prev=6,e.t0=e["catch"](2),S.A.write(e.t0),e.abrupt("return",null);case 10:case"end":return e.stop()}}),e,null,[[2,6]])})))}},{key:"fetchAccountTokenBalances",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,le.G)(),a=n.ethActiveNetworkPredefinedSettings,r=a.value.tokenMiddlewareUrl,t.prev=2,t.abrupt("return",new Ce(r).fetchAccountTokenBalances(e));case 6:return t.prev=6,t.t0=t["catch"](2),S.A.write(t.t0),t.abrupt("return",null);case 10:case"end":return t.stop()}}),t,null,[[2,6]])})))}},{key:"fetchTokenInfo",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,le.G)(),a=n.ethActiveNetworkPredefinedSettings,r=a.value.tokenMiddlewareUrl,t.prev=2,t.abrupt("return",new Ce(r).fetchTokenInfo(e));case 6:return t.prev=6,t.t0=t["catch"](2),S.A.write(t.t0),t.abrupt("return",void 0);case 10:case"end":return t.stop()}}),t,null,[[2,6]])})))}},{key:"transferToken",value:function(e,t,n,r){return Le(this,void 0,void 0,(0,s.A)().mark((function i(){var u,c,l,d,p,v,f,m,g,h,A,k,y,b,w,C,x,L,S,T,E,I,_,W,F;return(0,s.A)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(u=(0,le.G)(),c=u.ethActiveNetworkSettings,l=u.ethActiveNetworkPredefinedSettings,d=(0,ce.oV)(),p=d.getAccountByAddress,v=l.value.middlewareUrl,f=p(r.fromAccount),f&&f.protocol===o.yv.ethereum){i.next=6;break}throw new Error("Token transfer were initiated from not existing or not ethereum account.");case 6:return i.next=8,new ke(v).fetchFromApi({module:"contract",action:"getabi",address:n});case 8:return m=i.sent,g=new re.NZ(m&&Array.isArray(null===m||void 0===m?void 0:m.result)?m.result:ue.iA,n,{from:r.fromAccount}),h=c.value,A=h.chainId,k=h.nodeUrl,g.setProvider(k),i.t0=oe.Q9,i.t1=BigInt,i.t2=ae.fq,i.t3=e,i.t4=Number,i.next=19,g.methods.decimals().call();case 19:return i.t5=i.sent,i.t6=(0,i.t4)(i.t5),i.t7=i.t3.toFixed.call(i.t3,i.t6),i.t8=(0,i.t2)(i.t7,"ether"),i.t9=(0,i.t1)(i.t8),y=(0,i.t0)(i.t9),b=(0,oe.Q9)(BigInt((0,ae.fq)(r.maxPriorityFeePerGas,"ether"))),w=(0,oe.Q9)(BigInt((0,ae.fq)(r.maxFeePerGas,"ether"))),i.next=29,Promise.all([this.getTransactionCount(r.fromAccount),g.methods.transfer(t,y).estimateGas()]);case 29:return C=i.sent,x=(0,a.A)(C,2),L=x[0],S=x[1],T={chainId:A,nonce:L,to:n,data:g.methods.transfer(t,y).encodeABI(),value:0,maxPriorityFeePerGas:b,maxFeePerGas:w,gasLimit:"0x".concat(S.toString(16)),type:"0x02"},E=oe.nx.fromTxData(T),I=E.sign(f.secretKey),_=I.serialize(),W=this.getWeb3EthInstance(),F="0x".concat(xe.from(I.hash()).toString("hex")),(0,ie.f7)(W,_,se.Hh),i.abrupt("return",{hash:F});case 41:case"end":return i.stop()}}),i,this)})))}},{key:"fetchTransactionByHash",value:function(e,t){return Le(this,void 0,void 0,(0,s.A)().mark((function n(){var a,r,o,i,u,c,l,d;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=this.getWeb3EthInstance(),n.next=3,(0,ie.xw)(a,e,se.Hh);case 3:if(r=n.sent,"0x"===(null===r||void 0===r?void 0:r.input)||!(null===r||void 0===r?void 0:r.blockNumber)){n.next=11;break}return o=(0,le.G)(),i=o.ethActiveNetworkPredefinedSettings,u=new ke(i.value.middlewareUrl),n.next=9,u.fetchAccountTokenTransactionByHash(e,null!==t&&void 0!==t?t:r.from,r.blockNumber);case 9:return c=n.sent,n.abrupt("return",c);case 11:if(!(null===r||void 0===r?void 0:r.blockHash)){n.next=17;break}return n.next=14,(0,ie.gd)(a,r.blockHash,!0,se.Hh);case 14:n.t0=n.sent,n.next=18;break;case 17:n.t0=void 0;case 18:return l=n.t0,d=ve(r,l,t),n.abrupt("return",d);case 21:case"end":return n.stop()}}),n,this)})))}},{key:"fetchAccountTransactions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.nextPageNum;return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var r,o,i,u,c,l,d,p,v;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r={},o=[],t.prev=2,i=(0,le.G)(),u=i.ethActiveNetworkPredefinedSettings,c=new ke(u.value.middlewareUrl),t.next=7,Promise.all([c.fetchAccountCoinTransactions(e,{page:n}),c.fetchAccountTokenTransactions(e,{page:n})]);case 7:l=t.sent,d=(0,a.A)(l,2),p=d[0],v=d[1],v.forEach((function(e){var t=p.findIndex((function(t){return t.hash===e.hash}));t>-1&&p.splice(t,1)})),o=[].concat((0,te.A)(p),(0,te.A)(v)),(null===o||void 0===o?void 0:o.length)&&(r.nextPageNum=(n?+n+1:2).toString()),t.next=19;break;case 16:t.prev=16,t.t0=t["catch"](2),S.A.write(t.t0);case 19:return t.abrupt("return",{regularTransactions:o,paginationParams:r});case 20:case"end":return t.stop()}}),t,null,[[2,16]])})))}},{key:"fetchAccountAssetTransactions",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.nextPageNum;return Le(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o,i,u,c;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r={},o=[],n.prev=2,i=(0,le.G)(),u=i.ethActiveNetworkPredefinedSettings,c=new ke(u.value.middlewareUrl),t!==this.coinContractId){n.next=11;break}return n.next=8,c.fetchAccountCoinTransactions(e,{page:a});case 8:n.t0=n.sent,n.next=14;break;case 11:return n.next=13,c.fetchAccountTokenTransactions(e,{page:a,assetContractId:t});case 13:n.t0=n.sent;case 14:o=n.t0,(null===o||void 0===o?void 0:o.length)&&(r.nextPageNum=(a?+a+1:2).toString()),n.next=21;break;case 18:n.prev=18,n.t1=n["catch"](2),S.A.write(n.t1);case 21:return n.abrupt("return",{regularTransactions:o,paginationParams:r});case 22:case"end":return n.stop()}}),n,this,[[2,18]])})))}},{key:"constructAndSignTx",value:function(e,t,n){return Le(this,void 0,void 0,(0,s.A)().mark((function a(){var r,i,u,c,l,d,p,v,f,m,g;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(r=(0,ce.oV)(),i=r.getAccountByAddress,u=(0,le.G)(),c=u.ethActiveNetworkSettings,l=i(n.fromAccount),l&&l.protocol===o.yv.ethereum){a.next=5;break}throw new Error("Ethereum transaction construction & signing was initiated from non existing or not ethereum account.");case 5:return a.next=7,this.getTransactionCount(n.fromAccount);case 7:return d=a.sent,p=c.value.chainId,v=(0,oe.Q9)(BigInt((0,ae.fq)(e.toFixed(ue.hj),"ether"))),f=(0,oe.Q9)(BigInt((0,ae.fq)(n.maxPriorityFeePerGas,"ether"))),m=(0,oe.Q9)(BigInt((0,ae.fq)(n.maxFeePerGas,"ether"))),g={chainId:p,nonce:d,to:t,value:v,data:"0x",maxPriorityFeePerGas:f,maxFeePerGas:m,gasLimit:"0x".concat(ue.un.toString(16)),type:"0x02"},a.abrupt("return",oe.nx.fromTxData(g).sign(l.secretKey));case 14:case"end":return a.stop()}}),a,this)})))}},{key:"spend",value:function(e,t,n){return Le(this,void 0,void 0,(0,s.A)().mark((function a(){var r,o,i,u;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r=this.getWeb3EthInstance(),a.next=3,this.constructAndSignTx(e,t,n);case 3:return o=a.sent,i=o.serialize(),u="0x".concat(xe.from(o.hash()).toString("hex")),(0,ie.f7)(r,i,se.Hh),a.abrupt("return",{hash:u});case 8:case"end":return a.stop()}}),a,this)})))}},{key:"waitTransactionMined",value:function(e){return Le(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a=this;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this.getWeb3EthInstance(),t.abrupt("return",new Promise((function(t){var r=0,o=setInterval((function(){return Le(a,void 0,void 0,(0,s.A)().mark((function a(){var i,u,c;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return r+=1,i=r>=Te,a.next=4,(0,ie.h9)(n,e,se.Hh);case 4:return u=a.sent,a.next=7,(0,ie.gd)(n,"latest",!0,se.Hh);case 7:if(c=a.sent,!(null===u||void 0===u?void 0:u.blockNumber)||!((null===c||void 0===c?void 0:c.number)&&c.number-BigInt(u.blockNumber)>=Ee||i)){a.next=11;break}return clearInterval(o),a.abrupt("return",t(u));case 11:if(!i){a.next=14;break}return clearInterval(o),a.abrupt("return",t(null));case 14:return a.abrupt("return",null);case 15:case"end":return a.stop()}}),a)})))}),Se)})));case 2:case"end":return t.stop()}}),t,this)})))}},{key:"getWeb3EthInstance",value:function(){var e=(0,le.G)(),t=e.ethActiveNetworkSettings,n=t.value.nodeUrl;return new ie.Ay(n)}}]),t}(C),_e=(0,r.A)((0,r.A)((0,r.A)({},o.yv.aeternity,B),o.yv.bitcoin,ee),o.yv.ethereum,Ie);Object.entries(_e).forEach((function(e){var t=(0,a.A)(e,2),n=t[0],r=t[1];i.C.registerAdapter(n,r)}));var We=n(53751),Fe=n(62759),De=(n(89463),n(34782),n(15261)),Be=n(3505),Pe=n(63366),Me=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};(0,De.Km)("required",(function(e){return(0,Be.mw)(e)||(0,x.tg)("validation.required")})),(0,De.Km)("url",(function(e){return!e||(0,L.Ks)(e)||(0,x.tg)("validation.url")})),(0,De.Km)("account",(function(e){return(0,f.pL)(e)||(0,_.F7)(e)||(0,x.tg)("validation.address")})),(0,De.Km)("account_address",(function(e,t){var n=(0,a.A)(t,2),r=n[0],o=n[1];return i.C.getAdapter(r).isAccountAddressValid(e,o)||(0,x.tg)("validation.addressGeneric",{protocol:r})})),(0,De.Km)("min_value",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return(0,pe.A)(e).isGreaterThanOrEqualTo(r)||(0,x.tg)("validation.minValue",[r])})),(0,De.Km)("min_value_exclusive",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return e&&(0,pe.A)(e).isGreaterThan(r)||(0,x.tg)("validation.minValueExclusive",[r])})),(0,De.Km)("max_value",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return e&&(0,pe.A)(e).isLessThanOrEqualTo(r)||(0,x.tg)("validation.maxValue",[r])})),(0,De.Km)("max_redeem",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return e&&(0,pe.A)(e).isLessThanOrEqualTo(r)||(0,x.tg)("validation.maxRedeem",[r])})),(0,De.Km)("max_value_vault",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return(0,pe.A)(e).isLessThanOrEqualTo(r)||(0,x.tg)("validation.maxValueVault",[r])})),(0,De.Km)("max_len",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return e&&e.length<=r||(0,x.tg)("validation.maxLength",[r])})),(0,De.Km)("network_exists",(function(e,t){var n=(0,a.A)(t,2),r=n[0],i=n[1];return!([o.y1,o.I1].includes(e)||e!==i&&r.find((function(t){var n=t.name;return n===e})))||(0,x.tg)("pages.network.error.networkExists")})),(0,De.Km)("is_hex_format",(function(e){var t;return(null===(t=null===e||void 0===e?void 0:e.toString())||void 0===t?void 0:t.startsWith("0x"))&&e.length>=3&&parseInt(e.slice(2),16).toString(16)===e.slice(2).toLowerCase()||(0,x.tg)("validation.hexFormat")}));const Oe=function(){var e,t=(0,ce.ty)(),n=t.balance,u=t.updateBalances,c=(0,ce.ZN)({pollingDisabled:!0}),l=c.currencyRates,d=(0,ce.CP)(),p=d.getAeSdk,v={REGISTERED:Symbol("name state: registered"),REGISTERED_ADDRESS:Symbol("name state: registered and points to address"),UNREGISTERED:Symbol("name state: unregistered"),NOT_SAME:Symbol("name state: not same as provided")},m=(0,Pe.A)((function(e,t,n,a){var o=a.resolve,i=a.reject;return Me(void 0,void 0,void 0,(0,s.A)().mark((function a(){var u,c,l;return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,p();case 3:return u=a.sent,a.next=6,u.api.getNameEntryByName(e);case 6:c=a.sent,l=(0,_.Pd)(c),o((0,r.A)((0,r.A)((0,r.A)((0,r.A)({},v.REGISTERED,!0),v.REGISTERED_ADDRESS,!!l),v.UNREGISTERED,!1),v.NOT_SAME,n!==l)[t]),a.next=14;break;case 11:a.prev=11,a.t0=a["catch"](0),(0,L.El)(a.t0)?o(t===v.UNREGISTERED||t===v.NOT_SAME):i(a.t0);case 14:case"end":return a.stop()}}),a,null,[[0,11]])})))}),300,{leading:!0});function g(t){return function(n,r){var o=(0,a.A)(r,1),i=o[0];return new Promise((function(a,r){n===e&&m.flush(),e=n,m(n,t,i,{resolve:a,reject:r})}))}}var h=function(e){return Me(void 0,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,t.t0=(0,f.pL)(e),t.t0){t.next=6;break}return t.next=5,g(v.REGISTERED_ADDRESS)(e,[]);case 5:t.t0=t.sent;case 6:return t.abrupt("return",t.t0);case 9:return t.prev=9,t.t1=t["catch"](0),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})))};(0,De.Km)("ae_min_tip_amount",(function(e){var t,n=.01/((null===(t=l.value)||void 0===t?void 0:t[o.yv.aeternity].usd)||1);return(0,pe.A)(e).isGreaterThan(n)||(0,x.tg)("pages.tipPage.minAmountError")})),(0,De.Km)("aens_name",(function(e){return(0,_.F7)("".concat(e).concat(T.CT))||(0,x.tg)("validation.name")})),(0,De.Km)("aens_name_unregistered",(function(e){return Me(void 0,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,g(v.UNREGISTERED)("".concat(e,".chain"),[]);case 2:if(t.t0=t.sent,t.t0){t.next=5;break}t.t0=(0,x.tg)("validation.nameUnregistered");case 5:return t.abrupt("return",t.t0);case 6:case"end":return t.stop()}}),t)})))})),(0,De.Km)("aens_name_registered_or_address",(function(e){return Me(void 0,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!(0,_.F7)(e)){t.next=6;break}return t.next=3,h(e);case 3:t.t0=t.sent,t.next=7;break;case 6:t.t0=(0,f.pL)(e);case 7:return n=t.t0,t.abrupt("return",n||(0,x.tg)("validation.nameRegisteredAddress"));case 9:case"end":return t.stop()}}),t)})))})),(0,De.Km)("aens_name_registered_or_address_or_url",(function(e){return Me(void 0,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!(0,_.F7)(e)){t.next=6;break}return t.next=3,h(e);case 3:t.t0=t.sent,t.next=7;break;case 6:t.t0=(0,f.pL)(e)||(0,L.Ks)(e);case 7:return n=t.t0,t.abrupt("return",n||(0,x.tg)("validation.invalidAddressChainUrl"));case 9:case"end":return t.stop()}}),t)})))})),(0,De.Km)("token_to_an_address",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return!(0,_.F7)(e)||(0,_.F7)(e)&&!r||(0,x.tg)("validation.tokenToAnAddress")})),(0,De.Km)("address_not_same_as",(function(e,t){var n=(0,a.A)(t,2),r=n[0],o=n[1];return e!==r||(0,x.tg)("validation.addressNotSameAs",[o?i.C.getAdapter(o).coinSymbol:(0,x.tg)("common.tokens")])})),(0,De.Km)("enough_coin",(function(e,t){var r=(0,a.A)(t,2),o=r[0],i=r[1];return Me(void 0,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,u();case 2:return e.abrupt("return",n.value.isGreaterThanOrEqualTo(o)||(0,x.tg)("validation.enoughCoin",[i||T.kf]));case 3:case"end":return e.stop()}}),e)})))})),(0,De.Km)("enough_ae_signer",(function(e,t){var r=(0,a.A)(t,1),o=r[0];return Me(void 0,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,u();case 2:return e.abrupt("return",n.value.isGreaterThanOrEqualTo(o)||(0,x.tg)("validation.enoughAeSigner"));case 3:case"end":return e.stop()}}),e)})))})),(0,De.Km)("does_not_exceed_decimals",(function(e,t){var n=(0,a.A)(t,1),r=n[0];return!e||(0,pe.A)(e).dp()<=r||(0,x.tg)("validation.doesNotExceedDecimals",[r])}))};n(3296),n(44114),n(53921),n(79432);var Re=n(26186),Ne=n(92875),Ue=n(42302),Xe=n(19636),Ve=n(59794),He=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function $e(e){var t=Object.assign(Object.assign({},Ve.DZ[e]),{tag:g.vw[e]});return(0,Xe.pr)(t)}var je=function(){var e,t={};return function(n){var a=n.type,r=n.payload;return He(void 0,void 0,void 0,(0,s.A)().mark((function n(){var i;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(o.hL&&browser){n.next=2;break}throw new Error("Supported only in browser extension");case 2:return e||(e=browser.runtime.connect({name:o.ZH.POPUP}),e.onMessage.addListener((function(e){var n=e.uuid,a=e.res;if(!t[n])throw new Error("Can't find request with id: ".concat(n));t[n].resolve(a),delete t[n]}))),i=(0,Ue.A)(),e.postMessage({type:a,payload:r,uuid:i}),n.abrupt("return",new Promise((function(e,n){t[i]={resolve:e,reject:n}})));case 6:case"end":return n.stop()}}),n)})))}}(),Ke=function(e){var t=e.type;return He(void 0,void 0,void 0,(0,s.A)().mark((function e(){var n,a,r;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:e.t0=t,e.next=e.t0===o.Jw.getProps?3:e.t0===o.Jw.resolve||e.t0===o.Jw.reject?12:14;break;case 3:return e.next=5,browser.storage.local.get("txType");case 5:if(n=e.sent,a=n.txType,!a){e.next=11;break}return r=Ve.FE.base,r.tx=(0,Xe.pj)($e(a)),e.abrupt("return",r);case 11:return e.abrupt("return",o.WZ?Ve.FE[o.WZ]:{});case 12:return window[t]="send",e.abrupt("break",15);case 14:throw new Error("Unknown type: ".concat(t));case 15:return e.abrupt("return",null);case 16:case"end":return e.stop()}}),e)})))};function qe(){return He(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a,r,i,u,c,l=this;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=o.yW?Ke:je,n=!1,a=function(){return He(l,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",t({type:o.Jw.resolve}));case 1:case"end":return e.stop()}}),e)})))},r=function(){return He(l,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",t({type:o.Jw.reject}));case 1:case"end":return e.stop()}}),e)})))},i=function(){n||r()},window.addEventListener("beforeunload",i,!0),u=function(e){return function(){for(var t=arguments.length,a=new Array(t),r=0;r5?((0,K.uX)(),(0,K.CE)("p",{key:2,class:"message",textContent:(0,tt.v_)(e.$t("pages.recentTransactions.transactionListEnd"))},null,8,gn)):(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("p",{key:1,class:"message",textContent:(0,tt.v_)(e.$t("pages.recentTransactions.noTransactionsFound"))},null,8,mn))])):(0,K.Q3)("",!0),e.isOnline?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(c,{key:1,class:"offline-message",text:e.$t("modals.accountDetails.transactionsNotAvailable")},null,8,["text"]))],512),(0,K.bF)(l)]})),_:1})}var An=n(46992),kn=n(74022),yn=n(17831),bn={class:"body"},wn={class:"footer"},Cn={key:0,class:"consensus"},xn=["textContent"],Ln=["textContent"];function Sn(e,t,n,a,r,o){var i=(0,K.g2)("TransactionAssetRows"),s=(0,K.g2)("ConsensusApprovedLabel"),u=(0,K.g2)("TransactionLabel"),c=(0,K.g2)("ListItemWrapper");return(0,K.uX)(),(0,K.Wv)(c,{class:"transaction-item",to:e.redirectRoute,"data-cy":e.currentTransaction.pending?"pending-txs":null,replace:""},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",bn,[(0,K.bF)(i,{assets:e.transactionAssets,error:e.isErrorTransaction,protocol:e.transactionProtocol,"icon-size":"rg"},null,8,["assets","error","protocol"]),(0,K.Lk)("div",wn,[e.multisigTransaction&&!e.hasConsensus?((0,K.uX)(),(0,K.CE)("div",Cn,[(0,K.bF)(s,{"confirmations-required":e.multisigTransaction.confirmationsRequired,"has-pending-transaction":e.multisigTransaction.hasPendingTransaction,"confirmed-by":e.multisigTransaction.confirmedBy,signers:e.multisigTransaction.signers},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])])):((0,K.uX)(),(0,K.Wv)(u,{key:1,transaction:e.currentTransaction,"transaction-date":e.transactionDate,"show-transaction-owner":e.showTransactionOwner,dense:""},null,8,["transaction","transaction-date","show-transaction-owner"])),e.multisigTransaction?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)(K.FK,{key:2},[e.fiatAmount&&!e.showTransactionOwner?((0,K.uX)(),(0,K.CE)("span",{key:0,textContent:(0,tt.v_)(e.fiatAmount)},null,8,xn)):e.showTransactionOwner?((0,K.uX)(),(0,K.CE)("span",{key:1,class:"date",textContent:(0,tt.v_)(e.transactionDate)},null,8,Ln)):(0,K.Q3)("",!0)],64))])])]})),_:1},8,["to","data-cy"])}var Tn=n(3260),En={ref:"transactionLabelRef",class:"transaction-label"},In={key:1,class:"error"},_n={class:"label"},Wn={key:0},Fn={key:0,class:"secondary"},Dn=["textContent"],Bn={key:4,class:"secondary"},Pn={key:5,class:"owner"},Mn={class:"secondary"};function On(e,t,n,a,r,o){var i=(0,K.g2)("PendingIcon"),s=(0,K.g2)("WarningIcon"),u=(0,K.g2)("RevertedIcon"),c=(0,K.g2)("Truncate");return(0,K.uX)(),(0,K.CE)("div",En,[e.transaction.pending?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"icon"})):e.isErrorTransaction?((0,K.uX)(),(0,K.CE)("div",In,[e.transaction.tx.returnType===e.TX_RETURN_TYPE_ABORT?((0,K.uX)(),(0,K.Wv)(s,{key:0,class:"icon"})):((0,K.uX)(),(0,K.Wv)(u,{key:1,class:"icon"}))])):(0,K.Q3)("",!0),(0,K.Lk)("div",_n,[e.label.customPending&&e.isErrorTransaction?((0,K.uX)(),(0,K.CE)("span",Wn,(0,tt.v_)(e.label.customPending),1)):e.transaction.pending?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("span",{key:1,ref:"labelRef",class:(0,tt.C4)(["type",{secondary:e.showTransactionOwner}])},[(0,K.eW)((0,tt.v_)(e.label.text)+" ",1),e.label.hasComma&&!e.showTransactionOwner?((0,K.uX)(),(0,K.CE)("span",Fn," , ")):(0,K.Q3)("",!0)],2)),e.isErrorTransaction?((0,K.uX)(),(0,K.CE)("span",{key:2,class:"error-type",textContent:(0,tt.v_)(e.errorTypeName)},null,8,Dn)):(0,K.Q3)("",!0),e.transaction.pending?((0,K.uX)(),(0,K.CE)("span",{key:3,class:(0,tt.C4)({secondary:!e.label.customPending||e.showTransactionOwner})},(0,tt.v_)(e.label.customPending||e.$t("common.pending"))+"... ",3)):e.showTransactionOwner?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("span",Bn,(0,tt.v_)(e.transactionDate),1)),e.showTransactionOwner?((0,K.uX)(),(0,K.CE)("div",Pn,[(0,K.Lk)("span",Mn,(0,tt.v_)(e.$t("common.by")),1),(0,K.bF)(c,{str:e.ownerName},null,8,["str"])])):(0,K.Q3)("",!0)])],512)}var Rn=n(49012),Nn=n(39893),Un=n(87053),Xn=n(36100),Vn=n(29592);const Hn=(0,K.pM)({components:{Truncate:Nn.A,PendingIcon:Un.A,RevertedIcon:Xn.A,WarningIcon:Vn.A},props:{transaction:{type:Object,required:!0},transactionDate:{type:String,default:""},showTransactionOwner:Boolean,dense:Boolean},setup:function(e){var t=(0,ce.oV)(),n=t.activeAccount,a=t.getAccountByAddress,r=(0,An.s9)(),i=r.t,s=(0,Rn.q)(),u=s.getName,c=(0,ce.my)({transaction:e.transaction,externalAddress:e.transaction.transactionOwner}),l=c.outerTxTag,d=c.innerTxTag,p=c.direction,v=c.innerTx,f=c.isDex,m=c.isDexAddLiquidity,h=c.isDexAllowance,A=c.isDexRemoveLiquidity,k=c.isErrorTransaction,y=c.isTip,b=c.txTypeListLabel,w=(0,ce.Y7)(),C=w.getProtocolAvailableTokens,x=(0,K.EW)((function(){var t,a=!e.transaction.transactionOwner,r=b.value;if(l.value===g.vw.SpendTx||l.value===g.vw.GaMetaTx&&d.value===g.vw.SpendTx){var s=p.value===o.NX.sent;r=i(s?"transaction.listType.sentTx":"transaction.listType.receivedTx"),t=i(s?"transaction.type.sentTx":"transaction.type.receivedTx")}else if(l.value===g.vw.PayingForTx&&d.value===g.vw.GaAttachTx)r=i("transaction.type.multisigVaultCreated");else if(h.value)r=i("transaction.dexType.allowToken");else if(m.value)r=i("transaction.dexType.provideLiquidity");else if(A.value)r=i("transaction.dexType.removeLiquidity");else if(f.value)r=i("common.swap"),a=!0;else if(y.value&&e.transaction.claim)r=i("transaction.listType.tipReceived");else if(y.value)r=i("transaction.listType.tipSent");else if(l.value===g.vw.ContractCallTx&&C(o.yv.aeternity)[v.value.contractId]&&(v.value["function"]===T.vG.transfer||e.transaction.incomplete)){var u=e.transaction.transactionOwner?e.transaction.transactionOwner===v.value.callerId:v.value.callerId===n.value.address;r=i(u?"transaction.listType.sentTx":"transaction.listType.receivedTx"),t=i(u?"transaction.type.sentTx":"transaction.type.receivedTx")}else l.value===g.vw.ContractCreateTx?r=i("transaction.type.contractCreateTx"):l.value===g.vw.ContractCallTx&&(r=i("transaction.type.contractCallTx"));return{text:r,customPending:t,hasComma:a}})),S=(0,K.EW)((function(){var t=a(e.transaction.transactionOwner);return u(null===t||void 0===t?void 0:t.address).value||(0,L.$W)(t)})),E=(0,K.EW)((function(){switch(e.transaction.tx.returnType){case T.S4:return i("transaction.returnType.abort");case T.wb:return i("transaction.returnType.revert");default:return null}}));return{TX_RETURN_TYPE_ABORT:T.S4,isErrorTransaction:k,ownerName:S,label:x,errorTypeName:E}}}),$n=(0,Ft.A)(Hn,[["render",On],["__scopeId","data-v-bde64a88"]]),jn=$n;var Kn=n(68369),qn={class:"consensus-approved-label"};function Gn(e,t,n,a,r,o){var i=(0,K.g2)("PendingIcon"),s=(0,K.g2)("ConsensusLabel");return(0,K.uX)(),(0,K.CE)("span",qn,[e.isConsensusReached?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.eW)((0,tt.v_)(e.$t("multisig.approved")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.bF)(i,{class:"icon"}),(0,K.eW)(" "+(0,tt.v_)(e.$t("multisig.consensusPending")),1)],64)),(0,K.eW)("   "),(0,K.bF)(s,{"confirmations-required":e.confirmationsRequired,"has-pending-transaction":e.hasPendingTransaction,"default-confirmed-by":e.defaultConfirmedBy,"confirmed-by":e.confirmedBy,signers:e.signers},null,8,["confirmations-required","has-pending-transaction","default-confirmed-by","confirmed-by","signers"]),e.isConsensusReached?((0,K.uX)(),(0,K.CE)(K.FK,{key:2},[(0,K.eW)(" . "+(0,tt.v_)(e.$t("multisig.waitingToBeSent")),1)],64)):(0,K.Q3)("",!0)])}var Qn={class:"consensus-label"};function Zn(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("span",Qn,(0,tt.v_)(e.localConfirmedBy)+"/"+(0,tt.v_)(e.confirmationsRequired)+" "+(0,tt.v_)(e.$t("common.of"))+" "+(0,tt.v_)(e.totalConfirmations),1)}const Yn=(0,K.pM)({props:{signers:{type:Array,required:!0},confirmedBy:{type:Array,default:function(){return[]}},confirmationsRequired:{type:Number,required:!0},defaultConfirmedBy:{type:Number,default:0},hasPendingTransaction:Boolean},setup:function(e){var t=(0,K.EW)((function(){var t;return e.hasPendingTransaction?null===(t=e.confirmedBy)||void 0===t?void 0:t.length:e.defaultConfirmedBy})),n=(0,K.EW)((function(){return e.signers.length}));return{localConfirmedBy:t,totalConfirmations:n}}}),zn=(0,Ft.A)(Yn,[["render",Zn]]),Jn=zn,ea=(0,K.pM)({components:{ConsensusLabel:Jn,PendingIcon:Un.A},props:{signers:{type:Array,required:!0},confirmedBy:{type:Array,default:function(){return[]}},confirmationsRequired:{type:Number,required:!0},defaultConfirmedBy:{type:Number,default:0},hasPendingTransaction:Boolean},setup:function(e){var t=(0,K.EW)((function(){var t;return e.hasPendingTransaction?null===(t=e.confirmedBy)||void 0===t?void 0:t.length:e.defaultConfirmedBy})),n=(0,K.EW)((function(){return t.value===e.confirmationsRequired}));return{localConfirmedBy:t,isConsensusReached:n}}}),ta=(0,Ft.A)(ea,[["render",Gn]]),na=ta,aa=(0,K.pM)({components:{ConsensusApprovedLabel:na,TransactionLabel:jn,TransactionAssetRows:Tn.A,ListItemWrapper:Kn.A},props:{transaction:{type:Object,default:null},multisigTransaction:{type:Object,default:null},isMultisig:Boolean,showTransactionOwner:Boolean,hasConsensus:Boolean},setup:function(e){var t,n=(0,ce.ZN)(),a=n.getFormattedAndRoundedFiat,r=(0,bt.KR)(),i=(0,K.EW)((function(){return e.multisigTransaction||e.transaction})),s=(0,K.EW)((function(){var t,n;return null!==(n=null===(t=e.transaction)||void 0===t?void 0:t.protocol)&&void 0!==n?n:o.yv.aeternity})),u=(0,K.EW)((function(){var t,n,a;return e.multisigTransaction?null===(n=null===(t=e.multisigTransaction)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.senderId:null===(a=e.transaction)||void 0===a?void 0:a.transactionOwner})),c=(0,ce.my)({transaction:i.value,externalAddress:u.value}),l=c.direction,d=c.isDexPool,p=c.isErrorTransaction,v=c.transactionAssets,f=(0,K.EW)((function(){return e.multisigTransaction?{name:Ye.Ie}:{name:e.isMultisig?Ye.tX:Ye.iB,params:{hash:e.transaction.hash,transactionOwner:e.transaction.transactionOwner||""}}})),m=(0,K.EW)((function(){var e,t=null===(e=v.value)||void 0===e?void 0:e.find((function(e){var t=e.assetType;return t===o.Dd.coin}));return!t||p.value||d.value||!t.protocol?0:a(+(0,L.k0)(t.decimals?(0,L.Y9)(t.amount||0,-t.decimals):t.amount),t.protocol)}));return(0,K.sV)((function(){t=(0,L.mX)((function(){var t;r.value=(null===(t=e.transaction)||void 0===t?void 0:t.microTime)?(0,L.d6)(Ze()(e.transaction.microTime).toISOString()):void 0}),5e3)})),(0,K.xo)((function(){clearInterval(t)})),{redirectRoute:f,fiatAmount:m,transactionDate:r,isErrorTransaction:p,currentTransaction:i,transactionAssets:v,transactionProtocol:s,transactionOwner:u,direction:l,formatDate:L.Yq,formatTime:L.fU}}}),ra=(0,Ft.A)(aa,[["render",Sn],["__scopeId","data-v-5d0ffd7a"]]),oa=ra;var ia=n(54598),sa={class:"infinite-scroll"};function ua(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",sa,[(0,K.RG)(e.$slots,"default",{},void 0,!0)])}var ca=n(53368);const la=(0,K.pM)({name:"InfiniteScroll",emits:["load-more"],setup:function(e,t){var n=t.emit,a=(0,ca.k)(),r=a.viewportElement,o=a.onViewportScroll;(0,K.wB)(r,(function(){o((function(e){var t=e.isOutsideOfViewport;t&&n("load-more")}))}),{immediate:!0})}}),da=(0,Ft.A)(la,[["render",ua],["__scopeId","data-v-f3c3c2da"]]),pa=da;var va=n(89460),fa=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const ma=(0,K.pM)({components:{TransactionListItem:oa,AnimatedSpinner:ia.A,InfiniteScroll:pa,MessageOffline:yn.A,IonContent:Fe.W9,BackToTop:va.A},props:{transactions:{type:Array,default:function(){return[]}},isLoading:Boolean,isEndReached:Boolean,isMultisig:Boolean},emits:["load-more"],setup:function(e,t){var n=t.emit,a=(0,An.s9)(),r=a.t,i=(0,ce.oV)(),u=i.accounts,c=i.activeAccount,l=(0,ce.CP)(),d=l.dexContracts,p=(0,ce.w5)(),v=p.isOnline,f=(0,ce.J$)(),m=f.setScrollConf,g=(0,ce.kW)(),h=g.initViewport,A=g.viewportElement,k=(0,ce.Y7)(),y=k.getTxAssetSymbol,b=(0,ce.QR)(),w=b.searchPhrase,C=b.displayMode,x=b.FILTER_MODE,S=(0,bt.KR)(),E=(0,bt.KR)(0),I=(0,K.EW)((function(){var e;return null===(e=S.value)||void 0===e?void 0:e.parentElement})),W=(0,K.EW)((function(){return w.value.toLocaleLowerCase()}));function F(e){return e.filter((function(e){var t=e.tx,n=e.tx?(0,_.Bd)(e.tx):null,a=(0,_.c0)(n),i=(0,_._B)(n,d.value),s=(0,_.qE)((null===t||void 0===t?void 0:t.payerId)?t:n,e.transactionOwner||(0,_.Sl)(c.value,u.value,n)!==T.Zi.current&&a||c.value.address);switch(C.value.key){case x.all:return!0;case x.dex:return i;case x.out:return s===o.NX.sent&&!i;case x["in"]:return s===o.NX.received;default:throw new Error("".concat(r("pages.recentTransactions.unknownMode")," ").concat(C.value.key))}}))}function D(e){return e.filter((function(e){var t,n,a;return!w.value||(null===(n=null===(t=e.tx)||void 0===t?void 0:t.contractId)||void 0===n?void 0:n.includes(W.value))||(null===(a=y(e))||void 0===a?void 0:a.toLocaleLowerCase().includes(W.value))}))}var B=(0,K.EW)((function(){return(0,L.Fs)([F,D,L.jL])(e.transactions)}));function P(){e.isLoading||n("load-more")}function M(){return fa(this,void 0,void 0,(0,s.A)().mark((function t(){var n,a,r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,K.dY)();case 2:return t.next=4,(0,L.mU)((function(){return!e.isLoading}));case 4:A.value&&(n=A.value,a=n.scrollHeight,r=n.scrollTop,o=n.clientHeight,a-r<=o+100&&(P(),e.isEndReached||M()));case 5:case"end":return t.stop()}}),t)})))}function O(){return(0,kn.A)((function(){var e,t;E.value=null!==(t=null===(e=null===I||void 0===I?void 0:I.value)||void 0===e?void 0:e.scrollTop)&&void 0!==t?t:0}),200)}return(0,K.wB)(E,(function(e){return m(e>=o.OO)})),(0,K.wB)(C,(function(){return M()})),(0,K.sV)((function(){m(!1),h(I.value),S.value&&I.value&&I.value.addEventListener("scroll",O())})),(0,K.hi)((function(){return m(!1)})),{activeAccount:c,isOnline:v,loadMore:P,innerScrollElem:S,filteredTransactions:B,getMultisigTransaction:_.jO,getTransaction:_.xw}}}),ga=(0,Ft.A)(ma,[["render",hn],["__scopeId","data-v-0c1013d8"]]),ha=ga;var Aa=!1;const ka=(0,K.pM)({components:{IonPage:Fe.AO,TransactionList:ha},setup:function(){var e=(0,ce.oV)(),t=e.activeAccount,n=(0,ce._8)({accountAddress:t.value.address,protocol:t.value.protocol}),a=n.transactionsLoadedAndPending,r=n.isEndReached,o=n.isLoading,i=n.loadCurrentPageTransactions,s=n.initializeTransactionListPolling,u=n.stopTransactionListPolling,c=(0,bt.KR)(!1);return(0,Fe.UO)((function(){c.value=!0,Aa||(s(),Aa=!0)})),(0,Fe.r0)((function(){c.value=!1,u(),Aa=!1})),(0,K.hi)((function(){c.value=!1,u(),Aa=!1})),{isPageActive:c,isLoading:o,isEndReached:r,transactionsLoadedAndPending:a,loadCurrentPageTransactions:i}}}),ya=(0,Ft.A)(ka,[["render",vn]]),ba=ya;function wa(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("BalanceInfo"),u=(0,K.g2)("OpenTransferReceiveModalButton"),c=(0,K.g2)("OpenTransferSendModalButton"),l=(0,K.g2)("BtnBox"),d=(0,K.g2)("AccountDetailsNavigation"),p=(0,K.g2)("AccountDetailsBase"),v=(0,K.g2)("IonContent"),f=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(f,null,{default:(0,K.k6)((function(){return[(0,K.bF)(v,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[e.activeMultisigAccount&&e.isPageActive?((0,K.uX)(),(0,K.Wv)(p,{key:0,"without-default-buttons":""},{"account-info":(0,K.k6)((function(){return[(0,K.bF)(i,{account:e.convertMultisigAccountToAccount(e.activeMultisigAccount),"is-multisig":"","show-protocol-icon":"","can-copy-address":""},null,8,["account"])]})),balance:(0,K.k6)((function(){return[(0,K.bF)(s,{balance:+(e.activeMultisigAccount.balance||0),protocol:e.PROTOCOLS.aeternity},null,8,["balance","protocol"])]})),buttons:(0,K.k6)((function(){return[(0,K.bF)(u,{"is-multisig":""}),(0,K.bF)(c,{"is-multisig":""}),e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(l,{key:0,icon:e.CreditCardIcon,text:e.$t("common.buy"),href:e.simplexLink},null,8,["icon","text","href"])):(0,K.Q3)("",!0)]})),navigation:(0,K.k6)((function(){return[(0,K.bF)(d,{"route-names":[e.ROUTE_MULTISIG_DETAILS,e.ROUTE_MULTISIG_DETAILS_INFO,e.ROUTE_MULTISIG_DETAILS_ASSETS]},null,8,["route-names"])]})),_:1})):(0,K.Q3)("",!0)]})),_:1})]})),_:1})}var Ca=n(28645),xa=n(58071),La=n(39098),Sa=n(20756),Ta=n(94449),Ea=n(15653),Ia=n(65568),_a=n(45799);const Wa=(0,K.pM)({components:{OpenTransferSendModalButton:Ia.A,BtnBox:Ca.A,OpenTransferReceiveModalButton:Ea.A,AccountDetailsNavigation:Ta.A,BalanceInfo:Sa.A,AccountInfo:La.A,AccountDetailsBase:xa.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,bt.KR)(!1),t=(0,ce.ci)(),n=t.activeMultisigAccount,a=(0,K.EW)((function(){return n.value?(0,_.hj)(n.value.gaAccountId):""}));return(0,Fe.UO)((function(){e.value=!0})),(0,Fe.r0)((function(){e.value=!1})),{UNFINISHED_FEATURES:o.s4,PROTOCOLS:o.yv,ROUTE_MULTISIG_DETAILS:Ye.uc,ROUTE_MULTISIG_DETAILS_INFO:Ye.n3,ROUTE_MULTISIG_DETAILS_ASSETS:Ye.kb,activeMultisigAccount:n,isPageActive:e,simplexLink:a,CreditCardIcon:_a.A,convertMultisigAccountToAccount:_.dT}}}),Fa=(0,Ft.A)(Wa,[["render",wa]]),Da=Fa;var Ba={class:"multisig-token-list-wrapper"};function Pa(e,t,n,a,r,o){var i=(0,K.g2)("AssetList"),s=(0,K.g2)("BackToTop"),u=(0,K.g2)("IonContent"),c=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(c,null,{default:(0,K.k6)((function(){return[(0,K.bF)(u,{class:"ion-padding ion-content-bg--lighter"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Ba,[(0,K.bF)(i,{"search-term":e.searchPhrase,"is-multisig":""},null,8,["search-term"])]),(0,K.bF)(s)]})),_:1})]})),_:1})}var Ma=n(50118);const Oa=(0,K.pM)({components:{AssetList:Ma.A,IonPage:Fe.AO,IonContent:Fe.W9,BackToTop:va.A},props:{showFilters:Boolean},setup:function(){var e=(0,ce.QR)(),t=e.searchPhrase;return{searchPhrase:t}}}),Ra=(0,Ft.A)(Oa,[["render",Pa],["__scopeId","data-v-d304c11c"]]),Na=Ra;function Ua(e,t,n,a,r,o){var i=(0,K.g2)("TransactionList"),s=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(s,null,{default:(0,K.k6)((function(){return[e.isPageActive?((0,K.uX)(),(0,K.Wv)(i,{key:0,"is-multisig":"",transactions:e.transactionList,"is-loading":e.isLoading,"is-end-reached":e.isEndReached,onLoadMore:t[0]||(t[0]=function(t){return e.loadCurrentPageTransactions()})},null,8,["transactions","is-loading","is-end-reached"])):(0,K.Q3)("",!0)]})),_:1})}var Xa=!1;const Va=(0,K.pM)({components:{IonPage:Fe.AO,TransactionList:ha},setup:function(){var e,t=(0,ce.ci)(),n=t.activeMultisigAccount,a=(0,ce.ju)(),r=a.pendingMultisigTransaction,i=(0,ce._8)({accountAddress:null===(e=n.value)||void 0===e?void 0:e.gaAccountId,protocol:o.yv.aeternity}),s=i.transactionsLoaded,u=i.isLoading,c=i.isEndReached,l=i.initializeTransactionListPolling,d=i.loadCurrentPageTransactions,p=i.stopTransactionListPolling,v=(0,bt.KR)(!1),f=(0,K.EW)((function(){return[].concat((0,te.A)(r.value?[r.value]:[]),(0,te.A)(s.value))}));return(0,Fe.UO)((function(){v.value=!0,Xa||(l(),Xa=!0)})),(0,Fe.r0)((function(){v.value=!1,p(),Xa=!1})),(0,K.hi)((function(){v.value=!1,p(),Xa=!1})),{isPageActive:v,isLoading:u,isEndReached:c,transactionList:f,loadCurrentPageTransactions:d}}}),Ha=(0,Ft.A)(Va,[["render",Ua]]),$a=Ha;function ja(e,t,n,a,r,o){var i=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(i)}var Ka=n(39262),qa=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Ga=(0,K.pM)({name:"Address",components:{IonPage:Fe.AO},setup:function(){var e=this,t=(0,ce.CP)(),n=t.nodeNetworkId,a=(0,ce.si)(),r=a.openCallbackOrGoHome,i=a.callbackOrigin,u=(0,ce.oV)(),c=u.activeAccount,l=(0,ce.U8)(),d=l.openModal,p=(0,K.EW)((function(){return i.value?{name:i.value.hostname,url:i.value.origin,host:i.value.host}:{}}));(0,K.sV)((function(){return qa(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d(o.kV,{access:[o.jA],app:p.value});case 3:r(!0,{address:c.value.address,networkId:n.value}),e.next=10;break;case 6:e.prev=6,e.t0=e["catch"](0),r(!1),e.t0 instanceof Ka.v&&(0,L.fY)(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,6]])})))}))}}),Qa=(0,Ft.A)(Ga,[["render",ja]]),Za=Qa;function Ya(e,t,n,a,r,o){var i=(0,K.g2)("AccountCard"),s=(0,K.g2)("AccountSwiper"),u=(0,K.g2)("OpenTransferReceiveModalButton"),c=(0,K.g2)("OpenTransferSendModalButton"),l=(0,K.g2)("LatestTransactionsCard"),d=(0,K.g2)("DashboardCard"),p=(0,K.g2)("DashboardBase"),v=(0,K.g2)("IonContent"),f=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(f,null,{default:(0,K.k6)((function(){return[(0,K.bF)(v,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"dashboard",accounts:e.accounts,"accounts-select-options":e.accountsSelectOptions,"active-account-address":e.activeAccount.address,"active-idx":e.activeAccountGlobalIdx,"balances-total":e.accountsTotalBalance,onSelectAccount:t[1]||(t[1]=function(t){return e.setActiveAccountByAddress(t)})},{swiper:(0,K.k6)((function(){return[(0,K.bF)(s,{"active-idx":e.activeAccountGlobalIdx,"address-list":e.accountsAddressList,onSelectAccount:t[0]||(t[0]=function(t){return e.setActiveAccountByGlobalIdx(t)})},{slide:(0,K.k6)((function(t){var n=t.index,a=t.selected;return[(0,K.bF)(i,{account:e.accounts[n],selected:a,idx:n,to:{name:e.ROUTE_ACCOUNT_DETAILS}},null,8,["account","selected","idx","to"])]})),_:1},8,["active-idx","address-list"])]})),buttons:(0,K.k6)((function(){return[(0,K.bF)(u,{"is-big":""}),(0,K.bF)(c,{"is-big":""})]})),cards:(0,K.k6)((function(){return[(0,K.bF)(l),e.IS_MOBILE_APP||e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(d,{key:0,title:e.$t("dashboard.daeppBrowserCard.title"),description:e.$t("dashboard.daeppBrowserCard.description"),"btn-text":e.$t("dashboard.daeppBrowserCard.button"),background:e.daeppBrowserBackground,icon:e.GlobeIcon,to:{name:e.ROUTE_APPS_BROWSER},"card-id":e.DASHBOARD_CARD_ID.daeppBrowser},null,8,["title","description","btn-text","background","icon","to","card-id"])):(0,K.Q3)("",!0),e.isNodeMainnet&&e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(d,{key:1,title:e.$t("dashboard.buyCard.title"),description:e.$t("dashboard.buyCard.description"),"btn-text":e.$t("dashboard.buyCard.button"),background:e.buyBackground,icon:e.CardIcon,href:e.activeAccountSimplexLink,"card-id":e.DASHBOARD_CARD_ID.buyAe},null,8,["title","description","btn-text","background","icon","href","card-id"])):(0,K.Q3)("",!0),(e.isNodeMainnet||e.isNodeTestnet)&&e.activeAccount.protocol===e.PROTOCOLS.aeternity?((0,K.uX)(),(0,K.Wv)(d,{key:2,title:e.$t("dashboard.nameCard.title"),description:e.$t("dashboard.nameCard.description"),"btn-text":e.$t("dashboard.nameCard.button"),background:e.chainNameBackground,icon:e.MenuCardIcon,to:{name:e.ROUTE_ACCOUNT_DETAILS_NAMES_CLAIM},"card-id":e.DASHBOARD_CARD_ID.claimName,variant:"purple"},null,8,["title","description","btn-text","background","icon","to","card-id"])):(0,K.Q3)("",!0)]})),_:1},8,["accounts","accounts-select-options","active-account-address","active-idx","balances-total"])]})),_:1})]})),_:1})}var za=n(75220);function Ja(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("BalanceInfo"),u=(0,K.g2)("AccountCardTotalTokens"),c=(0,K.g2)("AccountCardBase");return(0,K.uX)(),(0,K.Wv)(c,{class:"account-card",selected:e.selected,address:e.account.address},{top:(0,K.k6)((function(){return[(0,K.bF)(i,{account:e.account,"avatar-borderless":"","show-protocol-icon":""},null,8,["account"])]})),middle:(0,K.k6)((function(){return[(0,K.bF)(s,{balance:e.numericBalance,protocol:e.account.protocol},null,8,["balance","protocol"])]})),bottom:(0,K.k6)((function(){return[(0,K.bF)(u,{account:e.account},null,8,["account"])]})),_:1},8,["selected","address"])}var er={key:0,class:"account-card-total-tokens"},tr={class:"total-tokens"},nr={class:"digit"},ar={class:"wording"};function rr(e,t,n,a,r,o){return e.hasTokensSupport&&e.isOnline?((0,K.uX)(),(0,K.CE)("div",er,[(0,K.Lk)("div",tr,[(0,K.Lk)("span",nr,(0,tt.v_)(e.totalTokens),1),(0,K.Lk)("span",ar,(0,tt.v_)(e.$t("pages.fungible-tokens.tokens",e.totalTokens)),1)])])):(0,K.Q3)("",!0)}const or=(0,K.pM)({props:{account:{type:Object,required:!0}},setup:function(e){var t=(0,ce.w5)(),n=t.isOnline,a=(0,ce.Y7)(),r=a.getAccountTokenBalances,o=i.C.getAdapter(e.account.protocol),s=o.hasTokensSupport,u=(0,K.EW)((function(){return r(e.account.address).length}));return{isOnline:n,hasTokensSupport:s,totalTokens:u}}}),ir=(0,Ft.A)(or,[["render",rr],["__scopeId","data-v-35e45495"]]),sr=ir;var ur={class:"top"},cr={class:"middle"},lr={class:"bottom"};function dr(e,t,n,a,r,o){var i=(0,K.g2)("BtnBase");return(0,K.uX)(),(0,K.Wv)(i,{"data-cy":"account-card-base",class:(0,tt.C4)(["account-card-base",{active:e.selected&&!e.pending}]),to:e.to,disabled:!e.selected||e.pending,"bg-color":e.color,variant:e.color?void 0:"dark"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",ur,[(0,K.RG)(e.$slots,"top",{},void 0,!0)]),(0,K.Lk)("div",cr,[(0,K.RG)(e.$slots,"middle",{},void 0,!0)]),(0,K.Lk)("div",lr,[(0,K.RG)(e.$slots,"bottom",{},void 0,!0)])]})),_:3},8,["class","to","disabled","bg-color","variant"])}var pr={selected:Boolean,pending:Boolean};const vr=(0,K.pM)({components:{BtnBase:Ot.Ay},props:Object.assign({address:{type:String,default:""},to:{type:Object,default:null}},pr),setup:function(e){var t=(0,K.EW)((function(){return e.address?(0,L.cr)(e.address):void 0}));return{color:t}}}),fr=(0,Ft.A)(vr,[["render",dr],["__scopeId","data-v-69ea429a"]]),mr=fr,gr=(0,K.pM)({components:{AccountCardBase:mr,AccountCardTotalTokens:sr,AccountInfo:La.A,BalanceInfo:Sa.A},props:Object.assign({account:{type:Object,required:!0}},pr),setup:function(e){var t=(0,ce.ty)(),n=t.getAccountBalance,a=(0,K.EW)((function(){return n(e.account.address).toNumber()}));return{numericBalance:a}}}),hr=(0,Ft.A)(gr,[["render",Ja]]),Ar=hr;var kr={class:"account-swiper"},yr={class:"account-swiper-bottom"};function br(e,t,n,a,r,o){var i=(0,K.g2)("SwiperSlide"),s=(0,K.g2)("AccountCardAdd"),u=(0,K.g2)("Swiper"),c=(0,K.g2)("ChevronIcon"),l=(0,K.g2)("BtnPlain"),d=(0,K.g2)("BulletSwitcher"),p=(0,K.g2)("ToggleMultisigButton");return(0,K.uX)(),(0,K.CE)("div",kr,[(0,K.Lk)("div",{class:(0,tt.C4)(["swiper-wrapper",{"is-swiping":e.isSwiping}])},[(0,K.bF)(u,{ref:"customSwiper",class:"swiper","slides-per-view":1.1,"space-between":8,"centered-slides":!0,virtual:"",onSlideChange:e.onSlideChange,onSliderFirstMove:t[0]||(t[0]=function(t){return e.isSwiping=!0}),onTouchEnd:t[1]||(t[1]=function(t){return e.isSwiping=!1})},{default:(0,K.k6)((function(){return[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.addressList,(function(t,n){return(0,K.uX)(),(0,K.Wv)(i,{key:t,"swiper-ref":e.customSwiper,"virtual-index":n,class:"account-swiper-slide"},{default:(0,K.k6)((function(){return[(0,K.RG)(e.$slots,"slide",{index:n,selected:n===e.activeIdx},void 0,!0)]})),_:2},1032,["swiper-ref","virtual-index"])})),128)),(0,K.bF)(i,{class:"account-swiper-slide","virtual-index":e.addressList.length,"swiper-ref":e.customSwiper},{default:(0,K.k6)((function(){return[(0,K.bF)(s,{"is-multisig":e.isMultisig,idx:e.addressList.length,selected:""},null,8,["is-multisig","idx"])]})),_:1},8,["virtual-index","swiper-ref"])]})),_:3},8,["onSlideChange"]),e.IS_MOBILE_APP?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.bF)(We.eB,{name:"fade-transition-slow"},{default:(0,K.k6)((function(){return[e.isSwiping||0===e.currentIdx?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(l,{key:0,class:"nav-btn prev","data-cy":"account-card-btn-prev",onClick:t[2]||(t[2]=(0,We.D$)((function(t){return e.setCurrentSlide(e.currentIdx-1)}),["prevent"]))},{default:(0,K.k6)((function(){return[(0,K.bF)(c)]})),_:1}))]})),_:1}),(0,K.bF)(We.eB,{name:"fade-transition-slow"},{default:(0,K.k6)((function(){return[!e.isSwiping&&e.currentIdxNr})),n=(0,K.EW)((function(){var n;return n=e.currentIdx=e.optionsSize-1?e.optionsSize-5:e.currentIdx-Rr,-n*Or}));function a(t){return Math.abs(e.currentIdx-t)-(0===e.currentIdx?1:0)}function r(e){return!!t.value&&2===a(e)}function o(e){return!!t.value&&a(e)>2}return{BULLET_SIZE:Or,translateXValue:n,isMedium:r,isSmall:o}}}),Xr=(0,Ft.A)(Ur,[["render",Pr],["__scopeId","data-v-27e20eff"]]),Vr=Xr;var Hr={class:"text"},$r={key:0,class:"has-pending"},jr={class:"text"};function Kr(e,t,n,a,r,o){var i=(0,K.g2)("ArrowBackIcon"),s=(0,K.g2)("PendingIcon"),u=(0,K.g2)("BtnPlain");return e.multisigAccounts.length?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"multisig-button",onClick:t[0]||(t[0]=function(t){return e.toggleMultisigDashboard(!e.isMultisig)})},{default:(0,K.k6)((function(){return[e.isMultisig?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.bF)(i,{class:"icon-back"}),(0,K.Lk)("span",Hr,(0,tt.v_)(e.$t("multisig.backToMainAccounts")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[e.hasPendingMultisigTransaction?((0,K.uX)(),(0,K.CE)("div",$r,[(0,K.bF)(s,{class:"icon-pending"}),(0,K.Lk)("span",null,(0,tt.v_)(e.$t("common.tx")),1)])):(0,K.Q3)("",!0),(0,K.Lk)("span",jr,(0,tt.v_)(e.$t("multisig.showMultisigVaults")),1)],64))]})),_:1})):(0,K.Q3)("",!0)}n(15086);var qr={viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Gr=(0,K.Lk)("path",{d:"M3.44995 12.0045C3.44995 12.2753 3.56729 12.5461 3.7749 12.7447L9.73235 18.6931C9.94898 18.9007 10.1837 19 10.4454 19C11.0141 19 11.4293 18.5938 11.4293 18.0432C11.4293 17.7544 11.321 17.5106 11.1314 17.3301L9.1005 15.2721L6.48283 12.8801L8.58599 13.0064H19.526C20.1218 13.0064 20.537 12.5912 20.537 12.0045C20.537 11.4088 20.1218 10.9936 19.526 10.9936H8.58599L6.49186 11.1199L9.1005 8.72792L11.1314 6.66989C11.321 6.48936 11.4293 6.24565 11.4293 5.9568C11.4293 5.40619 11.0141 5 10.4454 5C10.1837 5 9.93996 5.09929 9.70527 5.32495L3.7749 11.2553C3.56729 11.4539 3.44995 11.7247 3.44995 12.0045Z"},null,-1),Qr=[Gr];function Zr(e,t){return(0,K.uX)(),(0,K.CE)("svg",qr,Qr)}const Yr={},zr=(0,Ft.A)(Yr,[["render",Zr]]),Jr=zr,eo=(0,K.pM)({components:{BtnPlain:Mr.A,PendingIcon:Un.A,ArrowBackIcon:Jr},props:{isMultisig:Boolean},setup:function(){var e=(0,za.rd)(),t=(0,ce.ci)(),n=t.multisigAccounts,a=(0,K.EW)((function(){return n.value.some((function(e){return e.hasPendingTransaction}))}));function r(t){e.push({name:t?Ye.zn:Ye.qJ})}return{multisigAccounts:n,hasPendingMultisigTransaction:a,toggleMultisigDashboard:r}}}),to=(0,Ft.A)(eo,[["render",Kr],["__scopeId","data-v-34a0d63e"]]),no=to;var ao=n(46841),ro=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};Cr.A.use([xr.AV]);const oo=(0,K.pM)({components:{ToggleMultisigButton:no,BulletSwitcher:Vr,BtnPlain:Mr.A,Swiper:wr.RC,SwiperSlide:wr.qr,AccountCardAdd:Wr,ChevronIcon:ao.A},props:{activeIdx:{type:Number,required:!0},addressList:{type:Array,required:!0},isMultisig:Boolean},emits:{"select-account":function(e){return!0}},setup:function(e,t){var n=t.emit,a=(0,bt.KR)(),r=(0,bt.KR)(0),i=(0,bt.KR)(!1),u=(0,K.EW)((function(){var e;return null===(e=a.value)||void 0===e?void 0:e.$el.swiper}));function c(e,t){return ro(this,void 0,void 0,(0,s.A)().mark((function n(){return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(e>-1&&r.value!==e)){n.next=4;break}return n.next=3,(0,K.dY)();case 3:u.value.slideTo(e,t);case 4:case"end":return n.stop()}}),n)})))}function l(){var t=u.value.activeIndex;t=0&&n("select-account",t),r.value!==t&&(r.value=t)}function d(t){return(0,L.cr)(e.addressList[t])}return(0,K.sV)((function(){e.activeIdx&&c(e.activeIdx,0),(0,K.wB)((function(){return e.activeIdx}),(function(e){c(e,0)}))})),{IS_MOBILE_APP:o.I$,PROTOCOLS:o.yv,currentIdx:r,customSwiper:a,isSwiping:i,getAccountColor:d,onSlideChange:l,setCurrentSlide:c}}}),io=(0,Ft.A)(oo,[["render",br],["__scopeId","data-v-62def7db"]]),so=io;var uo={class:"dashboard-base"},co={class:"dashboard-header"},lo={key:0,class:"dashboard-header-info"},po={class:"account-number"},vo={class:"account-number-current"},fo={class:"dashboard-base-swiper"},mo={class:"dashboard-base-cards"},go={key:0,class:"buttons-row"};function ho(e,t,n,a,r,o){var i=(0,K.g2)("TotalWalletAmount"),s=(0,K.g2)("FormSelect"),u=(0,K.g2)("BtnPill"),c=(0,K.g2)("DashboardCard");return(0,K.uX)(),(0,K.CE)("div",uo,[(0,K.Lk)("div",co,[e.accounts.length>1?((0,K.uX)(),(0,K.CE)("div",lo,[(0,K.bF)(i,{"total-balance":e.balancesTotal,"is-multisig":e.isMultisig,class:"total-amount"},null,8,["total-balance","is-multisig"]),(0,K.bF)(u,{class:"account-select-btn",hollow:""},{default:(0,K.k6)((function(){return[e.accounts.length>5&&e.accountsSelectOptions?((0,K.uX)(),(0,K.Wv)(s,{key:0,"default-text":e.$t("dashboard.selectAccount"),options:e.accountsSelectOptions,"model-value":e.activeAccountAddress,class:"account-select-input",unstyled:"","account-select":"","onUpdate:modelValue":t[0]||(t[0]=function(t){return e.$emit("select-account",t)})},{"current-text":(0,K.k6)((function(){return[(0,K.Lk)("div",po,[(0,K.Lk)("span",vo,(0,tt.v_)(e.activeIdx+1),1),(0,K.eW)(" / "+(0,tt.v_)(e.accounts.length),1)])]})),_:1},8,["default-text","options","model-value"])):(0,K.Q3)("",!0)]})),_:1})])):(0,K.Q3)("",!0)]),(0,K.Lk)("div",fo,[(0,K.RG)(e.$slots,"swiper",{},void 0,!0)]),(0,K.Lk)("div",mo,[e.$slots.buttons?((0,K.uX)(),(0,K.CE)("div",go,[(0,K.RG)(e.$slots,"buttons",{},void 0,!0)])):(0,K.Q3)("",!0),(0,K.RG)(e.$slots,"widgets",{},void 0,!0),e.isSeedBackedUp?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(c,{key:1,title:e.$t("dashboard.backUpCard.title"),description:e.$t("dashboard.backUpCard.description"),"btn-text":e.$t("dashboard.backUpCard.button"),icon:e.WarningTriangleIcon,to:{name:"settings-seed-phrase"},"data-cy":"backup-seed-phrase",variant:"danger"},null,8,["title","description","btn-text","icon"])),(0,K.RG)(e.$slots,"cards",{},void 0,!0)])])}function Ao(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain"),s=(0,K.g2)("Card");return(0,K.uX)(),(0,K.Wv)(s,{class:"dashboard-card",text:e.title,description:e.description,background:e.background,icon:e.icon,"card-id":e.cardId},{default:(0,K.k6)((function(){return[(0,K.bF)(i,{class:"card-button",text:e.btnText,href:e.href,to:e.to,variant:e.variant,inline:""},null,8,["text","href","to","variant"])]})),_:1},8,["text","description","background","icon","card-id"])}var ko={class:"text"},yo={class:"description"},bo={key:1,class:"card-close"};function wo(e,t,n,a,r,o){var i=(0,K.g2)("IconWrapper"),s=(0,K.g2)("BtnIcon");return(0,K.uX)(),(0,K.Wv)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.isVisible?((0,K.uX)(),(0,K.CE)("div",{key:0,class:(0,tt.C4)(["card",{dense:e.dense,disabled:e.disabled}]),style:(0,tt.Tr)(e.styleComponent)},[e.icon?((0,K.uX)(),(0,K.Wv)(i,{key:0,icon:e.icon,class:"card-icon","is-boxed":""},null,8,["icon"])):(0,K.Q3)("",!0),(0,K.Lk)("div",null,[(0,K.Lk)("div",ko,(0,tt.v_)(e.text),1),(0,K.Lk)("div",yo,(0,tt.v_)(e.description),1),(0,K.RG)(e.$slots,"default",{},void 0,!0)]),e.cardId?((0,K.uX)(),(0,K.CE)("div",bo,[(0,K.bF)(s,{"icon-variant":"light",icon:e.CloseIcon,onClick:t[0]||(t[0]=function(t){return e.setCardHidden(e.cardId)})},null,8,["icon"])])):(0,K.Q3)("",!0)],6)):(0,K.Q3)("",!0)]})),_:3})}var Co=n(33100),xo={viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Lo=(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z"},null,-1),So=(0,K.Lk)("path",{fill:"currentColor",d:"M27.7783 29.1924C27.5907 29.3799 27.3364 29.4853 27.0712 29.4853C26.806 29.4853 26.5516 29.3799 26.3641 29.1924L20.0001 22.8284L13.6361 29.1924C13.4486 29.3799 13.1943 29.4853 12.929 29.4853C12.6638 29.4853 12.4095 29.3799 12.2219 29.1924L10.8077 27.7782C10.6202 27.5906 10.5148 27.3363 10.5148 27.0711C10.5148 26.8059 10.6202 26.5515 10.8077 26.364L17.1717 20L10.8077 13.636C10.6202 13.4485 10.5148 13.1941 10.5148 12.9289C10.5148 12.6637 10.6202 12.4094 10.8077 12.2218L12.2219 10.8076C12.4095 10.6201 12.6638 10.5147 12.929 10.5147C13.1943 10.5147 13.4486 10.6201 13.6361 10.8076L20.0001 17.1716L26.3641 10.8076C26.5516 10.6201 26.806 10.5147 27.0712 10.5147C27.3364 10.5147 27.5907 10.6201 27.7783 10.8076L29.1925 12.2218C29.38 12.4094 29.4854 12.6637 29.4854 12.9289C29.4854 13.1941 29.38 13.4485 29.1925 13.636L22.8285 20L29.1925 26.364C29.38 26.5515 29.4854 26.8059 29.4854 27.0711C29.4854 27.3363 29.38 27.5906 29.1925 27.7782L27.7783 29.1924Z"},null,-1),To=[Lo,So];function Eo(e,t){return(0,K.uX)(),(0,K.CE)("svg",xo,To)}const Io={},_o=(0,Ft.A)(Io,[["render",Eo]]),Wo=_o;var Fo=n(58411);const Do=(0,K.pM)({name:"Card",components:{BtnIcon:Co.A,IconWrapper:Fo.Ay},props:{text:{type:String,required:!0},description:{type:String,required:!0},background:{type:String,default:null},cardId:{type:String,default:null},icon:{type:Object,default:null},dense:Boolean,disabled:Boolean},setup:function(e){var t=(0,ce.mv)(),n=t.hiddenCards,a=t.setCardHidden,r=(0,K.EW)((function(){return{backgroundImage:e.background?'url("'.concat(e.background,'")'):null}})),o=(0,K.EW)((function(){return!(e.cardId&&n.value.includes(e.cardId))}));return{CloseIcon:Wo,styleComponent:r,isVisible:o,hiddenCards:n,setCardHidden:a}}}),Bo=(0,Ft.A)(Do,[["render",wo],["__scopeId","data-v-d2868f74"]]),Po=Bo;var Mo=n(24574);const Oo=(0,K.pM)({components:{BtnMain:Mo.A,Card:Po},props:{title:{type:String,required:!0},description:{type:String,required:!0},btnText:{type:String,required:!0},background:{type:String,default:null},variant:{type:String,default:"secondary"},href:{type:String,default:null},cardId:{type:String,default:null},to:{type:Object,default:null},icon:{type:Object,default:null}}}),Ro=(0,Ft.A)(Oo,[["render",Ao],["__scopeId","data-v-153553d6"]]),No=Ro;var Uo={class:"total-amount"},Xo=["textContent"],Vo=["textContent"];function Ho(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",Uo,[(0,K.Lk)("span",{textContent:(0,tt.v_)(e.totalAmount)},null,8,Xo),(0,K.Lk)("span",{class:"label",textContent:(0,tt.v_)(e.isMultisig?e.$t("common.totalMultisig"):e.$t("common.total"))},null,8,Vo)])}const $o=(0,K.pM)({props:{totalBalance:{type:String,default:"0"},isMultisig:Boolean},setup:function(e){var t=(0,ce.ZN)(),n=t.formatCurrency,a=(0,K.EW)((function(){return n(+e.totalBalance)}));return{totalAmount:a}}}),jo=(0,Ft.A)($o,[["render",Ho],["__scopeId","data-v-1384e7ae"]]),Ko=jo;var qo=n(19442),Go=n(15320),Qo={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Zo=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.5414 21.1299C21.0235 21.1299 22 20.0574 22 18.7081C22 18.3102 21.8954 17.895 21.6687 17.5145L14.1011 4.10805C13.6303 3.27775 12.8282 2.87988 12.0087 2.87988C11.1718 2.87988 10.3348 3.29503 9.88141 4.10805L2.33128 17.5145C2.10465 17.895 2 18.3102 2 18.7081C2 20.0574 2.95903 21.1299 4.44117 21.1299H19.5414ZM11.2578 7.89673C11.0889 8.06079 10.9913 8.29675 11.0006 8.58588V8.58643L11.147 13.7902C11.1567 14.0792 11.2426 14.2845 11.3796 14.418C11.5164 14.5513 11.7217 14.6299 12.0053 14.6299C12.2781 14.6299 12.475 14.554 12.6063 14.423C12.7383 14.2913 12.8224 14.0858 12.8322 13.7903L12.9995 8.59631C13.0176 8.03479 12.597 7.62988 11.9948 7.62988C11.6793 7.62988 11.4275 7.73199 11.2578 7.89673ZM13 16.8799C13 17.4322 12.5523 17.8799 12 17.8799C11.4477 17.8799 11 17.4322 11 16.8799C11 16.3276 11.4477 15.8799 12 15.8799C12.5523 15.8799 13 16.3276 13 16.8799Z",fill:"currentColor"},null,-1),Yo=[Zo];function zo(e,t){return(0,K.uX)(),(0,K.CE)("svg",Qo,Yo)}const Jo={},ei=(0,Ft.A)(Jo,[["render",zo]]),ti=ei,ni=(0,K.pM)({name:"DashboardBase",components:{BtnPill:Go.A,DashboardCard:No,FormSelect:qo.A,TotalWalletAmount:Ko},props:{accounts:{type:Array,default:function(){return[]}},accountsSelectOptions:{type:Array,default:null},activeAccountAddress:{type:String,default:""},activeIdx:{type:Number,default:0},balancesTotal:{type:String,default:null},isMultisig:Boolean},emits:{"select-account":function(e){return!0}},setup:function(){var e=(0,ce.mv)(),t=e.isSeedBackedUp;return{isSeedBackedUp:t,WarningTriangleIcon:ti}}}),ai=(0,Ft.A)(ni,[["render",ho],["__scopeId","data-v-16ddc864"]]),ri=ai;var oi={key:1};function ii(e,t,n,a,r,o){var i=(0,K.g2)("AnimatedSpinner"),s=(0,K.g2)("TransactionListItem"),u=(0,K.g2)("Panel");return e.showWidget?((0,K.uX)(),(0,K.Wv)(u,{key:0,ref:"latestTransactionCardEl",class:"latest-transaction-card",header:e.$t("dashboard.latestTransactionCard.title")},{default:(0,K.k6)((function(){return[(0,K.bF)(We.eB,{name:"page-transition"},{default:(0,K.k6)((function(){return[e.isLoading?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"spinner"})):((0,K.uX)(),(0,K.CE)("div",oi,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.latestTransactionsToDisplay,(function(e){return(0,K.uX)(),(0,K.Wv)(s,{key:"".concat(e.transactionOwner,"-").concat(e.hash),class:"transaction-item",transaction:e,"show-transaction-owner":""},null,8,["transaction"])})),128))]))]})),_:1})]})),_:1},8,["header"])):(0,K.Q3)("",!0)}var si=3;const ui=(0,K.pM)({name:"LatestTransactionsCard",components:{Panel:qt,TransactionListItem:oa,AnimatedSpinner:ia.A},setup:function(){var e=(0,za.lq)(),t=(0,bt.KR)(null),n=(0,ce.w5)(),a=n.isOnline,r=(0,ce.kW)(),o=r.viewportElement,i=(0,ce.rb)(),s=i.allLatestTransactions,u=i.areLatestTransactionsUpdating,c=(0,K.EW)((function(){return e.query})),l=(0,K.EW)((function(){return u.value&&!s.value.length})),d=(0,K.EW)((function(){return a.value&&(u.value||s.value.length)})),p=(0,K.EW)((function(){return s.value.slice(0,si)}));function v(e){var n;e&&o.value&&(null===(n=t.value)||void 0===n?void 0:n.$el)&&o.value.scrollTo({top:t.value.$el.getBoundingClientRect().x+50})}return(0,K.wB)(c,(function(e){v(e.latestTxHash)})),(0,K.sV)((function(){v(c.value.latestTxHash)})),{allLatestTransactions:s,latestTransactionCardEl:t,latestTransactionsToDisplay:p,showWidget:d,isLoading:l}}}),ci=(0,Ft.A)(ui,[["render",ii],["__scopeId","data-v-365b4ce0"]]),li=ci;var di=n(84648),pi=n(65608),vi=n(18427),fi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",class:"icon"},mi=(0,K.Lk)("path",{d:"M5.23248,1.12932L12.7184,2.45348c.7945.14124,1.4566.36193,2.0039.66208l-.0088-.58263c-.0354-1.915617-1.3683-2.8337-3.5488-2.44528L5.23248,1.12932ZM2.54886,18.2286l9.73694,1.7126c1.845.3266,2.9838-.7239,2.9838-2.7366v-10.65506c0-1.84499-.9004-2.56004-2.7719-2.88666L3.06086,1.99444c-1.38595-.23835-2.330513.54731-2.330513,1.92444v12.19992c0,1.1829.626763,1.8979,1.818513,2.1098ZM4.30557,7.26458c-.34428-.05296-.53849-.31779-.53849-.6709c0-.42373.33545-.70622.80332-.62677l6.7885,1.19174c.362.07062.5562.28249.5562.67091c0,.42373-.309.71504-.7769.64442L4.30557,7.26458Zm0,3.61932c-.33545-.0617-.53849-.3177-.53849-.6709c0-.41486.33545-.69735.80332-.6179l6.7885,1.1917c.362.0707.5562.2825.5562.6533c0,.4414-.309.7327-.7769.6621L4.30557,10.8839Z",transform:"translate(2 0)",fill:"currentColor"},null,-1),gi=[mi];function hi(e,t){return(0,K.uX)(),(0,K.CE)("svg",fi,gi)}const Ai={},ki=(0,Ft.A)(Ai,[["render",hi]]),yi=ki,bi=n.p+"img/buy-ae.616acc4d.webp",wi=n.p+"img/chain-name.bc49b8b5.webp",Ci=n.p+"img/aepp-browser.0207bbdb.webp",xi=(0,K.pM)({name:"Dashboard",components:{AccountCard:Ar,AccountSwiper:so,DashboardBase:ri,DashboardCard:No,IonPage:Fe.AO,IonContent:Fe.W9,LatestTransactionsCard:li,OpenTransferReceiveModalButton:Ea.A,OpenTransferSendModalButton:Ia.A},setup:function(){var e=(0,bt.KR)(!0),t=(0,za.lq)(),n=(0,ce.oV)(),a=n.accounts,r=n.accountsAddressList,i=n.accountsSelectOptions,s=n.activeAccount,u=n.activeAccountGlobalIdx,c=n.setActiveAccountByGlobalIdx,l=n.setActiveAccountByAddress,d=(0,ce.ty)(),p=d.accountsTotalBalance,v=(0,ce.si)(),f=v.checkIfOpenTransferSendModal,m=(0,ce.CP)(),g=m.isNodeMainnet,h=m.isNodeTestnet,A=(0,K.EW)((function(){return(0,_.mV)(s.value.address)})),k=(0,K.EW)((function(){return(0,_.hj)(s.value.address)}));return(0,K.wB)((function(){return t.query}),(function(){return f(t)}),{deep:!0,immediate:!0}),(0,Fe.xX)((function(){e.value=!0})),(0,Fe.r0)((function(){e.value=!1})),{DASHBOARD_CARD_ID:o._3,IS_MOBILE_APP:o.I$,PROTOCOLS:o.yv,ROUTE_ACCOUNT_DETAILS:Ye.no,ROUTE_ACCOUNT_DETAILS_NAMES_CLAIM:Ye.PC,ROUTE_APPS_BROWSER:Ye.qC,UNFINISHED_FEATURES:o.s4,ArrowSendIcon:pi.A,ArrowReceiveIcon:di.A,CardIcon:_a.A,GlobeIcon:vi.A,MenuCardIcon:yi,accounts:a,accountsAddressList:r,accountsSelectOptions:i,accountsTotalBalance:p,activeAccount:s,activeAccountSimplexLink:k,activeAccountFaucetUrl:A,activeAccountGlobalIdx:u,buyBackground:bi,chainNameBackground:wi,daeppBrowserBackground:Ci,isNodeMainnet:g,isNodeTestnet:h,pageIsActive:e,setActiveAccountByGlobalIdx:c,setActiveAccountByAddress:l}}}),Li=(0,Ft.A)(xi,[["render",Ya]]),Si=Li;function Ti(e,t,n,a,r,o){var i=(0,K.g2)("AccountCardMultisig"),s=(0,K.g2)("AccountSwiper"),u=(0,K.g2)("OpenTransferReceiveModalButton"),c=(0,K.g2)("OpenTransferSendModalButton"),l=(0,K.g2)("PendingMultisigTransactionCard"),d=(0,K.g2)("DashboardBase"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.bF)(d,{class:"dashboard-multisig","active-idx":e.multisigAccountIdx,"balances-total":e.multisigBalancesTotal,accounts:e.multisigAccounts,"is-multisig":""},{swiper:(0,K.k6)((function(){return[(0,K.bF)(s,{"active-idx":e.multisigAccountIdx,"address-list":e.addressList,"is-multisig":"",onSelectAccount:t[0]||(t[0]=function(t){return e.selectAccount(t)})},{slide:(0,K.k6)((function(t){var n=t.index,a=t.selected;return[(0,K.bF)(i,{account:e.multisigAccounts[n],pending:e.isPendingAccount(e.multisigAccounts[n]),selected:a,idx:n,to:{name:e.ROUTE_MULTISIG_DETAILS}},null,8,["account","pending","selected","idx","to"])]})),_:1},8,["active-idx","address-list"])]})),buttons:(0,K.k6)((function(){return[(0,K.bF)(u,{disabled:e.isActiveMultisigAccountPending,"is-multisig":"","is-big":""},null,8,["disabled"]),(0,K.bF)(c,{disabled:!!e.pendingMultisigTransaction||e.isActiveMultisigAccountPending,"is-multisig":"","is-big":""},null,8,["disabled"])]})),widgets:(0,K.k6)((function(){return[(0,K.bF)(l)]})),_:1},8,["active-idx","balances-total","accounts"])]})),_:1})]})),_:1})}n(72712);var Ei={class:"pending"},Ii=["textContent"];function _i(e,t,n,a,r,o){var i=(0,K.g2)("PendingIcon"),s=(0,K.g2)("AccountInfo"),u=(0,K.g2)("BalanceInfo"),c=(0,K.g2)("AccountCardConsensus"),l=(0,K.g2)("AccountCardBase");return(0,K.uX)(),(0,K.Wv)(l,{class:"account-card-multisig",selected:e.selected,pending:e.pending,address:e.account.gaAccountId},{top:(0,K.k6)((function(){return[(0,K.bF)(s,{account:e.convertMultisigAccountToAccount(e.account),"is-placeholder":e.pending,"is-multisig":"","avatar-borderless":"","show-protocol-icon":""},(0,K.eX)({_:2},[e.pending?{name:"address",fn:(0,K.k6)((function(){return[(0,K.Lk)("div",Ei,[(0,K.bF)(i,{class:"pending-icon"}),(0,K.Lk)("span",{class:"pending-message",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.addingToWalletCard"))},null,8,Ii)])]})),key:"0"}:void 0]),1032,["account","is-placeholder"])]})),middle:(0,K.k6)((function(){return[(0,K.bF)(u,{balance:+e.account.balance,protocol:e.PROTOCOLS.aeternity},null,8,["balance","protocol"])]})),bottom:(0,K.k6)((function(){return[e.pending?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(c,{key:0,"multisig-account":e.account},null,8,["multisig-account"]))]})),_:1},8,["selected","pending","address"])}var Wi={key:0,class:"account-card-consensus"},Fi={class:"consensus-row"},Di={key:0,class:"consensus-row"};function Bi(e,t,n,a,r,o){var i=(0,K.g2)("PendingIcon"),s=(0,K.g2)("ConsensusLabel"),u=(0,K.g2)("CheckCircleFillIcon");return e.isOnline&&e.multisigAccount.hasPendingTransaction?((0,K.uX)(),(0,K.CE)("div",Wi,[(0,K.Lk)("div",Fi,[(0,K.bF)(i,{class:"icon pending"}),(0,K.eW)(" "+(0,tt.v_)(e.$t("multisig.consensus"))+" ",1),(0,K.bF)(s,{"confirmations-required":e.multisigAccount.confirmationsRequired,"has-pending-transaction":e.multisigAccount.hasPendingTransaction,"confirmed-by":e.multisigAccount.confirmedBy,signers:e.multisigAccount.signers,class:"highlighted"},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])]),e.transactionMessage?((0,K.uX)(),(0,K.CE)("div",Di,[(0,K.bF)(u,{class:"icon check-circle"}),(0,K.eW)(" "+(0,tt.v_)(e.transactionMessage),1)])):(0,K.Q3)("",!0)])):(0,K.Q3)("",!0)}n(88431);var Pi={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Mi=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM11.8415 16.4438C11.6011 16.7998 11.2732 17 10.8689 17C10.4754 17 10.1585 16.8331 9.86339 16.4438L7.27322 13.2403C7.09836 13.0067 7 12.762 7 12.495C7 11.9388 7.4153 11.505 7.95082 11.505C8.27869 11.505 8.54098 11.6274 8.80328 11.9722L10.8361 14.6085L15.153 7.55617C15.3825 7.17798 15.6776 7 16.0055 7C16.5191 7 17 7.36707 17 7.91212C17 8.16796 16.8689 8.43493 16.7268 8.66852L11.8415 16.4438Z",fill:"currentColor"},null,-1),Oi=[Mi];function Ri(e,t){return(0,K.uX)(),(0,K.CE)("svg",Pi,Oi)}const Ni={},Ui=(0,Ft.A)(Ni,[["render",Ri]]),Xi=Ui,Vi=(0,K.pM)({components:{ConsensusLabel:Jn,PendingIcon:Un.A,CheckCircleFillIcon:Xi},props:{multisigAccount:{type:Object,required:!0}},setup:function(e){var t=(0,An.s9)(),n=t.t,a=(0,ce.w5)(),r=a.isOnline,o=(0,ce.oV)(),i=o.isLocalAccountAddress,s=(0,K.EW)((function(){var t=e.multisigAccount.signers.filter((function(e){return i(e)}));return t.every((function(t){return e.multisigAccount.confirmedBy.includes(t)}))})),u=(0,K.EW)((function(){var t=e.multisigAccount,a=t.confirmedBy,r=t.confirmationsRequired,o=t.signers;return a.length===r?n("multisig.transactionReady"):s.value?n("multisig.transactionSigned"):o.some((function(e){return i(e)}))?n("multisig.signatureRequested"):null}));return{isOnline:r,transactionMessage:u}}}),Hi=(0,Ft.A)(Vi,[["render",Bi],["__scopeId","data-v-0f931edd"]]),$i=Hi,ji=(0,K.pM)({components:{AccountCardBase:mr,AccountCardConsensus:$i,AccountInfo:La.A,BalanceInfo:Sa.A,PendingIcon:Un.A},props:Object.assign({account:{type:Object,required:!0}},pr),setup:function(){return{PROTOCOLS:o.yv,convertMultisigAccountToAccount:_.dT}}}),Ki=(0,Ft.A)(ji,[["render",_i],["__scopeId","data-v-becb8358"]]),qi=Ki;var Gi={key:1};function Qi(e,t,n,a,r,o){var i,s=(0,K.g2)("AnimatedSpinner"),u=(0,K.g2)("TransactionListItem"),c=(0,K.g2)("Panel");return(null===(i=e.pendingMultisigTransaction)||void 0===i?void 0:i.tx)?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"pending-multisig-transaction-card",header:e.$t("dashboard.pendingMultisigCard.title")},{default:(0,K.k6)((function(){return[(0,K.bF)(We.eB,{name:"page-transition"},{default:(0,K.k6)((function(){return[e.isLoading?((0,K.uX)(),(0,K.Wv)(s,{key:0,class:"spinner"})):((0,K.uX)(),(0,K.CE)("div",Gi,[(0,K.bF)(u,{"is-multisig":"","multisig-transaction":e.pendingMultisigTransaction},null,8,["multisig-transaction"])]))]})),_:1})]})),_:1},8,["header"])):(0,K.Q3)("",!0)}const Zi=(0,K.pM)({components:{AnimatedSpinner:ia.A,Panel:qt,TransactionListItem:oa},setup:function(){var e=(0,ce.ju)(),t=e.isLoading,n=e.pendingMultisigTransaction;return{isLoading:t,pendingMultisigTransaction:n}}}),Yi=(0,Ft.A)(Zi,[["render",Qi],["__scopeId","data-v-8b3187dc"]]),zi=Yi,Ji=(0,K.pM)({name:"DashboardMultisig",components:{AccountCardMultisig:qi,AccountSwiper:so,OpenTransferSendModalButton:Ia.A,OpenTransferReceiveModalButton:Ea.A,DashboardBase:ri,PendingMultisigTransactionCard:zi,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,bt.KR)(!0),t=(0,ce.U8)(),n=t.openModal,a=(0,ce.ci)(),r=a.multisigAccounts,i=a.activeMultisigAccountId,s=a.pendingMultisigAccounts,u=a.isActiveMultisigAccountPending,c=a.setActiveMultisigAccountId,l=(0,ce.ju)(),d=l.pendingMultisigTransaction,p=(0,K.EW)((function(){return r.value.map((function(e){return e.gaAccountId}))})),v=(0,K.EW)((function(){return r.value.findIndex((function(e){return e.gaAccountId===i.value}))})),f=(0,K.EW)((function(){return r.value.map((function(e){return e.balance})).reduce((function(e,t){return e.plus(t)}),new pe.A(0)).toFixed()}));function m(e){var t=r.value[e];t.gaAccountId&&c(t.gaAccountId)}function g(){n(o.Fv,{isMultisig:!0})}function h(e){return!!s.value.find((function(t){var n=t.gaAccountId;return n===e.gaAccountId}))}return(0,Fe.xX)((function(){e.value=!0})),(0,Fe.r0)((function(){e.value=!1})),{isActiveMultisigAccountPending:u,pendingMultisigTransaction:d,pageIsActive:e,ROUTE_MULTISIG_DETAILS:Ye.uc,ArrowSendIcon:pi.A,addressList:p,multisigAccountIdx:v,multisigAccounts:r,multisigBalancesTotal:f,openTransferSendModal:g,selectAccount:m,isPendingAccount:h}}}),es=(0,Ft.A)(Ji,[["render",Ti]]),ts=es;var ns={class:"comment-new"},as={class:"comment-text"};function rs(e,t,n,a,r,o){var i=(0,K.g2)("AccountSelector"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("FixedScreenFooter"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",ns,[(0,K.bF)(i,{modelValue:e.creatorAddress,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.creatorAddress=t}),options:e.aeAccountsSelectOptions,onSelect:e.setActiveAccountByAddress},null,8,["modelValue","options","onSelect"]),(0,K.Lk)("div",as,(0,tt.v_)(e.text),1),(0,K.bF)(u,null,{default:(0,K.k6)((function(){return[(0,K.bF)(s,{variant:"muted","extra-padded":"",class:"cancel-button",onClick:t[1]||(t[1]=function(t){return e.openCallbackOrGoHome(!1)})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.cancel")),1)]})),_:1}),(0,K.bF)(s,{disabled:!e.isTippingSupported,onClick:e.sendComment},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.confirm")),1)]})),_:1},8,["disabled","onClick"])]})),_:1})])]})),_:1})]})),_:1})}var os={class:"account-selector"},is={key:0};function ss(e,t,n,a,r,o){var i,s=(0,K.g2)("Avatar"),u=(0,K.g2)("Truncate"),c=(0,K.g2)("FormSelect"),l=(0,K.g2)("BtnPill"),d=(0,K.g2)("AddressTruncated");return(0,K.uX)(),(0,K.CE)("div",os,[e.avatarOnly?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(s,{key:0,address:e.modelValue.toString(),size:"lg"},null,8,["address"])),(0,K.Lk)("div",null,[(0,K.bF)(l,{class:(0,tt.C4)(["account-select",{"avatar-only":e.avatarOnly}]),avatar:e.avatarOnly,dense:""},{default:(0,K.k6)((function(){return[(0,K.bF)(c,(0,K.v6)(e.$attrs,{avatar:e.avatarOnly,"model-value":e.modelValue,options:e.options||e.accountsSelectOptions,"hide-arrow":e.avatarOnly,"default-text":e.$t("modals.createMultisigAccount.selectAccount"),"account-select":"",unstyled:"","onUpdate:modelValue":t[0]||(t[0]=function(t){return e.$emit("update:modelValue",t)})}),{"current-text":(0,K.k6)((function(t){var n=t.text;return[(0,K.RG)(e.$slots,"default",{},(function(){return[e.avatarOnly?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("div",is,[(0,K.bF)(u,{class:"account-select-text",str:n},null,8,["str"])])),e.avatarOnly?((0,K.uX)(),(0,K.Wv)(s,{key:1,address:e.modelValue.toString(),size:"sm"},null,8,["address"])):(0,K.Q3)("",!0)]}),!0)]})),_:3},16,["avatar","model-value","options","hide-arrow","default-text"])]})),_:3},8,["class","avatar"]),e.avatarOnly?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(d,{key:0,"show-explorer-link":"","show-protocol-icon":"",address:e.modelValue.toString(),protocol:null===(i=e.selectedAccount)||void 0===i?void 0:i.protocol,class:"address-truncated"},null,8,["address","protocol"]))])])}var us=n(59480),cs=n(28192);const ls=(0,K.pM)({components:{Avatar:us.A,AddressTruncated:cs.A,BtnPill:Go.A,FormSelect:qo.A,Truncate:Nn.A},model:{event:"select"},props:{modelValue:{type:String,default:null},options:{type:Array,default:function(){return null}},avatarOnly:Boolean},emits:["update:modelValue"],setup:function(e){var t=(0,ce.oV)(),n=t.accountsSelectOptions,a=t.getAccountByAddress,r=(0,K.EW)((function(){return e.modelValue?a(e.modelValue):void 0}));return{accountsSelectOptions:n,selectedAccount:r}}}),ds=(0,Ft.A)(ls,[["render",ss],["__scopeId","data-v-77f77faa"]]),ps=ds;var vs=n(71364),fs=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const ms=(0,K.pM)({name:"CommentNew",components:{AccountSelector:ps,BtnMain:Mo.A,FixedScreenFooter:vs.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=this,t=(0,za.rd)(),n=(0,za.lq)(),a=(0,An.s9)(),r=a.t,i=(0,ce.mv)(),u=i.setLoaderVisible,c=(0,I.$L)(),l=c.aeActiveNetworkSettings,d=(0,ce.CP)(),p=d.getAeSdk,v=d.fetchRespondChallenge,f=d.isTippingSupported,m=(0,ce.U8)(),g=m.openDefaultModal,h=(0,ce.si)(),A=h.openCallbackOrGoHome,k=(0,ce.oV)(),y=k.aeAccountsSelectOptions,b=k.getLastActiveProtocolAccount,w=k.setActiveAccountByAddress,C=(0,bt.KR)(b(o.yv.aeternity).address),x=(0,bt.KR)(""),S=(0,bt.KR)(void 0),T=(0,bt.KR)("");function E(){return fs(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a,o=this;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return u(!0),e.prev=1,t=function(e){return fs(o,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,L.B2)("".concat(l.value.backendUrl,"/comment/api/"),{body:e}));case 1:case"end":return t.stop()}}),t)})))},e.next=5,t({tipId:x.value,text:T.value,author:C.value,parentId:S.value});case 5:return n=e.sent,e.next=8,v(n);case 8:a=e.sent,t(a),A(!0),e.next=18;break;case 13:throw e.prev=13,e.t0=e["catch"](1),g({title:r("modals.transaction-failed.msg"),icon:"critical"}),e.t0.payload={id:x,parentId:S,text:T},e.t0;case 18:return e.prev=18,u(!1),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[1,13,18,21]])})))}return(0,K.wB)((function(){return n}),(function(e){var n,a,r=e.query;if(x.value=null!==(n=r.id)&&void 0!==n?n:"",S.value=r.parentId?+r.parentId:void 0,T.value=null!==(a=r.text)&&void 0!==a?a:"",!x.value||!T.value)throw t.push({name:Ye.qJ}),new Error("CommentNew: Invalid arguments")}),{immediate:!0}),function(){fs(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return u(!0),e.next=3,p();case 3:u(!1);case 4:case"end":return e.stop()}}),e)})))}(),{creatorAddress:C,aeAccountsSelectOptions:y,id:x,parentId:S,text:T,isTippingSupported:f,sendComment:E,openCallbackOrGoHome:A,setActiveAccountByAddress:w}}}),gs=(0,Ft.A)(ms,[["render",rs],["__scopeId","data-v-67d57742"]]),hs=gs;var As={class:"app-name"},ks={class:"details"};function ys(e,t,n,a,r,o){var i=(0,K.g2)("AnimatedSpinner"),s=(0,K.g2)("TransactionOverview"),u=(0,K.g2)("DetailsItem"),c=(0,K.g2)("TransactionDetailsPoolTokenRow"),l=(0,K.g2)("TokenAmount"),d=(0,K.g2)("BtnMain"),p=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(p,{show:"","full-screen":"",class:"confirm-transaction-sign","data-cy":"popup-aex2"},{footer:(0,K.k6)((function(){return[(0,K.bF)(d,{variant:"muted","data-cy":"deny",third:"","extra-padded":"",text:e.$t("pages.signTransaction.reject"),onClick:t[0]||(t[0]=function(t){return e.cancel()})},null,8,["text"]),(0,K.bF)(d,{class:"button-action-primary","data-cy":"accept",third:"",disabled:!!e.error||e.verifying,icon:e.verifying?e.AnimatedSpinner:null,text:e.verifying?e.$t("common.verifying"):e.$t("common.confirm"),onClick:t[1]||(t[1]=function(t){var n;return null===(n=e.popupProps)||void 0===n?void 0:n.resolve()})},null,8,["disabled","icon","text"])]})),default:(0,K.k6)((function(){var t;return[e.loading?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"loader"})):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.bF)(s,{transaction:e.completeTransaction,"additional-tag":e.isAeppChatSuperhero?e.$t("modals.confirmTransactionSign.superheroChat"):null},null,8,["transaction","additional-tag"]),e.isAeppChatSuperhero||e.error?((0,K.uX)(),(0,K.CE)("div",{key:0,class:(0,tt.C4)(["subtitle",{warning:!!e.error}])},[e.error?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.eW)((0,tt.v_)(e.$t("modals.confirmTransactionSign.unableToExecute")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.Lk)("span",As,(0,tt.v_)(e.$t("modals.confirmTransactionSign.superheroChat")),1),(0,K.eW)(" "+(0,tt.v_)(e.$t("modals.confirmTransactionSign.confirmSigning")),1)],64))],2)):(0,K.Q3)("",!0),e.error?((0,K.uX)(),(0,K.Wv)(u,{key:1,label:e.$t("pages.transactionDetails.reason"),value:e.error,class:"reason","data-cy":"reason"},null,8,["label","value"])):(0,K.Q3)("",!0),(null===(t=e.decodedCallData)||void 0===t?void 0:t.functionName)?((0,K.uX)(),(0,K.Wv)(u,{key:2,label:e.$t("modals.confirmTransactionSign.functionName"),value:e.decodedCallData.functionName},null,8,["label","value"])):(0,K.Q3)("",!0),(e.isDex||e.isDexAllowance)&&e.tokenList.length?((0,K.uX)(!0),(0,K.CE)(K.FK,{key:3},(0,K.pI)(e.tokenList,(function(t,n){return(0,K.uX)(),(0,K.Wv)(c,{key:t.contractId,token:t,tokens:t.tokens,label:e.getLabels(t,n),"hide-amount":e.isSwap},null,8,["token","tokens","label","hide-amount"])})),128)):(0,K.Q3)("",!0),e.nameAeFee?((0,K.uX)(),(0,K.Wv)(u,{key:4,label:e.$t("modals.confirmTransactionSign.nameFee"),class:"name-fee"},{value:(0,K.k6)((function(){return[(0,K.bF)(l,{amount:e.nameAeFee,protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),(0,K.Lk)("div",ks,[e.isSwap?((0,K.uX)(),(0,K.Wv)(u,{key:0,label:e.swapDirectionTranslation},{default:(0,K.k6)((function(){return[(0,K.bF)(l,{amount:e.tokenAmount,symbol:e.tokenSymbol,"hide-fiat":!e.swapTokenAmountData.isWrappedCoin||e.isTransactionAex9(e.transactionWrapped),protocol:e.PROTOCOLS.aeternity,"data-cy":"total"},null,8,["amount","symbol","hide-fiat","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),(0,K.bF)(u,{label:e.$t("transaction.fee")},{default:(0,K.k6)((function(){return[(0,K.bF)(l,{amount:e.txAeFee,protocol:e.PROTOCOLS.aeternity,"data-cy":"fee"},null,8,["amount","protocol"])]})),_:1},8,["label"]),"total"===e.swapDirection?((0,K.uX)(),(0,K.Wv)(u,{key:1,label:e.$t("common.total")},{default:(0,K.k6)((function(){return[(0,K.bF)(l,{amount:e.executionCost||e.totalAmount,symbol:e.singleToken.symbol,"hide-fiat":e.isTransactionAex9(e.transactionWrapped),protocol:e.PROTOCOLS.aeternity,"data-cy":"total"},null,8,["amount","symbol","hide-fiat","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0)]),(0,K.bF)(u,{expandable:"",label:e.$t("transaction.advancedDetails")},{default:(0,K.k6)((function(){var t;return[(null===(t=e.decodedCallData)||void 0===t?void 0:t.functionName)?((0,K.uX)(),(0,K.Wv)(u,{key:0,label:e.$t("modals.confirmTransactionSign.functionName"),value:e.decodedCallData.functionName},null,8,["label","value"])):(0,K.Q3)("",!0),e.transactionArguments?((0,K.uX)(),(0,K.Wv)(u,{key:1,label:e.$t("modals.confirmTransactionSign.arguments"),value:e.transactionArguments},null,8,["label","value"])):(0,K.Q3)("",!0),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.filteredTxFields,(function(t){var n,a;return(0,K.uX)(),(0,K.Wv)(u,{key:t,label:e.getTxKeyLabel(t),value:t===e.PAYLOAD_FIELD?e.decodedPayload:null===(a=null===(n=e.popupProps)||void 0===n?void 0:n.tx)||void 0===a?void 0:a[t],class:(0,tt.C4)({"hash-field":e.isHash(t)})},null,8,["label","value","class"])})),128))]})),_:1},8,["label"])],64))]})),_:1})}var bs=n(95993),ws=n(49792),Cs=n(1863),xs=n(66176),Ls=n(285),Ss=n(29351),Ts=n(74494),Es=n(39953),Is=n(18665),_s=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Ws="payload",Fs={callData:function(){return(0,x.tg)("common.callData")},code:function(){return(0,x.tg)("pages.transactionDetails.code")},contractId:function(){return(0,x.tg)("common.contractId")},commitmentId:function(){return(0,x.tg)("modals.confirmTransactionSign.commitmentId")},name:function(){return(0,x.tg)("pages.transactionDetails.name")},nameFee:function(){return(0,x.tg)("modals.confirmTransactionSign.nameFee")},nameSalt:function(){return(0,x.tg)("pages.transactionDetails.nameSalt")},nameId:function(){return(0,x.tg)("pages.transactionDetails.nameId")},nonce:function(){return(0,x.tg)("pages.transactionDetails.nonce")},payload:function(){return(0,x.tg)("pages.transactionDetails.payload")},pointers:function(){return(0,x.tg)("modals.confirmTransactionSign.pointers")},recipientId:function(){return(0,x.tg)("modals.confirmTransactionSign.recipientId")}};const Ds=(0,K.pM)({components:{Modal:Ls.A,BtnMain:Mo.A,TransactionOverview:Ss.A,DetailsItem:Ts.A,TokenAmount:Es.A,TransactionDetailsPoolTokenRow:Is.A,AnimatedSpinner:ia.A},setup:function(){var e,t=this,n=(0,An.s9)(),r=n.t,i=(0,I.$L)(),u=i.aeActiveNetworkSettings,c=(0,ce.CP)(),l=c.getAeSdk,d=(0,ce.oV)(),p=d.getLastActiveProtocolAccount,v=(0,ce.m)(),f=v.popupProps,m=v.setPopupProps,A=(0,ce.Y7)(),k=A.getProtocolAvailableTokens,b=A.getTxAssetSymbol,w=A.getTxAmountTotal,C=(0,ce.my)({transaction:{tx:null===(e=f.value)||void 0===e?void 0:e.tx}}),x=C.direction,S=C.isDexAllowance,E=C.isDex,W=C.setActiveTransaction,F=(0,bt.KR)(!1),D=(0,bt.KR)([]),B=(0,bt.KR)(),P=(0,bt.KR)(0),M=(0,bt.KR)(!1),O=(0,bt.KR)(""),R=(0,bt.KR)(!1),N=(0,bt.KR)(),U=(0,K.EW)((function(){var e,t,n,a;return o.uL.includes("".concat(null===(t=null===(e=f.value)||void 0===e?void 0:e.app)||void 0===t?void 0:t.protocol,"//").concat(null===(a=null===(n=f.value)||void 0===n?void 0:n.app)||void 0===a?void 0:a.name))})),X=(0,K.EW)((function(){var e;return{tx:null===(e=f.value)||void 0===e?void 0:e.tx}})),V=(0,K.EW)((function(){return(0,_.Ng)(B.value)})),H=(0,K.EW)((function(){return(0,_.wX)(B.value)})),$=(0,K.EW)((function(){return(0,_._M)(B.value)})),j=(0,K.EW)((function(){return(0,_.hQ)(B.value)})),q=(0,K.EW)((function(){var e,t;return(0,_.px)(null===(t=null===(e=f.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.fee)})),G=(0,K.EW)((function(){var e,t;return(0,_.px)(null===(t=null===(e=f.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.nameFee)})),Q=p(o.yv.aeternity),Z=(0,K.EW)((function(){return $.value?"maxSpent":j.value?"minReceived":"total"})),Y=(0,K.EW)((function(){switch(Z.value){case"maxSpent":return r("pages.signTransaction.maxSpent");case"minReceived":return r("pages.signTransaction.minReceived");default:return r("common.total")}})),z=(0,K.EW)((function(){return w(X.value,x.value)})),J=(0,K.EW)((function(){var e;return{isReceived:x.value===o.NX.received,amount:z.value,symbol:b(null===(e=f.value)||void 0===e?void 0:e.tx)}})),ee=(0,K.EW)((function(){var e,t,n,a;return(null===(t=null===(e=f.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.payload)?(0,h.D4)(null===(a=null===(n=f.value)||void 0===n?void 0:n.tx)||void 0===a?void 0:a.payload).toString():void 0})),te=(0,K.EW)((function(){return Object.keys(Fs).filter((function(e){var t,n;return e===Ws?!!ee.value:!!(null===(n=null===(t=f.value)||void 0===t?void 0:t.tx)||void 0===n?void 0:n[e])}))})),ne=(0,K.EW)((function(){var e="maxSpent"===Z.value?D.value[0]:D.value[1];return e||{}})),ae=(0,K.EW)((function(){return+(0,L.Y9)(ne.value.amount||0,-(ne.value.decimals||0))})),re=(0,K.EW)((function(){return ne.value.isWrappedCoin?T.kf:ne.value.symbol})),oe=(0,K.EW)((function(){var e;return{tx:Object.assign(Object.assign({},null===(e=f.value)||void 0===e?void 0:e.tx),{function:B.value})}})),ie=(0,K.EW)((function(){return B.value&&T.$y[B.value]===T.xf})),se=(0,K.EW)((function(){var e,t;return(null===(t=null===(e=N.value)||void 0===e?void 0:e.args)||void 0===t?void 0:t.length)?y.A.stringify(N.value.args):void 0}));function ue(e){var t,n;if(!E.value&&!S.value)return[J.value];var a=(0,bs.A)(e["function"]),r=(0,_.Ke)(a);if(!r)return[];var i=null===(n=r({tx:Object.assign(Object.assign({},e),null===(t=f.value)||void 0===t?void 0:t.tx)},k(o.yv.aeternity)))||void 0===n?void 0:n.tokens;return H.value?ie.value?i.filter((function(e){return!e.isPool})):i.reverse():i}function le(e){var t=["callData","contractId"];return t.includes(e)}function de(e,t){return S.value?r("pages.signTransaction.approveUseOfToken"):V.value?r(t?"pages.signTransaction.to":"pages.signTransaction.from"):H.value&&ie.value?e.isPool?"":r("pages.signTransaction.maximumDeposited"):H.value&&B.value&&T.$y[B.value]===T.yk?e.isPool?r("pages.signTransaction.poolTokenSpent"):r("pages.signTransaction.minimumWithdrawn"):""}function ve(){var e;null===(e=f.value)||void 0===e||e.reject(new Ka.v)}function fe(){var e,t;return _s(this,void 0,void 0,(0,s.A)().mark((function n(){var a,o,i,u,c,d;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(null===(e=f.value)||void 0===e?void 0:e.txBase64)){n.next=33;break}return n.prev=1,R.value=!0,n.next=5,l();case 5:return a=n.sent,n.next=8,a.getBalance((null===(t=f.value)||void 0===t?void 0:t.fromAccount)||Q.address)["catch"]((function(e){return(0,L.El)(e)||(0,L.fY)(e),0}));case 8:if(o=n.sent,i=(0,ws.oo)(f.value.txBase64).toString(),P.value=(0,_.px)(i),!new pe.A(o).isLessThan(i)){n.next=14;break}return O.value=r("validation.enoughCoin"),n.abrupt("return");case 14:if(u=(0,Xe.pj)(f.value.txBase64),u.tag!==g.vw.ContractCallTx&&u.tag!==g.vw.ContractCreateTx){n.next=25;break}return c=(0,Cs.A)(f.value.txBase64),n.next=19,a.api.getAccountByPubkey(c);case 19:return n.t0=n.sent.nonce,u.nonce=n.t0+1,n.next=23,a.txDryRun((0,Xe.pr)(u),c);case 23:d=n.sent,d.callObj&&"ok"!==d.callObj.returnType&&(O.value=(new xs.ContractByteArrayEncoder).decode(d.callObj.returnValue));case 25:n.next=30;break;case 27:n.prev=27,n.t1=n["catch"](1),O.value=n.t1.message;case 30:return n.prev=30,R.value=!1,n.finish(30);case 33:case"end":return n.stop()}}),n,null,[[1,27,30,33]])})))}function me(){var e,t;return _s(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o,i,c,d,p,v;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(null===(t=null===(e=f.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.contractId)||!f.value.tx.callData){n.next=28;break}return n.prev=1,M.value=!0,setTimeout((function(){M.value=!1}),2e4),n.next=6,Promise.all([(0,L.x6)("".concat(u.value.nodeUrl,"/v3/contracts/").concat(f.value.tx.contractId,"/code")),l()]);case 6:if(r=n.sent,o=(0,a.A)(r,1),i=o[0].bytecode,c=new xs.BytecodeContractCallEncoder(i),N.value=c.decodeCall(f.value.tx.callData),N.value){n.next=13;break}return n.abrupt("return");case 13:d={function:N.value.functionName,arguments:N.value.args.map((function(e){return{type:Array.isArray(e)?"list":"any",value:Array.isArray(e)?e.map((function(e){return{value:e}})):e}}))},p=Object.assign(Object.assign({},d),f.value.tx),B.value=d["function"],W({tx:p}),v=ue(p),D.value=v.map((function(e){return Object.assign(Object.assign({},e),{tokens:e.isPool&&!ie.value?v.filter((function(e){return!e.isPool})).reverse():[e]})})),n.next=25;break;case 21:n.prev=21,n.t0=n["catch"](1),D.value=[],B.value=void 0;case 25:return n.prev=25,M.value=!1,n.finish(25);case 28:case"end":return n.stop()}}),n,null,[[1,21,25,28]])})))}function ge(e){var t=Fs[e];return t?t():""}return(0,K.sV)((function(){return _s(t,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!f.value){e.next=5;break}return e.next=3,Promise.all([fe(),me()]);case 3:e.next=6;break;case 5:O.value=r("modals.transaction-failed.msg");case 6:case"end":return e.stop()}}),e)})))})),(0,K.hi)((function(){m(null)})),{PROTOCOLS:o.yv,AnimatedSpinner:ia.A,PAYLOAD_FIELD:Ws,cancel:ve,completeTransaction:oe,decodedCallData:N,decodedPayload:ee,error:O,executionCost:P,filteredTxFields:te,getLabels:de,getTxKeyLabel:ge,getTxAssetSymbol:b,isAeppChatSuperhero:U,isDex:E,isDexAllowance:S,isHash:le,isSwap:V,isTransactionAex9:_.a3,loading:M,nameAeFee:G,popupProps:f,showAdvanced:F,singleToken:J,swapDirection:Z,swapDirectionTranslation:Y,swapTokenAmountData:ne,tokenAmount:ae,tokenList:D,tokenSymbol:re,totalAmount:z,transactionArguments:se,transactionWrapped:X,txAeFee:q,verifying:R}}}),Bs=(0,Ft.A)(Ds,[["render",ys],["__scopeId","data-v-166c5fe2"]]),Ps=Bs;var Ms=function(e){return(0,K.Qi)("data-v-50ead23c"),e=e(),(0,K.jt)(),e},Os={class:"warning","data-cy":"warning"},Rs={class:"title"},Ns=Ms((function(){return(0,K.Lk)("br",null,null,-1)}));function Us(e,t,n,a,r,o){var i=(0,K.g2)("TransactionInfo"),s=(0,K.g2)("Warning"),u=(0,K.g2)("i18n-t"),c=(0,K.g2)("CopyText"),l=(0,K.g2)("DetailsItem"),d=(0,K.g2)("BtnMain"),p=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(p,{show:"","full-screen":"",class:"confirm-raw-sign","data-cy":"popup-aex2"},{footer:(0,K.k6)((function(){return[(0,K.bF)(d,{variant:"muted",third:"","extra-padded":"",text:e.$t("common.cancel"),onClick:e.cancel},null,8,["text","onClick"]),(0,K.bF)(d,{third:"",text:e.$t("common.confirm"),onClick:e.confirm},null,8,["text","onClick"])]})),default:(0,K.k6)((function(){return[(0,K.bF)(i,{"custom-title":e.$t("modals.confirm-raw-sign.title"),sender:e.sender,recipient:e.activeAccount},null,8,["custom-title","sender","recipient"]),(0,K.Lk)("div",Os,[(0,K.Lk)("span",Rs,[(0,K.bF)(s,{class:"icon"}),(0,K.eW)(" "+(0,tt.v_)(e.$t("modals.confirm-raw-sign.warning.title")),1)]),(0,K.bF)(u,{keypath:"modals.confirm-raw-sign.warning.content",tag:"span",class:"content",scope:"global"},{default:(0,K.k6)((function(){return[Ns]})),_:1})]),(0,K.bF)(l,{label:e.$t("modals.confirmTransactionSign.data-sign"),"data-cy":"data"},{value:(0,K.k6)((function(){return[(0,K.bF)(c,{value:e.dataAsString},null,8,["value"])]})),_:1},8,["label"])]})),_:1})}var Xs=n(8783),Vs=n(20789);const Hs=(0,K.pM)({components:{Modal:Ls.A,TransactionInfo:Xs.A,BtnMain:Mo.A,DetailsItem:Ts.A,Warning:Vn.A,CopyText:Vs.A},setup:function(){var e=(0,ce.m)(),t=e.popupProps,n=e.sender,a=e.setPopupProps,r=(0,ce.oV)(),i=r.getLastActiveProtocolAccount,s=i(o.yv.aeternity),u=(0,K.EW)((function(){var e,n;return(null===(n=null===(e=t.value)||void 0===e?void 0:e.txBase64)||void 0===n?void 0:n.toString())||""}));function c(){var e;null===(e=t.value)||void 0===e||e.resolve()}function l(){var e;null===(e=t.value)||void 0===e||e.reject(new Ka.v)}return(0,K.hi)((function(){a(null)})),{confirm:c,cancel:l,activeAccount:s,dataAsString:u,sender:n}}}),$s=(0,Ft.A)(Hs,[["render",Us],["__scopeId","data-v-50ead23c"]]),js=$s;var Ks={class:"donate-error"},qs={class:"error-info-title"},Gs={class:"error-info-content"},Qs={class:"error-info-title"},Zs={class:"error-info-content"},Ys={class:"error-info-content"};function zs(e,t,n,a,r,o){var i=(0,K.g2)("FormTextarea"),s=(0,K.g2)("BtnMain");return(0,K.uX)(),(0,K.CE)("div",Ks,[(0,K.Lk)("h1",null,(0,tt.v_)(e.$t("pages.donate-error.error-report")),1),(0,K.bF)(i,{modelValue:e.description,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.description=t}),placeholder:e.$t("pages.donate-error.error-placeholder"),size:"md"},null,8,["modelValue","placeholder"]),(0,K.Lk)("h1",null,(0,tt.v_)(e.$t("pages.donate-error.data-collected")),1),(0,K.Lk)("h2",qs,(0,tt.v_)(e.$t("pages.donate-error.browser")),1),(0,K.Lk)("p",Gs,(0,tt.v_)(o.browser),1),(0,K.Lk)("h2",Qs,(0,tt.v_)(e.$t("pages.donate-error.details")),1),(0,K.Lk)("p",Zs,(0,tt.v_)(o.error.message),1),(0,K.Lk)("p",Ys,(0,tt.v_)(o.error.stack),1),(0,K.bF)(s,{variant:"muted",inline:"","extra-padded":"",to:"/"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.cancel")),1)]})),_:1}),(0,K.bF)(s,{inline:"",onClick:o.donate},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.donate-error.donate")),1)]})),_:1},8,["onClick"])])}var Js=n(38151),eu=n(81503),tu=n(75417);const nu={components:{FormTextarea:tu.A,BtnMain:Mo.A},props:{entry:{type:Object,default:function(){return{}}}},data:function(){return{description:null}},computed:{browser:function(){var e=this.entry.browser||{},t=e.name,n=e.os,a=e.version;return"".concat(t,", Version ").concat(a," (").concat(n,")")},error:function(){return this.entry.error}},methods:{donate:function(){var e=this;return(0,eu.A)((0,s.A)().mark((function t(){var n,a,r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=(0,ce.U8)(),a=n.openDefaultModal,r=(0,I.ti)(),o=r.donateError,t.prev=2,t.next=5,o((0,Js.A)((0,Js.A)({},e.entry),{},{description:e.description}));case 5:return t.next=7,a({title:e.$t("modals.donate-errors.title"),msg:e.$t("modals.donate-errors.msg")});case 7:t.next=13;break;case 9:return t.prev=9,t.t0=t["catch"](2),t.next=13,a({title:e.$t("modals.donate-errors-error.title"),msg:e.$t("modals.donate-errors-error.msg")});case 13:return t.prev=13,e.$router.push("/account"),t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[2,9,13,16]])})))()}}},au=(0,Ft.A)(nu,[["render",zs],["__scopeId","data-v-de37d780"]]),ru=au;var ou={class:"token-container"},iu={class:"token-content"},su={class:"top"},uu={class:"token-actions"},cu={ref:"stickyTabsWrapperEl",class:"sticky-tabs-wrapper"};function lu(e,t,n,a,r,o){var i=(0,K.g2)("Tokens"),s=(0,K.g2)("TokenAmount"),u=(0,K.g2)("OpenTransferReceiveModalButton"),c=(0,K.g2)("OpenTransferSendModalButton"),l=(0,K.g2)("BtnBox"),d=(0,K.g2)("Tab"),p=(0,K.g2)("Tabs"),v=(0,K.g2)("TransactionAndTokenFilter"),f=(0,K.g2)("IonRouterOutlet"),m=(0,K.g2)("IonContent"),g=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(g,null,{default:(0,K.k6)((function(){return[(0,K.bF)(m,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){var t,n,a;return[(0,K.Lk)("div",ou,[(0,K.Lk)("div",iu,[(0,K.Lk)("div",su,[(0,K.bF)(i,{tokens:e.tokens,"symbol-length":22,"icon-size":e.ICON_SIZES.xxl,"full-symbol":"",vertical:""},null,8,["tokens","icon-size"]),(0,K.bF)(s,{class:"token-amount","hide-symbol":"",vertical:"",large:"",protocol:e.currentActiveProtocol,amount:e.assetBalance,"hide-fiat":!e.isCoin},null,8,["protocol","amount","hide-fiat"])]),(0,K.Lk)("div",uu,[(0,K.bF)(u,{"is-multisig":e.isMultisig,"token-contract-id":null===(t=e.fungibleToken)||void 0===t?void 0:t.contractId},null,8,["is-multisig","token-contract-id"]),(0,K.bF)(c,{"is-multisig":e.isMultisig,"token-contract-id":null===(n=e.fungibleToken)||void 0===n?void 0:n.contractId},null,8,["is-multisig","token-contract-id"]),e.isAe&&e.isNodeMainnet&&e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(l,{key:0,text:e.$t("common.buy"),icon:e.BuyIcon,href:e.activeAccountSimplexLink},null,8,["text","icon","href"])):e.isAe&&e.isNodeTestnet?((0,K.uX)(),(0,K.Wv)(l,{key:1,text:e.$t("common.faucet"),icon:e.FaucetIcon,href:e.activeAccountFaucetUrl},null,8,["text","icon","href"])):e.IS_IOS||!e.isNodeMainnet&&!e.isNodeTestnet||e.currentActiveProtocol!==e.PROTOCOLS.aeternity?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(l,{key:2,text:e.$t("common.swap"),icon:e.SwapIcon,href:e.AE_DEX_URL},null,8,["text","icon","href"]))]),(0,K.Lk)("div",cu,[(0,K.bF)(p,null,{default:(0,K.k6)((function(){return[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.tabs,(function(t){return(0,K.uX)(),(0,K.Wv)(d,{key:t.routeName,"exact-path":t.exact,to:{name:t.routeName,params:e.route.params},text:t.text},null,8,["exact-path","to","text"])})),128))]})),_:1}),((0,K.uX)(),(0,K.Wv)(v,{key:null===(a=e.routeName)||void 0===a?void 0:a.toString(),"show-filters":e.showFilterBar},null,8,["show-filters"]))],512)]),(0,K.bF)(f,{animated:!e.IS_FIREFOX,animation:e.fadeAnimation,class:"token-router",style:(0,tt.Tr)({height:e.routerHeight||"350px"})},null,8,["animated","animation","style"])])]})),_:1})]})),_:1})}var du=n(44416);const pu=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"namespace":{"name":"List","typedefs":[]}},{"namespace":{"name":"String","typedefs":[]}},{"namespace":{"name":"Utils","typedefs":[]}},{"namespace":{"name":"UQ112x112","typedefs":[]}},{"namespace":{"name":"Math","typedefs":[]}},{"contract":{"functions":[{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"int"},{"name":"_3","type":"int"}],"name":"aedex_v2_call","payable":false,"returns":"unit","stateful":false}],"kind":"contract_interface","name":"IAedexV2Callback","payable":false,"typedefs":[]}},{"contract":{"event":{"variant":[{"Transfer":["address","address","int"]},{"Approval":["address","address","int"]},{"Allowance":["address","address","int"]},{"Mint":["address","int"]},{"Burn":["address","int"]},{"Deposit":["address","int"]},{"Withdrawal":["address","int"]}]},"functions":[{"arguments":[],"name":"meta_info","payable":false,"returns":"IAEX9Minimal.meta_info","stateful":false},{"arguments":[],"name":"total_supply","payable":false,"returns":"int","stateful":false},{"arguments":[{"name":"_1","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"_1","type":"IAEX9Minimal.allowance_accounts"}],"name":"allowance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"int"}],"name":"transfer","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"int"}],"name":"create_allowance","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"address"},{"name":"_3","type":"int"}],"name":"transfer_allowance","payable":false,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"IAEX9Minimal","payable":false,"typedefs":[{"name":"allowance_accounts","typedef":{"record":[{"name":"from_account","type":"address"},{"name":"for_account","type":"address"}]},"vars":[]},{"name":"meta_info","typedef":{"record":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"int"}]},"vars":[]}]}},{"contract":{"functions":[{"arguments":[],"name":"fee_to","payable":false,"returns":{"option":["address"]},"stateful":false}],"kind":"contract_interface","name":"IAedexV2FactoryForPair","payable":false,"typedefs":[]}},{"contract":{"event":{"variant":[{"LockLiquidity":["int"]},{"PairMint":["address","int","int"]},{"PairBurn":["address","address","string"]},{"SwapTokens":["address","address","string"]},{"Sync":["int","int"]}]},"functions":[{"arguments":[{"name":"_1","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"_1","type":"IAedexV2FactoryForPair"},{"name":"_2","type":"IAEX9Minimal"},{"name":"_3","type":"IAEX9Minimal"},{"name":"_4","type":{"option":["int"]}},{"name":"_5","type":{"option":["int"]}}],"name":"init","payable":false,"returns":"void","stateful":false},{"arguments":[],"name":"minimum_liquidity","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"factory","payable":false,"returns":"IAedexV2FactoryForPair","stateful":false},{"arguments":[],"name":"token0","payable":false,"returns":"IAEX9Minimal","stateful":false},{"arguments":[],"name":"token1","payable":false,"returns":"IAEX9Minimal","stateful":false},{"arguments":[],"name":"price0_cumulative_last","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"price1_cumulative_last","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"k_last","payable":false,"returns":"int","stateful":false},{"arguments":[{"name":"_1","type":"address"}],"name":"mint","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"_1","type":"address"}],"name":"burn","payable":false,"returns":"IAedexV2Pair.amounts","stateful":true},{"arguments":[{"name":"_1","type":"int"},{"name":"_2","type":"int"},{"name":"_3","type":"address"},{"name":"_4","type":{"option":["IAedexV2Callback"]}}],"name":"swap","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"_1","type":"address"}],"name":"skim","payable":false,"returns":"unit","stateful":true},{"arguments":[],"name":"sync","payable":false,"returns":"unit","stateful":true},{"arguments":[],"name":"get_reserves","payable":false,"returns":"IAedexV2Pair.reserves","stateful":false},{"arguments":[{"name":"_1","type":"address"},{"name":"_2","type":"address"},{"name":"_3","type":"int"}],"name":"transfer_allowance","payable":false,"returns":"unit","stateful":true}],"kind":"contract_interface","name":"IAedexV2Pair","payable":false,"typedefs":[{"name":"amounts","typedef":{"record":[{"name":"amount0","type":"int"},{"name":"amount1","type":"int"}]},"vars":[]},{"name":"reserves","typedef":{"record":[{"name":"reserve0","type":"int"},{"name":"reserve1","type":"int"},{"name":"block_timestamp_last","type":"int"}]},"vars":[]}]}},{"namespace":{"name":"Option","typedefs":[]}},{"contract":{"event":{"variant":[{"Transfer":["address","address","int"]},{"Approval":["address","address","int"]},{"Allowance":["address","address","int"]},{"Mint":["address","int"]},{"Burn":["address","int"]},{"LockLiquidity":["int"]},{"PairMint":["address","int","int"]},{"PairBurn":["address","address","string"]},{"SwapTokens":["address","address","string"]},{"Sync":["int","int"]}]},"functions":[{"arguments":[{"name":"factory","type":"IAedexV2FactoryForPair"},{"name":"token0","type":"IAEX9Minimal"},{"name":"token1","type":"IAEX9Minimal"},{"name":"min_liquidity","type":{"option":["int"]}},{"name":"debug_time","type":{"option":["int"]}}],"name":"init","payable":false,"returns":"AedexV2Pair.state","stateful":false},{"arguments":[],"name":"meta_info","payable":false,"returns":"IAEX9Minimal.meta_info","stateful":false},{"arguments":[],"name":"aex9_extensions","payable":false,"returns":{"list":["string"]},"stateful":false},{"arguments":[],"name":"total_supply","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"balances","payable":false,"returns":"AedexV2Pair.balances","stateful":false},{"arguments":[{"name":"address","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[],"name":"allowances","payable":false,"returns":"AedexV2Pair.allowances","stateful":false},{"arguments":[{"name":"allowance_accounts","type":"AedexV2Pair.allowance_accounts"}],"name":"allowance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"}],"name":"allowance_for_caller","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[],"name":"owner","payable":false,"returns":"address","stateful":false},{"arguments":[],"name":"price0_cumulative_last","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"price1_cumulative_last","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"get_reserves","payable":false,"returns":"IAedexV2Pair.reserves","stateful":false},{"arguments":[],"name":"minimum_liquidity","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"factory","payable":false,"returns":"IAedexV2FactoryForPair","stateful":false},{"arguments":[],"name":"token0","payable":false,"returns":"IAEX9Minimal","stateful":false},{"arguments":[],"name":"token1","payable":false,"returns":"IAEX9Minimal","stateful":false},{"arguments":[{"name":"time","type":"int"}],"name":"set_debug_time","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"to","type":"address"}],"name":"mint","payable":false,"returns":"int","stateful":true},{"arguments":[{"name":"to","type":"address"}],"name":"burn","payable":false,"returns":"IAedexV2Pair.amounts","stateful":true},{"arguments":[{"name":"amount0_out","type":"int"},{"name":"amount1_out","type":"int"},{"name":"to","type":"address"},{"name":"callback_opt","type":{"option":["IAedexV2Callback"]}}],"name":"swap","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"to","type":"address"}],"name":"skim","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"sync","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value","type":"int"}],"name":"create_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"recipient","type":"address"},{"name":"amount","type":"int"}],"name":"transfer","payable":false,"returns":"unit","stateful":true},{"arguments":[{"name":"from_account","type":"address"},{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value_change","type":"int"}],"name":"change_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"}],"name":"reset_allowance","payable":false,"returns":{"tuple":[]},"stateful":true}],"kind":"contract_main","name":"AedexV2Pair","payable":false,"state":{"record":[{"name":"total_supply","type":"int"},{"name":"balance_of","type":"AedexV2Pair.balances"},{"name":"locked_liquidity","type":"int"},{"name":"allowances","type":"AedexV2Pair.allowances"},{"name":"factory","type":"IAedexV2FactoryForPair"},{"name":"token0","type":"IAEX9Minimal"},{"name":"token1","type":"IAEX9Minimal"},{"name":"reserve0","type":"int"},{"name":"reserve1","type":"int"},{"name":"block_timestamp_last","type":"int"},{"name":"price0_cumulative_last","type":"int"},{"name":"price1_cumulative_last","type":"int"},{"name":"min_liquidity","type":"int"},{"name":"k_last","type":"int"},{"name":"debug_time","type":{"option":["int"]}}]},"typedefs":[{"name":"owner","typedef":"address","vars":[]},{"name":"spender","typedef":"address","vars":[]},{"name":"allowance_accounts","typedef":"IAEX9Minimal.allowance_accounts","vars":[]},{"name":"allowances","typedef":{"map":["AedexV2Pair.allowance_accounts","int"]},"vars":[]},{"name":"balances","typedef":{"map":["AedexV2Pair.owner","int"]},"vars":[]}]}}]');var vu=n(70694),fu=n(90640),mu=n(56633),gu=n(8666),hu=n(43226),Au=n(57171),ku=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const yu=(0,K.pM)({name:"AssetDetails",components:{TransactionAndTokenFilter:gu.A,TokenAmount:Es.A,BtnBox:Ca.A,Tokens:vu.A,Tabs:fu.A,Tab:mu.A,OpenTransferReceiveModalButton:Ea.A,OpenTransferSendModalButton:Ia.A,IonPage:Fe.AO,IonContent:Fe.W9,IonRouterOutlet:Fe.Rg},setup:function(){var e=this,t=(0,za.lq)(),n=(0,An.s9)(),r=n.t,u=(0,ce.YY)(),c=u.setSharedAssetDetails,l=u.resetSharedAssetDetails,d=(0,ce.mv)(),p=d.setLoaderVisible,v=(0,K.EW)((function(){var e;return!!(null===(e=null===t||void 0===t?void 0:t.meta)||void 0===e?void 0:e.isMultisig)})),f=(0,ce.CP)(),m=f.isNodeMainnet,g=f.isNodeTestnet,h=f.getAeSdk,A=(0,ce.oV)(),k=A.activeAccount,y=A.getLastActiveProtocolAccount,b=(0,ce.Sr)({isMultisig:v.value}),w=b.protocolCoinBalance,C=(0,ce.ZN)(),x=C.marketData,S=(0,ce.Y7)(),E=S.getAccountTokenBalance,I=S.getProtocolAvailableTokens,W=(0,ce.ci)(),F=W.activeMultisigAccount,D=(0,K.EW)((function(){var e;return v.value?null===(e=F.value)||void 0===e?void 0:e.gaAccountId:k.value.address})),B=(0,K.EW)((function(){return v.value?o.yv.aeternity:k.value.protocol})),P=!!t.matched.find((function(e){var t=e.name;return t&&[Ye.s4,Ye.r,Ye.fc,Ye.iz].includes(t.toString())})),M=t.params.id,O=M===T.cK,R=P?Ye.r:Ye.tE,N=P?Ye.s4:Ye.uY,U=[{text:r("pages.transactionDetails.transactions"),routeName:v.value?Ye.fc:N,exact:!0},{text:r(P?"pages.token-details.coin-details":"pages.token-details.token-details"),routeName:v.value?Ye.iz:R,exact:!0}],X=(0,bt.KR)(),V=(0,bt.KR)({token0:null,token1:null}),H=(0,bt.KR)(),$=(0,K.EW)((function(){return I(B.value)[M]})),j=(0,K.EW)((function(){return P?void 0:E(D.value,M)})),q=(0,K.EW)((function(){return t.name})),G=(0,K.EW)((function(){var e;return!!(null===(e=null===t||void 0===t?void 0:t.meta)||void 0===e?void 0:e.showFilterBar)})),Q=(0,K.EW)((function(){return O?(0,_.mV)(D.value):null})),Z=(0,K.EW)((function(){return O?(0,_.hj)(D.value):null})),Y=(0,K.EW)((function(){return P?i.C.getAdapter(B.value).getDefaultCoin(x.value):$.value})),z=(0,K.EW)((function(){var e=[V.value.token0,V.value.token1],t=e[0],n=e[1],a=t&&n?[t,n,Y.value]:[Y.value];return a.filter(L.__)})),J=(0,K.EW)((function(){var e;return P?w.value.toNumber():(null===(e=E(D.value,M))||void 0===e?void 0:e.convertedBalance)||0}));function ee(){(0,K.dY)((function(){var e,t,n,a=null===(t=null===(e=document.querySelector("#app-wrapper"))||void 0===e?void 0:e.getBoundingClientRect())||void 0===t?void 0:t.bottom,r=null===(n=H.value)||void 0===n?void 0:n.getBoundingClientRect().bottom;X.value="".concat(a-r,"px")}))}function te(){var e=new ResizeObserver((function(){ee()}));e.observe(H.value)}function ne(e){return ku(this,void 0,void 0,(0,s.A)().mark((function t(){var n,r,i,u,c,l,d,p,v,f,m,g;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,h();case 3:return n=t.sent,r=y(o.yv.aeternity),t.next=7,n.initializeContract({aci:pu,address:e});case 7:return i=t.sent,u=I(o.yv.aeternity),t.next=11,Promise.all([i.balances(),i.balance(null===r||void 0===r?void 0:r.address),i.token0(),i.token1(),i.get_reserves(),i.total_supply()]);case 11:return c=t.sent,l=(0,a.A)(c,6),d=l[0].decodedResult,p=l[1].decodedResult,v=l[2].decodedResult,f=l[3].decodedResult,m=l[4].decodedResult,g=l[5].decodedResult,t.abrupt("return",{token0:u[v]?Object.assign(Object.assign({},u[v]),{amount:(0,_._2)(p,g,m.reserve0)}):void 0,token1:u[f]?Object.assign(Object.assign({},u[f]),{amount:(0,_._2)(p,g,m.reserve1)}):void 0,totalSupply:g,balance:p,balances:d});case 22:return t.prev=22,t.t0=t["catch"](0),t.abrupt("return",{});case 25:case"end":return t.stop()}}),t,null,[[0,22]])})))}return(0,K.sV)((function(){return ku(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!(0,_.bK)(M)||O){e.next=8;break}return p(!0),e.next=4,h();case 4:return e.next=6,ne(M);case 6:V.value=e.sent,p(!1);case 8:setTimeout((function(){te(),ee()}),250);case 9:case"end":return e.stop()}}),e)})))})),(0,K.wB)(Y,(function(e){c({contractId:M,tokenPairs:V.value,tokenData:e,tokenBalance:j.value,tokens:z.value,isMultisig:v.value})}),{immediate:!0}),(0,Fe.r0)((function(){l()})),{PROTOCOLS:o.yv,UNFINISHED_FEATURES:o.s4,ICON_SIZES:o.hS,IS_FIREFOX:o.$M,IS_IOS:o.pz,AE_DEX_URL:T.hD,BuyIcon:_a.A,FaucetIcon:Au.A,SwapIcon:hu.A,assetBalance:J,assetData:Y,contractId:M,currentActiveProtocol:B,stickyTabsWrapperEl:H,fungibleToken:$,isAe:O,isCoin:P,isNodeMainnet:m,isNodeTestnet:g,activeAccountSimplexLink:Z,activeAccountFaucetUrl:Q,tabs:U,tokenPairs:V,tokens:z,showFilterBar:G,routeName:q,isMultisig:v,route:t,routerHeight:X,fadeAnimation:du.r4}}}),bu=(0,Ft.A)(yu,[["render",lu],["__scopeId","data-v-dca0ef5e"]]),wu=bu;function Cu(e,t,n,a,r,o){var i=(0,K.g2)("TransactionList"),s=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(s,null,{default:(0,K.k6)((function(){return[e.isPageActive?((0,K.uX)(),(0,K.Wv)(i,{key:0,transactions:e.transactionsLoadedAndPending,"is-multisig":e.isMultisig,"is-loading":e.isLoading,"is-end-reached":e.isEndReached,onLoadMore:t[0]||(t[0]=function(t){return e.loadCurrentPageTransactions()})},null,8,["transactions","is-multisig","is-loading","is-end-reached"])):(0,K.Q3)("",!0)]})),_:1})}var xu=!1;const Lu=(0,K.pM)({name:"AssetDetailsTransactions",components:{IonPage:Fe.AO,TransactionList:ha},setup:function(){var e=(0,za.lq)(),t=e.params.id,n=(0,ce.YY)(),a=n.sharedAssetDetails,r=(0,ce.oV)(),s=r.activeAccount,u=(0,ce.ci)(),c=u.activeMultisigAccount,l=i.C.getAdapter(s.value.protocol),d=(0,bt.KR)(!1),p=(0,K.EW)((function(){return!!a.isMultisig})),v=(0,K.EW)((function(){return t===l.coinContractId})),f=(0,K.EW)((function(){var e;return p.value?null===(e=c.value)||void 0===e?void 0:e.gaAccountId:s.value.address})),m=(0,ce._8)({accountAddress:f.value,assetContractId:t,protocol:p.value?o.yv.aeternity:s.value.protocol}),g=m.isEndReached,h=m.isLoading,A=m.transactionsLoadedAndPending,k=m.loadCurrentPageTransactions,y=m.initializeTransactionListPolling,b=m.stopTransactionListPolling;return(0,Fe.UO)((function(){d.value=!0,xu||(y(),xu=!0)})),(0,Fe.r0)((function(){d.value=!1,b(),xu=!1})),(0,K.hi)((function(){d.value=!1,b(),xu=!1})),{sharedAssetDetails:a,currentAddress:f,transactionsLoadedAndPending:A,isAssetCoin:v,isEndReached:g,isLoading:h,isPageActive:d,isMultisig:p,loadCurrentPageTransactions:k}}}),Su=(0,Ft.A)(Lu,[["render",Cu]]),Tu=Su;var Eu={class:"token-details"},Iu={class:"white"},_u={class:"white"};function Wu(e,t,n,a,r,o){var i=(0,K.g2)("Tokens"),s=(0,K.g2)("DetailsRow"),u=(0,K.g2)("AddressTruncated"),c=(0,K.g2)("LinkButton"),l=(0,K.g2)("IonContent"),d=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(d,null,{default:(0,K.k6)((function(){return[(0,K.bF)(l,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){var t,n,a,r,o,l,d,p,v,f,m,g;return[(0,K.Lk)("div",Eu,[(null===(t=e.assetData)||void 0===t?void 0:t.symbol)?((0,K.uX)(),(0,K.Wv)(s,{key:0,label:e.isCoin?e.$t("pages.token-details.coin"):e.$t("pages.token-details.token"),text:null===(n=e.assetData)||void 0===n?void 0:n.symbol},{text:(0,K.k6)((function(){return[e.tokens?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"token-details-tokens",tokens:e.tokens,bright:""},null,8,["tokens"])):(0,K.Q3)("",!0)]})),_:1},8,["label","text"])):(0,K.Q3)("",!0),(null===(a=e.assetData)||void 0===a?void 0:a.name)?((0,K.uX)(),(0,K.Wv)(s,{key:1,label:e.$t("pages.token-details.name"),text:e.assetData.name},null,8,["label","text"])):(0,K.Q3)("",!0),e.decimals?((0,K.uX)(),(0,K.Wv)(s,{key:2,label:e.$t("pages.token-details.decimals"),text:e.decimals},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(r=e.assetData)||void 0===r?void 0:r.contractId)&&!e.isCoin?((0,K.uX)(),(0,K.Wv)(s,{key:3,label:e.$t("common.smartContract")},{text:(0,K.k6)((function(){return[(0,K.bF)(u,{"show-explorer-link":"",protocol:e.assetData.protocol,address:e.assetData.contractId},null,8,["protocol","address"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),(null===(o=e.assetData)||void 0===o?void 0:o.circulatingSupply)?((0,K.uX)(),(0,K.Wv)(s,{key:4,label:e.$t("pages.token-details.max-supply"),text:e.formatNumber(e.assetData.circulatingSupply)},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(l=e.assetData)||void 0===l?void 0:l.totalSupply)?((0,K.uX)(),(0,K.Wv)(s,{key:5,label:e.$t("pages.token-details.total-supply"),text:e.formatNumber(e.assetData.totalSupply)},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(d=e.assetData)||void 0===d?void 0:d.marketCap)?((0,K.uX)(),(0,K.Wv)(s,{key:6,label:e.$t("pages.token-details.market-cap"),class:"price",text:e.formatCurrency(e.assetData.marketCap)},null,8,["label","text"])):(0,K.Q3)("",!0),e.tokenPairs.balances?((0,K.uX)(),(0,K.Wv)(s,{key:7,label:e.$t("pages.token-details.holders"),text:e.tokenPairs.balances.size},null,8,["label","text"])):(0,K.Q3)("",!0),e.tokenPairs.token0&&e.tokenPairs.token0.amount>0?((0,K.uX)(),(0,K.Wv)(s,{key:8,text:e.getPooledTokenAmount(e.tokenPairs.token0)},{label:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.token-details.pooled"))+" ",1),(0,K.Lk)("span",Iu,(0,tt.v_)(e.tokenPairs.token0.symbol),1)]})),_:1},8,["text"])):(0,K.Q3)("",!0),e.tokenPairs.token1&&e.tokenPairs.token1.amount>0?((0,K.uX)(),(0,K.Wv)(s,{key:9,text:e.getPooledTokenAmount(e.tokenPairs.token1)},{label:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.token-details.pooled"))+" ",1),(0,K.Lk)("span",_u,(0,tt.v_)(e.tokenPairs.token1.symbol),1)]})),_:1},8,["text"])):(0,K.Q3)("",!0),e.poolShare?((0,K.uX)(),(0,K.Wv)(s,{key:10,label:e.$t("pages.token-details.poolShare"),text:e.poolShare},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(p=e.assetData)||void 0===p?void 0:p.totalVolume)?((0,K.uX)(),(0,K.Wv)(s,{key:11,label:e.$t("pages.token-details.volume"),text:e.formatCurrency(e.assetData.totalVolume)},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(v=e.assetData)||void 0===v?void 0:v.marketCapChange24h)?((0,K.uX)(),(0,K.Wv)(s,{key:12,class:"price",label:e.$t("pages.token-details.volumeDaily")},{text:(0,K.k6)((function(){var t,n,a;return[(0,K.Lk)("span",{class:(0,tt.C4)({green:(null===(t=e.assetData)||void 0===t?void 0:t.marketCapChangePercentage24h)>0,red:(null===(n=e.assetData)||void 0===n?void 0:n.marketCapChangePercentage24h)<0})},(0,tt.v_)(Number(e.assetData.marketCapChangePercentage24h).toFixed(2))+"% ",3),(0,K.eW)(" "+(0,tt.v_)(e.formatCurrency(null===(a=e.assetData)||void 0===a?void 0:a.marketCapChange24h)),1)]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.CE)(K.FK,{key:13},[(0,K.bF)(s,{label:e.$t("pages.token-details.transactions")},null,8,["label"]),(0,K.bF)(s,{label:e.$t("pages.token-details.feeDaily")},null,8,["label"]),(0,K.bF)(s,{label:e.$t("pages.token-details.priceAe")},null,8,["label"])],64)):(0,K.Q3)("",!0),(null===(f=e.assetData)||void 0===f?void 0:f.currentPrice)?((0,K.uX)(),(0,K.Wv)(s,{key:14,class:"price",label:e.$t("pages.token-details.price")},{text:(0,K.k6)((function(){return[(0,K.Lk)("span",{class:(0,tt.C4)({green:e.assetData.priceChangePercentage24h>0,red:e.assetData.priceChangePercentage24h<0})},(0,tt.v_)(Number(e.assetData.priceChangePercentage24h).toFixed(2))+"% ",3),(0,K.eW)(" "+(0,tt.v_)(e.formatCurrency(e.assetData.currentPrice)),1)]})),_:1},8,["label"])):(0,K.Q3)("",!0),(null===(m=e.assetData)||void 0===m?void 0:m.ath)?((0,K.uX)(),(0,K.Wv)(s,{key:15,label:e.$t("pages.token-details.ath-change"),text:e.formatCurrency(e.assetData.ath)},null,8,["label","text"])):(0,K.Q3)("",!0),(null===(g=e.assetData)||void 0===g?void 0:g.atl)?((0,K.uX)(),(0,K.Wv)(s,{key:16,label:e.$t("pages.token-details.atl-change"),text:e.formatCurrency(e.assetData.atl)},null,8,["label","text"])):(0,K.Q3)("",!0),e.isCoin?((0,K.uX)(),(0,K.Wv)(s,{key:17,class:"link",label:e.$t("pages.token-details.more")},{text:(0,K.k6)((function(){return[(0,K.bF)(c,{"is-external":"",to:e.coinGeckoLinkUrl,variant:"muted"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.coinGeckoLinkLabel),1)]})),_:1},8,["to"])]})),_:1},8,["label"])):(0,K.Q3)("",!0)])]})),_:1})]})),_:1})}n(27495),n(25440);var Fu={class:"details-row"},Du={class:"title"},Bu={class:"text"};function Pu(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",Fu,[(0,K.Lk)("div",Du,[(0,K.RG)(e.$slots,"label",{},(function(){return[(0,K.eW)((0,tt.v_)(n.label),1)]}),!0)]),(0,K.Lk)("div",Bu,[(0,K.RG)(e.$slots,"text",{},(function(){return[(0,K.eW)((0,tt.v_)(n.text),1)]}),!0)])])}const Mu={props:{label:{type:String,default:null},text:{type:[String,Number],default:"N/A"}}},Ou=(0,Ft.A)(Mu,[["render",Pu],["__scopeId","data-v-1887a5f2"]]),Ru=Ou,Nu=(0,K.pM)({name:"AssetDetailsInfo",components:{DetailsRow:Ru,AddressTruncated:cs.A,Tokens:vu.A,IonPage:Fe.AO,IonContent:Fe.W9,LinkButton:wt.A},setup:function(){var e=(0,ce.YY)(),t=e.sharedAssetDetails,n=(0,ce.ZN)(),a=n.formatCurrency,r=(0,K.EW)((function(){return t.tokenData||{}})),s=(0,K.EW)((function(){var e;return i.C.getAdapter(null===(e=r.value)||void 0===e?void 0:e.protocol)})),u=(0,K.EW)((function(){return r.value.contractId})),c=(0,K.EW)((function(){return t.tokens})),l=(0,K.EW)((function(){return t.tokenPairs||{}})),d=(0,K.EW)((function(){return t.tokenBalance})),p=(0,K.EW)((function(){return(0,L.go)(u.value)})),v=(0,K.EW)((function(){var e,t;return(null===(e=r.value)||void 0===e?void 0:e.decimals)||(null===(t=d.value)||void 0===t?void 0:t.decimals)})),f=(0,K.EW)((function(){return"https://www.coingecko.com/en/coins/".concat(s.value.getCoinGeckoCoinId())})),m=(0,K.EW)((function(){return f.value.replace("https://","").replace("en/coins","...")})),g=(0,K.EW)((function(){var e,t;return(null===(e=l.value)||void 0===e?void 0:e.balance)&&(null===(t=l.value)||void 0===t?void 0:t.totalSupply)?"".concat((0,L.k0)(new pe.A(l.value.balance).times(100).div(l.value.totalSupply)),"%"):null})),h=function(e){return(0,L.k0)((0,L.Y9)(e.amount,-e.decimals))};return{PROTOCOLS:o.yv,UNFINISHED_FEATURES:o.s4,isCoin:p,poolShare:g,getPooledTokenAmount:h,formatCurrency:a,formatNumber:L.ZV,sharedAssetDetails:t,coinGeckoLinkUrl:f,coinGeckoLinkLabel:m,tokens:c,tokenPairs:l,tokenBalance:d,assetData:r,decimals:v}}}),Uu=(0,Ft.A)(Nu,[["render",Wu],["__scopeId","data-v-b062462c"]]),Xu=Uu;var Vu=n(84316),Hu=n.n(Vu),$u={key:0,class:"iframe-image",src:Hu(),alt:"Send & receive tips across the globe!"},ju={key:1,class:"not-iframe"},Ku={class:"heading"},qu={class:"receive"},Gu={class:"store"},Qu={class:"send"},Zu={class:"aeternity-name"},Yu={key:0,class:"wallet-button-box"};function zu(e,t,n,a,r,o){var i=(0,K.g2)("SuperheroLogoIcon"),s=(0,K.g2)("i18n-t"),u=(0,K.g2)("Platforms"),c=(0,K.g2)("CheckBox"),l=(0,K.g2)("RouterLink"),d=(0,K.g2)("BtnSubheader"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:(0,tt.C4)(["index",{"extended-top-padding":!e.IS_WEB&&!e.IS_MOBILE_DEVICE,"ios-top-padding":e.IS_IOS}])},[e.IN_FRAME?((0,K.uX)(),(0,K.CE)("img",$u)):((0,K.uX)(),(0,K.CE)("div",ju,[(0,K.bF)(i,{class:"superhero-logo"}),(0,K.Lk)("div",Ku,[(0,K.bF)(s,{keypath:"pages.index.heading.message",tag:"span",class:"tag",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",qu,(0,tt.v_)(e.$t("pages.index.heading.receive")),1),(0,K.Lk)("span",Gu,(0,tt.v_)(e.$t("pages.index.heading.store")),1),(0,K.Lk)("span",Qu,(0,tt.v_)(e.$t("pages.index.heading.send")),1),(0,K.Lk)("span",Zu,(0,tt.v_)(e.$t("pages.index.heading.aeternityBlockchain")),1)]})),_:1})]),e.IS_WEB?((0,K.uX)(),(0,K.Wv)(u,{key:0},{header:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.index.platforms.heading")),1)]})),footer:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.index.webVersion")),1)]})),_:1})):(0,K.Q3)("",!0)])),(0,K.Lk)("div",{class:(0,tt.C4)(["terms-agreement",{mobile:!e.IS_WEB}])},[(0,K.bF)(c,{modelValue:e.termsAgreed,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.termsAgreed=t}),"data-cy":"checkbox"},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",null,(0,tt.v_)(e.$t("pages.index.term1")),1)]})),_:1},8,["modelValue"]),(0,K.bF)(l,{to:{name:"about-terms"},"data-cy":"terms",class:(0,tt.C4)(["terms-of-use",{agreed:e.termsAgreed}])},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.index.termsAndConditions")),1)]})),_:1},8,["class"])],2),(0,K.bF)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.termsAgreed?((0,K.uX)(),(0,K.CE)("div",Yu,[(0,K.bF)(d,{"data-cy":"generate-wallet",subheader:e.$t("pages.index.getStartedWithWallet"),header:e.$t("pages.index.generateWallet"),icon:e.PlusCircleIcon,onClick:e.createWallet},null,8,["subheader","header","icon","onClick"]),(0,K.bF)(d,{"data-cy":"import-wallet",subheader:e.$t("pages.index.enterSeed"),header:e.$t("pages.index.importWallet"),icon:e.CheckCircleIcon,onClick:e.importWallet},null,8,["subheader","header","icon","onClick"])])):(0,K.Q3)("",!0)]})),_:1})],2)]})),_:1})]})),_:1})}var Ju={class:"checkbox-container"},ec=["disabled","checked","type","name"];function tc(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("label",Ju,[(0,K.Lk)("input",{disabled:e.disabled,checked:!!e.modelValue,type:e.type,name:e.name,onChange:t[0]||(t[0]=function(t){return e.$emit("update:modelValue",t.target.checked)})},null,40,ec),(0,K.Lk)("span",{class:(0,tt.C4)(["checkmark",{checked:e.modelValue,disabled:e.disabled}])},null,2),e.$slots["default"]?((0,K.uX)(),(0,K.CE)("div",{key:0,class:(0,tt.C4)(["label-text",{checked:e.modelValue}])},[(0,K.RG)(e.$slots,"default",{},void 0,!0)],2)):(0,K.Q3)("",!0)])}const nc=(0,K.pM)({name:"CheckBox",props:{modelValue:{type:[String,Number,Boolean],default:""},type:{type:String,default:"checkbox"},name:{type:String,default:""},disabled:Boolean},emits:["update:modelValue"]}),ac=(0,Ft.A)(nc,[["render",tc],["__scopeId","data-v-3d62511b"]]),rc=ac;var oc={class:"box"},ic={class:"message"},sc={class:"heading"},uc={class:"description"};function cc(e,t,n,a,r,o){var i=(0,K.g2)("IconWrapper"),s=(0,K.g2)("BtnBase");return(0,K.uX)(),(0,K.Wv)(s,(0,K.v6)(Object.assign(Object.assign({},e.$attrs),e.$props),{class:"button-subheader",extend:"",variant:"dark"}),{default:(0,K.k6)((function(){return[(0,K.Lk)("div",oc,[e.icon||e.protocolIcon?((0,K.uX)(),(0,K.Wv)(i,{key:0,icon:e.icon,"icon-size":e.iconSize,"protocol-icon":e.protocolIcon,"is-boxed":""},null,8,["icon","icon-size","protocol-icon"])):(0,K.Q3)("",!0),(0,K.Lk)("div",ic,[(0,K.Lk)("span",sc,(0,tt.v_)(e.header),1),(0,K.Lk)("span",uc,(0,tt.v_)(e.subheader),1)])])]})),_:1},16)}const lc=(0,K.pM)({components:{BtnBase:Ot.Ay,IconWrapper:Fo.Ay},props:Object.assign({header:{type:String,default:""},subheader:{type:String,default:""},icon:{type:Object,default:null},iconSize:Fo.m0,protocolIcon:Fo.ZO},Ot.Mp)}),dc=(0,Ft.A)(lc,[["render",cc],["__scopeId","data-v-664f7dd3"]]),pc=dc;var vc=n(24538),fc=n.n(vc),mc=n(59485),gc=n.n(mc),hc={class:"platforms"},Ac={class:"heading"},kc={key:0,class:"mobile-web-icons"},yc={key:1,class:"web-icons-wrapper"},bc={class:"web-icons"},wc={class:"web-icons-title"},Cc={class:"web-icons-platforms"},xc={class:"web-icons"},Lc={class:"web-icons-title"},Sc={class:"web-icons-platforms"},Tc={class:"footer"};function Ec(e,t,a,r,o,i){var s=(0,K.g2)("LinkButton"),u=(0,K.g2)("PlatformIcon");return(0,K.uX)(),(0,K.CE)("div",hc,[(0,K.Lk)("div",Ac,[(0,K.RG)(e.$slots,"header",{},void 0,!0)]),e.IS_MOBILE_DEVICE?((0,K.uX)(),(0,K.CE)("div",kc,[(0,K.bF)(s,{to:e.APP_LINK_IOS},{default:(0,K.k6)((function(){return[(0,K.Lk)("img",{class:(0,tt.C4)({grey:!e.IS_IOS||!e.IS_MOBILE_DEVICE}),src:fc(),alt:"App Store"},null,2)]})),_:1},8,["to"]),(0,K.bF)(s,{to:e.APP_LINK_ANDROID},{default:(0,K.k6)((function(){return[(0,K.Lk)("img",{class:(0,tt.C4)({grey:e.IS_IOS||!e.IS_MOBILE_DEVICE}),src:gc(),alt:"Google Play"},null,2)]})),_:1},8,["to"])])):((0,K.uX)(),(0,K.CE)("div",yc,[(0,K.Lk)("div",bc,[(0,K.Lk)("div",wc,(0,tt.v_)(e.$t("pages.index.platforms.browser-extension")),1),(0,K.Lk)("div",Cc,[(0,K.bF)(u,{to:e.APP_LINK_FIREFOX,disabled:!e.IS_FIREFOX||e.IS_MOBILE_DEVICE,src:n(24601),alt:"Firefox"},null,8,["to","disabled","src"]),(0,K.bF)(u,{to:e.APP_LINK_CHROME,disabled:e.IS_FIREFOX||e.IS_MOBILE_DEVICE,src:n(78116),alt:"Chrome"},null,8,["to","disabled","src"])])]),(0,K.Lk)("div",xc,[(0,K.Lk)("div",Lc,(0,tt.v_)(e.$t("pages.index.platforms.mobile-app")),1),(0,K.Lk)("div",Sc,[(0,K.bF)(u,{to:e.APP_LINK_IOS,disabled:!e.IS_IOS||!e.IS_MOBILE_DEVICE,src:n(72347),alt:"App Store"},null,8,["to","disabled","src"]),(0,K.bF)(u,{to:e.APP_LINK_ANDROID,disabled:e.IS_IOS||!e.IS_MOBILE_DEVICE,src:n(40958),alt:"Google Play"},null,8,["to","disabled","src"])])])])),(0,K.Lk)("div",Tc,[(0,K.RG)(e.$slots,"footer",{},void 0,!0)])])}var Ic=["src","alt"];function _c(e,t,n,a,r,o){var i=(0,K.g2)("LinkButton");return(0,K.uX)(),(0,K.Wv)(i,{to:e.to,class:"platform-icon"},{default:(0,K.k6)((function(){return[(0,K.Lk)("img",{class:(0,tt.C4)(["platform-icon-image",{grey:e.disabled}]),src:e.src,alt:e.alt},null,10,Ic)]})),_:1},8,["to"])}const Wc=(0,K.pM)({components:{LinkButton:wt.A},props:{to:{type:String,required:!0},src:{type:String,required:!0},alt:{type:String,required:!0},disabled:Boolean}}),Fc=(0,Ft.A)(Wc,[["render",_c],["__scopeId","data-v-18a3b1c4"]]),Dc=Fc,Bc={components:{PlatformIcon:Dc,LinkButton:wt.A},data:function(){return{IS_MOBILE_DEVICE:o.Hy,IS_IOS:o.pz,IS_FIREFOX:o.$M,APP_LINK_CHROME:o.b1,APP_LINK_FIREFOX:o.Fl,APP_LINK_ANDROID:o.H1,APP_LINK_IOS:o.nO}}},Pc=(0,Ft.A)(Bc,[["render",Ec],["__scopeId","data-v-11c59964"]]),Mc=Pc;var Oc={viewBox:"0 0 262 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Rc=(0,K.Fv)('',8),Nc=[Rc];function Uc(e,t){return(0,K.uX)(),(0,K.CE)("svg",Oc,Nc)}const Xc={},Vc=(0,Ft.A)(Xc,[["render",Uc]]),Hc=Vc;var $c=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const jc=(0,K.pM)({components:{SuperheroLogoIcon:Hc,CheckBox:rc,BtnSubheader:pc,Platforms:Mc,IonContent:Fe.W9,IonPage:Fe.AO},setup:function(){var e=this,t=(0,za.rd)(),n=(0,ce.oV)(),a=n.isLoggedIn,r=n.addRawAccount,i=n.setGeneratedMnemonic,u=n.mnemonic,c=n.discoverAccounts,l=n.setActiveAccountByGlobalIdx,d=(0,ce.U8)(),p=d.openModal,v=(0,ce.mv)(),f=v.loginTargetLocation,m=(0,bt.KR)(!1),g=!1;function h(){return $c(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:g=!0,i(),r({isRestored:!1,protocol:o.yv.aeternity}),t.push(f.value);case 4:case"end":return e.stop()}}),e)})))}function A(){return $c(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return g=!0,e.next=3,p(o.uR);case 3:case"end":return e.stop()}}),e)})))}return(0,K.sV)((function(){return $c(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!o.pz||!o.I$){e.next=8;break}return e.next=3,(0,L.mU)(u);case 3:if(!u.value||g){e.next=8;break}return e.next=6,c();case 6:l(0),a.value&&t.push(f.value);case 8:case"end":return e.stop()}}),e)})))})),{PlusCircleIcon:Er.A,CheckCircleIcon:Xi,IS_WEB:o.u2,IS_IOS:o.pz,IS_MOBILE_DEVICE:o.Hy,IN_FRAME:o.IX,termsAgreed:m,createWallet:h,importWallet:A}}}),Kc=(0,Ft.A)(jc,[["render",zu],["__scopeId","data-v-67e61e9e"]]),qc=Kc;var Gc={class:"invite-page"},Qc={class:"section-title"},Zc={key:0,class:"generated-links"},Yc={class:"section-title"};function zc(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("BalanceInfo"),u=(0,K.g2)("InputAmount"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("Field"),d=(0,K.g2)("InviteItem"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){var n;return[(0,K.Lk)("div",Gc,[(0,K.bF)(i,{account:e.activeAccount,"can-copy-address":"","show-protocol-icon":""},null,8,["account"]),(0,K.bF)(s,{balance:e.balance.toNumber(),protocol:e.activeAccount.protocol,"horizontal-offline-message":""},null,8,["balance","protocol"]),(0,K.Lk)("p",Qc,(0,tt.v_)(e.$t("pages.invite.generate-link")),1),(0,K.bF)(l,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.amount=t}),name:"amount",rules:Object.assign(Object.assign({does_not_exceed_decimals:null===(n=e.formModel.selectedAsset)||void 0===n?void 0:n.decimals,min_value_exclusive:0},+e.balance.minus(e.fee)>0?{max_value:e.max}:{}),{enough_coin:e.fee.toString()})},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(u,(0,K.v6)(a,{"model-value":e.formModel.amount,class:"amount",name:"amount",label:e.$t("pages.invite.tip-attached"),message:r,readonly:"",protocol:e.PROTOCOLS.aeternity,"selected-asset":e.formModel.selectedAsset,onAssetSelected:t[0]||(t[0]=function(t){return e.formModel.selectedAsset=t})}),null,16,["model-value","label","message","protocol","selected-asset"]),(0,K.bF)(c,{extend:"",icon:e.PlusCircleFillIcon,disabled:!e.formModel.amount||!!r,"data-cy":"invite-generate",onClick:e.generate},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.invite.generate")),1)]})),_:2},1032,["icon","disabled","onClick"])]})),_:1},8,["modelValue","rules"]),e.invites.length>0?((0,K.uX)(),(0,K.CE)("div",Zc,[(0,K.Lk)("p",Yc,(0,tt.v_)(e.$t("pages.invite.created-links")),1),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.invites,(function(n){return(0,K.uX)(),(0,K.Wv)(d,(0,K.v6)(null!==n&&void 0!==n?n:null,{key:n.secretKey.toString(),onLoading:t[2]||(t[2]=function(t){return e.setLoaderVisible(t)})}),null,16)})),128))])):(0,K.Q3)("",!0)])]})),_:1})]})),_:1})}var Jc=n(65984),el=n(99366),tl=(n(50778),{class:"invite-row"}),nl={class:"invite-info"},al={class:"date"},rl={class:"invite-link-url"},ol={key:0,class:"centered-buttons"},il={class:"centered-buttons"};function sl(e,t,n,a,r,o){var i,s=(0,K.g2)("TokenAmount"),u=(0,K.g2)("CopyText"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("InputAmount"),d=(0,K.g2)("Field");return(0,K.uX)(),(0,K.CE)("div",tl,[(0,K.Lk)("div",nl,[(0,K.bF)(s,{amount:e.inviteLinkBalance,protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"]),(0,K.Lk)("span",al,(0,tt.v_)(e.formatDate(e.createdAt)),1)]),(0,K.bF)(u,{class:"invite-link",value:e.link.toString()},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",rl,(0,tt.v_)(e.link),1)]})),_:1},8,["value"]),e.topUp?((0,K.uX)(),(0,K.Wv)(d,{key:1,modelValue:e.formModel.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.formModel.amount=t}),name:"amount",rules:{required:!0,max_value:e.max,does_not_exceed_decimals:null===(i=e.formModel.selectedAsset)||void 0===i?void 0:i.decimals}},{default:(0,K.k6)((function(t){var n=t.field,a=t.errorMessage;return[(0,K.bF)(l,(0,K.v6)(n,{"model-value":e.formModel.amount,name:"amount",class:"input-amount",label:e.$t("pages.invite.top-up-with"),message:a,protocol:e.PROTOCOLS.aeternity,readonly:""}),null,16,["model-value","label","message","protocol"]),(0,K.Lk)("div",il,[(0,K.bF)(c,{variant:"muted",text:e.$t("pages.invite.collapse"),onClick:e.resetTopUpChanges},null,8,["text","onClick"]),(0,K.bF)(c,{disabled:!e.formModel.amount||!!a,text:e.$t("pages.invite.top-up"),onClick:e.sendTopUp},null,8,["disabled","text","onClick"])])]})),_:1},8,["modelValue","rules"])):((0,K.uX)(),(0,K.CE)("div",ol,[e.inviteLinkBalance>0?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"button",variant:"muted","data-cy":"invite-claim",text:e.$t("pages.invite.claim"),onClick:e.claim},null,8,["text","onClick"])):((0,K.uX)(),(0,K.Wv)(c,{key:1,class:"button",variant:"muted","data-cy":"invite-delete",text:e.$t("pages.invite.delete"),onClick:e.deleteItem},null,8,["text","onClick"])),(0,K.bF)(c,{class:"button","data-cy":"invite-top-up",text:e.$t("pages.invite.top-up"),onClick:t[0]||(t[0]=function(t){return e.topUp=!0})},null,8,["text"])]))])}var ul=n(48287)["Buffer"],cl=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const ll=(0,K.pM)({components:{TokenAmount:Es.A,BtnMain:Mo.A,InputAmount:el.A,CopyText:Vs.A,Field:De.D0},props:{secretKey:{type:ul,required:!0},createdAt:{type:Number,required:!0}},setup:function(e,t){var n=t.emit,a=(0,za.rd)(),r=(0,ce.oV)(),u=r.getLastActiveProtocolAccount,c=(0,ce.ZN)(),l=c.marketData,d=(0,ce.ty)(),p=d.balance,f=(0,ce.CP)(),m=f.getAeSdk,g=(0,ce._V)(),A=g.claimInvite,k=g.removeInvite,y=g.handleInsufficientBalanceError,b=(0,bt.KR)({amount:"",selectedAsset:i.C.getAdapter(o.yv.aeternity).getDefaultCoin(l.value,+p.value)}),w=(0,ce.Ym)({formModel:b}),C=w.max,x=(0,bt.KR)(!1),S=(0,bt.KR)(0),T=(0,K.EW)((function(){var t=(0,h.lF)(ul.from(e.secretKey),v.W.Name).slice(3);return new URL("".concat(a.resolve({name:Ye.HH}).href.replace(/^#/,""),"#").concat(t),o.yS)})),E=(0,K.EW)((function(){return(0,_.Sf)(e.secretKey).address}));function I(){k(e.secretKey)}function W(){return cl(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:return t=e.sent,e.t0=parseFloat,e.next=6,t.getBalance(E.value,{format:Jc.j8.AE})["catch"]((function(){return 0}));case 6:e.t1=e.sent.toString(),S.value=(0,e.t0)(e.t1);case 8:case"end":return e.stop()}}),e)})))}function F(){var t;return cl(this,void 0,void 0,(0,s.A)().mark((function a(){return(0,s.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return n("loading",!0),a.prev=1,a.next=4,A({secretKey:ul.from(e.secretKey),recipientId:null===(t=u(o.yv.aeternity))||void 0===t?void 0:t.address,isMax:!0});case 4:return a.next=6,W();case 6:a.next=15;break;case 8:return a.prev=8,a.t0=a["catch"](1),a.next=12,y(a.t0,!0);case 12:if(!a.sent){a.next=14;break}return a.abrupt("return");case 14:throw a.t0;case 15:return a.prev=15,n("loading",!1),a.finish(15);case 18:case"end":return a.stop()}}),a,null,[[1,8,15,18]])})))}function D(){return cl(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return b.value.amount="",e.next=3,(0,K.dY)();case 3:x.value=!1;case 4:case"end":return e.stop()}}),e)})))}function B(){return cl(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n("loading",!0),e.next=3,m();case 3:return t=e.sent,e.prev=4,e.next=7,t.spend(b.value.amount,E.value,{denomination:Jc.j8.AE});case 7:return e.next=9,W();case 9:D(),e.next=19;break;case 12:return e.prev=12,e.t0=e["catch"](4),e.next=16,y(e.t0);case 16:if(!e.sent){e.next=18;break}return e.abrupt("return");case 18:throw e.t0;case 19:return e.prev=19,n("loading",!1),e.finish(19);case 22:case"end":return e.stop()}}),e,null,[[4,12,19,22]])})))}return(0,K.wB)((function(){return e.secretKey}),(function(){return W()}),{immediate:!0}),{PROTOCOLS:o.yv,formModel:b,max:C,topUp:x,inviteLinkBalance:S,link:T,formatDate:L.Yq,resetTopUpChanges:D,deleteItem:I,sendTopUp:B,claim:F}}}),dl=(0,Ft.A)(ll,[["render",sl],["__scopeId","data-v-9a6ba60a"]]),pl=dl;var vl=n(48287)["Buffer"],fl=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const ml=(0,K.pM)({components:{AccountInfo:La.A,BalanceInfo:Sa.A,InputAmount:el.A,BtnMain:Mo.A,InviteItem:pl,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.oV)(),t=e.activeAccount,n=(0,ce.ZN)(),a=n.marketData,r=(0,ce.CP)(),u=r.getAeSdk,c=(0,ce.ty)(),l=c.balance,d=(0,ce._V)(),p=d.invites,v=d.addInvite,m=d.handleInsufficientBalanceError,g=(0,ce.mv)(),h=g.setLoaderVisible,A=(0,bt.KR)({amount:"",selectedAsset:i.C.getAdapter(o.yv.aeternity).getDefaultCoin(a.value,+l.value)}),k=(0,ce.Ym)({formModel:A}),y=k.max,b=k.fee;function w(){return fl(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a,r;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return h(!0),t=(0,f.TZ)(),n=t.publicKey,a=t.secretKey,e.prev=2,e.next=5,u();case 5:return r=e.sent,e.next=8,r.spend(A.value.amount||0,n,{denomination:Jc.j8.AE});case 8:e.next=17;break;case 10:return e.prev=10,e.t0=e["catch"](2),e.next=14,m(e.t0);case 14:if(!e.sent){e.next=16;break}return e.abrupt("return");case 16:throw e.t0;case 17:return e.prev=17,h(!1),e.finish(17);case 20:v(vl.from(a,"hex").slice(0,32)),A.value.amount="";case 22:case"end":return e.stop()}}),e,null,[[2,10,17,20]])})))}return{PROTOCOLS:o.yv,PlusCircleFillIcon:Er.A,activeAccount:t,balance:l,fee:b,invites:p,max:y,formModel:A,generate:w,setLoaderVisible:h}}}),gl=(0,Ft.A)(ml,[["render",zc],["__scopeId","data-v-47b6712e"]]),hl=gl;function Al(e,t,n,a,r,o){var i=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(i)}var kl=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const yl=(0,K.pM)({components:{IonPage:Fe.AO},setup:function(){var e=this,t=(0,Fe.jq)(),n=(0,za.lq)(),a=(0,ce.U8)(),r=a.openDefaultModal,i=a.openModal,u=(0,ce.mv)(),c=u.setLoaderVisible,l=(0,ce._V)(),d=l.handleInsufficientBalanceError;(0,Fe.UO)((function(){return kl(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return c(!0),t.push({name:Ye.qJ}),e.prev=2,e.next=5,i(o.He,{secretKey:(0,h.D4)("nm_".concat(n.hash?n.hash.replace("#",""):n.fullPath.split("/").at(-1)))});case 5:e.next=18;break;case 7:if(e.prev=7,e.t0=e["catch"](2),"Invalid checksum"!==e.t0.message){e.next=13;break}return e.next=12,r({msg:"The invite link is broken"});case 12:return e.abrupt("return");case 13:return e.next=15,d(e.t0,!0);case 15:if(!e.sent){e.next=17;break}return e.abrupt("return");case 17:throw e.t0;case 18:return e.prev=18,c(!1),e.finish(18);case 21:case"end":return e.stop()}}),e,null,[[2,7,18,21]])})))}))}}),bl=(0,Ft.A)(yl,[["render",Al]]),wl=bl;var Cl={class:"language-settings"},xl={class:"text-description"},Ll={class:"languages"},Sl=["onClick"];function Tl(e,t,n,a,r,o){var i=(0,K.g2)("RadioButton"),s=(0,K.g2)("IonContent"),u=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(u,null,{default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Cl,[(0,K.Lk)("p",xl,(0,tt.v_)(e.$t("pages.languageSettings.chooseLanguage")),1),(0,K.Lk)("div",Ll,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.languageList,(function(t){var n=t.code,a=t.name;return(0,K.uX)(),(0,K.Wv)(i,{key:n,value:e.activeLanguage===n,disabled:!1,class:(0,tt.C4)(["language",[{active:e.activeLanguage===n}]]),onInput:function(t){return e.switchLanguage(n)}},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:"row",onClick:function(t){return e.switchLanguage(n)}},[(0,K.Lk)("div",null,[(0,K.eW)((0,tt.v_)(a)+" ",1),(0,K.Lk)("span",null,"("+(0,tt.v_)(n)+")",1)])],8,Sl)]})),_:2},1032,["value","class","onInput"])})),128))])])]})),_:1})]})),_:1})}var El=n(67239),Il=Object.entries(x.eo).map((function(e){var t=(0,a.A)(e,2),n=t[0],r=t[1].name;return{code:n,name:r}})).sort();const _l=(0,K.pM)({components:{RadioButton:El.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.Jt)(),t=e.activeLanguage,n=e.switchLanguage;return{languageList:Il,activeLanguage:t,switchLanguage:n}}}),Wl=(0,Ft.A)(_l,[["render",Tl],["__scopeId","data-v-2f99176c"]]),Fl=Wl;var Dl={class:"currency-settings"},Bl={class:"text-description"},Pl={class:"options"},Ml=["onClick"],Ol={class:"left"},Rl={class:"code"},Nl={class:"symbol"},Ul={class:"name"};function Xl(e,t,n,a,r,o){var i=(0,K.g2)("RadioButton"),s=(0,K.g2)("IonContent"),u=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(u,null,{default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Dl,[(0,K.Lk)("p",Bl,(0,tt.v_)(e.$t("pages.currencySettings.chooseLanguage")),1),(0,K.Lk)("div",Pl,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.CURRENCIES,(function(t,n){var a=t.code,r=t.name,o=t.symbol;return(0,K.uX)(),(0,K.Wv)(i,{key:"".concat(n,"-").concat(a),value:e.currentCurrencyCode===a,class:(0,tt.C4)([{active:e.currentCurrencyCode===a},"currency"]),onInput:function(t){return e.setCurrentCurrency(a)}},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:"row",onClick:function(t){return e.setCurrentCurrency(a)}},[(0,K.Lk)("div",Ol,[(0,K.Lk)("div",Rl,(0,tt.v_)(a),1),(0,K.Lk)("div",Nl," ("+(0,tt.v_)(o)+") ",1)]),(0,K.Lk)("div",Ul,(0,tt.v_)(r),1)],8,Ml)]})),_:2},1032,["value","class","onInput"])})),128))])])]})),_:1})]})),_:1})}const Vl=(0,K.pM)({name:"CurrencySettings",components:{RadioButton:El.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.ZN)(),t=e.CURRENCIES,n=e.currentCurrencyCode,a=e.setCurrentCurrency;return{CURRENCIES:t,currentCurrencyCode:n,setCurrentCurrency:a}}}),Hl=(0,Ft.A)(Vl,[["render",Xl],["__scopeId","data-v-d9f35b18"]]),$l=Hl;var jl={class:"auction"},Kl={class:"auction-tabs"};function ql(e,t,n,a,r,o){var i=(0,K.g2)("Tab"),s=(0,K.g2)("Tabs"),u=(0,K.g2)("IonRouterOutlet"),c=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(c,null,{default:(0,K.k6)((function(){return[(0,K.Lk)("div",jl,[(0,K.Lk)("div",Kl,[(0,K.bF)(s,null,{default:(0,K.k6)((function(){return[(0,K.bF)(i,{to:{name:e.ROUTE_AUCTION_BID,params:e.routeParams},text:e.$t("pages.names.auctions.place-bid"),"exact-path":""},null,8,["to","text"]),(0,K.bF)(i,{to:{name:e.ROUTE_AUCTION_HISTORY,params:e.routeParams},text:e.$t("pages.names.auctions.bid-history")},null,8,["to","text"])]})),_:1})]),e.isLoaderVisible?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(u,{key:0,animation:e.fadeAnimation,class:"auction-router",name:e.name},null,8,["animation","name"]))])]})),_:1})}var Gl=n(67283),Ql=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Zl=3e3;const Yl=(0,K.pM)({name:"Auction",components:{Tabs:fu.A,Tab:mu.A,IonRouterOutlet:Fe.Rg,IonPage:Fe.AO},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,za.rd)(),n=(0,I.ef)(),r=n.getMiddleware,o=(0,za.lq)(),i=o.params,u=(0,ce.mv)(),c=u.isAppActive,l=u.isLoaderVisible,d=u.setLoaderVisible,p=(0,Rn.q)(),v=p.setAuctionEntry;function f(){return Ql(this,void 0,void 0,(0,s.A)().mark((function n(){var o,i,u,c,l,p,f,m;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,r();case 2:return o=n.sent,n.prev=3,i=(0,Gl.bt)(e.name),n.next=7,Promise.all([o.getName(e.name),o.getAccountActivities(i,{limit:100})]);case 7:u=n.sent,c=(0,a.A)(u,2),l=c[0],p=c[1],f=l.info.auctionEnd,m=p.data.filter((function(e){var t=e.type;return"NameClaimEvent"===t})).filter((function(e){var t=e.payload.sourceTxType;return"NameClaimTx"===t})).map((function(e){var t=e.payload.tx,n=t.accountId,a=t.nameFee;return{nameFee:new pe.A((0,_.c4)(a)),accountId:n}})),v({name:e.name,expiration:f,bids:m}),n.next=19;break;case 16:n.prev=16,n.t0=n["catch"](3),t.push({name:Ye.cH});case 19:d(!1);case 20:case"end":return n.stop()}}),n,null,[[3,16]])})))}d(!0);var m=(0,L.mX)((function(){c.value&&f()}),Zl);return(0,K.xo)((function(){clearInterval(m)})),(0,K.wB)((function(){return e.name}),(function(){return f()})),{ROUTE_AUCTION_BID:Ye.cH,ROUTE_AUCTION_HISTORY:Ye.Bh,isLoaderVisible:l,routeParams:i,fadeAnimation:du.r4}}}),zl=(0,Ft.A)(Yl,[["render",ql],["__scopeId","data-v-a1bc958c"]]),Jl=zl;var ed={class:"auction-bid"},td={class:"form"},nd={class:"tx-details"};function ad(e,t,n,a,r,o){var i=(0,K.g2)("AuctionCard"),s=(0,K.g2)("InputAmount"),u=(0,K.g2)("Field"),c=(0,K.g2)("TokenAmount"),l=(0,K.g2)("DetailsItem"),d=(0,K.g2)("BtnMain"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",ed,[(0,K.bF)(i,{name:e.name},null,8,["name"]),(0,K.Lk)("div",td,[(0,K.bF)(u,{name:"amount",rules:{enough_coin:e.amountTotal.toString(),required:!0,does_not_exceed_decimals:e.AE_COIN_PRECISION}},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(s,(0,K.v6)(a,{modelValue:e.amount,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.amount=t}),name:"amount",message:e.amountError||r,protocol:e.PROTOCOLS.aeternity,readonly:""}),null,16,["modelValue","message","protocol"])]})),_:1},8,["rules"]),(0,K.Lk)("div",nd,[(0,K.bF)(l,{label:e.$t("transaction.fee")},{value:(0,K.k6)((function(){return[(0,K.bF)(c,{amount:+e.txFee,protocol:e.PROTOCOLS.aeternity,"hide-fiat":""},null,8,["amount","protocol"])]})),_:1},8,["label"]),(0,K.bF)(l,{label:e.$t("common.total")},{value:(0,K.k6)((function(){return[(0,K.bF)(c,{amount:+e.amountTotal,protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"])]})),_:1},8,["label"])]),(0,K.bF)(d,{disabled:!!e.amountError||!e.amount||e.errorName,class:"button",extend:"",onClick:e.bid},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.names.auctions.place-bid")),1)]})),_:1},8,["disabled","onClick"])])])]})),_:1})]})),_:1})}var rd={class:"auction-card"},od={class:"name"};function id(e,t,n,a,r,o){var i=(0,K.g2)("BtnHelp"),s=(0,K.g2)("Avatar"),u=(0,K.g2)("AuctionOverview");return(0,K.uX)(),(0,K.CE)("div",rd,[(0,K.bF)(i,{class:"help-button",title:e.$t("modals.auctions-help.title"),msg:e.$t("modals.auctions-help.msg")},null,8,["title","msg"]),(0,K.bF)(s,{name:n.name},null,8,["name"]),(0,K.Lk)("span",od,(0,tt.v_)(n.name),1),(0,K.bF)(u,{name:n.name},null,8,["name"])])}var sd=n(31157),ud={class:"auction-overview"};function cd(e,t,n,a,r,o){var i=(0,K.g2)("TokenAmount"),s=(0,K.g2)("DetailsItem");return(0,K.uX)(),(0,K.CE)("div",ud,[(0,K.bF)(s,{label:e.$t("pages.auctionBid.current-highest-bid")},{value:(0,K.k6)((function(){return[(0,K.bF)(i,{amount:e.amount,protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"])]})),_:1},8,["label"]),(0,K.bF)(s,{class:"end-height",label:e.$t("pages.auctionBid.ending-height"),value:e.auction.expiration,secondary:"(≈".concat(e.endHeight,")")},null,8,["label","value","secondary"])])}const ld=(0,K.pM)({components:{DetailsItem:Ts.A,TokenAmount:Es.A},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,ce.U6)(),n=t.topBlockHeight,a=(0,Rn.q)(),r=a.getNameAuctionHighestBid,i=a.getNameAuction,s=(0,K.EW)((function(){return i(e.name)})),u=(0,K.EW)((function(){return s.value.expiration-n.value})),c=(0,K.EW)((function(){return+r(e.name).nameFee})),l=(0,K.EW)((function(){return(0,L.zw)(u.value)}));return{PROTOCOLS:o.yv,blocksToRelativeTime:L.zw,auction:s,amount:c,endHeight:l}}}),dd=(0,Ft.A)(ld,[["render",cd],["__scopeId","data-v-ae141ce8"]]),pd=dd,vd={components:{Avatar:us.A,BtnHelp:sd.A,AuctionOverview:pd},props:{name:{type:String,required:!0}}},fd=(0,Ft.A)(vd,[["render",id],["__scopeId","data-v-57d51d1e"]]),md=fd;var gd=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const hd=(0,K.pM)({name:"AuctionBid",components:{AuctionCard:md,InputAmount:el.A,DetailsItem:Ts.A,TokenAmount:Es.A,BtnMain:Mo.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,za.rd)(),n=(0,An.s9)(),a=n.t,r=(0,De.mN)(),i=r.validate,u=(0,De.YS)("amount"),c=(0,ce.CP)(),l=c.getAeSdk,d=(0,Rn.q)(),p=d.getNameAuctionHighestBid,v=(0,ce.U8)(),f=v.openDefaultModal,m=(0,ce.mv)(),h=m.setLoaderVisible,A=(0,bt.KR)(""),k=(0,K.EW)((function(){var t;return(null===(t=p(e.name))||void 0===t?void 0:t.nameFee)||new pe.A(0)})),y=(0,K.EW)((function(){return(0,pe.A)((0,Xe.pj)((0,Xe.pr)({tag:g.vw.NameClaimTx,accountId:Ve.km,nonce:Ve.xQ,name:e.name,nameSalt:0,nameFee:(0,_.qX)(k.value.multipliedBy(T.YI).toString())}),g.vw.NameClaimTx).fee).shiftedBy(-T.kS)})),b=(0,K.EW)((function(){return y.value.plus(A.value||0)})),w=(0,K.EW)((function(){var e=k.value.multipliedBy(T.YI);return""!==A.value&&e.isGreaterThanOrEqualTo(+A.value)?a("pages.names.auctions.min-bid",{minBid:e}):null}));function C(){return gd(this,void 0,void 0,(0,s.A)().mark((function n(){var r,o;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,i();case 2:if(n.sent.valid){n.next=4;break}return n.abrupt("return");case 4:return n.next=6,l();case 6:if(r=n.sent,!w.value){n.next=9;break}return n.abrupt("return");case 9:return n.prev=9,h(!0),n.next=13,r.aensBid(e.name,(0,_.qX)(A.value));case 13:f({msg:a("pages.names.auctions.bid-added",{name:e.name})}),t.push({name:Ye.Bh,params:{name:e.name}}),n.next=22;break;case 17:n.prev=17,n.t0=n["catch"](9),o=n.t0.message,o.includes("is not enough to execute")&&(o=a("pages.names.balance-error")),f({msg:o});case 22:return n.prev=22,h(!1),n.finish(22);case 25:case"end":return n.stop()}}),n,null,[[9,17,22,25]])})))}return{AE_COIN_PRECISION:T.kS,PROTOCOLS:o.yv,amount:A,amountTotal:b,amountError:w,errorName:u,txFee:y,bid:C}}}),Ad=(0,Ft.A)(hd,[["render",ad],["__scopeId","data-v-3431fc86"]]),kd=Ad;var yd={class:"auction-history"},bd={class:"title"},wd={class:"name"},Cd={class:"item"};function xd(e,t,n,a,r,o){var i=(0,K.g2)("AccountItem"),s=(0,K.g2)("AuctionOverview"),u=(0,K.g2)("TokenAmount"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",yd,[(0,K.Lk)("span",bd,[(0,K.eW)((0,tt.v_)(e.$t("pages.names.auctions.bids-on"))+" ",1),(0,K.Lk)("span",wd,(0,tt.v_)(e.name),1)]),(0,K.Lk)("div",Cd,[(0,K.bF)(i,{address:e.highestBid.accountId,name:e.getName(e.highestBid.accountId).value,protocol:e.protocol},null,8,["address","name","protocol"]),(0,K.bF)(s,{name:e.name},null,8,["name"])]),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.previousBids,(function(t,n){return(0,K.uX)(),(0,K.CE)("div",{key:n,class:"item"},[(0,K.bF)(u,{amount:+t.nameFee,protocol:e.protocol},null,8,["amount","protocol"]),(0,K.bF)(i,{protocol:e.protocol,address:t.accountId,name:e.getName(t.accountId).value},null,8,["protocol","address","name"])])})),128))])]})),_:1})]})),_:1})}var Ld=n(29086);const Sd=(0,K.pM)({components:{AccountItem:Ld.A,AuctionOverview:pd,TokenAmount:Es.A,IonPage:Fe.AO,IonContent:Fe.W9},props:{name:{type:String,required:!0}},setup:function(e){var t=(0,Rn.q)(),n=t.getNameAuctionHighestBid,a=t.getNameAuction,r=t.getName,i=(0,K.EW)((function(){return n(e.name)})),s=(0,K.EW)((function(){return a(e.name).bids.filter((function(e){return e!==i.value}))}));return{protocol:o.yv.aeternity,getName:r,highestBid:i,previousBids:s}}}),Td=(0,Ft.A)(Sd,[["render",xd],["__scopeId","data-v-66adf79c"]]),Ed=Td;var Id={class:"auction-list-content"},_d={key:0,class:"list"},Wd={class:"name-wrapper"},Fd={class:"name"},Dd={key:0,class:"expiration"};function Bd(e,t,n,a,r,o){var i=(0,K.g2)("Filters"),s=(0,K.g2)("IonToolbar"),u=(0,K.g2)("TokenAmount"),c=(0,K.g2)("NameRow"),l=(0,K.g2)("AnimatedSpinner"),d=(0,K.g2)("RegisterName"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,{class:"auction-list"},{default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"toolbar"},{default:(0,K.k6)((function(){return[e.activeAuctions.length||e.auctions.length||e.loading?((0,K.uX)(),(0,K.Wv)(i,{key:0,modelValue:e.displayMode,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.displayMode=t}),filters:e.filters,sticky:""},null,8,["modelValue","filters"])):(0,K.Q3)("",!0)]})),_:1}),(0,K.bF)(p,{class:"ion-padding ion-content-bg--lighter"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Id,[e.activeAuctions.length||e.auctions.length?((0,K.uX)(),(0,K.CE)("ul",_d,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.auctions,(function(t,n){var a=t.name,r=t.expiration,o=t.lastBid;return(0,K.uX)(),(0,K.Wv)(c,{key:n,to:{name:"auction-bid",params:{name:a}},name:a,address:o.accountId},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Wd,[(0,K.Lk)("div",Fd,[(0,K.eW)((0,tt.v_)(a)+" ",1),(0,K.bF)(u,{amount:e.getAeFee(o.nameFee),protocol:e.PROTOCOLS.aeternity},null,8,["amount","protocol"])]),e.topBlockHeight?((0,K.uX)(),(0,K.CE)("div",Dd,(0,tt.v_)(e.$t("pages.names.auctions.expires"))+" in ≈ "+(0,tt.v_)(e.blocksToRelativeTime(r-e.topBlockHeight)),1)):(0,K.Q3)("",!0)])]})),_:2},1032,["to","name","address"])})),128))])):e.loading?((0,K.uX)(),(0,K.Wv)(l,{key:1,class:"spinner"})):((0,K.uX)(),(0,K.Wv)(d,{key:2,msg:e.$t("pages.names.auctions.no-auctions")},null,8,["msg"]))])]})),_:1})]})),_:1})}var Pd=n(9776),Md={class:"content"},Od={class:"name-info"};function Rd(e,t,n,a,r,o){var i=(0,K.g2)("Avatar"),s=(0,K.g2)("ListItemWrapper");return(0,K.uX)(),(0,K.Wv)(s,{to:n.to,replace:"",class:"name-row",onClick:t[0]||(t[0]=function(t){return e.$emit("click")})},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Md,[(0,K.bF)(i,{name:n.name,address:n.address},null,8,["name","address"]),(0,K.Lk)("div",Od,[(0,K.RG)(e.$slots,"default",{},void 0,!0)])])]})),_:3},8,["to"])}const Nd={components:{ListItemWrapper:Kn.A,Avatar:us.A},props:{name:{type:String,default:""},address:{type:String,default:""},to:{type:Object,default:null}}},Ud=(0,Ft.A)(Nd,[["render",Rd],["__scopeId","data-v-5a99e238"]]),Xd=Ud;var Vd={class:"register-name"},Hd={class:"message"};function $d(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain");return(0,K.uX)(),(0,K.CE)("div",Vd,[(0,K.Lk)("p",Hd,(0,tt.v_)(n.msg),1),(0,K.bF)(i,{class:"btn",text:e.$t("pages.names.list.register-name"),to:{name:"account-details-names-claim"}},null,8,["text"])])}const jd={components:{BtnMain:Mo.A},props:{msg:{type:String,required:!0}}},Kd=(0,Ft.A)(jd,[["render",$d],["__scopeId","data-v-06542595"]]),qd=Kd;var Gd=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Qd={soonest:"soonest",bid:"bid",length:"length"},Zd=1,Yd=-1;const zd=(0,K.pM)({components:{Filters:Pd.A,NameRow:Xd,TokenAmount:Es.A,AnimatedSpinner:ia.A,RegisterName:qd,IonPage:Fe.AO,IonContent:Fe.W9,IonToolbar:Fe.ai},setup:function(){var e=this,t=(0,An.s9)(),n=t.t,a=(0,ce.U6)(),r=a.topBlockHeight,i=(0,I.ef)(),u=i.getMiddleware,c=i.fetchFromMiddlewareCamelCased,l=(0,bt.KR)(!1),d=(0,bt.KR)([]),p=(0,bt.KR)({key:"soonest",rotated:!1}),v=(0,bt.KR)({soonest:{rotated:!1,name:n("filters.soonest")},bid:{rotated:!1,name:n("filters.bid")},length:{rotated:!1,name:n("filters.length")}}),f=(0,K.EW)((function(){return(0,te.A)(d.value).sort((function(e,t){switch(p.value.key){case Qd.length:return e.name.length-t.name.length;case Qd.bid:return parseInt(e.lastBid.nameFee,10)-parseInt(t.lastBid.nameFee,10);default:return 1}})).sort((function(){return p.value.rotated?Yd:Zd}))}));return(0,K.sV)((function(){return Gd(e,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return l.value=!0,e.next=3,u();case 3:return t=e.sent,e.next=6,(0,L.Ey)((function(){return t.getNamesAuctions({by:"expiration",direction:"forward",limit:100})}),c);case 6:d.value=e.sent.map((function(e){var t=e.name,n=e.info;return{name:t,expiration:n.auctionEnd,lastBid:n.lastBid.tx}})),l.value=!1;case 8:case"end":return e.stop()}}),e)})))})),{PROTOCOLS:o.yv,blocksToRelativeTime:L.zw,loading:l,displayMode:p,activeAuctions:d,auctions:f,filters:v,topBlockHeight:r,getAeFee:_.px}}}),Jd=(0,Ft.A)(zd,[["render",Bd],["__scopeId","data-v-1442f094"]]),ep=Jd;var tp={class:"more"};function np(e,t,n,a,r,o){var i=(0,K.g2)("Settings"),s=(0,K.g2)("PanelItem"),u=(0,K.g2)("ClaimTips"),c=(0,K.g2)("Invites"),l=(0,K.g2)("BugReport"),d=(0,K.g2)("BuyIcon"),p=(0,K.g2)("FaucetIcon"),v=(0,K.g2)("Dex"),f=(0,K.g2)("About"),m=(0,K.g2)("IonContent"),g=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(g,null,{default:(0,K.k6)((function(){return[(0,K.bF)(m,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",tp,[(0,K.bF)(s,{to:{name:"settings"},title:e.$t("pages.titles.settings"),"data-cy":"settings"},{icon:(0,K.k6)((function(){return[(0,K.bF)(i)]})),_:1},8,["title"]),e.isNodeMainnet||e.isNodeTestnet?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.bF)(s,{to:{name:"tips-claim"},title:e.$t("pages.claimTips.title"),disabled:!e.isActiveAccountAe,"data-cy":"tips-claim"},{icon:(0,K.k6)((function(){return[(0,K.bF)(u)]})),_:1},8,["title","disabled"]),(0,K.bF)(s,{to:{name:"invite"},title:e.$t("pages.titles.giftCards"),disabled:!e.isActiveAccountAe,"data-cy":"invite"},{icon:(0,K.k6)((function(){return[(0,K.bF)(c)]})),_:1},8,["title","disabled"])],64)):(0,K.Q3)("",!0),(0,K.bF)(s,{href:e.BUG_REPORT_URL,title:e.$t("pages.about.reportBug")},{icon:(0,K.k6)((function(){return[(0,K.bF)(l)]})),_:1},8,["href","title"]),e.isNodeMainnet&&e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.Wv)(s,{key:1,href:e.AE_SIMPLEX_URL,title:e.$t("pages.fungible-tokens.buyAe")},{icon:(0,K.k6)((function(){return[(0,K.bF)(d)]})),_:1},8,["href","title"])):e.isNodeTestnet?((0,K.uX)(),(0,K.Wv)(s,{key:2,disabled:!e.isActiveAccountAe,href:e.activeAccountFaucetUrl,title:e.$t("common.faucet")},{icon:(0,K.k6)((function(){return[(0,K.bF)(p)]})),_:1},8,["disabled","href","title"])):(0,K.Q3)("",!0),(0,K.bF)(s,{href:e.AE_DEX_URL,title:e.$t("pages.more.dex")},{icon:(0,K.k6)((function(){return[(0,K.bF)(v)]})),_:1},8,["href","title"]),(0,K.bF)(s,{to:{name:"about"},title:e.$t("pages.titles.about"),"data-cy":"about"},{icon:(0,K.k6)((function(){return[(0,K.bF)(f)]})),_:1},8,["title"])])]})),_:1})]})),_:1})}var ap={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},rp=(0,K.Lk)("path",{d:"M12 22C12.2779 22 12.6734 21.7969 12.9941 21.5938C18.9695 17.7456 22.7963 13.2346 22.7963 8.65954C22.7963 4.7365 20.0919 2 16.682 2C14.5548 2 12.962 3.17584 12 4.9396C11.0593 3.18653 9.45588 2 7.32868 2C3.91874 2 1.20361 4.7365 1.20361 8.65954C1.20361 13.2346 5.03044 17.7456 11.0059 21.5938C11.3372 21.7969 11.7327 22 12 22ZM8.55797 13.0102C8.55797 12.8926 8.60073 12.7857 8.69693 12.6788L13.0689 7.22715C13.4324 6.77819 14.0203 7.08819 13.8065 7.63335L12.3955 11.4281H15.0572C15.271 11.4281 15.4634 11.5885 15.4634 11.8022C15.4634 11.9198 15.4099 12.0374 15.3137 12.1443L10.9524 17.5852C10.589 18.0342 9.99036 17.7242 10.2041 17.179L11.6258 13.3843H8.95348C8.73969 13.3843 8.55797 13.2239 8.55797 13.0102Z",fill:"currentColor"},null,-1),op=[rp];function ip(e,t){return(0,K.uX)(),(0,K.CE)("svg",ap,op)}const sp={},up=(0,Ft.A)(sp,[["render",ip]]),cp=up;var lp={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},dp=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.061 21.1533C10.1626 21.6782 10.5859 22 11.1279 22H12.8721C13.3971 22 13.8205 21.6782 13.9221 21.1533L14.4132 19.1211C14.7519 19.0025 15.0737 18.8671 15.3446 18.7485L17.1228 19.8154C17.5631 20.1372 18.105 20.0694 18.4776 19.6969L19.6799 18.4945C20.0525 18.105 20.1372 17.5461 19.7985 17.1058L18.7485 15.3446C18.884 15.0567 19.0025 14.7519 19.1041 14.4301L21.1533 13.956C21.6782 13.8374 22 13.431 22 12.8891V11.1787C22 10.6537 21.6782 10.2303 21.1533 10.1287L19.1211 9.6376C19.0025 9.28196 18.8671 8.9602 18.7485 8.70618L19.8323 6.92803C20.1372 6.47079 20.1033 5.94581 19.7138 5.55631L18.4776 4.35394C18.0881 3.99831 17.6308 3.93057 17.1566 4.20152L15.3446 5.30229C15.0737 5.16681 14.7519 5.03133 14.4132 4.91279L13.9221 2.86367C13.8205 2.3387 13.3971 2 12.8721 2H11.1279C10.5859 2 10.1626 2.3387 10.061 2.88061L9.56986 4.89585C9.2481 5.01439 8.9094 5.14987 8.62151 5.28535L6.84335 4.20152C6.36918 3.93057 5.895 3.98137 5.5055 4.35394L4.26926 5.55631C3.87976 5.94581 3.84589 6.47079 4.15072 6.92803L5.23455 8.70618C5.116 8.9602 4.98053 9.28196 4.86198 9.6376L2.84674 10.1287C2.30483 10.2303 2 10.6537 2 11.1787V12.8891C2 13.431 2.30483 13.8374 2.84674 13.956L4.87892 14.4301C4.98053 14.7519 5.09907 15.0567 5.25148 15.3446L4.18459 17.1058C3.86283 17.5461 3.93057 18.105 4.30313 18.4945L5.5055 19.6969C5.895 20.0694 6.43692 20.1372 6.86029 19.8154L8.63844 18.7485C8.9094 18.8671 9.2481 19.0025 9.56986 19.1211L10.061 21.1533ZM15.3108 11.9915C15.3108 13.8036 13.8205 15.3108 11.9915 15.3108C10.1795 15.3108 8.68925 13.8036 8.68925 11.9915C8.68925 10.1964 10.1795 8.70618 11.9915 8.70618C13.8205 8.70618 15.3108 10.1964 15.3108 11.9915Z",fill:"currentColor"},null,-1),pp=[dp];function vp(e,t){return(0,K.uX)(),(0,K.CE)("svg",lp,pp)}const fp={},mp=(0,Ft.A)(fp,[["render",vp]]),gp=mp;var hp={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Ap=(0,K.Lk)("path",{d:"M11.9957 22C14.3743 22 16.4319 19.4486 16.4319 16.7078C16.4319 16.3374 16.3743 16.0329 16.2508 15.7695C16.4566 15.8272 16.6706 15.8848 16.8764 15.9342C17.4196 16.0988 17.5842 16.3374 17.5101 16.823L16.9175 20.6996C16.8352 21.2263 17.1644 21.5309 17.5924 21.5309C18.0451 21.5309 18.2508 21.251 18.3249 20.7984L18.9916 16.5597C19.1562 15.5144 18.7364 14.9465 17.6006 14.6914L13.8722 13.8272L13.864 13.7449C14.1932 13.5885 14.4155 13.2757 14.5307 12.9383L17.1068 12.6091C18.2179 12.4691 18.7118 11.8272 18.7118 10.7325V7.90946C18.7118 7.46502 18.4566 7.20165 18.0122 7.20165C17.5677 7.20165 17.3126 7.46502 17.3126 7.90946V10.4362C17.3126 11.0617 16.9751 11.2675 16.4072 11.3333L14.5965 11.5638C14.506 11.3169 14.3414 11.0947 14.1192 10.9465V10.8642C15.5513 10.6008 16.3414 9.73663 16.3414 8.46914C16.3414 7.45679 15.971 6.51852 15.3702 5.78601L15.4772 5.71193C16.3249 5.10288 16.4731 4.22222 15.9299 3.2428L15.4525 2.44444C15.2879 2.13169 15.0904 2 14.8023 2C14.4401 2 14.1603 2.2716 14.1603 2.62551C14.1603 2.78189 14.185 2.87243 14.2755 3.04527L14.6871 3.68724C14.9504 4.11523 14.934 4.49383 14.5883 4.79012C14.5471 4.83128 14.506 4.85597 14.4566 4.89712C13.757 4.40329 12.9093 4.12346 11.9957 4.12346C11.0986 4.12346 10.2591 4.40329 9.55949 4.88889C9.51834 4.85597 9.47719 4.82305 9.43603 4.78189C9.09035 4.49383 9.07389 4.11523 9.33727 3.68724L9.74879 3.04527C9.84756 2.87243 9.86402 2.78189 9.86402 2.62551C9.86402 2.2716 9.59241 2 9.22204 2C8.94221 2 8.73644 2.13169 8.57184 2.44444L8.09447 3.2428C7.55126 4.22222 7.69941 5.10288 8.54714 5.71193L8.63768 5.77778C8.03686 6.50206 7.65826 7.44856 7.65826 8.46914C7.65826 9.73663 8.44838 10.6008 9.87225 10.8642V10.9465C9.65003 11.0947 9.49365 11.3169 9.39488 11.5638L7.59241 11.3333C7.02451 11.2675 6.68706 11.0617 6.68706 10.4362V7.90946C6.68706 7.46502 6.43192 7.20165 5.98747 7.20165C5.54303 7.20165 5.27965 7.46502 5.27965 7.90946V10.7325C5.27965 11.8272 5.78171 12.4691 6.89282 12.6091L9.46896 12.9383C9.57595 13.2757 9.8064 13.5885 10.1356 13.7449V13.8272L6.399 14.6914C5.26319 14.9465 4.84344 15.5144 5.00805 16.5597L5.67472 20.7984C5.74879 21.251 5.95455 21.5309 6.40723 21.5309C6.83521 21.5309 7.16443 21.2263 7.08212 20.6996L6.48953 16.823C6.41546 16.3292 6.58007 16.0988 7.13151 15.9342C7.33727 15.8765 7.54303 15.8272 7.74879 15.7695C7.62533 16.0329 7.56772 16.3374 7.56772 16.7078C7.56772 19.4486 9.62533 22 11.9957 22Z",fill:"currentColor"},null,-1),kp=[Ap];function yp(e,t){return(0,K.uX)(),(0,K.CE)("svg",hp,kp)}const bp={},wp=(0,Ft.A)(bp,[["render",yp]]),Cp=wp;var xp={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Lp=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 7C12.5523 7 13 7.44772 13 8C13 8.55228 12.5523 9 12 9C11.4477 9 11 8.55228 11 8C11 7.44772 11.4477 7 12 7ZM12 10C12.5523 10 13 10.4477 13 11V16C13 16.5523 12.5523 17 12 17C11.4477 17 11 16.5523 11 16V11C11 10.4477 11.4477 10 12 10Z",fill:"currentColor"},null,-1),Sp=[Lp];function Tp(e,t){return(0,K.uX)(),(0,K.CE)("svg",xp,Sp)}const Ep={},Ip=(0,Ft.A)(Ep,[["render",Tp]]),_p=Ip;var Wp={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Fp=(0,K.Lk)("path",{d:"M5 19H20C20.5523 19 21 19.4477 21 20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3C4.55228 3 5 3.44772 5 4V19Z",fill:"currentColor"},null,-1),Dp=(0,K.Lk)("path",{opacity:"0.44",d:"M8.72954 14.684C8.35181 15.0869 7.71897 15.1073 7.31606 14.7296C6.91315 14.3518 6.89274 13.719 7.27047 13.3161L11.0205 9.3161C11.3858 8.92644 11.9928 8.89264 12.3991 9.23935L15.3589 11.765L19.2151 6.8804C19.5573 6.44692 20.1862 6.37294 20.6196 6.71516C21.0531 7.05738 21.1271 7.68621 20.7849 8.11969L16.2849 13.8197C15.9334 14.2649 15.2824 14.3289 14.8509 13.9607L11.8268 11.3802L8.72954 14.684Z",fill:"currentColor"},null,-1),Bp=[Fp,Dp];function Pp(e,t){return(0,K.uX)(),(0,K.CE)("svg",Wp,Bp)}const Mp={},Op=(0,Ft.A)(Mp,[["render",Pp]]),Rp=Op;var Np={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Up=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 10L7 4H17L24 10L12 21L0 10ZM16.583 10.667C16.694 10.667 16.8 10.711 16.878 10.789C16.956 10.867 17 10.973 17 11.084V11.917C17 12.028 16.956 12.133 16.878 12.212C16.8 12.29 16.694 12.334 16.583 12.334H12.833V16.084C12.833 16.194 12.789 16.3 12.711 16.379C12.633 16.456 12.527 16.5 12.417 16.5H11.583C11.472 16.5 11.367 16.456 11.289 16.378C11.211 16.3 11.167 16.194 11.167 16.083V12.333H7.417C7.306 12.333 7.201 12.289 7.122 12.211C7.044 12.133 7 12.027 7 11.916V11.083C7 10.972 7.044 10.867 7.122 10.788C7.2 10.71 7.306 10.666 7.417 10.666H11.167V6.916C11.167 6.805 11.211 6.7 11.289 6.621C11.368 6.544 11.474 6.5 11.584 6.5H12.417C12.528 6.5 12.633 6.544 12.711 6.622C12.789 6.7 12.833 6.806 12.833 6.917V10.667H16.583Z",fill:"currentColor"},null,-1),Xp=[Up];function Vp(e,t){return(0,K.uX)(),(0,K.CE)("svg",Np,Xp)}const Hp={},$p=(0,Ft.A)(Hp,[["render",Vp]]),jp=$p,Kp=(0,K.pM)({name:"More",components:{PanelItem:Ut,Invites:cp,Settings:gp,About:_p,BuyIcon:_a.A,Dex:Rp,BugReport:Cp,ClaimTips:jp,FaucetIcon:Au.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.oV)(),t=e.activeAccount,n=(0,ce.CP)(),a=n.isNodeMainnet,r=n.isNodeTestnet,i=(0,K.EW)((function(){return t.value.protocol===o.yv.aeternity})),s=(0,K.EW)((function(){return i.value?(0,_.mV)(t.value.address):null}));return{AE_DEX_URL:T.hD,AE_SIMPLEX_URL:T.Q5,BUG_REPORT_URL:o.y5,UNFINISHED_FEATURES:o.s4,activeAccountFaucetUrl:s,isActiveAccountAe:i,isNodeMainnet:a,isNodeTestnet:r}}}),qp=(0,Ft.A)(Kp,[["render",np],["__scopeId","data-v-2588bf9a"]]),Gp=qp;var Qp={class:"claim"},Zp={class:"chain-name-counter"},Yp={class:"aens-domain"},zp={class:"auto-extend-label"};function Jp(e,t,n,a,r,o){var i=(0,K.g2)("InputField"),s=(0,K.g2)("Field"),u=(0,K.g2)("BtnHelp"),c=(0,K.g2)("CheckBox"),l=(0,K.g2)("i18n-t"),d=(0,K.g2)("BtnMain"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg--lighter"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Qp,[(0,K.bF)(s,{name:"name",rules:{enough_coin:e.totalNameClaimAmount.toString(),required:!0,aens_name:!0,aens_name_unregistered:!0}},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(i,(0,K.v6)(a,{modelValue:e.name,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.name=t}),name:"name",class:"chain-name",label:e.$t("pages.names.claim.register-name"),message:r,placeholder:e.$t("pages.names.claim.name-placeholder")}),{"label-after":(0,K.k6)((function(){return[(0,K.Lk)("span",Zp,(0,tt.v_)(e.name.length)+"/"+(0,tt.v_)(e.maxNameLength),1)]})),after:(0,K.k6)((function(){return[(0,K.Lk)("span",Yp,(0,tt.v_)(e.AE_AENS_DOMAIN),1)]})),_:2},1040,["modelValue","label","message","placeholder"])]})),_:1},8,["rules"]),(0,K.bF)(c,{modelValue:e.autoExtend,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.autoExtend=t})},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",zp,[(0,K.eW)((0,tt.v_)(e.$t("pages.names.claim.auto-extend"))+" ",1),(0,K.bF)(u,{title:e.$t("modals.autoextend-help.title"),msg:e.$t("modals.autoextend-help.msg"),class:(0,tt.C4)({active:e.autoExtend})},null,8,["title","msg","class"])])]})),_:1},8,["modelValue"]),(0,K.bF)(l,{keypath:"pages.names.claim.short-names.message",tag:"p",class:"text-description explanation",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.names.claim.short-names.insertion")),1)]})),_:1}),(0,K.bF)(d,{class:"btn-register",extend:"",disabled:e.isLoaderVisible||!e.name||e.errorName,onClick:e.claim},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.isNameValid?e.$t("pages.names.claim.button-price",[e.totalNameClaimAmount.toFixed(4)]):e.$t("pages.names.claim.button")),1)]})),_:1},8,["disabled","onClick"])])]})),_:1})]})),_:1})}var ev=n(19389),tv=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},nv=0xef0073dca94fb;const av=(0,K.pM)({name:"Claim",components:{InputField:ev.A,CheckBox:rc,BtnMain:Mo.A,BtnHelp:sd.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,za.rd)(),t=(0,De.mN)(),n=t.validate,a=(0,De.YS)("name"),r=(0,An.s9)(),o=r.t,i=(0,ce.oV)(),u=i.activeAccount,c=(0,ce.U8)(),l=c.openDefaultModal,d=(0,ce.CP)(),p=d.getAeSdk,v=(0,ce.mv)(),f=v.isLoaderVisible,m=v.setLoaderVisible,h=(0,Rn.q)(),A=h.setPendingAutoExtendName,k=h.updateOwnedNames,y=h.updateNamePointer,b=(0,bt.KR)(""),w=(0,bt.KR)(!1),C=T.d-T.CT.length,x=(0,K.EW)((function(){return"".concat(b.value).concat(T.CT)})),L=(0,K.EW)((function(){return b.value&&(0,_.F7)(x.value)})),S=(0,K.EW)((function(){return b.value.length?(0,pe.A)((0,Xe.pj)((0,Xe.pr)({tag:g.vw.NamePreclaimTx,accountId:Ve.km,nonce:Ve.xQ,commitmentId:(0,Gl.MN)(x.value,nv)}),g.vw.NamePreclaimTx).fee).plus((0,ws.oo)((0,Xe.pr)({tag:g.vw.NameClaimTx,accountId:Ve.km,nonce:Ve.xQ,name:x.value,nameSalt:0,nameFee:(0,Gl.YQ)(x.value)})).toString()).shiftedBy(-T.kS):(0,pe.A)(0)}));function E(){return tv(this,void 0,void 0,(0,s.A)().mark((function t(){var a,r,i,c,d,v;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return m(!0),t.next=3,n();case 3:if(t.sent.valid){t.next=6;break}return m(!1),t.abrupt("return");case 6:return t.next=8,p();case 8:return a=t.sent,t.next=11,a.api.getNameEntryByName(x.value)["catch"]((function(){return!1}));case 11:if(r=t.sent,!r){t.next=17;break}m(!1),l({title:o("modals.name-exist.msg")}),t.next=54;break;case 17:return t.prev=17,t.next=20,a.aensPreclaim(x.value);case 20:return c=t.sent,d=c.salt,t.next=24,a.aensClaim(x.value,d,{waitMined:!1});case 24:return i=t.sent.hash,w.value&&A(x.value),t.next=28,(0,K.dY)();case 28:e.push({name:Ye.ao}),t.next=37;break;case 31:return t.prev=31,t.t0=t["catch"](17),v=t.t0.message,(v.includes("is not enough to execute")||404===t.t0.statusCode)&&(v=o("pages.names.balance-error")),l({icon:"critical",msg:v}),t.abrupt("return");case 37:return t.prev=37,m(!1),t.finish(37);case 40:return t.prev=40,t.next=43,a.poll(i);case 43:if(!(T.pR0?{max_value:e.max}:{}),{enough_coin:e.fee.toString()})},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(c,(0,K.v6)(a,{modelValue:e.formModel.amount,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.formModel.amount=t}),name:"amount",class:"amount-input",readonly:"",message:r,protocol:e.PROTOCOLS.aeternity}),null,16,["modelValue","message","protocol"])]})),_:1},8,["rules"]),e.tip.title?((0,K.uX)(),(0,K.CE)("div",nh,(0,tt.v_)(e.tip.title),1)):(0,K.Q3)("",!0),(0,K.Lk)("div",ah,[(0,K.bF)(d,{variant:"muted","extra-padded":"",text:e.$t("common.cancel"),onClick:t[1]||(t[1]=function(t){return e.openCallbackOrGoHome(!1)})},null,8,["text"]),(0,K.bF)(d,{wide:"",disabled:!e.isTippingSupported||e.errorAmount,text:e.$t("common.confirm"),onClick:e.sendTip},null,8,["disabled","text","onClick"])])])]})),_:1})]})),_:1})}var oh=n(5335),ih=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const sh=(0,K.pM)({name:"Retip",components:{InputAmount:el.A,UrlStatus:oh.A,BtnMain:Mo.A,BalanceInfo:Sa.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9,DetailsItem:Ts.A},setup:function(){var e=this,t=(0,za.lq)(),n=(0,An.s9)(),a=n.t,r=(0,De.YS)(),u=(0,ce.mv)(),c=u.setLoaderVisible,l=(0,bt.KR)({amount:""}),d=(0,I.ti)(),p=d.getCacheTip,v=(0,ce.CP)(),f=v.isTippingSupported,m=(0,ce.U8)(),h=m.openDefaultModal,A=(0,ce.ZN)(),k=A.marketData,y=(0,ce.oV)(),b=y.getLastActiveProtocolAccount,w=(0,ce.si)(),C=w.openCallbackOrGoHome,x=(0,ce.ty)(),S=x.balance,E=(0,ce.Ym)({formModel:l}),_=E.max,W=E.fee,F=(0,ce.kz)(),D=F.getTippingContracts,B=(0,ce.rb)(),P=B.addAccountPendingTransaction,M=(0,I.NC)(),O=M.getTippingUrlStatus,R=(0,ce.Y7)(),N=R.createOrChangeAllowance,U=t.query.id,X=(0,bt.KR)({url:"default",id:""}),V=(0,K.EW)((function(){return O(X.value.url)})),H=(0,K.EW)((function(){return S.value.toNumber()}));function $(){var e,t,n;return ih(this,void 0,void 0,(0,s.A)().mark((function r(){var i,u,d,p,v,f,m,A,k;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:return i=(null===(e=l.value.selectedAsset)||void 0===e?void 0:e.contractId)!==T.cK?l.value.selectedAsset.decimals:T.kS,u=(0,L.Y9)(+(l.value.amount||0),i).toNumber(),d=b(o.yv.aeternity),c(!0),r.prev=4,r.next=7,D();case 7:if(p=r.sent,v=p.tippingV1,f=p.tippingV2,m=(null===U||void 0===U?void 0:U.includes("_v2"))||(null===U||void 0===U?void 0:U.includes("_v3"))?f:v,m){r.next=13;break}throw Error("failed to initialize tipping contract");case 13:if(A=null,!f||!(null===(t=l.value.selectedAsset)||void 0===t?void 0:t.contractId)||l.value.selectedAsset.contractId===T.cK){r.next=22;break}return r.next=17,N(l.value.selectedAsset.contractId,l.value.amount||0);case 17:return r.next=19,f.retip_token(+X.value.id.split("_")[0],l.value.selectedAsset.contractId,u,{waitMined:!1});case 19:A=r.sent,r.next=25;break;case 22:return r.next=24,m.retip(+X.value.id.split("_")[0],Object.assign(Object.assign({},{amount:u}),{waitMined:!1}));case 24:A=r.sent;case 25:k={hash:A.hash,tipUrl:X.value.url,pending:!0,protocol:o.yv.aeternity,transactionOwner:d.address,tx:{amount:u,callerId:d.address,contractId:m.$options.address,type:g.vw[g.vw.ContractCallTx],function:"retip",selectedTokenContractId:null===(n=l.value.selectedAsset)||void 0===n?void 0:n.contractId,arguments:[],fee:0}},P(d.address,k),C(!0),r.next=35;break;case 30:throw r.prev=30,r.t0=r["catch"](4),h({title:a("modals.transaction-failed.msg"),icon:"critical"}),r.t0.payload=X.value,r.t0;case 35:return r.prev=35,c(!1),r.finish(35);case 38:case"end":return r.stop()}}),r,null,[[4,30,35,38]])})))}return(0,K.sV)((function(){return ih(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(c(!0),l.value.selectedAsset=i.C.getAdapter(o.yv.aeternity).getDefaultCoin(k.value,+S.value),U){e.next=4;break}throw new Error('"id" param is missing');case 4:return e.prev=4,e.next=7,p(U);case 7:X.value=e.sent,e.next=14;break;case 10:throw e.prev=10,e.t0=e["catch"](4),e.t0.payload=U,e.t0;case 14:c(!1);case 15:case"end":return e.stop()}}),e,null,[[4,10]])})))})),{PROTOCOLS:o.yv,tip:X,formModel:l,urlStatus:V,isTippingSupported:f,numericBalance:H,sendTip:$,max:_,fee:W,balance:S,openCallbackOrGoHome:C,errorAmount:r}}}),uh=(0,Ft.A)(sh,[["render",rh],["__scopeId","data-v-69aca2f2"]]),ch=uh;var lh={class:"seed-phrase-settings"};function dh(e,t,n,a,r,o){var i=(0,K.g2)("i18n-t"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("IonContent"),c=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(c,null,{default:(0,K.k6)((function(){return[(0,K.bF)(u,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",lh,[(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall",tag:"p",class:"text-description",scope:"global"}),(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall-2",tag:"p",class:"text-description",scope:"global"}),(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall-3",tag:"p",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.seed-phrase-settings.seedRecoverySmallBackItUp")),1)]})),_:1}),(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.seedRecoverySmall-4",tag:"p",class:"text-description",scope:"global"}),(0,K.bF)(s,{class:"button",extend:"",to:{name:"settings-seed-phrase-details"}},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.seed-phrase-settings.seedRecoveryBtn")),1)]})),_:1})])]})),_:1})]})),_:1})}const ph={components:{BtnMain:Mo.A,IonPage:Fe.AO,IonContent:Fe.W9}},vh=(0,Ft.A)(ph,[["render",dh],["__scopeId","data-v-2062bb15"]]),fh=vh;var mh={class:"seed-phrase-details"},gh={class:"text-heading-1"},hh={class:"mnemonics-text"},Ah={class:"buttons"};function kh(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain"),s=(0,K.g2)("CardMnemonic"),u=(0,K.g2)("i18n-t"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",mh,[(0,K.Lk)("div",gh,(0,tt.v_)(e.$t("pages.seed-phrase-settings.this-your-seed-phrase")),1),(0,K.bF)(s,{class:"mnemonics"},{default:(0,K.k6)((function(){return[(0,K.Lk)("p",hh,(0,tt.v_)(e.mnemonic),1),(0,K.bF)(i,{variant:"dark",class:"copy-btn","big-icon":"",icon:e.copied?e.CheckSuccessCircle:e.CopyOutlined,onClick:t[0]||(t[0]=function(t){return e.copy(e.mnemonic)})},{default:(0,K.k6)((function(){return[e.copied?((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.eW)((0,tt.v_)(e.$t("common.addressCopied")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.eW)((0,tt.v_)(e.$t("pages.seed-phrase-settings.copy")),1)],64))]})),_:1},8,["icon"])]})),_:1}),(0,K.bF)(u,{keypath:"pages.seedPhrase.backUpYourSeedPhrase",tag:"p",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.seedPhrase.inCorrectOrder")),1)]})),_:1}),(0,K.bF)(u,{keypath:"pages.seedPhrase.toBeSureYouGotItRight",tag:"p",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.seedPhrase.verifyYourSeedPhrase")),1)]})),_:1}),(0,K.Lk)("div",Ah,[(0,K.bF)(i,{class:"button",extend:"",text:e.$t("pages.seedPhrase.verifySeed"),to:{name:"settings-seed-phrase-verify"}},null,8,["text"]),(0,K.bF)(i,{variant:"muted",extend:"",text:e.$t("pages.seedPhrase.doneThis"),onClick:t[1]||(t[1]=function(t){return e.markSeedPhraseAsBackedUp()})},null,8,["text"])])])]})),_:1})]})),_:1})}var yh={class:"card-mnemonic"};function bh(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",yh,[(0,K.RG)(e.$slots,"default",{},void 0,!0)])}const wh=(0,K.pM)({name:"CardMnemonic"}),Ch=(0,Ft.A)(wh,[["render",bh],["__scopeId","data-v-e74c1a8c"]]),xh=Ch;var Lh=n(74462),Sh={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Th=(0,K.Lk)("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"currentColor","stroke-width":"1.5"},null,-1),Eh=(0,K.Lk)("path",{d:"M16.769 7.81801C16.95 7.62414 17.2006 7.51011 17.4657 7.50102C17.597 7.49651 17.7278 7.5179 17.8508 7.56397C17.9738 7.61004 18.0865 7.67988 18.1825 7.76951C18.2785 7.85914 18.3559 7.9668 18.4103 8.08634C18.4647 8.20588 18.495 8.33496 18.4995 8.46622C18.504 8.59747 18.4826 8.72833 18.4365 8.85132C18.3905 8.9743 18.3206 9.08701 18.231 9.18301L11.231 16.683C11.055 16.8716 10.813 16.9849 10.5555 16.9993C10.2979 17.0136 10.0448 16.9279 9.84901 16.76L6.34901 13.76C6.2454 13.6759 6.15968 13.5718 6.09692 13.454C6.03416 13.3362 5.99562 13.207 5.98357 13.0741C5.97153 12.9411 5.98622 12.8071 6.02678 12.6799C6.06734 12.5528 6.13295 12.435 6.21974 12.3336C6.30653 12.2322 6.41275 12.1492 6.53213 12.0895C6.65152 12.0297 6.78165 11.9945 6.91485 11.9859C7.04805 11.9773 7.18164 11.9954 7.30773 12.0392C7.43382 12.083 7.54986 12.1516 7.64901 12.241L10.423 14.617L16.769 7.81801Z",fill:"currentColor"},null,-1),Ih=[Th,Eh];function _h(e,t){return(0,K.uX)(),(0,K.CE)("svg",Sh,Ih)}const Wh={},Fh=(0,Ft.A)(Wh,[["render",_h]]),Dh=Fh,Bh=(0,K.pM)({name:"SeedPhraseDetailsSettings",components:{BtnMain:Mo.A,IonPage:Fe.AO,IonContent:Fe.W9,CardMnemonic:xh},setup:function(){var e=(0,za.rd)(),t=(0,ce.mv)(),n=t.setBackedUpSeed,a=(0,ce.T9)(),r=a.copy,o=a.copied,i=(0,ce.oV)(),s=i.mnemonic,u=(0,ce.E$)({requirePolling:!1}),c=u.removeIsSeedBackedUpNotification;function l(){n(!0),c(),e.push({name:Ye.qJ})}return{CopyOutlined:Lh.A,CheckSuccessCircle:Dh,copy:r,copied:o,mnemonic:s,markSeedPhraseAsBackedUp:l}}}),Ph=(0,Ft.A)(Bh,[["render",kh],["__scopeId","data-v-2f6603ef"]]),Mh=Ph;var Oh={class:"seed-phrase-verify-settings"},Rh={class:"seed-phrase-verify-settings-body"},Nh=["textContent"],Uh=["textContent"],Xh={class:"source-phrases"},Vh={class:"selected-phrases"};function Hh(e,t,n,a,r,o){var i=(0,K.g2)("i18n-t"),s=(0,K.g2)("SeedPhraseBadge"),u=(0,K.g2)("SeedPhraseNotification"),c=(0,K.g2)("CardMnemonic"),l=(0,K.g2)("BtnMain"),d=(0,K.g2)("FixedScreenFooter"),p=(0,K.g2)("IonContent"),v=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(v,null,{default:(0,K.k6)((function(){return[(0,K.bF)(p,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Oh,[(0,K.Lk)("div",Rh,[(0,K.Lk)("div",{class:"text-heading-1",textContent:(0,tt.v_)(e.$t("pages.seed-phrase-settings.verifyYourSeedPhrase"))},null,8,Nh),(0,K.Lk)("div",{class:"text-description",textContent:(0,tt.v_)(e.$t("pages.seed-phrase-settings.confirm-that-you-save-your-seed-phrase"))},null,8,Uh),(0,K.bF)(i,{keypath:"pages.seed-phrase-settings.compose-your-seed-phrase",tag:"div",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",null,(0,tt.v_)(e.$t("pages.seed-phrase-settings.in-correct-order")),1)]})),_:1}),(0,K.Lk)("div",Xh,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.mnemonicShuffled,(function(t,n){return(0,K.uX)(),(0,K.Wv)(s,{key:n,text:t,selected:e.selectedWordIds.includes(n),onClick:function(t){return e.onSelectWord(n)}},null,8,["text","selected","onClick"])})),128))]),(0,K.Lk)("div",Vh,[e.showNotification?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"selected-phrases-notification","has-error":e.hasError},null,8,["has-error"])):(0,K.Q3)("",!0),(0,K.bF)(c,{class:"selected-phrases-list"},{default:(0,K.k6)((function(){return[e.selectedWordIds.length?((0,K.uX)(!0),(0,K.CE)(K.FK,{key:1},(0,K.pI)(e.selectedWordIds,(function(t,n){return(0,K.uX)(),(0,K.Wv)(s,{key:t,text:e.mnemonicShuffled[t],editable:"",onClick:function(t){return e.selectedWordIds.splice(n,1)}},null,8,["text","onClick"])})),128)):((0,K.uX)(!0),(0,K.CE)(K.FK,{key:0},(0,K.pI)(e.examplePhrase,(function(e,t){return(0,K.uX)(),(0,K.Wv)(s,{key:t,text:e,selected:"",editable:""},null,8,["text"])})),128))]})),_:1})])]),(0,K.bF)(d,null,{default:(0,K.k6)((function(){return[e.hasError||!e.showNotification?((0,K.uX)(),(0,K.Wv)(l,{key:0,class:"verify-button",disabled:e.isVerifyButtonDisabled,text:e.$t("pages.seedPhrase.verify"),onClick:e.verifyLastStep},null,8,["disabled","text","onClick"])):((0,K.uX)(),(0,K.Wv)(l,{key:1,text:e.$t("common.backToHome"),to:{name:e.ROUTE_ACCOUNT}},null,8,["text","to"]))]})),_:1})])]})),_:1})]})),_:1})}n(48598);var $h=n(984),jh={class:"icon-wrapper"},Kh=["textContent"];function qh(e,t,n,a,r,o){var i=(0,K.g2)("AlertIcon"),s=(0,K.g2)("CheckCircleIcon");return(0,K.uX)(),(0,K.CE)("div",{class:(0,tt.C4)(["seed-phrase-notification",{error:e.hasError}])},[(0,K.Lk)("div",jh,[e.hasError?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"icon"})):((0,K.uX)(),(0,K.Wv)(s,{key:1,class:"icon"}))]),(0,K.Lk)("div",{class:"text",textContent:(0,tt.v_)(e.notificationMessage)},null,8,Kh)],2)}var Gh={viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Qh=(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z"},null,-1),Zh=(0,K.Lk)("path",{fill:"currentColor",d:"M33.538 15.6361C33.9 15.2484 34.4013 15.0203 34.9314 15.0022C35.1939 14.9931 35.4557 15.0359 35.7016 15.1281C35.9476 15.2202 36.173 15.3599 36.365 15.5391C36.557 15.7184 36.7118 15.9337 36.8206 16.1728C36.9294 16.4119 36.99 16.67 36.999 16.9326C37.008 17.1951 36.9652 17.4568 36.8731 17.7028C36.781 17.9487 36.6413 18.1742 36.462 18.3661L22.462 33.3661C22.1101 33.7433 21.626 33.9699 21.111 33.9986C20.5959 34.0273 20.0897 33.8559 19.698 33.5201L12.698 27.5201C12.4908 27.3518 12.3194 27.1437 12.1938 26.9081C12.0683 26.6725 11.9912 26.4141 11.9671 26.1482C11.9431 25.8824 11.9724 25.6144 12.0536 25.36C12.1347 25.1057 12.2659 24.8701 12.4395 24.6673C12.6131 24.4645 12.8255 24.2985 13.0643 24.179C13.303 24.0596 13.5633 23.9892 13.8297 23.9719C14.0961 23.9547 14.3633 23.9909 14.6155 24.0785C14.8676 24.1662 15.0997 24.3034 15.298 24.4821L20.846 29.2341L33.538 15.6361Z"},null,-1),Yh=[Qh,Zh];function zh(e,t){return(0,K.uX)(),(0,K.CE)("svg",Gh,Yh)}const Jh={},eA=(0,Ft.A)(Jh,[["render",zh]]),tA=eA;var nA={viewBox:"0 0 48 49",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},aA=(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M24.8942 7.95537C24.7073 7.6575 24.4435 7.41259 24.1293 7.24504C23.8151 7.07749 23.4613 6.99316 23.1033 7.00043C22.7452 7.00771 22.3954 7.10635 22.0886 7.28652C21.7818 7.46669 21.5288 7.72211 21.3548 8.02731L4.25832 38.0305C4.08475 38.3348 3.99575 38.6781 4.00016 39.0263C4.00456 39.3745 4.1022 39.7155 4.28342 40.0156C4.46463 40.3157 4.72312 40.5644 5.03326 40.7371C5.34341 40.9097 5.69444 41.0004 6.05158 41H41.9517C42.3156 40.9998 42.6729 40.9051 42.9868 40.7257C43.3008 40.5463 43.5601 40.2886 43.7381 39.9791C43.9161 39.6697 44.0064 39.3195 43.9996 38.9648C43.9929 38.61 43.8895 38.2634 43.6999 37.9605L24.8942 7.95537Z"},null,-1),rA=(0,K.Lk)("path",{fill:"currentColor",d:"M25.3999 19C25.3999 17.8954 24.5045 17 23.3999 17C22.2953 17 21.3999 17.8954 21.3999 19V29C21.3999 30.1046 22.2953 31 23.3999 31C24.5045 31 25.3999 30.1046 25.3999 29V19Z"},null,-1),oA=(0,K.Lk)("path",{fill:"currentColor",d:"M25.3999 35C25.3999 33.8954 24.5045 33 23.3999 33C22.2953 33 21.3999 33.8954 21.3999 35C21.3999 36.1046 22.2953 37 23.3999 37C24.5045 37 25.3999 36.1046 25.3999 35Z"},null,-1),iA=[aA,rA,oA];function sA(e,t){return(0,K.uX)(),(0,K.CE)("svg",nA,iA)}const uA={},cA=(0,Ft.A)(uA,[["render",sA]]),lA=cA,dA=(0,K.pM)({components:{CheckCircleIcon:tA,AlertIcon:lA},props:{hasError:Boolean},setup:function(e){var t=(0,An.s9)(),n=t.t,a=(0,K.EW)((function(){return e.hasError?n("pages.seed-phrase-settings.seed-phrase-incorrect"):n("pages.seed-phrase-settings.seed-phrase-correct")}));return{notificationMessage:a}}}),pA=(0,Ft.A)(dA,[["render",qh],["__scopeId","data-v-53556f6a"]]),vA=pA;function fA(e,t,n,a,r,o){var i=(0,K.g2)("CloseIcon"),s=(0,K.g2)("BtnPlain");return(0,K.uX)(),(0,K.Wv)(s,(0,K.v6)({class:["seed-phrase-badge",{selected:e.selected,editable:e.editable}]},e.$attrs,{onClick:t[0]||(t[0]=function(t){return e.$emit("click",t)})}),{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,(0,tt.v_)(e.text),1),e.editable?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"close-icon"})):(0,K.Q3)("",!0)]})),_:1},16,["class"])}var mA=n(5684);const gA=(0,K.pM)({components:{BtnPlain:Mr.A,CloseIcon:mA.A},props:{selected:Boolean,editable:Boolean,text:{type:String,required:!0}},emits:["click"]}),hA=(0,Ft.A)(gA,[["render",fA],["__scopeId","data-v-6c333003"]]),AA=hA,kA=(0,K.pM)({components:{SeedPhraseBadge:AA,SeedPhraseNotification:vA,FixedScreenFooter:vs.A,BtnMain:Mo.A,CardMnemonic:xh,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,An.s9)(),t=e.t,n=(0,ce.mv)(),a=n.setBackedUpSeed,r=(0,ce.oV)(),o=r.mnemonic,i=(0,ce.E$)({requirePolling:!1}),s=i.removeIsSeedBackedUpNotification,u=(0,bt.KR)([]),c=(0,bt.KR)(!1),l=(0,bt.KR)(!1),d=(0,bt.KR)([t("pages.seedPhrase.first"),t("pages.seedPhrase.second"),"..."]),p=(0,K.EW)((function(){return(0,$h.A)(o.value.split(" "))})),v=(0,K.EW)((function(){return!u.value.length||u.value.length!==p.value.length||l.value&&c.value}));function f(){var e=u.value.map((function(e){return p.value[e]})).join(" ");c.value=!0,l.value=o.value!==e,l.value?setTimeout((function(){c.value=!1}),3e3):(a(!0),s())}function m(e){u.value.includes(e)||u.value.push(e)}return(0,Fe.Y0)((function(){u.value=[],c.value=!1,l.value=!1})),{ROUTE_ACCOUNT:Ye.qJ,selectedWordIds:u,showNotification:c,hasError:l,examplePhrase:d,mnemonic:o,mnemonicShuffled:p,isVerifyButtonDisabled:v,verifyLastStep:f,onSelectWord:m}}}),yA=(0,Ft.A)(kA,[["render",Hh],["__scopeId","data-v-25d35038"]]),bA=yA;var wA={class:"settings"};function CA(e,t,n,a,r,o){var i=(0,K.g2)("PanelItem"),s=(0,K.g2)("IonContent"),u=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(u,null,{default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",wA,[(0,K.bF)(i,{to:{name:"settings-seed-phrase"},title:e.$t("pages.index.seedPhrase")},null,8,["title"]),(0,K.bF)(i,{to:{name:e.ROUTE_NETWORK_SETTINGS},title:e.$t("pages.titles.networks"),info:e.activeNetwork.name,"data-cy":"networks-settings"},null,8,["to","title","info"]),(0,K.bF)(i,{to:{name:e.ROUTE_PERMISSIONS_SETTINGS},title:e.$t("pages.titles.permissionsSettings")},null,8,["to","title"]),(0,K.bF)(i,{to:{name:"notification-settings"},title:e.$t("pages.titles.notifications")},null,8,["title"]),(0,K.bF)(i,{to:{name:"settings-language"},title:e.$t("pages.titles.language")},null,8,["title"]),(0,K.bF)(i,{to:{name:"settings-currency"},title:e.$t("pages.titles.currency"),info:e.activeCurrency},null,8,["title","info"]),(0,K.bF)(i,{to:{name:"settings-errors-log"},title:e.$t("pages.titles.saveErrorsLog"),info:e.saveErrorLog?"On":"Off"},null,8,["title","info"]),(0,K.bF)(i,{to:{name:"settings-reset-wallet"},title:e.$t("pages.titles.resetWallet")},null,8,["title"])])]})),_:1})]})),_:1})}const xA=(0,K.pM)({name:"Settings",components:{PanelItem:Ut,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.ZN)(),t=e.currentCurrencyInfo,n=(0,ce.fI)(),a=n.activeNetwork,r=(0,ce.mv)(),o=r.saveErrorLog,i=(0,K.EW)((function(){return"".concat(t.value.code.toUpperCase()," (").concat(t.value.symbol.toUpperCase(),")")}));return{ROUTE_NETWORK_SETTINGS:Ye.nj,ROUTE_PERMISSIONS_SETTINGS:Ye.z0,activeNetwork:a,saveErrorLog:o,activeCurrency:i}}}),LA=(0,Ft.A)(xA,[["render",CA],["__scopeId","data-v-e9e78210"]]),SA=LA;function TA(e,t,n,a,r,o){var i=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(i)}var EA=n(48287)["Buffer"],IA=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const _A=(0,K.pM)({name:"SignMessage",components:{IonPage:Fe.AO},setup:function(){var e=this,t=(0,za.lq)();(0,K.sV)((function(){return IA(e,void 0,void 0,(0,s.A)().mark((function e(){var n,a,r,i,u,c,l,d,p,v,f,m,g,h,A,k,y,b,w,C,x;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=(0,ce.si)(),i=r.callbackOrigin,u=r.openCallbackOrGoHome,c=(0,ce.CP)(),l=c.getAeSdk,d=(0,ce.U8)(),p=d.openModal,v=(0,ce.mv)(),f=v.setLoaderVisible,e.prev=4,f(!0),e.next=8,l();case 8:return m=e.sent,g=null===(n=t.query.message)||void 0===n?void 0:n.toString(),h=!!g&&"hex"===(null===(a=t.query.encoding)||void 0===a?void 0:a.toString()),A=h?EA.from(g,"hex"):g,k=null===A||void 0===A?void 0:A.toString(),y=i.value||{},b=y.host,w=y.href,e.next=16,p(o.gK,{message:k,app:{host:b,name:b,url:w}});case 16:return e.next=18,m.signMessage(A);case 18:C=e.sent,x=EA.from(C).toString("hex"),u(!0,{signature:x}),e.next=27;break;case 23:e.prev=23,e.t0=e["catch"](4),u(!1),e.t0 instanceof Ka.v&&(0,L.fY)(e.t0);case 27:return e.prev=27,f(!1),e.finish(27);case 30:case"end":return e.stop()}}),e,null,[[4,23,27,30]])})))}))}}),WA=(0,Ft.A)(_A,[["render",TA]]),FA=WA;function DA(e,t,n,a,r,o){var i=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(i)}var BA=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const PA=(0,K.pM)({name:"SignTransaction",components:{IonPage:Fe.AO},setup:function(){var e=this,t=(0,za.lq)(),n=(0,An.s9)(),a=n.t;(0,K.sV)((function(){return BA(e,void 0,void 0,(0,s.A)().mark((function e(){var n,r,i,u,c,l,d,p,v,f,m,g,h,A,k,y,b,w,C;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=(0,ce.si)(),i=r.callbackOrigin,u=r.openCallbackOrGoHome,c=(0,ce.CP)(),l=c.nodeNetworkId,d=c.getAeSdk,p=(0,ce.U8)(),v=p.openDefaultModal,f=(0,ce.mv)(),m=f.setLoaderVisible,e.prev=4,m(!0),e.next=8,d();case 8:if(g=e.sent,h=t.query,A=h.transaction,k=h.networkId,y=h.broadcast,k===l.value){e.next=15;break}return e.next=13,v({icon:"warning",title:a("modals.wrongNetwork.title"),msg:a("modals.wrongNetwork.msg",[k]),buttonMessage:a("modals.wrongNetwork.button")});case 13:return u(!1),e.abrupt("return");case 15:return e.next=17,g.signTransaction(decodeURIComponent(A),{networkId:k,aeppOrigin:null===(n=i.value)||void 0===n?void 0:n.toString()});case 17:if(b=e.sent,!y){e.next=28;break}return e.next=21,g.api.postTransaction({tx:b});case 21:return w=e.sent,C=w.txHash,e.next=25,g.poll(C,{blocks:o.u8});case 25:u(!0,{"transaction-hash":C}),e.next=29;break;case 28:u(!0,{transaction:b});case 29:e.next=37;break;case 31:return e.prev=31,e.t0=e["catch"](4),e.next=35,v({title:a("modals.transaction-failed.msg"),icon:"critical",msg:e.t0.message});case 35:u(!1),e.t0 instanceof Ka.v&&(0,L.fY)(e.t0);case 37:return e.prev=37,m(!1),e.finish(37);case 40:case"end":return e.stop()}}),e,null,[[4,31,37,40]])})))}))}}),MA=(0,Ft.A)(PA,[["render",DA]]),OA=MA;var RA=function(e){return(0,K.Qi)("data-v-6eec62a2"),e=e(),(0,K.jt)(),e},NA={class:"terms-of-service"},UA=RA((function(){return(0,K.Lk)("p",{class:"italic"},[(0,K.eW)(" The present "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(" are effective since 9th April 2020. ")],-1)})),XA=RA((function(){return(0,K.Lk)("p",{class:"italic"},[(0,K.Lk)("b",null,"Superhero.com LVC"),(0,K.eW)(" reserves its right to modify and update these "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(" according to the policy and practice of the "),(0,K.Lk)("b",null,"company"),(0,K.eW)(". The new version of the "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(" becomes effective from the day it is announced on "),(0,K.Lk)("b",null,"Our Superhero Wallet"),(0,K.eW)(" unless stated otherwise. ")],-1)})),VA=RA((function(){return(0,K.Lk)("hr",null,null,-1)})),HA=RA((function(){return(0,K.Lk)("p",{class:"bolder"}," THE SOFTWARE IS PROVIDED BY SUPERHERO.COM LVC “AS IS” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",-1)})),$A=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" These "),(0,K.Lk)("b",null,"TERMS OF USE („TERMS“)"),(0,K.eW)(" apply exclusively for the "),(0,K.Lk)("b",null,"Superhero Wallet"),(0,K.eW)(" (hereinafter referred to as the “"),(0,K.Lk)("b",null,"Wallet"),(0,K.eW)("” or the “"),(0,K.Lk)("b",null,"application"),(0,K.eW)("”) and all the content available on the website extension. Please make sure that you have carefully read the "),(0,K.Lk)("b",null,"TERMS"),(0,K.eW)(" before using the "),(0,K.Lk)("b",null,"application"),(0,K.eW)(". Otherwise, by using it, we consider these actions implicit agreement to the "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(". These "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(" represent a binding agreement between you, the legal entity you represent and the legal entity that registered you (collectively „"),(0,K.Lk)("b",null,"YOU"),(0,K.eW)("“) and "),(0,K.Lk)("b",null,"Superhero.com LVC (“Superhero”, “we”, “us”"),(0,K.eW)(" or "),(0,K.Lk)("b",null,"“our”)"),(0,K.eW)(" in connection to your use of the "),(0,K.Lk)("b",null,"Superhero Wallet application."),(0,K.eW)(". ")],-1)})),jA=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please, do not use the application provided by "),(0,K.Lk)("b",null,"Superhero"),(0,K.eW)(", if you do not agree to the "),(0,K.Lk)("b",null,"TERMS"),(0,K.eW)(" applied within this document. ")],-1)})),KA=RA((function(){return(0,K.Lk)("b",null,"WE",-1)})),qA=RA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),GA=RA((function(){return(0,K.Lk)("b",null,"USERS",-1)})),QA=RA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),ZA=RA((function(){return(0,K.Lk)("b",null,"application",-1)})),YA=RA((function(){return(0,K.Lk)("b",null,"YOU",-1)})),zA=RA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),JA=RA((function(){return(0,K.Lk)("b",null,"Wallet",-1)})),ek=RA((function(){return(0,K.Lk)("b",null,"YOU",-1)})),tk=RA((function(){return(0,K.Lk)("b",null,"Wallet",-1)})),nk=RA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),ak=RA((function(){return(0,K.Lk)("b",null,"YOU",-1)})),rk=RA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),ok=RA((function(){return(0,K.Lk)("b",null,"Wallet",-1)})),ik=RA((function(){return(0,K.Lk)("b",null,"Superhero",-1)})),sk=RA((function(){return(0,K.Lk)("b",null,"YOU",-1)})),uk=RA((function(){return(0,K.Lk)("b",null,"TERMS",-1)})),ck=RA((function(){return(0,K.Lk)("p",{class:"italic underline"},[(0,K.eW)(" Once you agree to the "),(0,K.Lk)("b",null,"TERMS OF USE"),(0,K.eW)(", we consider this an explicit consent to the following: ")],-1)})),lk=RA((function(){return(0,K.Lk)("strong",null,"Superhero.com Establishment (“Superhero”, “we”, “us”, “our”",-1)})),dk=RA((function(){return(0,K.Lk)("strong",null,"“the company” ",-1)})),pk=RA((function(){return(0,K.Lk)("strong",null,"Superhero Wallet",-1)})),vk=RA((function(){return(0,K.Lk)("strong",null,"Superhero",-1)})),fk=RA((function(){return(0,K.Lk)("strong",null,"Superhero Wallet",-1)})),mk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.2. “"),(0,K.Lk)("strong",null,"USER"),(0,K.eW)("“ or “"),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)("“ means a natural or legal person, who has downloaded and uses the "),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)(),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")],-1)})),gk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.3. “"),(0,K.Lk)("strong",null,"Blockchain"),(0,K.eW)("“ means the list of records, also known as "),(0,K.Lk)("em",null,"blocks"),(0,K.eW)(", which are linked with the method of cryptography. The technology allows large groups of people to connect and reach agreement on data, which is afterwards permanently recorded without the presence of central authority. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can access, create and save information on the "),(0,K.Lk)("strong",null,"Aeternity blockchain"),(0,K.eW)(". The decentralized, distributed and public digital ledger is used for the purpose of recording transactions in blocks of information with the help of "),(0,K.Lk)("strong",null,"Validators"),(0,K.eW)(", which cannot be altered retroactively. ")],-1)})),hk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.4. “"),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)("” (“"),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)("” or “"),(0,K.Lk)("strong",null,"application"),(0,K.eW)("”) is a software program designed for end users, which allows supporters to send value to content creators, causes, charities, groups or regular individuals online as a reward for contributing accurate information, relevant insights, quality content. The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is a piece of software which is available for downloading/access and use as it follows: ")],-1)})),Ak=RA((function(){return(0,K.Lk)("strong",null,"application",-1)})),kk=RA((function(){return(0,K.Lk)("strong",null,"application",-1)})),yk=RA((function(){return(0,K.Lk)("strong",null,"application",-1)})),bk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.5"),(0,K.Lk)("strong",null,". “Æid“, “Æternity token”"),(0,K.eW)(" or “"),(0,K.Lk)("strong",null,"Æ token"),(0,K.eW)("” are the "),(0,K.Lk)("strong",null,"Æternity "),(0,K.eW)("digital assets, which can be tracked or transferred on the "),(0,K.Lk)("strong",null,"Æternity blockchain. ")],-1)})),wk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.6. “"),(0,K.Lk)("strong",null,"Validators"),(0,K.eW)("” are independent physical persons or entities, which are not in any way part of "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". Their function in the system includes responsibility for "),(0,K.Lk)("em",null,"blocks"),(0,K.eW)(" constitution and broadcast of these "),(0,K.Lk)("em",null,"blocks"),(0,K.eW)(" with the "),(0,K.Lk)("strong",null,"Aeternity"),(0,K.eW)(),(0,K.Lk)("strong",null,"blockchain"),(0,K.eW)(". ")],-1)})),Ck=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.7. “"),(0,K.Lk)("strong",null,"Account address"),(0,K.eW)("” or “"),(0,K.Lk)("strong",null,"Wallet address"),(0,K.eW)("” is a hashed version of the "),(0,K.Lk)("strong",null,"USER’s public key"),(0,K.eW)(", used to identify "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")],-1)})),xk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.8. “"),(0,K.Lk)("strong",null,"Keys"),(0,K.eW)("” represent uniquely related private and public cryptographic keys of random numbers used for encryption and decryption of information. ")],-1)})),Lk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.9. “"),(0,K.Lk)("strong",null,"Æternity Naming System"),(0,K.eW)("” allows "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" to claim names and associate them with one or more "),(0,K.Lk)("strong",null,"Æternity"),(0,K.eW)(" accounts. ")],-1)})),Sk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" 1.10. “"),(0,K.Lk)("strong",null,"Name of account"),(0,K.eW)("” is a domain-like identification string, which allows "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" control over its creation, development and alienation. ")],-1)})),Tk=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.1. The application ")],-1)})),Ek=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" designed and built the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" as a cryptocurrency wallet which is connected with the "),(0,K.Lk)("strong",null,"Æternity"),(0,K.Lk)("strong",null,"blockchain"),(0,K.eW)(".Through it, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can store, send and collect "),(0,K.Lk)("strong",null,"Æ tokens."),(0,K.eW)("  The purpose is to conduct donations to creators, causes, charities, groups, or regular individuals online as a reward for contributing accurate information, relevant insights and quality content. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can donate to different platforms through the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")],-1)})),Ik=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" is a software solution, the interface is provided with the purpose of facilitating the interaction between the "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and the protocols of the "),(0,K.Lk)("strong",null,"Aeternity blockchain,"),(0,K.eW)(" to manage your "),(0,K.Lk)("strong",null,"account"),(0,K.eW)(" and your "),(0,K.Lk)("strong",null,"Æ tokens. "),(0,K.eW)("The Protocols represent a system that is implemented with the purpose of reaching consensus between "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and validating transactions on the "),(0,K.Lk)("strong",null,"Aeternity blockchain. Superhero"),(0,K.eW)(" does not in any way control the blockchain due to the fact it is decentralized and all transactions are executed between "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" in a peer-to-peer manner in which "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not involved. ")],-1)})),_k=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can use a variety of options to download and access the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(". They can download the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" as a browser extension, access it on an Internet address or download a mobile application. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" should be aware that they can use all the options mentioned with the same "),(0,K.Lk)("strong",null,"account"),(0,K.eW)(" only when they have created a seed phrase and they use it to link their "),(0,K.Lk)("strong",null,"accounts"),(0,K.eW)(" on the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(". ")],-1)})),Wk=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.2. Sending tips")],-1)})),Fk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" when downloaded and used as an extension only, automatically finds the URL of a website for the purpose of the donation. Once "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are on the URL address that"),(0,K.Lk)("strong",null," YOU "),(0,K.eW)("want to tip, you have to: ")],-1)})),Dk=RA((function(){return(0,K.Lk)("ul",null,[(0,K.Lk)("li",null," Open your Superhero wallet extension. The button should be in the upper right of your browser tool bar. "),(0,K.Lk)("li",null,[(0,K.eW)("Click “Send "),(0,K.Lk)("strong",null,"Æ"),(0,K.eW)("”.")]),(0,K.Lk)("li",null,[(0,K.eW)(" On the next screen, fill in the required fields. Enter the amount of tips "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" want to send, and add a message telling the receiver why they’re awesome. ")]),(0,K.Lk)("li",null,"Click “Send Tips”."),(0,K.Lk)("li",null,"On the next screen, review the details of your tip."),(0,K.Lk)("li",null,"Click “Confirm” to complete the transaction.")],-1)})),Bk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" When the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is accessed from the Web or as a mobile application, "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" have to choose and copy the URL address of the website "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" would like to tip and afterwards: ")],-1)})),Pk=RA((function(){return(0,K.Lk)("ul",null,[(0,K.Lk)("li",null,[(0,K.eW)("Click “Send "),(0,K.Lk)("strong",null,"Æ"),(0,K.eW)("”.")]),(0,K.Lk)("li",null,[(0,K.eW)(" On the next screen, fill in the required fields. Enter the URL address, amount of tips "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" want to send, and add a message telling the receiver why they’re awesome. ")]),(0,K.Lk)("li",null,"Click “Send Tips”."),(0,K.Lk)("li",null,"On the next screen, review the details of your tip."),(0,K.Lk)("li",null,"Click “Confirm” to complete the transaction.")],-1)})),Mk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please bear in mind that the transactions are irreversible when completed – meaning that "),(0,K.Lk)("strong",null,"YOU "),(0,K.eW)("cannot change the URL address you sent the tip to, the amount or comment sent. ")],-1)})),Ok=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The donations can be oriented in two flows as it follows - "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can tip the owner of the whole website/platform or the specific creator/author on the platform who has written/prepared the news/article/section/material. ")],-1)})),Rk=RA((function(){return(0,K.Lk)("strong",null,"USERS’",-1)})),Nk=RA((function(){return(0,K.Lk)("strong",null,"USERS",-1)})),Uk=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.3. Collecting tips")],-1)})),Xk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" If "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" want to receive such tips yourself, copy your "),(0,K.Lk)("strong",null,"Wallet address "),(0,K.eW)("and paste it onto your web page or profile – it could be a blog, a social media account or any other online profile. Save the change and refresh the page. "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" can also add your"),(0,K.Lk)("strong",null," Wallet address"),(0,K.eW)(" in the source code of the web page. Then, "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" should open your "),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)(" to access the tips received. Please bear in mind that there may be slight delays in collecting tips, we advise that you wait for a few minutes and open the "),(0,K.Lk)("strong",null,"Wallet "),(0,K.eW)("again. Do not hesitate to contact us if "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" experience any difficulties. ")],-1)})),Vk=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.4. Loading your wallet")],-1)})),Hk=RA((function(){return(0,K.Lk)("strong",null,"Wallet ",-1)})),$k=RA((function(){return(0,K.Lk)("strong",null,"Æ tokens,",-1)})),jk=RA((function(){return(0,K.Lk)("strong",null,"YOU",-1)})),Kk=RA((function(){return(0,K.Lk)("strong",null,"application",-1)})),qk=RA((function(){return(0,K.Lk)("strong",null,"YOU",-1)})),Gk=RA((function(){return(0,K.Lk)("strong",null,"Æ tokens",-1)})),Qk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please bear in mind that the third-party platforms may collect fees. They are unilaterally determined and are not an object of control by "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". ")],-1)})),Zk=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.5. Withdrawing tips")],-1)})),Yk=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" To withdraw your tips, "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" can use one of the third-party crypto exchanges that supports "),(0,K.Lk)("strong",null,"Æ tokens. "),(0,K.eW)("Again, additional information about the platforms can be seen in our Superhero Tutorial and "),(0,K.Lk)("strong",null,"WE"),(0,K.eW)(" are at disposal for further assistance. ")],-1)})),zk=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"2.6. Transactions on the application and Æ claims")],-1)})),Jk=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Transactions on the application"),(0,K.eW)(": USERS")]),(0,K.eW)(" can browse through their transaction history. "),(0,K.Lk)("strong",null,"The Wallet"),(0,K.eW)(" displays the "),(0,K.Lk)("strong",null,"USER’s"),(0,K.eW)(" tokens. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are in charge of the safe storage, sending and receiving of funds. The application is built for small transactions. High volume transactions or storage can be undertaken via the application at the "),(0,K.Lk)("strong",null,"USER’s"),(0,K.eW)(" own risk. ")],-1)})),ey=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Æ claims:")]),(0,K.eW)(" Please bear in mind that for the present moment the "),(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Æ claims function is not possible, ")]),(0,K.eW)("however, Superhero’s intention is to constantly develop and improve the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" for all"),(0,K.Lk)("strong",null," USERS"),(0,K.eW)(" and once this function is available on the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(", the following will be applicable: ")],-1)})),ty=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The tips are sent to the "),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)(" of the URL address entered when there is such "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" created. Donations can also be made to websites/platforms/organizations/people who have not downloaded and used the "),(0,K.Lk)("strong",null,"Superhero Wallet"),(0,K.eW)(" before or during the moment of tipping. ")],-1)})),ny=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Æternity blockchain "),(0,K.eW)("manages "),(0,K.Lk)("u",null,"smart contracts"),(0,K.eW)(" – they are self-enforcing agreements which are embedded in the source code. Therefore, the "),(0,K.Lk)("u",null,"smart contracts"),(0,K.eW)(" are independent, with incorporated set of rules when and how to act without any control or interference conducted by "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" under any form. The "),(0,K.Lk)("u",null,"smart contracts"),(0,K.eW)(" are a specific feature of the decentralized public ledger. If the websites/platforms/organizations/people who are tipped, do not have a "),(0,K.Lk)("strong",null,"Superhero Wallet, "),(0,K.eW)("the sent tip is stored in the so called “"),(0,K.Lk)("u",null,"Tipping Smart Contract"),(0,K.eW)("”. The "),(0,K.Lk)("u",null,"Oracles"),(0,K.eW)(" – also a function of the decentralized blockchain – follows when the receiver of the tip will generate a "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(". If the receiver of the tip creates a "),(0,K.Lk)("strong",null,"Wallet,"),(0,K.eW)(" they can claim the "),(0,K.Lk)("strong",null,"Æ tokens "),(0,K.eW)("initially tipped and stored in the “"),(0,K.Lk)("u",null,"Tipping Smart Contract"),(0,K.eW)("”. The receiver of the tip has the right to access and claim the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" in a time frame of 1 (one) year from the moment of tipping. After the lapse of this 1 (one) year, the receiver loses their right to gain the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(". Within the second year from the moment of tipping, only the tipping "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" can claim its "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" back. After the lapse of the second year, the tipping "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" loses its right to regain back the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" he has sent. Due to the decentralized character of the blockchain, "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" cannot control the accumulation/receipt of the tips and to return them back when they are not received. Only the "),(0,K.Lk)("u",null,"smart contract "),(0,K.eW)("and the "),(0,K.Lk)("strong",null,"USERS "),(0,K.eW)("themselves can affect the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" due to the peer-to-peer method. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand that if the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" are not claimed, they can be stored in the "),(0,K.Lk)("u",null,"smart contract"),(0,K.eW)(" without limitation of time and without any purpose. This is why, after the lapse of the two years in which the receiver and the sender of the tips could claim the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" but have not"),(0,K.Lk)("strong",null,","),(0,K.eW)(" the “"),(0,K.Lk)("u",null,"Tipping Smart Contract"),(0,K.eW)("” sends the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" to an "),(0,K.Lk)("strong",null,"address"),(0,K.eW)(" of "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". Once the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" are received by "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(", receivers and senders of the tip accept and agree that they shall not have any claims over the "),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" and "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall not be held liable for their receipt provided it is caused by the receiver and the sender’s inactivity from their side during the above-mentioned periods of time. The tips will then be used by "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" for the further development of the "),(0,K.Lk)("strong",null,"blockchain"),(0,K.eW)(" ecosystem, the development of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" or any other project or activity it finds suitable and reasonable. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall make such decisions at its own estimation. ")],-1)})),ay=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The application gives two possibilities for identification of "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" as it follows: ")],-1)})),ry=RA((function(){return(0,K.Lk)("ul",null,[(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"Account address")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"Name of account ")])],-1)})),oy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Account address"),(0,K.eW)(" consists of random string of numbers and letters that starts with “ak_”. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can find their "),(0,K.Lk)("strong",null,"Wallet addresses"),(0,K.eW)(" on the dashboard, right above the balance. The "),(0,K.Lk)("strong",null,"Account address"),(0,K.eW)(" is the public ID other "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" see by default. Once a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" has downloaded the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(", the "),(0,K.Lk)("strong",null,"Wallet "),(0,K.eW)("automatically generates the account address."),(0,K.Lk)("strong",null,"  ")],-1)})),iy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" In addition, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are given the option to claim a "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" for their account(s) via the "),(0,K.Lk)("strong",null,"Æternity Naming System"),(0,K.eW)(". If a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" claims a "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(", other "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" may associate it with the corresponding account. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are free to choose the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(". The only requirement is that the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" must have a minimum amount of "),(0,K.Lk)("strong",null,"Æ tokens "),(0,K.eW)("in the "),(0,K.Lk)("strong",null,"WALLET depending on the number of letters of the domain to be claimed"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"We"),(0,K.eW)(" request from "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" not to use any offensive, racist, misleading, provocative or any other inappropriate wording. ")],-1)})),sy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The idea behind account "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(" is to serve as an alternative to the "),(0,K.Lk)("strong",null,"Account address"),(0,K.eW)(", making it much easier for other "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" to send a tip. ")],-1)})),uy=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can claim "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(" via a set of "),(0,K.Lk)("u",null,"smart contracts"),(0,K.eW)(". The name establishment to a person can be an object of an auction. ")],-1)})),cy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" In Section “Names” every "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" can freely claim a "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(". The "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" pre-claim requires the payment of a transaction fee in micro "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" and the commitment of the fee to the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" owned account. Once a person has set up a "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(", the "),(0,K.Lk)("strong",null,"Æternity Naming System"),(0,K.eW)(" launches an auction within which all "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" of the "),(0,K.Lk)("strong",null,"WALLET"),(0,K.eW)(" can bid and within which a final "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" fee is paid. Please bear in mind that "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(" with 13 (thirteen) or more characters are claimed directly without undergoing an auction and after the payment of the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" fee. The period of time during which the auction is available (for names with less than 13 characters) cannot be specified - it is based on the length of the name and the number of bids. Each bid resets the auction counter on the ongoing auction. The highest bid after the time has passed, receives the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(". Please bear in mind that the person who has suggested the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" and the person who has received the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" can be two separate people and the claim of the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" solely depends on the bids in the auctions. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not regulate or control the auctions. The claim is only available for 100 (one hundred) days. ")],-1)})),ly=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Before the lapse of 100 (one hundred) days, if the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" wants to preserve the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(", they should update the claim and pay for the same. Each update is for one more period of 100 (one hundred) days with an option for reservation for an additional period of 100 (one hundred) days. Once it reaches the expiration date on the claim, the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" is released, i.e. transition into the unclaimed state, after which it can be claimed again. During the claim, if the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" decides to extend the account related "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(", they shall only pay the transaction fee without paying additional "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" fees. The extension possibility is available within the above-mentioned period of 100 (one hundred) days and is not a prerequisite for renewal of the period.  ")],-1)})),dy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Æternity Naming System"),(0,K.eW)(" gives the possibility for "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" to exchange and transfer their "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(". The "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" who has received the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" can transfer it to an account of another "),(0,K.Lk)("strong",null,"USER "),(0,K.eW)("- third party, or another "),(0,K.Lk)("strong",null,"Æ Wallet address"),(0,K.eW)(" the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" owns. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not control in any way the assignment and alienation of "),(0,K.Lk)("strong",null,"names"),(0,K.eW)(". The decisions undertaken during the claim period of the "),(0,K.Lk)("strong",null,"name"),(0,K.eW)(" are a result of the "),(0,K.Lk)("strong",null,"USER’s"),(0,K.eW)(" sole estimation. ")],-1)})),py=RA((function(){return(0,K.Lk)("strong",null,"name",-1)})),vy=RA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" As a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(", "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" agree to the following rules applicable for the"),(0,K.Lk)("strong",null," Superhero Wallet"),(0,K.eW)(" : ")]),(0,K.Lk)("ul",null,[(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" shall comply with the rules set within the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" and perform any actions on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" in good faith and according to the applicable legislation; ")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are an adult and "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are not persons under judicial disability ("),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" have obtained full legal capacity); ")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" shall not try to obtain or gain access over any personal or identifiable information, including but not limited to seed phrases, private keys, from other "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(", nor shall "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" disclose such information about yourself; ")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" shall not in any way compromise or exploit the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" or use the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" for any illegal activity or outside the purpose for its creation; ")]),(0,K.Lk)("li",null,[(0,K.Lk)("strong",null,"Your"),(0,K.eW)(" actions do not in any manner mislead into thinking that "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are another person or company; "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" shall not purposefully provide information by using another person’s seed phrases, "),(0,K.Lk)("strong",null,"account addresses"),(0,K.eW)(", "),(0,K.Lk)("strong",null,"account"),(0,K.eW)(),(0,K.Lk)("strong",null,"names"),(0,K.eW)(" with the purpose of representing as somebody else. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall undertake any possible action against such identity thefts and frauds in case the "),(0,K.Lk)("strong",null,"company"),(0,K.eW)(" suspects a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)("; ")]),(0,K.Lk)("li",null,[(0,K.eW)(" the device "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" use does not contain or install any viruses, worms, malware, Trojan horses or other harmful or destructive content. ")])]),(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" shall be liable for any action undertaken in violation of the present article. ")])],-1)})),fy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" As mentioned above, the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" is only a software solution, which facilitates the interaction between "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and the decentralized, public ledger. Therefore, "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are solely responsible and liable for any and all of your actions and inactions on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" and all gains and losses sustained from your use of it. "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" indemnify "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(", its employees and affiliates in full for any and all negative consequences that might arise from the use of the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" due to the lack of control over the peer-to-peer activities. ")],-1)})),my=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"General Disclaimer:")]),(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" is open-source, public and permissionless ledger, meaning that anyone can download, participate, develop, improve and validate transactions on the "),(0,K.Lk)("strong",null,"blockchain"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" cannot and does not control in any way the transactions conducted by "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not ensure the trustworthiness and validity of the same. Please, bear in mind that every "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" is solely responsible for the actions undertaken on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" and the information presented by them. ")],-1)})),gy=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Password and Seed Phrase Security Disclaimer:")]),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" take responsibility for their digital security. The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" gives the possibility to set up a seed phrase, consisting of random unique combination of words. The purpose of the seed phrase is to restore the access to the "),(0,K.Lk)("strong",null,"account"),(0,K.eW)(", once the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" has lost access to the original "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" for any reason (migrating to a new device, reinstalling browser, etc.). "),(0,K.Lk)("strong",null,"Superhero"),(0,K.Lk)("strong",null,"does not collect the private keys or the seed phrases and shall not be treated under any circumstances as a custodian wallet provider. WE HIGHLY RECOMMEND ALL USERS TO SET UP A SEED PHRASE AND PROTECT IT."),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" should store their seed phrase offline safely. Please bear in mind that if a "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" has not set up a seed phrase for backup or they have forgotten the seed phrase and its exact wording, the access to their "),(0,K.Lk)("strong",null,"accounts"),(0,K.eW)(" can be permanently restricted. The lack of access does not mean in any way that the "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" are lost. The "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" remain available, however, they cannot be controlled, transferred and any other action with them cannot be undertaken. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall not be held liable in any case of lost, forgotten or misspelled seed phrases. In addition, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" must not share their seed phrase with anyone. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" should not be liable for any claim, damages or other liability, tort or otherwise, arising from, out of or in connection with the impossibility of "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" to regain access to their account on the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(". ")],-1)})),hy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please bear in mind that the option “Retrieve existing account” is applicable only in case the "),(0,K.Lk)("strong",null,"USER"),(0,K.eW)(" has a seed phrase. ")],-1)})),Ay=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Decentralization and Control "),(0,K.Lk)("u",null,"Transparency Disclaimer")]),(0,K.eW)(": "),(0,K.Lk)("strong",null,"Blockchain"),(0,K.eW)(" technology is decentralized by nature - which means that the makers of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" cannot access or freeze your "),(0,K.Lk)("strong",null,"account"),(0,K.eW)("; recover or reset your seed phrase; reverse, cancel or refund transactions. Only "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are in charge of the safe storage and sending of their funds. By agreeing to the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(", "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" accept and guarantee to defend, indemnify and hold "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" harmless from and against any and all claims, costs, expenses, including but not limited to attorneys’ fees, damages, etc., related to or arising from the use of the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")],-1)})),ky=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Access and Connectivity Disclaimer")]),(0,K.eW)(": The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" can be downloaded or used from the following places: ")],-1)})),yy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Please bear in mind that the marketplaces for downloading are third-party owned and therefore, can cease the supporting of the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" in their own estimation, making it difficult or impossible to receive any functionality from the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" or updates. ")],-1)})),by=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" Moreover, please bear in mind that the source code to the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is uploaded on GitHub. When any modifications/updates, etc. are conducted on the source code, they are automatically reflected on the browser extension option and the web browser due to the fact they are Internet connected "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" access points. However, for "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" who use the mobile options from Google Play or App Store, for them to receive updates, modifications, etc. of the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(", they should download the new version of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" from the same marketplaces. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and agree that if they do not download the newest versions from Google Play or App Store, they will not receive the latest features, improvements, etc. ")],-1)})),wy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" It is possible that devices on which the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" is installed to be harmed by malware/spyware/viruses/cyber-attacks, etc. or during technical support. Damage or loss of the device can possibly result in loss of funds or endanger them. Therefore, please refer to section "),(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Password and Seed Phrase Security Disclaimer")]),(0,K.eW)(" in regard to seed phrases. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not responsible for any of the above-mentioned access and connectivity troubleshooting. Therefore, "),(0,K.Lk)("strong",null,"WE"),(0,K.eW)(" shall not be held liable for any loss of data on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" caused in these cases. ")],-1)})),Cy=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Cryptocurrency Guidance Disclaimer:")]),(0,K.eW)(" The content presented on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is not intended to be used as guide for cryptocurrency investments or signing of other legal agreements in connection to cryptocurrencies. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not offer business advices, which can be used as a legal basis for any investments or agreements in the sphere. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall not be held liable in any case of negative consequences from transactions or non-compliance with obligations of legal agreements signed by "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(", including but not only losses, tort, revenue, income or profits loss arising out of the contracts/ transactions/investment acts/agreements. ")],-1)})),xy=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Jurisdiction and Regulatory Disclaimer:")]),(0,K.eW)(" The access to the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is granted worldwide. The use of the "),(0,K.Lk)("strong",null,"Wallet "),(0,K.eW)("may be technically restricted or prohibited in certain territories and countries depending on the different legal acts. Please, bear in mind that "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" have to inform yourself about such legal restrictions and "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are liable solely in case of a breach of any legal norms. The access to our "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is prohibited provided the access point is in a territory where the content is illegal. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not have the obligation to control the legislation applicability according to each access point of "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and shall not be held liable in these circumstances. ")],-1)})),Ly=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that the legislation on a national, regional and international levels can introduce new regulations with an object- blockchain technology, tokens, blockchain technology based applications, etc. Therefore, in case of regulatory restrictions, bans and prohibitions, the "),(0,K.Lk)("strong",null,"Æternity blockchain’s"),(0,K.eW)(" or the "),(0,K.Lk)("strong",null,"Wallet’s "),(0,K.eW)("development shall be immensely influenced, probably causing its termination. Taking into account the above-mentioned, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand that there is no assurance that they will constantly or for indefinite period of time receive any functionality through the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" or the "),(0,K.Lk)("strong",null,"Æ"),(0,K.eW)(),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" held by them. ")],-1)})),Sy=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"Risks")]),(0,K.eW)(": "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and agree with the risks related to the "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" contribution and/or with the allocation, use and ownership of "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" and guarantee to relieve of responsibility "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" in these cases. ")],-1)})),Ty=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)("The risks mentioned within the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" are not comprehensive:")],-1)})),Ey=RA((function(){return(0,K.Lk)("ul",null,[(0,K.Lk)("li",null,[(0,K.Lk)("u",null,"Risk of software weaknesses: "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the blockchain technology, incorporating all elements and the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" are in a constant development process. There is no warranty that the receipt and transfer of "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(" shall be uninterrupted or error-free at all times. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" accept and guarantee to dispense of responsibility "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" for any software or technology weaknesses, malfunctions, vulnerabilities or bugs, which can cause complete or partial loss of "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(". ")]),(0,K.Lk)("li",null,[(0,K.Lk)("u",null,"Risk of theft:"),(0,K.eW)(),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that due to the open-source, decentralized, public, permissionless cloud concept, the software, the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(", the "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" and the other blockchain technology related elements may be exposed to hacker attacks or other harmful individuals. These actions could result including but not limited to theft or loss of "),(0,K.Lk)("strong",null,"Æ tokens"),(0,K.eW)(". ")]),(0,K.Lk)("li",null,[(0,K.Lk)("u",null,"Risk of mining attacks"),(0,K.eW)(": "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that due to "),(0,K.Lk)("strong",null,"the application’s"),(0,K.eW)(" blockchain based system, it may be susceptible to mining attacks, including but not limited to double-spend attacks, majority mining power attacks, 'selfish-mining' attacks, and race condition attacks. Any of the above-mentioned attacks could for example result in disturbance of the transactions on the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". ")])],-1)})),Iy=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("u",null,[(0,K.eW)("Risk of phishing attacks and "),(0,K.Lk)("strong",null,"forks"),(0,K.eW)(":")]),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" can be an object of phishing attacks. Highly possible results are the steal of data and credentials. The phishing attacks represent masquerade of an attacker as an authentic and trusted entity and the creation of an "),(0,K.Lk)("strong",null,"application"),(0,K.eW)("/ "),(0,K.Lk)("strong",null,"website"),(0,K.eW)(" with high percentage of resemblance with the original one. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" should be careful when they download and use the original "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" can identity the authentic "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" by verifying that the developer on the marketplace is "),(0,K.Lk)("strong",null,"Superhero.com / Superhero.com LVC"),(0,K.eW)(" and can use the hyperlinks for downloading, incorporated in the present Terms. Due to the fact "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" is public and permissionless, any person has the possibility to create a “"),(0,K.Lk)("strong",null,"fork"),(0,K.eW)("”. Any developer can copy and develop the source code resulting in the formation of a distinct and separate software. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" understand and accept that "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" cannot avoid the creation of such "),(0,K.Lk)("strong",null,"forks"),(0,K.eW)(" and is not responsible for them. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" shall not be held liable for any losses and/or damages resulted from the use of "),(0,K.Lk)("strong",null,"forks"),(0,K.eW)(". ")],-1)})),_y=RA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" does not collect any fees or taxes for its use "),(0,K.Lk)("strong",null,"application "),(0,K.eW)("- it is free of charge. However, taxes and fees are payable for the transactions on the "),(0,K.Lk)("strong",null,"Æternity blockchain"),(0,K.eW)(" including but not limited to miner fees, gas tax, transaction fee. The amounts of the taxes and fees are fixed unilaterally. ")]),(0,K.Lk)("p",null,[(0,K.eW)(" In addition, depending on the territory access point, the transfer and receipt of funds through the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" may be an object of tax and fee payments to public authorities in different countries depending on the legal regulations. "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" are obliged to inform themselves about such requirements and are solely responsible for their donations. ")])],-1)})),Wy=RA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" To send someone a tip, please make sure that "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" are no the URL that "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" want to tip or "),(0,K.Lk)("strong",null,"YOU"),(0,K.eW)(" have copied and pasted the right URL (depending on the option for access to the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)("). "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not participate or control in any way the tips and shall not be held liable for any mistakes and wrong donations. The tips cannot be modified. Please bear in mind that the "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is created in order for people to stimulate the full, transparent, useful and accurate information worldwide. Therefore, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" shall be fully liable for any use of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" in violation of its purpose and the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(". "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" does not control the platforms the donations are sent to. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not responsible for the content on the third-party platforms in any way. ")]),(0,K.Lk)("p",null,[(0,K.eW)(" In addition, any use of third-party platforms for the purpose of exchanging "),(0,K.Lk)("strong",null,"Æ"),(0,K.eW)(),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(" with other cryptocurrencies or fiat currencies is subject to compliance with the third-party platform’s Terms of use and other compulsory documentation. It is solely your responsibility to comply duly with the rules, applicable for these platforms. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not responsible in any way for the use of these third-party platforms in relation to loading the "),(0,K.Lk)("strong",null,"USERS’"),(0,K.eW)(" wallets and the withdrawal of "),(0,K.Lk)("strong",null,"Æ"),(0,K.Lk)("strong",null,"tokens"),(0,K.eW)(". ")]),(0,K.Lk)("p",null,[(0,K.eW)(" Moreover, the platforms from which the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" can be downloaded are owned by third parties. Therefore, "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" should comply their behaviour with the rules applicable for these third-party platforms. ")])],-1)})),Fy=RA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is developed under the open-source, permissive free software ISC License (“ISC”). Under this license other developers have the right to use, copy, modify and distribute the source code of the "),(0,K.Lk)("strong",null,"Wallet"),(0,K.eW)(" for any purpose without a fee. The license only requires preservation of the copyright and license notice below. "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" is not liable in any way for the diffusion and public access to the amended/modified by other developers source code files due to the open source character of the software. ")]),(0,K.Lk)("p",null,"The notice is as it follows:"),(0,K.Lk)("p",null,"“ISC License"),(0,K.Lk)("p",null,"Copyright (c) 2019, Superhero"),(0,K.Lk)("p",null," Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. "),(0,K.Lk)("p",null,' THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.” ')],-1)})),Dy=RA((function(){return(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" is developed by "),(0,K.Lk)("strong",null,"Superhero. "),(0,K.eW)("The "),(0,K.Lk)("strong",null,"application"),(0,K.eW)(" may display or include elements which are subject of intellectual property regulation including but not limited to logos, trademarks, domain names, etc.  It is prohibited to use any intellectual property of "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" before a prior explicit consent from the latter. ")]),(0,K.Lk)("p",null,[(0,K.eW)(" None of the elements mentioned above can be edited, downloaded, reproduced, used for commercial purposes, distributed and transmitted in any manner and/or any medium whatsoever, partially or in whole, without the explicit prior written consent of "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". ")]),(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(" reserves its right to take any necessary legal action against intellectual property infringement. ")]),(0,K.Lk)("p",null,[(0,K.eW)(" The present article does not in any way exclude or interfere with the rights granted according to article 8- "),(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"LICENSE")]),(0,K.eW)(", of the present Terms. ")])],-1)})),By=RA((function(){return(0,K.Lk)("strong",null,"USERS",-1)})),Py=RA((function(){return(0,K.Lk)("strong",null,"the application",-1)})),My=RA((function(){return(0,K.Lk)("strong",null,"Wallet",-1)})),Oy=RA((function(){return(0,K.Lk)("strong",null,"application",-1)})),Ry=RA((function(){return(0,K.Lk)("strong",null,"YOU",-1)})),Ny=RA((function(){return(0,K.Lk)("strong",null,"USER",-1)})),Uy=RA((function(){return(0,K.Lk)("strong",null,"tokens",-1)})),Xy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" These "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" set forth the entire understanding and agreement as to the subject matter hereof and supersedes any and all prior discussions, agreements, and understandings of any kind and every nature between "),(0,K.Lk)("strong",null,"USERS"),(0,K.eW)(" and "),(0,K.Lk)("strong",null,"Superhero"),(0,K.eW)(". ")],-1)})),Vy=RA((function(){return(0,K.Lk)("p",null,[(0,K.eW)(" The legislation and jurisdiction of Liechtenstein is applied for the issues outstanding the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" without regard to possible conflict of law provisions. The invalidity of one or more clauses/ provisions in the "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" does not lead to the invalidity of the whole agreement. ")],-1)})),Hy=RA((function(){return(0,K.Lk)("p",null,[(0,K.Lk)("strong",null,[(0,K.Lk)("u",null,"The Privacy Policy")]),(0,K.eW)(" is an inseparable part of the present "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" and should be considered as a complementary document with compulsory character. Unless explicitly stated otherwise in the "),(0,K.Lk)("strong",null,"Privacy Policy"),(0,K.eW)(", all rules from the "),(0,K.Lk)("strong",null,"TERMS"),(0,K.eW)(" apply respectively. ")],-1)})),$y=RA((function(){return(0,K.Lk)("strong",null,"TERMS",-1)})),jy=RA((function(){return(0,K.Lk)("strong",null,"Superhero",-1)}));function Ky(e,t,n,a,r,o){var i=(0,K.g2)("LinkButton"),s=(0,K.g2)("AccordionItem"),u=(0,K.g2)("BackToTop"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg","data-cy":"terms-of-service"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",NA,[UA,XA,VA,HA,$A,jA,(0,K.Lk)("p",null,[KA,(0,K.eW)(" preserve our right to modify the "),qA,(0,K.eW)(" at any time in our sole discretion. "),GA,(0,K.eW)(" will be notified of such changes by posting information for the new Effective Date of the "),QA,(0,K.eW)(" on the "),ZA,(0,K.eW)(". "),YA,(0,K.eW)(" may be required to read and accept the updated "),zA,(0,K.eW)(" in order to continue your use of the "),JA,(0,K.eW)(". If "),ek,(0,K.eW)(" continue to use the "),tk,(0,K.eW)(" after a notification for the amended "),nk,(0,K.eW)(", "),ak,(0,K.eW)(" are agreeing to be bound by the modifications. If you don’t agree to be bound by the modified "),rk,(0,K.eW)(", then you should discontinue any use of the "),ok,(0,K.eW)(". Please contact "),ik,(0,K.eW)(" via an email to "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(" for the provision of information about the steps for termination of your use. Please check the Effective Date above to determine if there have been any changes since "),sk,(0,K.eW)(" have last reviewed these "),uk,(0,K.eW)(". ")]),ck,(0,K.bF)(s,{label:e.$t("pages.termsOfService.section1Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[(0,K.eW)(" 1.1. "),lk,(0,K.eW)(" or "),dk,(0,K.eW)(") is a company with seat and registered address at: Dr. Grass Str. 12, 9490 Vaduz, Liechtenstein, with email address for communication related to the "),pk,(0,K.eW)(": "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(". "),vk,(0,K.eW)(" is the company, which created and developed "),fk,(0,K.eW)(". ")]),mk,gk,hk,(0,K.Lk)("p",null,[(0,K.eW)(" 1) the "),Ak,(0,K.eW)(" can act  as an add-on to the web browsers Firefox, Chrome, Brave and Opera and contributes to the browsers’ additional functionalities. For Firefox: "),(0,K.bF)(i,{to:e.APP_LINK_FIREFOX,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_FIREFOX),1)]})),_:1},8,["to"]),(0,K.eW)(" ; for Chrome, Brave and Opera:       "),(0,K.bF)(i,{to:e.APP_LINK_CHROME,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_CHROME),1)]})),_:1},8,["to"]),(0,K.eW)("; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" 2) the "),kk,(0,K.eW)(" can be accessed and used from any Browser at the address: "),(0,K.bF)(i,{to:e.APP_LINK_WEB,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_WEB),1)]})),_:1},8,["to"]),(0,K.eW)("; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" 3) the "),yk,(0,K.eW)(" can be downloaded from Google Play and/or App Store. For Google Play: "),(0,K.bF)(i,{to:e.APP_LINK_ANDROID,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_ANDROID),1)]})),_:1},8,["to"]),(0,K.eW)(" and for App Store: "),(0,K.bF)(i,{to:e.APP_LINK_IOS,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_IOS),1)]})),_:1},8,["to"]),(0,K.eW)("; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" The results of the donations and comments are published on the website "),(0,K.bF)(i,{to:e.AGGREGATOR_URL,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)(" superhero.com ")]})),_:1},8,["to"]),(0,K.eW)(" . ")]),bk,wk,Ck,xk,Lk,Sk])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section2Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[Tk,Ek,Ik,_k,Wk,Fk,Dk,Bk,Pk,Mk,Ok,(0,K.Lk)("p",null,[(0,K.eW)(" After that, the website - "),(0,K.bF)(i,{to:e.AGGREGATOR_URL,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)(" superhero.com ")]})),_:1},8,["to"]),(0,K.eW)(", reflects the "),Rk,(0,K.eW)(" donations and comments and gives the possibility for other "),Nk,(0,K.eW)(" to actively donate and comment on the newsfeed of the Website. ")]),Uk,Xk,Vk,(0,K.Lk)("p",null,[(0,K.eW)(" In order to load your "),Hk,(0,K.eW)("with "),$k,jk,(0,K.eW)(" should click Button “Top Up” of the "),Kk,(0,K.eW)(" and "),qk,(0,K.eW)(" can exchange other cryptocurrencies or fiat currencies with "),Gk,(0,K.eW)(" through partnering third-party platforms. A full list of these platforms, you can see in our Superhero Tutorial. Our team is also ready to provide detailed information when contacted through email at "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(". ")]),Qk,Zk,Yk,zk,Jk,ey,ty,ny])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section3Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[ay,ry,oy,iy,sy,uy,cy,ly,dy,(0,K.Lk)("p",null,[(0,K.eW)(" The "),py,(0,K.eW)(" can also be used as your profile name on the Superhero website "),(0,K.bF)(i,{to:e.AGGREGATOR_URL,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)(" superhero.com ")]})),_:1},8,["to"]),(0,K.eW)(". ")])])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section4Title")},{default:(0,K.k6)((function(){return[vy]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section5Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[fy,my,gy,hy,Ay,ky,(0,K.Lk)("p",null,[(0,K.eW)(" 1) downloaded as an add-on (extension) to Firefox: "),(0,K.bF)(i,{to:e.APP_LINK_FIREFOX,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_FIREFOX),1)]})),_:1},8,["to"]),(0,K.eW)(" ; to Chrome, Brave and Opera:        "),(0,K.bF)(i,{to:e.APP_LINK_CHROME,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_CHROME),1)]})),_:1},8,["to"]),(0,K.eW)("; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" 2) accessed from any Browser at the address: "),(0,K.bF)(i,{to:e.APP_LINK_WEB,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_WEB),1)]})),_:1},8,["to"]),(0,K.eW)(" ; ")]),(0,K.Lk)("p",null,[(0,K.eW)(" 3) downloaded from Google Play:     "),(0,K.bF)(i,{to:e.APP_LINK_ANDROID,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_ANDROID),1)]})),_:1},8,["to"]),(0,K.eW)(" and ")]),(0,K.Lk)("p",null,[(0,K.eW)(" from App Store: "),(0,K.bF)(i,{to:e.APP_LINK_IOS,variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.APP_LINK_IOS),1)]})),_:1},8,["to"]),(0,K.eW)(". ")]),yy,by,wy,Cy,xy,Ly,Sy,Ty,Ey,Iy])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section6Title")},{default:(0,K.k6)((function(){return[_y]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section7Title")},{default:(0,K.k6)((function(){return[Wy]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section8Title")},{default:(0,K.k6)((function(){return[Fy]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section9Title")},{default:(0,K.k6)((function(){return[Dy]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section10Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[(0,K.Lk)("p",null,[By,(0,K.eW)(" understand and accept "),Py,(0,K.eW)(" can be periodically modified, updated, maintained or technically supported, which could to some extent influence the use of the "),My,(0,K.eW)(", the visual representation of the "),Oy,(0,K.eW)(" or could result in malfunction. In the latter case, if "),Ry,(0,K.eW)(" as a "),Ny,(0,K.eW)(" notice any change in the "),Uy,(0,K.eW)(", settings, accounts or any other information on the application, please contact "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(" for assistance. ")])])]})),_:1},8,["label"]),(0,K.bF)(s,{label:e.$t("pages.termsOfService.section11Title")},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[Xy,Vy,Hy,(0,K.Lk)("p",null,[(0,K.eW)(" For more information regarding our Services and the present "),$y,(0,K.eW)(", please do not hesitate to contact the "),jy,(0,K.eW)(" team at: "),(0,K.bF)(i,{to:"mailto:".concat(e.CONTACT_EMAIL),variant:"simple"},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.CONTACT_EMAIL),1)]})),_:1},8,["to"]),(0,K.eW)(". ")])])]})),_:1},8,["label"])]),(0,K.bF)(u)]})),_:1})]})),_:1})}var qy={class:"accordion-item"},Gy={class:"accordion-label-text"},Qy={key:0,"data-cy":"accordion-item-content"};function Zy(e,t,n,a,r,o){var i=(0,K.g2)("ChevronDownIcon");return(0,K.uX)(),(0,K.CE)("div",qy,[(0,K.Lk)("a",{class:"accordion-label","data-cy":"accordion-item-label",onClick:t[0]||(t[0]=function(t){return e.toggleVisibility()})},[(0,K.bF)(i,{class:(0,tt.C4)(["accordion-label-chevron",{rotated:e.isVisible}])},null,8,["class"]),(0,K.Lk)("span",Gy,(0,tt.v_)(e.label),1)]),(0,K.bF)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.isVisible?((0,K.uX)(),(0,K.CE)("div",Qy,[(0,K.RG)(e.$slots,"default",{},void 0,!0)])):(0,K.Q3)("",!0)]})),_:3})])}const Yy=(0,K.pM)({components:{ChevronDownIcon:hv.A},props:{label:{type:String,required:!0}},setup:function(){var e=(0,bt.KR)(!1);function t(){e.value=!e.value}return{isVisible:e,toggleVisibility:t}}}),zy=(0,Ft.A)(Yy,[["render",Zy],["__scopeId","data-v-77e13361"]]),Jy=zy,eb=(0,K.pM)({components:{AccordionItem:Jy,LinkButton:wt.A,IonPage:Fe.AO,IonContent:Fe.W9,BackToTop:va.A},setup:function(){return{APP_LINK_WEB:o.yS,APP_LINK_CHROME:o.b1,APP_LINK_FIREFOX:o.Fl,APP_LINK_ANDROID:o.H1,APP_LINK_IOS:o.nO,AGGREGATOR_URL:o.G9,CONTACT_EMAIL:o.ei}}}),tb=(0,Ft.A)(eb,[["render",Ky],["__scopeId","data-v-6eec62a2"]]),nb=tb;var ab={class:"tips-claim"},rb={class:"header"},ob={class:"text-description"};function ib(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("BtnHelp"),u=(0,K.g2)("InputField"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("IonContent"),d=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(d,null,{default:(0,K.k6)((function(){return[(0,K.bF)(l,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",ab,[(0,K.bF)(i,{account:e.activeAccount},null,8,["account"]),(0,K.Lk)("div",rb,[(0,K.Lk)("p",ob,(0,tt.v_)(e.$t("pages.claimTips.header")),1),(0,K.bF)(s,{class:"help-button",title:e.$t("modals.verify.title"),msg:e.$t("modals.verify.msg"),option:{attrs:{href:e.AE_BLOG_CLAIM_TIP_URL,target:"_blank"}},icon:"success"},null,8,["title","msg","option"])]),(0,K.bF)(u,{modelValue:e.tipUrl,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.tipUrl=t}),label:e.$t("pages.claimTips.urlToClaim"),error:!e.normalizedUrl},null,8,["modelValue","label","error"]),(0,K.bF)(c,{disabled:!e.normalizedUrl||!e.isTippingSupported,text:e.$t("common.confirm"),extend:"",onClick:t[1]||(t[1]=function(t){return e.handleClaimTips()})},null,8,["disabled","text"])])]})),_:1})]})),_:1})}var sb=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const ub=(0,K.pM)({name:"TipsClaim",components:{InputField:ev.A,BtnMain:Mo.A,BtnHelp:sd.A,AccountInfo:La.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=this,t=(0,An.s9)(),n=t.t,r=(0,za.rd)(),i=(0,I.ti)(),u=i.claimTips,c=i.cacheInvalidateOracle,l=i.cacheInvalidateTips,d=(0,ce.CP)(),p=d.isTippingSupported,v=(0,ce.oV)(),f=v.activeAccount,m=(0,ce.U8)(),g=m.openModal,h=m.openDefaultModal,A=(0,ce.kz)(),k=A.getTippingContracts,y=(0,ce.mv)(),b=y.setLoaderVisible,w=(0,bt.KR)(""),C=(0,K.EW)((function(){return(0,L.Ks)(w.value)?(0,L.Xz)(w.value).toString():""}));function x(){return sb(this,void 0,void 0,(0,s.A)().mark((function e(){var t,a,i,d,p,v,m,A;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=C.value,b(!0),e.prev=2,e.next=5,k();case 5:return a=e.sent,i=a.tippingV1,e.t0=parseFloat,e.t1=_.c4,e.next=11,i.unclaimed_for_url(t).then((function(e){return e.decodedResult}))["catch"]((function(){return 1}));case 11:if(e.t2=e.sent,e.t3=(0,e.t1)(e.t2),d=(0,e.t0)(e.t3),d){e.next=16;break}throw new Error("NO_ZERO_AMOUNT_PAYOUT");case 16:return e.next=18,u(t,f.value.address);case 18:return e.next=20,Promise.all([c,l]);case 20:g(o.pE,{url:t,claimAmount:d}),r.push({name:Ye.qJ}),e.next=34;break;case 24:if(e.prev=24,e.t4=e["catch"](2),p=e.t4.response?e.t4.response.data:{},v=p.error,m=void 0===v?"":v,m.includes("MORE_ORACLES_NEEDED")?A=n("pages.claim.moreOracles"):m.includes("URL_NOT_EXISTING")?A=n("pages.claim.urlNotExisting"):m.includes("NO_ZERO_AMOUNT_PAYOUT")||e.t4.message.includes("NO_ZERO_AMOUNT_PAYOUT")?A=n("pages.claim.noZeroClaim"):m.includes("ORACLE_SERVICE_CHECK_CLAIM_FAILED")?A=n("pages.claim.oracleFailed"):m&&(A=m),!A){e.next=32;break}h({msg:A}),e.next=34;break;case 32:throw e.t4.payload={url:t},e.t4;case 34:return e.prev=34,b(!1),e.finish(34);case 37:case"end":return e.stop()}}),e,null,[[2,24,34,37]])})))}return(0,K.sV)((function(){return sb(e,void 0,void 0,(0,s.A)().mark((function e(){var t,n,r;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(b(!1),!o.hL||!browser){e.next=8;break}return e.next=4,browser.tabs.query({active:!0,currentWindow:!0});case 4:t=e.sent,n=(0,a.A)(t,1),r=n[0],(null===r||void 0===r?void 0:r.url)&&(0,L.Ks)(r.url)&&(w.value=r.url);case 8:case"end":return e.stop()}}),e)})))})),{activeAccount:f,normalizedUrl:C,tipUrl:w,isTippingSupported:p,AE_BLOG_CLAIM_TIP_URL:T.Z3,handleClaimTips:x}}}),cb=(0,Ft.A)(ub,[["render",ib],["__scopeId","data-v-1e037461"]]),lb=cb;var db={class:"multisig-proposal-details"},pb={class:"header"},vb={class:"content"},fb={class:"explorer"},mb={class:"data-grid"},gb={class:"receiving-address"},hb={class:"text-address"},Ab={class:"row"},kb={class:"text-address"},yb={class:"span-3-columns"},bb={key:1,class:"bottom-buttons"},wb={class:"row"};function Cb(e,t,n,a,r,o){var i=(0,K.g2)("AnimatedSpinner"),s=(0,K.g2)("TransactionAssetRows"),u=(0,K.g2)("TransactionInfo"),c=(0,K.g2)("ExternalLink"),l=(0,K.g2)("LinkButton"),d=(0,K.g2)("Avatar"),p=(0,K.g2)("CopyText"),v=(0,K.g2)("DetailsItem"),f=(0,K.g2)("AccountItem"),m=(0,K.g2)("DialogBox"),g=(0,K.g2)("MultisigProposalConsensus"),h=(0,K.g2)("PayloadDetails"),A=(0,K.g2)("TokenAmount"),k=(0,K.g2)("BtnMain"),y=(0,K.g2)("IonContent"),b=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(b,null,{default:(0,K.k6)((function(){return[(0,K.bF)(y,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",db,[e.activeMultisigAccount&&e.multisigTx?((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.Lk)("div",pb,[e.multisigTx?((0,K.uX)(),(0,K.Wv)(s,{key:0,assets:e.transactionAssets,protocol:e.PROTOCOLS.aeternity,"icon-size":"rg"},null,8,["assets","protocol"])):(0,K.Q3)("",!0)]),(0,K.Lk)("div",vb,[e.multisigTx?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"transaction-overview",sender:{label:e.$t("multisig.multisigVault"),address:e.activeMultisigAccount.gaAccountId,url:e.protocolExplorer.prepareUrlForAccount(e.activeMultisigAccount.gaAccountId)},recipient:{label:e.$t("common.smartContract"),address:e.activeMultisigAccount.contractId,url:e.activeMultisigAccountExplorerUrl},transaction:{tx:e.multisigTx}},null,8,["sender","recipient","transaction"])):(0,K.Q3)("",!0),(0,K.Lk)("div",fb,[(0,K.bF)(l,{to:e.activeMultisigAccountExplorerUrl,variant:"muted",underlined:""},{icon:(0,K.k6)((function(){return[(0,K.bF)(c)]})),default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.transactionDetails.explorer"))+" ",1)]})),_:1},8,["to"])]),(0,K.Lk)("div",mb,[e.multisigTx&&e.multisigTx.recipientId?((0,K.uX)(),(0,K.Wv)(v,{key:0,label:e.$t("pages.proposalDetails.receivingAddress"),small:""},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",gb,[(0,K.bF)(d,{address:e.multisigTx.recipientId,size:"sm"},null,8,["address"]),(0,K.bF)(p,{"hide-icon":"",value:e.multisigTx.recipientId,"copied-text":e.$t("common.addressCopied")},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",hb,(0,tt.v_)(e.splitAddress(e.multisigTx.recipientId)),1)]})),_:1},8,["value","copied-text"])])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.activeMultisigAccount.proposedBy?((0,K.uX)(),(0,K.Wv)(v,{key:1,label:e.$t("pages.proposalDetails.proposedBy"),small:""},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",Ab,[(0,K.bF)(f,{address:e.activeMultisigAccount.proposedBy,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]),e.isLocalAccountAddress(e.activeMultisigAccount.proposedBy)?((0,K.uX)(),(0,K.Wv)(m,{key:0,dense:""},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.you")),1)]})),_:1})):(0,K.Q3)("",!0)])]})),_:1},8,["label"])):(0,K.Q3)("",!0),(0,K.bF)(g,{"proposal-completed":e.proposalCompleted},null,8,["proposal-completed"]),e.transaction?((0,K.uX)(),(0,K.Wv)(v,{key:2,label:e.$t("pages.transactionDetails.hash"),"data-cy":"hash",small:""},{value:(0,K.k6)((function(){return[(0,K.bF)(p,{"hide-icon":"",value:e.transaction.hash,"copied-text":e.$t("common.hashCopied")},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",kb,(0,tt.v_)(e.splitAddress(e.transaction.hash)),1)]})),_:1},8,["value","copied-text"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.multisigTx?((0,K.uX)(),(0,K.Wv)(h,{key:3,payload:e.getTransactionPayload(e.multisigTx)},null,8,["payload"])):(0,K.Q3)("",!0),(0,K.Lk)("div",yb,[e.activeMultisigAccount.expirationHeight?((0,K.uX)(),(0,K.Wv)(v,{key:0,value:e.activeMultisigAccount.expirationHeight,label:e.$t("pages.proposalDetails.expiresAt"),secondary:e.expirationHeightToRelativeTime},null,8,["value","label","secondary"])):e.transaction?((0,K.uX)(),(0,K.Wv)(v,{key:1,value:e.transaction.blockHeight,label:e.$t("pages.transactionDetails.blockHeight")},null,8,["value","label"])):(0,K.Q3)("",!0),e.activeMultisigAccount.nonce?((0,K.uX)(),(0,K.Wv)(v,{key:2,value:e.activeMultisigAccount.nonce,label:e.$t("pages.transactionDetails.nonce"),"data-cy":"nonce"},null,8,["value","label"])):(0,K.Q3)("",!0)]),e.multisigTx.gasPrice?((0,K.uX)(),(0,K.Wv)(v,{key:4,label:e.$t("pages.transactionDetails.gasPrice"),"data-cy":"gas-price"},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.multisigTx.gasPrice),protocol:e.PROTOCOLS.aeternity,symbol:e.AE_SYMBOL,"hide-fiat":""},null,8,["amount","protocol","symbol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.transaction&&e.transaction.tx?((0,K.uX)(),(0,K.Wv)(v,{key:5,label:e.$t("pages.transactionDetails.gasPrice")},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.transaction.tx.gasPrice),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.transaction&&e.transaction.tx?((0,K.uX)(),(0,K.Wv)(v,{key:6,value:e.transaction.tx.gas,label:e.$t("pages.transactionDetails.gasUsed")},null,8,["value","label"])):(0,K.Q3)("",!0),e.multisigTx?((0,K.uX)(),(0,K.Wv)(v,{key:7,label:e.$t("modals.multisigTxProposal.fee")},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.multisigTx.fee),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.transaction?((0,K.uX)(),(0,K.Wv)(v,{key:8,label:e.$t("transaction.fee"),"data-cy":"fee"},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.transaction.tx.fee),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0),e.totalSpent?((0,K.uX)(),(0,K.Wv)(v,{key:9,label:e.$t("common.total"),"data-cy":"amount"},{value:(0,K.k6)((function(){return[(0,K.bF)(A,{amount:+e.aettosToAe(e.totalSpent),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,"high-precision":""},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,K.Q3)("",!0)]),!e.proposalCompleted&&e.activeMultisigAccount.txHash?((0,K.uX)(),(0,K.CE)("div",bb,[(0,K.Lk)("div",wb,[(0,K.bF)(k,{variant:"muted",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible,onClick:t[0]||(t[0]=function(t){return e.dispatchProposalAction(e.TX_FUNCTIONS_MULTISIG.refuse,e.$t("pages.proposalDetails.refuse"))})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.proposalDetails.refuse")),1)]})),_:1},8,["disabled"]),e.pendingMultisigTxCanBeSent?((0,K.uX)(),(0,K.Wv)(k,{key:0,extend:"",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible||e.pendingMultisigTxExpired,onClick:t[1]||(t[1]=function(t){return e.processProposal()})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.send")),1)]})),_:1},8,["disabled"])):((0,K.uX)(),(0,K.Wv)(k,{key:1,extend:"",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible||e.pendingMultisigTxConfirmedByLocalSigners||e.pendingMultisigTxExpired,onClick:t[2]||(t[2]=function(t){return e.dispatchProposalAction(e.TX_FUNCTIONS_MULTISIG.confirm,e.$t("pages.proposalDetails.sign"))})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.proposalDetails.sign")),1)]})),_:1},8,["disabled"]))]),e.isLocalAccountAddress(e.activeMultisigAccount.proposedBy)?((0,K.uX)(),(0,K.Wv)(k,{key:0,variant:"muted",extend:"",nowrap:"","extra-padded":"",disabled:e.isLoaderVisible,onClick:t[3]||(t[3]=function(t){return e.dispatchProposalAction(e.TX_FUNCTIONS_MULTISIG.revoke,e.$t("pages.proposalDetails.revoke"))})},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("pages.proposalDetails.revokeTransaction")),1)]})),_:1},8,["disabled"])):(0,K.Q3)("",!0)])):(0,K.Q3)("",!0)])],64)):((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"spinner"}))])]})),_:1})]})),_:1})}var xb=n(46996),Lb=n(91392),Sb=n(37134),Tb=n(79708),Eb={class:"transaction-multisig-consensus"},Ib={key:0,class:"consensus-label"},_b={class:"label"},Wb={class:"confirmations-count"},Fb={class:"consensus"},Db={key:0,class:"signers"};function Bb(e,t,n,a,r,o){var i=(0,K.g2)("BtnHelp"),s=(0,K.g2)("ConsensusLabel"),u=(0,K.g2)("AccountItem"),c=(0,K.g2)("CheckCircle"),l=(0,K.g2)("CloseCircle"),d=(0,K.g2)("DialogBox"),p=(0,K.g2)("InfoBox");return(0,K.uX)(),(0,K.CE)("div",Eb,[e.isPendingMultisigTxCompleted?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("div",Ib,[(0,K.Lk)("div",_b,[(0,K.Lk)("span",null,(0,tt.v_)(e.$t("multisig.consensus")),1),(0,K.bF)(i,{class:"btn-help",onHelp:e.openConsensusInfoModal},null,8,["onHelp"])]),(0,K.Lk)("span",Wb,[(0,K.bF)(s,{"confirmations-required":e.activeMultisigAccount.confirmationsRequired,"has-pending-transaction":e.activeMultisigAccount.hasPendingTransaction,"confirmed-by":e.activeMultisigAccount.confirmedBy,signers:e.activeMultisigAccount.signers},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])])])),(0,K.Lk)("div",Fb,[e.isPendingMultisigTxCompleted?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("div",Db,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.pendingMultisigTxSortedSigners,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t,class:"signer"},[(0,K.bF)(u,{address:t,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]),e.pendingMultisigTxConfirmedBy.includes(t)||e.proposalCompleted?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"check-icon active"})):e.pendingMultisigTxRefusedBy.includes(t)?((0,K.uX)(),(0,K.Wv)(l,{key:1,class:"close-icon"})):((0,K.uX)(),(0,K.Wv)(c,{key:2,class:"check-icon"})),e.isLocalAccountAddress(t)?((0,K.uX)(),(0,K.Wv)(d,{key:3,dense:""},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.you")),1)]})),_:1})):(0,K.Q3)("",!0)])})),128))])),(0,K.bF)(p,{type:e.infoBox.type},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.infoBox.content),1)]})),_:1},8,["type"])])])}var Pb={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Mb=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM11.8415 16.4438C11.6011 16.7998 11.2732 17 10.8689 17C10.4754 17 10.1585 16.8331 9.86339 16.4438L7.27322 13.2403C7.09836 13.0067 7 12.762 7 12.495C7 11.9388 7.4153 11.505 7.95082 11.505C8.27869 11.505 8.54098 11.6274 8.80328 11.9722L10.8361 14.6085L15.153 7.55617C15.3825 7.17798 15.6776 7 16.0055 7C16.5191 7 17 7.36707 17 7.91212C17 8.16796 16.8689 8.43493 16.7268 8.66852L11.8415 16.4438Z",fill:"currentColor"},null,-1),Ob=[Mb];function Rb(e,t){return(0,K.uX)(),(0,K.CE)("svg",Pb,Ob)}const Nb={},Ub=(0,Ft.A)(Nb,[["render",Rb]]),Xb=Ub;var Vb={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Hb=(0,K.Lk)("path",{d:"M11.9952 22C17.4761 22 22 17.4739 22 12C22 6.52611 17.4664 2 11.9855 2C6.51426 2 2 6.52611 2 12C2 17.4739 6.52392 22 11.9952 22ZM8.69889 16.2166C8.18656 16.2166 7.78057 15.8104 7.78057 15.2882C7.78057 15.0561 7.87724 14.824 8.0609 14.6499L10.6902 12.0097L8.0609 9.37911C7.87724 9.20503 7.78057 8.97292 7.78057 8.74081C7.78057 8.21857 8.18656 7.82205 8.69889 7.82205C8.96955 7.82205 9.18221 7.90909 9.35621 8.08317L11.9952 10.7137L14.6438 8.0735C14.8371 7.88975 15.0401 7.80271 15.3011 7.80271C15.8134 7.80271 16.2194 8.2089 16.2194 8.72147C16.2194 8.96325 16.1228 9.17602 15.9391 9.36944L13.3098 12.0097L15.9391 14.6402C16.1131 14.824 16.2098 15.0464 16.2098 15.2882C16.2098 15.8104 15.8038 16.2166 15.2818 16.2166C15.0208 16.2166 14.7985 16.1199 14.6148 15.9458L11.9952 13.325L9.37554 15.9458C9.20155 16.1296 8.96955 16.2166 8.69889 16.2166Z",fill:"currentColor"},null,-1),$b=[Hb];function jb(e,t){return(0,K.uX)(),(0,K.CE)("svg",Vb,$b)}const Kb={},qb=(0,Ft.A)(Kb,[["render",jb]]),Gb=qb,Qb=(0,K.pM)({name:"TransactionMultisigConsensus",components:{BtnHelp:sd.A,ConsensusLabel:Jn,AccountItem:Ld.A,CheckCircle:Xb,CloseCircle:Gb,DialogBox:Tb.h,InfoBox:Qg.A},props:{proposalCompleted:Boolean},setup:function(e){var t=(0,An.s9)(),n=t.t,a=(0,ce.U8)(),r=a.openModal,i=(0,ce.ci)(),s=i.activeMultisigAccount,u=(0,ce.oV)(),c=u.isLocalAccountAddress,l=(0,ce.ju)(),d=l.pendingMultisigTxConfirmedBy,p=l.pendingMultisigTxRefusedBy,v=l.pendingMultisigTxSortedSigners,f=l.pendingMultisigTxConfirmed,m=l.pendingMultisigTxRevoked,g=l.pendingMultisigTxProposingAccountRevoked,h=l.pendingMultisigTxRequiredConfirmations,A=l.pendingMultisigTxPendingConfirmationsCount,k=l.pendingMultisigTxExpired,y=l.isPendingMultisigTxCompleted,b=l.isPendingMultisigTxCompletedAndRevoked,w=l.isPendingMultisigTxCompletedAndConfirmed,C=(0,K.EW)((function(){return e.proposalCompleted||w.value?{content:n("pages.proposalDetails.infoBox.completed"),type:Qg.F.success}:k.value?{content:n("pages.proposalDetails.infoBox.expired"),type:Qg.F.warning}:f.value?{content:n("pages.proposalDetails.infoBox.approved"),type:Qg.F["default"]}:b.value?{content:n("pages.proposalDetails.infoBox.justRevoked"),type:Qg.F.danger}:g.value?{content:n("pages.proposalDetails.infoBox.proposingAccountRevoked"),type:Qg.F.danger}:m.value?{content:n("pages.proposalDetails.infoBox.revoked",[p.value.length,h.value]),type:Qg.F.danger}:{content:n("pages.proposalDetails.infoBox.pending",[A.value,A.value>1?n("pages.proposalDetails.infoBox.signatures"):n("pages.proposalDetails.infoBox.signature")]),type:Qg.F["default"]}}));function x(){r(o.bG)}return{PROTOCOLS:o.yv,activeMultisigAccount:s,isLocalAccountAddress:c,infoBox:C,pendingMultisigTxSortedSigners:v,pendingMultisigTxConfirmedBy:d,pendingMultisigTxRefusedBy:p,isPendingMultisigTxCompleted:y,openConsensusInfoModal:x}}}),Zb=(0,Ft.A)(Qb,[["render",Bb],["__scopeId","data-v-2ceebdf7"]]),Yb=Zb;var zb=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Jb=(0,K.pM)({components:{PayloadDetails:Sb.A,TransactionAssetRows:Tn.A,MultisigProposalConsensus:Yb,TransactionInfo:Xs.A,DialogBox:Tb.h,Avatar:us.A,TokenAmount:Es.A,DetailsItem:Ts.A,LinkButton:wt.A,AccountItem:Ld.A,BtnMain:Mo.A,CopyText:Vs.A,AnimatedSpinner:ia.A,ExternalLink:Mt.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,za.rd)(),t=(0,An.s9)(),n=t.t,a=(0,ce.U8)(),r=a.openDefaultModal,u=a.openModal,c=(0,ce.mv)(),l=c.isLoaderVisible,d=c.setLoaderVisible,p=(0,ce.oV)(),v=p.activeAccount,f=p.isLocalAccountAddress,m=(0,ce.ci)(),h=m.activeMultisigAccount,A=m.activeMultisigAccountExplorerUrl,k=m.updateMultisigAccounts,y=m.fetchAdditionalInfo,b=m.stopFetchingAdditionalInfo,w=(0,ce.CP)(),C=w.nodeNetworkId,x=(0,ce.ju)(),S=x.pendingMultisigTxExpired,E=x.pendingMultisigTxExpiresAt,I=x.pendingMultisigTxCanBeSent,W=x.pendingMultisigTxLocalSigners,F=x.pendingMultisigTxConfirmedByLocalSigners,D=(0,ce.jC)(),B=D.fetchActiveMultisigTx,P=D.fetchTransactionByHash,M=D.sendTx,O=D.callContractMethod,R=(0,ce.Y7)(),N=R.getTxAssetSymbol,U=i.C.getAdapter(o.yv.aeternity).getExplorer(),X=(0,bt.KR)(null),V=(0,bt.KR)(null),H=(0,bt.KR)(!1),$=(0,ce.my)(),j=$.transactionAssets,q=$.setActiveTransaction,G=(0,K.EW)((function(){var e;if(!H.value||!V.value)return 0;var t=V.value.tx,n=null===(e=t.tx)||void 0===e?void 0:e.tx;return n?new pe.A(n.amount).plus(t.fee).plus(n.fee).toString():0})),Q=(0,K.EW)((function(){return E.value>0?"(≈".concat((0,L.zw)(E.value),")"):null}));function Z(){return zb(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,B();case 2:if(t=e.sent,t){e.next=5;break}return e.abrupt("return");case 5:X.value=Object.assign(Object.assign({},t.tx),{type:g.vw[g.vw.GaMetaTx],tag:g.vw.GaMetaTx}),q({tx:X.value});case 7:case"end":return e.stop()}}),e)})))}function Y(e,t,a){if(e){var o,i=e.message;(0,_.mo)(e)&&(i=t?n("modals.vaultLowBalance.msg"):n("modals.accountLowBalance.msg",{action:a}),o=n(t?"modals.vaultLowBalance.title":"modals.accountLowBalance.title")),r({icon:"warning",title:o,msg:i,textCenter:!0})}}function z(t,n){var a;return zb(this,void 0,void 0,(0,s.A)().mark((function r(){var i,c,l,p,f;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(h.value){r.next=2;break}return r.abrupt("return");case 2:return d(!0),r.prev=3,r.next=6,u(o.eN,{action:t,signers:W.value});case 6:return i=r.sent,c=h.value,l=c.contractId,p=c.txHash,f=new Lb.L(C),r.next=11,O(t,l,p,v.value.address!==i?{onAccount:{address:i,signTransaction:f.signTransaction.bind({nodeNetworkId:C,sign:f.sign})},fromAccount:i}:{});case 11:return r.next=13,k();case 13:(null===(a=h.value)||void 0===a?void 0:a.txHash)||e.push({name:Ye.zn}),r.next=19;break;case 16:r.prev=16,r.t0=r["catch"](3),Y(r.t0,!1,n.toString().toLowerCase());case 19:return r.prev=19,d(!1),r.finish(19);case 22:case"end":return r.stop()}}),r,null,[[3,16,19,22]])})))}function J(){return zb(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n,a,r,o;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(h.value&&I.value){e.next=2;break}return e.abrupt("return");case 2:return d(!0),e.prev=3,t=h.value,n=t.gaAccountId,a=t.txHash,r=t.nonce,e.next=7,P(a);case 7:if(o=e.sent,o){e.next=10;break}throw Error("failed to load a transaction");case 10:return e.next=12,M(n,o.tx,r);case 12:return V.value=e.sent,e.next=15,k();case 15:H.value=!0,e.next=21;break;case 18:e.prev=18,e.t0=e["catch"](3),Y(e.t0,!0);case 21:d(!1);case 22:case"end":return e.stop()}}),e,null,[[3,18]])})))}return(0,K.wB)((function(){return h.value}),(function(e,t){e&&!(0,xb.A)(e,t)&&Z()}),{immediate:!0}),(0,K.wB)((function(){return X.value}),(function(){y()})),(0,Fe.Y0)((function(){b(),d(!1)})),{AE_SYMBOL:T.kf,PROTOCOLS:o.yv,TX_FUNCTIONS_MULTISIG:T.y5,activeMultisigAccount:h,activeMultisigAccountExplorerUrl:A,multisigTx:X,transaction:V,transactionAssets:j,totalSpent:G,getTxAssetSymbol:N,getTransactionPayload:_.L5,splitAddress:L.lS,aettosToAe:_.c4,formatDate:L.Yq,formatTime:L.fU,isLocalAccountAddress:f,isLoaderVisible:l,pendingMultisigTxCanBeSent:I,pendingMultisigTxExpired:S,protocolExplorer:U,expirationHeightToRelativeTime:Q,pendingMultisigTxConfirmedByLocalSigners:F,proposalCompleted:H,blocksToRelativeTime:L.zw,dispatchProposalAction:z,processProposal:J}}}),ew=(0,Ft.A)(Jb,[["render",Cb],["__scopeId","data-v-59015a73"]]),tw=ew;var nw={class:"reset-wallet-settings"},aw={class:"text-description"};function rw(e,t,n,a,r,o){var i=(0,K.g2)("RouterLink"),s=(0,K.g2)("i18n-t"),u=(0,K.g2)("BtnMain"),c=(0,K.g2)("IonContent"),l=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(l,null,{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",nw,[(0,K.Lk)("p",aw,(0,tt.v_)(e.$t("pages.resetWallet.description")),1),(0,K.bF)(s,{keypath:"pages.resetWallet.description2",tag:"p",class:"text-description",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.bF)(i,{to:{name:"settings-seed-phrase"}},{default:(0,K.k6)((function(){return[(0,K.eW)(" seed phrase ")]})),_:1})]})),_:1}),(0,K.bF)(u,{variant:"danger",class:"reset-wallet-button",extend:"",text:e.$t("pages.resetWallet.title"),icon:e.ResetWalletIcon,onClick:e.onResetWallet},null,8,["text","icon","onClick"])])]})),_:1})]})),_:1})}var ow={viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},iw=(0,K.Lk)("path",{d:"M22.6722 10.9517H21.4542C20.9409 6.54084 17.113 3 12.5021 3C9.95303 3 7.63887 4.11358 6.03809 5.85355C5.6118 6.27115 5.6292 6.82794 5.9772 7.14983C6.33389 7.48043 6.84718 7.48043 7.28217 7.08023C8.57845 5.67956 10.4402 4.80087 12.5021 4.80087C16.1734 4.80087 19.1401 7.48913 19.636 10.9517H18.3049C17.635 10.9517 17.4523 11.4476 17.8438 11.9869L19.9231 14.9275C20.245 15.3625 20.7321 15.3712 21.0453 14.9275L23.1333 11.9957C23.5248 11.4476 23.3508 10.9517 22.6722 10.9517ZM12.5108 13.4311C12.9893 13.4311 13.259 13.1614 13.2764 12.6568L13.4069 8.47221C13.4243 7.95892 13.0415 7.59352 12.5021 7.59352C11.9627 7.59352 11.5886 7.95022 11.606 8.46351L11.7278 12.6655C11.7452 13.1614 12.0236 13.4311 12.5108 13.4311ZM2.33196 13.0483H3.55864C4.07193 17.4592 7.89986 21 12.5021 21C15.0685 21 17.3827 19.8777 18.9835 18.1377C19.4011 17.7202 19.3837 17.1634 19.0357 16.8415C18.679 16.5109 18.1744 16.5109 17.7307 16.9198C16.4518 18.3204 14.5901 19.1991 12.5021 19.1991C8.83945 19.1991 5.8728 16.5109 5.37691 13.0483H6.69928C7.36047 13.0483 7.55187 12.5524 7.16038 12.0131L5.07241 9.0725C4.75922 8.63751 4.27202 8.62881 3.95883 9.0725L1.87086 12.0043C1.47067 12.5524 1.65337 13.0483 2.33196 13.0483ZM12.5108 16.3195C13.0763 16.3195 13.5374 15.9106 13.5374 15.3625C13.5374 14.8057 13.0763 14.4055 12.5108 14.4055C11.9453 14.4055 11.4842 14.8144 11.4842 15.3625C11.4842 15.9106 11.954 16.3195 12.5108 16.3195Z",fill:"currentColor"},null,-1),sw=[iw];function uw(e,t){return(0,K.uX)(),(0,K.CE)("svg",ow,sw)}const cw={},lw=(0,Ft.A)(cw,[["render",uw]]),dw=lw,pw=(0,K.pM)({components:{BtnMain:Mo.A,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.U8)(),t=e.openModal;function n(){t(o.iL)}return{ResetWalletIcon:dw,onResetWallet:n}}}),vw=(0,Ft.A)(pw,[["render",rw],["__scopeId","data-v-11f9ae84"]]),fw=vw;var mw=function(e){var t,n,a=function(){var e,t;return null===(t=null===(e=window.popupProps)||void 0===e?void 0:e.reject)||void 0===t?void 0:t.call(e,new Ka.v)};window.addEventListener("beforeunload",a);var r=function(e){return function(){e.apply(void 0,arguments),window.removeEventListener("beforeunload",a),window.close()}},o=Object.assign(Object.assign({},window.popupProps),{resolve:r(null===(t=window.popupProps)||void 0===t?void 0:t.resolve),reject:r(null===(n=window.popupProps)||void 0===n?void 0:n.reject)}),i=(0,ce.m)(),s=i.setPopupProps;return s(o),(0,K.h)(e)},gw=o.u2&&o.bW?[{name:o.kV,component:Zm},{name:o.Mc,component:ig},{name:o.iE,component:js},{name:o.K$,component:Ps},{name:o.gK,component:pg}].map((function(e){var t=e.name,n=e.component;return{name:"".concat(Ye.t,"-").concat(t),path:"/".concat(Ye.t,"/").concat(t),component:mw(n),meta:{notPersist:!0,hideHeader:!0}}})):[];const hw=gw;var Aw={"data-cy":"networks",class:"networks"},kw={class:"text-description"},yw={class:"networks-list"};function bw(e,t,n,a,r,o){var i=(0,K.g2)("NetworkRow"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("IonContent"),c=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(c,null,{default:(0,K.k6)((function(){return[(0,K.bF)(u,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Aw,[(0,K.Lk)("p",kw,(0,tt.v_)(e.$t("pages.network.listLabel")),1),(0,K.Lk)("div",yw,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.networks,(function(t){return(0,K.uX)(),(0,K.Wv)(i,{key:t.name,network:t,"is-active":t.name===e.activeNetwork.name,onSelectNetwork:e.switchNetwork,onDeleteNetwork:e.deleteCustomNetwork},null,8,["network","is-active","onSelectNetwork","onDeleteNetwork"])})),128))]),(0,K.bF)(s,{extend:"",variant:"muted",class:"add-custom-network","data-cy":"to-add",text:e.$t("pages.network.addCustomNetwork"),icon:e.PlusCircleIcon,to:{name:e.ROUTE_NETWORK_ADD}},null,8,["text","icon","to"])])]})),_:1})]})),_:1})}var ww={class:"name-and-actions"},Cw={class:"name","data-cy":"network-name"},xw={key:0,class:"actions"},Lw={class:"network-details"},Sw=["textContent"];function Tw(e,t,n,a,r,o){var i=(0,K.g2)("BtnIcon"),s=(0,K.g2)("RadioButton");return(0,K.uX)(),(0,K.CE)("div",{class:(0,tt.C4)(["network-row",{inactive:!e.isActive}])},[(0,K.bF)(s,{value:e.isActive,type:"radio",name:"activeNetwork",onInput:t[1]||(t[1]=function(t){return e.$emit("selectNetwork",e.network.name)})},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",ww,[(0,K.Lk)("p",Cw,(0,tt.v_)(e.network.name),1),e.network.type===e.NETWORK_TYPE_CUSTOM?((0,K.uX)(),(0,K.CE)("div",xw,[(0,K.bF)(i,{size:"sm","data-cy":"network-edit",dimmed:"",to:{name:e.ROUTE_NETWORK_EDIT,params:{name:e.network.name}},icon:e.PencilIcon},null,8,["to","icon"]),(0,K.bF)(i,{size:"sm","data-cy":"network-delete","icon-variant":"danger",dimmed:"",icon:e.TrashIcon,onClick:t[0]||(t[0]=function(t){e.$emit("deleteNetwork",e.network.name)})},null,8,["icon"])])):(0,K.Q3)("",!0)])]})),_:1},8,["value"]),(0,K.Lk)("table",Lw,[(0,K.Lk)("tbody",null,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.networkSettingsToDisplay,(function(t,n){var a;return(0,K.uX)(),(0,K.CE)("tr",{key:n,class:"url"},[(0,K.Lk)("td",{class:"url-label",textContent:(0,tt.v_)(e.getProtocolName(n))},null,8,Sw),(0,K.Lk)("td",null,(0,tt.v_)(null===(a=t.nodeUrl)||void 0===a?void 0:a.replace("https://","")),1)])})),128))])])],2)}var Ew=n(94386);const Iw=(0,K.pM)({components:{BtnIcon:Co.A,RadioButton:El.A},props:{network:{type:Object,required:!0},isActive:Boolean},emits:{selectNetwork:function(e){return!0},deleteNetwork:function(e){return!0}},setup:function(e){var t=(0,K.EW)((function(){return Object.fromEntries(Object.keys(e.network.protocols).map((function(t){var n=e.network.protocols[t];return n.nodeUrl?[t,n]:[]})))}));function n(e){return i.C.getAdapter(e).protocolName}return{NETWORK_TYPE_CUSTOM:o.Qb,ROUTE_NETWORK_EDIT:Ye.iO,PencilIcon:Ew.A,TrashIcon:Em.A,networkSettingsToDisplay:t,getProtocolName:n}}}),_w=(0,Ft.A)(Iw,[["render",Tw],["__scopeId","data-v-f4fc97a8"]]),Ww=_w;var Fw={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},Dw=(0,K.Lk)("path",{d:"M9.99605 18.3334C14.5635 18.3334 18.3334 14.5617 18.3334 10.0001C18.3334 5.43851 14.5554 1.66675 9.988 1.66675C5.42863 1.66675 1.66675 5.43851 1.66675 10.0001C1.66675 14.5617 5.43669 18.3334 9.99605 18.3334ZM6.09723 10.0081C6.09723 9.53264 6.43556 9.20221 6.90277 9.20221H9.19857V6.9053C9.19857 6.43786 9.52078 6.10743 9.97994 6.10743C10.4552 6.10743 10.7855 6.43786 10.7855 6.9053L10.7855 9.20221L13.0893 9.20221C13.5485 9.20221 13.8868 9.53264 13.8868 10.0081C13.8868 10.4675 13.5485 10.798 13.0893 10.798H10.7855V13.0949C10.7855 13.5542 10.4552 13.8927 9.97994 13.8927C9.52078 13.8927 9.19857 13.5542 9.19857 13.0949L9.19857 10.798L6.90277 10.798C6.43556 10.798 6.09723 10.4675 6.09723 10.0081Z",fill:"currentColor"},null,-1),Bw=[Dw];function Pw(e,t){return(0,K.uX)(),(0,K.CE)("svg",Fw,Bw)}const Mw={},Ow=(0,Ft.A)(Mw,[["render",Pw]]),Rw=Ow,Nw=(0,K.pM)({components:{BtnMain:Mo.A,NetworkRow:Ww,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e=(0,ce.fI)(),t=e.activeNetwork,n=e.networks,a=e.switchNetwork,r=e.deleteCustomNetwork;return{activeNetwork:t,networks:n,PlusCircleIcon:Rw,ROUTE_NETWORK_ADD:Ye.jA,switchNetwork:a,deleteCustomNetwork:r}}}),Uw=(0,Ft.A)(Nw,[["render",bw],["__scopeId","data-v-00a35ffe"]]),Xw=Uw;var Vw=function(e){return(0,K.Qi)("data-v-e89c9e08"),e=e(),(0,K.jt)(),e},Hw={class:"network-form","data-cy":"network-form"},$w={key:1,class:"text-description"},jw=["data-cy"],Kw=Vw((function(){return(0,K.Lk)("hr",null,null,-1)})),qw=["textContent"],Gw={class:"button-wrapper"};function Qw(e,t,n,a,r,o){var i=(0,K.g2)("InfoBox"),s=(0,K.g2)("InputField"),u=(0,K.g2)("Field"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("IonContent"),d=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(d,null,{default:(0,K.k6)((function(){return[(0,K.bF)(l,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Hw,[e.isNetworkPrefilled?((0,K.uX)(),(0,K.Wv)(i,{key:0,type:e.INFO_BOX_TYPES.warning,text:e.$t("pages.network.thirdPartyDetails")},null,8,["type","text"])):((0,K.uX)(),(0,K.CE)("p",$w,(0,tt.v_)(e.$t("pages.network.formLabel")),1)),(0,K.bF)(u,{key:"name",name:"name",rules:{required:!0,network_exists:[e.customNetworks,e.savedNetworkName],max_len:e.NETWORK_NAME_MAX_LENGTH}},{default:(0,K.k6)((function(n){var a=n.field,r=n.errorMessage;return[(0,K.bF)(s,(0,K.v6)(a,{modelValue:e.newNetworkName,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.newNetworkName=t}),"data-cy":"network-name",placeholder:e.$t("pages.network.networkNamePlaceholder"),label:e.$t("pages.network.networkNameLabel"),message:r,"text-limit":e.NETWORK_NAME_MAX_LENGTH}),null,16,["modelValue","placeholder","label","message","text-limit"])]})),_:1},8,["rules"]),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.formStructure,(function(t){var n=t.inputs,a=t.name,r=t.protocol;return(0,K.uX)(),(0,K.CE)("div",{key:r,"data-cy":"group-".concat(r)},[Kw,(0,K.Lk)("h3",{class:"text-heading-3",textContent:(0,tt.v_)(a)},null,8,qw),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(n,(function(t){return(0,K.uX)(),(0,K.Wv)(u,{key:r+t.key,name:"".concat(r,"-").concat(t.key),rules:Object.assign({required:!0===t.required,url:!0},t.validationRules)},{default:(0,K.k6)((function(n){var a=n.field,o=n.errorMessage;return[(0,K.bF)(s,(0,K.v6)(a,{modelValue:e.newNetworkProtocols[r][t.key],"onUpdate:modelValue":function(n){return e.newNetworkProtocols[r][t.key]=n},placeholder:t.getPlaceholder(),label:t.getLabel(),"data-cy":t.key,message:o}),null,16,["modelValue","onUpdate:modelValue","placeholder","label","data-cy","message"])]})),_:2},1032,["name","rules"])})),128))],8,jw)})),128)),(0,K.bF)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[Object.keys(e.errors).length?((0,K.uX)(),(0,K.Wv)(i,{key:0,class:"invalid-form-message",type:e.INFO_BOX_TYPES.danger,text:e.$t("validation.formInvalid")},null,8,["type","text"])):(0,K.Q3)("",!0)]})),_:1}),(0,K.Lk)("div",Gw,[(0,K.bF)(c,{"data-cy":"cancel",variant:"muted",class:"cancel-button","extra-padded":"",text:e.$t("common.cancel"),onClick:e.goBack},null,8,["text","onClick"]),(0,K.bF)(c,{icon:e.isEdit?null:e.PlusCircleIcon,disabled:!!Object.keys(e.errors).length,"data-cy":"btn-add-network",class:"add-button",onClick:t[1]||(t[1]=function(t){return e.addOrUpdateNetwork()})},{default:(0,K.k6)((function(){return[e.isEdit?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.eW)((0,tt.v_)(e.$t("pages.network.apply")),1)],64)):((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.eW)((0,tt.v_)(e.$t("pages.network.addNetwork")),1)],64))]})),_:1},8,["icon","disabled"])])])]})),_:1})]})),_:1})}var Zw=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Yw=(0,K.pM)({name:"NetworkForm",components:{InfoBox:Qg.A,BtnMain:Mo.A,InputField:ev.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9},setup:function(){var e,t=this,n=(0,De.mN)(),a=n.setValues,r=n.validate,u=n.errors,c=o.E4.map((function(e){var t=i.C.getAdapter(e);return{protocol:e,name:t.protocolName,inputs:t.getNetworkSettings()}})),l=(0,za.rd)(),d=(0,za.lq)(),p=(0,ce.fI)(),v=p.networks,f=p.customNetworks,m=p.switchNetwork,g=p.addCustomNetwork,h=p.updateCustomNetwork,A=d.name===Ye.iO,k=null===(e=d.params.name)||void 0===e?void 0:e.toString(),y=A?f.value.findIndex((function(e){var t=e.name;return t===k})):null,b=Object.fromEntries(o.E4.map((function(e){return[e,{}]}))),w=(0,bt.KR)(""),C=(0,bt.KR)(b),x=(0,bt.KR)(!1);function L(){l.replace({name:Ye.nj})}function S(){return Zw(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,r();case 2:if(e.sent.valid){e.next=4;break}return e.abrupt("return");case 4:t={name:w.value,type:o.Qb,protocols:C.value},A?h(y,t):g(t),m(w.value),L();case 8:case"end":return e.stop()}}),e)})))}function T(){o.E4.forEach((function(e){var t=i.C.getAdapter(e),n=t.getNetworkSettings();C.value[e]=Object.fromEntries(n.map((function(e){var t=e.key,n=e.defaultValue;return n?[t,n]:[]})))}))}function E(){if(Object.keys(d.query).length){var e=["nodeUrl","middlewareUrl"];e.forEach((function(e){var t=d.query[e];t&&"string"===typeof t&&(C.value[o.yv.aeternity][e]=t,x.value=!0)}))}}function I(){var e={name:w.value};o.E4.forEach((function(t){var n=C.value[t];Object.keys(n).forEach((function(a){e["".concat(t,"-").concat(a)]=n[a]}))})),a(e)}return(0,K.sV)((function(){return Zw(t,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:A?(w.value=k,C.value=v.value[w.value].protocols):(T(),E()),I();case 2:case"end":return e.stop()}}),e)})))})),{NETWORK_NAME_MAX_LENGTH:o.VG,INFO_BOX_TYPES:Qg.F,PlusCircleIcon:Rw,savedNetworkName:k,newNetworkProtocols:C,newNetworkName:w,networks:v,customNetworks:f,isNetworkPrefilled:x,isEdit:A,formStructure:c,errors:u,addOrUpdateNetwork:S,goBack:L}}}),zw=(0,Ft.A)(Yw,[["render",Qw],["__scopeId","data-v-e89c9e08"]]),Jw=zw;var eC={key:0,class:"multisig-details"},tC={class:"address-row"},nC={class:"address-row"},aC={class:"row"};function rC(e,t,n,a,r,o){var i=(0,K.g2)("Avatar"),s=(0,K.g2)("AddressFormatted"),u=(0,K.g2)("DetailsItem"),c=(0,K.g2)("ExternalLinkIcon"),l=(0,K.g2)("LinkButton"),d=(0,K.g2)("BtnHelp"),p=(0,K.g2)("ConsensusLabel"),v=(0,K.g2)("AuthorizedAccounts"),f=(0,K.g2)("IonContent"),m=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(m,null,{default:(0,K.k6)((function(){return[(0,K.bF)(f,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[e.activeMultisigAccount?((0,K.uX)(),(0,K.CE)("div",eC,[(0,K.bF)(u,{label:e.$t("multisig.address")},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",tC,[(0,K.bF)(i,{class:"avatar",address:e.activeMultisigAccount.gaAccountId},null,8,["address"]),(0,K.bF)(s,{address:e.activeMultisigAccount.gaAccountId,"column-count":9,class:"text-address"},null,8,["address"])])]})),_:1},8,["label"]),(0,K.bF)(u,{label:e.$t("common.contractId")},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",nC,[(0,K.bF)(i,{class:"avatar",address:e.activeMultisigAccount.contractId},null,8,["address"]),(0,K.bF)(s,{address:e.activeMultisigAccount.contractId,"column-count":9,class:"text-address"},null,8,["address"])])]})),_:1},8,["label"]),(0,K.bF)(l,{class:"explorer-link",to:e.activeMultisigAccountExplorerUrl},{icon:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"external-icon"})]})),default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("multisig.explorerLink"))+" ",1)]})),_:1},8,["to"]),(0,K.Lk)("div",aC,[(0,K.bF)(u,{class:"details-item",label:e.$t("multisig.version"),value:e.activeMultisigAccount.version},null,8,["label","value"]),(0,K.bF)(u,{class:"details-item",label:e.$t("multisig.currentNonce"),value:e.activeMultisigAccount.nonce},null,8,["label","value"])]),(0,K.bF)(u,{class:"details-item",label:e.$t("multisig.consensus")},{label:(0,K.k6)((function(){return[(0,K.bF)(d,{onHelp:e.openConsensusInfoModal},null,8,["onHelp"])]})),value:(0,K.k6)((function(){return[(0,K.bF)(p,{"confirmations-required":e.activeMultisigAccount.confirmationsRequired,"has-pending-transaction":e.activeMultisigAccount.hasPendingTransaction,"confirmed-by":e.activeMultisigAccount.confirmedBy,signers:e.activeMultisigAccount.signers},null,8,["confirmations-required","has-pending-transaction","confirmed-by","signers"])]})),_:1},8,["label"]),(0,K.bF)(v,{"address-list":e.activeMultisigAccount.signers},null,8,["address-list"])])):(0,K.Q3)("",!0)]})),_:1})]})),_:1})}var oC=n(74295),iC={class:"account-list"};function sC(e,t,n,a,r,o){var i=(0,K.g2)("AccountItem"),s=(0,K.g2)("DialogBox"),u=(0,K.g2)("DetailsItem");return(0,K.uX)(),(0,K.Wv)(u,{label:e.$t("multisig.authorizedSigners"),class:"authorized-accounts"},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",iC,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.addressList,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t,class:"account-row"},[(0,K.bF)(i,{address:t,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]),e.isLocalAccountAddress(t)?((0,K.uX)(),(0,K.Wv)(s,{key:0,class:"dialog",dense:""},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.you")),1)]})),_:1})):(0,K.Q3)("",!0)])})),128))])]})),_:1},8,["label"])}const uC=(0,K.pM)({name:"AuthorizedAccounts",components:{DialogBox:Tb.h,DetailsItem:Ts.A,AccountItem:Ld.A},props:{addressList:{type:Array,default:function(){return[]}}},setup:function(){var e=(0,ce.oV)(),t=e.isLocalAccountAddress;return{isLocalAccountAddress:t,PROTOCOLS:o.yv}}}),cC=(0,Ft.A)(uC,[["render",sC],["__scopeId","data-v-1229a01e"]]),lC=cC,dC=(0,K.pM)({name:"MultisigDetails",components:{BtnHelp:sd.A,ConsensusLabel:Jn,LinkButton:wt.A,AuthorizedAccounts:lC,Avatar:us.A,AddressFormatted:oC.A,DetailsItem:Ts.A,ExternalLinkIcon:Mt.A,IonContent:Fe.W9,IonPage:Fe.AO},setup:function(){var e=(0,ce.U8)(),t=e.openModal,n=(0,ce.ci)(),a=n.activeMultisigAccount,r=n.activeMultisigAccountExplorerUrl,i=n.fetchAdditionalInfo,s=n.stopFetchingAdditionalInfo;function u(){t(o.bG)}return(0,Fe.xX)(i),(0,Fe.Y0)(s),(0,K.xo)(s),{activeMultisigAccount:a,activeMultisigAccountExplorerUrl:r,openConsensusInfoModal:u}}}),pC=(0,Ft.A)(dC,[["render",rC],["__scopeId","data-v-170ee221"]]),vC=pC;function fC(e,t,n,a,r,o){var i=(0,K.g2)("IonRouterOutlet"),s=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(s,null,{default:(0,K.k6)((function(){return[(0,K.bF)(i,{animated:!e.RUNNING_IN_TESTS&&!e.IS_FIREFOX,animation:e.popInAnimation},null,8,["animated","animation"])]})),_:1})}const mC=(0,K.pM)({components:{IonRouterOutlet:Fe.Rg,IonPage:Fe.AO},setup:function(){var e=(0,za.lq)(),t=(0,ce.mv)(),n=t.setHomeRouteName;function r(){var t=(0,a.A)(e.matched,1),r=t[0];n(r.meta.isMultisig?Ye.zn:Ye.qJ)}return(0,K.$u)((function(){r()})),(0,K.sV)((function(){r()})),{RUNNING_IN_TESTS:o.yW,IS_FIREFOX:o.$M,popInAnimation:du.l$}}}),gC=(0,Ft.A)(mC,[["render",fC]]),hC=gC;var AC={key:0},kC={class:"apps-browser-popular-apps"},yC={class:"apps-browser-list"},bC=["src"];function wC(e,t,n,a,r,o){var i=(0,K.g2)("AppsBrowserHeader"),s=(0,K.g2)("BtnIcon"),u=(0,K.g2)("InputField"),c=(0,K.g2)("Field"),l=(0,K.g2)("AppsBrowserListItem"),d=(0,K.g2)("AppsBrowserHistory"),p=(0,K.g2)("BackToTop"),v=(0,K.g2)("IonContent"),f=(0,K.g2)("IonPage");return(0,K.uX)(),(0,K.Wv)(f,null,{default:(0,K.k6)((function(){return[(0,K.bF)(v,{class:"ion-padding ion-content-bg"},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:(0,tt.C4)(["apps-browser",{"app-selected":e.selectedApp}])},[(0,K.bF)(i,{"selected-app":e.selectedApp,iframe:e.iframeRef,onBack:t[0]||(t[0]=function(t){return e.back()}),onRefresh:t[1]||(t[1]=function(t){return e.refresh()})},null,8,["selected-app","iframe"]),e.selectedApp?((0,K.uX)(),(0,K.CE)("iframe",{key:1,ref:"iframeRef",title:"selectedApp",class:"apps-browser-iframe",src:e.selectedApp.url,onLoad:t[3]||(t[3]=function(t){return e.onAppLoaded()})},null,40,bC)):((0,K.uX)(),(0,K.CE)("div",AC,[(0,K.bF)(c,{modelValue:e.customAppURL,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.customAppURL=t}),name:"customAppURL",rules:{url:e.customAppURL.length>0}},{default:(0,K.k6)((function(t){var n=t.field,a=t.errorMessage,r=t.resetField;return[(0,K.bF)(u,(0,K.v6)(n,{"model-value":e.customAppURL,class:"input-url",type:"url","show-message-help":"",placeholder:e.$t("pages.appsBrowser.inputPlaceholder"),message:a,onKeydown:(0,We.jR)((0,We.D$)((function(t){return e.handleEnter(t,a)}),["stop"]),["enter"])}),{after:(0,K.k6)((function(){return[e.customAppURL.length?((0,K.uX)(),(0,K.Wv)(s,{key:1,size:"sm",icon:e.CloseIcon,onClick:function(e){return r({value:""})}},null,8,["icon","onClick"])):((0,K.uX)(),(0,K.Wv)((0,K.$y)(e.GlobeSmallIcon),{key:0}))]})),_:2},1040,["model-value","placeholder","message","onKeydown"])]})),_:1},8,["modelValue","rules"]),(0,K.Lk)("div",kC,(0,tt.v_)(e.$t("pages.appsBrowser.popularApps")),1),(0,K.Lk)("div",yC,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.DAPPS_LIST,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t.title,class:"apps-browser-card"},[(0,K.bF)(l,{title:t.title,image:t.image,onClick:function(n){return e.onSelectApp(t)}},null,8,["title","image","onClick"])])})),128))]),(0,K.bF)(d,{onSelectApp:e.onSelectApp},null,8,["onSelectApp"])]))],2),e.selectedApp?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(p,{key:0}))]})),_:1})]})),_:1})}var CC=n(22146),xC=n(31490),LC=(n(13609),n(54228)),SC=(0,LC.S)([],o.d5.appsBrowserHistory);function TC(){function e(e){var t=new URL(e),n=t.hostname,a=t.pathname;return"".concat(n).concat(a)}function t(t){var n=e(t.url),a=SC.value.filter((function(e){return e.cleanPath!==n}));a.unshift(Object.assign(Object.assign({},t),{cleanPath:n})),a.length>o.Y6&&a.pop(),SC.value=a}return{history:SC,addHistoryItem:t}}var EC={class:"apps-browser-header"},IC={key:0,class:"left"},_C={class:"title"},WC={key:1,class:"host"},FC={class:"right"};function DC(e,t,n,a,r,o){var i=(0,K.g2)("AccountSelector"),s=(0,K.g2)("BtnIcon"),u=(0,K.g2)("Truncate"),c=(0,K.g2)("SecureIcon"),l=(0,K.g2)("BtnClose");return(0,K.uX)(),(0,K.CE)("div",EC,[e.selectedApp?((0,K.uX)(),(0,K.CE)("div",IC,[(0,K.bF)(i,{modelValue:e.accountAddress,"onUpdate:modelValue":[t[0]||(t[0]=function(t){return e.accountAddress=t}),e.onAccountChange],"avatar-only":"",options:e.aeAccountsSelectOptions},null,8,["modelValue","options","onUpdate:modelValue"]),(0,K.bF)(s,{class:"icon-btn","data-cy":"back-arrow",icon:e.BackIcon,onClick:e.back},null,8,["icon","onClick"])])):(0,K.Q3)("",!0),(0,K.Lk)("div",_C,[e.selectedApp?((0,K.uX)(),(0,K.CE)("div",WC,[e.isSecure?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"icon secure-lock"})):(0,K.Q3)("",!0),(0,K.eW)(" "+(0,tt.v_)(e.selectedAppHost),1)])):((0,K.uX)(),(0,K.Wv)(u,{key:0,str:e.$t("pages.titles.appsBrowser"),class:"text"},null,8,["str"]))]),(0,K.Lk)("div",FC,[e.selectedApp?((0,K.uX)(),(0,K.Wv)(s,{key:0,icon:e.ThreeDotsIcon,onClick:e.openActions},null,8,["icon","onClick"])):(0,K.Q3)("",!0),(0,K.bF)(l,{"data-cy":"btn-close",class:"btn-close",onClick:e.close},null,8,["onClick"])])])}var BC=n(86295),PC={viewBox:"0 0 18 18",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"icon"},MC=(0,K.Lk)("path",{id:"Vector",d:"M5.99143 15.1C5.50286 15.1 5.13214 14.9693 4.87929 14.708C4.62643 14.4509 4.5 14.0632 4.5 13.5448V9.06237C4.5 8.54817 4.62643 8.16252 4.87929 7.90542C5.13214 7.64832 5.50286 7.51977 5.99143 7.51977H12.0086C12.4971 7.51977 12.8679 7.64832 13.1207 7.90542C13.3736 8.16252 13.5 8.54817 13.5 9.06237V13.5448C13.5 14.0632 13.3736 14.4509 13.1207 14.708C12.8679 14.9693 12.4971 15.1 12.0086 15.1H5.99143ZM6.17143 13.962H11.8286C11.9614 13.962 12.0643 13.922 12.1371 13.8419C12.21 13.766 12.2464 13.6522 12.2464 13.5005V9.11295C12.2464 8.96121 12.21 8.84742 12.1371 8.77155C12.0643 8.69569 11.9614 8.65775 11.8286 8.65775H6.17143C6.04286 8.65775 5.94 8.69569 5.86286 8.77155C5.79 8.84742 5.75357 8.96121 5.75357 9.11295V13.5005C5.75357 13.6522 5.79 13.766 5.86286 13.8419C5.94 13.922 6.04286 13.962 6.17143 13.962ZM5.67643 8.05083V6.04039C5.67643 5.26066 5.83071 4.60948 6.13929 4.08685C6.45214 3.56001 6.86143 3.16382 7.36714 2.89829C7.87286 2.63276 8.41714 2.5 9 2.5C9.58286 2.5 10.1271 2.63276 10.6329 2.89829C11.1386 3.16382 11.5457 3.56001 11.8543 4.08685C12.1671 4.60948 12.3236 5.26066 12.3236 6.04039V8.05083H11.1214V5.92659C11.1214 5.43347 11.0229 5.01831 10.8257 4.68113C10.6329 4.33974 10.3757 4.08053 10.0543 3.90351C9.73286 3.72649 9.38143 3.63798 9 3.63798C8.61857 3.63798 8.26714 3.72649 7.94571 3.90351C7.62429 4.08053 7.36714 4.33974 7.17429 4.68113C6.98143 5.01831 6.885 5.43347 6.885 5.92659V8.05083H5.67643Z",fill:"currentColor"},null,-1),OC=[MC];function RC(e,t){return(0,K.uX)(),(0,K.CE)("svg",PC,OC)}const NC={},UC=(0,Ft.A)(NC,[["render",RC]]),XC=UC;var VC={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},HC=(0,K.Lk)("path",{d:"M17 12C17 11.5055 17.1466 11.0222 17.4213 10.6111C17.696 10.2 18.0865 9.87952 18.5433 9.6903C19.0001 9.50108 19.5028 9.45157 19.9877 9.54804C20.4727 9.6445 20.9181 9.8826 21.2678 10.2322C21.6174 10.5819 21.8555 11.0273 21.952 11.5123C22.0484 11.9972 21.9989 12.4999 21.8097 12.9567C21.6205 13.4135 21.3 13.804 20.8889 14.0787C20.4778 14.3534 19.9945 14.5 19.5 14.5C18.837 14.5 18.2011 14.2366 17.7322 13.7678C17.2634 13.2989 17 12.663 17 12Z",fill:"currentColor"},null,-1),$C=(0,K.Lk)("path",{opacity:"0.66",d:"M9.92133 10.6111C9.64662 11.0222 9.5 11.5055 9.5 12C9.5 12.663 9.76339 13.2989 10.2322 13.7678C10.7011 14.2366 11.337 14.5 12 14.5C12.4945 14.5 12.9778 14.3534 13.3889 14.0787C13.8 13.804 14.1205 13.4135 14.3097 12.9567C14.4989 12.4999 14.5484 11.9972 14.452 11.5123C14.3555 11.0273 14.1174 10.5819 13.7678 10.2322C13.4181 9.8826 12.9727 9.6445 12.4877 9.54804C12.0028 9.45157 11.5001 9.50108 11.0433 9.6903C10.5865 9.87952 10.196 10.2 9.92133 10.6111Z",fill:"currentColor"},null,-1),jC=(0,K.Lk)("path",{opacity:"0.44",d:"M2.42133 10.6111C2.14662 11.0222 2 11.5055 2 12C2 12.663 2.26339 13.2989 2.73223 13.7678C3.20107 14.2366 3.83696 14.5 4.5 14.5C4.99445 14.5 5.4778 14.3534 5.88893 14.0787C6.30005 13.804 6.62048 13.4135 6.8097 12.9567C6.99892 12.4999 7.04843 11.9972 6.95196 11.5123C6.8555 11.0273 6.6174 10.5819 6.26777 10.2322C5.91814 9.8826 5.47268 9.6445 4.98773 9.54804C4.50277 9.45157 4.00011 9.50108 3.54329 9.6903C3.08648 9.87952 2.69603 10.2 2.42133 10.6111Z",fill:"currentColor"},null,-1),KC=[HC,$C,jC];function qC(e,t){return(0,K.uX)(),(0,K.CE)("svg",VC,KC)}const GC={},QC=(0,Ft.A)(GC,[["render",qC]]),ZC=QC;var YC=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const zC=(0,K.pM)({components:{BtnClose:BC.A,Truncate:Nn.A,BtnIcon:Co.A,SecureIcon:XC,AccountSelector:ps},props:{selectedApp:{type:Object,default:null},iframe:{type:Object,default:null}},emits:["back","refresh"],setup:function(e,t){var n=t.emit,a=(0,Fe.jq)(),r=(0,ce.U8)(),i=r.openModal,u=(0,ce.mv)(),c=u.homeRouteName,l=(0,ce.oV)(),d=l.isLoggedIn,p=l.activeAccount,v=l.aeAccountsSelectOptions,f=l.setActiveAccountByAddress,m=(0,K.EW)((function(){return d.value?c.value:Ye.nv})),g=(0,K.EW)((function(){var t;return null===(t=null===e||void 0===e?void 0:e.selectedApp)||void 0===t?void 0:t.url.startsWith("https://")})),h=(0,K.EW)((function(){var t,n=new URL(null===(t=null===e||void 0===e?void 0:e.selectedApp)||void 0===t?void 0:t.url);return null===n||void 0===n?void 0:n.host})),A=(0,bt.KR)((0,bt.R1)(p.value.address));function k(e){f(e)}function y(){n("back")}function b(){a.navigate("/".concat(m.value),"back","push")}function w(){return YC(this,void 0,void 0,(0,s.A)().mark((function t(){var a;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i(o.TG,{iframe:e.iframe,selectedApp:null===e||void 0===e?void 0:e.selectedApp});case 3:a=t.sent,(null===a||void 0===a?void 0:a.action)===o.dL.refresh&&n("refresh"),t.next=10;break;case 7:throw t.prev=7,t.t0=t["catch"](0),t.t0;case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))}return{isSecure:g,openActions:w,homeRouteName:c,accountAddress:A,selectedAppHost:h,onAccountChange:k,aeAccountsSelectOptions:v,BackIcon:ao.A,ThreeDotsIcon:ZC,ROUTE_ACCOUNT:Ye.qJ,ROUTE_MORE:Ye.Sr,back:y,close:b}}}),JC=(0,Ft.A)(zC,[["render",DC],["__scopeId","data-v-639ab793"]]),ex=JC;var tx={class:"apps-browser-list-item",type:"button"},nx={class:"app-image-wrapper"},ax=["src"],rx={class:"app-title"};function ox(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("button",tx,[(0,K.Lk)("div",nx,[(0,K.Lk)("img",{src:e.imageUrl,class:"app-image",alt:"Dapp favicon"},null,8,ax)]),(0,K.Lk)("div",rx,(0,tt.v_)(e.title),1)])}const ix=(0,K.pM)({name:"AppsBrowserListItem",props:{title:{type:String,required:!0},image:{type:String,default:null}},setup:function(e){var t=(0,K.EW)((function(){return e.image?n(33541)("./".concat(e.image)):null}));return{imageUrl:t}}}),sx=(0,Ft.A)(ix,[["render",ox],["__scopeId","data-v-4e0231c6"]]),ux=sx;var cx={key:0,class:"apps-browser-history"},lx={class:"apps-browser-history-title"},dx={class:"apps-browser-list"};function px(e,t,n,a,r,o){var i=(0,K.g2)("AppsBrowserHistoryListItem");return e.hasHistory?((0,K.uX)(),(0,K.CE)("div",cx,[(0,K.Lk)("div",lx,(0,tt.v_)(e.$t("pages.appsBrowser.recentApps")),1),(0,K.Lk)("div",dx,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.history,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t.cleanPath},[(0,K.bF)(i,{title:t.title,image:t.image,url:t.url,onClick:function(n){return e.$emit("select-app",t)}},null,8,["title","image","url","onClick"])])})),128))])])):(0,K.Q3)("",!0)}var vx={class:"app-image-wrapper"},fx=["src"],mx={class:"app-info"},gx={key:0,class:"app-title"},hx={class:"app-url"};function Ax(e,t,n,a,r,o){var i=(0,K.g2)("IconWrapper");return(0,K.uX)(),(0,K.CE)("button",{class:(0,tt.C4)(["apps-browser-history-list-item",{"no-title":!e.title}]),type:"button"},[(0,K.Lk)("div",vx,[e.image?((0,K.uX)(),(0,K.CE)("img",{key:0,src:e.imageUrl,class:"app-image",alt:"Dapp favicon"},null,8,fx)):((0,K.uX)(),(0,K.Wv)(i,{key:1,icon:e.GlobeSmallIcon,class:"app-image default","is-full":""},null,8,["icon"]))]),(0,K.Lk)("div",mx,[e.title?((0,K.uX)(),(0,K.CE)("div",gx,(0,tt.v_)(e.title),1)):(0,K.Q3)("",!0),(0,K.Lk)("div",hx,(0,tt.v_)(e.url),1)])],2)}const kx=(0,K.pM)({name:"AppsBrowserHistoryListItem",components:{IconWrapper:Fo.Ay},props:{url:{type:String,required:!0},title:{type:String,default:null},image:{type:String,default:null}},setup:function(e){var t=(0,K.EW)((function(){return e.image?n(33541)("./".concat(e.image)):null}));return{imageUrl:t,GlobeSmallIcon:vi.A}}}),yx=(0,Ft.A)(kx,[["render",Ax],["__scopeId","data-v-bd95fcd4"]]),bx=yx,wx=(0,K.pM)({name:"AppsBrowserHistory",components:{AppsBrowserHistoryListItem:bx},emits:["select-app"],setup:function(){var e=TC(),t=e.history,n=(0,K.EW)((function(){return t.value.length>0}));return{hasHistory:n,history:t}}}),Cx=(0,Ft.A)(wx,[["render",px],["__scopeId","data-v-46fe5ab0"]]),xx=Cx;var Lx=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Sx=[{title:"Aeternity Governance",url:"https://governance.aeternity.com/",image:"Governance.webp"},{title:"Graffiti Aepp",url:"https://graffiti.aeternity.com",image:"graffiti.svg"},{title:"Superhero DEX",url:"https://aepp.dex.superhero.com/swap",image:"SuperheroDEX.svg"}],Tx="selected-app";const Ex=(0,K.pM)({components:{AppsBrowserListItem:ux,AppsBrowserHeader:ex,AppsBrowserHistory:xx,InputField:ev.A,BtnIcon:Co.A,Field:De.D0,IonPage:Fe.AO,IonContent:Fe.W9,BackToTop:va.A},setup:function(){var e,t=TC(),n=t.addHistoryItem,a=(0,bt.KR)(),r=(0,bt.KR)(),i=(0,bt.KR)(""),u=(0,bt.KR)(""),c=(0,ce.CP)(),l=c.getAeSdk,d=(0,ce.U8)(),p=d.openModal,v=d.modalsOpen,f=(0,K.EW)((function(){return!!v.value.find((function(e){return e.name===o.om}))}));function m(){return Lx(this,void 0,void 0,(0,s.A)().mark((function t(){var o,i,c,d;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r.value&&a.value){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,l();case 4:o=t.sent,i=!1,c=r.value.contentWindow;try{d=new CC.A({target:c,origin:void 0}),u.value=o.addRpcClient(d),o.shareWalletInfo(u.value),e=setInterval((function(){try{var e=o._clients.get(u.value);e&&(o.shareWalletInfo(u.value),e.status!==xC.fE.CONNECTED||i||(i=!0,n(a.value)))}catch(t){(0,L.fY)(t)}}),3e3)}catch(s){(0,L.fY)(s)}case 8:case"end":return t.stop()}}),t)})))}function g(){r.value&&a.value&&((0,L.AP)([Tx],a.value),window.location.reload())}function h(e){p(o.om).then((function(){var t=e.url.startsWith("http://")||e.url.startsWith("https://")?e.url:"https://".concat(e.url);a.value=Object.assign(Object.assign({},e),{url:t})}),(function(){}))}function A(e,t){i.value.length>0&&!t&&!f.value&&((null===e||void 0===e?void 0:e.target).blur(),h({url:i.value}))}function k(){return Lx(this,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a.value=null,i.value="",e&&clearInterval(e),!u.value){t.next=8;break}return t.next=6,l();case 6:n=t.sent,n._clients.get(u.value)&&n.removeRpcClient(u.value);case 8:case"end":return t.stop()}}),t)})))}function y(){k()}return(0,K.sV)((function(){var e=(0,L._S)([Tx]);e&&(a.value=e,(0,L.AP)([Tx],null))})),(0,K.hi)((function(){k()})),{refresh:g,iframeRef:r,customAppURL:i,DAPPS_LIST:Sx,selectedApp:a,onSelectApp:h,onAppLoaded:m,CloseIcon:Gb,GlobeSmallIcon:vi.A,back:y,isWarningModalOpened:f,handleEnter:A}}}),Ix=(0,Ft.A)(Ex,[["render",wC],["__scopeId","data-v-1a03c862"]]),_x=Ix;var Wx=n(55437),Fx=[].concat((0,te.A)(hw),[{path:"/",name:Ye.nv,component:qc,meta:{title:"",hideHeader:!0,ifNotAuthOnly:!0,notPersist:!0}},{path:"/",component:hC,redirect:{name:Ye.qJ},children:[{path:"account",name:Ye.qJ,component:Si},{path:"account-details/",component:Jg,props:{viewComponentName:o.AK},children:[{path:"assets",name:Ye.r9,component:Jg,props:{viewComponentName:o._V},meta:{redirectIfNull:Ye.no,showFilterBar:!0,hideHeader:!0,hideFilterButton:!0}},{path:"",name:Ye.no,component:ba,meta:{hideHeader:!0,showFilterBar:!0}},{path:"names",component:Jg,props:{viewComponentName:o.rh},meta:{redirectIfNull:Ye.no},children:[{path:"",name:Ye.ao,component:Vv,props:!0,meta:{hideHeader:!0}},{path:"auctions",component:ep,props:!0,name:Ye.tl,meta:{hideHeader:!0}},{path:"claim",component:ov,props:!0,name:Ye.PC,meta:{hideHeader:!0}}]}]}]},{path:"/account-details/transactions/:hash/:transactionOwner",name:Ye.iB,component:Jg,props:{viewComponentName:o.nZ},meta:{title:"txDetails",showHeaderNavigation:!0,backRoute:{name:Ye.no}}},{path:"/multisig",component:hC,meta:{isMultisig:!0},children:[{path:"",name:Ye.zn,component:ts},{path:"details/",component:Da,children:[{path:"assets",name:Ye.kb,component:Na,meta:{showFilterBar:!0,hideHeader:!0,hideFilterButton:!0}},{path:"",name:Ye.uc,component:$a,meta:{hideHeader:!0,showFilterBar:!0}},{path:"info",name:Ye.n3,component:vC,meta:{hideHeader:!0}}]},{path:"details/transactions/:hash/:transactionOwner",name:Ye.tX,component:Wx["default"],props:{multisigDashboard:!0},meta:{title:"txDetails",showHeaderNavigation:!0,backRoute:{name:Ye.uc}}},{path:"details/multisig-proposals",name:Ye.Ie,component:tw,props:!0,meta:{title:"multisigProposalDetails",backRoute:{name:Ye.uc},showHeaderNavigation:!0}},{path:"coins/:id?",component:wu,beforeEnter:function(e,t,n){e.params.id?n():n({name:Ye.zn})},children:[{name:Ye.fc,path:"",component:$a,props:!0,meta:{title:"coinDetails",backRoute:{name:Ye.kb},showHeaderNavigation:!0,showFilterBar:!0,hideSearchBar:!0,isMultisig:!0}},{name:Ye.iz,path:"details",component:Xu,props:!0,meta:{title:"coinDetails",backRoute:{name:Ye.kb},showHeaderNavigation:!0,isMultisig:!0}}]}]},{path:"/transfer/:t(.*)",redirect:"/account/:a(.*)"},{name:Ye.kM,path:"/popup-sign-tx",component:Ps,props:!0,meta:{notPersist:!0}},{name:Ye.Q6,path:"/popup-raw-sign",component:js,props:!0,meta:{notPersist:!0}},{name:Ye.E8,path:"/connect",component:Zm,props:!0,meta:{notPersist:!0}},{name:Ye.xO,path:"/message-sign",component:pg,props:!0,meta:{notPersist:!0}},{name:Ye.Go,path:"/account-list",component:ig,props:!0,meta:{notPersist:!0}},{path:"/more/settings",name:"settings",component:SA,meta:{title:"settings",showHeaderNavigation:!0}},{path:"/more/settings/reset-wallet",name:"settings-reset-wallet",component:fw,meta:{title:"resetWallet",showHeaderNavigation:!0}},{path:"/more/settings/errors-log",name:"settings-errors-log",component:sm,meta:{title:"saveErrorsLog",showHeaderNavigation:!0}},{path:"/more/settings/language",name:"settings-language",component:Fl,meta:{title:"language",showHeaderNavigation:!0}},{path:"/more/settings/currency",name:"settings-currency",component:$l,meta:{title:"currency",showHeaderNavigation:!0}},{path:"/more/settings/seed-phrase",name:"settings-seed-phrase",component:fh,meta:{title:"seedPhrase",showHeaderNavigation:!0}},{path:"/more/settings/seed-phrase/details",name:"settings-seed-phrase-details",component:Mh,meta:{title:"seedPhrase",showHeaderNavigation:!0}},{path:"/more/settings/seed-phrase/details/verify",name:"settings-seed-phrase-verify",component:bA,meta:{title:"seedPhrase",showHeaderNavigation:!0}},{path:"/more/settings/networks",name:Ye.nj,component:Xw,props:!0,meta:{title:"networks",showHeaderNavigation:!0}},{path:"/more/settings/networks/add",name:Ye.jA,component:Jw,props:!0,meta:{title:"networkAdd",showHeaderNavigation:!0}},{path:"/more/settings/networks/:name",name:Ye.iO,component:Jw,props:!0,meta:{title:"networkEdit",showHeaderNavigation:!0}},{path:"/more/settings/permissions",component:fm,name:Ye.z0,meta:{title:"permissionsSettings",showHeaderNavigation:!0}},{path:"/more/settings/permissions/add",component:Fm,name:Ye.pe,meta:{title:"permissionsAdd",showHeaderNavigation:!0}},{path:"/more/settings/permissions/:host",component:Fm,name:Ye.eS,meta:{title:"permissionsEdit",showHeaderNavigation:!0,isEdit:!0}},{path:"/more/about",component:pn,name:"about",meta:{title:"about",showHeaderNavigation:!0}},{path:"/more/about/terms",component:nb,name:"about-terms",meta:{title:"terms",showHeaderNavigation:!0,showScrollbar:!0,ifNotAuth:!0}},{path:"/more/about/privacy",component:Ug,name:"about-privacy",meta:{title:"privacy",ifNotAuth:!0,showHeaderNavigation:!0,showScrollbar:!0}},{path:"/more/tips-claim",name:"tips-claim",component:lb,meta:{title:"claimTips",showHeaderNavigation:!0}},{path:"/tips",redirect:"/account"},{path:"/retip",component:ch,meta:{title:"sendTip",notPersist:!0,showHeaderNavigation:!0}},{path:"/more",component:Gp,name:"more",meta:{title:"more",showHeaderNavigation:!0}},{path:"/more/invite",name:"invite",component:hl,meta:{title:"giftCards",showHeaderNavigation:!0}},{path:"/more/settings/notifications",name:"notification-settings",component:em,meta:{title:"notifications",showHeaderNavigation:!0}},{path:"/account-details/names/auctions/:name/",component:Jl,props:!0,children:[{path:"",component:kd,props:!0,name:Ye.cH,meta:{title:"auction",showHeaderNavigation:!0}},{path:"history",component:Ed,props:!0,name:Ye.Bh,meta:{title:"auction",backRoute:{name:Ye.tl},showHeaderNavigation:!0}}]},{path:"/comment",component:hs,meta:{title:"commentNew",notPersist:!0,showHeaderNavigation:!0}},{name:Ye.rh,path:"/donate-error",component:ru,props:!0,meta:{title:"donateError",notPersist:!0,ifNotAuth:!0}},{name:"address",path:"/address",component:Za,meta:{title:"address",notPersist:!0}},{path:"/coins/:id?",component:wu,beforeEnter:function(e,t,n){e.params.id?n():n({name:Ye.qJ})},children:[{name:Ye.s4,path:"",component:Tu,props:!0,meta:{title:"coinDetails",backRoute:{name:Ye.r9},showHeaderNavigation:!0,showFilterBar:!0,hideSearchBar:!0}},{name:Ye.r,path:"details",component:Xu,props:!0,meta:{title:"coinDetails",backRoute:{name:Ye.r9},showHeaderNavigation:!0}}]},{path:"/tokens/:id?",component:wu,beforeEnter:function(e,t,n){e.params.id?n():n({name:Ye.qJ})},children:[{name:Ye.uY,path:"",component:Tu,props:!0,meta:{title:"tokenDetails",backRoute:{name:Ye.r9},showHeaderNavigation:!0,showFilterBar:!0,hideSearchBar:!0}},{name:Ye.tE,path:"details",component:Xu,props:!0,meta:{title:"tokenDetails",backRoute:{name:Ye.r9},showHeaderNavigation:!0}}]},{name:"sign-message",path:"/sign-message",component:FA,meta:{title:"signMessage",notPersist:!0}},{name:"sign-transaction",path:"/sign-transaction",component:OA,meta:{title:"signTransaction",notPersist:!0}},{name:Ye.qC,path:"/apps-browser",component:_x,meta:{title:"appsBrowser",hideHeader:!0,notPersist:!0}},{name:Ye.HH,path:"/invite/:secretKey?",component:wl,props:!0,meta:{title:"invite",notPersist:!0}},{name:Ye.Ld,path:"/notifications",component:Of,meta:{title:"notifications",showHeaderNavigation:!0,notPersist:!0}},{name:Ye.hN,path:"/page-not-found",component:of,props:!0,meta:{ifNotAuth:!0,notPersist:!0,showHeaderNavigation:!0,title:"notFound"}},{path:"/:pathMatch(.*)*",redirect:{name:Ye.hN},props:!0,meta:{ifNotAuth:!0,notPersist:!0,showHeaderNavigation:!0,title:"notFound"}}]),Dx=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},Bx=(0,Ne.aE)({routes:Fx,history:o.u2?(0,Ne.LA)():(0,Ne.Bt)(),scrollBehavior:function(e,t,n){return n||{left:0,top:0}}}),Px=(0,ce.oV)(),Mx=Px.isLoggedIn,Ox=Px.activeAccount,Rx=Px.areAccountsRestored,Nx=Px.setActiveAccountByGlobalIdx,Ux=Px.getLastActiveProtocolAccount,Xx=(0,ce.m)(),Vx=Xx.setPopupProps,Hx=(0,ce.mv)(),$x=Hx.setLoginTargetLocation;Ge.r.init(Bx),et.init(Bx),Bx.beforeEach((function(e,t,n){return Dx(void 0,void 0,void 0,(0,s.A)().mark((function t(){var a,i,u,c;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,L.mU)(Rx);case 2:if(a=e.meta,Mx.value){t.next=6;break}return(null===a||void 0===a?void 0:a.ifNotAuthOnly)||(null===a||void 0===a?void 0:a.ifNotAuth)?n():($x(e),n({name:Ye.nv})),t.abrupt("return");case 6:if(e.name!==Ye.qC){t.next=15;break}if(o.I$||o.s4){t.next=10;break}return n({name:Ye.hN}),t.abrupt("return");case 10:if(Ox.value.protocol===o.yv.aeternity){t.next=15;break}return i=Ux(o.yv.aeternity),Nx(null===i||void 0===i?void 0:i.globalIdx),n({name:Ye.qC}),t.abrupt("return");case 15:if(!o.dx||e.name===Ye.hN){t.next=29;break}if(u=(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)({},o.tF,Ye.E8),o.ze,Ye.Go),o.sW,Ye.kM),o.LZ,Ye.Q6),o.MW,Ye.xO)[o.WZ],c=null,Object.keys(e.params).length){t.next=25;break}return t.next=21,qe();case 21:if(c=t.sent,null===c||void 0===c?void 0:c.app){t.next=25;break}return n({name:Ye.hN,params:{hideHomeButton:!0}}),t.abrupt("return");case 25:if(u===e.name){t.next=29;break}return Vx(c),n({name:u}),t.abrupt("return");case 29:n((null===a||void 0===a?void 0:a.ifNotAuthOnly)?{name:Ye.qJ}:void 0);case 30:case"end":return t.stop()}}),t)})))}));var jx=new Promise((function(e){return document.addEventListener("deviceready",e)})),Kx=new Promise((function(e){var t=Bx.afterEach((function(){e(!0),setTimeout(t)}))}));o.I$&&function(){Dx(void 0,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([jx,Kx]);case 2:Re.q.addListener("appUrlOpen",(function(e){var t=new URL(e.url),n=["superhero:",o.yS].find((function(e){return t.origin===e}));if(!n)throw new Error("Unknown url: ".concat(t.origin));try{Bx.push({path:t.pathname,hash:t.hash,query:Object.fromEntries(t.searchParams.entries())})}catch(a){if("NavigationDuplicated"!==a.name)throw a}})),Bx.afterEach((function(e){"/"===e.path?document.body.classList.remove("color-bg-app"):document.body.classList.add("color-bg-app")}));case 4:case"end":return e.stop()}}),e)})))}();const qx=Bx;var Gx={class:"content-wrapper"},Qx={class:"text-heading-1"},Zx={class:"message"};function Yx(e,t,n,a,r,o){var i=(0,K.g2)("BtnSubheader"),s=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(s,{class:"account-create-modal","from-bottom":"","has-close-button":"","no-padding":"",centered:"",onClose:e.resolve},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",Gx,[(0,K.Lk)("h1",Qx,(0,tt.v_)(e.isMultisig?e.$t("modals.createAccount.titleMultisig"):e.$t("modals.createAccount.titleAeternityAccount")),1),(0,K.Lk)("p",Zx,(0,tt.v_)(e.isMultisig?e.$t("modals.createAccount.msgMultisig"):e.$t("modals.createAccount.msgAeternity")),1),e.isMultisig?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(i,{key:0,header:e.$t("pages.accounts.addAccount"),subheader:e.$t("modals.createAccount.btnSubtitle"),icon:e.PlusCircleIcon,disabled:!e.isOnline,onClick:t[0]||(t[0]=function(t){return e.createPlainAccount()})},null,8,["header","subheader","icon","disabled"])),(0,K.bF)(i,{header:e.$t("modals.createMultisigAccount.btnText"),subheader:e.$t("modals.createMultisigAccount.btnSubtitle"),icon:e.PlusCircleIcon,disabled:!e.isOnline,onClick:t[1]||(t[1]=function(t){return e.createMultisigAccount()})},null,8,["header","subheader","icon","disabled"])])]})),_:1},8,["onClose"])}var zx=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const Jx=(0,K.pM)({components:{Modal:Ls.A,BtnSubheader:pc},props:{resolve:{type:Function,required:!0},isMultisig:Boolean},setup:function(e){var t=(0,ce.oV)(),n=t.addRawAccount,a=t.setActiveAccountByProtocolAndIdx,r=(0,ce.w5)(),i=r.isOnline,u=(0,ce.U8)(),c=u.openModal;function l(){return zx(this,void 0,void 0,(0,s.A)().mark((function t(){var r;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:r=n({isRestored:!1,protocol:o.yv.aeternity}),a(o.yv.aeternity,r),e.resolve();case 3:case"end":return t.stop()}}),t)})))}function d(){return zx(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c(o.X0);case 2:e.resolve();case 3:case"end":return t.stop()}}),t)})))}return{PlusCircleIcon:Er.A,isOnline:i,createPlainAccount:l,createMultisigAccount:d}}}),eL=(0,Ft.A)(Jx,[["render",Yx],["__scopeId","data-v-0b7c85d9"]]),tL=eL;var nL=["textContent"];function aL(e,t,n,a,r,o){var i=(0,K.g2)("BtnSubheader"),s=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(s,{"from-bottom":"","has-close-button":"",onClose:t[1]||(t[1]=function(t){return e.reject()})},{default:(0,K.k6)((function(){return[(0,K.Lk)("p",{class:"text-heading-1 text-center",textContent:(0,tt.v_)(e.$t("pages.network.connectToNetwork"))},null,8,nL),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.defaultNetworks,(function(t){return(0,K.uX)(),(0,K.Wv)(i,{key:t.type,header:t.name,subheader:t.name===e.activeNetwork.name?e.$t("pages.network.connectedTo",{name:t.name.toLowerCase()}):e.$t("pages.network.connectTo",{name:t.name.toLowerCase()}),icon:t.type===e.NETWORK_TYPE_MAINNET?e.GlobeIcon:e.GlobeCogIcon,selected:t.name===e.activeNetwork.name,"icon-size":"xl",onClick:function(n){return e.switchNetworkAndClose(t.name)}},null,8,["header","subheader","icon","selected","onClick"])})),128)),(0,K.bF)(i,{to:{name:e.ROUTE_NETWORK_SETTINGS},icon:e.ThreeDotsIcon,header:e.$t("pages.network.moreNetworks"),subheader:e.$t("pages.network.viewAndManage"),onClick:t[0]||(t[0]=function(t){return e.resolve()})},null,8,["to","icon","header","subheader"])]})),_:1})}var rL={viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},oL=(0,K.Lk)("path",{d:"M13.9997 25.0147C17.1794 25.0147 19.7759 20.316 19.7759 14.0168C19.7759 7.68332 17.1909 2.98465 13.9997 2.98465C10.8085 2.98465 8.22355 7.68332 8.22355 14.0168C8.22355 20.316 10.82 25.0147 13.9997 25.0147ZM13.9997 4.36796C16.2415 4.36796 18.2432 8.82655 18.2432 14.0168C18.2432 19.1156 16.2415 23.6199 13.9997 23.6199C11.7579 23.6199 9.75623 19.1156 9.75623 14.0168C9.75623 8.82655 11.7579 4.36796 13.9997 4.36796ZM13.2562 3.1447V24.7974H14.7546V3.1447H13.2562ZM13.9997 18.2925C10.4768 18.2925 7.35426 19.2185 5.75295 20.6933L6.90818 21.6422C8.41799 20.4418 10.8771 19.7901 13.9997 19.7901C17.1222 19.7901 19.5814 20.4418 21.0913 21.6422L22.2464 20.6933C20.6451 19.2185 17.5226 18.2925 13.9997 18.2925ZM24.5569 13.2394H3.44249V14.737H24.5569V13.2394ZM13.9997 9.75257C17.5226 9.75257 20.6451 8.82655 22.2464 7.35178L21.0913 6.40291C19.5814 7.59186 17.1222 8.25493 13.9997 8.25493C10.8771 8.25493 8.41799 7.59186 6.90818 6.40291L5.75295 7.35178C7.35426 8.82655 10.4768 9.75257 13.9997 9.75257ZM13.9997 25.6548C20.3821 25.6548 25.6663 20.3618 25.6663 13.9939C25.6663 7.61472 20.3707 2.33301 13.9883 2.33301C7.61733 2.33301 2.33301 7.61472 2.33301 13.9939C2.33301 20.3618 7.62877 25.6548 13.9997 25.6548ZM13.9997 24.1001C8.47518 24.1001 3.88857 19.5158 3.88857 13.9939C3.88857 8.47215 8.46374 3.8878 13.9883 3.8878C19.5128 3.8878 24.1108 8.47215 24.1108 13.9939C24.1108 19.5158 19.5242 24.1001 13.9997 24.1001Z",fill:"currentColor"},null,-1),iL=[oL];function sL(e,t){return(0,K.uX)(),(0,K.CE)("svg",rL,iL)}const uL={},cL=(0,Ft.A)(uL,[["render",sL]]),lL=cL;var dL={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},pL=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.44443 12.6372C7.31746 12.5659 7.18707 12.5 7.05355 12.4398C6.42706 12.1573 5.73189 12 5 12C4.41736 12 3.85799 12.0997 3.33802 12.2829C3.2064 12.3292 3.0773 12.381 2.95098 12.4378C2.63045 12.582 2.32786 12.7589 2.04747 12.9644C2.01608 12.6467 2 12.325 2 12C2 6.52942 6.52942 2 11.9902 2C17.4608 2 22 6.52942 22 12C22 17.4608 17.4706 22 12 22C10.5358 22 9.1378 21.6737 7.87583 21.0907C8.27342 20.8107 8.62836 20.4741 8.92896 20.0928C9.15487 20.1802 9.38514 20.2582 9.6193 20.3266C9.45828 20.1623 9.30268 19.9814 9.15313 19.7851C9.42815 19.3758 9.64427 18.9236 9.78933 18.4406C10.2477 19.2668 10.7872 19.8578 11.3628 20.1136V16.9815C10.8879 16.998 10.4329 17.0331 9.99927 17.0864C9.99975 17.0576 10 17.0288 10 17C10 16.5949 9.95183 16.2011 9.86091 15.824C10.3458 15.76 10.8481 15.7175 11.3628 15.6982V12.6372H8.37415C8.38297 12.8765 8.39684 13.1138 8.41551 13.3484C8.12262 13.0743 7.79672 12.835 7.44443 12.6372ZM14.3807 20.3266C15.6776 19.9482 16.8552 19.2702 17.8315 18.375C17.3354 18.029 16.7381 17.7434 16.0505 17.5222C15.616 18.6915 15.0444 19.6494 14.3807 20.3266ZM14.7715 17.2041C14.2284 18.6674 13.4754 19.7353 12.6471 20.1092V16.9818C13.4085 17.0087 14.1188 17.0836 14.7715 17.2041ZM15.1488 15.9933C14.3678 15.833 13.5255 15.732 12.6471 15.6986V12.6372H15.6259C15.5819 13.8307 15.4122 14.973 15.1488 15.9933ZM16.427 16.3258C17.3297 16.6154 18.1079 16.9948 18.7085 17.4461C19.8018 16.1071 20.5074 14.4433 20.6429 12.6372H16.9412C16.8985 13.9754 16.7178 15.2192 16.427 16.3258ZM16.9398 11.353H20.6421C20.5056 9.56517 19.8091 7.91715 18.7308 6.58608C18.129 7.04342 17.3458 7.42768 16.4355 7.72054C16.7183 8.81173 16.895 10.0359 16.9398 11.353ZM15.162 8.05305C14.3772 8.21491 13.5305 8.31691 12.6471 8.35051V11.353H15.6245C15.5791 10.1753 15.4151 9.0546 15.162 8.05305ZM14.7907 6.8387C14.1327 6.96233 13.416 7.03947 12.6471 7.06702V3.88953C13.4852 4.26474 14.2461 5.34605 14.7907 6.8387ZM16.0622 6.51889C16.7571 6.29375 17.3594 6.00368 17.8578 5.6542C16.8749 4.74544 15.6858 4.05736 14.3757 3.67462C15.0481 4.35789 15.6255 5.32966 16.0622 6.51889ZM9.6316 3.66727C8.3152 4.04793 7.12162 4.73746 6.13624 5.64997C6.6358 6.00135 7.2402 6.29284 7.93782 6.51889C8.37608 5.32539 8.95613 4.35091 9.6316 3.66727ZM9.20939 6.83871C9.75603 5.3402 10.5208 4.25627 11.3628 3.88515V7.06737C10.5901 7.04013 9.87016 6.96286 9.20939 6.83871ZM7.5645 7.72055C6.65179 7.42692 5.86682 7.04139 5.26447 6.58244C4.18819 7.91414 3.4938 9.56354 3.35785 11.353H7.06029C7.10503 10.0359 7.28172 8.81173 7.5645 7.72055ZM8.3756 11.353C8.42099 10.1753 8.58494 9.05461 8.8381 8.05305C9.62575 8.21551 10.4759 8.31767 11.3628 8.35088V11.353H8.3756Z",fill:"currentColor"},null,-1),vL=(0,K.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.22439 20.6613C4.26503 20.8713 4.43438 21 4.65114 21H5.34886C5.55885 21 5.7282 20.8713 5.76884 20.6613L5.96528 19.8484C6.10076 19.801 6.22947 19.7468 6.33785 19.6994L7.04911 20.1262C7.22523 20.2549 7.442 20.2278 7.59102 20.0787L8.07197 19.5978C8.221 19.442 8.25487 19.2185 8.11939 19.0423L7.69941 18.3378C7.7536 18.2227 7.80102 18.1008 7.84166 17.9721L8.6613 17.7824C8.8713 17.735 9 17.5724 9 17.3556V16.6715C9 16.4615 8.8713 16.2921 8.6613 16.2515L7.84843 16.055C7.80102 15.9128 7.74682 15.7841 7.69941 15.6825L8.13294 14.9712C8.25487 14.7883 8.24132 14.5783 8.08552 14.4225L7.59102 13.9416C7.43522 13.7993 7.25233 13.7722 7.06266 13.8806L6.33785 14.3209C6.22947 14.2667 6.10076 14.2125 5.96528 14.1651L5.76884 13.3455C5.7282 13.1355 5.55885 13 5.34886 13H4.65114C4.43438 13 4.26503 13.1355 4.22439 13.3522L4.02794 14.1583C3.89924 14.2058 3.76376 14.2599 3.6486 14.3141L2.93734 13.8806C2.74767 13.7722 2.558 13.7925 2.4022 13.9416L1.90771 14.4225C1.75191 14.5783 1.73836 14.7883 1.86029 14.9712L2.29382 15.6825C2.2464 15.7841 2.19221 15.9128 2.14479 16.055L1.3387 16.2515C1.12193 16.2921 1 16.4615 1 16.6715V17.3556C1 17.5724 1.12193 17.735 1.3387 17.7824L2.15157 17.9721C2.19221 18.1008 2.23963 18.2227 2.30059 18.3378L1.87384 19.0423C1.74513 19.2185 1.77223 19.442 1.92125 19.5978L2.4022 20.0787C2.558 20.2278 2.77477 20.2549 2.94412 20.1262L3.65538 19.6994C3.76376 19.7468 3.89924 19.801 4.02794 19.8484L4.22439 20.6613ZM6.3243 16.9966C6.3243 17.7214 5.7282 18.3243 4.99661 18.3243C4.2718 18.3243 3.6757 17.7214 3.6757 16.9966C3.6757 16.2786 4.2718 15.6825 4.99661 15.6825C5.7282 15.6825 6.3243 16.2786 6.3243 16.9966Z",fill:"currentColor"},null,-1),fL=[pL,vL];function mL(e,t){return(0,K.uX)(),(0,K.CE)("svg",dL,fL)}const gL={},hL=(0,Ft.A)(gL,[["render",mL]]),AL=hL,kL=(0,K.pM)({components:{Modal:Ls.A,BtnSubheader:pc},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,ce.fI)(),n=t.activeNetwork,a=t.defaultNetworks,r=t.customNetworks,i=t.switchNetwork;function s(t){t===n.value.name?e.resolve():(i(t),setTimeout((function(){return e.resolve()}),500))}return{ROUTE_NETWORK_SETTINGS:Ye.nj,NETWORK_TYPE_MAINNET:o.dk,GlobeIcon:lL,GlobeCogIcon:AL,ThreeDotsIcon:ZC,activeNetwork:n,defaultNetworks:a,customNetworks:r,switchNetworkAndClose:s}}}),yL=(0,Ft.A)(kL,[["render",aL]]),bL=yL;var wL={key:0,class:"top-icon-wrapper"},CL={class:"text-heading-2 text-center title"};function xL(e,t,n,a,r,o){var i=(0,K.g2)("StatusIcon"),s=(0,K.g2)("IconBoxed"),u=(0,K.g2)("TemplateRenderer"),c=(0,K.g2)("BtnMain"),l=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(l,(0,K.v6)({class:["default",{"text-center":e.textCenter}],"has-close-button":"","full-screen":e.fullScreen},(0,K.Tb)({close:e.close||e.resolve})),{footer:(0,K.k6)((function(){return[(0,K.RG)(e.$slots,"footer",{},(function(){return[(0,K.bF)(c,{class:(0,tt.C4)({"center-button":e.textCenter}),text:e.buttonMessage||e.$t("common.ok"),onClick:e.resolve},null,8,["class","text","onClick"])]}),!0)]})),default:(0,K.k6)((function(){return[e.icon?((0,K.uX)(),(0,K.CE)("div",wL,[(0,K.bF)(s,null,{default:(0,K.k6)((function(){return[(0,K.bF)(i,{status:e.icon,class:"status-icon"},null,8,["status"])]})),_:1})])):(0,K.Q3)("",!0),(0,K.Lk)("h2",CL,(0,tt.v_)(e.title),1),(0,K.RG)(e.$slots,"msg",{},(function(){return[(0,K.bF)(u,{str:e.msg},null,8,["str"])]}),!0),(0,K.RG)(e.$slots,"default",{},void 0,!0)]})),_:3},16,["class","full-screen"])}function LL(e,t,n,a,r,o){return e.icon?((0,K.uX)(),(0,K.Wv)((0,K.$y)(e.icon),{key:0,class:(0,tt.C4)(["status-icon",e.status]),onClick:t[0]||(t[0]=function(t){return e.$emit("click",t)})},null,8,["class"])):(0,K.Q3)("",!0)}var SL={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},TL=(0,K.Lk)("circle",{opacity:"0.5",cx:"12",cy:"12",r:"10",fill:"currentColor"},null,-1),EL=(0,K.Lk)("path",{d:"M11.699 13.9913C12.2382 13.9894 12.5802 13.6843 12.6083 13.2822C12.6081 13.243 12.6079 13.194 12.6078 13.1646C12.6355 12.6547 12.9872 12.3103 13.623 11.8963C14.5816 11.2557 15.2071 10.6947 15.2031 9.55745C15.1974 7.92021 13.7236 6.99397 11.9883 7.00003C10.3118 7.00588 9.16744 7.77459 8.86674 8.69721C8.8085 8.86408 8.77967 9.03085 8.78028 9.20732C8.78193 9.6779 9.1555 9.97072 9.54765 9.96935C9.9104 9.96809 10.1452 9.82021 10.3403 9.55482L10.4965 9.35819C10.8182 8.81785 11.2877 8.5319 11.876 8.52984C12.6701 8.52707 13.2109 8.99577 13.2133 9.66244C13.2154 10.2801 12.8047 10.5854 11.9734 11.1668C11.279 11.6496 10.771 12.1612 10.7741 13.0533L10.7745 13.1612C10.7764 13.7102 11.1107 13.9933 11.699 13.9913ZM11.6997 17.0011C12.3271 16.9989 12.8451 16.5363 12.843 15.9187C12.8408 15.301 12.3196 14.8519 11.6922 14.8541C11.0549 14.8563 10.5467 15.3188 10.5488 15.9267C10.551 16.5443 11.0722 17.0033 11.6997 17.0011Z",fill:"currentColor"},null,-1),IL=[TL,EL];function _L(e,t){return(0,K.uX)(),(0,K.CE)("svg",SL,IL)}const WL={},FL=(0,Ft.A)(WL,[["render",_L]]),DL=FL;var BL={viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},PL=(0,K.Lk)("g",null,[(0,K.Lk)("path",{fill:"currentColor",d:"M37.1444 8.53067L5.53296 40.1421L8.86048 43.4696L40.4719 11.8582L37.1444 8.53067Z"}),(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M19.7918 20.4706H16.9447V15.7648C16.9447 14.2589 17.4271 12.793 18.3188 11.5813C19.2106 10.3695 20.4671 9.47304 21.9047 9.02598C23.3423 8.57892 24.8835 8.60245 26.307 9.09186C27.4364 9.48245 28.4317 10.1577 29.227 11.0354L32.4247 7.83775L32.54 7.66598C31.4435 6.50363 30.1211 5.57658 28.6529 4.94599C27.1847 4.31541 25.6012 3.99305 24.0035 4.00011C20.8835 4.00482 17.8953 5.24482 15.6883 7.44951C13.4836 9.65656 12.2436 12.6448 12.2389 15.7648V20.4706H9.88592C8.63886 20.4706 7.44122 20.9671 6.55887 21.8495C5.67652 22.7318 5.18005 23.9295 5.18005 25.1765V35.0824L19.7918 20.4706Z"}),(0,K.Lk)("path",{fill:"currentColor",opacity:"0.44",d:"M38.1211 20.4707H37.5917L14.0624 44H38.1211C39.3682 44 40.5658 43.5036 41.4482 42.6212C42.3305 41.7389 42.827 40.5436 42.827 39.2942V25.1766C42.827 23.9295 42.3305 22.7319 41.4482 21.8495C40.5658 20.9672 39.3682 20.4707 38.1211 20.4707Z"})],-1),ML=[PL];function OL(e,t){return(0,K.uX)(),(0,K.CE)("svg",BL,ML)}const RL={},NL=(0,Ft.A)(RL,[["render",OL]]),UL=NL,XL=(0,K.pM)({props:{status:{type:String,required:!0,validator:function(e){return o.wz.includes(e)}}},setup:function(e){var t={critical:Wo,alert:lA,warning:Vn.A,info:DL,success:tA,"not-secure":UL,help:lL},n=(0,K.EW)((function(){return t[e.status]}));return{icon:n}}}),VL=(0,Ft.A)(XL,[["render",LL],["__scopeId","data-v-6ee6fe2e"]]),HL=VL;n(23418);var $L=function e(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return n.childNodes.length?Array.from(n.childNodes).filter((function(e){return[Node.ELEMENT_NODE,Node.TEXT_NODE].includes(e.nodeType)})).map((function(n){switch(n.tagName){case"strong":return t("strong",e(t,n));case"a":return t("a",(0,Js.A)({},a),e(t,n));case"br":return t("br");default:return n.textContent}})):n.textContent};const jL=(0,K.pM)({name:"TemplateRenderer",props:{str:{type:String,required:!0},option:{type:Object,default:null}},setup:function(e,t){var n=t.attrs;return function(){return(0,K.h)("span",{class:n["class"]},$L(K.h,(new DOMParser).parseFromString("".concat(e.str||"",""),"text/xml").childNodes[0],e.option))}}}),KL=jL,qL=KL;var GL={class:"icon-boxed"};function QL(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",GL,[(0,K.RG)(e.$slots,"default",{},(function(){return[((0,K.uX)(),(0,K.Wv)((0,K.$y)(e.icon),{class:"icon"}))]}))])}const ZL=(0,K.pM)({props:{icon:{type:Object,default:null}}}),YL=(0,Ft.A)(ZL,[["render",QL]]),zL=YL,JL=(0,K.pM)({components:{Modal:Ls.A,BtnMain:Mo.A,TemplateRenderer:qL,StatusIcon:HL,IconBoxed:zL},props:{resolve:{type:Function,required:!0},close:{type:Function,default:null},title:{type:String,default:""},msg:{type:String,default:""},icon:{type:String,default:""},buttonMessage:{type:String,default:""},textCenter:Boolean,fullScreen:Boolean}}),eS=(0,Ft.A)(JL,[["render",xL],["__scopeId","data-v-55c32d28"]]),tS=eS;var nS={class:"content-wrapper"},aS={class:"text-heading-1"},rS={class:"message"};function oS(e,t,n,a,r,o){var i=(0,K.g2)("BtnSubheader"),s=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(s,{class:"account-create","from-bottom":"","has-close-button":"","no-padding":"",centered:"",onClose:e.resolve},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",nS,[(0,K.Lk)("h2",aS,(0,tt.v_)(e.$t("modals.createAccount.title")),1),(0,K.Lk)("p",rS,(0,tt.v_)(e.$t("modals.createAccount.msg")),1),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.PROTOCOL_LIST,(function(t){return(0,K.uX)(),(0,K.Wv)(i,{key:t,header:e.getProtocolName(t),subheader:e.$t("modals.createAccount.addProtocolAccount",{name:e.getProtocolName(t)}),"protocol-icon":t,onClick:function(n){return e.createAccount(t)}},null,8,["header","subheader","protocol-icon","onClick"])})),128))])]})),_:1},8,["onClose"])}var iS=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const sS=(0,K.pM)({components:{Modal:Ls.A,BtnSubheader:pc},props:{resolve:{type:Function,required:!0}},setup:function(e){var t=(0,ce.oV)(),n=t.addRawAccount,a=t.setActiveAccountByProtocolAndIdx,r=(0,ce.w5)(),u=r.isOnline,c=(0,ce.U8)(),l=c.openModal,d=(0,ce.mv)(),p=d.setLoaderVisible;function v(t){return iS(this,void 0,void 0,(0,s.A)().mark((function r(){var i;return(0,s.A)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:p(!0),r.t0=t,r.next=r.t0===o.yv.aeternity?4:r.t0===o.yv.bitcoin||r.t0===o.yv.ethereum?7:10;break;case 4:return r.next=6,l(o.ul);case 6:return r.abrupt("break",11);case 7:return i=n({isRestored:!1,protocol:t}),a(t,i),r.abrupt("break",11);case 10:throw new Error("createAccount not implemented for protocol: ".concat(t));case 11:p(!1),e.resolve();case 13:case"end":return r.stop()}}),r)})))}function f(e){return i.C.getAdapter(e).protocolName}return(0,K.sV)((function(){p(!1)})),{PROTOCOL_LIST:o.E4,isOnline:u,createAccount:v,getProtocolName:f}}}),uS=(0,Ft.A)(sS,[["render",oS],["__scopeId","data-v-55406748"]]),cS=uS;var lS=function(e){return(0,K.Qi)("data-v-0764afea"),e=e(),(0,K.jt)(),e},dS={class:"text-center"},pS=["textContent"],vS={key:0},fS={class:"text-description"},mS=lS((function(){return(0,K.Lk)("br",null,null,-1)})),gS={key:1},hS=["textContent"];function AS(e,t,n,a,r,o){var i=(0,K.g2)("AnimatedSpinnerIcon"),s=(0,K.g2)("QrScanIcon"),u=(0,K.g2)("BtnPlain"),c=(0,K.g2)("FormTextarea"),l=(0,K.g2)("BtnMain"),d=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(d,{class:"import-account-modal","from-bottom":"","has-close-button":"",onClose:e.resolve},{footer:(0,K.k6)((function(){return[(0,K.bF)(l,{disabled:!e.mnemonic||!!e.error||e.discovering,text:e.$t("pages.index.importAccount"),"data-cy":"btn-import",class:"import-button",extend:"",center:"",onClick:t[1]||(t[1]=(0,We.D$)((function(){return e.importAccount()}),["prevent"]))},null,8,["disabled","text"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",dS,[(0,K.Lk)("p",{class:"text-heading-2",textContent:(0,tt.v_)(e.$t("pages.index.importWallet"))},null,8,pS),e.discovering?((0,K.uX)(),(0,K.CE)("div",vS,[(0,K.bF)(i,{class:"loader"}),(0,K.Lk)("p",fS,[(0,K.eW)((0,tt.v_)(e.$t("pages.index.restoringAccounts")),1),mS,(0,K.eW)(" "+(0,tt.v_)(e.$t("common.actionMayTakeFewMoments")),1)])])):((0,K.uX)(),(0,K.CE)("div",gS,[(0,K.Lk)("p",{textContent:(0,tt.v_)(e.$t("pages.index.enterSeedPhrase"))},null,8,hS)]))]),(0,K.bF)(c,{modelValue:e.mnemonic,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.mnemonic=t}),size:"xs",label:e.$t("pages.index.seedPhrase"),placeholder:e.$t("pages.index.seedPlaceHolder"),message:e.error,resizable:!1,readonly:e.discovering,"data-cy":"field-mnemonic","enter-submit":"",onSubmit:e.importAccount},{"label-after":(0,K.k6)((function(){return[(0,K.bF)(u,{"data-cy":"scan-button",class:(0,tt.C4)(["scan-button",{disabled:e.discovering}]),onClick:e.openScanQrModal},{default:(0,K.k6)((function(){return[(0,K.bF)(s)]})),_:1},8,["class","onClick"])]})),_:1},8,["modelValue","label","placeholder","message","readonly","onSubmit"])]})),_:1},8,["onClose"])}n(42762);var kS=n(46582),yS=n(73665),bS=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const wS=(0,K.pM)({components:{BtnMain:Mo.A,BtnPlain:Mr.A,Modal:Ls.A,FormTextarea:tu.A,QrScanIcon:yS.A,AnimatedSpinnerIcon:ia.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,za.rd)(),n=(0,An.s9)(),a=n.t,r=(0,ce.oV)(),i=r.discoverAccounts,u=r.setMnemonic,c=(0,ce.U8)(),l=c.openModal,d=(0,ce.mv)(),p=d.loginTargetLocation,v=d.setBackedUpSeed,f=(0,bt.KR)(!1),m=(0,bt.KR)(""),g=(0,bt.KR)("");function h(){return bS(this,void 0,void 0,(0,s.A)().mark((function n(){var r;return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=m.value.toLowerCase().replace(/\s+/g," ").replace(/[^a-z ]/g,"").trim(),(0,L.SN)(r)){n.next=4;break}return g.value=a("pages.index.invalidSeed"),n.abrupt("return");case 4:if(r&&(0,kS.validateMnemonic)(r)){n.next=7;break}return g.value=a("pages.index.accountNotFound"),n.abrupt("return");case 7:return f.value=!0,u(r),v(!0),n.next=12,i();case 12:e.resolve(),t.push(p.value),f.value=!1;case 15:case"end":return n.stop()}}),n)})))}function A(){return bS(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l(o.$b,{title:a("pages.index.scanSeedPhrase"),icon:"critical"});case 2:t=e.sent,t&&(m.value=t);case 4:case"end":return e.stop()}}),e)})))}return(0,K.wB)(m,(function(){g.value=""})),{discovering:f,mnemonic:m,error:g,importAccount:h,openScanQrModal:A}}}),CS=(0,Ft.A)(wS,[["render",AS],["__scopeId","data-v-0764afea"]]),xS=CS;function LS(e,t,n,a,r,o){var i=(0,K.g2)("FormSelectOptionsHeader"),s=(0,K.g2)("AccountSelectOptionsItem"),u=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(u,{class:"account-select-options","has-close-button":"","no-padding":"","from-bottom":"","full-screen":"",onClose:t[1]||(t[1]=function(t){return e.reject()})},{header:(0,K.k6)((function(){return[(0,K.bF)(i,{modelValue:e.searchPhrase,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchPhrase=t}),title:e.title,"options-length":e.options.length,"search-placeholder":e.$t("pages.accounts.searchAccountsPlaceholder")},null,8,["modelValue","title","options-length","search-placeholder"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.optionsFiltered,(function(t,n){return(0,K.uX)(),(0,K.Wv)(s,{key:t.value||n,option:t,selected:t.value===e.value,onClick:function(n){return e.resolve(t.value)}},null,8,["option","selected","onClick"])})),128))])]})),_:1})}function SS(e,t,n,a,r,o){var i=(0,K.g2)("AccountInfo"),s=(0,K.g2)("TokenAmount"),u=(0,K.g2)("BtnPlain");return e.account?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"account-select-options-item",style:(0,tt.Tr)(e.bgColorStyle),onClick:t[0]||(t[0]=(0,We.D$)((function(t){return e.$emit("click")}),["prevent"]))},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:(0,tt.C4)(["option-wrapper",{selected:e.selected}])},[(0,K.bF)(i,{account:e.account,class:"account-info","avatar-size":"rg","avatar-borderless":"","is-list-name":"","show-protocol-icon":""},null,8,["account"]),(0,K.bF)(s,{amount:e.balance,symbol:e.tokenSymbol,protocol:e.account.protocol,class:"token-amount",vertical:"",small:""},null,8,["amount","symbol","protocol"])],2)]})),_:1},8,["style"])):(0,K.Q3)("",!0)}const TS=(0,K.pM)({components:{TokenAmount:Es.A,AccountInfo:La.A,BtnPlain:Mr.A},props:{option:{type:Object,default:function(){return{}}},selected:Boolean},setup:function(e){var t=(0,ce.ty)(),n=t.getAccountBalance,a=(0,ce.oV)(),r=a.getAccountByAddress,o=r(e.option.value),s=(0,K.EW)((function(){return{"--bg-color":(0,L.cr)(e.option.value)}})),u=(0,K.EW)((function(){var t;return(null===(t=e.option)||void 0===t?void 0:t.value)?n(e.option.value).toNumber():0})),c=(0,K.EW)((function(){return i.C.getAdapter(o.protocol).coinSymbol}));return{account:o,balance:u,bgColorStyle:s,tokenSymbol:c,AE_SYMBOL:T.kf}}}),ES=(0,Ft.A)(TS,[["render",SS],["__scopeId","data-v-527219b2"]]),IS=ES;var _S={class:"form-select-options-header"},WS={class:"text-heading-3 text-muted title"};function FS(e,t,n,a,r,o){var i=(0,K.g2)("InputSearch");return(0,K.uX)(),(0,K.CE)("div",_S,[(0,K.Lk)("span",WS,(0,tt.v_)(e.title),1),e.optionsLength>e.SHOW_SEARCH_THRESHOLD?((0,K.uX)(),(0,K.Wv)(i,{key:0,value:e.value,placeholder:e.searchPlaceholder||e.$t("common.search"),class:"search-field","onUpdate:modelValue":e.filterOptions},null,8,["value","placeholder","onUpdate:modelValue"])):(0,K.Q3)("",!0)])}var DS=n(76801),BS=3;const PS=(0,K.pM)({components:{InputSearch:DS.A},props:{value:{type:String,default:""},title:{type:String,default:""},optionsLength:{type:Number,default:0},searchPlaceholder:{type:String,default:""}},setup:function(e,t){var n=t.emit;function a(e){n("update:modelValue",e?e.toLowerCase():"")}return{filterOptions:a,SHOW_SEARCH_THRESHOLD:BS}}}),MS=(0,Ft.A)(PS,[["render",FS],["__scopeId","data-v-1e8729bf"]]),OS=MS,RS=(0,K.pM)({components:{FormSelectOptionsHeader:OS,AccountSelectOptionsItem:IS,Modal:Ls.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},title:{type:String,default:null},value:{type:[String,Number],default:null},options:{type:Array,default:function(){return[]}}},setup:function(e){var t=(0,Rn.q)(),n=t.getName,a=(0,bt.KR)(""),r=(0,K.EW)((function(){return e.options.filter((function(e){var t=e.text,r=e.value;return t.toLowerCase().includes(a.value)||r.toString().includes(a.value)||n(r).value.includes(a.value)}))}));return{searchPhrase:a,optionsFiltered:r}}}),NS=(0,Ft.A)(RS,[["render",LS]]),US=NS;var XS={class:"top-icon-wrapper"},VS={class:"claimed"};function HS(e,t,n,a,r,o){var i=(0,K.g2)("StatusIcon"),s=(0,K.g2)("IconBoxed"),u=(0,K.g2)("BtnMain"),c=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(c,{class:"claim-success-modal","has-close-button":"",centered:"",onClose:e.resolve},{footer:(0,K.k6)((function(){return[(0,K.bF)(u,{onClick:e.resolve},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.ok")),1)]})),_:1},8,["onClick"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",XS,[(0,K.bF)(s,null,{default:(0,K.k6)((function(){return[(0,K.bF)(i,{status:"success",class:"status-icon"})]})),_:1})]),(0,K.Lk)("span",null,[(0,K.Lk)("b",null,(0,tt.v_)(e.$t("pages.claim.url"))+":",1),(0,K.eW)(" "+(0,tt.v_)(e.url),1)]),(0,K.Lk)("span",null,[(0,K.Lk)("b",null,(0,tt.v_)(e.$t("pages.claim.tipsOnUrl"))+":",1),(0,K.eW)(" "+(0,tt.v_)(e.claimAmount)+" "+(0,tt.v_)(e.$t("pages.claim.ae")),1)]),(0,K.Lk)("span",VS,(0,tt.v_)(e.$t("pages.claim.claimed")),1)]})),_:1},8,["onClose"])}const $S=(0,K.pM)({components:{Modal:Ls.A,BtnMain:Mo.A,IconBoxed:zL,StatusIcon:HL},props:{resolve:{type:Function,required:!0},url:{type:String,required:!0},claimAmount:{type:Number,required:!0}}}),jS=(0,Ft.A)($S,[["render",HS],["__scopeId","data-v-78c5e1d6"]]),KS=jS;function qS(e,t,n,a,r,o){var i=(0,K.g2)("TemplateRenderer"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(u,(0,K.v6)(Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{close:e.cancel}),{msg:(0,K.k6)((function(){return[(0,K.bF)(i,{str:e.msg},null,8,["str"])]})),footer:(0,K.k6)((function(){return[(0,K.bF)(s,{variant:"muted","extra-padded":"",text:e.$t("common.cancel"),onClick:e.cancel},null,8,["text","onClick"]),(0,K.bF)(s,{"data-cy":"to-confirm",text:e.$t("common.confirm"),onClick:e.resolve},null,8,["text","onClick"])]})),_:1},16,["close"])}const GS=(0,K.pM)({components:{Default:tS,TemplateRenderer:qL,BtnMain:Mo.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},msg:{type:String,default:""}},setup:function(e){function t(){e.reject(new Ka.v)}return{cancel:t}}}),QS=(0,Ft.A)(GS,[["render",qS]]),ZS=QS;var YS={class:"text-heading-2 text-center"},zS={class:"error-msg"};function JS(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain"),s=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(s,{"has-close-button":"",onClose:e.resolve},{footer:(0,K.k6)((function(){return[(0,K.bF)(i,{variant:"muted",onClick:e.cancel},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.cancel")),1)]})),_:1},8,["onClick"]),(0,K.bF)(i,{onClick:e.createReport},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("modals.error-log.create-report")),1)]})),_:1},8,["onClick"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("h2",YS,(0,tt.v_)(e.$t("modals.error-log.title")),1),(0,K.Lk)("div",zS,(0,tt.v_)(e.messageTruncated)+"... ",1),(0,K.Lk)("div",null,[(0,K.Lk)("span",null,(0,tt.v_)(e.$t("modals.error-log.sub-title")),1),(0,K.eW)(" "+(0,tt.v_)(e.$t("modals.error-log.content")),1)])]})),_:1},8,["onClose"])}n(50375);const eT=(0,K.pM)({components:{Modal:Ls.A,BtnMain:Mo.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},entry:{type:Object,required:!0}},setup:function(e){var t=(0,za.rd)(),n=(0,K.EW)((function(){var t=e.entry.error.message,n=void 0===t?"":t;return n.substr(0,150)}));function a(){e.reject(new Ka.v)}function r(){e.resolve(!0),t.push({name:Ye.rh,params:{entry:e.entry}})}return{messageTruncated:n,cancel:a,createReport:r}}}),tT=(0,Ft.A)(eT,[["render",JS],["__scopeId","data-v-56780574"]]),nT=tT;function aT(e,t,n,a,r,o){var i=(0,K.g2)("FormSelectOptionsHeader"),s=(0,K.g2)("FormSelectOptionsItem"),u=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(u,{class:"form-select-options","from-bottom":"","has-close-button":"","no-padding":"",onClose:t[1]||(t[1]=function(t){return e.reject()})},{header:(0,K.k6)((function(){return[(0,K.bF)(i,{modelValue:e.searchPhrase,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchPhrase=t}),title:e.title,"options-length":e.options.length},null,8,["modelValue","title","options-length"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",null,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.optionsFiltered,(function(t,n){return(0,K.uX)(),(0,K.Wv)(s,{key:n,option:t,onClick:function(n){return e.resolve(t.value)}},null,8,["option","onClick"])})),128))])]})),_:1})}var rT={class:"option-wrapper"};function oT(e,t,n,a,r,o){var i=(0,K.g2)("Avatar"),s=(0,K.g2)("ListItemWrapper");return(0,K.uX)(),(0,K.Wv)(s,{class:"form-select-options-item",selected:e.option.value===e.value,onClick:t[0]||(t[0]=(0,We.D$)((function(t){return e.$emit("click")}),["prevent"]))},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",rT,[e.option.address?((0,K.uX)(),(0,K.Wv)(i,{key:0,address:e.option.address,size:"sm"},null,8,["address"])):(0,K.Q3)("",!0),(0,K.eW)(" "+(0,tt.v_)(e.option.text),1)])]})),_:1},8,["selected"])}const iT=(0,K.pM)({components:{ListItemWrapper:Kn.A,Avatar:us.A},props:{option:{type:Object,default:function(){}},value:{type:[String,Number],default:null}}}),sT=(0,Ft.A)(iT,[["render",oT],["__scopeId","data-v-583e6b6c"]]),uT=sT,cT=(0,K.pM)({components:{FormSelectOptionsHeader:OS,FormSelectOptionsItem:uT,Modal:Ls.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},title:{type:String,default:null},value:{type:[String,Number],default:null},options:{type:Array,default:function(){return[]}}},setup:function(e){var t=(0,bt.KR)(""),n=(0,K.EW)((function(){return e.options.filter((function(e){var n=e.text,a=e.value;return n.toLowerCase().includes(t.value)||a.toString().includes(t.value)}))}));return{searchPhrase:t,optionsFiltered:n}}}),lT=(0,Ft.A)(cT,[["render",aT]]),dT=lT;var pT=function(e){return(0,K.Qi)("data-v-1ecdcc39"),e=e(),(0,K.jt)(),e},vT={class:"top-icon-wrapper"},fT=["textContent"],mT=["textContent"],gT={class:"camera"},hT={class:"video-loader"},AT={ref:"qrCodeVideoEl",class:"video"},kT=pT((function(){return(0,K.Lk)("track",{kind:"captions",title:"Scanning Qr Code"},null,-1)})),yT=[kT];function bT(e,t,n,a,r,o){var i=(0,K.g2)("IconBoxed"),s=(0,K.g2)("AnimatedSpinnerIcon"),u=(0,K.g2)("BtnMain"),c=(0,K.g2)("Modal");return e.browserReader||!e.cameraAllowed?((0,K.uX)(),(0,K.Wv)(c,{key:0,class:"qr-code-reader","has-close-button":"",centered:"","from-bottom":"",onClose:e.cancelReading},(0,K.eX)({default:(0,K.k6)((function(){return[(0,K.Lk)("div",vT,[(0,K.bF)(i,{icon:e.QrScanIcon},null,8,["icon"])]),e.heading?((0,K.uX)(),(0,K.CE)("div",{key:0,class:"heading",textContent:(0,tt.v_)(e.heading)},null,8,fT)):(0,K.Q3)("",!0),(0,K.Lk)("div",{class:"subtitle",textContent:(0,tt.v_)(e.cameraAllowed?e.title:e.$t("modals.qrCodeReader.subtitle"))},null,8,mT),(0,K.Lk)("div",gT,[(0,K.Lk)("span",hT,[(0,K.bF)(s,{class:"spinner"})]),(0,K.bo)((0,K.Lk)("div",null,[(0,K.Lk)("video",AT,yT,512)],512),[[We.aG,e.cameraAllowed]])])]})),_:2},[e.IS_MOBILE_APP?{name:"footer",fn:(0,K.k6)((function(){return[(0,K.bF)(u,{text:e.$t("modals.qrCodeReader.settings"),onClick:e.openSettings},null,8,["text","onClick"])]})),key:"0"}:void 0]),1032,["onClose"])):(0,K.Q3)("",!0)}var wT=n(64302),CT=n(86986),xT=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},LT="scanner-active";const ST=(0,K.pM)({components:{Modal:Ls.A,BtnMain:Mo.A,IconBoxed:zL,AnimatedSpinnerIcon:ia.A},props:{title:{type:String,required:!0},resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=this,a=(0,bt.KR)(o.I$?"granted":"denied"),r=(0,bt.KR)(),i=(0,bt.KR)(),u=(0,bt.KR)(),c=(0,za.lq)(),l=(0,An.s9)(),d=l.t,p=(0,ce.mv)(),v=p.setQrScanner,f=(0,K.EW)((function(){return"granted"===a.value})),m=(0,K.EW)((function(){return"granted"===a.value?d("modals.qrCodeReader.scanQr"):d("modals.qrCodeReader.grantPermission")}));function g(){return xT(this,void 0,void 0,(0,s.A)().mark((function e(){var t,a;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n.e(504).then(n.bind(n,16380));case 2:t=e.sent,a=t.BrowserQRCodeReader,r.value=new a;case 5:case"end":return e.stop()}}),e)})))}function h(){var e,t;o.I$?(null===(e=document.querySelector("body"))||void 0===e||e.classList.remove(LT),wT.vi.showBackground(),v(!1),wT.vi.stopScan()):null===(t=i.value)||void 0===t||t.stop()}function A(){var e;return xT(this,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!o.I$){t.next=12;break}return v(!0),null===(e=document.querySelector("body"))||void 0===e||e.classList.add(LT),t.next=5,wT.vi.hideBackground();case 5:return setTimeout((function(){var e;null===(e=document.querySelector("#camera-close-btn"))||void 0===e||e.addEventListener("click",h)}),500),t.next=8,wT.vi.startScan();case 8:if(n=t.sent,!n.hasContent){t.next=11;break}return t.abrupt("return",n.content);case 11:return t.abrupt("return",new Error("No content"));case 12:return t.abrupt("return",new Promise((function(e){var t;null===(t=r.value)||void 0===t||t.decodeFromVideoDevice(void 0,u.value,(function(t,n,a){i.value=a,t&&(null===a||void 0===a||a.stop(),e(t.getText()))}))["catch"]((function(e){"NotAllowedError"!==e.name?(0,L.fY)(e):a.value="denied"}))})));case 13:case"end":return t.stop()}}),t)})))}function k(){return xT(this,void 0,void 0,(0,s.A)().mark((function e(){var t,n;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,CT.i7.checkPermissions();case 2:if(t=e.sent,"granted"!==t.camera){e.next=5;break}return e.abrupt("return",!0);case 5:return e.next=7,CT.i7.requestPermissions({permissions:["camera"]});case 7:if(n=e.sent,"granted"!==n.camera){e.next=10;break}return e.abrupt("return",!0);case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e)})))}function y(){h(),e.reject(new Ka.v)}function b(){wT.vi.openAppSettings()}function w(){o.hL&&navigator.mediaDevices.getUserMedia({video:!0}).then((function(){a.value="granted"}))["catch"]((function(){(0,L.EV)(browser.runtime.getURL("./CameraRequestPermission.html")),e.reject(new Ka.y)}))}return(0,K.wB)(a,(function(n){return xT(t,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("denied"!==n){t.next=3;break}return h(),t.abrupt("return");case 3:return o.hL&&"prompt"===n&&w(),t.prev=4,t.t0=e,t.next=8,A();case 8:t.t1=t.sent,t.t0.resolve.call(t.t0,t.t1),t.next=25;break;case 12:if(t.prev=12,t.t2=t["catch"](4),"NotAllowedError"!==t.t2.name){t.next=24;break}return t.prev=15,t.next=18,new Promise((function(e,t){var n;o.hL&&(w(),t()),(null===(n=navigator.mediaDevices)||void 0===n?void 0:n.getUserMedia)?navigator.mediaDevices.getUserMedia({video:!0}).then(e,t):t(new Error("Sorry, your browser does not support getUserMedia"))}));case 18:t.next=23;break;case 20:t.prev=20,t.t3=t["catch"](15),a.value="denied";case 23:return t.abrupt("return");case 24:(0,L.fY)(t.t2);case 25:case"end":return t.stop()}}),t,null,[[4,12],[15,20]])})))})),(0,K.wB)((function(){return c.fullPath}),(function(){e.resolve()})),(0,K.sV)((function(){return xT(t,void 0,void 0,(0,s.A)().mark((function t(){var n;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!o.I$){t.next=17;break}return t.next=3,k();case 3:if(!t.sent){t.next=9;break}return a.value="granted",t.next=7,wT.vi.prepare();case 7:t.next=11;break;case 9:return a.value="denied",t.abrupt("return");case 11:return t.t0=e,t.next=14,A();case 14:return t.t1=t.sent,t.t0.resolve.call(t.t0,t.t1),t.abrupt("return");case 17:return t.next=19,g();case 19:if(t.t2=navigator.permissions,!t.t2){t.next=24;break}return t.next=23,navigator.permissions.query({name:"camera"})["catch"]((function(e){var t="'camera' (value of 'name' member of PermissionDescriptor) is not a valid value for enumeration PermissionName.";return e.message!==t&&(0,L.fY)(e),null}));case 23:t.t2=t.sent;case 24:if(n=t.t2,!n){t.next=29;break}return a.value=n.state,n.onchange=function(){a.value=n.state},t.abrupt("return");case 29:a.value=o.hL?"prompt":"granted";case 30:case"end":return t.stop()}}),t)})))})),(0,K.xo)((function(){h()})),{cameraAllowed:f,browserReader:r,IS_MOBILE_APP:o.I$,heading:m,QrScanIcon:yS.A,cancelReading:y,openSettings:b,qrCodeVideoEl:u}}}),TT=(0,Ft.A)(ST,[["render",bT],["__scopeId","data-v-1ecdcc39"]]),ET=TT;function IT(e,t,n,a,r,o){var i=(0,K.g2)("TemplateRenderer"),s=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(s,(0,K.v6)(e.$attrs,{icon:n.icon||"info"}),{msg:(0,K.k6)((function(){return[(0,K.bF)(i,{str:n.msg,option:n.option},null,8,["str","option"])]})),_:1},16,["icon"])}const _T={components:{Default:tS,TemplateRenderer:qL},props:{msg:{type:String,default:""},option:{type:Object,default:null},icon:{type:String,default:null}}},WT=(0,Ft.A)(_T,[["render",IT]]),FT=WT;var DT=["textContent"];function BT(e,t,n,a,r,o){var i=(0,K.g2)("InputSearch"),s=(0,K.g2)("Loader"),u=(0,K.g2)("AssetListItem"),c=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(c,{"full-screen":"","from-bottom":"","has-close-button":"","no-padding":"",class:"asset-selector",onClose:t[1]||(t[1]=function(t){return e.reject()}),onOpen:e.onModalOpen},{header:(0,K.k6)((function(){return[(0,K.Lk)("span",{class:"text-heading-3 text-muted title",textContent:(0,tt.v_)(e.$t("pages.fungible-tokens.select-asset"))},null,8,DT),(0,K.bF)(i,{modelValue:e.searchTerm,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchTerm=t}),class:"search-bar",placeholder:e.$t("pages.fungible-tokens.searchAssetsPlaceholder")},null,8,["modelValue","placeholder"])]})),default:(0,K.k6)((function(){return[(0,K.bF)(s,{class:(0,tt.C4)(["appearing-element",{visible:e.loading}])},null,8,["class"]),(0,K.bo)((0,K.Lk)("div",{class:(0,tt.C4)(["appearing-element",{visible:!e.loading}])},[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.accountAssetsToDisplay,(function(t){return(0,K.uX)(),(0,K.Wv)(u,{key:t.contractId,asset:t,selected:e.isTokenSelected(t),"show-current-price":"","prevent-navigation":"",onClick:function(n){return e.resolve(t)}},null,8,["asset","selected","onClick"])})),128))],2),[[We.aG,e.isFullyOpen]])]})),_:1},8,["onOpen"])}var PT=n(87862),MT=n(37354),OT=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const RT=(0,K.pM)({name:"AssetSelector",components:{AssetListItem:PT.A,Modal:Ls.A,InputSearch:DS.A,Loader:MT.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},selectedToken:{type:Object,default:null},protocol:{type:String,default:null},showTokensWithBalance:Boolean},setup:function(e){var t=(0,bt.KR)(!0),n=(0,bt.KR)(""),a=(0,bt.KR)(!1),r=(0,ce.Sr)({searchTerm:n,withBalanceOnly:e.showTokensWithBalance}),o=r.accountAssetsFiltered,i=(0,K.EW)((function(){return e.protocol?o.value.filter((function(t){var n=t.protocol;return n===e.protocol})):o.value}));function u(t){return!!e.selectedToken&&e.selectedToken.contractId===t.contractId}function c(){return OT(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,K.dY)();case 2:a.value=!0,setTimeout((function(){t.value=!1}),250);case 4:case"end":return e.stop()}}),e)})))}return{loading:t,searchTerm:n,isFullyOpen:a,accountAssetsToDisplay:i,isTokenSelected:u,onModalOpen:c}}}),NT=(0,Ft.A)(RT,[["render",BT],["__scopeId","data-v-2df1ce3c"]]),UT=NT;var XT={class:"icon-wrapper"},VT={class:"info"},HT={class:"title"},$T={class:"text"};function jT(e,t,n,a,r,o){var i=(0,K.g2)("IconBoxed"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(u,{class:"reset-wallet","from-bottom":"","has-close-button":"",centered:"",onClose:e.resolve},{footer:(0,K.k6)((function(){return[(0,K.bF)(s,{variant:"muted",text:e.$t("common.cancel"),onClick:e.reject},null,8,["text","onClick"]),(0,K.bF)(s,{variant:"danger",text:e.$t("pages.resetWallet.reset"),onClick:e.onReset},null,8,["text","onClick"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",XT,[(0,K.bF)(i,{icon:e.ResetWalletIcon},null,8,["icon"])]),(0,K.Lk)("div",VT,[(0,K.Lk)("h3",HT,(0,tt.v_)(e.$t("pages.resetWallet.title"))+"? ",1),(0,K.Lk)("div",$T,[(0,K.Lk)("span",null,(0,tt.v_)(e.$t("pages.resetWallet.warning")),1),(0,K.Lk)("span",null,(0,tt.v_)(e.$t("pages.resetWallet.warningConfirm")),1)])])]})),_:1},8,["onClose"])}var KT=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const qT=(0,K.pM)({components:{Modal:Ls.A,BtnMain:Mo.A,IconBoxed:zL},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,za.rd)(),n=(0,ce.oV)(),a=n.resetAccounts,r=(0,ce.fI)(),o=r.resetNetworks,i=(0,ce.mv)(),u=i.resetUiSettings,c=(0,ce.CP)(),l=c.disconnectDapps;function d(){return KT(this,void 0,void 0,(0,s.A)().mark((function n(){return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.resolve(),a(),o(),u(),l(),n.next=7,ze.v.clear();case 7:return n.next=9,t.push({name:Ye.nv});case 9:window.location.reload();case 10:case"end":return n.stop()}}),n)})))}return{ResetWalletIcon:dw,onReset:d}}}),GT=(0,Ft.A)(qT,[["render",jT],["__scopeId","data-v-13bf16f9"]]),QT=GT;var ZT={class:"msg"},YT={key:0},zT={class:"help"},JT=["href"];function eE(e,t,n,a,r,o){var i=(0,K.g2)("BtnMain"),s=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(s,(0,K.v6)(Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{icon:e.icon,title:e.title,close:e.resolve}),{msg:(0,K.k6)((function(){return[(0,K.Lk)("div",ZT,[(0,K.eW)((0,tt.v_)(e.msg)+" ",1),e.UNFINISHED_FEATURES?((0,K.uX)(),(0,K.CE)("p",YT,[(0,K.Lk)("section",zT,[(0,K.eW)((0,tt.v_)(e.$t("modals.readMore.msg"))+" ",1),(0,K.Lk)("a",{href:e.AE_BLOG_CLAIM_TIP_URL},(0,tt.v_)(e.$t("modals.readMore.linkTitle")),9,JT)])])):(0,K.Q3)("",!0)])]})),footer:(0,K.k6)((function(){return[(0,K.bF)(i,{class:"footer",onClick:e.resolve},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.ok")),1)]})),_:1},8,["onClick"])]})),_:1},16,["icon","title","close"])}const tE=(0,K.pM)({components:{Default:tS,BtnMain:Mo.A},props:{resolve:{type:Function,required:!0},close:{type:Function,default:null},title:{type:String,default:""},msg:{type:String,default:""},type:{type:String,default:""},icon:{type:String,default:""}},setup:function(){return{AE_BLOG_CLAIM_TIP_URL:T.Z3,UNFINISHED_FEATURES:o.s4}}}),nE=(0,Ft.A)(tE,[["render",eE],["__scopeId","data-v-3ffbff84"]]),aE=nE;var rE={class:"msg"},oE={class:"sub-header"},iE={key:0,class:"title"},sE={key:0},uE={class:"title"},cE={key:1},lE=["href"];function dE(e,t,n,a,r,o){var i=(0,K.g2)("i18n-t"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(u,(0,K.v6)(Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{icon:"help",title:e.$t("modals.recipient.title"),close:e.resolve,"full-screen":""}),{msg:(0,K.k6)((function(){return[(0,K.Lk)("div",rE,[(0,K.Lk)("span",oE,(0,tt.v_)(e.isProtocolAe?e.$t("modals.recipient.ae-sub-header"):e.$t("modals.recipient.sub-header",{protocolName:e.protocolName})),1),(0,K.Lk)("p",{class:(0,tt.C4)({capitalize:!e.isProtocolAe})},[(0,K.bF)(i,{keypath:"modals.recipient.msg.publicAddress.msg",tag:"div",scope:"global"},{default:(0,K.k6)((function(){return[e.isProtocolAe?((0,K.uX)(),(0,K.CE)("strong",iE,(0,tt.v_)(e.$t("modals.recipient.msg.publicAddress.title")),1)):(0,K.Q3)("",!0)]})),_:1})],2),e.isProtocolAe?((0,K.uX)(),(0,K.CE)("p",sE,[(0,K.bF)(i,{keypath:"modals.recipient.msg.chain.msg",tag:"div",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("strong",uE,(0,tt.v_)(e.$t("modals.recipient.msg.chain.title"))+": ",1),(0,K.eW)(" "+(0,tt.v_)(e.$t("modals.recipient.msg.chain.linkTitle")),1)]})),_:1})])):(0,K.Q3)("",!0),e.UNFINISHED_FEATURES&&e.isProtocolAe?((0,K.uX)(),(0,K.CE)("p",cE,[(0,K.bF)(i,{keypath:"modals.readMore.msg",class:"help",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("a",{href:e.AE_BLOG_CLAIM_TIP_URL},(0,tt.v_)(e.$t("modals.readMore.linkTitle")),9,lE)]})),_:1})])):(0,K.Q3)("",!0)])]})),footer:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"footer",extend:"",onClick:e.resolve},{default:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("common.ok")),1)]})),_:1},8,["onClick"])]})),_:1},16,["title","close"])}const pE=(0,K.pM)({components:{Default:tS,BtnMain:Mo.A},props:{resolve:{type:Function,required:!0},protocol:{type:String,required:!0},close:{type:Function,default:null}},setup:function(e){var t=(0,K.EW)((function(){return e.protocol===o.yv.aeternity})),n=(0,K.EW)((function(){return i.C.getAdapter(e.protocol).protocolName}));return{AE_BLOG_CLAIM_TIP_URL:T.Z3,UNFINISHED_FEATURES:o.s4,protocolName:n,isProtocolAe:t}}}),vE=(0,Ft.A)(pE,[["render",dE],["__scopeId","data-v-2bbbdb24"]]),fE=vE;var mE={class:"content"},gE={class:"subtitle"},hE={class:"list"};function AE(e,t,n,a,r,o){var i=(0,K.g2)("TemplateRenderer"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Default");return(0,K.uX)(),(0,K.Wv)(u,(0,K.v6)({class:"consensus-info"},Object.assign(Object.assign({},e.$attrs),{resolve:e.resolve}),{icon:"info",title:e.$t("modals.consensusInfo.title"),close:e.resolve}),{msg:(0,K.k6)((function(){return[(0,K.Lk)("div",mE,[(0,K.Lk)("div",gE,(0,tt.v_)(e.$t("modals.consensusInfo.subtitle")),1),(0,K.Lk)("ul",hE,[(0,K.Lk)("li",null,[(0,K.bF)(i,{str:e.$t("modals.consensusInfo.firstPoint")},null,8,["str"])]),(0,K.Lk)("li",null,[(0,K.bF)(i,{str:e.$t("modals.consensusInfo.secondPoint")},null,8,["str"])]),(0,K.Lk)("li",null,[(0,K.bF)(i,{str:e.$t("modals.consensusInfo.thirdPoint")},null,8,["str"])])]),(0,K.bF)(i,{str:e.$t("modals.consensusInfo.description")},null,8,["str"])])]})),footer:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"footer",extend:"",text:e.$t("common.ok"),onClick:e.resolve},null,8,["text","onClick"])]})),_:1},16,["title","close"])}const kE=(0,K.pM)({components:{TemplateRenderer:qL,Default:tS,BtnMain:Mo.A},props:{resolve:{type:Function,required:!0},close:{type:Function,default:null}}}),yE=(0,Ft.A)(kE,[["render",AE],["__scopeId","data-v-1660ae4c"]]),bE=yE;var wE={class:"header text-heading-2"},CE={class:"description text-description"},xE={class:"wrapper"};function LE(e,t,n,a,r,o){var i=(0,K.g2)("FormTextarea"),s=(0,K.g2)("BtnMain"),u=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(u,{"from-bottom":"","body-without-padding-bottom":"","has-close-button":"",class:"payload-form",onClose:t[3]||(t[3]=function(t){return e.reject()})},{footer:(0,K.k6)((function(){return[(0,K.bF)(s,{class:"btn-cancel",variant:"muted","extra-padded":"",text:e.$t("common.cancel"),onClick:t[1]||(t[1]=function(t){return e.reject()})},null,8,["text"]),(0,K.bF)(s,{text:e.$t("modals.payloadForm.doneBtn"),disabled:!e.value.length,onClick:t[2]||(t[2]=function(t){return e.resolve(e.value)})},null,8,["text","disabled"])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",wE,(0,tt.v_)(e.$t("modals.payloadForm.title")),1),(0,K.Lk)("div",CE,(0,tt.v_)(e.$t("modals.payloadForm.desc")),1),(0,K.Lk)("div",xE,[(0,K.bF)(i,{modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.value=t}),size:"sm",resizable:!1},{label:(0,K.k6)((function(){return[(0,K.eW)((0,tt.v_)(e.$t("modals.payloadForm.label")),1)]})),_:1},8,["modelValue"])])]})),_:1})}const SE=(0,K.pM)({name:"PayloadForm",components:{BtnMain:Mo.A,FormTextarea:tu.A,Modal:Ls.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},payload:{type:String,default:""}},setup:function(e){return{value:(0,bt.KR)(e.payload)}}}),TE=(0,Ft.A)(SE,[["render",LE],["__scopeId","data-v-3d4412a8"]]),EE=TE;var IE={class:"header text-heading-2"},_E={class:"redeemed-amount"},WE={class:"redeemed-by"},FE={class:"redeem-balance"},DE={key:0},BE={key:1,class:"already-redeemed"},PE={class:"buttons"};function ME(e,t,n,a,r,o){var i=(0,K.g2)("CheckCircleIcon"),s=(0,K.g2)("AccountSelector"),u=(0,K.g2)("AccountItem"),c=(0,K.g2)("DetailsItem"),l=(0,K.g2)("BalanceInfo"),d=(0,K.g2)("BtnMaxAmount"),p=(0,K.g2)("TransferSendAmount"),v=(0,K.g2)("BtnMain"),f=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(f,{"from-bottom":"","body-without-padding-bottom":"","has-close-button":"","min-height":"",class:"claim-gift-card",onClose:e.reject},{footer:(0,K.k6)((function(){return[(0,K.Lk)("div",PE,[e.step===e.STEPS.initial?((0,K.uX)(),(0,K.Wv)(v,{key:0,variant:"muted",text:e.$t("modals.claimGiftCard.redeemPartially"),disabled:e.loading,onClick:t[2]||(t[2]=function(t){return e.step=e.STEPS.form})},null,8,["text","disabled"])):(0,K.Q3)("",!0),(0,K.bF)(v,{icon:e.loading?e.AnimatedSpinner:null,text:e.mainButtonText,disabled:e.isDisabled||e.loading,onClick:t[3]||(t[3]=function(t){return e.handleMainButtonClick()})},null,8,["icon","text","disabled"])])]})),default:(0,K.k6)((function(){return[(0,K.Lk)("div",IE,(0,tt.v_)(e.$t("modals.claimGiftCard.title")),1),e.step===e.STEPS.redeemPartially||e.step===e.STEPS.redeemFull&&!e.isCardEmpty?((0,K.uX)(),(0,K.CE)(K.FK,{key:0},[(0,K.bF)(i,{class:"check-circle-icon"}),(0,K.Lk)("div",_E,[(0,K.Lk)("span",null,(0,tt.v_)(e.amount)+" "+(0,tt.v_)(e.AE_SYMBOL),1),(0,K.Lk)("span",WE,(0,tt.v_)(e.$t("modals.claimGiftCard.redeemedBy",["(".concat(e.currencyFormatted,")")])),1)])],64)):(0,K.Q3)("",!0),(0,K.bF)(c,null,{label:(0,K.k6)((function(){return[e.step!==e.STEPS.redeemPartially&&e.step!==e.STEPS.redeemFull?((0,K.uX)(),(0,K.Wv)(s,{key:0,modelValue:e.recipientId,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.recipientId=t}),options:e.aeAccountsSelectOptions},null,8,["modelValue","options"])):e.isCardEmpty?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.Wv)(u,{key:1,address:e.recipientId,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]))]})),_:1}),(0,K.Lk)("div",FE,[e.step===e.STEPS.initial&&e.isCardEmpty?(0,K.Q3)("",!0):((0,K.uX)(),(0,K.CE)("span",DE,(0,tt.v_)(e.$t("modals.claimGiftCard.balance")),1)),(0,K.bF)(l,{balance:e.balance.toNumber(),protocol:e.PROTOCOLS.aeternity,class:(0,tt.C4)({gray:0===e.balance.toNumber()})},null,8,["balance","protocol","class"])]),e.isCardEmpty?((0,K.uX)(),(0,K.CE)("span",BE,(0,tt.v_)(e.$t("modals.claimGiftCard.alreadyRedeemed")),1)):(0,K.Q3)("",!0),e.step===e.STEPS.form?((0,K.uX)(),(0,K.Wv)(p,{key:2,modelValue:e.amount,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.amount=t}),errors:e.errors,readonly:"",protocol:e.PROTOCOLS.aeternity,"custom-label":e.$t("modals.claimGiftCard.amount"),"validation-rules":{max_redeem:e.max.toString()},"without-margin":""},{"label-after":(0,K.k6)((function(){return[(0,K.bF)(d,{"is-max":e.isMax,onClick:e.setMaxAmount},null,8,["is-max","onClick"])]})),_:1},8,["modelValue","errors","protocol","custom-label","validation-rules"])):(0,K.Q3)("",!0)]})),_:1},8,["onClose"])}var OE=n(40477),RE=n(48287)["Buffer"],NE=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},UE={initial:"initial",form:"form",redeemPartially:"redeemPartially",redeemFull:"redeemFull"};const XE=(0,K.pM)({components:{AccountSelector:ps,AccountItem:Ld.A,BalanceInfo:Sa.A,BtnMain:Mo.A,CheckCircleIcon:tA,DetailsItem:Ts.A,TransferSendAmount:OE.A,Modal:Ls.A},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0},secretKey:{type:RE,required:!0}},setup:function(e){var t=this,n=(0,An.s9)(),a=n.t,r=(0,De.mN)(),i=r.errors,u=(0,ce.CP)(),c=u.getAeSdk,l=(0,ce.oV)(),d=l.aeAccounts,p=l.aeAccountsSelectOptions,f=(0,ce.ZN)(),m=f.getFormattedFiat,A=(0,ce._V)(),k=A.claimInvite,y=(0,bt.KR)(d.value[0].address),b=(0,bt.KR)(""),w=(0,bt.KR)(new pe.A(0)),C=(0,bt.KR)(UE.initial),x=(0,bt.KR)(!1),L=(0,bt.KR)(!1),S=(0,K.EW)((function(){return m(+b.value,o.yv.aeternity)})),E=(0,K.EW)((function(){switch(C.value){case UE.initial:return a("modals.claimGiftCard.redeemFull");case UE.form:return a("modals.claimGiftCard.redeem");case UE.redeemPartially:case UE.redeemFull:return a("common.ok");default:return null}})),I=(0,_.Sf)(e.secretKey),W=I.address,F=(0,pe.A)((0,Xe.pj)((0,Xe.pr)({tag:g.vw.SpendTx,senderId:W,recipientId:y.value,amount:+b.value,payload:(0,h.lF)((new TextEncoder).encode(""),v.W.Bytearray),nonce:1}),g.vw.SpendTx).fee).shiftedBy(-T.kS),D=(0,K.EW)((function(){return w.value.minus(F)})),B=(0,K.EW)((function(){return b.value.toString()===D.value.toString()}));function P(){return NE(this,void 0,void 0,(0,s.A)().mark((function e(){var t;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,c();case 2:return t=e.sent,e.t0=pe.A,e.next=6,t.getBalance(W,{format:Jc.j8.AE})["catch"]((function(){return 0}));case 6:e.t1=e.sent.toString(),w.value=(0,e.t0)(e.t1);case 8:case"end":return e.stop()}}),e)})))}function M(){b.value=D.value.isPositive()?D.value.toString():"0"}function O(){return NE(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:L.value=!0,t.t0=C.value,t.next=t.t0===UE.initial?4:t.t0===UE.form?9:t.t0===UE.redeemPartially||t.t0===UE.redeemFull?13:15;break;case 4:return M(),t.next=7,k({secretKey:e.secretKey,recipientId:y.value,isMax:!0});case 7:return C.value=UE.redeemFull,t.abrupt("break",16);case 9:return t.next=11,k({secretKey:e.secretKey,recipientId:y.value,amount:b.value,isMax:D.value.toString()===b.value.toString()});case 11:return C.value=UE.redeemPartially,t.abrupt("break",16);case 13:return e.resolve(),t.abrupt("break",16);case 15:throw new Error("Unknown step ".concat(C.value));case 16:L.value=!1;case 17:case"end":return t.stop()}}),t)})))}var R=(0,K.EW)((function(){var e;switch(C.value){case UE.form:return!b.value||!!(null===(e=i.value)||void 0===e?void 0:e.amount);default:return!1}}));return(0,K.sV)((function(){return NE(t,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,P();case 2:0===w.value.toNumber()&&(C.value=UE.redeemFull,x.value=!0),setInterval(P,3e3);case 4:case"end":return e.stop()}}),e)})))})),{AE_SYMBOL:T.kf,AnimatedSpinner:ia.A,aeAccountsSelectOptions:p,amount:b,balance:w,currencyFormatted:S,errors:i,fee:F,handleMainButtonClick:O,isCardEmpty:x,isDisabled:R,isMax:B,loading:L,mainButtonText:E,max:D,PROTOCOLS:o.yv,recipientId:y,setMaxAmount:M,step:C,STEPS:UE,updateBalance:P}}}),VE=(0,Ft.A)(XE,[["render",ME],["__scopeId","data-v-5805577b"]]),HE=VE;var $E={class:"text-heading-1"},jE=["data-signer-idx"],KE={class:"signers-add-wrapper"},qE={class:"consensus"},GE={class:"description"},QE={class:"signers-count"},ZE={class:"text-emphasis"};function YE(e,t,n,a,r,o){var i=(0,K.g2)("FormSelect"),s=(0,K.g2)("QrScanIcon"),u=(0,K.g2)("BtnPlain"),c=(0,K.g2)("PlusCircleIcon"),l=(0,K.g2)("FormTextarea"),d=(0,K.g2)("Field"),p=(0,K.g2)("BtnText"),v=(0,K.g2)("BtnHelp"),f=(0,K.g2)("FormNumberSelect"),m=(0,K.g2)("i18n-t"),g=(0,K.g2)("Form"),h=(0,K.g2)("MultisigVaultCreateReview"),A=(0,K.g2)("MultisigVaultCreateProgress"),k=(0,K.g2)("BtnMain"),y=(0,K.g2)("Modal");return(0,K.uX)(),(0,K.Wv)(y,{"full-screen":"","from-bottom":"","has-close-button":"",class:"multisig-vault-create",onClose:t[1]||(t[1]=function(t){return e.reject()})},{footer:(0,K.k6)((function(){return[e.currentStep===e.STEPS.form?((0,K.uX)(),(0,K.Wv)(k,{key:0,text:e.$t("modals.createMultisigAccount.btnText"),disabled:!e.canCreateMultisig,onClickOnce:e.openReviewStep},null,8,["text","disabled","onClickOnce"])):e.currentStep===e.STEPS.review?((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.bF)(k,{variant:"muted",text:e.$t("common.edit"),onClick:e.openFormStep},null,8,["text","onClick"]),(0,K.bF)(k,{text:e.$t("modals.createMultisigAccount.btnTextShort"),wide:"",disabled:e.multisigAccountCreationPhase!==e.MULTISIG_CREATION_PHASES.signed||e.notEnoughBalanceToCreateMultisig,onClick:e.createMultisigAccount},null,8,["text","disabled","onClick"])],64)):e.currentStep===e.STEPS.processing?((0,K.uX)(),(0,K.Wv)(k,{key:2,text:e.$t("modals.creatingMultisigAccount.btnText"),disabled:!(e.isMultisigAccountCreated||e.isMultisigAccountAccessible),onClick:e.navigateToMultisigVault},null,8,["text","disabled","onClick"])):(0,K.Q3)("",!0)]})),default:(0,K.k6)((function(){return[e.currentStep===e.STEPS.form?((0,K.uX)(),(0,K.Wv)(g,{key:0,class:"multisig-vault-create-form",onSubmit:(0,We.D$)(e.openReviewStep,["prevent"])},{default:(0,K.k6)((function(){return[(0,K.Lk)("h2",$E,(0,tt.v_)(e.$t("modals.createMultisigAccount.title")),1),((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.signers,(function(t,n){return(0,K.uX)(),(0,K.CE)("div",{key:"signer".concat(n),"data-signer-idx":"signer-address-".concat(n)},[0===n?((0,K.uX)(),(0,K.Wv)(i,{key:0,modelValue:t.address,"onUpdate:modelValue":function(e){return t.address=e},modelModifiers:{trim:!0},"default-text":e.$t("modals.createMultisigAccount.signerInputPlaceholder"),label:e.getSignerLabel(n),options:e.aeAccountsSelectOptions,"item-title":"value","account-select":""},null,8,["modelValue","onUpdate:modelValue","default-text","label","options"])):((0,K.uX)(),(0,K.Wv)(d,{key:1,modelValue:t.address,"onUpdate:modelValue":function(e){return t.address=e},modelModifiers:{trim:!0},name:"signer-address-".concat(n),rules:{required:!0,account_address:[e.PROTOCOLS.aeternity]}},{default:(0,K.k6)((function(a){var r=a.field,o=a.errorMessage;return[(0,K.bF)(l,(0,K.v6)(r,{"model-value":t.address,"auto-height":"",label:e.getSignerLabel(n),placeholder:e.$t("modals.createMultisigAccount.signerInputPlaceholder"),name:"signer-address-".concat(n),message:o||e.getErrorMessage(t),class:{error:e.checkIfSignerAddressDuplicated(t)}}),{"label-after":(0,K.k6)((function(){return[(0,K.bF)(u,{class:"scan-button",onClick:(0,We.D$)((function(t){return e.openScanQrModal(n)}),["prevent"])},{default:(0,K.k6)((function(){return[(0,K.bF)(s)]})),_:2},1032,["onClick"])]})),after:(0,K.k6)((function(){return[n>=e.MULTISIG_VAULT_MIN_NUM_OF_SIGNERS?((0,K.uX)(),(0,K.Wv)(u,{key:0,class:"btn-plain",onClick:function(t){return e.removeSigner(n)}},{default:(0,K.k6)((function(){return[(0,K.bF)(c,{class:"btn-remove-signer"})]})),_:2},1032,["onClick"])):(0,K.Q3)("",!0)]})),_:2},1040,["model-value","label","placeholder","name","message","class"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules"]))],8,jE)})),128)),(0,K.Lk)("div",KE,[(0,K.bF)(p,{icon:e.PlusCircleIcon,text:e.$t("modals.createMultisigAccount.addSigner"),"data-cy":"add-signer-btn",onClick:e.addNewSigner},null,8,["icon","text","onClick"]),(0,K.bF)(v,{title:e.$t("multisig.authorizedSigners"),msg:e.$t("modals.createMultisigAccount.addSignerHelpMsg"),"data-cy":"add-signer-btn-help"},null,8,["title","msg"])]),(0,K.Lk)("div",qE,[(0,K.Lk)("div",GE,(0,tt.v_)(e.$t("modals.createMultisigAccount.consensusRequiredDesc")),1),(0,K.Lk)("div",QE,[(0,K.bF)(f,{modelValue:e.confirmationsRequired,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.confirmationsRequired=t}),size:e.signers.length,"data-cy":"multisig-num-of-signers-selector"},null,8,["modelValue","size"]),(0,K.bF)(m,{keypath:"modals.createMultisigAccount.consensusRequiredContent",tag:"span",class:"text",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",ZE,(0,tt.v_)(e.signers.length),1)]})),_:1}),(0,K.bF)(v,{title:e.$t("modals.createMultisigAccount.consensusRequiredHelpTitle"),msg:e.$t("modals.createMultisigAccount.consensusRequiredHelpMsg"),"data-cy":"multisig-num-of-signers-selector-help"},null,8,["title","msg"])])])]})),_:1},8,["onSubmit"])):e.currentStep===e.STEPS.review?((0,K.uX)(),(0,K.Wv)(h,{key:1,signers:e.signers,phase:e.multisigAccountCreationPhase,"confirmations-required":e.confirmationsRequired,"account-id":e.currentMultisigAccountId},null,8,["signers","phase","confirmations-required","account-id"])):e.currentStep===e.STEPS.processing?((0,K.uX)(),(0,K.Wv)(A,{key:2,phase:e.multisigAccountCreationPhase,"multisig-account":e.multisigAccount,"is-accessible":e.isMultisigAccountAccessible,"is-created":e.isMultisigAccountCreated},null,8,["phase","multisig-account","is-accessible","is-created"])):(0,K.Q3)("",!0)]})),_:1})}var zE=n(14552),JE={class:"number-select"},eI=["value"],tI=["value","selected"];function nI(e,t,n,a,r,o){var i=(0,K.g2)("ChevronDownIcon");return(0,K.uX)(),(0,K.CE)("div",JE,[e.modelValue?((0,K.uX)(),(0,K.CE)("select",{key:0,value:e.modelValue,class:"number-select-input","aria-label":"choose number",onChange:t[0]||(t[0]=function(t){return e.$emit("update:modelValue",+(null===t||void 0===t?void 0:t.target).value)})},[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.size,(function(t){return(0,K.uX)(),(0,K.CE)("option",{key:t,value:t,selected:t===e.modelValue},(0,tt.v_)(t),9,tI)})),128))],40,eI)):(0,K.Q3)("",!0),(0,K.bF)(i,{class:"chevron-icon"})])}const aI=(0,K.pM)({components:{ChevronDownIcon:hv.A},props:{size:{type:Number,required:!0},modelValue:{type:Number,required:!0}},emits:["update:modelValue"]}),rI=(0,Ft.A)(aI,[["render",nI],["__scopeId","data-v-725fb95c"]]),oI=rI;var iI={class:"multisig-vault-create-review"},sI={class:"text-heading-1"},uI={class:"authorized-signers"};function cI(e,t,n,a,r,o){var i=(0,K.g2)("AccountSelector"),s=(0,K.g2)("i18n-t"),u=(0,K.g2)("DetailsItem"),c=(0,K.g2)("BtnHelp"),l=(0,K.g2)("ConsensusLabel"),d=(0,K.g2)("AccountItem"),p=(0,K.g2)("DialogBox"),v=(0,K.g2)("LoadingIcon"),f=(0,K.g2)("TokenAmount");return(0,K.uX)(),(0,K.CE)("div",iI,[(0,K.Lk)("h2",sI,(0,tt.v_)(e.$t("modals.createMultisigAccount.title")),1),(0,K.bF)(u,{label:e.$t("multisig.creatingAccount")},{value:(0,K.k6)((function(){return[(0,K.bF)(i,{modelValue:e.creatorAddress,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.creatorAddress=t}),options:e.aeAccountsSelectOptions},null,8,["modelValue","options"]),e.notEnoughBalanceToCreateMultisig?((0,K.uX)(),(0,K.Wv)(s,{key:0,keypath:"modals.createMultisigAccount.errorNotEnoughBalanceToCreateVault",tag:"div",class:"creator-error-message",scope:"global"},{default:(0,K.k6)((function(){return[(0,K.Lk)("span",null,(0,tt.v_)(e.fee)+" "+(0,tt.v_)(e.AE_SYMBOL),1)]})),_:1})):(0,K.Q3)("",!0)]})),_:1},8,["label"]),(0,K.bF)(u,{label:e.$t("multisig.consensus")},{label:(0,K.k6)((function(){return[(0,K.bF)(c,{onHelp:e.openConsensusInfoModal},null,8,["onHelp"])]})),default:(0,K.k6)((function(){return[(0,K.bF)(l,{"confirmations-required":e.confirmationsRequired,signers:e.signers,"default-confirmed-by":e.confirmationsRequired},null,8,["confirmations-required","signers","default-confirmed-by"])]})),_:1},8,["label"]),(0,K.bF)(u,{label:e.$t("multisig.authorizedSigners")},{value:(0,K.k6)((function(){return[(0,K.Lk)("div",uI,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.signers,(function(t){return(0,K.uX)(),(0,K.CE)("div",{key:t.address,class:"authorized-signers-row"},[(0,K.bF)(d,{address:t.address,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]),e.isLocalAccountAddress(t.address)?((0,K.uX)(),(0,K.Wv)(p,{key:0,dense:"",textContent:(0,tt.v_)(e.$t("common.you"))},null,8,["textContent"])):(0,K.Q3)("",!0)])})),128))])]})),_:1},8,["label"]),e.fee&&e.callData&&e.creatorAccountFetched?((0,K.uX)(),(0,K.CE)(K.FK,{key:1},[(0,K.bF)(u,{label:e.$t("transaction.fee")},{value:(0,K.k6)((function(){return[(0,K.bF)(f,{amount:e.fee,symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"]),(0,K.bF)(u,{expandable:"",label:e.$t("transaction.advancedDetails")},{default:(0,K.k6)((function(){return[(0,K.bF)(u,{label:e.$t("common.nonce"),value:e.creatorAccountFetched.nonce},null,8,["label","value"]),(0,K.bF)(u,{label:e.$t("common.callData"),value:e.callData,small:""},null,8,["label","value"])]})),_:1},8,["label"])],64)):((0,K.uX)(),(0,K.Wv)(v,{key:0,class:"loading-icon"}))])}var lI=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const dI=(0,K.pM)({components:{BtnHelp:sd.A,AccountSelector:ps,ConsensusLabel:Jn,DetailsItem:Ts.A,AccountItem:Ld.A,DialogBox:Tb.h,TokenAmount:Es.A,LoadingIcon:ia.A},props:{phase:{type:String,default:null},signers:{type:Array,required:!0},confirmationsRequired:{type:Number,required:!0},accountId:{type:String,required:!0}},setup:function(e){var t=this,n=(0,ce.oV)(),a=n.aeAccounts,r=n.aeAccountsSelectOptions,i=n.isLocalAccountAddress,u=(0,ce.Nc)(),c=u.multisigAccountCreationFee,l=u.prepareVaultCreationRawTx,d=u.pendingMultisigCreationTxs,p=u.notEnoughBalanceToCreateMultisig,v=(0,ce.CP)(),f=v.getAeSdk,m=(0,ce.U8)(),g=m.openModal,h=(0,bt.KR)(e.signers[0].address||a.value[0].address),A=(0,bt.KR)(),k=(0,K.EW)((function(){return a.value.find((function(e){var t=e.address;return t===h.value}))})),y=(0,K.EW)((function(){return c.value})),b=(0,K.EW)((function(){return d.value[e.accountId].multisigAccountCreationEncodedCallData}));function w(){g(o.bG)}return(0,K.wB)(h,(function(n,a){return lI(t,void 0,void 0,(0,s.A)().mark((function t(){var r,o;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n===a){t.next=18;break}return A.value=void 0,t.next=4,f();case 4:return r=t.sent,t.prev=5,t.next=8,r.api.getAccountByPubkey(n);case 8:o=t.sent,A.value=Object.assign(Object.assign({},o),{balance:o.balance.toString()}),t.next=16;break;case 12:t.prev=12,t.t0=t["catch"](5),(0,L.fY)(t.t0),A.value={balance:"0",id:n,kind:"basic",nonce:0,payable:!1};case 16:return t.next=18,l(n,e.accountId);case 18:case"end":return t.stop()}}),t,null,[[5,12]])})))}),{immediate:!0}),{AE_SYMBOL:T.kf,aeAccountsSelectOptions:r,creatorAddress:h,creatorAccount:k,creatorAccountFetched:A,isLocalAccountAddress:i,fee:y,callData:b,notEnoughBalanceToCreateMultisig:p,openConsensusInfoModal:w,PROTOCOLS:o.yv}}}),pI=(0,Ft.A)(dI,[["render",cI],["__scopeId","data-v-d3f0db28"]]),vI=pI;var fI={class:"multisig-vault-creation-progress"},mI=["textContent"],gI={class:"phase-list"},hI=["textContent"],AI={class:"phase-item-name"},kI={key:0},yI={key:1},bI={key:2,class:"phase-item-caption"},wI={key:0,class:"multisig-account-created"},CI=["textContent"],xI=["textContent"],LI=["textContent"];function SI(e,t,n,a,r,o){var i=(0,K.g2)("ProgressBar"),s=(0,K.g2)("PendingIcon"),u=(0,K.g2)("CheckSuccessCircleIcon");return(0,K.uX)(),(0,K.CE)("div",fI,[(0,K.Lk)("h2",{class:"text-heading-1",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.title"))},null,8,mI),(0,K.bF)(i,{progress:e.progressPercentage},null,8,["progress"]),(0,K.Lk)("div",gI,[((0,K.uX)(!0),(0,K.CE)(K.FK,null,(0,K.pI)(e.localPhases,(function(t,n){return(0,K.uX)(),(0,K.CE)("div",{key:n,class:(0,tt.C4)([{highlighted:e.isPhaseCompleted(n)||e.isPhaseCurrent(n)},"phase-item"])},[e.isPhaseCurrent(n)?((0,K.uX)(),(0,K.Wv)(s,{key:0,class:"phase-pending-icon"})):e.isPhaseCompleted(n)?((0,K.uX)(),(0,K.Wv)(u,{key:1,class:"phase-success-icon"})):((0,K.uX)(),(0,K.CE)("div",{key:2,class:"phase-number",textContent:(0,tt.v_)(n+1)},null,8,hI)),(0,K.Lk)("div",AI,[e.isPhaseCurrent(n)?((0,K.uX)(),(0,K.CE)("div",kI,(0,tt.v_)(t.pendingText||t.text)+"… ",1)):((0,K.uX)(),(0,K.CE)("div",yI,(0,tt.v_)(t.text),1)),t.caption&&!e.isAccessible&&e.isPhaseCurrent(n)?((0,K.uX)(),(0,K.CE)("div",bI,(0,tt.v_)(t.caption),1)):(0,K.Q3)("",!0)])],2)})),128))]),(0,K.bF)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.isAccessible||e.isCreated?((0,K.uX)(),(0,K.CE)("div",wI,[e.isAccessible?((0,K.uX)(),(0,K.CE)("div",{key:0,class:"message",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.vaultAccessibleMessage"))},null,8,CI)):e.isCreated?((0,K.uX)(),(0,K.CE)("div",{key:1,class:"message",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.vaultCreatedMessage"))},null,8,xI)):(0,K.Q3)("",!0),(0,K.Lk)("div",{class:"sub-message",textContent:(0,tt.v_)(e.$t("modals.creatingMultisigAccount.vaultCreatedMessageSub"))},null,8,LI)])):(0,K.Q3)("",!0)]})),_:1})])}var TI={class:"progress-bar"};function EI(e,t,n,a,r,o){return(0,K.uX)(),(0,K.CE)("div",TI,[(0,K.Lk)("div",{class:"progress",style:(0,tt.Tr)({width:"".concat(e.progress,"%")})},null,4)])}const II=(0,K.pM)({props:{progress:{type:Number,default:0}}}),_I=(0,Ft.A)(II,[["render",EI],["__scopeId","data-v-1dd3e346"]]),WI=_I,FI=(0,K.pM)({name:"MultisigVaultCreateProgress",components:{ProgressBar:WI,CheckSuccessCircleIcon:Dh,PendingIcon:Un.A},props:{multisigAccount:{type:Object,default:null},phase:{type:String,default:null},isAccessible:Boolean,isCreated:Boolean},setup:function(e){var t=(0,An.s9)(),n=t.t,a=[{key:T._B.prepared,text:n("modals.creatingMultisigAccount.preparingMultisigVault")},{key:T._B.deployed,text:n("modals.creatingMultisigAccount.deployingSmartContract")},{key:T._B.created,text:n("modals.creatingMultisigAccount.creatingMultisigVault"),caption:n("modals.creatingMultisigAccount.creatingMultisigVault")},{key:T._B.accessible,text:n("modals.creatingMultisigAccount.addingToWallet"),pendingText:n("modals.creatingMultisigAccount.syncingVault"),caption:n("modals.creatingMultisigAccount.takingLong")}],r=(0,K.EW)((function(){return a.findIndex((function(t){var n=t.key;return n===e.phase}))})),o=(0,K.EW)((function(){return 100/a.length*(r.value+1)}));function i(e){return e===r.value+1}function s(t){return!!e.multisigAccount||t<=r.value}return{PlusCircle:Er.A,localPhases:a,progressPercentage:o,isPhaseCurrent:i,isPhaseCompleted:s}}}),DI=(0,Ft.A)(FI,[["render",SI],["__scopeId","data-v-23d2125d"]]),BI=DI;var PI=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},MI={form:"form",review:"review",processing:"processing"};const OI=(0,K.pM)({name:"MultisigVaultCreate",components:{FormNumberSelect:oI,FormTextarea:tu.A,Modal:Ls.A,BtnMain:Mo.A,BtnPlain:Mr.A,BtnText:zE.A,BtnHelp:sd.A,MultisigVaultCreateProgress:BI,QrScanIcon:yS.A,PlusCircleIcon:Er.A,MultisigVaultCreateReview:vI,FormSelect:qo.A,Field:De.D0,Form:De.lV},props:{resolve:{type:Function,required:!0},reject:{type:Function,required:!0}},setup:function(e){var t=(0,za.rd)(),n=(0,An.s9)(),a=n.t,r=(0,ce.oV)(),i=r.aeAccountsSelectOptions,u=(0,ce.U8)(),c=u.openModal,l=u.openDefaultModal,d=(0,De.lw)(),p=(0,ce.ci)({pollOnce:!0}),v=p.setActiveMultisigAccountId,f=(0,ce.Nc)(),m=f.multisigAccount,g=f.multisigAccountCreationPhase,h=f.pendingMultisigCreationTxs,A=f.multisigAccountCreationFee,k=f.isMultisigAccountAccessible,y=f.isMultisigAccountCreated,b=f.prepareVaultCreationAttachTx,w=f.deployMultisigAccount,C=f.notEnoughBalanceToCreateMultisig,x=(0,bt.KR)(MI.form),S=(0,bt.KR)([]),E=(0,bt.KR)(T.sL),I=(0,bt.KR)(),W=(0,K.EW)((function(){return S.value.map((function(e){var t=e.address;return t})).filter(L.__)}));function F(e){return(0,_.Fd)(e.address).valid&&S.value.filter((function(t){var n=t.address;return e.address===n})).length>=2}var D=(0,K.EW)((function(){return!S.value.filter((function(e){return!(0,_.Fd)(e.address).valid||F(e)})).length})),B=(0,K.EW)((function(){var e;return S.value.length>=T.sL&&D.value&&!(null===(e=d.value)||void 0===e?void 0:e.length)}));function P(){S.value.push({address:void 0})}function M(e){S.value.splice(e,1)}function O(e){return F(e)?a("modals.createMultisigAccount.errorDuplicatingInputMessage"):null}function R(e){return PI(this,void 0,void 0,(0,s.A)().mark((function t(){var n,r,i,u;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,c(o.$b,{title:a("multisig.scanAddress"),icon:"critical"});case 2:if(n=t.sent,n){t.next=5;break}return t.abrupt("return");case 5:if(r=(0,_.Fd)(n),i=r.valid,u=r.isName,i&&!u){t.next=9;break}return l({title:a("modals.invalid-qr-code.msg"),icon:"critical"}),t.abrupt("return");case 9:if(!S.value.find((function(e){return e.address===n}))){t.next=12;break}return l({title:a("modals.createMultisigAccount.errorDuplicatingSigner"),icon:"critical"}),t.abrupt("return");case 12:S.value[e].address=n;case 13:case"end":return t.stop()}}),t)})))}function N(e){return"".concat(a("modals.createMultisigAccount.signer")," ").concat(e+1)}function U(){x.value=MI.form}function X(){return PI(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,b(E.value,W.value);case 2:I.value=e.sent,x.value=MI.review;case 4:case"end":return e.stop()}}),e)})))}function V(){var e;return PI(this,void 0,void 0,(0,s.A)().mark((function t(){return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(x.value=MI.processing,t.prev=1,I.value){t.next=4;break}throw Error(String(a("multisig.multisigVaultCreationFailed")));case 4:return t.next=6,w(I.value,E.value,W.value);case 6:t.next=14;break;case 8:return t.prev=8,t.t0=t["catch"](1),(0,L.fY)(t.t0),t.next=13,l({title:a("multisig.multisigVaultCreationFailed"),icon:"critical",msg:null===(e=null===t.t0||void 0===t.t0?void 0:t.t0.details)||void 0===e?void 0:e.reason,textCenter:!0});case 13:x.value=MI.form;case 14:case"end":return t.stop()}}),t,null,[[1,8]])})))}function H(){return PI(this,void 0,void 0,(0,s.A)().mark((function n(){return(0,s.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!m.value){n.next=5;break}return n.next=3,e.resolve();case 3:v(m.value.gaAccountId),t.push({name:Ye.zn});case 5:case"end":return n.stop()}}),n)})))}return(0,K.sV)((function(){if(!S.value.length)for(var e=0;e99:return"99+";default:return e.toString()}}));return{ROUTE_NOTIFICATIONS:Ye.Ld,BellIcon:rW,notificationsCount:n}}}),iW=(0,Ft.A)(oW,[["render",Z_]]),sW=iW;function uW(e,t,n,a,r,o){var i=(0,K.g2)("BtnPill");return(0,K.uX)(),(0,K.Wv)(i,{class:"network-button",dense:"",hollow:"",onClick:t[0]||(t[0]=(0,We.D$)((function(t){return e.openNetworkSwitcherModal()}),["prevent"]))},{default:(0,K.k6)((function(){return[(0,K.Lk)("div",{class:(0,tt.C4)(["circle",{connected:e.isOnline&&e.isAeNodeReady,error:!e.isOnline||e.isAeNodeError}])},null,2),(0,K.eW)(" "+(0,tt.v_)(e.activeNetwork.name),1)]})),_:1})}const cW=(0,K.pM)({components:{BtnPill:Go.A},setup:function(){var e=(0,ce.w5)(),t=e.isOnline,n=(0,ce.fI)(),a=n.activeNetwork,r=(0,ce.U8)(),i=r.openModal,s=(0,ce.CP)(),u=s.isAeNodeReady,c=s.isAeNodeError;function l(){return i(o.ld)}return{isOnline:t,isAeNodeReady:u,isAeNodeError:c,activeNetwork:a,openNetworkSwitcherModal:l}}}),lW=(0,Ft.A)(cW,[["render",uW],["__scopeId","data-v-386368e2"]]),dW=lW;function pW(e,t,n,a,r,o){var i=(0,K.g2)("BtnIcon");return(0,K.uX)(),(0,K.Wv)(i,{class:"open-apps-browser-button","data-cy":"apps-browser-btn",icon:e.GlobeSmallIcon,to:{name:e.ROUTE_APPS_BROWSER}},null,8,["icon","to"])}const vW=(0,K.pM)({components:{BtnIcon:Co.A},props:{isBig:Boolean,isMultisig:Boolean,tokenContractId:{type:String,default:""}},setup:function(){return{GlobeSmallIcon:vi.A,ROUTE_APPS_BROWSER:Ye.qC}}}),fW=(0,Ft.A)(vW,[["render",pW],["__scopeId","data-v-425bf3bf"]]),mW=fW,gW=(0,K.pM)({components:{NetworkButton:dW,AppsBrowserBtn:mW,NotificationsIcon:sW,BtnClose:BC.A,BtnPlain:Mr.A,Logo:Q_.A,Truncate:Nn.A,BtnIcon:Co.A,IonHeader:Fe.eU,IonToolbar:Fe.ai},setup:function(){var e=(0,za.lq)(),t=(0,Fe.jq)(),n=(0,An.s9)(),a=n.t,r=(0,ce.mv)(),i=r.homeRouteName,s=(0,ce.oV)(),u=s.isLoggedIn,c={settings:function(){return a("pages.titles.settings")},language:function(){return a("pages.titles.language")},about:function(){return a("pages.titles.about")},sendTip:function(){return a("pages.titles.sendTip")},claimTips:function(){return a("pages.claimTips.title")},terms:function(){return a("pages.titles.terms")},privacy:function(){return a("pages.titles.privacy")},currency:function(){return a("pages.titles.currency")},notifications:function(){return a("pages.titles.notifications")},auction:function(){return a("pages.titles.auction")},more:function(){return a("pages.titles.more")},networks:function(){return a("pages.titles.networks")},permissionsSettings:function(){return a("pages.titles.permissionsSettings")},permissionsEdit:function(){return a("pages.titles.permissionsEdit")},permissionsAdd:function(){return a("pages.titles.permissionsAdd")},commentNew:function(){return a("pages.titles.commentNew")},donateError:function(){return a("pages.titles.donateError")},address:function(){return a("pages.titles.address")},signMessage:function(){return a("pages.titles.signMessage")},signTransaction:function(){return a("pages.titles.signTransaction")},giftCards:function(){return a("pages.titles.giftCards")},txDetails:function(){return a("pages.titles.txDetails")},tokenDetails:function(){return a("pages.titles.tokenDetails")},coinDetails:function(){return a("pages.titles.coinDetails")},saveErrorsLog:function(){return a("pages.titles.saveErrorsLog")},resetWallet:function(){return a("pages.resetWallet.title")},seedPhrase:function(){return a("pages.titles.seedPhrase")},networkAdd:function(){return a("pages.titles.networkAdd")},networkEdit:function(){return a("pages.titles.networkEdit")},notFound:function(){return a("pages.titles.notFound")},multisigProposalDetails:function(){return a("pages.titles.multisigProposalDetails")}},l=(0,K.EW)((function(){return u.value?i.value:Ye.nv})),d=(0,K.EW)((function(){return e.meta})),p=(0,K.EW)((function(){var e;return!!(null===(e=d.value)||void 0===e?void 0:e.showHeaderNavigation)})),v=(0,K.EW)((function(){return e.name===Ye.qJ})),f=(0,K.EW)((function(){var e;return(null===(e=d.value)||void 0===e?void 0:e.title)&&c[d.value.title]?c[d.value.title]():""}));function m(){var n=e.fullPath,a=e.meta,r=a||{},o=r.backRoute;if(!u.value)return t.navigate({name:l.value},"back","push");if(o)return t.navigate(o,"back","push");var i=n.endsWith("/")?n.slice(0,-1):n;return t.navigate(i.substr(0,i.lastIndexOf("/"))||{name:l.value},"back","push")}function g(){t.navigate({name:l.value},"back","push")}return(0,Fe.zE)(1,m),{UNFINISHED_FEATURES:o.s4,homeRouteName:i,BackIcon:Jr,ThreeDotsIcon:ZC,ROUTE_ACCOUNT:Ye.qJ,ROUTE_MORE:Ye.Sr,IS_MOBILE_APP:o.I$,isLoggedIn:u,showHeaderNavigation:p,isLogoDisabled:v,titleTruncated:f,back:m,close:g}}}),hW=(0,Ft.A)(gW,[["render",G_],["__scopeId","data-v-e2406f5c"]]),AW=hW;function kW(e,t,n,a,r,o){return(0,K.uX)(),(0,K.Wv)(We.eB,{name:"fade-transition"},{default:(0,K.k6)((function(){return[e.statusText?((0,K.uX)(),(0,K.CE)("div",{key:0,"data-cy":"connect-node",class:(0,tt.C4)(["node-connection-status",{"is-error":e.isError}])},(0,tt.v_)(e.statusText),3)):(0,K.Q3)("",!0)]})),_:1})}var yW=2e3;const bW=(0,K.pM)({setup:function(){var e=(0,An.s9)(),t=e.t,n=(0,ce.w5)(),a=n.isOnline,r=(0,ce.CP)(),o=r.isAeNodeConnecting,i=r.isAeNodeReady,s=r.isAeNodeError,u=(0,ce.oV)(),c=u.isLoggedIn,l=(0,bt.KR)(!1),d=(0,K.EW)((function(){return!a.value||s.value}));(0,K.wB)(i,(function(e){l.value=e,e&&setTimeout((function(){l.value=!1}),yW)}));var p=(0,K.EW)((function(){switch(!0){case!a.value:return t("connectionStatus.offline");case!c.value:return null;case o.value:return t("connectionStatus.node.connecting");case l.value:return t("connectionStatus.node.connected");case s.value:return t("connectionStatus.node.error");default:return null}}));return{isError:d,statusText:p}}}),wW=(0,Ft.A)(bW,[["render",kW],["__scopeId","data-v-7ee50ab2"]]),CW=wW;var xW=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const LW=(0,K.pM)({name:"App",components:{Header:AW,NodeConnectionStatus:CW,Close:mA.A,IonApp:Fe.U1,IonRouterOutlet:Fe.Rg,IonPage:Fe.AO,Loader:MT.A},setup:function(){var e=this,t=(0,za.lq)(),n=(0,za.rd)(),r=(0,An.s9)(),i=r.t,u=(0,ce.w5)(),c=u.watchConnectionStatus,l=(0,ce.mv)(),d=l.isSeedBackedUp,p=l.qrScannerOpen,v=l.isLoaderVisible,f=l.initVisibilityListeners,m=(0,ce.U8)(),g=m.modalsOpen,h=(0,ce.oV)(),A=h.isLoggedIn,k=(0,ce.E$)(),y=k.addWalletNotification,b=(0,ce.ZN)({pollingDisabled:!0}),w=b.loadCoinsData,C=(0,ce.Jt)(),x=C.restoreLanguage,S=(0,$_.t)(),T=S.restore,E=(0,ce.ci)({pollingDisabled:!0}),I=E.multisigAccounts,_=(0,bt.KR)(),W=(0,bt.KR)(!1),F=(0,K.EW)((function(){return t.meta})),D=(0,K.EW)((function(){var e;return null===(e=F.value)||void 0===e?void 0:e.showScrollbar})),B=(0,K.EW)((function(){var e;return!(o.dx||t.params.app||(null===(e=F.value)||void 0===e?void 0:e.hideHeader))}));function P(){document.documentElement.style.setProperty("--height",o.I$&&o.pz?"100vh":"100%"),o.hL&&document.documentElement.classList.add("is-extension")}function M(){var e;return xW(this,void 0,void 0,(0,s.A)().mark((function t(){var n,r,u,c,l;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=null===(e=null===browser||void 0===browser?void 0:browser.runtime)||void 0===e?void 0:e.requestUpdateCheck,!o.hL||!n){t.next=11;break}return t.next=4,n();case 4:r=t.sent,u=(0,a.A)(r,1),c=u[0],l="",o.$M&&(l=o.Fl),o.m_&&(l=o.b1),"update_available"===c&&y({text:i("pages.account.updateAvailableText"),title:i("pages.account.updateAvailable"),buttonLabel:i("pages.notifications.goToStore"),path:l});case 11:case"end":return t.stop()}}),t)})))}function O(){return xW(this,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:d.value||y({title:i("pages.account.secureYourAccount"),text:i("pages.account.seedNotification"),buttonLabel:i("pages.account.backupNow"),path:"/more/settings/seed-phrase",isSeedBackup:!0});case 1:case"end":return e.stop()}}),e)})))}return(0,K.wB)((function(){return t.fullPath}),(function(){_.value&&(_.value.scrollTop=0)})),(0,K.wB)(I,(function(e){var t;!(null===e||void 0===e?void 0:e.length)&&(null===(t=F.value)||void 0===t?void 0:t.isMultisig)&&n.push({name:Ye.qJ})})),(0,K.wB)(B,(function(t){return xW(e,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t){e.next=4;break}W.value=!0,e.next=8;break;case 4:if(A.value){e.next=7;break}return W.value=!1,e.abrupt("return");case 7:setTimeout((function(){W.value=!1}),o.dy);case 8:case"end":return e.stop()}}),e)})))}),{immediate:!0}),f(),(0,K.KC)((function(){return xW(e,void 0,void 0,(0,s.A)().mark((function e(){var t,n;return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:o.I$&&(H_.eA.setStyle({style:H_.OF.Dark}),H_.eA.setBackgroundColor({color:"#141414"}),null===(n=null===(t=window.screen.orientation)||void 0===t?void 0:t.lock)||void 0===n||n.call(t,"portrait"));case 1:case"end":return e.stop()}}),e)})))})),(0,K.sV)((function(){P(),M(),x(),T(),c(),o.I$&&setTimeout((function(){V_.S.hide({fadeOutDuration:300})}),2e3),o.dx||w(),(0,L.mU)(A).then((function(){setTimeout((function(){O()}),100)}))})),{IS_FIREFOX:o.$M,IS_IOS:o.pz,IS_WEB:o.u2,IS_EXTENSION:o.hL,IS_MOBILE_DEVICE:o.Hy,RUNNING_IN_TESTS:o.yW,modalsOpen:g,qrScannerOpen:p,showHeader:B,delayedShowHeader:W,showScrollbar:D,innerElement:_,isLoaderVisible:v}}}),SW=(0,Ft.A)(LW,[["render",X_],["__scopeId","data-v-353b17cc"]]),TW=SW;N_();var EW=(0,We.Ef)(TW);EW.use(Fe.hx),EW.use(x.Ru),EW.use(qx),EW.mount("#app"),S.A.init({app:EW}),Oe()},90973:(e,t,n)=>{"use strict";n.d(t,{Bh:()=>P,E8:()=>N,GR:()=>D,Go:()=>X,HH:()=>_,Ie:()=>g,Ld:()=>y,PC:()=>c,Q6:()=>V,Sr:()=>k,ao:()=>s,cH:()=>B,eS:()=>O,fc:()=>d,hN:()=>L,iB:()=>A,iO:()=>E,iz:()=>p,jA:()=>T,kM:()=>U,kb:()=>h,n3:()=>m,nj:()=>S,no:()=>o,nv:()=>a,pe:()=>M,qC:()=>F,qJ:()=>r,r:()=>w,r9:()=>i,rh:()=>W,s4:()=>b,t:()=>I,tE:()=>x,tX:()=>v,tl:()=>u,uY:()=>C,uc:()=>f,xO:()=>H,z0:()=>R,zn:()=>l});var a="index",r="account",o="account-details",i="account-details-assets",s="account-details-names",u="account-details-names-auctions",c="account-details-names-claim",l="account-multisig",d="multisig-coin",p="multisig-coin-details",v="multisig-tx-details",f="multisig-account-details",m="multisig-account-details-info",g="account-details-multisig-proposal-details",h="multisig-account-details-assets",A="tx-details",k="more",y="notifications",b="coin",w="coin-details",C="token",x="token-details",L="not-found",S="network-settings",T="network-add",E="network-edit",I="web-iframe-popup",_="invite-claim",W="donate-error",F="apps-browser",D="about-terms",B="auction-bid",P="auction-history",M="permissions-add",O="permissions-details",R="permissions-settings",N="connect",U="popup-sign-tx",X="account-list",V="popup-raw-sign",H="message-sign"},55364:(e,t,n)=>{"use strict";n.d(t,{e:()=>U});var a=n(55096),r=n(2327),o=(n(28706),n(26099),n(50953)),i=n(20641),s=n(43089),u=n.n(s),c=n(95993),l=n(91087),d=n(65563),p=n(31189),v=n(29958),f=n(1287),m=n(6682),g=n(38151),h=n(81503),A=n(73808),k=(n(16280),n(76918),n(2008),n(50113),n(46449),n(74423),n(64346),n(62062),n(72712),n(34782),n(93514),n(94170),n(62010),n(33110),n(5506),n(53921),n(79432),n(16034),n(27495),n(21699),n(47764),n(25440),n(62953),n(76031),n(55886)),y=n(52347),b=["__requestBody","__queue"],w=!1;function C(e){return e.replace(/_./g,(function(e){return e[1].toUpperCase()}))}function x(e){return e.replace(/[A-Z]/g,(function(e){return"_".concat(e.toLowerCase())}))}var L=function(e,t){return Object.fromEntries(Object.entries(e).map(t))},S=function(e,t){return Object.fromEntries(Object.entries(e).filter(t))},T=function e(t,n){return"object"!==(0,A.A)(n)||null===n?n:Array.isArray(n)?n.map((function(n){return e(t,n)})):L(n,(function(n){var r=(0,a.A)(n,2),o=r[0],i=r[1];return[t(o),e(t,i)]}))},E=T.bind(null,x),I=T.bind(null,C);function _(e){return W.apply(this,arguments)}function W(){return W=(0,h.A)((0,r.A)().mark((function e(t){var n,o,i,s,u,c,l,d,p,x,T,_,W,F,D,B=arguments;return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=B.length>1&&void 0!==B[1]?B[1]:{},o=n.spec,i=n.internalUrl,s=n.disableBigNumbers,u=n.disableCaseConversion,c=n.responseInterceptor,l=s?JSON:y.A,e.next=4,Promise.all([t,i].map((function(e){if(!e)return null;var t={};return(0,k.A)({url:e,spec:o,requestInterceptor:function(e){if("GET"===e.method)return(0,g.A)((0,g.A)({},e),{},{userFetch:function(){var e=(0,h.A)((0,r.A)().mark((function e(n,a){var o,i;return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=JSON.stringify((0,g.A)((0,g.A)({},a),{},{_url:n})),null!==(o=t[i])&&void 0!==o||(t[i]=fetch(n,a)),e.prev=2,e.next=5,t[i];case 5:return e.abrupt("return",e.sent.clone());case 6:return e.prev=6,delete t[i],e.finish(6);case 9:case"end":return e.stop()}}),e,null,[[2,,6,9]])})));function n(t,n){return e.apply(this,arguments)}return n}()})},responseInterceptor:function(e){var t;if(""===e.text||0===(null===(t=e.text)||void 0===t?void 0:t.size))return e;var n=l.parse(e.text);return Object.assign(e,{body:u?n:I(n)}),c&&c(e)||e}})})));case 4:return d=e.sent,p=(0,a.A)(d,2),x=p[0],T=p[1],_=Object.assign.apply(Object,[{}].concat((0,m.A)(x.apis.external?[x.apis.external]:Object.values(x.apis)),[L((null===T||void 0===T?void 0:T.apis.internal)||{},(function(e){var t=(0,a.A)(e,2),n=t[0],r=t[1];return[n,function(){return w||(console.warn('SDK\'s wrapper of aeternity node internal API is deprecated, please use external equivalent (for example, "aeSdk.api.protectedDryRunTxs" instead of "aeSdk.api.dryRunTxs") or create a wrapper of internal API by yourself (using "genSwaggerClient")'),w=!0),r.apply(void 0,arguments)}]}))])),W=Object.fromEntries(Object.values(o.paths).map((function(e){return Object.values(e)})).flat().map((function(e){return[e.operationId,e]}))),F={},D=L(_,(function(e){var t=(0,a.A)(e,2),n=t[0],o=t[1],i=n.slice(0,1).toLowerCase()+C(n.slice(1));return[i,(0,h.A)((0,r.A)().mark((function e(){var t,s,c,d,p,k,y,w,C,x,T,I,_,D,B=arguments;return(0,r.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(s=B.length,c=new Array(s),d=0;d{"use strict";n.d(t,{q:()=>W});var a=n(55096),r=n(2327),o=(n(93514),n(62953),n(52675),n(28706),n(2008),n(50113),n(46449),n(74423),n(25276),n(62062),n(44114),n(72712),n(62010),n(26099),n(21699),n(47764),n(50953)),i=n(20641),s=n(31189),u=n(91087),c=n(65563),l=n(12589),d=n(84754),p=n(58449),v=n(44343),f=n(32118),m=n(59755),g=n(58338),h=n(33587),A=n(77513),k=n(55364),y=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},b=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r{"use strict";n.d(t,{$:()=>u});var a=n(20641),r=n(65563),o=n(58449),i=n(81881),s=n(59755),u=(0,o.X)((function(){var e=(0,i.f)(),t=e.activeNetwork,n=(0,a.EW)((function(){return t.value.protocols.aeternity})),o=(0,a.EW)((function(){var e=t.value.type===r.Qb?r.Oj:t.value.type,n=s.eT[e];return n||{}}));return{aeActiveNetworkSettings:n,aeActiveNetworkPredefinedSettings:o}}))},77513:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});n(28706);var a=n(31189),r=n(33587);function o(){var e=(0,r.$)(),t=e.aeActiveNetworkSettings,n=t.value.backendUrl;function o(e,t){return(0,a.B2)("".concat(n,"/claim/submit"),{body:{url:e,address:t}})}function i(){return(0,a.x6)("".concat(n,"/cache/invalidate/oracle"))}function s(){return(0,a.x6)("".concat(n,"/cache/invalidate/tips"))}function u(e){return(0,a.B2)("".concat(n,"/errorreport"),{body:e})}function c(){return(0,a.x6)("".concat(n,"/cache/chainnames"))}function l(e){return(0,a.x6)("".concat(n,"/tips/single/").concat(e))}return{claimTips:o,cacheInvalidateOracle:i,cacheInvalidateTips:s,donateError:u,fetchCachedChainNames:c,getCacheTip:l}}},41549:(e,t,n)=>{"use strict";n.d(t,{ef:()=>a.e,$L:()=>r.$,ti:()=>o.t,NC:()=>f});var a=n(55364),r=n(33587),o=n(77513),i=n(2327),s=n(55096),u=(n(62953),n(74423),n(15086),n(26099),n(27495),n(21699),n(47764),n(71761),n(11392),n(50953)),c=n(31189),l=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function d(e){var t=e.match(/https:\/\/twitter.com\/[a-zA-Z0-9_]+/g);return!!t&&t[0]}var p=(0,u.KR)([]),v=(0,u.KR)([]);function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{ensureFetchedOnInit:!0},t=e.ensureFetchedOnInit;function n(e){p.value=e}function a(e){v.value=e}function o(){return l(this,void 0,void 0,(0,i.A)().mark((function e(){var t,o,u,l,d,f;return(0,i.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!p.value.length||!v.value.length){e.next=2;break}return e.abrupt("return");case 2:return t=(0,r.$)(),o=t.aeActiveNetworkSettings,e.prev=3,e.next=6,Promise.all([(0,c.x6)("".concat(o.value.backendUrl,"/verified")),(0,c.x6)("".concat(o.value.backendUrl,"/static/wallet/graylist"))]);case 6:u=e.sent,l=(0,s.A)(u,2),d=l[0],f=l[1],n(d),a(f),e.next=17;break;case 14:e.prev=14,e.t0=e["catch"](3),(0,c.fY)(e.t0);case 17:case"end":return e.stop()}}),e,null,[[3,14]])})))}function u(e){if(!e)return"default";var t=d(e),n=t||e;return v.value.some((function(e){return n.includes(e)}))?"blacklisted":p.value.includes(n)?"verified":(0,c.Ks)(n)&&n.startsWith("http:")?"not-secure":"not-verified"}return t&&o(),{getTippingUrlStatus:u}}},59755:(e,t,n)=>{"use strict";n.d(t,{di:()=>G,YI:()=>_,CT:()=>T,pR:()=>I,d:()=>E,d3:()=>b,Z3:()=>w,GO:()=>v,fX:()=>l,kS:()=>p,tL:()=>C,cK:()=>c,hD:()=>x,s8:()=>L,gc:()=>F,oz:()=>W,eT:()=>y,Ix:()=>k,_c:()=>A,LK:()=>f,aR:()=>m,QS:()=>u,Q5:()=>S,kf:()=>d,qD:()=>J,n1:()=>ee,Zi:()=>Q,Op:()=>K,ml:()=>V,xf:()=>H,yk:()=>$,$y:()=>q,_B:()=>Z,Di:()=>s,cq:()=>z,sL:()=>Y,TP:()=>D,vG:()=>B,y5:()=>P,m5:()=>M,S4:()=>U,Mb:()=>N,wb:()=>X,VA:()=>R,Mu:()=>O,LD:()=>te});var a=n(1287),r=(n(26099),n(31415),n(47764),n(62953),n(41805)),o=n(91087),i=n(65563),s="cb_+RCaRgOgve9Y9UQL6KRoPwfVNJcBlzMvD+DQb6//M5OJCG3AVQjAuRBsuQ0r/gP+MbwANwA3CIcCNwA3AZdABydHACdHABcHF4cCNwA3AUcAGgoAhgg+hgIEDAOvggABAD8MAoQMAwMMAwMMA38MAwAMA38MA6+CAAEAPycMEABGOgIAACgsAAJE/gQjAAICAigsBgICAxGgN2kGDwIIKCwIAgIDEaA3aQYPAgoMAgICAxGKkmS6DwIMDAICAgMR6tQZlA8CECgsBAJE/hIjAAICAgwCBAwChAwCCAwCCgwCDCgsAgIMAhAMAhInDBAA/gUnlSICNwKXQIcCNwEHNwEHNwAMAQICAxERgicfDwIAVQICAgMRNr2PA1UAAgMR0MNsuA8CBAIDETa9jwMPAgYMAQAMAgAMAgIMAgQMAgYnDApE/oYjAAICAgwBAAwCAgwCAET8gwYEBAICBAICAAYEAxFlpeAP/gpTjRIANwGXQDcADANdRVJST1JfTk9USElOR19UT19SRVZPS0UMAoYCAxH6lKxHDwIADAIADAEAVQACAxELyoirDwJvgibPKCwEAFUAIAAHDAj7A2VFUlJPUl9DQUxMRVJfTk9UX1BST1BPU0VSKCwAAAQDEWByuOf+C8qIqwI3A0cAl0A3BZdAB0cAZ0cANwBnRwA3ADcADAKCDAEAAgMR0bdm1AcMDAwDfwYDBgcMCvsDUUVSUk9SX05PVF9BVVRIT1JJWkVEAQM/KBwABCAQAgYDBv4MGh13ADcAdwECjv4RgicfAjcBhwI3AQc3AQcHCD0AAgRGNgAAAFkAFCAAAEY0AAAA/hV7P4YCNwI3BZdAB0cAZ0cANwBnRwA3ADcFl0AHRwBnRwA3AGdHADcANwAMAQBE/oYjAAICAigcAAJVAET8gwYEBAICBAICAgQCAxFlpeAPDwJvgibPKBwGAAIDEWNRdG0gCIQHDAgBAz8oHAACRPyDBgQEAgIEAgIGAgQDEWWl4A/+MvF1CQA3ADcABw6KBPsDlUVSUk9SX0ZFRV9QUk9URUNUSU9OX0FMUkVBRFlfRElTQUJMRUQMAoJVAAIDEdG3ZtQHDAr7A2FFUlJPUl9OT1RfQV9WQUxJRF9TSUdORVIaDoivggABAD8aDop/VQBE/IMGBAQCAgQCAg4CBAMRZaXgD/42vY8DAjcAZ+cANwABAy8A/kTWRB8ANwIHZ0cANwA3AAwBAlUAAgMR0bdm1CYABwwG+wOZRVJST1JfQUNDT1VOVF9PRl9HQV9NVVNUX05PVF9CRV9TSUdORVIMAwQMAQICAxFjUXRtIgAHDAz7A01FUlJPUl9NSU5fMl9TSUdORVJTDAEADAECAgMRY1F0bSIABwwS+wOxRVJST1JfQ09ORklSTUFUSU9OU19FWENFRURfQU1PVU5UX09GX1NJR05FUlMaDoavggABAD8aDoivggABARsrb4cHGv1JjP/Ab4UCVAvjwBoGggIaBoQAGg6K/xoOjAIaDo4VMi4wLjABAz/+WGaS0AA3AZdANwAMA11FUlJPUl9OT1RISU5HX1RPX1JFRlVTRQwChgIDEfqUrEcPAgAMAgAMAQBVAAIDEQvKiKsPAm+CJs8oLAgAVQACAxHRt2bUJgAHDAr7A1VFUlJPUl9BTFJFQURZX1JFRlVTRUQoLAYAVQACAxHRt2bUBwwSKCwIAFUAAgMR0MNsuA8CCimsCAAKBAMRaRFmxCgsCABVAAIDEdDDbLgPAgoprgwIAAooLAYAVQACAxF02loxDwIOKa4QBgwOGgoShAwCDgIDEWNRdG0VOBICIAAHDB4MAz8GAxwPAm+CJs8MAhAEAxFpEWbEKCwAAET8gwYEBAICBAICCAICAxFlpeAPBgMc/mByuOcCNwGXQDcAGg6Gr4IAAQA/DAEAVQBE/IMGBAQCAgQCAgoEBAMRZaXgD/5g2SfnADcAhwI3ADcBNwIHBwECiP5jUXRtAjcBZ+cANwAHMQQAAP5lpeAPAjcBhwg3A5dARwAHNwKXQEcANwKXQEcANwGXQDcBl0A3ApdARwA3AZdANwFHADcACg0AgwIEBggKDA4QRjYAAABGNgIAAkY2BAAEZAKvX58Bgc4Tg0fCXJ6pbxeVEaJyPOitJN2WIn8cMmH/1KkLiEddAAIEAQM/RjYAAABGNgIAAmOvX58BgdJtAIYtCcrDtXE8F2rZNOymOlqRcI6zmk9SSVKcSGsNAAIBAz9GNgAAAEY2AgACY69fnwGBKkEXjU6I2ofvnLTRwi2DlJp1EpJX2+7ZtusGyTALclAAAgEDP0Y2AAAAYi9fnwGB6pQ/O02tcnqFIIXwsGoPmTnwYw1wPYaWd0QzS6qDJygAAQM/RjYAAABiL1+fAYF5ZRN+QrVmgSx2/jfRKIV1k9Suadc9zb9gAjkFbFFHagABAz9GNgAAAEY2AgACY69fnwGB1BokHcMXqJIxi0GLSpuHUo1WALCdJvZBI8ulrNWJsPsAAgEDP0Y2AAAAYi9fnwGBETSmEurK4IgmXzhsxKTzQAyT99DkMvvTudmxmu5BWjIAAQM/RjYAAABiL1+fAYG2lE6h9A8XUcaevF1HJKucbYGIf9DJFEs/o6fzRY67LQABAz/+aRFmxAI3ATcFl0AHRwBnRwA3AGdHADcANwAMAQBE/oYjAAICAigcAABVAET8gwYEBAICBAICBAQCAxFlpeAPDwJvgibPKBwIAAIDEWNRdG0gCIQHDAgBAz8oHAAABAMRYHK45/5s8lcLADcBBxcMA1FFUlJPUl9OT19UWF9QUk9QT1NFRAwChgIDEfqUrEcPAgAiJACMBwwG+wNNRVJST1JfTk9OQ0VfVE9PX0xPVyEkAIwHDAr7A1FFUlJPUl9OT05DRV9UT09fSElHSAwCAAIDEerUGZQmAAcMEPsDQUVSUk9SX1RYX0VYUElSRUQHDoomDAM/BgMUDwJvgibPdwIWCD4WJBZGOhgWAAwCAAIDEYqSZLoHDBz7A0lFUlJPUl9OT19DT05TRU5TVVMoLAAAICAYBwwg+wNRRVJST1JfVU5FUVVBTF9IQVNIRVMMAhhE/IMGBAQCAgQCAgwCAgMRZaXgDw8Cb4ImzxQ2jAACGg6Gr4IAAQA/AQP/+wNVRVJST1JfTk9fQVVUSF9DT05URVhUAgMR55554gYDFP5zF3ZSADcBl0A3AAwDYUVSUk9SX05PVEhJTkdfVE9fQ09ORklSTQwChgIDEfqUrEcPAgAMAgAMAQBVAAIDEQvKiKsPAm+CJs8oLAYAVQACAxHRt2bUJgAHDAr7A11FUlJPUl9BTFJFQURZX0NPTkZJUk1FRAwCAAIDEerUGZQmAAcMEPsDQUVSUk9SX1RYX0VYUElSRUQoLAgAVQACAxHRt2bUBwwYKCwGAFUAAgMR0MNsuA8CDgwCACmsBgAOBAMRFXs/higsCABVAAIDEXTaWjEPAg4prhAIAA4oLAYAVQACAxHQw2y4DwISDAIAKawGEBIEAxEVez+G/nTaWjECNwLnAGfnADcAZ+cANwAuFAIAAP6KkmS6AjcBNwWXQAdHAGdHADcAZ0cANwAXDAKEKBwGAAIDEWNRdG0iAAD+meUfqgA3ACdHAAwCggQDEaA3aQb+oAKLeAI3AjcCd/cn5wAn5wEzBAIHDAg2BAIMAQACAxGgAot4NQQCKBwCACgcAAACADQAAAEDA/6gN2kGAjcBZ+cANwAn5wAyBAAMAysR/ZH04z8EAxGgAot4/ssUtbUANwKXQIcCNwEHNwEHNwAMAoJVAAIDEdG3ZtQHDBD7A1FFUlJPUl9OT1RfQVVUSE9SSVpFRAwBAgwBAAQDEQUnlSJGOAQAAgMR6tQZlAcMDvsDmUVSUk9SX0VYSVNUSU5HX1BST1BPU0VEX1RYX05PVF9FWFBJUkVEDAECDAEABAMRBSeVIhoKBIYIPoYGCP7Qw2y4AjcC5wBn5wA3AGfnADcALdQCAD8A/tG3ZtQCNwLnAGfnADcAFy8UAgAA/tmowSgANwAHAQKM/uPzPAgCNwE3AucA5wHnACgcAAAA/ueeeeICNwA3AAwCiAIDEfuGrxoPAgAoLAAApwAhAAcMBvsDWUVSUk9SX01BWF9GRUVfRVhDRUVERUQoLAIAXwAhAAcMCvsDbUVSUk9SX01BWF9HQVNQUklDRV9FWENFRURFRAEDP/7q1BmUAjcBNwWXQAdHAGdHADcAZ0cANwAXKBwCAFkAHwAA/vZYXzEANwE3AgcHNwAHDooE+wOVRVJST1JfRkVFX1BST1RFQ1RJT05fQUxSRUFEWV9ESVNBQkxFRAwCglUAAgMR0bdm1AcMCvsDYUVSUk9SX05PVF9BX1ZBTElEX1NJR05FUgwBAET+iCMAAgICAQM//vbWMu0ANwAXAQKK/vqUrEcCNwKHAjcANwHnAHfnAAg9AAIE+wECRjQAAAD++4avGgI3AYcCNwA3AecA5wAIPQACBPsDRUZvcmNlZCBOb25lIHZhbHVlRjQAAAD+/ZH04wI3Avf39wwBAgQDEePzPAi5AzgvIxED/jG8SWdldF9jb25zZW5zdXNfaW5mbxEFJ5UigS5TaW1wbGVHQU11bHRpU2lnLnNldF9jdXJyZW50X3R4EQpTjRIZcmV2b2tlEQvKiKvJLlNpbXBsZUdBTXVsdGlTaWcucmVxdWlyZV92YWxpZF9zaWduZXJfYW5kX3R4X2hhc2gRDBoddy1nZXRfdmVyc2lvbhERgicfjS5TaW1wbGVHQU11bHRpU2lnLmV4cGlyYXRpb25faGVpZ2h0ERV7P4adLlNpbXBsZUdBTXVsdGlTaWcuY29uZmlybV9hbmRfdXBkYXRlX3R4ETLxdQlZZGlzYWJsZV9mZWVfcHJvdGVjdGlvbhE2vY8DIS5TZXQubmV3EUTWRB8RaW5pdBFYZpLQGXJlZnVzZRFgcrjnhS5TaW1wbGVHQU11bHRpU2lnLmludGVybmFsX3Jldm9rZRFg2SfnSWdldF9mZWVfcHJvdGVjdGlvbhFjUXRtJS5TZXQuc2l6ZRFlpeAPLUNoYWluLmV2ZW50EWkRZsSNLlNpbXBsZUdBTXVsdGlTaWcucmVmdXNlX2FuZF9yZXZva2URbPJXCyVhdXRob3JpemURcxd2Uh1jb25maXJtEXTaWjEtLlNldC5kZWxldGURipJkun0uU2ltcGxlR0FNdWx0aVNpZy5oYXNfY29uc2Vuc3VzEZnlH6otZ2V0X3NpZ25lcnMRoAKLeCUuTGlzdC5tYXARoDdpBjEuU2V0LnRvX2xpc3QRyxS1tR1wcm9wb3NlEdDDbLgtLlNldC5pbnNlcnQR0bdm1C0uU2V0Lm1lbWJlchHZqMEoJWdldF9ub25jZRHj8zwIJS5QYWlyLmZzdBHnnnnifS5TaW1wbGVHQU11bHRpU2lnLnZlcmlmeV90eF9mZWUR6tQZlGUuU2ltcGxlR0FNdWx0aVNpZy5leHBpcmVkEfZYXzFVdXBkYXRlX2ZlZV9wcm90ZWN0aW9uEfbWMu1laXNfZmVlX3Byb3RlY3Rpb25fZW5hYmxlZBH6lKxHRS5PcHRpb24uZm9yY2VfbXNnEfuGrxo1Lk9wdGlvbi5mb3JjZRH9kfTjGS5eMTQ0MoIvAIU2LjEuMADBfpyn",u="æternity",c="aeternity",l="Æ Coin",d="AE",p=18,v="aeternity",f="ae_mainnet",m="ae_uat",g="https://mainnet.aeternity.io",h="https://testnet.aeternity.io",A=(0,a.A)((0,a.A)({},i.dk,{nodeUrl:g,middlewareUrl:"https://mainnet.aeternity.io/mdw",backendUrl:"https://superhero-backend-mainnet.prd.service.aepps.com"}),i.Oj,{nodeUrl:h,middlewareUrl:"https://testnet.aeternity.io/mdw",backendUrl:"https://superhero-backend-testnet.prd.service.aepps.com"}),k=A[i.Oj],y=(0,a.A)((0,a.A)({},i.dk,{explorerUrl:"https://aescan.io",multisigBackendUrl:"https://ga-multisig-backend-mainnet.prd.service.aepps.com"}),i.Oj,{explorerUrl:"https://testnet.aescan.io",multisigBackendUrl:"https://ga-multisig-backend-testnet.prd.service.aepps.com"}),b="https://avatars.z52da5wt.xyz/",w="https://blog.aeternity.com/superhero-how-to-send-receive-superhero-tips-34971b18c919#024e",C="https://github.com/aeternity/superhero-wallet/commit/",x="https://aepp.dex.superhero.com",L="https://faucet.aepps.com",S="https://simplex.superhero.com",T=".chain",E=63+T.length,I=12+T.length,_=1.05,W=5e3,F=[r.W.AccountAddress,r.W.Channel,r.W.ContractAddress,r.W.Name,r.W.OracleAddress,r.W.TxHash],D=32,B={tip:"tip",retip:"retip",tipToken:"tip_token",retipToken:"retip_token",transfer:"transfer",deposit:"deposit",propose:"propose",addLiquidity:"add_liquidity",addLiquidityAe:"add_liquidity_ae",removeLiquidity:"remove_liquidity",removeLiquidityAe:"remove_liquidity_ae",swapExactTokensForTokens:"swap_exact_tokens_for_tokens",swapTokensForExactTokens:"swap_tokens_for_exact_tokens",swapExactAeForTokens:"swap_exact_ae_for_tokens",swapTokensForExactAe:"swap_tokens_for_exact_ae",swapExactTokensForAe:"swap_exact_tokens_for_ae",swapAeForExactTokens:"swap_ae_for_exact_tokens",createAllowance:"create_allowance",changeAllowance:"change_allowance",transferAllowance:"transfer_allowance",transferPayload:"transfer_payload",withdraw:"withdraw",claim:"claim",spend:"spend",namePreclaim:"name_preclaim",nameClaim:"name_claim",nameTransfer:"name_transfer",incompleteTransfer:"incomplete_transfer",pendingSpend:"pending_spend",pendingTransfer:"pending_transfer",pendingTipAe:"pending_tip_ae",pendingTipToken:"pending_tip_token",payForGaAttach:"pay_for_ga_attach",gaMetaSpend:"ga_meta_spend",verifyAccount:"verify_account"},P={propose:"propose",confirm:"confirm",refuse:"refuse",revoke:"revoke"},M={pool:["remove_liquidity","remove_liquidity_ae","add_liquidity","add_liquidity_ae"],removeLiquidity:["remove_liquidity","remove_liquidity_ae"],addLiquidity:["add_liquidity","add_liquidity_ae"],swap:["deposit","withdraw","swap_exact_tokens_for_tokens","swap_tokens_for_exact_tokens","swap_exact_ae_for_tokens","swap_tokens_for_exact_ae","swap_exact_tokens_for_ae","swap_ae_for_exact_tokens"],allowance:["transfer_allowance","change_allowance","create_allowance"],maxSpent:["swap_tokens_for_exact_tokens","swap_tokens_for_exact_ae","swap_ae_for_exact_tokens"],minReceived:["swap_exact_tokens_for_tokens","swap_exact_ae_for_tokens","swap_exact_tokens_for_ae"]},O=[o.vw.SpendTx,o.vw.ContractCreateTx,o.vw.ContractCallTx,o.vw.NamePreclaimTx,o.vw.NameClaimTx,o.vw.NameUpdateTx,o.vw.NameTransferTx],R=new Set([o.vw.NameClaimTx,o.vw.NamePreclaimTx,o.vw.NameRevokeTx,o.vw.NameUpdateTx]),N="ok",U="abort",X="revert",V=(0,a.A)((0,a.A)({},f,{router:["ct_azbNZ1XrPjXfqBqbAh1ffLNTQ1sbnuUDFvJrXjYz7JQA1saQ3"],wae:["ct_J3zBY8xxjsRr3QojETNw48Eb38fjvEuJKkQ6KzECvubvEcvCa"]}),m,{router:["ct_2rWUGgaVEVytGKuovkeJiUiLvrW63Fx7acvLBb5Ee9ypqoNxL6","ct_6iyAWnbGoEbX6hxWsjKMLSM3Hx542PM9dZeG8mHo1bXzB7DDW","ct_N3fFG5QqyTb2dhqw8YcTQ3gqQjxjCJT9MTvDWfqBes7wEu4r9","ct_2eyXvDw3V3WSbcCpSiWcsCYHShBmEJEkU8PpUg7ymDLfZ4cSy4","ct_2mZo6oniJYbbAuBqJxqydc2ZzUhgrdFbTaR4vq2QxocChGUymJ","ct_MLXQEP12MBn99HL6WDaiTqDbG4bJQ3Q9Bzr57oLfvEkghvpFb"],wae:["ct_RzxedNERBDa9Kfx8FENNKQ33TQTt5FzV8i1WppiaTSC4adRXd","ct_y1sufvYLCwbbumgV16p8Bk9f5uHGFiteRDC1x8WNxxyvGJEw2","ct_2kc9naWGGnx4TWGK7UR9gut2cVcDvf7pv8CBYG1a8WML2jzUeb","ct_24gNuddxAbMYtT32sh8Xm1PpB2fZ3HMGtfST5sA3irect3Yu76","ct_2mdY71wG4zAjrdmqDJPXU6h8dYpzNs4mMZ81ujeNnrQPU2jMto","ct_JDp175ruWd7mQggeHewSLS1PFXt9AzThCDaFedxon8mF8xTRF"]}),H="provide_liquidity",$="remove_liquidity",j="swap",K="allow_token",q={add_liquidity:H,add_liquidity_ae:H,remove_liquidity:$,remove_liquidity_ae:$,swap_exact_tokens_for_tokens:j,swap_exact_ae_for_tokens:j,swap_tokens_for_exact_tokens:j,swap_tokens_for_exact_ae:j,swap_exact_tokens_for_ae:j,swap_ae_for_exact_tokens:j,create_allowance:K,change_allowance:K,transfer_allowance:K,deposit:j,withdraw:j},G="Aex9TransferEvent",Q={other:0,current:1,subAccount:2},Z={prepared:"prepared",signed:"signed",deployed:"deployed",created:"created",accessible:"accessible"},Y=2,z="2.0.0",J={tippingV1:"ct_2AfnEfCSZCTEkxL5Yoi4Yfq6fF7YapHRaFKDJK3THMXMBspp5z"},ee={tippingV1:"ct_2Cvbf3NYZ5DLoaNYAU71t67DdXLHeSXhodkSNifhgd7Xsw28Xd",tippingV2:"ct_2ZEoCKcqXkbz2uahRrsWeaPooZs9SdCv6pmC4kc55rD4MhqYSu"},te={update:"update",extend:"extend"}},58338:(e,t,n)=>{"use strict";n.d(t,{qX:()=>N,c4:()=>U,mV:()=>X,hj:()=>V,_2:()=>H,BY:()=>$,jY:()=>ke,dT:()=>j,Sf:()=>ye,Pd:()=>K,px:()=>q,Bd:()=>Z,jO:()=>Y,Sl:()=>z,xw:()=>J,L5:()=>ee,fK:()=>te,Ke:()=>O,qE:()=>ne,c0:()=>G,bB:()=>ae,F7:()=>ie,bK:()=>he,mo:()=>re,a3:()=>se,_B:()=>ue,t1:()=>fe,uW:()=>ce,_M:()=>pe,hQ:()=>ve,wX:()=>de,KJ:()=>me,Ng:()=>le,P:()=>oe,Fd:()=>ge});var a=n(55096),r=n(6682),o=(n(93514),n(62953),n(3296),n(48408),n(76918),n(28706),n(50113),n(46449),n(74423),n(62062),n(23288),n(9868),n(26099),n(16034),n(27495),n(90906),n(38781),n(99449),n(21699),n(47764),n(14603),n(47566),n(98721),n(88947)),i=n.n(o),s=n(65984),u=n(91087),c=n(57889),l=n(16896),d=n(19636),p=n(41805),v=n(67892),f=n(81265),m=n(60346),g=n(65563),h=n(31189),A=n(59755),k=(n(18107),n(67357),{symbol:A.kf,name:A.fX,decimals:A.kS,contractId:A.cK}),y={symbol:"Pool Token",decimals:A.kS},b=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return function(o){var i,s,u,c,l,d,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,v=e(o),f=t(o),m=[];if(o.tx["return"]&&("tuple"===o.tx["return"].type||!n&&"list"===o.tx["return"].type)&&(m=o.tx["return"].value),((null===p||void 0===p?void 0:p[v.contractId])||v.isWrappedCoin)&&((null===p||void 0===p?void 0:p[f.contractId])||f.isWrappedCoin)){var g=v.isWrappedCoin?A.kf:null===p||void 0===p?void 0:p[v.contractId].symbol,h=f.isWrappedCoin?A.kf:null===p||void 0===p?void 0:p[f.contractId].symbol;d="".concat(g,"/").concat(h)}return{tokens:[Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},v),{amount:(null===(i=null===m||void 0===m?void 0:m[0])||void 0===i?void 0:i.value)||v.amount}),k),null===p||void 0===p?void 0:p[v.contractId]),{isReceived:"remove"===a}),Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},f),{amount:(null===(s=null===m||void 0===m?void 0:m[1])||void 0===s?void 0:s.value)||f.amount}),k),null===p||void 0===p?void 0:p[f.contractId]),{isReceived:"remove"===a||!a})].concat((0,r.A)(n?[Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},y),d?{symbol:d}:{}),{amount:(null===(u=null===m||void 0===m?void 0:m[2])||void 0===u?void 0:u.value)||n(o)}),null===p||void 0===p?void 0:p[null===(l=null===(c=o.tx.log)||void 0===c?void 0:c[0])||void 0===l?void 0:l.address]),{isReceived:a&&"add"===a,isPool:!0})]:[]))}}},w=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[4])||void 0===n?void 0:n.value,amount:null===(a=r[2])||void 0===a?void 0:a.value}}),(function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[1])||void 0===t?void 0:t.value,minAmount:null===(n=r[5])||void 0===n?void 0:n.value,amount:null===(a=r[3])||void 0===a?void 0:a.value}}),(function(e){var t,n,a,r,o=e.tx.arguments;return new m.A(null===(t=o[2])||void 0===t?void 0:t.value).times(null===(n=o[3])||void 0===n?void 0:n.value).sqrt().minus(null===(r=null===(a=o[7])||void 0===a?void 0:a.value[1])||void 0===r?void 0:r.value)}),"add"),C=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[2])||void 0===n?void 0:n.value,amount:null===(a=r[1])||void 0===a?void 0:a.value}}),(function(e){var t,n=e.tx,a=n.arguments,r=n.contractId,o=n.amount;return{contractId:r,minAmount:null===(t=a[3])||void 0===t?void 0:t.value,amount:o,isWrappedCoin:!0}}),(function(e){var t,n,a,r=e.tx,o=r.arguments,i=r.amount;return new m.A(null===(t=o[1])||void 0===t?void 0:t.value).times(i).sqrt().minus(null===(a=null===(n=o[5])||void 0===n?void 0:n.value[1])||void 0===a?void 0:a.value)}),"add"),x=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[3])||void 0===n?void 0:n.value,amount:null===(a=r[3])||void 0===a?void 0:a.value}}),(function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[1])||void 0===t?void 0:t.value,minAmount:null===(n=r[4])||void 0===n?void 0:n.value,amount:null===(a=r[4])||void 0===a?void 0:a.value}}),(function(e){var t,n=e.tx.arguments;return null===(t=n[2])||void 0===t?void 0:t.value}),"remove"),L=b((function(e){var t,n,a,r=e.tx.arguments;return{contractId:null===(t=r[0])||void 0===t?void 0:t.value,minAmount:null===(n=r[2])||void 0===n?void 0:n.value,amount:null===(a=r[2])||void 0===a?void 0:a.value}}),(function(e){var t,n,a=e.tx,r=a.arguments,o=a.contractId;return{contractId:o,minAmount:null===(t=r[3])||void 0===t?void 0:t.value,amount:null===(n=r[3])||void 0===n?void 0:n.value,isWrappedCoin:!0}}),(function(e){var t,n=e.tx.arguments;return null===(t=n[1])||void 0===t?void 0:t.value}),"remove"),S=b((function(e){var t,n,a,r,o=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=o[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,amount:null===(r=o[0])||void 0===r?void 0:r.value}}),(function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,minAmount:null===(r=i[1])||void 0===r?void 0:r.value,amount:null===(o=i[1])||void 0===o?void 0:o.value}})),T=b((function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,maxAmount:null===(r=i[1])||void 0===r?void 0:r.value,amount:null===(o=i[1])||void 0===o?void 0:o.value}}),(function(e){var t,n,a,r,o=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=o[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,amount:null===(r=o[0])||void 0===r?void 0:r.value}})),E=b((function(e){var t,n,a,r=e.tx,o=r.arguments,i=r.amount;return{contractId:null===(a=null===(n=null===(t=o[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,amount:i,isWrappedCoin:!0}}),(function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,minAmount:null===(r=i[0])||void 0===r?void 0:r.value,amount:null===(o=i[0])||void 0===o?void 0:o.value}})),I=b((function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,maxAmount:null===(r=i[1])||void 0===r?void 0:r.value,amount:null===(o=i[1])||void 0===o?void 0:o.value}}),(function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,minAmount:null===(r=i[0])||void 0===r?void 0:r.value,amount:null===(o=i[0])||void 0===o?void 0:o.value,isWrappedCoin:!0}})),_=b((function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,minAmount:null===(r=i[0])||void 0===r?void 0:r.value,amount:null===(o=i[0])||void 0===o?void 0:o.value}}),(function(e){var t,n,a,r,o,i=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=i[2])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,maxAmount:null===(r=i[1])||void 0===r?void 0:r.value,amount:null===(o=i[1])||void 0===o?void 0:o.value,isWrappedCoin:!0}})),W=b((function(e){var t,n,a,r=e.tx,o=r.arguments,i=r.amount;return{contractId:null===(a=null===(n=null===(t=o[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n[0])||void 0===a?void 0:a.value,amount:i,isWrappedCoin:!0}}),(function(e){var t,n,a,r,o=e.tx.arguments;return{contractId:null===(a=null===(n=null===(t=o[1])||void 0===t?void 0:t.value)||void 0===n?void 0:n.at(-1))||void 0===a?void 0:a.value,amount:null===(r=o[0])||void 0===r?void 0:r.value}})),F=function(e){var t,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{tokens:[Object.assign(Object.assign(Object.assign({amount:null===(n=null===(t=e.tx.arguments)||void 0===t?void 0:t[1])||void 0===n?void 0:n.value},k),{symbol:"Amount"}),null===a||void 0===a?void 0:a[e.tx.contractId])]}},D=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=(0,a.A)(e.tx.arguments,3),r=n[0],o=n[1],i=n[2],s=Object.assign(Object.assign(Object.assign({amount:null===i||void 0===i?void 0:i.value},k),{symbol:"Amount"}),null===t||void 0===t?void 0:t[e.tx.contractId]);return{tokens:[s],sender:null===r||void 0===r?void 0:r.value,recipient:null===o||void 0===o?void 0:o.value}},B=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{tokens:[Object.assign(Object.assign({},k),{amount:e.tx.amount,isReceived:!1,isWrappedCoin:!0}),Object.assign(Object.assign(Object.assign(Object.assign({},k),{amount:e.tx.amount,symbol:"WAE"}),null===t||void 0===t?void 0:t[e.tx.contractId]),{isReceived:!0})]}},P=function(e){var t,n,a,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{tokens:[Object.assign(Object.assign(Object.assign(Object.assign({},k),{amount:null===(n=null===(t=e.tx.arguments)||void 0===t?void 0:t[0])||void 0===n?void 0:n.value,symbol:"WAE"}),null===o||void 0===o?void 0:o[e.tx.contractId]),{isReceived:!1}),Object.assign(Object.assign({},k),{amount:null===(r=null===(a=e.tx.arguments)||void 0===a?void 0:a[0])||void 0===r?void 0:r.value,isReceived:!0,isWrappedCoin:!0})]}},M={addLiquidity:w,addLiquidityAe:C,removeLiquidity:x,removeLiquidityAe:L,swapExactTokensForTokens:S,swapExactTokensForAe:_,swapExactAeForTokens:E,swapTokensForExactTokens:T,swapTokensForExactAe:I,swapAeForExactTokens:W,changeAllowance:F,createAllowance:F,transferAllowance:D,deposit:B,withdraw:P};function O(e){return M[e]}var R=n(48287)["Buffer"];function N(e){return(0,s.ej)(e.toString(),{denomination:s.j8.AE,targetDenomination:s.j8.AETTOS})}function U(e){return(0,s.ej)(e.toString(),{denomination:s.j8.AETTOS,targetDenomination:s.j8.AE})}function X(e){return"".concat(A.s8,"?address=").concat(e)}function V(e){var t=new URL(A.Q5);return t.searchParams.set("wallet_address",e),t.toString()}function H(e,t,n){if(e&&t&&n){var a=new m.A(e).times(100).div(t),r=new m.A(n).times(a).div(100);return r.toFixed(0)}}function $(e){var t,n=e||{},a=n.tx,r=n.incomplete,o=n.pending;if(!(0,h.NC)(a.type,u.vw[u.vw.ContractCallTx]))return null;if(r||o)return{amount:a.amount,assetContractId:null!==(t=a.selectedTokenContractId)&&void 0!==t?t:a.contractId,to:r?a.recipientId:a.callerId};var i=(a.arguments||[]).map((function(e){return e.value}));switch(a["function"]){case A.vG.transfer:case A.vG.transferPayload:case A.vG.changeAllowance:case A.vG.createAllowance:return{to:i[0],amount:i[1],assetContractId:a.contractId};case A.vG.tipToken:return{url:i[0],note:i[1],amount:i[3],assetContractId:i[2]};case A.vG.retipToken:return{url:i[0],amount:i[2],assetContractId:i[1]};default:return null}}function j(e){return{address:e.gaAccountId,protocol:g.yv.aeternity,idx:0,globalIdx:0}}function K(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"account_pubkey";return(e.pointers&&e.pointers.find((function(e){var n=e.key;return n===t}))||{}).id}function q(e){return+U(new m.A(e||0).toNumber())}function G(e){return(null===e||void 0===e?void 0:e.accountId)||(null===e||void 0===e?void 0:e.callerId)||(null===e||void 0===e?void 0:e.ownerId)}function Q(e){return["GAMetaTx",u.vw[u.vw.GaMetaTx],u.vw[u.vw.PayingForTx]].includes(e.type)}function Z(e){var t;if(e)return Q(e)?null===(t=e.tx)||void 0===t?void 0:t.tx:e}function Y(e){return e.isMultisig?e:void 0}function z(e,t,n){var a=G(n);return e.address===a?A.Zi.current:t.find((function(e){var t=e.address;return t===a}))?A.Zi.subAccount:A.Zi.other}function J(e){return e.isMultisig?void 0:e}function ee(e){var t=Z(e.tx);return(null===t||void 0===t?void 0:t.payload)?(0,c.D4)(null===t||void 0===t?void 0:t.payload).toString():null}function te(e){var t,n;return e.tipUrl||e.url||!e.pending&&!e.claim&&(null===(t=e.tx.log)||void 0===t?void 0:t[0])&&(null===(n=e.tx)||void 0===n?void 0:n["function"])&&(0,h.mK)([A.vG.tip,A.vG.claim],e.tx["function"])&&(0,c.D4)(e.tx.log[0].data).toString()||""}function ne(e,t){if((null===e||void 0===e?void 0:e.tag)===u.vw.SpendTx)return e.senderId===t?g.NX.sent:g.NX.received;var n=["senderId","accountId","ownerId","callerId","payerId"];return n.map((function(t){return null===e||void 0===e?void 0:e[t]})).includes(t)?g.NX.sent:g.NX.received}function ae(e){return e.tag?e.tag:(0,h.NC)(e.type,"GAAttachTx")?u.vw.GaAttachTx:(0,h.NC)(e.type,"GAMetaTx")?u.vw.GaMetaTx:e.type in u.vw?u.vw[e.type]:null}function re(e){return e instanceof l.InvalidTxError&&(0,h.L4)(e,"InsufficientBalance")}function oe(e){try{var t=(0,d.pj)(e);return A.Mu.includes(t.tag)}catch(n){return!1}}function ie(e){return e.length<=A.d&&/^(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDCD0-\uDCEB\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])+\.chain$/g.test(e)}function se(e){var t,n=null===(t=$(e))||void 0===t?void 0:t.assetContractId;return!!e.tx&&!!n&&n!==A.cK}function ue(e,t){var n=t||{},a=n.wae,o=void 0===a?[]:a,i=n.router,s=void 0===i?[]:i;return!!((null===e||void 0===e?void 0:e.contractId)&&(null===e||void 0===e?void 0:e["function"])&&Object.values(A.m5).flat().includes(e["function"])&&[].concat((0,r.A)(o),(0,r.A)(s)).includes(e.contractId))}function ce(e){return!!e&&(0,h.mK)(A.m5.allowance,e)}function le(e){return!!e&&(0,h.mK)(A.m5.swap,e)}function de(e){return!!e&&(0,h.mK)(A.m5.pool,e)}function pe(e){return!!e&&(0,h.mK)(A.m5.maxSpent,e)}function ve(e){return!!e&&(0,h.mK)(A.m5.minReceived,e)}function fe(e){return!!e&&(0,h.mK)(A.m5.addLiquidity,e)}function me(e){return!!e&&(0,h.mK)(A.m5.removeLiquidity,e)}function ge(e){var t=!!(null===e||void 0===e?void 0:e.endsWith(A.CT)),n=!1,r=null,o=null;if(e){var i=e.split("_"),s=(0,a.A)(i,2);r=s[0],o=s[1],n=A.gc.includes(r)&&g.xS.test(o)||t}return{valid:n,isName:t,prefix:r,hash:o}}function he(e){var t=ge(e),n=t.valid,a=t.prefix;return n&&a===p.W.ContractAddress}function Ae(e){return(0,v.pL)(e,p.W.AccountAddress)||(0,v.pL)(e,p.W.ContractAddress)||(0,v.pL)(e,p.W.OracleAddress)}function ke(e){return Ae(e)||(0,v.pL)(e,p.W.Channel)}function ye(e){return new f.A(R.from(e).length===A.TP?i().sign.keyPair.fromSeed(R.from(e)).secretKey:R.from(e))}},91392:(e,t,n)=>{"use strict";n.d(t,{L:()=>y});var a=n(2327),r=n(41417),o=n(13217),i=n(6624),s=n(217),u=(n(16280),n(76918),n(28706),n(74423),n(26099),n(21699),n(91087)),c=n(19636),l=n(31490),d=n(57889),p=n(67892),v=n(56158),f=n(68411),m=n(12082),g=n(65563),h=n(48287)["Buffer"],A=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},k=[u.vw.SpendTx,u.vw.PayingForTx],y=function(e){function t(e){var n;(0,r.A)(this,t),n=(0,i.A)(this,t);var a=(0,f.o)(),o=a.getLastActiveProtocolAccount;return n.address=o(g.yv.aeternity).address,n.nodeNetworkId=e,n}return(0,s.A)(t,e),(0,o.A)(t,[{key:"signTransaction",value:function(e,t){return A(this,void 0,void 0,(0,a.A)().mark((function n(){var r,o,i,s,p,v;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(this.nodeNetworkId.value){n.next=2;break}throw new Error("Not connected to any network");case 2:if(r=(0,c.pj)(e),k.includes(r.tag)&&!(null===t||void 0===t?void 0:t.aeppOrigin)){n.next=10;break}return o=(0,m.S)(),i=o.checkOrAskPermission,n.next=7,i(l.J8.sign,null===t||void 0===t?void 0:t.aeppOrigin,Object.assign(Object.assign({},t),{txBase64:e,tx:r}));case 7:if(s=n.sent,s){n.next=10;break}throw new l.A6("Rejected by user");case 10:return p=(0,d.D4)(e),n.next=13,this.sign(h.concat([h.from(this.nodeNetworkId.value),h.from(p)]),t);case 13:return v=n.sent,n.abrupt("return",(0,c.pr)({tag:u.vw.SignedTx,encodedTx:p,signatures:[v]}));case 15:case"end":return n.stop()}}),n,this)})))}},{key:"signMessage",value:function(e,t){return A(this,void 0,void 0,(0,a.A)().mark((function n(){var r,o,i;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!(null===t||void 0===t?void 0:t.aeppOrigin)){n.next=7;break}return r=(0,m.S)(),o=r.checkOrAskPermission,n.next=4,o(l.J8.signMessage,t.aeppOrigin,{message:e});case 4:if(i=n.sent,i){n.next=7;break}throw new l.A6("Rejected by user");case 7:return n.abrupt("return",this.sign((0,p.JS)(e),t));case 8:case"end":return n.stop()}}),n,this)})))}},{key:"sign",value:function(e,t){return A(this,void 0,void 0,(0,a.A)().mark((function n(){var r,o,i,s;return(0,a.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(r=(0,f.o)(),o=r.getLastActiveProtocolAccount,i=r.getAccountByAddress,s=(null===t||void 0===t?void 0:t.fromAccount)?i(t.fromAccount):o(g.yv.aeternity),!s||!s.secretKey||s.protocol!==g.yv.aeternity){n.next=4;break}return n.abrupt("return",(0,p._S)(e,s.secretKey));case 4:throw new Error("Unsupported protocol");case 5:case"end":return n.stop()}}),n)})))}}]),t}(v.A)},12533:(e,t,n)=>{"use strict";n.d(t,{w:()=>d});var a=n(1287),r=n(41417),o=n(13217),i=n(6624),s=n(217),u=(n(28706),n(41805)),c=n(58338),l=n(41370),d=function(e){function t(e){var n;return(0,r.A)(this,t),n=(0,i.A)(this,t),n.explorerUrl=e,n}return(0,s.A)(t,e),(0,o.A)(t,[{key:"prepareUrlForHash",value:function(e){var n=t.getEndpointByHash(e);return n?"".concat(this.explorerUrl,"/").concat(n,"/").concat(e):void 0}},{key:"prepareUrlForAccount",value:function(e){return this.prepareUrlForHash(e)||"".concat(this.explorerUrl,"/accounts/").concat(e)}}],[{key:"getEndpointByHash",value:function(e){var n=(0,c.Fd)(e),a=n.valid,r=n.prefix;if(a&&r)return t.ADDRESS_TYPES[r]}}]),t}(l.s);d.ADDRESS_TYPES=(0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)({},u.W.AccountAddress,"accounts"),u.W.ContractAddress,"contracts"),u.W.Name,"names"),u.W.OracleAddress,"oracles/queries"),u.W.TxHash,"transactions")},28446:(e,t,n)=>{"use strict";n.d(t,{HF:()=>i,Hl:()=>p,Jb:()=>u,OX:()=>s,bR:()=>o,nM:()=>c,tW:()=>d,uR:()=>l});var a=n(1287),r=n(65563),o="bitcoin",i="BTC",s="Bitcoin",u=8,c="bitcoin",l=546,d=(0,a.A)((0,a.A)({},r.dk,{nodeUrl:"https://blockstream.info/api"}),r.Oj,{nodeUrl:"https://blockstream.info/testnet/api"}),p=(0,a.A)((0,a.A)({},r.dk,{explorerUrl:"https://blockstream.info"}),r.Oj,{explorerUrl:"https://blockstream.info/testnet"})},11948:(e,t,n)=>{"use strict";n.d(t,{n1:()=>u,nG:()=>s});var a=n(60346),r=n(65563),o=n(28446);function i(e){return e/Math.pow(10,o.Jb)}function s(e,t){var n,r;return new a.A((null===(n=e.tx)||void 0===n?void 0:n.amount)||0).plus(t?0:(null===(r=e.tx)||void 0===r?void 0:r.fee)||0).toNumber()}function u(e,t){var n=e.fee,a=e.status,s=e.txid,u=e.vin,c=e.vout;return{protocol:r.yv.bitcoin,transactionOwner:t,hash:s,blockHeight:a.block_height,microTime:1e3*a.block_time,pending:!a.confirmed,tx:{amount:i(c[0].value),fee:i(n),senderId:u[0].prevout.scriptpubkey_address,recipientId:c[0].scriptpubkey_address,type:"SpendTx",arguments:[],callerId:"",contractId:o.bR}}}},28388:(e,t,n)=>{"use strict";n.d(t,{G:()=>s});var a=n(20641),r=n(65563),o=n(81881),i=n(7595);function s(){var e=(0,o.f)(),t=e.activeNetwork,n=e.activeNetworkName,s=(0,a.EW)((function(){return t.value.protocols[r.yv.ethereum]})),u=(0,a.EW)((function(){var e=t.value.type===r.Qb?r.Oj:t.value.type,n=i.$F[e];return n||{}}));return{activeNetworkName:n,ethActiveNetworkSettings:s,ethActiveNetworkPredefinedSettings:u}}},7595:(e,t,n)=>{"use strict";n.d(t,{$F:()=>h,Dz:()=>o,Id:()=>m,LB:()=>s,RA:()=>g,Sf:()=>u,Xn:()=>i,hj:()=>l,iA:()=>f,nE:()=>v,un:()=>p,vZ:()=>A,xU:()=>c,z2:()=>d});var a=n(1287),r=n(65563),o="Ethereum",i="ethereum",s="0x0000000000000000000000000000000000000000",u="Ethereum",c="ETH",l=18,d="ethereum",p=21e3,v=3e4,f=[{constant:!0,inputs:[],name:"decimals",outputs:[{name:"",type:"uint8"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"_to",type:"address"},{name:"_value",type:"uint256"}],name:"transfer",outputs:[{name:"",type:"bool"}],payable:!1,stateMutability:"nonpayable",type:"function"}],m=12,g=(0,a.A)((0,a.A)({},r.dk,{nodeUrl:"https://ethereum.publicnode.com",chainId:"0x1"}),r.Oj,{nodeUrl:"https://ethereum-sepolia.publicnode.com",chainId:"0xaa36a7"}),h=(0,a.A)((0,a.A)({},r.dk,{explorerUrl:"https://etherscan.io",middlewareUrl:"https://api.etherscan.io/api",tokenMiddlewareUrl:"https://api.ethplorer.io"}),r.Oj,{explorerUrl:"https://sepolia.etherscan.io",middlewareUrl:"https://api-sepolia.etherscan.io/api",tokenMiddlewareUrl:"https://sepolia-api.ethplorer.io"}),A=g[r.Oj]},31189:(e,t,n)=>{"use strict";n.d(t,{k0:()=>I,dP:()=>J,zw:()=>_,Vr:()=>W,DB:()=>fe,d3:()=>F,NC:()=>D,ee:()=>B,Jk:()=>P,pe:()=>O,L4:()=>M,y5:()=>we,__:()=>R,mX:()=>N,Ey:()=>U,x6:()=>X,Yq:()=>Ce,ZV:()=>xe,lv:()=>Le,fU:()=>Se,cr:()=>g,lk:()=>ge,$W:()=>V,yU:()=>ve,_S:()=>H,sY:()=>Ue,vQ:()=>Be,XK:()=>_e,xx:()=>Fe,fY:()=>K,mK:()=>q,oS:()=>G,go:()=>me,El:()=>Q,SN:()=>Oe,Ks:()=>Me,xB:()=>Z,EV:()=>Y,Fs:()=>z,B2:()=>te,dZ:()=>ne,d6:()=>Te,j0:()=>ae,sc:()=>$,pV:()=>j,Aq:()=>re,AP:()=>oe,yy:()=>ie,jL:()=>se,lS:()=>ue,Y9:()=>ce,Xz:()=>Ee,LV:()=>le,W5:()=>de,mU:()=>pe});var a=n(73808);n(76918),n(23288),n(26099),n(58940),n(27495),n(90906),n(38781),n(50375);function r(e){var t,n=40,a=16,r=0,o=0,i=encodeURI(e)+"%80",s=[],u=[],c=1732584193,l=4023233417,d=~c,p=~l,v=3285377520,f=[c,l,d,p,v],m=0,g="";function h(e,t){return e<>>32-t}for(;r>2]=s[o>>2]|("%"==i[r]?parseInt(i.substring(r+1,r+=3),16):i.charCodeAt(r++))<<8*(3-(3&o));for(t=(1+(o+7>>6))*a,s[t-1]=8*o-8;m>3]>>>4*(7-(7&r))&15).toString(16);return g}function o(e){return e|=0,e<0?"00":e<16?"0"+e.toString(16):e<256?e.toString(16):"ff"}function i(e,t,n){return n=n<0?n+6:n>6?n-6:n,o(255*(n<1?e+(t-e)*n:n<3?t:n<4?e+(t-e)*(4-n):e))}function s(e,t,n){var a;if(0==t){var r=o(255*n);a=r+r+r}else{var s=n<=.5?n*(t+1):n+t-n*t,u=2*n-s;a=i(u,s,6*e+2)+i(u,s,6*e)+i(u,s,6*e-2)}return"#"+a}function u(e,t,n){var a=[.55,.5,.5,.46,.6,.55,.55],r=a[6*e+.5|0];return n=n<.5?n*r*2:r+(n-.5)*(1-r)*2,s(e,t,n)}function c(e,t){return e=t.X(e),[u(e,t.F,t.G(0)),u(e,t.o,t.p(.5)),u(e,t.F,t.G(1)),u(e,t.o,t.p(1)),u(e,t.o,t.p(0))]}function l(e,t,n){return parseInt(e.substr(t,n),16)}function d(e){return r(null==e?"":""+e)}function p(e){return/^[0-9a-f]{11,}$/i.test(e)&&e}var v={lightness:{color:.57,grayscale:[.47,.58]},saturation:{color:.83,grayscale:.42},backColor:"#12121bff"};function f(e){if(/^#[0-9a-f]{3,8}$/i.test(e)){var t,n=e.length;if(n<6){var a=e[1],r=e[2],o=e[3],i=e[4]||"";t="#"+a+a+r+r+o+o+i+i}return(7==n||n>8)&&(t=e),t}}function m(e,t){var n="object"==(0,a.A)(e)&&e||rootConfigurationHolder[CONFIG_PROPERTIES.n]||GLOBAL[CONFIG_PROPERTIES.W]||{},r=n["lightness"]||{},o=n["saturation"]||{},i="color"in o?o["color"]:o,s=o["grayscale"],u=n["backColor"],c=n["padding"];function l(e,t){var n=r[e];return n&&n.length>1||(n=t),function(e){return e=n[0]+e*(n[1]-n[0]),e<0?0:e>1?1:e}}function d(e){var t,a=n["hues"];return a&&a.length>0&&(t=a[0|.999*e*a.length]),"number"==typeof t?(t/360%1+1)%1:e}return{X:d,o:"number"==typeof i?i:.5,F:"number"==typeof s?s:0,p:l("color",[.4,.8]),G:l("grayscale",[.3,.9]),H:f(u),Y:"number"==typeof e?e:"number"==typeof c?c:t}}var g=function(e){var t=p(e)||d(e),n=l(t,-7)/268435455,a=m(v,.08);return c(n,a)[4]},h=n(55096),A=n(2327),k=n(6682),y=(n(25440),n(62953),n(28706),n(88431),n(2008),n(48980),n(51629),n(23418),n(74423),n(64346),n(48598),n(8921),n(62062),n(44114),n(72712),n(34782),n(15086),n(26910),n(33110),n(36033),n(2892),n(40150),n(9868),n(5506),n(53921),n(79432),n(16034),n(99449),n(21699),n(47764),n(71761),n(11392),n(23500),n(76031),n(20641)),b=n(51543),w=n(73864),C=n(60346),x=n(40962),L=n(65563),S=n(44343),T=n(32118),E=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};function I(e){var t=2,n="object"===(0,a.A)(e)?e:new C.A(Number(e));return n.lt(.01)&&n.toString().length-t0&&void 0!==arguments[0]?arguments[0]:{},t=e.protocol,n=e.idx;return[t?T.C.getAdapter(t).protocolName:null,(0,S.tg)("pages.account.heading"),(n||0)+1].filter(R).join(" ")}function H(e){var t=window.localStorage.getItem(ee(e));return t?JSON.parse(t):void 0}function $(e){return window.localStorage.removeItem([L.$m].concat((0,k.A)(e)).join("_"))}function j(e){return Object.fromEntries(Object.entries(e).filter((function(e){return void 0!==e[1]})))}function K(e){return console.warn("Unknown rejection",e)}function q(e,t){return e.includes(t)}function G(e){return E(this,void 0,void 0,(0,A.A)().mark((function t(){var n;return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,x.S.canShare();case 2:if(n=t.sent.value,!n){t.next=6;break}return t.next=6,x.S.share({text:e});case 6:case"end":return t.stop()}}),t)})))}function Q(e){return 404===(null===e||void 0===e?void 0:e.statusCode)}function Z(e){return Object.values(e).some((function(e){return![null,void 0,!1].includes(e)}))}function Y(e){window.open(e,"_blank")}function z(e){return function(t){return e.reduce((function(e,t){return t(e)}),t)}}function J(e){var t=this;return function(n){return e.reduce((function(e,n){return E(t,void 0,void 0,(0,A.A)().mark((function t(){return(0,A.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.t0=n,t.next=3,e;case 3:return t.t1=t.sent,t.abrupt("return",(0,t.t0)(t.t1));case 5:case"end":return t.stop()}}),t)})))}),Promise.resolve(n))}}function ee(e){return[L.$m].concat((0,k.A)(e)).join("_")}function te(e,t){return X(e,Object.assign(Object.assign({method:"post",headers:{"Content-Type":"application/json"}},t),{body:(null===t||void 0===t?void 0:t.body)&&JSON.stringify(t.body)}))}function ne(e){return e.map((function(e){return{text:V(e),value:e.address}}))}function ae(e){return(0,b.A)(e,(function(e,t){return e.hash===t.hash&&e.transactionOwner===t.transactionOwner}))}function re(e,t){var n=S.tg,a=60,r=60*a,o=24*r;return et?"...":""):""}function pe(e){return new Promise((function(t){var n=(0,y.wB)(e,(function(e){e&&(t(e),(0,w.A)((function(){return n()})))}),{immediate:!0})}))}function ve(e,t,n){return E(this,void 0,void 0,(0,A.A)().mark((function a(){var r,o,i;return(0,A.A)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:r=0,o=0,i=[];case 3:return a.prev=3,r=i.lastIndexOf(!0)+o,o+=i.length,a.next=8,Promise.all(Array.from(Array(L.E9+r-o+1).keys(),(function(e){return e+o})).map((function(a){return e(t(n,a).address)})));case 8:i=a.sent,a.next=14;break;case 11:return a.prev=11,a.t0=a["catch"](3),a.abrupt("break",15);case 14:if(-1!==i.lastIndexOf(!0)&&i.filter((function(e){return!e})).length!==L.E9){a.next=3;break}case 15:return a.abrupt("return",r);case 16:case"end":return a.stop()}}),a,null,[[3,11]])})))}function fe(e){var t=L.G9.endsWith("/")?L.G9.slice(0,-1):L.G9;return[e["x-success"],e["x-cancel"]].every((function(e){return e&&e.startsWith(t)}))}function me(e){return L.E4.some((function(t){return T.C.getAdapter(t).coinContractId===e}))}function ge(e){var t=Object.assign({},e);return null===t||void 0===t||delete t.onCompiler,null===t||void 0===t||delete t.onNode,t}n(3296),n(48408),n(14603),n(47566),n(98721);var he=n(74353),Ae=n.n(he),ke=n(6279),ye=n.n(ke);Ae().extend(ye());const be=Ae();function we(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/(\r\n|\n|\r|\n\r)/gm," ").replace(/"/g,"")}function Ce(e){return new Date(+e).toLocaleDateString(L.Xn,{year:"2-digit",month:"2-digit",day:"2-digit"})}function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Intl.NumberFormat(L.Xn,t).format(e)}function Le(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Intl.NumberFormat(L.Xn,t).formatToParts(e)}function Se(e){return new Date(+e).toLocaleTimeString(navigator.language,{timeStyle:"short"})}function Te(e){return be().to(be(e))}function Ee(e){return new URL(e.includes("://")?e:"https://".concat(e))}var Ie={ChannelCloseSoloTx:function(){return(0,S.tg)("transaction.type.channelCloseSoloTx")},ChannelSlashTx:function(){return(0,S.tg)("transaction.type.channelSlashTx")},ChannelSettleTx:function(){return(0,S.tg)("transaction.type.channelSettleTx")},ChannelSnapshotSoloTx:function(){return(0,S.tg)("transaction.type.channelSnapshotSoloTx")},ContractCreateTx:function(){return(0,S.tg)("transaction.type.contractCreateTx")},ContractCallTx:function(){return(0,S.tg)("transaction.type.contractCallTx")},GaMetaTx:function(){return(0,S.tg)("transaction.type.gaMetaTx")},GaAttachTx:function(){return(0,S.tg)("transaction.type.gaAttachTx")},NamePreclaimTx:function(){return(0,S.tg)("transaction.type.namePreclaimTx")},NameClaimTx:function(){return(0,S.tg)("transaction.type.nameClaimTx")},NameUpdateTx:function(){return(0,S.tg)("transaction.type.nameUpdateTx")},NameTransferTx:function(){return(0,S.tg)("transaction.type.nameTransferTx")},NameRevokeTx:function(){return(0,S.tg)("transaction.type.nameRevokeTx")},OracleRegisterTx:function(){return(0,S.tg)("transaction.type.oracleRegisterTx")},OracleExtendTx:function(){return(0,S.tg)("transaction.type.oracleExtendTx")},OracleQueryTx:function(){return(0,S.tg)("transaction.type.oraclePostQueryTx")},OracleResponseTx:function(){return(0,S.tg)("transaction.type.oracleRespondTx")},PayingForTx:function(){return(0,S.tg)("transaction.type.payingForTx")},SpendTx:function(){return(0,S.tg)("transaction.type.sentTx")}};function _e(e){var t=Ie[e];return t?t():""}var We={NamePreclaimTx:function(){return(0,S.tg)("transaction.listType.namePreclaimTx")},NameClaimTx:function(){return(0,S.tg)("transaction.listType.nameClaimTx")},NameUpdateTx:function(){return(0,S.tg)("transaction.listType.nameUpdateTx")},NameTransferTx:function(){return(0,S.tg)("transaction.listType.nameTransferTx")},NameRevokeTx:function(){return(0,S.tg)("transaction.listType.nameRevokeTx")},SpendTx:function(){return(0,S.tg)("transaction.listType.sentTx")}};function Fe(e){var t=We[e];return t?t():""}var De={propose:function(){return(0,S.tg)("transaction.function.propose")},revoke:function(){return(0,S.tg)("transaction.function.revoke")},refuse:function(){return(0,S.tg)("transaction.function.refuse")},confirm:function(){return(0,S.tg)("transaction.function.confirm")},tip_token:function(){return(0,S.tg)("transaction.function.tip_token")},retip_token:function(){return(0,S.tg)("transaction.function.retip_token")}};function Be(e){var t=De[e];return t?t():""}var Pe=n(57761);function Me(e){try{var t=Ee(e);return["http:","https:"].includes(t.protocol)&&(0,Pe.isFQDN)(t.hostname)}catch(n){return!1}}function Oe(e){return e&&e.split(" ").length>=L.TP}n(90744);var Re="//",Ne=[(0,S.tg)("validation.addressNotSameAs",[Re]),(0,S.tg)("validation.maxValueVault",[Re])];function Ue(e){return e?Ne.some((function(t){var n=t.split(Re);return e.startsWith(n[0])&&e.endsWith(n[1])}))?{status:"warning",text:e}:{status:"error",text:e}:{status:"success"}}},87053:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Fv)('',3),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},84648:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M5.95552 18.0443C6.147 18.2358 6.42146 18.3443 6.70868 18.3379L15.1274 18.3315C15.4274 18.3251 15.6635 18.2294 15.8486 18.0443C16.2507 17.6422 16.2571 17.0614 15.8678 16.672C15.6635 16.4678 15.4146 16.372 15.1529 16.3784L12.2616 16.3593L8.71921 16.5188L10.2957 15.121L18.0315 7.38527C18.4528 6.96401 18.4528 6.37681 18.0379 5.96194C17.6166 5.54068 17.0294 5.54068 16.6082 5.96194L8.8724 13.6977L7.48098 15.2678L7.63416 11.7319L7.61501 8.84051C7.6214 8.57883 7.52566 8.3299 7.32141 8.12566C6.93207 7.73632 6.35125 7.7427 5.94914 8.1448C5.76405 8.3299 5.66192 8.57244 5.65554 8.89796V17.2848C5.64916 17.572 5.75766 17.8464 5.95552 18.0443Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},65608:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M18.0314 5.95549C17.8399 5.76401 17.5655 5.65551 17.2782 5.66189L8.85952 5.66827C8.55954 5.67465 8.32338 5.77039 8.13828 5.95549C7.73618 6.3576 7.72979 6.93842 8.11914 7.32776C8.32338 7.532 8.5723 7.62775 8.83399 7.62136L11.7253 7.64051L15.2677 7.48094L13.6912 8.87874L5.95542 16.6145C5.53416 17.0358 5.53416 17.623 5.94903 18.0379C6.37029 18.4591 6.95749 18.4591 7.37875 18.0379L15.1145 10.3021L16.5059 8.73194L16.3528 12.2679L16.3719 15.1593C16.3655 15.421 16.4613 15.6699 16.6655 15.8741C17.0548 16.2635 17.6357 16.2571 18.0378 15.855C18.2229 15.6699 18.325 15.4273 18.3314 15.1018V6.71503C18.3378 6.42781 18.2293 6.15335 18.0314 5.95549Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},19298:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.167368 0.167368C0.390524 -0.0557892 0.752333 -0.0557892 0.97549 0.167368L4 3.19188L7.02451 0.167368C7.24767 -0.0557892 7.60948 -0.0557892 7.83263 0.167368C8.05579 0.390524 8.05579 0.752333 7.83263 0.97549L4.40406 4.40406C4.1809 4.62722 3.8191 4.62722 3.59594 4.40406L0.167368 0.97549C-0.0557892 0.752333 -0.0557892 0.390524 0.167368 0.167368Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},46841:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 11 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M2 20L9.40945 11.6644C9.74624 11.2855 9.74624 10.7145 9.40945 10.3356L2 2",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},5684:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M6.28388 16.2874C5.91275 16.6584 5.89508 17.321 6.29272 17.7008C6.67269 18.0984 7.34427 18.0807 7.7154 17.7097L12.0011 13.4251L16.2868 17.7097C16.6668 18.0895 17.3207 18.0984 17.7007 17.7008C18.0983 17.321 18.0895 16.6584 17.7095 16.2785L13.4238 11.994L17.7095 7.71829C18.0895 7.32959 18.0983 6.67587 17.7007 6.296C17.3207 5.89847 16.6668 5.9073 16.2868 6.28717L12.0011 10.5717L7.7154 6.28717C7.34427 5.91614 6.67269 5.89847 6.29272 6.296C5.89508 6.67587 5.91275 7.33843 6.28388 7.70946L10.5696 11.994L6.28388 16.2874Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},41970:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Fv)('',2),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},2041:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Fv)('',2),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},74462:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r={viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M15.8888 9.16675H10.3888C9.71383 9.16675 9.16663 9.71396 9.16663 10.389V15.889C9.16663 16.564 9.71383 17.1112 10.3888 17.1112H15.8888C16.5639 17.1112 17.1111 16.564 17.1111 15.889V10.389C17.1111 9.71396 16.5639 9.16675 15.8888 9.16675Z",stroke:"currentColor","stroke-opacity":"0.85","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),i=(0,a.Lk)("path",{d:"M6.72213 12.8334H6.11102C5.78686 12.8334 5.47599 12.7046 5.24677 12.4754C5.01756 12.2462 4.88879 11.9353 4.88879 11.6111V6.11114C4.88879 5.78698 5.01756 5.47611 5.24677 5.2469C5.47599 5.01769 5.78686 4.88892 6.11102 4.88892H11.611C11.9352 4.88892 12.246 5.01769 12.4753 5.2469C12.7045 5.47611 12.8332 5.78698 12.8332 6.11114V6.72225",stroke:"currentColor","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),s=[o,i];function u(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,s)}var c=n(66262);const l={},d=(0,c.A)(l,[["render",u]]),p=d},45799:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M19.2202 4.67847H4.77995C2.95486 4.67847 2.00006 5.62481 2.00006 7.43301V8.19346H22.0001V7.43301C22.0001 5.62481 21.0537 4.67847 19.2202 4.67847ZM5.53196 16.6176C5.03344 16.6176 4.69546 16.2881 4.69546 15.8065V14.2433C4.69546 13.7701 5.03344 13.4322 5.53196 13.4322H7.60209C8.09216 13.4322 8.43014 13.7701 8.43014 14.2433V15.8065C8.43014 16.2881 8.09216 16.6176 7.60209 16.6176H5.53196ZM4.77995 19.3215H19.2202C21.0537 19.3215 22.0001 18.3667 22.0001 16.5585V10.1791H2.00006V16.5585C2.00006 18.3751 2.95486 19.3215 4.77995 19.3215Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},78185:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M14.6667 11.6111V15.2778C14.6667 15.6019 14.5379 15.9128 14.3087 16.142C14.0795 16.3712 13.7686 16.5 13.4444 16.5H6.72222C6.39807 16.5 6.08719 16.3712 5.85798 16.142C5.62877 15.9128 5.5 15.6019 5.5 15.2778V8.55556C5.5 8.2314 5.62877 7.92052 5.85798 7.69131C6.08719 7.4621 6.39807 7.33333 6.72222 7.33333H10.3889M12.8333 5.5H16.5M16.5 5.5V9.16667M16.5 5.5L9.77778 12.2222",stroke:"currentColor","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},57171:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.33209 4.50633L11.0376 4.90916C11.2965 4.41113 11.8172 4.07007 12.4161 4.07007C13.0206 4.07007 13.5429 4.41086 13.8021 4.90849L17.5084 4.50633C18.2633 4.42241 18.8001 4.90057 18.8001 5.62204C18.8001 6.35197 18.2633 6.83845 17.5084 6.75467L13.8002 6.34499C13.6571 6.61958 13.4344 6.84584 13.1627 6.99368V8.00465H13.6662C14.3287 8.00465 14.7399 8.41567 14.7399 9.07846V10.0348H14.9665C15.3355 10.0348 15.4781 10.1438 15.6291 10.5633L16.1409 11.9476C16.1836 12.0645 16.2631 12.1613 16.3756 12.2165C16.4406 12.2483 16.5164 12.2663 16.6023 12.2663H16.963C19.6813 12.2663 22.5 13.8687 22.5 18.6422V19.4223C22.5 19.7747 22.3322 19.9341 21.9798 19.9341H18.9094C18.5571 19.9341 18.3976 19.7747 18.3976 19.4223V18.2563C18.3976 17.1489 17.7348 16.5365 16.9044 16.5365C16.468 16.5365 15.9731 16.7294 15.5955 17.1069C14.6561 17.9711 13.8088 18.5415 12.4078 18.5415C10.9984 18.5415 9.89919 17.8788 9.07715 16.9812C8.70816 16.5533 8.44793 16.4861 7.92774 16.4861H3.85056V17.9207C3.85056 18.2899 3.5487 18.6002 3.17112 18.6002C2.80212 18.6002 2.5 18.2899 2.5 17.9207V11.0667C2.5 10.6976 2.80212 10.3871 3.17112 10.3871C3.5487 10.3871 3.85056 10.6976 3.85056 11.0667V12.2663H8.21294C8.4396 12.2663 8.59885 12.1321 8.67459 11.9476L9.17786 10.5633C9.33711 10.1438 9.47139 10.0348 9.84065 10.0348H10.0754V9.07846C10.0754 8.41567 10.4865 8.00465 11.141 8.00465H11.6778V6.99516C11.406 6.84718 11.1831 6.62012 11.0397 6.34432L7.33209 6.75467C6.56886 6.83845 6.03175 6.35197 6.03175 5.62204C6.03175 4.90057 6.56886 4.42241 7.33209 4.50633Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},18427:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM8.14255 4.20915C5.32236 5.60819 3.37003 8.49343 3.30984 11.8406C3.96861 11.9404 4.59539 12.1157 4.63655 12.4582C4.65044 12.5704 4.65925 12.69 4.66784 12.8064C4.66952 12.8292 4.6712 12.8519 4.6729 12.8744L4.67296 12.8754C4.71136 13.4318 4.75104 14.0067 5.20353 14.2064C5.2495 14.2275 5.29937 14.2389 5.34995 14.2397C5.53998 14.2397 5.67809 14.069 5.82658 13.8619L5.84424 13.838C5.97508 13.6559 6.09865 13.4842 6.25961 13.4842C6.31785 13.4863 6.37406 13.5062 6.42056 13.5415C6.61654 13.6617 6.82176 13.7661 7.03427 13.8536L7.048 13.8598C7.59079 14.1038 8.19938 14.3774 8.19938 14.7901C8.19327 15.0147 8.1749 15.2388 8.14434 15.4613C8.09034 15.9202 8.0405 16.3531 8.19938 16.4624C8.67464 16.9005 9.08327 17.406 9.41225 17.9629C9.43 18.0796 9.45815 18.1945 9.49637 18.3063C9.61978 18.6222 9.67328 18.9613 9.65317 19.3C9.52869 19.6252 9.36796 19.9345 9.17453 20.222C10.0604 20.5264 11.0109 20.6916 12 20.6916C16.8002 20.6916 20.6916 16.8002 20.6916 12C20.6916 11.495 20.6485 11.0001 20.5659 10.5187C20.4129 10.7734 20.1635 11.0284 19.8966 11.3014L19.8858 11.3125C19.2627 11.9421 18.5659 12.6559 18.8089 13.6445C18.8228 13.6912 18.8267 13.7404 18.8204 13.7888C18.8142 13.8372 18.7979 13.8837 18.7726 13.9254C18.622 14.1679 18.1495 14.273 17.6428 14.3843C17.0949 14.4314 16.5773 14.6561 16.1682 15.0243C16.0585 15.1698 15.9142 15.2854 15.7484 15.3605C15.5825 15.4355 15.4006 15.4677 15.2191 15.454C14.7713 15.4352 14.3317 15.327 13.9263 15.1356C13.8639 15.111 13.7969 15.1003 13.73 15.1044C13.647 15.1044 13.5514 15.1134 13.4491 15.123C13.4413 15.1237 13.4336 15.1245 13.4258 15.1252H13.4081L13.4018 15.1258C13.2766 15.137 13.1643 15.1471 13.055 15.1471C12.9706 15.1577 12.8849 15.1502 12.8037 15.1251C12.7224 15.1 12.6474 15.0578 12.5836 15.0014C12.5433 14.948 12.5151 14.8865 12.5009 14.8211C12.4868 14.7556 12.487 14.6879 12.5016 14.6226C12.5846 13.9402 13.0517 13.7653 13.6434 13.5437C13.6566 13.5387 13.6704 13.5335 13.6838 13.5285C13.8313 13.4729 13.9839 13.4154 14.1391 13.3448C14.7799 13.0565 15.6916 12.2001 15.6615 11.8078C15.6585 11.768 15.6422 11.7303 15.6153 11.7009C15.5884 11.6715 15.5523 11.6519 15.513 11.6455C14.7158 11.3947 13.9842 10.9696 13.3709 10.401C12.7576 9.83232 12.2781 9.13429 11.9668 8.35729C11.9159 8.34688 11.8837 8.14917 11.8442 7.89839C11.758 7.35417 11.6262 6.53315 11.161 6.49777C11.1294 6.49777 11.0981 6.49597 11.0667 6.49415C11.035 6.49232 11.0032 6.49049 10.9709 6.49049C10.7902 6.49348 10.6098 6.50808 10.4309 6.53419C10.2375 6.56103 10.0426 6.57563 9.84735 6.5779C9.59361 6.57653 9.34067 6.54933 9.09242 6.49673C8.29387 6.3344 8.26168 5.88279 8.20561 4.98165C8.19127 4.75485 8.1739 4.49768 8.14255 4.20915Z",fill:"white"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},87398:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 34 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 8.09196L9.00282 0H24.9972L34 8.09196L17.0479 24L0 8.09196ZM10.0085 2.48276H14.893L25.3324 12.7356L17 20.5517L3.73521 8.13794L10.0085 2.48276Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},94386:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M16.8246 5.12346L17.9121 4.04114C18.4509 3.49998 18.4709 2.90871 17.982 2.40763L17.5929 2.00678C17.104 1.51572 16.4954 1.56583 15.9666 2.09697L14.8791 3.16927L16.8246 5.12346ZM4.60249 17.3797L15.8668 6.06547L13.9312 4.13133L2.66691 15.4255L1.68914 17.7906C1.57939 18.0912 1.88868 18.422 2.188 18.3117L4.60249 17.3797Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},71403:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M23.9903 44C34.9522 44 44 34.9478 44 24C44 13.0522 34.9328 4 23.971 4C13.0285 4 4 13.0522 4 24C4 34.9478 13.0478 44 23.9903 44ZM14.6332 24.0193C14.6332 22.8781 15.4451 22.0851 16.5665 22.0851H22.0764V16.5725C22.0764 15.4507 22.8497 14.6576 23.9517 14.6576C25.0923 14.6576 25.885 15.4507 25.885 16.5725V22.0851H31.4142C32.5162 22.0851 33.3282 22.8781 33.3282 24.0193C33.3282 25.1219 32.5162 25.9149 31.4142 25.9149H25.885V31.4275C25.885 32.53 25.0923 33.3424 23.9517 33.3424C22.8497 33.3424 22.0764 32.53 22.0764 31.4275V25.9149H16.5665C15.4451 25.9149 14.6332 25.1219 14.6332 24.0193Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},73665:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Fv)('',1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},1100:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M12 22C17.4695 22 22 17.4792 22 12C22 6.53049 17.4695 2 11.9903 2C6.52081 2 2 6.53049 2 12C2 17.4792 6.53049 22 12 22ZM12 20.0348C7.54695 20.0348 3.97483 16.453 3.97483 12C3.97483 7.54695 7.53727 3.97483 11.9903 3.97483C16.4434 3.97483 20.0252 7.54695 20.0348 12C20.0348 16.453 16.453 20.0348 12 20.0348Z",fill:"currentColor"},null,-1),i=(0,a.Lk)("path",{d:"M11.699 13.9913C12.2382 13.9894 12.5802 13.6843 12.6083 13.2822C12.6081 13.243 12.6079 13.194 12.6078 13.1646C12.6355 12.6547 12.9872 12.3103 13.623 11.8963C14.5816 11.2557 15.2071 10.6947 15.2031 9.55745C15.1974 7.92021 13.7236 6.99397 11.9883 7.00003C10.3118 7.00588 9.16744 7.77459 8.86674 8.69721C8.8085 8.86408 8.77967 9.03085 8.78028 9.20732C8.78193 9.6779 9.1555 9.97072 9.54765 9.96935C9.9104 9.96809 10.1452 9.82021 10.3403 9.55482L10.4965 9.35819C10.8182 8.81785 11.2877 8.5319 11.876 8.52984C12.6701 8.52707 13.2109 8.99577 13.2133 9.66244C13.2154 10.2801 12.8047 10.5854 11.9734 11.1668C11.279 11.6496 10.771 12.1612 10.7741 13.0533L10.7745 13.1612C10.7764 13.7102 11.1107 13.9933 11.699 13.9913ZM11.6997 17.0011C12.3271 16.9989 12.8451 16.5363 12.843 15.9187C12.8408 15.301 12.3196 14.8519 11.6922 14.8541C11.0549 14.8563 10.5467 15.3188 10.5488 15.9267C10.551 16.5443 11.0722 17.0033 11.6997 17.0011Z",fill:"currentColor"},null,-1),s=[o,i];function u(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,s)}var c=n(66262);const l={},d=(0,c.A)(l,[["render",u]]),p=d},36100:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r={viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("circle",{opacity:"0.5",cx:"8.50016",cy:"8.24998",r:"6.66667",fill:"currentColor"},null,-1),i=(0,a.Lk)("path",{d:"M4.5 8.39293C4.49979 8.02697 4.54964 7.6627 4.64819 7.31026L5.38191 7.51598C5.18682 8.21199 5.23051 8.95329 5.506 9.62157C5.7815 10.2898 6.27292 10.8466 6.90183 11.2029C7.53074 11.5592 8.26089 11.6946 8.97573 11.5874C9.69058 11.4802 10.3489 11.1367 10.8457 10.6116C11.3424 10.0865 11.649 9.41012 11.7164 8.69044C11.7838 7.97075 11.6081 7.24923 11.2175 6.64103C10.8269 6.03284 10.2438 5.57303 9.56123 5.335C8.87872 5.09696 8.13613 5.09442 7.452 5.32779L7.90571 5.86836C7.92848 5.89544 7.94326 5.92832 7.94838 5.96332C7.95351 5.99832 7.94879 6.03406 7.93475 6.06653C7.92071 6.09901 7.89791 6.12692 7.86889 6.14716C7.83988 6.1674 7.8058 6.17916 7.77048 6.18112L5.91638 6.28588C5.88665 6.28777 5.85689 6.28265 5.8295 6.27095C5.8021 6.25925 5.77783 6.24128 5.75864 6.2185C5.73945 6.19571 5.72587 6.16874 5.71899 6.13976C5.71212 6.11077 5.71214 6.08057 5.71905 6.0516L6.15029 4.24931C6.15851 4.21508 6.17606 4.1838 6.20099 4.15894C6.22592 4.13407 6.25725 4.11661 6.29151 4.10848C6.32576 4.10035 6.3616 4.10187 6.39504 4.11288C6.42849 4.12389 6.45822 4.14395 6.48095 4.17084L6.93429 4.71255C7.72546 4.37601 8.60402 4.30335 9.43974 4.50534C10.2755 4.70733 11.0238 5.17323 11.574 5.83397C12.1241 6.49471 12.4467 7.31512 12.494 8.1736C12.5412 9.03209 12.3106 9.88294 11.8363 10.6001C11.3619 11.3172 10.6692 11.8624 9.86068 12.1548C9.05217 12.4473 8.17094 12.4715 7.34761 12.2238C6.52429 11.9761 5.80268 11.4697 5.28976 10.7797C4.77684 10.0896 4.4999 9.25271 4.5 8.39293Z",fill:"currentColor"},null,-1),s=[o,i];function u(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,s)}var c=n(66262);const l={},d=(0,c.A)(l,[["render",u]]),p=d},43226:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.1111 15.9498C13.8923 16.4718 14.8107 16.7504 15.7502 16.7504C17.01 16.7504 18.2182 16.2499 19.1091 15.3591C19.9999 14.4682 20.5004 13.26 20.5004 12.0002C20.5004 11.0607 20.2218 10.1423 19.6998 9.36112C19.1779 8.57996 18.436 7.97112 17.568 7.61159C16.7 7.25206 15.7449 7.15799 14.8235 7.34128C13.902 7.52456 13.0556 7.97697 12.3913 8.6413C11.727 9.30562 11.2746 10.152 11.0913 11.0735C10.908 11.9949 11.0021 12.95 11.3616 13.818C11.7211 14.686 12.33 15.4279 13.1111 15.9498ZM12.2778 17.197C13.3056 17.8838 14.514 18.2504 15.7502 18.2504C17.4078 18.2504 18.9976 17.5919 20.1697 16.4197C21.3419 15.2476 22.0004 13.6578 22.0004 12.0002C22.0004 10.764 21.6338 9.55561 20.947 8.52777C20.2602 7.49993 19.2841 6.69883 18.142 6.22577C17 5.75271 15.7433 5.62893 14.5308 5.8701C13.3184 6.11126 12.2047 6.70653 11.3306 7.58064C10.4565 8.45474 9.86126 9.56842 9.6201 10.7808C9.37893 11.9933 9.50271 13.25 9.97577 14.392C10.4488 15.5341 11.2499 16.5102 12.2778 17.197Z",fill:"currentColor"},null,-1),i=(0,a.Lk)("path",{d:"M8.25018 18.2504C7.01402 18.2504 5.80561 17.8838 4.77777 17.197C3.74993 16.5102 2.94883 15.5341 2.47577 14.392C2.00271 13.25 1.87893 11.9933 2.1201 10.7808C2.36126 9.56842 2.95653 8.45474 3.83064 7.58064C4.70474 6.70653 5.81842 6.11126 7.03083 5.8701C8.24325 5.62893 9.49995 5.75271 10.642 6.22577C11.7841 6.69883 12.7602 7.49993 13.447 8.52777C14.1338 9.55561 14.5004 10.764 14.5004 12.0002C14.5004 13.6578 13.8419 15.2476 12.6697 16.4197C11.4976 17.5919 9.90784 18.2504 8.25018 18.2504Z",fill:"currentColor"},null,-1),s=[o,i];function u(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,s)}var c=n(66262);const l={},d=(0,c.A)(l,[["render",u]]),p=d},35240:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{d:"M6.47614 18.3334H13.5317C14.5524 18.3334 15.1485 17.7895 15.1932 16.7763L15.6626 6.01036H16.6907C17.0707 6.01036 17.3613 5.71234 17.3613 5.33982C17.3613 4.9673 17.0632 4.68418 16.6907 4.68418H13.4572V3.56661C13.4572 2.37454 12.6898 1.66675 11.4083 1.66675H8.57717C7.29569 1.66675 6.5283 2.37454 6.5283 3.56661V4.68418H3.3097C2.93718 4.68418 2.63916 4.97475 2.63916 5.33982C2.63916 5.7198 2.93718 6.01036 3.3097 6.01036H4.34531L4.82214 16.7763C4.8594 17.7895 5.45543 18.3334 6.47614 18.3334ZM8.07799 3.63367C8.07799 3.2984 8.30896 3.08233 8.68148 3.08233H11.3115C11.684 3.08233 11.915 3.2984 11.915 3.63367V4.68418H8.07799V3.63367ZM7.60861 16.0461C7.3106 16.0461 7.10198 15.8524 7.09453 15.5544L6.87102 7.64201C6.86357 7.34399 7.07218 7.14283 7.3851 7.14283C7.68312 7.14283 7.89173 7.33654 7.89918 7.63456L8.12269 15.5469C8.1376 15.845 7.92898 16.0461 7.60861 16.0461ZM10.0002 16.0461C9.68729 16.0461 9.47868 15.8524 9.47868 15.5544V7.63456C9.47868 7.34399 9.68729 7.14283 10.0002 7.14283C10.3131 7.14283 10.5292 7.34399 10.5292 7.63456V15.5544C10.5292 15.8524 10.3131 16.0461 10.0002 16.0461ZM12.3918 16.0536C12.0714 16.0536 11.8628 15.845 11.8777 15.5544L12.1012 7.63456C12.1087 7.33654 12.3173 7.14283 12.6153 7.14283C12.9282 7.14283 13.1369 7.34399 13.1294 7.64201L12.9059 15.5544C12.8984 15.8524 12.6898 16.0536 12.3918 16.0536Z",fill:"currentColor"},null,-1),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},29592:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r={viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},o=(0,a.Lk)("path",{opacity:"0.5",d:"M10.5001 18.8333C15.1025 18.8333 18.8334 15.1024 18.8334 10.5C18.8334 5.89763 15.1025 2.16667 10.5001 2.16667C5.89771 2.16667 2.16675 5.89763 2.16675 10.5C2.16675 15.1024 5.89771 18.8333 10.5001 18.8333Z",fill:"currentColor"},null,-1),i=(0,a.Lk)("path",{d:"M11.3334 7.16666C11.3334 6.70642 10.9603 6.33333 10.5001 6.33333C10.0398 6.33333 9.66675 6.70642 9.66675 7.16666V12.1667C9.66675 12.6269 10.0398 13 10.5001 13C10.9603 13 11.3334 12.6269 11.3334 12.1667V7.16666Z",fill:"currentColor"},null,-1),s=(0,a.Lk)("path",{d:"M11.3334 14.6667C11.3334 14.2064 10.9603 13.8333 10.5001 13.8333C10.0398 13.8333 9.66675 14.2064 9.66675 14.6667C9.66675 15.1269 10.0398 15.5 10.5001 15.5C10.9603 15.5 11.3334 15.1269 11.3334 14.6667Z",fill:"currentColor"},null,-1),u=[o,i,s];function c(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,u)}var l=n(66262);const d={},p=(0,l.A)(d,[["render",c]]),v=p},54598:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 160 160"},o=(0,a.Fv)('',3),i=[o];function s(e,t){return(0,a.uX)(),(0,a.CE)("svg",r,i)}var u=n(66262);const c={},l=(0,u.A)(c,[["render",s]]),d=l},58071:(e,t,n)=>{"use strict";n.d(t,{A:()=>T});var a=n(20641),r=n(90033),o=["data-account-address"],i={class:"account-info-wrapper"},s={class:"buttons"},u={ref:"headerEl",class:"header"};function c(e,t,n,c,l,d){var p=(0,a.g2)("AccountInfo"),v=(0,a.g2)("BtnClose"),f=(0,a.g2)("BalanceInfo"),m=(0,a.g2)("OpenTransferReceiveModalButton"),g=(0,a.g2)("OpenTransferSendModalButton"),h=(0,a.g2)("TransactionAndTokenFilter"),A=(0,a.g2)("IonRouterOutlet");return(0,a.uX)(),(0,a.CE)("div",{class:"account-details","data-account-address":e.activeAccount.address},[(0,a.Lk)("div",i,[e.$slots["account-info"]?(0,a.RG)(e.$slots,"account-info",{key:0},void 0,!0):((0,a.uX)(),(0,a.Wv)(p,{key:1,account:e.activeAccount,"can-copy-address":"","show-protocol-icon":""},null,8,["account"])),(0,a.bF)(v,{"data-cy":"btn-close",class:"close-button",onClick:e.close},null,8,["onClick"])]),(0,a.Lk)("div",null,[e.$slots.balance?(0,a.RG)(e.$slots,"balance",{key:0},void 0,!0):((0,a.uX)(),(0,a.Wv)(f,{key:1,balance:e.balanceNumeric,protocol:e.activeAccount.protocol,"horizontal-offline-message":""},null,8,["balance","protocol"])),(0,a.Lk)("div",s,[e.withoutDefaultButtons?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)(a.FK,{key:0},[(0,a.bF)(m),(0,a.bF)(g)],64)),e.$slots.buttons?(0,a.RG)(e.$slots,"buttons",{key:1},void 0,!0):(0,a.Q3)("",!0)]),(0,a.Lk)("div",u,[(0,a.RG)(e.$slots,"navigation",{},void 0,!0),((0,a.uX)(),(0,a.Wv)(h,{key:e.routeName,"show-filters":e.isScrollEnabled},null,8,["show-filters"]))],512),(0,a.Lk)("div",{class:"tabs-content",style:(0,r.Tr)({height:e.routerHeight||"".concat(e.INITIAL_TABS_HEIGHT,"px")})},[(0,a.bF)(A,{animated:!e.IS_FIREFOX,animation:e.fadeAnimation},null,8,["animated","animation"])],4)])],8,o)}n(62010),n(76031);var l=n(62759),d=n(79417),p=n(50953),v=n(75220),f=n(65563),m=n(84754),g=n(44416),h=n(15653),A=n(65568),k=n(20756),y=n(39098),b=n(86295),w=n(8666),C=330;const x=(0,a.pM)({name:"AccountDetailsBase",components:{AccountInfo:y.A,BalanceInfo:k.A,OpenTransferSendModalButton:A.A,OpenTransferReceiveModalButton:h.A,TransactionAndTokenFilter:w.A,BtnClose:b.A,IonRouterOutlet:l.Rg},props:{withoutDefaultButtons:Boolean},setup:function(){var e=(0,v.lq)(),t=(0,l.jq)(),n=(0,m.oV)(),r=n.activeAccount,o=(0,m.J$)(),i=o.isScrollEnabled,s=(0,m.mv)(),u=s.homeRouteName,c=(0,m.ty)(),h=c.balance,A=(0,p.KR)(),k=(0,p.KR)(),y=(0,p.KR)(),b=(0,a.EW)((function(){return h.value.toNumber()})),w=(0,a.EW)((function(){return e.name}));function x(){var e,t,n,a,r=null===(t=null===(e=document.querySelector("#app-wrapper"))||void 0===e?void 0:e.getBoundingClientRect())||void 0===t?void 0:t.bottom,o=null===(a=null===(n=k.value)||void 0===n?void 0:n.getBoundingClientRect())||void 0===a?void 0:a.bottom,i=Math.ceil(r-o);A.value="".concat(i,"px")}function L(){t.navigate({name:u.value},"back","push",g.KR)}function S(){y.value=new ResizeObserver(x),y.value.observe(k.value)}return(0,a.sV)((function(){S(),setTimeout((function(){x()}),150),f.I$&&d.eA.setBackgroundColor({color:"#191919"})})),(0,a.xo)((function(){var e;null===(e=y.value)||void 0===e||e.disconnect(),f.I$&&d.eA.setBackgroundColor({color:"#141414"})})),{close:L,headerEl:k,homeRouteName:u,routeName:w,balanceNumeric:b,activeAccount:r,routerHeight:A,isScrollEnabled:i,fadeAnimation:g.r4,IS_FIREFOX:f.$M,INITIAL_TABS_HEIGHT:C}}});var L=n(66262);const S=(0,L.A)(x,[["render",c],["__scopeId","data-v-94271d80"]]),T=S},94449:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var a=n(20641),r={class:"account-details-navigation"},o={key:0,class:"sub-tabs"};function i(e,t,n,i,s,u){var c=(0,a.g2)("Tab"),l=(0,a.g2)("Tabs"),d=(0,a.g2)("BtnPill");return(0,a.uX)(),(0,a.CE)("div",r,[(0,a.bF)(l,null,{default:(0,a.k6)((function(){return[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.currentTabs,(function(e){return(0,a.uX)(),(0,a.Wv)(c,{key:e.routeName,"exact-path":e.exact,to:{name:e.routeName},text:e.text,"data-cy":e.routeName},null,8,["exact-path","to","text","data-cy"])})),128))]})),_:1}),e.isOnline&&e.currentSubTabs.length?((0,a.uX)(),(0,a.CE)("div",o,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.currentSubTabs,(function(e){return(0,a.uX)(),(0,a.Wv)(d,{key:e.routeName,to:{name:e.routeName},text:e.text,exact:e.exact},null,8,["to","text","exact"])})),128))])):(0,a.Q3)("",!0)])}var s=n(1287),u=(n(88431),n(50113),n(62062),n(15086),n(62010),n(26099),n(75220)),c=n(46992),l=n(84754),d=n(90973),p=n(15320),v=n(56633),f=n(90640),m=(0,s.A)((0,s.A)((0,s.A)((0,s.A)((0,s.A)((0,s.A)({},d.no,d.no),d.r9,d.r9),d.ao,d.ao),d.uc,d.uc),d.n3,d.n3),d.kb,d.kb);const g=(0,a.pM)({name:"AccountDetailsNavigation",components:{Tabs:f.A,Tab:v.A,BtnPill:p.A},props:{routeNames:{type:Array,required:!0,validator:function(e){return e.every((function(e){return!!m[e]}))}}},setup:function(e){var t=(0,u.lq)(),n=(0,c.s9)(),r=n.t,o=(0,l.w5)(),i=o.isOnline,p=(0,s.A)((0,s.A)((0,s.A)((0,s.A)((0,s.A)((0,s.A)({},d.no,{text:r("modals.accountDetails.transactions"),exact:!0}),d.r9,{text:r("modals.accountDetails.assets")}),d.ao,{text:r("modals.accountDetails.names"),children:[{text:r("pages.names.tabs.my-names"),routeName:d.ao,exact:!0},{text:r("pages.names.tabs.auctions"),routeName:d.tl},{text:r("pages.names.tabs.register"),routeName:d.PC}]}),d.uc,{text:r("modals.accountDetails.transactions"),exact:!0}),d.kb,{text:r("modals.accountDetails.assets")}),d.n3,{text:r("modals.accountDetails.details")}),v=e.routeNames.map((function(e){return Object.assign({routeName:e},p[e])})),f=(0,a.EW)((function(){var e;return(null===(e=v.find((function(e){var n=e.children;return null===n||void 0===n?void 0:n.some((function(e){var n=e.routeName;return n===t.name}))})))||void 0===e?void 0:e.children)||[]}));return{isOnline:i,currentTabs:v,currentSubTabs:f}}});var h=n(66262);const A=(0,h.A)(g,[["render",i],["__scopeId","data-v-c5baaaf6"]]),k=A},39098:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});n(62010);var a=n(20641),r=n(90033),o=["textContent"],i={key:1,class:"account-name-truncated"},s=["textContent"],u={key:0,class:"account-address"};function c(e,t,n,c,l,d){var p=(0,a.g2)("Avatar"),v=(0,a.g2)("Truncate"),f=(0,a.g2)("AddressTruncated"),m=(0,a.g2)("CopyText");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["account-info",{"can-copy-address":e.canCopyAddress}])},[(0,a.bF)(p,{class:"avatar",address:e.account.address,name:e.name,size:e.avatarSize,borderless:e.avatarBorderless,"is-placeholder":e.isPlaceholder},null,8,["address","name","size","borderless","is-placeholder"]),(0,a.Lk)("div",{class:(0,r.C4)(["account-details",{"list-name":e.isListName}])},[e.isMultisig?((0,a.uX)(),(0,a.CE)("div",{key:0,class:"account-name",textContent:(0,r.v_)(e.$t("multisig.multisigVault"))},null,8,o)):e.name?((0,a.uX)(),(0,a.CE)("div",i,[(0,a.bF)(v,{str:e.name},null,8,["str"])])):((0,a.uX)(),(0,a.CE)("div",{key:2,"data-cy":"account-name-number",class:"account-name",textContent:(0,r.v_)(e.getDefaultAccountLabel(e.account))},null,8,s)),(0,a.RG)(e.$slots,"address",{},(function(){var t;return[(null===(t=e.account.address)||void 0===t?void 0:t.length)?((0,a.uX)(),(0,a.CE)("div",u,[(0,a.bF)(m,{"data-cy":"copy",value:e.account.address,disabled:!e.canCopyAddress},{default:(0,a.k6)((function(){return[(0,a.bF)(f,{address:e.account.address,protocol:e.account.protocol,"show-protocol-icon":e.showProtocolIcon,class:"ae-address"},null,8,["address","protocol","show-protocol-icon"])]})),_:1},8,["value","disabled"])])):(0,a.Q3)("",!0)]}),!0)],2)],2)}var l=n(31189),d=n(32118),p=n(49012),v=n(59480),f=n(20789),m=n(39893),g=n(28192);const h=(0,a.pM)({components:{AddressTruncated:g.A,Avatar:v.A,Truncate:m.A,CopyText:f.A},props:{account:{type:Object,required:!0},avatarSize:{type:String,default:"lg"},canCopyAddress:Boolean,isMultisig:Boolean,avatarBorderless:Boolean,isListName:Boolean,isPlaceholder:Boolean,showProtocolIcon:Boolean},setup:function(e){var t=(0,p.q)(),n=t.getName,r=(0,a.EW)((function(){return n(e.account.address).value})),o=(0,a.EW)((function(){return e.account.protocol?d.C.getAdapter(e.account.protocol).getExplorer().prepareUrlForAccount(e.account.address):""}));return{name:r,explorerUrl:o,getDefaultAccountLabel:l.$W}}});var A=n(66262);const k=(0,A.A)(h,[["render",c],["__scopeId","data-v-bf1c6ab4"]]),y=k},29086:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});n(62010);var a=n(20641),r=n(90033),o={key:0,class:"name"};function i(e,t,n,i,s,u){var c=(0,a.g2)("Avatar"),l=(0,a.g2)("ProtocolIcon"),d=(0,a.g2)("Truncate"),p=(0,a.g2)("AddressTruncated"),v=(0,a.g2)("ExternalLinkIcon"),f=(0,a.g2)("LinkButton");return(0,a.uX)(),(0,a.Wv)(f,{to:e.explorerUrl,class:"account-item",variant:"muted"},{icon:(0,a.k6)((function(){return[(0,a.bF)(v,{class:"external-link-icon"})]})),default:(0,a.k6)((function(){return[(0,a.Lk)("div",{class:(0,r.C4)(["avatar-wrapper",{"has-protocol-icon":e.protocol}])},[(0,a.bF)(c,{address:e.address,name:e.name,class:(0,r.C4)({avatar:e.protocol}),size:"sm"},null,8,["address","name","class"]),e.protocol?((0,a.uX)(),(0,a.Wv)(l,{key:0,protocol:e.protocol,"icon-size":"xs",class:"protocol-icon"},null,8,["protocol"])):(0,a.Q3)("",!0)],2),e.name?((0,a.uX)(),(0,a.CE)("span",o,[(0,a.bF)(d,{class:(0,r.C4)([e.size]),str:e.name},null,8,["class","str"])])):((0,a.uX)(),(0,a.Wv)(p,{key:1,class:"address",address:e.address,protocol:e.protocol},null,8,["address","protocol"]))]})),_:1},8,["to"])}n(74423);var s=n(32118),u=n(28192),c=n(59480),l=n(47206),d=n(39893),p=n(62376),v=n(78185),f=["rg","md"];const m=(0,a.pM)({components:{ProtocolIcon:p.A,Avatar:c.A,AddressTruncated:u.A,ExternalLinkIcon:v.A,LinkButton:l.A,Truncate:d.A},props:{address:{type:String,required:!0},name:{type:String,default:""},protocol:{type:String,required:!0},size:{type:String,default:"rg",validator:function(e){return f.includes(e)}}},setup:function(e){var t=(0,a.EW)((function(){return s.C.getAdapter(e.protocol).getExplorer().prepareUrlForAccount(e.address)}));return{explorerUrl:t}}});var g=n(66262);const h=(0,g.A)(m,[["render",i],["__scopeId","data-v-4a2fe2f6"]]),A=h},74295:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r=n(90033),o={class:"address-formatted"},i={key:1};function s(e,t,n,s,u,c){return(0,a.uX)(),(0,a.CE)("div",o,[e.isAddress?((0,a.uX)(!0),(0,a.CE)(a.FK,{key:0},(0,a.pI)(e.addressChunks,(function(t,n){return(0,a.uX)(),(0,a.CE)("span",{key:n,class:(0,r.C4)(["address-formatted-chunk",{"align-right":e.alignRight}]),style:(0,r.Tr)(e.cssVariable)},(0,r.v_)(t),7)})),128)):((0,a.uX)(),(0,a.CE)("span",i,(0,r.v_)(e.address),1))])}n(28706),n(62062),n(2892),n(27495),n(71761),n(42781);var u=n(84754),c=n(32118);const l=(0,a.pM)({props:{address:{type:String,required:!0},columnCount:{type:Number,default:6},alignRight:Boolean},setup:function(e){var t=3,n=(0,u.fI)(),r=n.activeNetwork;function o(e){return e.length===t?e:"".concat(e).concat(" ".repeat(t-e.length))}var i=(0,a.EW)((function(){var t,n=null===(t=r.value)||void 0===t?void 0:t.type;return!!c.C.getAdapterByAddressOrNameEncoding(e.address,n)})),s=(0,a.EW)((function(){var t;return null===(t=e.address.match(/.{1,3}/g))||void 0===t?void 0:t.map(o)})),l=(0,a.EW)((function(){return{"--column-width":"".concat(100/e.columnCount,"%")}}));return{prepareChunk:o,isAddress:i,addressChunks:s,cssVariable:l}}});var d=n(66262);const p=(0,d.A)(l,[["render",s],["__scopeId","data-v-d647dd4e"]]),v=p},28192:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var a=n(20641),r=n(90033),o=function(e){return(0,a.Qi)("data-v-f112ca60"),e=e(),(0,a.jt)(),e},i={class:"address-truncated"},s={class:"address-truncated-chunks"},u={class:"address-chunk"},c=o((function(){return(0,a.Lk)("span",{class:"dots"}," ··· ",-1)})),l={class:"address-chunk"};function d(e,t,n,o,d,p){var v=(0,a.g2)("ProtocolIcon"),f=(0,a.g2)("ExternalLinkIcon"),m=(0,a.g2)("LinkButton");return(0,a.uX)(),(0,a.CE)("div",i,[e.showProtocolIcon?((0,a.uX)(),(0,a.Wv)(v,{key:0,protocol:e.protocol,class:"protocol-icon"},null,8,["protocol"])):(0,a.Q3)("",!0),(0,a.Lk)("div",s,[(0,a.Lk)("span",u,(0,r.v_)(e.truncatedAddress[0]),1),c,(0,a.Lk)("span",l,(0,r.v_)(e.truncatedAddress[1]),1)]),e.showExplorerLink?((0,a.uX)(),(0,a.Wv)(m,{key:1,to:e.explorerUrl,class:"external-link"},{icon:(0,a.k6)((function(){return[(0,a.bF)(f,{class:"external-link-icon"})]})),_:1},8,["to"])):(0,a.Q3)("",!0)])}var p=n(31189),v=n(32118),f=n(78185),m=n(62376),g=n(47206);const h=(0,a.pM)({components:{ProtocolIcon:m.A,LinkButton:g.A,ExternalLinkIcon:f.A},props:{address:{type:String,required:!0},protocol:{type:String,required:!0},showExplorerLink:Boolean,showProtocolIcon:Boolean},setup:function(e){var t=(0,a.EW)((function(){return(0,p.LV)(e.address)})),n=(0,a.EW)((function(){return v.C.getAdapter(e.protocol).getExplorer().prepareUrlForAccount(e.address)}));return{truncatedAddress:t,explorerUrl:n}}});var A=n(66262);const k=(0,A.A)(h,[["render",d],["__scopeId","data-v-f112ca60"]]),y=k},50118:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={class:"tokens-list"};function o(e,t,n,o,i,s){var u=(0,a.g2)("AssetListItem");return(0,a.uX)(),(0,a.CE)("div",r,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.accountAssetsFiltered,(function(t){return(0,a.uX)(),(0,a.Wv)(u,{key:t.contractId,asset:t,"is-multisig":e.isMultisig},null,8,["asset","is-multisig"])})),128))])}var i=n(84754),s=n(87862);const u=(0,a.pM)({components:{AssetListItem:s.A},props:{searchTerm:{type:String,default:""},ownedOnly:Boolean,isMultisig:Boolean},setup:function(e){var t=(0,i.Sr)({ownedOnly:e.ownedOnly,searchTerm:(0,a.EW)((function(){return e.searchTerm})),isMultisig:e.isMultisig}),n=t.accountAssetsFiltered;return{accountAssetsFiltered:n}}});var c=n(66262);const l=(0,c.A)(u,[["render",o]]),d=l},87862:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var a=n(20641),r=n(90033),o={class:"row"},i={key:0,class:"row bottom"},s={class:"price"},u={class:"price"};function c(e,t,n,c,l,d){var p=(0,a.g2)("Tokens"),v=(0,a.g2)("TokenAmount"),f=(0,a.g2)("ListItemWrapper");return e.asset?((0,a.uX)(),(0,a.Wv)(f,(0,a.v6)({key:0},e.$attrs,{class:"tokens-list-item",to:e.preventNavigation?null:{name:e.targetRouteName,params:{id:e.asset.contractId}},replace:"",extend:e.preventNavigation,selected:e.selected}),{default:(0,a.k6)((function(){var t;return[(0,a.Lk)("div",o,[(0,a.bF)(p,{tokens:[e.asset],"icon-size":"lg","full-symbol":"",bright:""},null,8,["tokens"]),(0,a.bF)(v,{amount:+(null!==(t=e.asset.convertedBalance)&&void 0!==t?t:0),protocol:e.PROTOCOLS.aeternity,"dynamic-sizing":"","hide-symbol":"","hide-fiat":""},null,8,["amount","protocol"])]),e.isCoin?((0,a.uX)(),(0,a.CE)("div",i,[(0,a.Lk)("div",s," @ "+(0,r.v_)(e.price),1),(0,a.Lk)("div",u,(0,r.v_)(e.balanceFormatted),1)])):(0,a.Q3)("",!0)]})),_:1},16,["to","extend","selected"])):(0,a.Q3)("",!0)}var l=n(65563),d=n(31189),p=n(84754),v=n(90973),f=n(39953),m=n(70694),g=n(68369);const h=(0,a.pM)({components:{TokenAmount:f.A,Tokens:m.A,ListItemWrapper:g.A},props:{asset:{type:Object,default:null},preventNavigation:Boolean,showCurrentPrice:Boolean,selected:Boolean,isMultisig:Boolean},setup:function(e){var t=(0,p.ZN)(),n=t.getCurrentCurrencyRate,r=t.getFormattedFiat,o=t.formatCurrency,i=(0,a.EW)((function(){return o(n(e.asset.protocol))})),s=(0,a.EW)((function(){return r(e.asset.convertedBalance||0,e.asset.protocol)})),u=(0,a.EW)((function(){return(0,d.go)(e.asset.contractId)})),c=(0,a.EW)((function(){return e.isMultisig?v.fc:u.value?v.s4:v.uY}));return{PROTOCOLS:l.yv,isCoin:u,price:i,targetRouteName:c,balanceFormatted:s}}});var A=n(66262);const k=(0,A.A)(h,[["render",c],["__scopeId","data-v-686b3f34"]]),y=k},59480:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var a=n(20641),r=n(90033),o=["src"];function i(e,t,n,i,s,u){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["avatar",[e.size,{borderless:e.borderless,placeholder:e.isPlaceholder}]]),style:(0,r.Tr)({"--color":e.color})},[!e.isPlaceholder&&e.srcUrl?((0,a.uX)(),(0,a.CE)("img",{key:0,class:"avatar-img",src:e.srcUrl,alt:"Avatar"},null,8,o)):(0,a.Q3)("",!0)],6)}var s=n(2327),u=(n(28706),n(74423),n(62010),n(26099),n(50953)),c=n(31189),l=n(59755),d=n(58338),p=n(41549),v=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},f=["xs","sm","rg","md","lg","xl"];const m=(0,a.pM)({props:{address:{type:String,default:""},name:{type:String,default:null},size:{type:String,default:"rg",validator:function(e){return f.includes(e)}},borderless:Boolean,isPlaceholder:Boolean},setup:function(e){var t=this,n=(0,p.$L)(),r=n.aeActiveNetworkSettings,o=(0,u.KR)(!1),i=(0,a.EW)((function(){return"".concat(l.d3).concat(e.name||e.address)})),f=(0,a.EW)((function(){return e.address?(0,c.cr)(e.address):void 0})),m=(0,a.EW)((function(){return""===e.address||(0,d.bK)(e.address)?null:"".concat(r.value.backendUrl,"/profile/image/").concat(e.address)})),g=(0,a.EW)((function(){return o.value?m.value:i.value}));return(0,a.sV)((function(){return v(t,void 0,void 0,(0,s.A)().mark((function e(){return(0,s.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(e.t0=!!m.value,!e.t0){e.next=5;break}return e.next=4,(0,c.d3)(m.value);case 4:e.t0=e.sent;case 5:o.value=e.t0;case 6:case"end":return e.stop()}}),e)})))})),{srcUrl:g,color:f,hasProfileImage:o}}});var g=n(66262);const h=(0,g.A)(m,[["render",i],["__scopeId","data-v-1c2ad31e"]]),A=h},89460:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(87745);var a=n(20641),r=n(90033),o=n(53751),i={key:0,class:"back-to-top-btn-container"};function s(e,t,n,s,u,c){var l=(0,a.g2)("Chevron"),d=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.CE)("div",{ref:"el",class:(0,r.C4)(["back-to-top",{sticky:e.sticky,visible:e.isVisible}])},[(0,a.bF)(o.eB,{name:"fade-transition"},{default:(0,a.k6)((function(){return[e.isVisible?((0,a.uX)(),(0,a.CE)("div",i,[(0,a.bF)(d,{class:"back-to-top-btn",onClick:e.scrollTop},{default:(0,a.k6)((function(){return[(0,a.bF)(l,{class:"chevron"})]})),_:1},8,["onClick"])])):(0,a.Q3)("",!0)]})),_:1})],2)}var u=n(50953),c=n(24528),l=n(46841);const d=(0,a.pM)({components:{BtnPlain:c.A,Chevron:l.A},props:{sticky:Boolean},setup:function(){var e=(0,u.KR)(),t=(0,u.KR)(!1);function n(){var n,a,r;(null===(n=e.value)||void 0===n?void 0:n.parentNode)&&(t.value=(null===(r=null===(a=e.value)||void 0===a?void 0:a.parentNode)||void 0===r?void 0:r.scrollTop)>800)}function r(){var t,n;null===(n=null===(t=e.value)||void 0===t?void 0:t.parentNode)||void 0===n||n.scrollTo({top:0,behavior:"smooth"})}return(0,a.sV)((function(){var t,a;null===(a=null===(t=e.value)||void 0===t?void 0:t.parentNode)||void 0===a||a.addEventListener("scroll",n)})),(0,a.xo)((function(){var t,a;null===(a=null===(t=e.value)||void 0===t?void 0:t.parentNode)||void 0===a||a.removeEventListener("scroll",n)})),{el:e,isVisible:t,scrollTop:r}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-2c42d011"]]),f=v},20756:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var a=n(20641),r=n(90033),o={class:"balance-info","data-cy":"balance-info"},i={class:"display-value"};function s(e,t,n,s,u,c){var l=(0,a.g2)("MainBalance"),d=(0,a.g2)("MessageOffline");return(0,a.uX)(),(0,a.CE)("div",o,[e.isOnline?((0,a.uX)(),(0,a.CE)(a.FK,{key:0},[(0,a.bF)(l,{balance:e.balance,protocol:e.protocol},null,8,["balance","protocol"]),(0,a.Lk)("div",i,(0,r.v_)(e.currencyFormatted),1)],64)):((0,a.uX)(),(0,a.Wv)(d,{key:1,text:e.$t("common.balanceUnavailable"),horizontal:e.horizontalOfflineMessage,"disable-colors":!e.horizontalOfflineMessage},null,8,["text","horizontal","disable-colors"]))])}n(2892);var u=n(84754),c={class:"asset-symbol"},l={class:"asset-integer"},d={class:"asset-fractional"};function p(e,t,n,o,i,s){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["main-balance",[e.assetFontSize]])},[(0,a.Lk)("span",c,(0,r.v_)(e.assetSymbol),1),(0,a.Lk)("span",l,(0,r.v_)(e.balanceParts.integer)+(0,r.v_)(e.balanceParts.decimal),1),(0,a.Lk)("span",d,(0,r.v_)(e.balanceParts.fraction),1)],2)}n(28706),n(72712),n(26099);var v=n(32118),f=n(31189);const m=(0,a.pM)({props:{balance:{type:Number,default:0},protocol:{type:String,required:!0}},setup:function(e){var t=(0,a.EW)((function(){var t=v.C.getAdapter(e.protocol).getAmountPrecision({amount:e.balance}),n=(0,f.lv)(e.balance,{minimumFractionDigits:2,maximumFractionDigits:t}).reduce((function(e,t){return"decimal"===t.type?Object.assign(Object.assign({},e),{decimal:t.value}):"fraction"===t.type?Object.assign(Object.assign({},e),{fraction:t.value}):Object.assign(Object.assign({},e),{integer:"".concat(e.integer||"").concat(t.value)})}),{integer:"",decimal:"0",fraction:","}),a=n.integer,r=n.fraction,o=n.decimal;return{integer:a,fraction:r,decimal:o}})),n=(0,a.EW)((function(){return v.C.getAdapter(e.protocol).coinSymbol})),r=(0,a.EW)((function(){var e=t.value,n=e.fraction,a=e.integer,r=a.length+n.length;return r>=16?"sm":r>=14?"md":r>=13?"lg":null}));return{assetSymbol:n,balanceParts:t,assetFontSize:r}}});var g=n(66262);const h=(0,g.A)(m,[["render",p]]),A=h;var k=n(17831);const y=(0,a.pM)({components:{MainBalance:A,MessageOffline:k.A},props:{balance:{type:Number,required:!0},protocol:{type:String,required:!0},horizontalOfflineMessage:Boolean},setup:function(e){var t=(0,u.ZN)(),n=t.getFormattedFiat,r=(0,u.w5)(),o=r.isOnline,i=(0,a.EW)((function(){return n(e.balance,e.protocol)}));return{isOnline:o,currencyFormatted:i}}}),b=(0,g.A)(y,[["render",s],["__scopeId","data-v-46d07e78"]]),w=b},20789:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(20641),r=n(90033),o={key:0,class:"copied"};function i(e,t,n,i,s,u){var c=(0,a.g2)("CopyOutlinedIcon");return(0,a.uX)(),(0,a.CE)("a",{class:(0,r.C4)(["copy-text",{"has-icon":!e.hideIcon,disabled:e.disabled}]),onClick:t[0]||(t[0]=function(t){return e.copyText(t)})},[e.copied||e.copiedLocally?((0,a.uX)(),(0,a.CE)("div",o,[(0,a.bF)(c,{class:"copy-icon-copied"}),(0,a.eW)(" "+(0,r.v_)(e.copiedText||e.$t("common.addressCopied")),1)])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.value),1)]}),!0),e.hideIcon||e.disabled?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(c,{key:1,class:"copy-icon-indicator"}))],2)}var s=n(84754),u=n(74462);const c=(0,a.pM)({name:"CopyText",components:{CopyOutlinedIcon:u.A},props:{value:{type:String,default:null},copiedText:{type:String,default:""},copied:Boolean,disabled:Boolean,hideIcon:Boolean},setup:function(e){var t=(0,s.T9)(),n=t.copied,a=t.copy;function r(t){e.disabled||(a(e.value),t.preventDefault())}return{copiedLocally:n,copyText:r}}});var l=n(66262);const d=(0,l.A)(c,[["render",i],["__scopeId","data-v-4027e3b3"]]),p=d},74494:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(89195);var a=n(20641),r=n(90033),o=n(53751),i=["textContent"];function s(e,t,n,s,u,c){var l=(0,a.g2)("ChevronDownIcon");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["details-item",{expandable:e.expandable,expanded:e.expanded}])},[((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.expandable?"BtnPlain":"div"),{class:"label",onClick:t[0]||(t[0]=function(t){return e.toggleExpanded()})},{default:(0,a.k6)((function(){return[(0,a.eW)((0,r.v_)(e.label)+" ",1),e.$slots.label?((0,a.uX)(),(0,a.CE)("span",{key:0,class:(0,r.C4)({indent:e.label})},[(0,a.RG)(e.$slots,"label",{},void 0,!0)],2)):(0,a.Q3)("",!0),e.expandable?((0,a.uX)(),(0,a.Wv)(l,{key:1,class:"expand-arrow"})):(0,a.Q3)("",!0)]})),_:3})),(0,a.bF)(o.eB,{name:"fade-transition"},{default:(0,a.k6)((function(){return[e.expanded?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,r.C4)(["value",{small:e.small,highlight:e.highlight}])},[(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.value)+" ",1),e.secondary?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"secondary",textContent:(0,r.v_)(e.secondary)},null,8,i)):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"value",{},void 0,!0)]}),!0)],2)):(0,a.Q3)("",!0)]})),_:3})],2)}n(2892);var u=n(50953),c=n(19298),l=n(24528);const d=(0,a.pM)({name:"DetailsItem",components:{ChevronDownIcon:c.A,BtnPlain:l.A},props:{label:{type:String,default:""},value:{type:[String,Number,Array],default:""},secondary:{type:String,default:""},expandable:Boolean,small:Boolean,highlight:Boolean},setup:function(e){var t=(0,u.KR)(!e.expandable);function n(){e.expandable&&(t.value=!t.value)}return{expanded:t,toggleExpanded:n}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-68d052f1"]]),f=v},79708:(e,t,n)=>{"use strict";n.d(t,{h:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["dialog",[e.position,{dense:e.dense}]])},[(0,a.RG)(e.$slots,"default",{},void 0,!0)],2)}n(74423);var i=["left","bottom"];const s=(0,a.pM)({name:"DialogBox",props:{dense:Boolean,position:{type:String,validator:function(e){return i.includes(e)},default:i[0]}}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-5b9d82eb"]]),l=c},9776:(e,t,n)=>{"use strict";n.d(t,{A:()=>T});n(2008),n(62010),n(26099);var a=n(20641),r=n(90033),o={"data-cy":"filters",class:"filters"};function i(e,t,n,i,s,u){var c=(0,a.g2)("SortIcon"),l=(0,a.g2)("FilterArrowIcon"),d=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.CE)("div",o,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.filters,(function(t,n){return(0,a.uX)(),(0,a.Wv)(d,{key:n,class:(0,r.C4)(["filter",{active:e.modelValue.key===n||e.modelValue.filter===n}]),onClick:function(t){return e.handleClick(n)}},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",null,(0,r.v_)(t.name),1),void 0!==t.rotated?((0,a.uX)(),(0,a.Wv)(c,{key:0,class:(0,r.C4)({rotate:!t.rotated})},null,8,["class"])):((0,a.uX)(),(0,a.Wv)(l,{key:1}))]})),_:2},1032,["class","onClick"])})),128))])}n(2892);var s=n(50953),u=n(53368),c={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},l=(0,a.Lk)("g",{"clip-path":"url(#clip0)"},[(0,a.Lk)("path",{d:"M2.08 2.57516C2.03543 2.52175 2.00829 2.45825 2.00162 2.39176C1.99495 2.32527 2.00901 2.25842 2.04223 2.19871C2.07545 2.139 2.12652 2.08878 2.18971 2.05369C2.2529 2.01859 2.32572 2 2.4 2H13.6C13.6743 2 13.7471 2.01859 13.8103 2.05369C13.8735 2.08878 13.9245 2.139 13.9578 2.19871C13.991 2.25842 14.0051 2.32527 13.9984 2.39176C13.9917 2.45825 13.9646 2.52175 13.92 2.57516L9.6 7.75161V13.6405C9.6 13.7018 9.58255 13.7621 9.54932 13.8157C9.51609 13.8692 9.46818 13.9142 9.41014 13.9464C9.3521 13.9786 9.28586 13.9969 9.21771 13.9996C9.14957 14.0024 9.08178 13.9894 9.0208 13.9619L6.4 12.7843V7.75161L2.08 2.57516Z",fill:"currentColor"})],-1),d=[l];function p(e,t){return(0,a.uX)(),(0,a.CE)("svg",c,d)}var v=n(66262);const f={},m=(0,v.A)(f,[["render",p]]),g=m;var h={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},A=(0,a.Lk)("g",{"clip-path":"url(#clip0)"},[(0,a.Lk)("path",{d:"M12.875 2H3.125C2.50368 2 2 2.53726 2 3.2C2 3.86274 2.50368 4.4 3.125 4.4H12.875C13.4963 4.4 14 3.86274 14 3.2C14 2.53726 13.4963 2 12.875 2Z",fill:"white"}),(0,a.Lk)("path",{opacity:"0.44",d:"M6.875 13.9999C6.57663 13.9999 6.29048 13.8735 6.0795 13.6485C5.86853 13.4234 5.75 13.1182 5.75 12.7999C5.75 12.4817 5.86853 12.1764 6.0795 11.9514C6.29048 11.7264 6.57663 11.5999 6.875 11.5999H9.125C9.42337 11.5999 9.70952 11.7264 9.9205 11.9514C10.1315 12.1764 10.25 12.4817 10.25 12.7999C10.25 13.1182 10.1315 13.4234 9.9205 13.6485C9.70952 13.8735 9.42337 13.9999 9.125 13.9999H6.875ZM4.625 9.19993C4.32663 9.19993 4.04048 9.0735 3.8295 8.84845C3.61853 8.62341 3.5 8.31819 3.5 7.99993C3.5 7.68167 3.61853 7.37644 3.8295 7.1514C4.04048 6.92635 4.32663 6.79993 4.625 6.79993H11.375C11.6734 6.79993 11.9595 6.92635 12.1705 7.1514C12.3815 7.37644 12.5 7.68167 12.5 7.99993C12.5 8.31819 12.3815 8.62341 12.1705 8.84845C11.9595 9.0735 11.6734 9.19993 11.375 9.19993H4.625Z",fill:"white"})],-1),k=[A];function y(e,t){return(0,a.uX)(),(0,a.CE)("svg",h,k)}const b={},w=(0,v.A)(b,[["render",y]]),C=w;var x=n(24528);const L=(0,a.pM)({components:{FilterArrowIcon:g,SortIcon:C,BtnPlain:x.A},props:{modelValue:{type:Object,required:!0},filters:{type:Object,required:!0},scrollTopThreshold:{type:Number,default:140}},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,a=(0,u.k)(),r=a.viewportElement,o=(0,s.KR)(e.filters);function i(t){var a=o.value[t];r.value&&r.value.scrollTop>e.scrollTopThreshold&&r.value.scrollTo({top:e.scrollTopThreshold,behavior:"smooth"}),void 0!==a.rotated&&e.modelValue.key===t&&(a.rotated=!a.rotated);var i=Object.assign(Object.assign({},o.value[t]),{key:t});n("update:modelValue",i)}return{rotatableFilters:o,handleClick:i}}}),S=(0,v.A)(L,[["render",i],["__scopeId","data-v-78158338"]]),T=S},71364:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["fixed-screen-footer",[{mobile:e.IS_MOBILE_DEVICE},{noPaddingTop:e.noPaddingTop}]])},[(0,a.RG)(e.$slots,"default",{},void 0,!0)],2)}var i=n(65563);const s=(0,a.pM)({props:{noPaddingTop:Boolean},setup:function(){return{IS_MOBILE_DEVICE:i.Hy}}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-397b9317"]]),l=c},58411:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,m0:()=>c,ZO:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("ProtocolIcon");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["icon-wrapper",["icon-size-".concat(e.iconSize),{"is-boxed":e.isBoxed}]])},[e.icon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.icon),{key:0,class:(0,r.C4)(["icon-wrapper-icon",{"icon-wrapper-fill":e.isFull}])},null,8,["class"])):e.protocolIcon?((0,a.uX)(),(0,a.Wv)(u,{key:1,protocol:e.protocolIcon},null,8,["protocol"])):(0,a.Q3)("",!0)],2)}n(74423),n(21699);var i=n(62376),s=n(65563),u=[s.hS.lg,s.hS.xl],c={type:String,default:s.hS.lg,validator:function(e){return u.includes(e)}},l={type:String,default:null};const d=(0,a.pM)({components:{ProtocolIcon:i.A},props:{icon:{type:Object,default:null},isFull:Boolean,isBoxed:Boolean,iconSize:c,protocolIcon:l}});var p=n(66262);const v=(0,p.A)(d,[["render",o],["__scopeId","data-v-5e9dcd14"]]),f=v},72402:(e,t,n)=>{"use strict";n.d(t,{F:()=>i,A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["info-box",[e.type]])},[(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.text),1)]}),!0)],2)}n(74423),n(79432),n(21699);var i={default:"default",success:"success",danger:"danger",warning:"warning"};const s=(0,a.pM)({props:{type:{type:String,validator:function(e){return Object.keys(i).includes(e)},default:i["default"]},text:{type:String,default:null}}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-13169d05"]]),l=c},99366:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var a=n(20641),r=n(90033),o=["textContent"],i={key:0,class:"input-amount-desc-total","data-cy":"total-amount-currency"},s={key:0},u={key:1,class:"input-amount-desc-at"};function c(e,t,n,c,l,d){var p=(0,a.g2)("InputSelectAsset"),v=(0,a.g2)("InputField");return(0,a.uX)(),(0,a.Wv)(v,(0,a.v6)(e.$attrs,{class:"input-amount",type:"number",placeholder:"0.00","model-value":e.modelValue,label:e.label,message:e.$attrs.message,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.$emit("update:modelValue",t)})}),(0,a.eX)({after:(0,a.k6)((function(n){var i=n.focused;return[e.readonly?((0,a.uX)(),(0,a.CE)("div",{key:1,class:"readonly-symbol",textContent:(0,r.v_)(e.defaultCoin.symbol)},null,8,o)):((0,a.uX)(),(0,a.Wv)(p,(0,a.v6)({key:0},e.$attrs,{"data-cy":"select-asset",value:e.currentAsset,focused:i,"show-tokens-with-balance":e.showTokensWithBalance,onSelectAsset:t[0]||(t[0]=function(t){return e.handleAssetSelected(t)})}),null,16,["value","focused","show-tokens-with-balance"]))]})),under:(0,a.k6)((function(t){var n=t.focused;return[(0,a.Lk)("div",{class:(0,r.C4)(["input-amount-desc",{focused:n}])},[e.currentAssetFiatPrice?((0,a.uX)(),(0,a.CE)("span",i,[e.modelValue?((0,a.uX)(),(0,a.CE)("span",s,"≈")):(0,a.Q3)("",!0),(0,a.eW)(" "+(0,r.v_)(e.totalAmountFormatted),1)])):(0,a.Q3)("",!0),e.currentAssetFiatPrice?((0,a.uX)(),(0,a.CE)("span",u," @"+(0,r.v_)(e.currentAssetFiatPrice?e.currentAssetFiatPriceFormatted:e.$t("common.priceNotAvailable")),1)):(0,a.Q3)("",!0)],2)]})),_:2},[(0,a.pI)(e.$slots,(function(t,n){return{name:n,fn:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,n,{},void 0,!0)]}))}}))]),1040,["model-value","label","message"])}n(74423),n(62062),n(2892),n(21699);var l=n(84754),d=n(32118),p=n(19389);function v(e,t,n,o,i,s){var u=(0,a.g2)("ChevronDown"),c=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(c,{class:(0,r.C4)(["select-asset",{focused:e.focused,disabled:e.disabled}]),onClick:e.openAssetSelector},{default:(0,a.k6)((function(){return[(0,a.eW)((0,r.v_)(e.displayToken)+" ",1),e.disabled?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(u,{key:0,class:"chevron-down"}))]})),_:1},8,["class","onClick"])}n(28706);var f=n(65563),m=n(19298),g=n(24528);const h=(0,a.pM)({components:{BtnPlain:g.A,ChevronDown:m.A},props:{value:{type:Object,default:null},disabled:Boolean,focused:Boolean,showTokensWithBalance:Boolean},emits:["select-asset"],setup:function(e,t){var n=t.emit,r=(0,l.U8)(),o=r.openModal,i=(0,a.EW)((function(){if(e.value){var t=e.value.symbol;return"".concat(String(t).substring(0,11)).concat(t.length>11?"...":"")}return""}));function s(e){n("select-asset",e)}function u(){e.disabled||o(f.Pu,{selectedToken:e.value,showTokensWithBalance:e.showTokensWithBalance,resolve:function(e){return e}}).then((function(e){return s(e)}))["catch"]((function(){}))}return{displayToken:i,handleChange:s,openAssetSelector:u}}});var A=n(66262);const k=(0,A.A)(h,[["render",v],["__scopeId","data-v-2815dc49"]]),y=k,b=(0,a.pM)({components:{InputSelectAsset:y,InputField:p.A},props:{modelValue:{type:[String,Number],default:""},label:{type:String,default:null},selectedAsset:{type:Object,default:null},readonly:Boolean,showTokensWithBalance:Boolean,protocol:{type:String,required:!0}},emits:["update:modelValue","asset-selected"],setup:function(e,t){var n=t.emit,r=(0,l.ZN)(),o=r.getCurrentCurrencyRate,i=r.marketData,s=r.formatCurrency,u=(0,l.ty)(),c=u.balance,p=(0,l.oV)(),v=p.protocolsInUse,f=(0,a.EW)((function(){return d.C.getAdapter(e.protocol).getDefaultCoin(i.value,+c.value)})),m=(0,a.EW)((function(){return e.selectedAsset||f.value})),g=(0,a.EW)((function(){return v.value.map((function(e){return d.C.getAdapter(e).coinContractId})).includes(m.value.contractId)})),h=(0,a.EW)((function(){return g.value?o(e.protocol):0})),A=(0,a.EW)((function(){return s(h.value)})),k=(0,a.EW)((function(){return s(h.value?(+e.modelValue||0)*h.value:0)}));function y(e){n("asset-selected",e)}return(0,a.sV)((function(){e.selectedAsset||y(f.value)})),{defaultCoin:f,totalAmountFormatted:k,currentAssetFiatPrice:h,currentAssetFiatPriceFormatted:A,currentAsset:m,formatCurrency:s,handleAssetSelected:y}}}),w=(0,A.A)(b,[["render",c],["__scopeId","data-v-a339de10"]]),C=w},19389:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var a=n(20641),r=n(90033),o={key:0,class:"label"},i=["for"],s={key:1,class:"label-after"},u={class:"main-inner"},c=["id","value","disabled","maxlength","inputmode"],l={class:"under"},d={key:1,class:"message","data-cy":"input-message"},p=["for"];function v(e,t,n,v,f,m){var g=(0,a.g2)("BtnHelp");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["input-field",{error:e.hasError,warning:e.hasWarning,readonly:e.readonly,code:e.code,thin:e.thin}])},[e.label||e.$slots.label||e.$slots["label-after"]?((0,a.uX)(),(0,a.CE)("div",o,[(0,a.Lk)("label",{for:e.inputId,class:"label-text",onClick:t[0]||(t[0]=function(t){return e.$emit("click",t)})},[(0,a.RG)(e.$slots,"label",{},(function(){return[(0,a.eW)((0,r.v_)(e.label),1)]}),!0)],8,i),e.showHelp?((0,a.uX)(),(0,a.Wv)(g,{key:0,class:"btn-help",onHelp:t[1]||(t[1]=function(t){return e.$emit("help")})})):(0,a.Q3)("",!0),e.$slots["label-after"]||e.textLimit?((0,a.uX)(),(0,a.CE)("div",s,[(0,a.RG)(e.$slots,"label-after",{},(function(){return[(0,a.eW)((0,r.v_)(e.availableTextLimit),1)]}),!0)])):(0,a.Q3)("",!0)])):(0,a.Q3)("",!0),(0,a.Lk)("label",{"data-cy":"input-wrapper",class:"input-wrapper",onClick:t[6]||(t[6]=function(t){return e.$emit("click",t)})},[(0,a.Lk)("div",u,[e.hasError||e.hasWarning?(0,a.Q3)("",!0):(0,a.RG)(e.$slots,"before",{key:0},void 0,!0),(0,a.RG)(e.$slots,"default",{id:e.uid,inputId:e.inputId},(function(){return[(0,a.Lk)("input",(0,a.v6)(e.$attrs,{id:e.inputId,class:"input",autocomplete:"off",step:"any","data-cy":"input",value:e.modelValue,disabled:e.readonly,maxlength:e.textLimit,inputmode:e.inputMode,onInput:t[2]||(t[2]=function(){return e.handleInput&&e.handleInput.apply(e,arguments)}),onKeydown:t[3]||(t[3]=function(){return e.checkIfNumber&&e.checkIfNumber.apply(e,arguments)}),onFocusin:t[4]||(t[4]=function(t){return e.focused=!0}),onFocusout:t[5]||(t[5]=function(t){return e.focused=!1})}),null,16,c)]}),!0),(0,a.RG)(e.$slots,"after",{focused:e.focused},void 0,!0)]),(0,a.Lk)("div",l,[(0,a.RG)(e.$slots,"under",{focused:e.focused},void 0,!0)])]),e.showMessage?((0,a.uX)(),(0,a.CE)("div",d,[(0,a.Lk)("label",{class:"message-text","data-cy":"input-field-message",for:e.inputId},(0,r.v_)(e.messageAsObject?e.messageAsObject.text:null),9,p)])):(0,a.Q3)("",!0)],2)}var f=n(73808),m=(n(25440),n(74423),n(2892),n(27495),n(90906),n(21699),n(50953)),g=n(65563),h=n(31157);const A=(0,a.pM)({name:"InputField",components:{BtnHelp:h.A},props:{modelValue:{type:[String,Number],default:null},label:{type:String,default:""},type:{type:String,default:"text",validator:function(e){return["text","number","url"].includes(e)}},message:{type:[String,Object],validator:function(e){return"object"!==(0,f.A)(e)||!e.status||!!g.IS[e.status]},default:null},readonly:Boolean,showHelp:Boolean,showMessageHelp:Boolean,code:Boolean,thin:Boolean,textLimit:{type:Number,default:null}},emits:["update:modelValue","focus-change","click","help"],setup:function(e,t){var n,r=t.emit,o=null===(n=(0,a.nI)())||void 0===n?void 0:n.uid,i="input-".concat(o),s=(0,m.KR)(!1),u=(0,a.EW)((function(){return"number"===e.type?"decimal":"text"})),c=(0,a.EW)((function(){return"object"===(0,f.A)(e.message)?e.message:{text:e.message}})),l=(0,a.EW)((function(){var e,t;return(null===(e=c.value)||void 0===e?void 0:e.status)===g.IS.error||!!(null===(t=c.value)||void 0===t?void 0:t.text)})),d=(0,a.EW)((function(){var e;return(null===(e=c.value)||void 0===e?void 0:e.status)===g.IS.warning})),p=(0,a.EW)((function(){var e,t;return!(null===(e=c.value)||void 0===e?void 0:e.hideMessage)&&!!(null===(t=c.value)||void 0===t?void 0:t.text)})),v=(0,a.EW)((function(){return e.textLimit&&e.modelValue?e.textLimit-String(e.modelValue).length:e.textLimit}));function h(t){var n,a=1===t.key.length&&!t.ctrlKey&&!t.metaKey,r="string"===typeof e.modelValue&&(null===(n=e.modelValue)||void 0===n?void 0:n.includes("."))&&[",","."].includes(t.key);"number"!==e.type||!a||!r&&/^([0-9]+|,|\.)$/.test(t.key)||t.preventDefault()}function A(t){var n=t.target.value;r("update:modelValue","number"===e.type?null===n||void 0===n?void 0:n.replace(",","."):n)}return(0,a.wB)((function(){return s.value}),(function(e){return r("focus-change",e)})),{focused:s,uid:o,inputId:i,inputMode:u,messageAsObject:c,hasError:l,hasWarning:d,showMessage:p,availableTextLimit:v,checkIfNumber:h,handleInput:A}}});var k=n(66262);const y=(0,k.A)(A,[["render",v],["__scopeId","data-v-124f240c"]]),b=y},76801:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("Search"),u=(0,a.g2)("Eraser"),c=(0,a.g2)("InputField");return(0,a.uX)(),(0,a.Wv)(c,(0,a.v6)({class:"input-search"},e.$attrs,{thin:"","onUpdate:modelValue":t[1]||(t[1]=function(t){return e.$emit("update:modelValue",t)})}),{after:(0,a.k6)((function(){return[e.$attrs.value?((0,a.uX)(),(0,a.Wv)(u,{key:1,class:"erase-icon",onClick:t[0]||(t[0]=function(t){return e.$emit("update:modelValue","")})})):((0,a.uX)(),(0,a.Wv)(s,{key:0}))]})),_:1},16)}var o=n(19389),i={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},s=(0,a.Lk)("path",{d:"M10.603 17.126C11.9371 17.126 13.1872 16.7233 14.2276 16.0353L17.9025 19.7186C18.1458 19.9535 18.4562 20.0709 18.7918 20.0709C19.4882 20.0709 20 19.5256 20 18.8376C20 18.5188 19.8909 18.2083 19.656 17.9734L16.0063 14.3069C16.7614 13.233 17.2061 11.9325 17.2061 10.523C17.2061 6.89003 14.236 3.91992 10.603 3.91992C6.9785 3.91992 4 6.89003 4 10.523C4 14.1559 6.97011 17.126 10.603 17.126ZM10.603 15.3641C7.94337 15.3641 5.76193 13.1826 5.76193 10.523C5.76193 7.86329 7.94337 5.68185 10.603 5.68185C13.2627 5.68185 15.4442 7.86329 15.4442 10.523C15.4442 13.1826 13.2627 15.3641 10.603 15.3641Z",fill:"currentColor"},null,-1),u=[s];function c(e,t){return(0,a.uX)(),(0,a.CE)("svg",i,u)}var l=n(66262);const d={},p=(0,l.A)(d,[["render",c]]),v=p;var f={viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},m=(0,a.Lk)("g",{opacity:"0.7"},[(0,a.Lk)("path",{opacity:"0.44",d:"M7.71402 19.71C7.90028 19.8947 8.15168 19.9989 8.41402 20H20.994C21.5245 20 22.0332 19.7893 22.4082 19.4142C22.7833 19.0391 22.994 18.5304 22.994 18V6C22.994 5.46957 22.7833 4.96086 22.4082 4.58579C22.0332 4.21071 21.5245 4 20.994 4H8.42002C8.15768 4.0011 7.90628 4.10526 7.72002 4.29L0.657021 11.29C0.563141 11.383 0.488619 11.4936 0.437761 11.6156C0.386903 11.7375 0.360718 11.8684 0.360718 12.0005C0.360718 12.1326 0.386903 12.2635 0.437761 12.3854C0.488619 12.5074 0.563141 12.618 0.657021 12.711L7.71402 19.71Z",fill:"white"}),(0,a.Lk)("path",{d:"M15.414 14.829L14 13.415L12.586 14.829C12.3983 15.0165 12.1439 15.1218 11.8786 15.1217C11.6134 15.1216 11.359 15.0161 11.1715 14.8285C10.984 14.6408 10.8787 14.3864 10.8788 14.1211C10.8789 13.8559 10.9843 13.6015 11.172 13.414L12.585 12L11.172 10.586C10.9898 10.3974 10.889 10.1448 10.8913 9.88259C10.8936 9.62039 10.9988 9.36958 11.1842 9.18417C11.3696 8.99876 11.6204 8.89359 11.8826 8.89131C12.1448 8.88903 12.3974 8.98983 12.586 9.17199L14 10.585L15.414 9.17199C15.5068 9.07908 15.6171 9.00536 15.7384 8.95506C15.8597 8.90475 15.9898 8.87883 16.1211 8.87878C16.2525 8.87874 16.3826 8.90456 16.5039 8.95478C16.6253 9.00501 16.7356 9.07864 16.8285 9.17149C16.9214 9.26433 16.9951 9.37457 17.0454 9.4959C17.0957 9.61723 17.1216 9.74728 17.1217 9.87863C17.1217 10.01 17.0959 10.1401 17.0457 10.2614C16.9955 10.3828 16.9218 10.4931 16.829 10.586L15.415 12L16.829 13.414C17.0166 13.6016 17.122 13.8561 17.122 14.1215C17.122 14.3869 17.0166 14.6413 16.829 14.829C16.6413 15.0166 16.3869 15.122 16.1215 15.122C15.8561 15.122 15.6016 15.0166 15.414 14.829Z",fill:"white"})],-1),g=[m];function h(e,t){return(0,a.uX)(),(0,a.CE)("svg",f,g)}const A={},k=(0,l.A)(A,[["render",h]]),y=k,b={components:{InputField:o.A,Search:v,Eraser:y}},w=(0,l.A)(b,[["render",r],["__scopeId","data-v-b52ecd9a"]]),C=w},47206:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var a=n(20641),r=n(90033),o=["href"],i={key:0,class:"link-icon"};function s(e,t,n,s,u,c){var l=(0,a.g2)("ExternalLinkIcon");return(0,a.uX)(),(0,a.CE)("a",{class:(0,r.C4)(["link-button",e.variant,{underlined:e.underlined}]),href:e.IS_MOBILE_APP?void 0:e.to,rel:"noopener noreferrer",target:"_blank",onClick:t[0]||(t[0]=function(){return e.onClick&&e.onClick.apply(e,arguments)})},[(0,a.RG)(e.$slots,"default",{},void 0,!0),e.isExternal||e.$slots.icon?((0,a.uX)(),(0,a.CE)("span",i,[e.isExternal?((0,a.uX)(),(0,a.Wv)(l,{key:0})):(0,a.RG)(e.$slots,"icon",{key:1},void 0,!0)])):(0,a.Q3)("",!0)],10,o)}var u=n(2327),c=(n(74423),n(26099),n(65563)),l=n(78185),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},p=["default","muted","simple"];const v=(0,a.pM)({components:{ExternalLinkIcon:l.A},props:{to:{type:String,required:!0},underlined:Boolean,isExternal:Boolean,variant:{type:String,validator:function(e){return p.includes(e)},default:p[0]}},setup:function(e){function t(t){return d(this,void 0,void 0,(0,u.A)().mark((function n(){return(0,u.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:c.I$&&(t.preventDefault(),window.open(e.to,"_system"));case 1:case"end":return n.stop()}}),n)})))}return{LINK_BUTTON_VARIANT:p,IS_MOBILE_APP:c.I$,onClick:t}}});var f=n(66262);const m=(0,f.A)(v,[["render",s],["__scopeId","data-v-4532e494"]]),g=m},68369:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(s,(0,a.v6)(e.$attrs,{class:["list-item-wrapper",{selected:e.selected}]}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},void 0,!0)]})),_:3},16,["class"])}var o=n(24528);const i=(0,a.pM)({components:{BtnPlain:o.A},props:{selected:Boolean}});var s=n(66262);const u=(0,s.A)(i,[["render",r],["__scopeId","data-v-22701c0f"]]),c=u},37354:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(20641),r={class:"loader","data-cy":"loader"},o={class:"container"};function i(e,t,n,i,s,u){var c=(0,a.g2)("AnimatedSpinner");return(0,a.uX)(),(0,a.CE)("div",r,[(0,a.Lk)("div",o,[(0,a.bF)(c,{class:"spinner"})])])}var s=n(54598);const u={components:{AnimatedSpinner:s.A}};var c=n(66262);const l=(0,c.A)(u,[["render",i],["__scopeId","data-v-5af93660"]]),d=l},17831:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var a=n(20641),r=n(90033),o={key:0,class:"text"};function i(e,t,n,i,s,u){var c=(0,a.g2)("OfflineIcon");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["message-offline",{horizontal:e.horizontal,"colors-disabled":e.disableColors}])},[(0,a.bF)(c,{class:"offline-icon"}),e.text?((0,a.uX)(),(0,a.CE)("p",o,(0,r.v_)(e.text),1)):(0,a.Q3)("",!0)],2)}var s={viewBox:"0 0 40 34",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},u=(0,a.Lk)("path",{opacity:".5",d:"M22.56 33.59c9.09 0 16.61-7.52 16.61-16.63 0-9.1-7.54-16.63-16.62-16.63C14.09.33 7 6.83 6.06 15.08a9.97 9.97 0 0 1 2.64-.23 13.34 13.34 0 0 1 2.73-6.34 12.2 12.2 0 0 0 3.7 1.8 25.8 25.8 0 0 0-.77 5.5h-1.75a10.7 10.7 0 0 1 3.13 2.28h5.7v4.54c-1.02.03-2.03.14-2.98.28.2.68.3 1.44.34 2.21.82-.13 1.7-.2 2.64-.24v4.99c-1.02-.45-1.95-1.56-2.7-3.14-.13.93-.4 1.82-.75 2.67.23.4.52.74.8 1-.38-.1-.75-.23-1.1-.37a9.1 9.1 0 0 1-1.48 2.25c1.95.84 4.1 1.3 6.35 1.3ZM12.88 6.85a13.8 13.8 0 0 1 5.73-3.33c-1.13 1.1-2.11 2.7-2.83 4.7-1.13-.37-2.1-.82-2.9-1.37Zm16.45 1.37c-.72-2-1.69-3.6-2.83-4.7a13.6 13.6 0 0 1 5.71 3.33c-.77.55-1.74 1.02-2.88 1.37Zm-11.32.55c.85-2.37 2.1-4.1 3.43-4.7v5.05A24.61 24.61 0 0 1 18 8.77Zm5.68.35V4.07c1.33.6 2.55 2.33 3.42 4.7-1.06.19-2.22.3-3.42.35Zm7.06 6.71a26.15 26.15 0 0 0-.76-5.52 13.2 13.2 0 0 0 3.7-1.78 13.7 13.7 0 0 1 2.85 7.3h-5.8Zm-14.1 0c.07-1.75.33-3.44.7-4.94 1.27.26 2.65.44 4.09.48v4.46h-4.8Zm7.04 0v-4.46c1.41-.04 2.8-.22 4.07-.48.38 1.5.64 3.19.7 4.94H23.7Zm0 6.8v-4.54h4.77a23.03 23.03 0 0 1-.72 5 26.64 26.64 0 0 0-4.05-.46Zm6.28 1.04c.44-1.67.71-3.56.78-5.58h5.79c-.21 2.75-1.27 5.3-2.9 7.37-.95-.73-2.2-1.32-3.67-1.79Zm-6.28 6.2v-5c1.2.06 2.34.17 3.39.36-.87 2.32-2.06 4.01-3.4 4.64Zm2.86.53c1.1-1.1 2.06-2.69 2.77-4.62 1.12.35 2.07.79 2.86 1.34a13.8 13.8 0 0 1-5.63 3.28Z",fill:"white"},null,-1),c=(0,a.Lk)("path",{d:"M8.27 33.67a8.32 8.32 0 0 0 8.28-8.28 8.33 8.33 0 0 0-8.29-8.27A8.32 8.32 0 0 0 0 25.4a8.32 8.32 0 0 0 8.27 8.28Zm-2.73-4.79a.76.76 0 0 1-.53-1.3L7.2 25.4 5 23.23a.75.75 0 0 1 .53-1.29c.23 0 .4.07.55.21l2.18 2.18 2.19-2.18a.74.74 0 0 1 .54-.23c.43 0 .76.34.76.76 0 .2-.08.38-.23.54L9.36 25.4l2.17 2.18a.76.76 0 0 1-.54 1.3.78.78 0 0 1-.55-.22l-2.17-2.17-2.17 2.17a.74.74 0 0 1-.56.22Z",fill:"currentColor"},null,-1),l=[u,c];function d(e,t){return(0,a.uX)(),(0,a.CE)("svg",s,l)}var p=n(66262);const v={},f=(0,p.A)(v,[["render",d]]),m=f,g=(0,a.pM)({components:{OfflineIcon:m},props:{text:{type:String,default:null},horizontal:Boolean,disableColors:Boolean}}),h=(0,p.A)(g,[["render",i],["__scopeId","data-v-129d996a"]]),A=h},285:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var a=n(20641),r=n(53751),o=n(90033),i={class:"container"},s={key:0,class:"header-icon"},u={class:"header-default-text"};function c(e,t,n,c,l,d){var p=(0,a.g2)("BtnClose"),v=(0,a.g2)("BackToTop"),f=(0,a.g2)("FixedScreenFooter");return(0,a.uX)(),(0,a.Wv)(r.eB,{appear:"",name:e.fromBottom?"from-bottom-transition":"pop-in-transition",onAfterEnter:t[1]||(t[1]=function(t){return e.$emit("open")})},{default:(0,a.k6)((function(){return[e.show?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,o.C4)(["modal",{"full-screen":e.fullScreen,"from-bottom":e.fromBottom,"has-header":e.showHeader,"has-close-button":e.hasCloseButton,"no-padding":e.noPadding,dense:e.dense,"semi-dense":e.semiDense,"blur-bg":!(e.IS_FIREFOX&&e.IS_EXTENSION),"min-height":e.minHeight}])},[(0,a.Lk)("div",i,[e.showHeader?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,o.C4)(["header",{transparent:e.hasCloseButton&&!(e.$slots.header||e.header)}])},[e.$slots.icon?((0,a.uX)(),(0,a.CE)("div",s,[(0,a.RG)(e.$slots,"icon",{},void 0,!0)])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"header",{},(function(){return[(0,a.Lk)("div",u,(0,o.v_)(e.header),1)]}),!0),e.hasCloseButton?((0,a.uX)(),(0,a.Wv)(p,{key:1,"data-cy":"btn-close",class:"close-button",onClick:e.handleClose},null,8,["onClick"])):(0,a.Q3)("",!0)],2)):(0,a.Q3)("",!0),e.$slots["default"]?((0,a.uX)(),(0,a.CE)("div",{key:1,class:(0,o.C4)(["body",{"text-center":e.centered,"without-padding-bottom":e.bodyWithoutPaddingBottom}])},[(0,a.RG)(e.$slots,"default",{},void 0,!0)],2)):(0,a.Q3)("",!0),(0,a.bF)(v,{sticky:""}),e.$slots.footer?((0,a.uX)(),(0,a.Wv)(f,(0,o._B)((0,a.v6)({key:2},e.$attrs)),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"footer",{},void 0,!0)]})),_:3},16)):(0,a.Q3)("",!0)]),(0,a.Lk)("div",{class:"cover",onClick:t[0]||(t[0]=function(){return e.handleClose&&e.handleClose.apply(e,arguments)})})],2)):(0,a.Q3)("",!0)]})),_:3},8,["name"])}var l=n(65563),d=n(86295),p=n(71364),v=n(89460);const f=(0,a.pM)({components:{FixedScreenFooter:p.A,BtnClose:d.A,BackToTop:v.A},props:{show:Boolean,hasCloseButton:Boolean,fullScreen:Boolean,fromBottom:Boolean,dense:Boolean,semiDense:Boolean,noPadding:Boolean,centered:Boolean,bodyWithoutPaddingBottom:Boolean,minHeight:Boolean,header:{type:String,default:null}},emits:["close","open"],setup:function(e,t){var n=t.slots,r=t.emit,o=(0,a.EW)((function(){return e.hasCloseButton||e.header||n.header}));function i(){r("close")}function s(e){e.detail.register(100,i)}return(0,a.sV)((function(){document.addEventListener("ionBackButton",s),document.body.style.overflow||(document.body.style.overflow="hidden")})),(0,a.xo)((function(){document.removeEventListener("ionBackButton",s),document.body.style.overflow=""})),{handleClose:i,IS_FIREFOX:l.$M,IS_EXTENSION:l.hL,showHeader:o}}});var m=n(66262);const g=(0,m.A)(f,[["render",c],["__scopeId","data-v-79ba9f59"]]),h=g},15653:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnBox");return(0,a.uX)(),(0,a.Wv)(s,{text:e.$t("common.receive"),subtitle:e.subtitle,icon:e.ArrowReceiveIcon,"is-big":e.isBig,disabled:e.disabled,onClick:t[0]||(t[0]=function(t){return e.openTransferReceiveModal()})},null,8,["text","subtitle","icon","is-big","disabled"])}var o=n(46992),i=n(65563),s=n(84754),u=n(28645),c=n(84648);const l=(0,a.pM)({components:{BtnBox:u.A},props:{isBig:Boolean,isMultisig:Boolean,tokenContractId:{type:String,default:""},disabled:Boolean},setup:function(e){var t=(0,s.U8)(),n=t.openModal,r=(0,o.s9)(),u=r.t;function l(){n(i.mp,{isMultisig:e.isMultisig,tokenContractId:e.tokenContractId})}var d=(0,a.EW)((function(){return e.isBig?e.isMultisig?u("dashboard.receiveCard.descriptionMultisig"):u("dashboard.receiveCard.description"):""}));return{subtitle:d,ArrowReceiveIcon:c.A,openTransferReceiveModal:l}}});var d=n(66262);const p=(0,d.A)(l,[["render",r]]),v=p},65568:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnBox");return(0,a.uX)(),(0,a.Wv)(s,{"data-cy":"send",text:e.isMultisig?e.$t("dashboard.proposeCard.title"):e.$t("common.send"),subtitle:e.subtitle,icon:e.ArrowSendIcon,disabled:e.disabled||!e.isOnline,"is-big":e.isBig,onClick:t[0]||(t[0]=function(t){return e.openTransferSendModal()})},null,8,["text","subtitle","icon","disabled","is-big"])}var o=n(46992),i=n(65563),s=n(84754),u=n(28645),c=n(65608);const l=(0,a.pM)({components:{BtnBox:u.A},props:{isBig:Boolean,isMultisig:Boolean,tokenContractId:{type:String,default:""},disabled:Boolean},setup:function(e){var t=(0,o.s9)(),n=t.t,r=(0,s.w5)(),u=r.isOnline,l=(0,s.U8)(),d=l.openModal;function p(){d(i.Fv,{isMultisig:e.isMultisig,tokenContractId:e.tokenContractId})}var v=(0,a.EW)((function(){return e.isMultisig?n("dashboard.proposeCard.description"):n("dashboard.sendCard.description")}));return{isOnline:u,subtitle:v,ArrowSendIcon:c.A,openTransferSendModal:p}}});var d=n(66262);const p=(0,d.A)(l,[["render",r]]),v=p},37134:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r=n(90033),o={key:0,class:"payload"},i={class:"payload-header"},s={class:"label-text"},u={class:"payload-text"};function c(e,t,n,c,l,d){return n.payload&&n.payload.length?((0,a.uX)(),(0,a.CE)("div",o,[(0,a.Lk)("div",i,[(0,a.Lk)("span",s,(0,r.v_)(e.$t("modals.send.payload")),1),(0,a.RG)(e.$slots,"default",{},void 0,!0)]),(0,a.Lk)("div",u,(0,r.v_)(n.payload),1)])):(0,a.Q3)("",!0)}const l={name:"PayloadDetails",props:{payload:{type:String,default:""}}};var d=n(66262);const p=(0,d.A)(l,[["render",c],["__scopeId","data-v-30e23ae8"]]),v=p},62376:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return e.selectedIcon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.selectedIcon),{key:0,class:(0,r.C4)(["protocol-icon",[e.iconSize]])},null,8,["class"])):(0,a.Q3)("",!0)}var i=n(1287),s=(n(74423),n(21699),n(65563)),u={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},c=(0,a.Lk)("circle",{cx:"8",cy:"8",r:"8",fill:"white"},null,-1),l=(0,a.Lk)("path",{d:"M4.738 5.70521C4.15716 5.7022 3.59909 5.92647 3.18614 6.3284C2.77342 6.73011 2.53933 7.27645 2.53467 7.84759C2.53933 8.41874 2.77342 8.96507 3.18614 9.36678C3.59909 9.76871 4.15716 9.99299 4.738 9.98998C5.68132 9.98998 6.36713 9.31944 7.0368 8.41658L7.12037 8.30391L7.67106 9.10814L7.6262 9.16579C6.88988 10.1119 6.01852 10.9026 4.73876 10.9027C3.91351 10.9065 3.12014 10.5875 2.53277 10.0151C1.94529 9.44255 1.6119 8.66332 1.60621 7.84829L1.6062 7.84689C1.6119 7.03186 1.94529 6.25264 2.53277 5.68013C3.12014 5.10772 3.91351 4.78866 4.73876 4.79252C6.29265 4.79263 7.28313 5.95315 8.30169 7.47277C8.8128 8.2353 9.26327 8.86642 9.73461 9.30748C10.2032 9.74598 10.6854 9.98997 11.2615 9.98997C11.6568 9.99067 12.0451 9.88682 12.3857 9.68935C12.7262 9.49188 13.0066 9.20808 13.1979 8.86766L13.2265 8.81663H14.2354L14.1799 8.95408C13.9476 9.52944 13.5456 10.0226 13.0262 10.3699C12.5067 10.7172 11.8937 10.9027 11.2664 10.9027H11.2615C9.70767 10.9027 8.75587 9.78998 7.69571 8.21992C7.16349 7.43173 6.71396 6.80153 6.24865 6.36752C5.78686 5.93679 5.31525 5.70521 4.738 5.70521Z",fill:"#F7296E"},null,-1),d=(0,a.Lk)("path",{d:"M14.3709 8.21614L14.3601 8.30394H10.5931V7.39124H13.4137C13.308 6.93235 13.053 6.51848 12.6857 6.21385C12.2874 5.88352 11.7828 5.70316 11.2619 5.70521C10.3182 5.70521 9.63256 6.37607 8.96253 7.27964L8.87944 7.39169L8.32596 6.59269L8.37091 6.53474C9.10688 5.58585 9.97895 4.79261 11.2613 4.79252C12.0865 4.78866 12.8799 5.10772 13.4673 5.68013C14.0547 6.25264 14.3881 7.03186 14.3938 7.84689C14.3935 7.97001 14.3859 8.09392 14.3709 8.21614Z",fill:"#F7296E"},null,-1),p=[c,l,d];function v(e,t){return(0,a.uX)(),(0,a.CE)("svg",u,p)}var f=n(66262);const m={},g=(0,f.A)(m,[["render",v]]),h=g;var A=n(41970),k=n(2041),y=[s.hS.xs,s.hS.md,s.hS.lg];const b=(0,a.pM)({props:{protocol:{type:String,required:!0},iconSize:{type:String,default:s.hS.md,validator:function(e){return y.includes(e)}}},setup:function(e){var t=(0,i.A)((0,i.A)((0,i.A)({},s.yv.aeternity,h),s.yv.bitcoin,A.A),s.yv.ethereum,k.A),n=(0,a.EW)((function(){return t[e.protocol]}));return{selectedIcon:n}}}),w=(0,f.A)(b,[["render",o],["__scopeId","data-v-3c4b9f22"]]),C=w},67239:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});n(62010);var a=n(20641),r=n(90033),o=["disabled","value","type","name"];function i(e,t,n,i,s,u){return(0,a.uX)(),(0,a.CE)("label",{class:(0,r.C4)(["radio-button",{disabled:e.disabled}])},[(0,a.Lk)("span",{class:(0,r.C4)(["radio-dot",{checked:e.value}])},[(0,a.Lk)("input",{class:"input",disabled:e.disabled,value:e.value,type:e.type,name:e.name},null,8,o)],2),(0,a.Lk)("span",{class:(0,r.C4)(["radio-holder",{checked:e.value}])},[(0,a.RG)(e.$slots,"default",{},void 0,!0)],2)],2)}n(2892);const s=(0,a.pM)({props:{value:{type:[String,Number,Boolean],default:""},type:{type:String,default:"checkbox"},name:{type:String,default:""},disabled:Boolean}});var u=n(66262);const c=(0,u.A)(s,[["render",i],["__scopeId","data-v-30c8e33a"]]),l=c},39953:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(89195);var a=n(20641),r=n(90033),o=["textContent"],i=["textContent"];function s(e,t,n,s,u,c){return(0,a.uX)(),(0,a.CE)("span",{class:(0,r.C4)(["token-amount",[{large:e.large,small:e.small,vertical:e.vertical}]])},[(0,a.Lk)("span",{class:"amount",style:(0,r.Tr)(e.dynamicSizing?{"--font-size":e.calculateFontSize(e.amountRounded)}:{})},[(0,a.eW)((0,r.v_)(e.amountRounded)+" ",1),e.hideSymbol?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.CE)("span",{key:0,class:"symbol",textContent:(0,r.v_)(e.symbolComputed)},null,8,o))],4),e.amountFiat?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"fiat",textContent:(0,r.v_)(e.amountFiat)},null,8,i)):(0,a.Q3)("",!0)],2)}n(2892),n(32637);var u=n(31189),c=n(84754),l=n(32118);const d=(0,a.pM)({props:{amount:{type:Number,required:!0},symbol:{type:String,default:null},protocol:{type:String,required:!0},vertical:Boolean,hideFiat:Boolean,hideSymbol:Boolean,highPrecision:Boolean,dynamicSizing:Boolean,large:Boolean,small:Boolean},setup:function(e){var t=l.C.getAdapter(e.protocol),n=(0,c.ZN)(),r=n.getFormattedAndRoundedFiat,o=(0,a.EW)((function(){return Number.isInteger(e.amount)||0===e.amount?e.amount:(0,u.ZV)(e.amount,{minimumFractionDigits:2,maximumFractionDigits:t.getAmountPrecision({amount:e.amount,highPrecision:e.highPrecision})})})),i=(0,a.EW)((function(){return e.hideFiat?"":r(e.amount,e.protocol)})),s=(0,a.EW)((function(){return e.symbol||t.coinSymbol}));return{amountRounded:o,amountFiat:i,symbolComputed:s,calculateFontSize:u.Vr}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-58c0fdc8"]]),f=v},70694:(e,t,n)=>{"use strict";n.d(t,{A:()=>K});n(62010);var a=n(20641),r=n(90033),o={class:"symbols"},i=["title","textContent"],s={key:1,class:"separator"},u=["title","textContent"];function c(e,t,n,c,l,d){var p,v,f,m,g,h,A,k,y=(0,a.g2)("AssetIcon");return(0,a.uX)(),(0,a.CE)("span",{class:(0,r.C4)(["tokens",{vertical:e.vertical,bright:e.bright}])},[!e.noIcons&&e.imgAsset?((0,a.uX)(),(0,a.Wv)(y,{key:0,class:"icon",asset:e.imgAsset,"icon-size":e.iconSize},null,8,["asset","icon-size"])):(0,a.Q3)("",!0),(0,a.Lk)("span",o,[e.fromAsset?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"symbol",title:(null===(p=e.fromAsset)||void 0===p?void 0:p.name)||(null===(v=e.fromAsset)||void 0===v?void 0:v.symbol),textContent:(0,r.v_)(e.truncateString(e.fullSymbol?null===(f=e.fromAsset)||void 0===f?void 0:f.name:null===(m=e.fromAsset)||void 0===m?void 0:m.symbol)||e.$t("common.unrecognized"))},null,8,i)):(0,a.Q3)("",!0),e.fromAsset&&e.targetAsset?((0,a.uX)(),(0,a.CE)("span",s," / ")):(0,a.Q3)("",!0),e.targetAsset?((0,a.uX)(),(0,a.CE)("span",{key:2,class:"symbol",title:(null===(g=e.targetAsset)||void 0===g?void 0:g.name)||(null===(h=e.targetAsset)||void 0===h?void 0:h.symbol),textContent:(0,r.v_)(e.truncateString(e.fullSymbol?null===(A=e.targetAsset)||void 0===A?void 0:A.name:null===(k=e.targetAsset)||void 0===k?void 0:k.symbol)||e.$t("common.unrecognized"))},null,8,u)):(0,a.Q3)("",!0)])],2)}n(50113),n(62062),n(2892),n(26099);var l=n(65563),d=n(31189),p=["src","title"];function v(e,t,n,o,i,s){var u,c,l,d,v;return e.selectedIcon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.selectedIcon),{key:0,class:(0,r.C4)(["asset-icon",[e.iconSize]]),title:(null===(u=e.asset)||void 0===u?void 0:u.name)||(null===(c=e.asset)||void 0===c?void 0:c.symbol)},null,8,["class","title"])):((0,a.uX)(),(0,a.CE)("img",{key:1,class:(0,r.C4)(["asset-icon",[e.iconSize,{"is-placeholder":!(null===(l=e.asset)||void 0===l?void 0:l.image)}]]),src:e.asset.image||e.getTokenPlaceholderUrl(e.asset),title:(null===(d=e.asset)||void 0===d?void 0:d.name)||(null===(v=e.asset)||void 0===v?void 0:v.symbol),alt:"Asset image"},null,10,p))}var f=n(1287),m=(n(28706),n(74423),n(21699),n(32118)),g=n(59755),h={viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},A=(0,a.Lk)("circle",{cx:"8",cy:"8",r:"8",fill:"#F7296E"},null,-1),k=(0,a.Lk)("path",{d:"M4.738 5.70521C4.15716 5.7022 3.59909 5.92647 3.18614 6.3284C2.77342 6.73011 2.53933 7.27645 2.53467 7.84759C2.53933 8.41874 2.77342 8.96507 3.18614 9.36678C3.59909 9.76871 4.15716 9.99299 4.738 9.98998C5.68132 9.98998 6.36713 9.31944 7.0368 8.41658L7.12037 8.30391L7.67106 9.10814L7.6262 9.16579C6.88988 10.1119 6.01852 10.9026 4.73876 10.9027C3.91351 10.9065 3.12014 10.5875 2.53277 10.0151C1.94529 9.44255 1.6119 8.66332 1.60621 7.84829L1.6062 7.84689C1.6119 7.03186 1.94529 6.25264 2.53277 5.68013C3.12014 5.10772 3.91351 4.78866 4.73876 4.79252C6.29265 4.79263 7.28313 5.95315 8.30169 7.47277C8.8128 8.2353 9.26327 8.86642 9.73461 9.30748C10.2032 9.74598 10.6854 9.98997 11.2615 9.98997C11.6568 9.99067 12.0451 9.88682 12.3857 9.68935C12.7262 9.49188 13.0066 9.20808 13.1979 8.86766L13.2265 8.81663H14.2354L14.1799 8.95408C13.9476 9.52944 13.5456 10.0226 13.0262 10.3699C12.5067 10.7172 11.8937 10.9027 11.2664 10.9027H11.2615C9.70767 10.9027 8.75587 9.78998 7.69571 8.21992C7.16349 7.43173 6.71396 6.80153 6.24865 6.36752C5.78686 5.93679 5.31525 5.70521 4.738 5.70521Z",fill:"white"},null,-1),y=(0,a.Lk)("path",{d:"M14.3709 8.21614L14.3601 8.30394H10.5931V7.39124H13.4137C13.308 6.93235 13.053 6.51848 12.6857 6.21385C12.2874 5.88352 11.7828 5.70316 11.2619 5.70521C10.3182 5.70521 9.63256 6.37607 8.96253 7.27964L8.87944 7.39169L8.32596 6.59269L8.37091 6.53474C9.10688 5.58585 9.97895 4.79261 11.2613 4.79252C12.0865 4.78866 12.8799 5.10772 13.4673 5.68013C14.0547 6.25264 14.3881 7.03186 14.3938 7.84689C14.3935 7.97001 14.3859 8.09392 14.3709 8.21614Z",fill:"white"},null,-1),b=[A,k,y];function w(e,t){return(0,a.uX)(),(0,a.CE)("svg",h,b)}var C=n(66262);const x={},L=(0,C.A)(x,[["render",w]]),S=L;var T=n(41970),E=n(2041),I={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 743 743",fill:"none",class:"icon"},_=(0,a.Lk)("path",{d:"M524.267 136.534c-2.016-1.799-3.327-2.599-4.235-2.599v-.1c-.706 0-1.21.6-1.613 1.6-.404.999.302 2.398 2.117 3.997 1.916 1.599 3.53 2.299 4.74 2.299 2.017 0 2.42-2.199-1.009-5.197",fill:"#fff"},null,-1),W=(0,a.Lk)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M351.328 17c18.353 0 45.48 1 53.446 2.299a65 65 0 0 1 10.79 2.498c.504.4 1.714 4.098 2.723 8.096 2.017 6.996 2.017 7.496.201 8.695-.705.6-3.025 1-6.857 1-5.344 0-13.613-.7-24.605-1.9-4.639-.5-10.084-.7-14.824-.7-6.655 0-11.899.4-11.697 1.3.201.6 7.664 1.6 16.638 2.199a377 377 0 0 1 113.245 23.787l8.572 3.498c24.706 9.994 64.841 33.981 80.068 47.973 30.656 28.085 50.219 50.572 65.345 74.958 20.906 32.99 35.057 69.735 41.648 108.14a393 393 0 0 0 4.134 21.788c2.32 10.594 2.421 45.375.101 65.064-6.416 52.727-26.037 103.027-57.076 146.319-17.446 24.086-47.396 55.969-64.135 68.062-13.11 9.495-14.017 10.294-12.101 10.994h.202c3.63 0 23.496-15.092 40.941-31.483 7.059-6.496 10.79-9.594 12.504-9.594 1.412 0 1.513 1.799.807 5.297-1.008 5.497-3.832 9.395-11.899 16.391-4.034 3.498-11.597 10.494-16.841 15.691a310 310 0 0 1-15.63 14.292c-6.656 5.497-16.841 15.991-16.135 16.591h.202c1.513 0 11.597-5.997 18.252-10.994 4.135-3.198 5.95-4.298 7.362-4.298.504 0 1.008.2 1.512.4 3.026 1.299 4.236 7.196 2.118 10.394a104.9 104.9 0 0 1-27.227 17.491c-2.26.876-5.142 2.085-8.017 3.29l-.006.002-.01.005-.009.004-.023.009c-3.01 1.262-6.008 2.519-8.271 3.386-4.437 1.999-9.076 3.698-10.589 4.098s-4.336 1.999-6.555 3.498-6.05 3.598-8.571 4.497c-2.521.9-5.647 2.799-7.059 3.998-1.513 1.299-3.025 2.399-3.529 2.399-.505 0-3.429-2.699-6.656-5.997-3.025-3.298-6.454-5.997-7.261-5.997-.806 0-5.445 1.3-10.386 2.999a357 357 0 0 1-41.648 10.993c-7.655 1.265-9.499 1.818-11.039 4.24l6.601 5.055-.504 3.698c-.726 4.767-1.697 6.539-2.105 7.283q-.068.124-.114.213l-1.008 1.099c-2.42 2.499-5.647 2.799-10.488 2.999l-20.168 1.299a244.4 244.4 0 0 1-51.833-1.599c-5.142-.8-9.68-1.299-11.092-1.299-3.53 0-7.664-.3-11.093-2.599-2.42-1.699-5.243-4.897-5.243-10.994v-3.498l6.89-3.415a345.4 345.4 0 0 1-53.478-13.176c-4.235-1.299-7.059-1.998-9.378-1.998-3.328 0-5.446 1.499-8.672 4.797l-3.832 3.998-4.841-2.499a54 54 0 0 0-6.756-2.998c-1.513-.5-1.614-.9-.605-1.999 1.109-1.399.605-1.599-3.53-1.599-3.428 0-6.252-.8-9.277-2.599-2.42-1.399-6.757-3.398-9.681-4.397l-14.824-5.397a47.7 47.7 0 0 0-12.101-3.399c-5.042 0 7.866 8.696 32.068 20.389a223 223 0 0 0 20.37 9.095c3.832.7 3.832 2.399.101 6.497-1.916 2.098-3.832 3.198-6.454 3.198a40.6 40.6 0 0 1-15.025-4.997 368.4 368.4 0 0 1-55.06-32.682c-2.924-2.699-2.823-6.397.202-14.692a420 420 0 0 0 5.042-14.692l2.42-8.195-6.252-4.798a373 373 0 0 1-34.286-33.581c-2.723-3.298-4.74-4.797-8.068-4.797-1.916 0-4.235.499-7.462 1.499-15.126 4.597-21.48 6.496-24.807 6.496-2.218 0-3.025-.799-4.336-2.199-9.883-10.594-39.63-60.966-39.63-67.262 0-1.499 2.42-4.498 7.36-8.995 9.682-8.995 18.858-18.49 18.858-19.39a1794 1794 0 0 1-15.126-48.173c-1.614-5.397-2.925-10.394-2.925-11.194 0-1.699-3.73-2.998-14.117-4.997-11.698-2.199-22.085-5.597-23.194-7.496-2.017-3.798-3.025-19.889-3.025-47.573q0-2.443-.003-4.651c-.016-19.232-.022-25.457 3.106-28.162 1.496-1.295 3.71-1.784 6.983-2.508q.767-.168 1.611-.359l14.42-3.598 6.455-1.699 1.31-8.995c2.32-17.391 6.858-37.68 11.8-52.971l3.63-10.994-2.824-1.999a82.2 82.2 0 0 1-15.328-14.991 300.2 300.2 0 0 1 31.26-57.868c7.06-10.494 9.278-13.693 12.404-13.693 1.21 0 2.622.5 4.437 1.2a78.4 78.4 0 0 0 15.328 3.997c1.109 0 4.235-2.898 7.362-6.896 7.764-9.395 29.849-31.382 40.437-39.978 4.84-3.997 8.773-7.795 8.773-8.395 0-.5-1.008-4.997-2.622-9.994l-.02-.073c-1.871-6.656-2.842-10.11-1.86-12.895 1.06-3.004 4.392-5.23 11.318-9.857l.243-.163a211 211 0 0 1 25.211-14.891 251 251 0 0 1 32.067-15.891c2.219 0 4.235 1.998 4.235 3.997 0 1.1-2.319 2.699-6.756 4.498-13.311 5.597-53.748 28.984-53.748 31.183 0 .3.201.5.705.5 2.017 0 8.874-3.499 19.463-9.895 21.177-12.893 39.53-22.288 43.563-22.288 2.723 0 4.337 1 8.269 4.997l5.042 4.798 11.093-3.898a370 370 0 0 1 52.538-12.993c6.656-1.2 12.908-2.499 13.816-2.998.907-.5 5.647-.9 10.487-.9 4.841 0 8.572-.3 8.168-.6-.302-.3-4.638-.699-9.479-.799h-8.874l.303-4.997c.201-2.899 1.008-5.697 1.613-6.397 1.815-1.799 16.236-3.897 32.37-4.597 17.143-.8 27.228-1.6 27.631-2.199.302-.2 0-.9-.605-1.5-.605-.599-6.151-.799-13.412-.799-13.815 0-33.58.9-37.311 2.1-2.017.599-3.832.999-5.042.999-.505 0-.807 0-1.009-.2-1.815-1-.504-3.798 2.219-4.997 1.311-.6 8.369-.8 17.546-.8M233.747 89.76c1.311 0 3.428-.5 6.151-1.5 2.824-.999 6.051-1.499 8.37-1.499 1.614 0 2.824.3 3.126.8s-1.815 1.999-4.739 3.198a298 298 0 0 0-36.001 18.29l-21.681 13.193c-11.496 6.996-18.151 11.693-25.513 17.79-2.319 1.999-5.243 3.997-6.554 4.297-2.925 1-3.933 2.499-2.521 4.098 1.21 1.499-3.933 9.695-9.379 14.792-1.613 1.599-2.42 2.298-3.025 2.298-.403 0-.807-.399-1.311-.999-.907-1.199-1.613-1.699-2.017-1.699a296 296 0 0 1-21.378 34.581c-4.639 6.696-9.983 15.291-11.899 19.189-2.017 3.798-4.74 8.595-6.252 10.694a249 249 0 0 0-22.387 50.372c-3.328 10.394-5.85 23.987-4.942 26.386.404.999 1.11 1.599 2.017 1.599 1.614 0 3.63-1.3 5.647-3.598 6.555-7.296 9.177-12.693 14.219-28.884 2.824-8.795 6.05-17.691 7.059-19.989.4-.793 1.753-4.293 3.302-8.301.403-1.043.819-2.12 1.236-3.193 14.338-34.454 36.409-65.216 64.538-89.95 37.295-32.697 82.609-55.101 131.397-64.964 15.429-2.998 35.799-4.597 56.169-4.597 20.672 0 41.244 1.599 56.471 4.797 23.496 4.997 60.807 21.588 65.043 28.984 1.31 2.499 1.31 2.998 0 4.298-2.32 2.198-9.883 3.698-18.354 3.698-2.117 0-4.336 0-6.554-.3a261 261 0 0 0-77.648 5.597 159 159 0 0 0-34.589 12.793c-2.071.957-6.884 2.946-12.173 5.132l-.004.001-.002.001c-2.434 1.006-4.97 2.053-7.384 3.061a282 282 0 0 0-46.589 22.487 266 266 0 0 0-23.193 16.191c-10.085 7.596-20.875 17.991-40.236 38.479a35.5 35.5 0 0 1-6.757 6.297c-2.319 0 0-4.398 6.757-12.993a220.7 220.7 0 0 1 48.505-44.475c28.235-19.49 34.689-24.687 34.689-27.585 0-1.1-.202-1.699-1.311-1.699-1.513 0-4.336.799-10.286 2.698a309.3 309.3 0 0 0-65.547 30.683c-47.323 31.305-81.855 78.286-97.413 132.527-6.05 21.987-8.067 35.38-8.672 58.967-.706 29.184 1.714 50.072 8.874 74.658 9.973 33.074 26.42 63.877 48.404 90.65 22.724 26.637 50.913 48.17 82.69 63.165 39.009 18.652 81.836 28.126 125.144 27.685 21.984.099 28.538.799 18.253 1.998a239 239 0 0 1-22.186.3h-5.445c-12.807 0-16.437.7-8.773 1.799 7.818.582 15.665.682 23.496.3l.082-.001c18.877-.299 19.078-.302 18.876-2.498-.202-1.998.303-2.198 7.563-2.798 37.11-2.998 44.572-4.397 61.715-10.994l20.168-7.796c27.631-10.594 57.178-26.985 83.296-46.274 13.512-9.994 35.899-31.182 46.084-43.676 31.249-38.415 50.398-85.097 55.06-134.225.605-7.196 1.31-13.692 1.613-14.492.303-.799 1.21-4.597 2.017-8.395a24.85 24.85 0 0 1 3.832-9.695c5.042-5.897 4.336-35.48-1.412-63.165-2.521-11.893-10.992-38.978-15.832-50.672a314.2 314.2 0 0 0-44.875-75.158c-9.277-11.593-38.218-40.477-42.756-42.676-1.614-.8-4.942-2.998-7.463-5.197a266 266 0 0 0-44.168-26.585 99.3 99.3 0 0 0-19.563-8.096c-1.009 0 .302 1.2 4.537 3.798 3.127 1.999 5.748 3.998 5.748 4.297 0 .9-.806 1.3-1.916 1.3-1.008 0-2.319-.3-3.63-1-1.21-.6-2.521-1-3.328-1a1 1 0 0 0-.504.1c-1.008.7 5.647 7.697 10.185 10.395 1.714 1.2 3.227 2.499 3.227 2.998 0 .6-.403.9-1.008.9q-2.27 0-7.866-3.298a342 342 0 0 0-52.841-22.288 308.8 308.8 0 0 0-97.514-15.191c-15.933 0-32.571.8-42.353 2.198a205 205 0 0 1-19.462 2.499c-1.513 0-1.816-.3-1.816-.8 0-.6 1.311-.999 3.026-.999s4.739-.8 7.059-1.6c2.319-.799 5.546-1.498 7.058-1.498 1.513 0 3.832-.8 5.043-1.8 2.117-1.698 4.134-8.395 3.227-10.993-.202-.7-.606-1-1.513-1-.706 0-1.714.2-3.227.5l-18.152 3.398c-15.63 2.999-32.269 7.496-44.37 11.993l-5.748 2.1 5.345 5.396c3.025 2.999 5.143 5.497 4.84 5.797-.201.2-3.025 1.1-6.454 1.999-8.874 2.499-22.689 8.695-22.689 10.294 0 .8.605 1.3 2.017 1.3m252.16-14.792c2.684-.02 3.988-1.42 5.49-4.298 1.008-1.699 1.412-2.998 1.311-2.998l-8.874-2.998a324 324 0 0 0-60.404-15.992c-1.009 0-.404 6.497 1.109 9.195.504 1 2.118 2 3.63 2.299 9.883 1.999 38.723 9.295 47.396 12.193 5.008 1.688 8.126 2.587 10.342 2.599m0 0h.044-.1zm-311.152 45.375c.806 0 7.664-6.297 15.63-14.193 8.067-7.995 14.42-14.492 14.118-14.492-2.824.3-16.135 10.495-26.017 19.989-5.042 4.698-6.353 7.796-3.731 8.696m-51.329 48.273c1.311 0 4.841-2.799 8.975-6.896 5.042-5.198 8.975-7.896 11.093-7.896.706 0 1.21.3 1.512.8q.152.299.605.299c.706 0 1.916-.699 3.53-1.999 1.916-1.799 3.126-3.498 2.622-3.897h-.303c-.706 0-2.017.799-3.428 2.098-1.311 1.3-2.219 1.999-2.622 1.999-.303 0-.404-.299-.404-.599 0-2.799 4.135-7.996 8.774-10.994 6.252-4.198 18.454-16.791 18.454-18.99 0-.899-.706-2.198-1.614-2.998-.807-.7-2.218-2.499-3.025-3.998-.807-1.599-1.815-2.898-2.219-2.898-1.109.1-10.588 8.095-22.689 19.189a281.4 281.4 0 0 0-29.95 32.782c0 .999 8.067 3.998 10.689 3.998M51.022 319.532c4.034 0 5.345-2.399 7.26-12.793 1.917-10.694 6.152-25.786 11.194-39.978 1.614-4.597 2.924-8.795 2.924-9.195 0-.499-1.411-2.498-3.126-4.497-1.714-1.899-3.53-3.498-4.033-3.498-2.118 0-10.084 29.283-13.614 49.972-2.924 17.59-3.025 19.989-.605 19.989m273.481 364.797 2.823 2.099c4.236 3.098 11.496 3.998 39.026 4.597 5.242.2 10.283.2 14.92.2h.005c18.958 0 32.471-1.099 37.412-3.198l3.428-1.399-.504 3.598c-.302 1.999-.807 3.998-1.008 4.197-.303.3-2.622.5-5.143.6l-20.37 1.299a238.5 238.5 0 0 1-49.917-1.499c-4.437-.699-9.983-1.399-12.403-1.399-6.252 0-8.269-1.399-8.269-5.597z",fill:"#fff"},null,-1),F=(0,a.Lk)("path",{d:"M526.485 62.175c-10.588-5.097-16.638-7.396-19.664-7.396-1.008 0-1.714.3-2.117.7-1.614 1.599-.404 3.198 3.126 4.398 2.017.6 12.907 5.596 24.202 10.993 11.193 5.397 20.672 9.895 21.176 9.895.404-.1-2.016-2.599-5.344-5.597a81.5 81.5 0 0 0-21.379-12.993m202.088 292.138.303 1.299a125 125 0 0 1-.303 28.484c-.302 0-.403-4.997-.403-14.991s.101-14.792.403-14.792m-43.058 140.722c0-1.899-.404-3.498-.908-3.498a80.7 80.7 0 0 0-8.067 13.592 386.5 386.5 0 0 1-43.463 64.864c-1.714 1.099-1.109 2.599 1.109 2.599 1.4.051 2.774.392 4.034.999.807.4 1.513.7 2.219.7 2.42 0 4.538-2.499 8.067-8.596l11.798-20.188c13.211-22.488 25.211-46.475 25.211-50.472m-8.366 35.68c.706 0 1.311.699 1.311 2.398 0 2.499-7.362 17.091-13.816 27.185q-.324.536-.633 1.042l-.477.784c-1.282 2.102-2.217 3.635-2.217 3.871 0 .3-1.614 2.998-3.53 5.997-2.42 3.598-4.235 5.497-5.546 5.497q-4.689 0 2.117-8.995c2.219-2.999 6.152-9.295 8.673-13.993l7.563-13.492a106 106 0 0 0 4.134-7.796c.706-1.699 1.715-2.598 2.421-2.598zm3.33 24.386c0-1.499-2.017-3.598-3.53-3.598-.605 0-1.613 1.199-2.218 2.698-2.118 4.798-12.404 20.689-14.521 22.488l-2.118 1.799 2.723 1.199c1.008.4 1.815.7 2.621.7.605 0 1.211-.2 1.715-.5a152.7 152.7 0 0 0 15.328-24.786m-97.618 86.552c1.412 0 2.319 1.1 3.327 3.398 2.219 5.197 2.017 7.796-1.21 11.094-7.26 7.596-61.614 36.48-68.37 36.48h-.303a35 35 0 0 1-10.285-8.396c0-.399 3.025-1.998 6.857-3.897a379 379 0 0 0 63.631-35.481c3.025-2.098 4.84-3.198 6.353-3.198m-255.033 66.766 12.303 1.499a663 663 0 0 0 74.118 1.199h1.311c2.017 0 2.319.5 2.521 2.799.403 4.497-2.924 9.095-7.261 9.994a360 360 0 0 1-44.471 1.999c-11.193-.4-28.739-1.999-31.966-2.998-2.219-.8-6.858-8.695-6.858-11.893 0-1.4.101-2.599.303-2.599",fill:"#fff"},null,-1),D=[_,W,F];function B(e,t){return(0,a.uX)(),(0,a.CE)("svg",I,D)}const P={},M=(0,C.A)(P,[["render",B]]),O=M;var R=[l.hS.sm,l.hS.rg,l.hS.md,l.hS.lg,l.hS.xxl],N=(0,f.A)((0,f.A)((0,f.A)({},l.yv.aeternity,S),l.yv.bitcoin,T.A),l.yv.ethereum,E.A),U=Object.assign(Object.assign({},N),{ct_xtk8rSz9suPb6D6VLquyfVji25FcnFRDjn3dnn5mmvHsPiESt:O});const X=(0,a.pM)({props:{asset:{type:Object,required:!0},iconSize:{type:String,default:l.hS.md,validator:function(e){return R.includes(e)}}},setup:function(e){var t=(0,a.EW)((function(){return e.asset.protocol||l.yv.aeternity})),n=(0,a.EW)((function(){return e.asset.contractId||m.C.getAdapter(t.value).coinContractId})),r=(0,a.EW)((function(){return U[n.value]}));function o(e){return"".concat(g.d3).concat(e.contractId)}return{selectedIcon:r,getTokenPlaceholderUrl:o}}}),V=(0,C.A)(X,[["render",v],["__scopeId","data-v-9ac94844"]]),H=V,$=(0,a.pM)({components:{AssetIcon:H},props:{tokens:{type:Array,required:!0},symbolLength:{type:Number,default:11},doubleSymbolLength:{type:Number,default:5},protocol:{type:String,default:l.yv.aeternity},iconSize:{type:String,default:l.hS.sm},vertical:Boolean,noIcons:Boolean,fullSymbol:Boolean,bright:Boolean},setup:function(e){function t(){var t;if((null===(t=e.tokens)||void 0===t?void 0:t.length)<2)return e.symbolLength;var n=e.tokens.map((function(e){var t=e.symbol;return(null===t||void 0===t?void 0:t.length)||0})).find((function(t){return t{"use strict";n.d(t,{A:()=>h});var a=n(20641),r=n(90033),o=n(53751),i={key:0,ref:"transactionFilterEl",class:"filter-wrapper"};function s(e,t,n,s,u,c){var l=(0,a.g2)("InputSearch"),d=(0,a.g2)("Filters");return e.showFilterBar?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,r.C4)(["transaction-filter",{"without-search":e.hideSearch}]),style:(0,r.Tr)({maxHeight:e.openHeight})},[(0,a.bF)(o.eB,{name:"fade-transition",mode:"out-in"},{default:(0,a.k6)((function(){return[e.firstRender||e.openHeight?((0,a.uX)(),(0,a.CE)("div",i,[!e.hideSearch&&e.isActiveAccountAe?((0,a.uX)(),(0,a.Wv)(l,{key:0,modelValue:e.searchPhrase,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.searchPhrase=t}),class:"input-search",placeholder:e.$t("pages.fungible-tokens.searchPlaceholder"),onFocusChange:e.handleFocus},null,8,["modelValue","placeholder","onFocusChange"])):(0,a.Q3)("",!0),e.hideFilterButton?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(d,{key:1,modelValue:e.displayMode,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.displayMode=t}),class:"filters",filters:e.isActiveAccountAe?e.filtersConfigAe:e.filtersConfig,"scroll-top-threshold":e.scrollTopThreshold},null,8,["modelValue","filters","scroll-top-threshold"]))],512)):(0,a.Q3)("",!0)]})),_:1})],6)):(0,a.Q3)("",!0)}var u=n(50953),c=n(75220),l=n(65563),d=n(84754),p=n(76801),v=n(9776);const f=(0,a.pM)({name:"TransactionAndTokenFilter",components:{Filters:v.A,InputSearch:p.A},props:{showFilters:Boolean},setup:function(e){var t=(0,c.lq)(),n=(0,d.QR)(),r=n.isSearchBarAndFilterExpanded,o=n.searchPhrase,i=n.displayMode,s=n.filtersConfig,p=n.filtersConfigAe,v=n.resetFilter,f=(0,d.kW)(),m=f.viewportElement,g=(0,d.oV)(),h=g.activeAccount,A=140,k=(0,u.KR)(0),y=(0,u.KR)(!0),b=(0,u.KR)(!1),w=(0,u.KR)(),C=(0,u.KR)(),x=(0,a.EW)((function(){return h.value.protocol===l.yv.aeternity})),L=(0,a.EW)((function(){return e.showFilters||b.value||r.value?"".concat(k.value,"px"):0})),S=(0,a.EW)((function(){var e;return!!(null===(e=t.meta)||void 0===e?void 0:e.showFilterBar)})),T=(0,a.EW)((function(){var e;return!!(null===(e=t.meta)||void 0===e?void 0:e.hideSearchBar)})),E=(0,a.EW)((function(){var e;return!!(null===(e=t.meta)||void 0===e?void 0:e.hideFilterButton)}));function I(e){b.value=e}function _(){C.value=new ResizeObserver((function(){var e,t=(null===(e=w.value)||void 0===e?void 0:e.clientHeight)||0;t&&t>0&&(k.value=t)}))}return(0,a.wB)(w,(function(e){var t,n;e?null===(t=C.value)||void 0===t||t.observe(e):null===(n=C.value)||void 0===n||n.disconnect()})),(0,a.wB)((function(){return o.value}),(function(){m.value&&m.value.scrollTop>A&&m.value.scrollTo({top:A,behavior:"smooth"})})),(0,a.sV)((function(){var e;S.value&&(k.value=null===(e=null===w||void 0===w?void 0:w.value)||void 0===e?void 0:e.clientHeight,y.value=!1,_())})),(0,a.hi)((function(){return v()})),{transactionFilterEl:w,searchPhrase:o,filtersConfig:s,filtersConfigAe:p,isActiveAccountAe:x,openHeight:L,hideSearch:T,showFilterBar:S,hideFilterButton:E,displayMode:i,firstRender:y,scrollTopThreshold:A,handleFocus:I}}});var m=n(66262);const g=(0,m.A)(f,[["render",s],["__scopeId","data-v-5de9a71a"]]),h=g},3260:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(20641),r=n(90033),o={class:"amount"},i=["textContent"];function s(e,t,n,s,u,c){var l=(0,a.g2)("Tokens");return e.filteredAssets.length?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,r.C4)(["transaction-asset-rows",{reversed:e.isReversed}])},[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.filteredAssets,(function(t){return(0,a.uX)(),(0,a.CE)("div",{key:t.symbol,class:(0,r.C4)(["row",{error:e.error,received:t.isReceived,"multiple-rows":e.multipleRows}]),style:(0,r.Tr)({"--font-size":e.calculateFontSize(t.amount)})},[(0,a.bF)(l,{tokens:t.isPool?e.filteredAssets:[t],"icon-size":e.iconSize,protocol:e.protocol,"full-symbol":"",bright:""},null,8,["tokens","icon-size","protocol"]),(0,a.Lk)("span",o,[(0,a.eW)((0,r.v_)(t.isReceived?"":"−")+" "+(0,r.v_)(e.amountFormatted({token:t,isRounded:e.isRounded}))+" ",1),(null===t||void 0===t?void 0:t.symbol)?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"symbol",textContent:(0,r.v_)(e.truncateString(t.symbol,5))},null,8,i)):(0,a.Q3)("",!0)])],6)})),128))],2)):(0,a.Q3)("",!0)}n(76918),n(2008),n(25276),n(62062),n(23288),n(26099),n(38781);var u=n(65563),c=n(31189),l=n(70694);const d=(0,a.pM)({name:"TransactionAssetRows",components:{Tokens:l.A},props:{assets:{type:Array,default:null},iconSize:{type:String,default:"sm"},protocol:{type:String,required:!0},error:Boolean,isRounded:Boolean,isReversed:Boolean,multipleRows:Boolean},setup:function(e){var t=(0,a.EW)((function(){var t,n;return null===(n=null===(t=e.assets||[])||void 0===t?void 0:t.filter((function(e){var t=e.amount;return void 0!==t})))||void 0===n?void 0:n.map((function(e){return(0,c.Jk)(e)}))})),n=function(e){var t,n=e.token,a=e.isRounded;return!n.amount||a&&-1===(null===(t=n.amount)||void 0===t?void 0:t.toString().indexOf("e"))?n.amount:(0,c.k0)(n.amount)};return{TX_DIRECTION:u.NX,filteredAssets:t,truncateString:c.W5,amountFormatted:n,calculateFontSize:c.Vr}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-1bbadb59"]]),f=v},75518:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var a=n(20641),r=n(90033),o={class:"transaction-details-base"},i={key:0,class:"header"},s={key:1,class:"content"},u={class:"explorer"},c={class:"data-grid"},l={class:"text-address"},d={class:"text-address"},p={class:"span-3-columns"};function v(e,t,n,v,f,m){var g,h,A=(0,a.g2)("TransactionErrorStatus"),k=(0,a.g2)("TransactionOverview"),y=(0,a.g2)("LinkButton"),b=(0,a.g2)("DetailsItem"),w=(0,a.g2)("CopyText"),C=(0,a.g2)("PayloadDetails"),x=(0,a.g2)("AnimatedPending"),L=(0,a.g2)("TokenAmount");return(0,a.uX)(),(0,a.CE)("div",o,[e.showHeader||e.isErrorTransaction?((0,a.uX)(),(0,a.CE)("div",i,[e.isErrorTransaction?((0,a.uX)(),(0,a.Wv)(A,{key:0,"return-type":null===(h=null===(g=e.transaction)||void 0===g?void 0:g.tx)||void 0===h?void 0:h.returnType},null,8,["return-type"])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"tokens",{},void 0,!0)])):(0,a.Q3)("",!0),e.transaction?((0,a.uX)(),(0,a.CE)("div",s,[(0,a.bF)(k,{transaction:e.transaction},null,8,["transaction"]),(0,a.Lk)("div",u,[(0,a.bF)(y,{"is-external":"",to:e.explorerUrl,variant:"muted"},{default:(0,a.k6)((function(){return[(0,a.eW)((0,r.v_)(e.$t("pages.transactionDetails.explorer")),1)]})),_:1},8,["to"])]),(0,a.Lk)("div",c,[e.isErrorTransaction?(0,a.Q3)("",!0):(0,a.RG)(e.$slots,"swap-data",{key:0},void 0,!0),e.isErrorTransaction?((0,a.uX)(),(0,a.Wv)(b,{key:1,label:e.$t("pages.transactionDetails.reason"),value:e.transaction.tx["return"],class:"reason","data-cy":"reason"},null,8,["label","value"])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"additional-content",{},void 0,!0),e.contractId&&e.isContract(e.contractId)?((0,a.uX)(),(0,a.Wv)(b,{key:2,label:e.$t("common.smartContract"),small:""},{value:(0,a.k6)((function(){return[(0,a.bF)(w,{"hide-icon":"",value:e.contractId,"copied-text":e.$t("common.hashCopied")},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",l,(0,r.v_)(e.splitAddress(e.contractId)),1)]})),_:1},8,["value","copied-text"])]})),_:1},8,["label"])):(0,a.Q3)("",!0),(0,a.bF)(b,{label:e.$t("pages.transactionDetails.hash"),"data-cy":"hash",small:""},{value:(0,a.k6)((function(){return[(0,a.bF)(w,{"hide-icon":"",value:e.hash,"copied-text":e.$t("common.hashCopied")},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",d,(0,r.v_)(e.splitAddress(e.hash)),1)]})),_:1},8,["value","copied-text"])]})),_:1},8,["label"]),(0,a.RG)(e.$slots,"multisig-content",{},void 0,!0),(0,a.bF)(C,{payload:e.payload},null,8,["payload"]),(0,a.Lk)("div",p,[e.transaction.pending?((0,a.uX)(),(0,a.Wv)(b,{key:0,label:e.$t("pages.transactionDetails.timestamp"),"data-cy":"timestamp"},{value:(0,a.k6)((function(){return[(0,a.bF)(x,{class:"pending-icon"}),(0,a.eW)(" "+(0,r.v_)(e.$t("common.pending"))+"... ",1)]})),_:1},8,["label"])):e.transaction.microTime?((0,a.uX)(),(0,a.Wv)(b,{key:1,value:e.formatDate(e.transaction.microTime),secondary:e.formatTime(e.transaction.microTime),label:e.$t("pages.transactionDetails.timestamp"),"data-cy":"timestamp"},null,8,["value","secondary","label"])):(0,a.Q3)("",!0),e.transaction.blockHeight&&e.transaction.blockHeight>0?((0,a.uX)(),(0,a.Wv)(b,{key:2,value:e.transaction.blockHeight,label:e.$t("pages.transactionDetails.blockHeight"),"data-cy":"block-height"},null,8,["value","label"])):(0,a.Q3)("",!0),e.transaction.tx.nonce?((0,a.uX)(),(0,a.Wv)(b,{key:3,value:e.transaction.tx.nonce,label:e.$t("pages.transactionDetails.nonce"),"data-cy":"nonce"},null,8,["value","label"])):(0,a.Q3)("",!0)]),e.amount?((0,a.uX)(),(0,a.Wv)(b,{key:3,label:e.$t("common.amount"),"data-cy":"amount"},{value:(0,a.k6)((function(){return[(0,a.bF)(L,{amount:e.amount,symbol:e.assetSymbol,"hide-fiat":e.hideFiat,"high-precision":!!e.nonAeAssets,protocol:e.protocol},null,8,["amount","symbol","hide-fiat","high-precision","protocol"])]})),_:1},8,["label"])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"gas",{},void 0,!0),e.fee?((0,a.uX)(),(0,a.Wv)(b,{key:4,label:e.$t("transaction.fee"),"data-cy":"fee"},{value:(0,a.k6)((function(){return[(0,a.bF)(L,{amount:e.fee,symbol:e.coinSymbol,protocol:e.protocol,"high-precision":!!e.nonAeAssets},null,8,["amount","symbol","protocol","high-precision"])]})),_:1},8,["label"])):(0,a.Q3)("",!0),e.hideAmountTotal?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(b,{key:5,label:e.$t("common.total"),"data-cy":"total"},{value:(0,a.k6)((function(){return[(0,a.bF)(L,{amount:e.amountTotal,symbol:e.assetSymbol,"hide-fiat":e.hideFiat,"high-precision":!!e.nonAeAssets,protocol:e.protocol},null,8,["amount","symbol","hide-fiat","high-precision","protocol"])]})),_:1},8,["label"]))])])):(0,a.Q3)("",!0)])}n(2892);var f=n(31189),m=n(32118),g=n(84754),h=n(58338),A=n(29351),k=n(39953),y=n(74494),b=n(47206),w=n(20789),C=n(37134),x={class:"transaction-reverted-status"},L={class:"status-wrapper"},S={class:"text-wrapper"},T={key:0,class:"revert-info"};function E(e,t,n,o,i,s){var u=(0,a.g2)("Revert"),c=(0,a.g2)("Failed");return(0,a.uX)(),(0,a.CE)("div",x,[(0,a.Lk)("div",L,[(0,a.Lk)("div",S,[s.isReverted?((0,a.uX)(),(0,a.Wv)(u,{key:0,class:"icon"})):((0,a.uX)(),(0,a.Wv)(c,{key:1,class:"icon"})),(0,a.eW)(" "+(0,r.v_)(s.isReverted?e.$t("pages.transactionDetails.revert"):e.$t("pages.transactionDetails.failed")),1)])]),s.isReverted?((0,a.uX)(),(0,a.CE)("div",T,(0,r.v_)(e.$t("pages.transactionDetails.revertInfo")),1)):(0,a.Q3)("",!0)])}var I=n(36100),_=n(29592);const W={components:{Revert:I.A,Failed:_.A},props:{returnType:{type:String,default:""}},computed:{isReverted:function(){return"revert"===this.returnType}}};var F=n(66262);const D=(0,F.A)(W,[["render",E],["__scopeId","data-v-e674478a"]]),B=D;var P=n(87053);const M=(0,a.pM)({components:{PayloadDetails:C.A,TransactionErrorStatus:B,TransactionOverview:A.A,TokenAmount:k.A,DetailsItem:y.A,LinkButton:b.A,CopyText:w.A,AnimatedPending:P.A},props:{transaction:{type:Object,default:null},amount:{type:Number,default:0},amountTotal:{type:Number,default:0},fee:{type:Number,default:0},payload:{type:String,default:""},hash:{type:String,required:!0},nonAeAssets:{type:Array,default:null},protocol:{type:String,required:!0},isErrorTransaction:Boolean,showHeader:Boolean,hideAmountTotal:Boolean,hideFiat:Boolean},setup:function(e){var t=m.C.getAdapter(e.protocol),n=t.coinSymbol,r=(0,g.Y7)(),o=r.getTxAssetSymbol,i=(0,a.EW)((function(){var n;return t.getExplorer().prepareUrlForHash((null===(n=null===e||void 0===e?void 0:e.transaction)||void 0===n?void 0:n.hash)||"")})),s=(0,a.EW)((function(){var t,n;return null===(n=null===(t=e.transaction)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.contractId})),u=(0,a.EW)((function(){return o(e.transaction)}));return{formatDate:f.Yq,formatTime:f.fU,splitAddress:f.lS,isContract:h.bK,assetSymbol:u,coinSymbol:n,contractId:s,explorerUrl:i}}}),O=(0,F.A)(M,[["render",v],["__scopeId","data-v-173f98fe"]]),R=O},18665:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(20641),r={class:"token-info"};function o(e,t,n,o,i,s){var u=(0,a.g2)("TokenAmount"),c=(0,a.g2)("Tokens"),l=(0,a.g2)("AddressTruncated"),d=(0,a.g2)("DetailsItem");return(0,a.uX)(),(0,a.Wv)(d,{label:e.label,class:"pool-token-row"},{value:(0,a.k6)((function(){return[(0,a.Lk)("div",null,[e.hideAmount?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(u,{key:0,amount:e.amount,protocol:e.PROTOCOLS.aeternity,"hide-fiat":"","hide-symbol":""},null,8,["amount","protocol"])),(0,a.Lk)("div",r,[e.token?((0,a.uX)(),(0,a.Wv)(c,{key:0,tokens:e.assetsMapped},null,8,["tokens"])):(0,a.Q3)("",!0),!e.token.contractId||e.token.isWrappedCoin||e.isAssetCoin(e.token.contractId)?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(l,{key:1,"show-explorer-link":"",address:e.token.contractId,protocol:e.PROTOCOLS.aeternity},null,8,["address","protocol"]))])])]})),_:1},8,["label"])}n(62062);var i=n(31189),s=n(65563),u=n(74494),c=n(39953),l=n(70694),d=n(28192);const p=(0,a.pM)({components:{AddressTruncated:d.A,TokenAmount:c.A,DetailsItem:u.A,Tokens:l.A},props:{label:{type:String,default:""},token:{type:Object,required:!0},tokens:{type:Array,required:!0},hideAmount:Boolean},setup:function(e){var t=(0,a.EW)((function(){return+(e.token.decimals?(0,i.Y9)(e.token.amount,-e.token.decimals):e.token.amount)})),n=(0,a.EW)((function(){return(e.token.isPool?e.tokens:[e.token]).map((function(e){return(0,i.Jk)(e)}))}));return{isAssetCoin:i.go,PROTOCOLS:s.yv,amount:t,assetsMapped:n}}});var v=n(66262);const f=(0,v.A)(p,[["render",o],["__scopeId","data-v-47a7c49c"]]),m=f},8783:(e,t,n)=>{"use strict";n.d(t,{A:()=>pe});n(62010);var a=n(20641),r=function(e){return(0,a.Qi)("data-v-a033de50"),e=e(),(0,a.jt)(),e},o={class:"transaction-info"},i={class:"parties"},s={class:"mid"},u=r((function(){return(0,a.Lk)("div",{class:"line"},null,-1)})),c={key:2,class:"custom-avatar"},l={class:"details"};function d(e,t,n,r,d,p){var v=(0,a.g2)("TransactionTagList"),f=(0,a.g2)("Avatar"),m=(0,a.g2)("TriangleRight"),g=(0,a.g2)("AensIcon"),h=(0,a.g2)("SHLogo"),A=(0,a.g2)("ActionIcon"),k=(0,a.g2)("TransactionInfoDetailsParty");return(0,a.uX)(),(0,a.CE)("div",o,[(0,a.bF)(v,(0,a.v6)(e.$attrs,{transaction:e.transaction}),null,16,["transaction"]),(0,a.Lk)("div",i,[e.sender.address?((0,a.uX)(),(0,a.Wv)(f,{key:0,name:e.sender.name,address:e.sender.address,size:"lg"},null,8,["name","address"])):(0,a.Q3)("",!0),(0,a.Lk)("div",s,[(0,a.bF)(m,{class:"triangle"}),u]),e.recipient.address?((0,a.uX)(),(0,a.Wv)(f,{key:1,address:e.recipient.address,name:e.recipient.name,size:"lg"},null,8,["address","name"])):((0,a.uX)(),(0,a.CE)("div",c,[e.recipient.aens?((0,a.uX)(),(0,a.Wv)(g,{key:0,class:"icon"})):(0,a.Q3)("",!0),e.recipient.wallet?((0,a.uX)(),(0,a.Wv)(h,{key:1,class:"icon logo"})):((0,a.uX)(),(0,a.Wv)(A,{key:2,class:"icon"}))]))]),(0,a.Lk)("div",l,[(0,a.bF)(k,{"tx-party":e.sender,"data-cy":"sender"},null,8,["tx-party"]),(0,a.bF)(k,{"tx-party":e.recipient,"data-cy":"recipient","is-recipient":""},null,8,["tx-party"])])])}var p={viewBox:"0 0 15 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},v=(0,a.Lk)("path",{d:"M1.75 2.00481L13 8.5L1.75 14.9952L1.75 2.00481Z",fill:"#141414",stroke:"currentColor","stroke-width":"2"},null,-1),f=[v];function m(e,t){return(0,a.uX)(),(0,a.CE)("svg",p,f)}var g=n(66262);const h={},A=(0,g.A)(h,[["render",m]]),k=A;var y={viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},b=(0,a.Lk)("path",{d:"M24 30.036C24 30.2506 24.0691 30.4595 24.197 30.6318C24.3248 30.8042 24.5048 30.9308 24.7102 30.993C24.9156 31.0552 25.1356 31.0496 25.3376 30.9772C25.5396 30.9047 25.7129 30.7692 25.832 30.5907L33.6306 18.8933C33.731 18.7427 33.7887 18.5677 33.7974 18.3869C33.8061 18.2062 33.7656 18.0264 33.6802 17.8668C33.5948 17.7072 33.4677 17.5738 33.3125 17.4808C33.1572 17.3878 32.9796 17.3387 32.7986 17.3387H26.6653V9.96934C26.6649 9.7551 26.5956 9.54668 26.4678 9.37476C26.34 9.20284 26.1603 9.07652 25.9553 9.0144C25.7502 8.95228 25.5307 8.95764 25.3289 9.0297C25.1272 9.10177 24.9539 9.23671 24.8346 9.41467L17.036 21.112C16.9356 21.2626 16.8779 21.4376 16.8692 21.6184C16.8605 21.7992 16.901 21.9789 16.9864 22.1385C17.0718 22.2981 17.1989 22.4315 17.3541 22.5245C17.5094 22.6175 17.687 22.6667 17.868 22.6667H24.0013L24 30.036Z",fill:"currentColor"},null,-1),w=(0,a.Lk)("path",{opacity:"0.44",d:"M9.99998 30.6667C9.46955 30.6667 8.96084 30.456 8.58577 30.081C8.21069 29.7059 7.99998 29.1972 7.99998 28.6667C7.99998 28.1363 8.21069 27.6276 8.58577 27.2525C8.96084 26.8775 9.46955 26.6667 9.99998 26.6667H16.6666C17.1971 26.6667 17.7058 26.8775 18.0809 27.2525C18.4559 27.6276 18.6666 28.1363 18.6666 28.6667C18.6666 29.1972 18.4559 29.7059 18.0809 30.081C17.7058 30.456 17.1971 30.6667 16.6666 30.6667H9.99998ZM7.33331 22.6667C6.80288 22.6667 6.29417 22.456 5.9191 22.081C5.54403 21.7059 5.33331 21.1972 5.33331 20.6667C5.33331 20.1363 5.54403 19.6276 5.9191 19.2525C6.29417 18.8775 6.80288 18.6667 7.33331 18.6667H12.6666C13.1971 18.6667 13.7058 18.8775 14.0809 19.2525C14.4559 19.6276 14.6666 20.1363 14.6666 20.6667C14.6666 21.1972 14.4559 21.7059 14.0809 22.081C13.7058 22.456 13.1971 22.6667 12.6666 22.6667H7.33331ZM9.99998 14.6667C9.46955 14.6667 8.96084 14.456 8.58577 14.081C8.21069 13.7059 7.99998 13.1972 7.99998 12.6667C7.99998 12.1363 8.21069 11.6276 8.58577 11.2525C8.96084 10.8775 9.46955 10.6667 9.99998 10.6667H16.6666C17.1971 10.6667 17.7058 10.8775 18.0809 11.2525C18.4559 11.6276 18.6666 12.1363 18.6666 12.6667C18.6666 13.1972 18.4559 13.7059 18.0809 14.081C17.7058 14.456 17.1971 14.6667 16.6666 14.6667H9.99998Z",fill:"currentColor"},null,-1),C=[b,w];function x(e,t){return(0,a.uX)(),(0,a.CE)("svg",y,C)}const L={},S=(0,g.A)(L,[["render",x]]),T=S;var E={viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon"},I=(0,a.Lk)("path",{d:"M25 33.3253H9.00001C8.64667 33.3253 8.30667 33.1853 8.05734 32.9347C7.80667 32.6855 7.66667 32.3456 7.66667 31.9924V7.99967C7.66667 7.64645 7.80667 7.30655 8.05734 7.0573C8.30667 6.80671 8.64667 6.66675 9.00001 6.66675H25C26.0613 6.66675 27.0787 7.08795 27.828 7.83839C28.5787 8.5875 29 9.60452 29 10.6655V29.3265C29 30.3875 28.5787 31.4045 27.828 32.1536C27.0787 32.9041 26.0613 33.3253 25 33.3253ZM18.3213 19.996C17.4853 19.9294 16.6453 20.0347 15.8507 20.3039C15.056 20.5732 14.3253 21.0024 13.7027 21.5635C13.08 22.1247 12.5787 22.8072 12.228 23.5696C11.8787 24.3307 11.6867 25.1558 11.6667 25.9942C11.6947 26.1781 11.7827 26.3474 11.9187 26.4754C11.988 26.5687 12.0867 26.634 12.2 26.6606H24.436C24.5093 26.6646 24.5827 26.654 24.652 26.6273C24.7213 26.602 24.784 26.562 24.836 26.5114C24.956 26.3674 25.016 26.1821 25 25.9942C24.8013 22.294 22.2427 19.996 18.3213 19.996ZM18.3333 13.3314C17.8053 13.3314 17.2907 13.4873 16.852 13.7806C16.4133 14.0738 16.072 14.4897 15.8693 14.9775C15.668 15.4641 15.6147 15.9999 15.7173 16.5171C15.82 17.0343 16.0747 17.5088 16.4467 17.882C16.82 18.2552 17.2947 18.5085 17.812 18.6111C18.3307 18.7151 18.8667 18.6618 19.3533 18.4605C19.84 18.2592 20.2573 17.9166 20.5507 17.4781C20.844 17.0396 21 16.5251 21 15.9972C21 15.2908 20.7187 14.6123 20.2187 14.1125C19.7187 13.6126 19.04 13.3314 18.3333 13.3314Z",fill:"currentColor"},null,-1),_=(0,a.Lk)("path",{opacity:"0.44",d:"M31.3211 7.83875C30.6727 7.08808 29.794 6.66675 28.8785 6.66675L25.6978 6.66941L26.5753 6.91208C27.0555 7.10941 27.5 7.41475 27.8662 7.83875C28.5146 8.58941 28.8785 9.60675 28.8785 10.6667V29.3334C28.8785 30.3947 28.5146 31.4121 27.8662 32.1614C27.5 32.5854 27.0544 32.8907 26.5753 33.0881L25.6667 33.3121L28.8785 33.3334C29.7952 33.3334 30.6739 32.9121 31.3211 32.1614C31.9683 31.4107 32.3333 30.3934 32.3333 29.3334V10.6667C32.3333 9.60541 31.9694 8.58808 31.3211 7.83875Z",fill:"currentColor"},null,-1),W=[I,_];function F(e,t){return(0,a.uX)(),(0,a.CE)("svg",E,W)}const D={},B=(0,g.A)(D,[["render",F]]),P=B;var M=n(87398),O=n(59480),R=n(90033),N={key:1,class:"wallet"};function U(e,t,n,r,o,i){var s=(0,a.g2)("Truncate"),u=(0,a.g2)("LinkButton"),c=(0,a.g2)("AddressFormatted"),l=(0,a.g2)("CopyText");return(0,a.uX)(),(0,a.CE)("div",{class:(0,R.C4)(["transaction-info-details-party",{recipient:e.isRecipient}])},[e.txParty.url||!e.isRecipient?((0,a.uX)(),(0,a.Wv)(u,{key:0,to:e.txParty.url,class:"name"},{default:(0,a.k6)((function(){return[(0,a.bF)(s,{right:e.isRecipient,str:e.txParty.name||e.txParty.label||e.$t("common.fellowSuperhero")},null,8,["right","str"])]})),_:1},8,["to"])):e.txParty.wallet?((0,a.uX)(),(0,a.CE)("span",N,(0,R.v_)(e.$t("common.title")),1)):((0,a.uX)(),(0,a.CE)("span",{key:2,class:(0,R.C4)(["name",{aens:e.txParty.aens}])},(0,R.v_)(e.txParty.label||e.$t("transaction.overview.accountAddress")),3)),e.txParty.address?((0,a.uX)(),(0,a.Wv)(l,{key:3,"hide-icon":"",value:e.txParty.address},{default:(0,a.k6)((function(){return[(0,a.bF)(c,{address:e.txParty.address,"column-count":5,"align-right":e.isRecipient,class:"text-address","data-cy":"address"},null,8,["address","align-right"])]})),_:1},8,["value"])):(0,a.Q3)("",!0)],2)}var X=n(20789),V=n(39893),H=n(74295),$=n(47206);const j=(0,a.pM)({components:{AddressFormatted:H.A,CopyText:X.A,LinkButton:$.A,Truncate:V.A},props:{isRecipient:Boolean,txParty:{type:Object,required:!0}}}),K=(0,g.A)(j,[["render",U],["__scopeId","data-v-06588384"]]),q=K;function G(e,t,n,r,o,i){var s=(0,a.g2)("TransactionTag");return(0,a.uX)(),(0,a.CE)("div",{class:(0,R.C4)(["transaction-tag-list",{dense:e.dense}])},[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.labels,(function(e){return(0,a.uX)(),(0,a.Wv)(s,{key:e,"tx-type":e,class:"title-tag","data-cy":"label"},null,8,["tx-type"])})),128))],2)}n(2008),n(74423),n(44114),n(26099),n(21699);var Q=n(46992),Z=n(91087),Y=n(84754),z=n(31189),J=n(65563),ee=n(59755),te=n(58338),ne={class:"transaction-tag"};function ae(e,t,n,r,o,i){return(0,a.uX)(),(0,a.CE)("div",ne,(0,R.v_)(n.txType),1)}const re={props:{txType:{type:String,required:!0}}},oe=(0,g.A)(re,[["render",ae],["__scopeId","data-v-156e7b98"]]),ie=oe,se=(0,a.pM)({components:{TransactionTag:ie},props:{customTitle:{type:String,default:null},transaction:{type:Object,default:null},additionalTag:{type:String,default:null},dense:Boolean},setup:function(e){var t,n=(0,Q.s9)(),r=n.t,o=(0,Y.my)({transaction:e.transaction,externalAddress:null===(t=e.transaction)||void 0===t?void 0:t.transactionOwner}),i=o.direction,s=o.innerTx,u=o.innerTxTag,c=o.outerTxTag,l=o.txTypeLabel,d=o.txFunctionLabel,p=o.isDex,v=o.isDexAllowance,f=(0,Y.kz)(),m=f.tippingContractAddresses,g=(0,Y.Y7)(),h=g.getProtocolAvailableTokens,A=(0,a.EW)((function(){var t,n,a,o;if(e.customTitle)return[e.customTitle];if(!(null===(t=e.transaction)||void 0===t?void 0:t.tx)||e.transaction.pending||c.value===Z.vw.NameTransferTx)return[];var f=m.value,g=f.tippingV1,A=f.tippingV2,k=[];return e.additionalTag&&k.push(e.additionalTag),c.value===Z.vw.GaMetaTx?k.push(r("transaction.type.gaMetaTx")):c.value===Z.vw.PayingForTx&&k.push(r("transaction.type.payingForTx")),ee.VA.has(c.value)?k.push(J.um,l.value):u.value===Z.vw.GaMetaTx?k.push(r("transaction.type.contractCallTx"),r("transaction.type.multisigProposal")):u.value===Z.vw.SpendTx?k.push(r("transaction.type.spendTx"),i.value===J.NX.received?r("transaction.spendType.in"):r("transaction.spendType.out")):v.value?k.push(r("transaction.dexType.allowToken")):p.value?k.push(J.Iu,(0,te.wX)(s.value["function"])?r("transaction.dexType.pool"):r("common.swap")):e.transaction.claim||[g,A].includes(null===(n=s.value)||void 0===n?void 0:n.contractId)&&s.value["function"]===ee.vG.claim?k.push(r("pages.token-details.tip"),r("transaction.spendType.in")):(null===(a=s.value)||void 0===a?void 0:a.contractId)&&[g,A].includes(s.value.contractId)&&(0,z.mK)([ee.vG.tip,ee.vG.retip],s.value["function"])?k.push(r("pages.token-details.tip"),r("transaction.spendType.out")):c.value===Z.vw.PayingForTx&&u.value===Z.vw.GaAttachTx?k.push(r("transaction.type.createMultisigVault")):c.value===Z.vw.ContractCallTx&&h(J.yv.aeternity)[null===(o=s.value)||void 0===o?void 0:o.contractId]&&(s.value["function"]===ee.vG.transfer||e.transaction.incomplete)?k.push(r("transaction.type.spendTx"),s.value.callerId!==e.transaction.transactionOwner&&e.transaction.transactionOwner?r("transaction.spendType.in"):r("transaction.spendType.out")):e.transaction.tx["function"]?k.push(d.value,l.value):l.value!==(null===k||void 0===k?void 0:k[0])&&k.push(l.value),k.filter(z.__)}));return{labels:A}}}),ue=(0,g.A)(se,[["render",G],["__scopeId","data-v-abaedd20"]]),ce=ue,le=(0,a.pM)({name:"TransactionInfo",components:{TransactionTagList:ce,TransactionInfoDetailsParty:q,TriangleRight:k,ActionIcon:T,AensIcon:P,Avatar:O.A,SHLogo:M.A},props:{transaction:{type:Object,default:null},sender:{type:Object,required:!0},recipient:{type:Object,required:!0}}}),de=(0,g.A)(le,[["render",d],["__scopeId","data-v-a033de50"]]),pe=de},29351:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("TransactionInfo");return(0,a.uX)(),(0,a.Wv)(s,{class:"transaction-overview",title:e.preparedTransaction.title,sender:e.preparedTransaction.sender,recipient:e.preparedTransaction.recipient,"transaction-function":e.preparedTransaction["function"],transaction:e.transaction,"additional-tag":e.additionalTag},null,8,["title","sender","recipient","transaction-function","transaction","additional-tag"])}var o=n(2327),i=(n(16280),n(76918),n(62010),n(26099),n(11392),n(91087)),s=n(50953),u=n(46992),c=n(66176),l=n(65563),d=n(32118),p=n(84754),v=n(59755),f=n(41549),m=n(49012),g=n(8783),h=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const A=(0,a.pM)({components:{TransactionInfo:g.A},props:{transaction:{type:Object,required:!0},additionalTag:{type:String,default:null}},setup:function(e){var t,n=this,r=(0,u.s9)(),g=r.t,A=r.tm,k=(0,p.CP)(),y=k.getAeSdk,b=(0,m.q)(),w=b.getName,C=(0,f.ef)(),x=C.getMiddleware,L=(0,s.KR)(""),S=(0,s.KR)({}),T=d.C.getAdapter(e.transaction.protocol||l.yv.aeternity),E=T.getExplorer(),I=(0,p.my)({transaction:e.transaction,externalAddress:null===(t=e.transaction)||void 0===t?void 0:t.transactionOwner}),_=I.isDex,W=I.outerTxTag,F=I.innerTxTag,D=I.direction,B=I.getOwnershipAddress,P=I.innerTx;function M(e){return{address:e,label:g("transaction.overview.accountAddress"),url:E.prepareUrlForAccount(e)}}var O=(0,a.EW)((function(){var t,n=A("transaction.type"),a=P.value,r=a.senderId,o=a.recipientId,s=a.contractId,u=a.callerId;switch(W.value){case i.vw.SpendTx:return{sender:{address:r,name:w(r).value,url:E.prepareUrlForAccount(r),label:g("transaction.overview.accountAddress")},recipient:{address:o,name:L.value||w(o).value,url:E.prepareUrlForAccount(o),label:g("transaction.overview.accountAddress")},title:g("transaction.type.spendTx")};case i.vw.ContractCallTx:var c,d={address:s,url:E.prepareUrlForHash(s),label:_.value?g("transaction.overview.superheroDex"):g("common.smartContract")},p=d;if(e.transaction.transactionOwner&&(c=M(e.transaction.transactionOwner)),P.value["function"]===v.vG.transfer){var f=o||(null===(t=P.value.arguments)||void 0===t?void 0:t[0].value);p=M(D.value===l.NX.received?u:f)}return{sender:D.value===l.NX.sent?S.value:p,recipient:D.value===l.NX.received?null!==c&&void 0!==c?c:S.value:d,title:g("transaction.type.contractCallTx"),function:P.value["function"]};case i.vw.ContractCreateTx:return{sender:S.value,recipient:{label:g("transaction.overview.contractCreate")},title:g("transaction.type.contractCreateTx")};case i.vw.NamePreclaimTx:case i.vw.NameClaimTx:case i.vw.NameUpdateTx:return{sender:S.value,recipient:{label:g("transaction.overview.aens")},title:W.value?n[W.value]:void 0};case i.vw.PayingForTx:return{sender:{address:P.value.ownerId,name:w(P.value.ownerId).value,url:E.prepareUrlForAccount(P.value.ownerId),label:g("multisig.multisigVault")},recipient:{label:g("common.smartContract"),address:P.value.contractId}};case i.vw.GaMetaTx:if(F.value===i.vw.SpendTx)return{sender:{address:r,name:w(r).value,url:E.prepareUrlForAccount(r),label:g("transaction.overview.accountAddress")},recipient:{address:o,name:L.value||w(o).value,url:E.prepareUrlForAccount(o),label:g("transaction.overview.accountAddress")},title:g("transaction.type.spendTx")};default:throw new Error("Unsupported transaction type ".concat(W.value))}}));function R(){var e;return h(this,void 0,void 0,(0,o.A)().mark((function t(){var n,a,r,i,s,u;return(0,o.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=P.value.callData||P.value.call_data,P.value.contractId&&n){t.next=3;break}return t.abrupt("return",void 0);case 3:return t.next=5,y();case 5:return a=t.sent,t.next=8,a.getContractByteCode(P.value.contractId);case 8:if(r=t.sent,i=r.bytecode,s=new c.BytecodeContractCallEncoder(i),u=s.decodeCall(n),u){t.next=14;break}return t.abrupt("return",void 0);case 14:return t.abrupt("return",null===(e=u.args)||void 0===e?void 0:e[0]);case 15:case"end":return t.stop()}}),t)})))}return(0,a.sV)((function(){return h(n,void 0,void 0,(0,o.A)().mark((function e(){var t,n,a,r;return(0,o.A)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,x();case 2:if(n=e.sent,!(null===(t=P.value.recipientId)||void 0===t?void 0:t.startsWith("nm_"))){e.next=7;break}return e.next=6,n.getName(P.value.recipientId);case 6:L.value=e.sent.name;case 7:if(P.value["function"]!==v.vG.claim){e.next=11;break}return e.next=10,R();case 10:a=e.sent;case 11:r=B(a),S.value={address:r,name:w(r).value,label:g("transaction.overview.accountAddress"),url:E.prepareUrlForAccount(r)};case 13:case"end":return e.stop()}}),e)})))})),{preparedTransaction:O}}});var k=n(66262);const y=(0,k.A)(A,[["render",r]]),b=y},40477:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("InputAmount"),c=(0,a.g2)("Field");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["transfer-send-amount",{"without-margin":e.withoutMargin}])},[(0,a.bF)(c,{ref:"amountField",name:"amount","model-value":e.modelValue,"validate-on-mount":!!e.modelValue,rules:Object.assign({required:!0,min_value_exclusive:0,does_not_exceed_decimals:e.assetDecimals},e.validationRules)},{default:(0,a.k6)((function(n){var r=n.field;return[(0,a.bF)(u,(0,a.v6)(r,{"model-value":e.modelValue,name:"amount","data-cy":"amount",class:"amount-input","show-tokens-with-balance":"",label:e.customLabel||e.$t("common.amount"),message:e.amountMessage,protocol:e.protocol,readonly:e.readonly,"selected-asset":e.selectedAsset,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.$emit("update:modelValue",t)}),onAssetSelected:t[1]||(t[1]=function(t){return e.$emit("asset-selected",t)})}),{"label-after":(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"label-after",{},void 0,!0)]})),_:2},1040,["model-value","label","message","protocol","readonly","selected-asset"])]})),_:3},8,["model-value","validate-on-mount","rules"])],2)}var i=n(15261),s=n(31189),u=n(32118),c=n(99366);const l=(0,a.pM)({components:{InputAmount:c.A,Field:i.D0},props:{modelValue:{type:String,default:""},validationRules:{type:Object,default:function(){}},selectedAsset:{type:Object,default:function(){}},errors:{type:Object,required:!0},customLabel:{type:String,default:""},readonly:Boolean,withoutMargin:Boolean,protocol:{type:String,required:!0}},emits:["update:modelValue","asset-selected"],setup:function(e){var t=(0,a.EW)((function(){return(0,s.sY)(e.errors.amount)})),n=(0,a.EW)((function(){var t,n;return null!==(n=null===(t=e.selectedAsset)||void 0===t?void 0:t.decimals)&&void 0!==n?n:u.C.getAdapter(e.protocol).coinPrecision}));return{assetDecimals:n,amountMessage:t}}});var d=n(66262);const p=(0,d.A)(l,[["render",o],["__scopeId","data-v-cdda66bc"]]),v=p},39893:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});n(94298);var a=n(20641),r=n(90033),o=["textContent"];function i(e,t,n,i,s,u){return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["truncate",{right:e.right}])},[(0,a.Lk)("span",{ref:"container",class:(0,r.C4)(["container",{fixed:e.fixed,scrollable:e.shouldScroll}]),style:(0,r.Tr)({"--animationTranslate":e.animationTranslate,"--animationDuration":e.animationDuration})},[(0,a.Lk)("span",{ref:"scroll",class:"inner"},(0,r.v_)(e.nameComponent),513)],6),e.nameComponent!==e.str?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"domain",textContent:(0,r.v_)(e.AE_AENS_DOMAIN)},null,8,o)):(0,a.Q3)("",!0)],2)}var s=n(2327),u=(n(25440),n(26099),n(27495),n(99449),n(76031),n(50953)),c=n(59755),l=n(63366),d=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const p=(0,a.pM)({props:{str:{type:String,required:!0},fixed:Boolean,right:Boolean},setup:function(e){var t,n=this,r=(0,u.KR)(),o=(0,u.KR)(),i=(0,u.KR)(!1),p=(0,u.KR)(),v=(0,u.KR)(),f=(0,a.EW)((function(){var t;return(null===(t=e.str)||void 0===t?void 0:t.endsWith(c.CT))?e.str.replace(c.CT,""):e.str})),m=function(){return d(n,void 0,void 0,(0,s.A)().mark((function t(){var n,u,c,l,d;return(0,s.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i.value=!1,t.next=3,(0,a.dY)();case 3:!e.fixed&&o.value&&(null===(n=r.value)||void 0===n?void 0:n.clientWidth)&&(u=r.value.clientWidth,c=o.value.clientWidth,l=c-u,d=2,c>u&&(p.value="-".concat(l+d,"px"),v.value="".concat(200*(l+d),"ms"),i.value=!0));case 4:case"end":return t.stop()}}),t)})))};function g(){t=new ResizeObserver((0,l.A)((function(){m()}),100)),t.observe(r.value)}return(0,a.wB)(f,m),(0,a.sV)((function(){g(),setTimeout((function(){m()}),500)})),(0,a.xo)((function(){r.value&&t&&t.disconnect()})),{AE_AENS_DOMAIN:c.CT,container:r,scroll:o,shouldScroll:i,nameComponent:f,animationTranslate:p,animationDuration:v}}});var v=n(66262);const f=(0,v.A)(p,[["render",i],["__scopeId","data-v-72e5b080"]]),m=f},5335:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var a=n(20641),r=n(90033),o={class:"title"};function i(e,t,n,i,s,u){var c=(0,a.g2)("QuestionCircleIcon"),l=(0,a.g2)("BtnPlain"),d=(0,a.g2)("Default");return e.statusData?((0,a.uX)(),(0,a.CE)("div",{key:0,class:(0,r.C4)(["url-status",e.status])},[(0,a.Lk)("span",o,(0,r.v_)(e.statusData.title),1),(0,a.bF)(l,{class:(0,r.C4)(["icon-link",e.status]),onClick:t[0]||(t[0]=function(t){return e.showModal()})},{default:(0,a.k6)((function(){return[(0,a.bF)(c,{class:"icon"})]})),_:1},8,["class"])],2)):((0,a.uX)(),(0,a.Wv)(d,{key:1}))}n(16280),n(76918),n(74423);var s=n(46992),u=n(65563),c=n(84754),l={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",class:"icon"},d=(0,a.Lk)("path",{id:"Path_443","data-name":"Path 443",d:"M55,46a9,9,0,1,0,9,9A9.01,9.01,0,0,0,55,46Zm7.3,12.6H59.487a15.842,15.842,0,0,0,.395-3.171h3.25A8.085,8.085,0,0,1,62.3,58.6ZM46.868,55.429H50.12a15.774,15.774,0,0,0,.393,3.171H47.7A8.083,8.083,0,0,1,46.868,55.429Zm.669-3.686h2.9a15.975,15.975,0,0,0-.318,2.829H46.868A8.083,8.083,0,0,1,47.538,51.743Zm7.891-.857v-3.98a3.882,3.882,0,0,1,2.343,2.232,9.9,9.9,0,0,1,.695,1.749Zm3.258.857a15,15,0,0,1,.336,2.829H55.429V51.743Zm-4.115-4.837v3.98H51.534a9.9,9.9,0,0,1,.695-1.749A3.884,3.884,0,0,1,54.571,46.905Zm0,4.837v2.829H50.977a14.994,14.994,0,0,1,.336-2.829Zm-3.594,3.686h3.594V58.6H51.394A14.764,14.764,0,0,1,50.977,55.429Zm3.594,4.029v3.638a3.882,3.882,0,0,1-2.343-2.232,9.589,9.589,0,0,1-.587-1.406Zm.857,3.637V59.457h2.93a9.594,9.594,0,0,1-.587,1.406A3.884,3.884,0,0,1,55.429,63.095Zm0-4.495V55.429h3.594a14.765,14.765,0,0,1-.416,3.171Zm4.453-4.029a16.031,16.031,0,0,0-.319-2.829h2.9a8.083,8.083,0,0,1,.669,2.829Zm2.143-3.686H59.357a9.031,9.031,0,0,0-1.837-3.629A8.183,8.183,0,0,1,62.024,50.886Zm-9.544-3.629a9.036,9.036,0,0,0-1.837,3.629H47.976a8.183,8.183,0,0,1,4.505-3.629Zm-4.292,12.2h2.554a8.726,8.726,0,0,0,1.738,3.286A8.181,8.181,0,0,1,48.189,59.457Zm9.331,3.286a8.724,8.724,0,0,0,1.738-3.286h2.554A8.181,8.181,0,0,1,57.519,62.743Z",transform:"translate(-46 -46)",fill:"#bcbcc4"},null,-1),p=[d];function v(e,t){return(0,a.uX)(),(0,a.CE)("svg",l,p)}var f=n(66262);const m={},g=(0,f.A)(m,[["render",v]]),h=g;var A=n(1100),k=n(24528);const y=(0,a.pM)({components:{Default:h,QuestionCircleIcon:A.A,BtnPlain:k.A},props:{status:{type:String,required:!0,validator:function(e){return["verified","blacklisted","not-secure","not-verified","default"].includes(e)}}},setup:function(e){var t=(0,s.s9)(),n=t.t,r=(0,c.U8)(),o=r.openModal,i=(0,a.EW)((function(){switch(e.status){case"verified":return{icon:"success",title:n("modals.verified.title"),msg:n("modals.verified.msg")};case"blacklisted":return{icon:"alert",title:n("modals.blacklisted.title"),msg:n("modals.blacklisted.msg")};case"not-secure":return{icon:"not-secure",title:n("modals.not-secure.title"),msg:n("modals.not-secure.msg")};case"not-verified":return{icon:"warning",title:n("modals.not-verified.title"),msg:n("modals.not-verified.msg")};case"default":return null;default:throw new Error("Unknown url status: ".concat(e.status))}}));function l(){var e,t,n;o(u.rM,{title:null===(e=i.value)||void 0===e?void 0:e.title,msg:null===(t=i.value)||void 0===t?void 0:t.msg,icon:null===(n=i.value)||void 0===n?void 0:n.icon})}return{statusData:i,showModal:l}}}),b=(0,f.A)(y,[["render",i],["__scopeId","data-v-7e3c0162"]]),w=b},34264:(e,t,n)=>{"use strict";n.d(t,{Mp:()=>c,Ay:()=>v});var a=n(20641);function r(e,t,n,r,o,i){return(0,a.uX)(),(0,a.Wv)((0,a.$y)(e.component),(0,a.v6)(e.$attrs,{to:e.to,href:e.href,target:e.href?"_blank":null,"aria-disabled":e.disabled?"true":null,style:e.bgColorStyle,type:e.submit?"submit":null,class:[["variant-".concat(e.variant),{disabled:e.disabled,hollow:e.hollow,outlined:e.outlined,selected:e.selected}],"btn-base"],onClick:e.onClick}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},void 0,!0)]})),_:3},16,["to","href","target","aria-disabled","style","type","class","onClick"])}var o=n(2327),i=(n(74423),n(26099),n(65563)),s=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))},u=["primary","secondary","muted","danger","purple","dark"],c={to:{type:Object,default:null},href:{type:String,default:null},variant:{type:String,validator:function(e){return u.includes(e)},default:u[0]},bgColor:{type:String,default:null},submit:Boolean,disabled:Boolean,hollow:Boolean,outlined:Boolean,selected:Boolean};const l=(0,a.pM)({props:c,setup:function(e){var t=(0,a.EW)((function(){switch(!0){case!!e.to:return"RouterLink";case!!e.href:return"a";default:return"button"}}));function n(t){return s(this,void 0,void 0,(0,o.A)().mark((function n(){return(0,o.A)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:i.I$&&e.href&&(t.preventDefault(),window.open(e.href,"_system"));case 1:case"end":return n.stop()}}),n)})))}var r=(0,a.EW)((function(){return e.bgColor?{"--bg-color":e.bgColor}:null}));return{IS_MOBILE_APP:i.I$,onClick:n,component:t,bgColorStyle:r}}});var d=n(66262);const p=(0,d.A)(l,[["render",r],["__scopeId","data-v-5a60e3f7"]]),v=p},28645:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(20641),r=n(90033),o=["textContent"],i=["textContent"];function s(e,t,n,s,u,c){var l=(0,a.g2)("IconWrapper"),d=(0,a.g2)("BtnBase");return(0,a.uX)(),(0,a.Wv)(d,(0,a.v6)(e.$attrs,{class:["btn-box",{disabled:n.disabled,"is-big":n.isBig}],variant:"dark",disabled:n.disabled}),{default:(0,a.k6)((function(){return[n.icon?((0,a.uX)(),(0,a.Wv)(l,{key:0,class:"icon",icon:n.icon,"is-boxed":n.isBig},null,8,["icon","is-boxed"])):(0,a.Q3)("",!0),n.text?((0,a.uX)(),(0,a.CE)("span",{key:1,class:"text",textContent:(0,r.v_)(n.text)},null,8,o)):(0,a.Q3)("",!0),n.isBig&&n.subtitle?((0,a.uX)(),(0,a.CE)("span",{key:2,class:"subtitle",textContent:(0,r.v_)(n.subtitle)},null,8,i)):(0,a.Q3)("",!0)]})),_:1},16,["disabled","class"])}var u=n(58411),c=n(34264);const l={components:{BtnBase:c.Ay,IconWrapper:u.Ay},props:{text:{type:String,default:null},subtitle:{type:String,default:null},icon:{type:Object,default:null},disabled:Boolean,isBig:Boolean}};var d=n(66262);const p=(0,d.A)(l,[["render",s],["__scopeId","data-v-aded6086"]]),v=p},86295:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnIcon");return(0,a.uX)(),(0,a.Wv)(s,(0,a.v6)({class:"btn-close"},e.$attrs,{icon:r.CloseIcon}),null,16,["icon"])}var o=n(33100),i=n(5684);const s={name:"BtnClose",components:{BtnIcon:o.A},setup:function(){return{CloseIcon:i.A}}};var u=n(66262);const c=(0,u.A)(s,[["render",r]]),l=c},31157:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});n(89195);var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("QuestionCircle"),c=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(c,{class:(0,r.C4)(["btn-help",{small:e.small}]),onClick:e.showHelpModal},{default:(0,a.k6)((function(){return[(0,a.bF)(u,{class:"icon"})]})),_:1},8,["class","onClick"])}var i=n(84754),s=n(65563),u=n(24528),c=n(1100);const l=(0,a.pM)({components:{BtnPlain:u.A,QuestionCircle:c.A},props:{title:{type:String,default:""},msg:{type:String,default:""},icon:{type:String,default:""},option:{type:Object,default:null},small:Boolean},setup:function(e,t){var n=t.emit,a=(0,i.U8)(),r=a.openModal;function o(){n("help"),(e.title.length||e.msg.length)&&r(s.c9,{icon:e.icon||"info",title:e.title,msg:e.msg,option:e.option,textCenter:!0})}return{showHelpModal:o}}});var d=n(66262);const p=(0,d.A)(l,[["render",o],["__scopeId","data-v-2658afd8"]]),v=p},33100:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("Badge"),u=(0,a.g2)("BtnBase");return(0,a.uX)(),(0,a.Wv)(u,(0,a.v6)(e.$attrs,{class:["btn-icon",["size-".concat(n.size),"icon-variant-".concat(n.iconVariant),{dimmed:n.dimmed}]],variant:"muted",hollow:""}),{default:(0,a.k6)((function(){return[(0,a.bF)(s,{class:"badge",text:n.badgeText},{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},(function(){return[n.icon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(n.icon),{key:0,class:"icon"})):(0,a.Q3)("",!0)]}))]})),_:3},8,["text"])]})),_:3},16,["class"])}n(74423),n(2892);var o=n(90033),i={class:"badge"},s=["textContent"];function u(e,t,n,r,u,c){return(0,a.uX)(),(0,a.CE)("span",i,[(0,a.RG)(e.$slots,"default",{},void 0,!0),null!==e.text?((0,a.uX)(),(0,a.CE)("span",{key:0,class:"badge-inner","data-cy":"badge-text",textContent:(0,o.v_)(e.text)},null,8,s)):(0,a.Q3)("",!0)])}const c=(0,a.pM)({props:{text:{type:[Number,String],default:null}}});var l=n(66262);const d=(0,l.A)(c,[["render",u],["__scopeId","data-v-f4a4a6c2"]]),p=d;var v=n(34264),f=["sm","rg"],m=["default","light","dimmed","danger"];const g={components:{BtnBase:v.Ay,Badge:p},props:{icon:{type:Object,default:null},iconVariant:{type:String,default:"default",validator:function(e){return m.includes(e)}},size:{type:String,default:"rg",validator:function(e){return f.includes(e)}},badgeText:{type:[String,Number],default:null},dimmed:Boolean}},h=(0,l.A)(g,[["render",r]]),A=h},24574:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("BtnBase");return(0,a.uX)(),(0,a.Wv)(u,(0,a.v6)(e.$attrs,{class:["btn-main",[{extend:e.extend,third:e.third,inline:e.inline,nowrap:e.nowrap,wide:e.wide,"extra-padded":e.extraPadded,"has-icon":!!e.icon}]]}),{default:(0,a.k6)((function(){return[e.icon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.icon),{key:0,class:(0,r.C4)(["btn-main-icon",{lg:e.bigIcon}])},null,8,["class"])):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.text),1)]}),!0)]})),_:3},16,["class"])}var i=n(34264);const s=(0,a.pM)({components:{BtnBase:i.Ay},props:{text:{type:String,default:""},icon:{type:Object,default:null},extend:Boolean,third:Boolean,inline:Boolean,nowrap:Boolean,wide:Boolean,extraPadded:Boolean,bigIcon:Boolean}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-5f957749"]]),l=c},15320:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("BtnBase");return(0,a.uX)(),(0,a.Wv)(u,(0,a.v6)(e.$attrs,{class:["btn-pill",{dense:e.dense,static:e["static"],avatar:e.avatar}]}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.text),1)]}),!0)]})),_:3},16,["class"])}var i=n(34264);const s=(0,a.pM)({components:{BtnBase:i.Ay},props:{text:{type:String,default:null},avatar:Boolean,dense:Boolean,static:Boolean}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-67d90d96"]]),l=c},24528:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){return(0,a.uX)(),(0,a.Wv)((0,a.$y)(n.to?"RouterLink":"button"),(0,a.v6)(e.$attrs,{class:["button-plain",{extend:n.extend,avatar:n.avatar}],to:n.to}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(n.text),1)]}),!0)]})),_:3},16,["class","to"])}const i={props:{extend:Boolean,text:{type:String,default:null},to:{type:[Object,String],default:null},avatar:Boolean}};var s=n(66262);const u=(0,s.A)(i,[["render",o],["__scopeId","data-v-ea8fa866"]]),c=u},14552:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(20641),r=n(90033);function o(e,t,n,o,i,s){var u=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(u,{class:(0,r.C4)(["btn-text",{"has-icon":!!e.icon}]),disabled:e.disabled},{default:(0,a.k6)((function(){return[e.icon?((0,a.uX)(),(0,a.Wv)((0,a.$y)(e.icon),{key:0,class:"btn-text-icon"})):(0,a.Q3)("",!0),(0,a.RG)(e.$slots,"default",{},(function(){return[(0,a.eW)((0,r.v_)(e.text),1)]}),!0)]})),_:3},8,["class","disabled"])}var i=n(24528);const s=(0,a.pM)({name:"BtnText",components:{BtnPlain:i.A},props:{text:{type:String,default:""},icon:{type:Object,default:null},disabled:Boolean}});var u=n(66262);const c=(0,u.A)(s,[["render",o],["__scopeId","data-v-656ac1bf"]]),l=c},19442:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(20641),r=n(90033),o={class:"input-field-text-wrapper"};function i(e,t,n,i,s,u){var c=(0,a.g2)("ChevronDownIcon"),l=(0,a.g2)("BtnPlain"),d=(0,a.g2)("InputField");return e.unstyled?((0,a.uX)(),(0,a.Wv)(l,(0,a.v6)({key:0,class:"form-select unstyled"},e.$attrs,{onClick:e.openOptionsModal}),{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"current-text",{text:e.currentText},(function(){return[(0,a.eW)((0,r.v_)(e.currentText),1)]}),!0),e.hideArrow?(0,a.Q3)("",!0):((0,a.uX)(),(0,a.Wv)(c,{key:0,class:"arrow-icon"}))]})),_:3},16,["onClick"])):((0,a.uX)(),(0,a.Wv)(d,(0,a.v6)({key:1},e.$attrs,{class:"form-select",onClick:e.openOptionsModal}),{after:(0,a.k6)((function(){return[(0,a.bF)(c,{class:"arrow-icon"})]})),default:(0,a.k6)((function(){return[(0,a.Lk)("div",o,(0,r.v_)(e.currentText),1)]})),_:1},16,["onClick"]))}n(50113),n(2892),n(26099);var s=n(65563),u=n(84754),c=n(24528),l=n(19389),d=n(19298);const p=(0,a.pM)({name:"FormSelect",components:{BtnPlain:c.A,ChevronDownIcon:d.A,InputField:l.A},model:{event:"select"},props:{modelValue:{type:[String,Number],default:null},options:{type:Array,default:function(){return[]}},itemTitle:{type:String,default:"text"},defaultText:{type:String,required:!0},accountSelect:Boolean,persistentDefaultText:Boolean,unstyled:Boolean,hideArrow:Boolean},emits:["select","update:modelValue"],setup:function(e,t){var n=t.emit,r=(0,u.U8)(),o=r.openModal,i=(0,a.EW)((function(){var t;return e.persistentDefaultText||!e.modelValue?e.defaultText:null===(t=e.options.find((function(t){var n=t.value;return n===e.modelValue})))||void 0===t?void 0:t[e.itemTitle]}));function c(){o(e.accountSelect?s.E0:s._B,{value:e.modelValue,options:e.options,title:e.defaultText}).then((function(e){n("select",e),n("update:modelValue",e)}))["catch"]((function(){return null}))}return{currentText:i,openOptionsModal:c}}});var v=n(66262);const f=(0,v.A)(p,[["render",i],["__scopeId","data-v-3ac87742"]]),m=f},75417:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(20641),r=n(90033),o=n(53751),i=["id","placeholder","value","disabled"];function s(e,t,n,s,u,c){var l=(0,a.g2)("InputField");return(0,a.uX)(),(0,a.Wv)(l,(0,a.v6)(e.$attrs,{class:["textarea",[e.size,{"auto-height":e.autoHeight}]],readonly:e.readonly,"onUpdate:modelValue":e.handleInput}),(0,a.eX)({default:(0,a.k6)((function(n){var s=n.inputId;return[(0,a.Lk)("textarea",{id:s,ref:"textarea","data-cy":"textarea",class:(0,r.C4)(["textarea-input styled-scrollbar",{resizable:e.resizable&&!e.autoHeight}]),style:(0,r.Tr)({height:e.height}),placeholder:e.placeholder,value:e.modelValue,rows:1,disabled:e.readonly,onKeydown:t[0]||(t[0]=(0,o.jR)((0,o.D$)((function(){return e.handleEnterClick&&e.handleEnterClick.apply(e,arguments)}),["prevent"]),["enter"])),onInput:t[1]||(t[1]=function(t){return e.handleInput(t)}),onBlur:t[2]||(t[2]=function(t){return e.handleInput(t)})},null,46,i)]})),_:2},[(0,a.pI)(e.$slots,(function(t,n){return{name:n,fn:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,n,{},void 0,!0)]}))}}))]),1040,["class","readonly","onUpdate:modelValue"])}n(74423);var u=n(50953),c=n(19389),l=["xs","sm","rg","md"];const d=(0,a.pM)({components:{InputField:c.A},props:{type:{type:String,default:""},modelValue:{type:String,default:""},placeholder:{type:String,default:""},enterSubmit:Boolean,resizable:{type:Boolean,default:!0},size:{type:String,default:null,validator:function(e){return l.includes(e)}},autoHeight:Boolean,readonly:Boolean},emits:["update:modelValue","submit"],setup:function(e,t){var n=t.emit,r=(0,u.KR)(),o=(0,u.KR)();function i(e){var t=e.target.value;n("update:modelValue",t)}function s(){e.enterSubmit&&n("submit")}return(0,a.sV)((function(){(0,a.wB)((function(){return e.modelValue}),(function(){e.autoHeight&&r.value&&(o.value="auto",(0,a.dY)((function(){var e=r.value,t=e.scrollHeight,n=e.clientHeight,a=n>t?n:t;o.value="".concat(a,"px")})))}),{immediate:!0})})),{textarea:r,height:o,handleInput:i,handleEnterClick:s}}});var p=n(66262);const v=(0,p.A)(d,[["render",s],["__scopeId","data-v-2d4905c2"]]),f=v},56633:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(20641);function r(e,t,n,r,o,i){var s=(0,a.g2)("BtnPlain");return(0,a.uX)(),(0,a.Wv)(s,(0,a.v6)(e.$attrs,{class:["tab",[e.active,e.exactPath?"exact":"not-exact"]],text:e.text}),null,16,["class","text"])}var o=n(24528);const i=(0,a.pM)({components:{BtnPlain:o.A},props:{text:{type:String,required:!0},active:Boolean,exactPath:Boolean}});var s=n(66262);const u=(0,s.A)(i,[["render",r],["__scopeId","data-v-6286b0cb"]]),c=u},90640:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(20641),r={class:"tabs"};function o(e,t){return(0,a.uX)(),(0,a.CE)("div",r,[(0,a.RG)(e.$slots,"default",{},void 0,!0)])}var i=n(66262);const s={},u=(0,i.A)(s,[["render",o],["__scopeId","data-v-b4464f30"]]),c=u},55437:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>se});var a=n(20641),r=n(90033),o={class:"transaction-details"},i={class:"row payer-id"},s={class:"text-address"},u={class:"row"},c={class:"text-address"};function l(e,t,n,l,d,p){var v=(0,a.g2)("TransactionAssetRows"),f=(0,a.g2)("SwapRates"),m=(0,a.g2)("SwapRoute"),g=(0,a.g2)("TransactionDetailsPoolTokens"),h=(0,a.g2)("Truncate"),A=(0,a.g2)("LinkButton"),k=(0,a.g2)("CopyText"),y=(0,a.g2)("DetailsItem"),b=(0,a.g2)("Avatar"),w=(0,a.g2)("DialogBox"),C=(0,a.g2)("TokenAmount"),x=(0,a.g2)("TransactionDetailsBase"),L=(0,a.g2)("IonContent"),S=(0,a.g2)("IonPage");return(0,a.uX)(),(0,a.Wv)(S,null,{default:(0,a.k6)((function(){return[(0,a.bF)(L,{class:"ion-padding ion-content-bg"},{default:(0,a.k6)((function(){return[(0,a.Lk)("div",o,[e.transaction&&!e.transaction.incomplete?((0,a.uX)(),(0,a.Wv)(x,{key:0,transaction:e.transaction,amount:e.amount,"amount-total":e.amountTotal,fee:e.transactionFee,"is-error-transaction":e.isErrorTransaction,payload:e.getTransactionPayload(e.transaction),"show-header":!e.isDexAllowance,"hide-amount-total":e.isDex||e.isDexAllowance||e.isMultisig||e.isTransactionAex9(e.transaction),"hide-fiat":e.isTransactionAex9(e.transaction),hash:e.hash,protocol:e.PROTOCOLS.aeternity},(0,a.eX)({tokens:(0,a.k6)((function(){return[(0,a.bF)(v,{assets:e.transactionAssets,error:e.isErrorTransaction,"is-reversed":e.isPool,protocol:e.PROTOCOLS.aeternity,"icon-size":"rg","multiple-rows":""},null,8,["assets","error","is-reversed","protocol"])]})),"additional-content":(0,a.k6)((function(){return[e.isPool||e.isDexAllowance?((0,a.uX)(),(0,a.Wv)(g,{key:0,transaction:e.transaction,tokens:e.transactionAssets,reversed:e.isPool},null,8,["transaction","tokens","reversed"])):(0,a.Q3)("",!0),e.tipUrl?((0,a.uX)(),(0,a.Wv)(y,{key:1,label:e.$t("pages.transactionDetails.tipUrl"),class:"tip-url","data-cy":"tip-url"},{value:(0,a.k6)((function(){return[(0,a.bF)(k,{value:e.tipUrl},{default:(0,a.k6)((function(){return[(0,a.bF)(A,{to:e.tipLink},{default:(0,a.k6)((function(){return[(0,a.bF)(h,{str:e.tipUrl,fixed:""},null,8,["str"])]})),_:1},8,["to"])]})),_:1},8,["value"])]})),_:1},8,["label"])):(0,a.Q3)("",!0)]})),"multisig-content":(0,a.k6)((function(){return[e.multisigTransactionFeePaidBy?((0,a.uX)(),(0,a.Wv)(y,{key:0,label:e.$t("pages.transactionDetails.feePaidBy"),small:""},{default:(0,a.k6)((function(){return[(0,a.Lk)("div",i,[(0,a.bF)(b,{address:e.multisigTransactionFeePaidBy,size:"sm"},null,8,["address"]),(0,a.Lk)("div",null,[e.isLocalAccountAddress(e.multisigTransactionFeePaidBy)?((0,a.uX)(),(0,a.Wv)(w,{key:0,class:"dialog-box",dense:"",position:"bottom"},{default:(0,a.k6)((function(){return[(0,a.eW)((0,r.v_)(e.$t("common.you")),1)]})),_:1})):(0,a.Q3)("",!0),(0,a.bF)(k,{"hide-icon":"",value:e.multisigTransactionFeePaidBy,"copied-text":e.$t("common.addressCopied")},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",s,(0,r.v_)(e.splitAddress(e.multisigTransactionFeePaidBy)),1)]})),_:1},8,["value","copied-text"])])])]})),_:1},8,["label"])):(0,a.Q3)("",!0),e.multisigContractId?((0,a.uX)(),(0,a.Wv)(y,{key:1,label:e.$t("pages.transactionDetails.vaultContractId"),small:""},{default:(0,a.k6)((function(){return[(0,a.Lk)("div",u,[(0,a.bF)(b,{address:e.multisigContractId,size:"sm"},null,8,["address"]),(0,a.bF)(k,{"hide-icon":"",value:e.multisigContractId,"copied-text":e.$t("common.addressCopied")},{default:(0,a.k6)((function(){return[(0,a.Lk)("span",c,(0,r.v_)(e.splitAddress(e.multisigContractId)),1)]})),_:1},8,["value","copied-text"])])]})),_:1},8,["label"])):(0,a.Q3)("",!0)]})),gas:(0,a.k6)((function(){return[e.gasPrice?((0,a.uX)(),(0,a.Wv)(y,{key:0,label:e.$t("pages.transactionDetails.gasPrice"),"data-cy":"gas-price"},{value:(0,a.k6)((function(){return[(0,a.bF)(C,{amount:+e.aettosToAe(e.gasPrice),symbol:e.AE_SYMBOL,protocol:e.PROTOCOLS.aeternity,"hide-fiat":""},null,8,["amount","symbol","protocol"])]})),_:1},8,["label"])):(0,a.Q3)("",!0),e.gasUsed?((0,a.uX)(),(0,a.Wv)(y,{key:1,value:e.gasUsed,label:e.$t("pages.transactionDetails.gasUsed"),"data-cy":"gas"},null,8,["value","label"])):(0,a.Q3)("",!0)]})),_:2},[e.isSwap?{name:"swap-data",fn:(0,a.k6)((function(){return[(0,a.bF)(f,{transaction:e.transaction},null,8,["transaction"]),(0,a.bF)(m,{transaction:e.transaction},null,8,["transaction"])]})),key:"0"}:void 0]),1032,["transaction","amount","amount-total","fee","is-error-transaction","payload","show-header","hide-amount-total","hide-fiat","hash","protocol"])):(0,a.Q3)("",!0)])]})),_:1})]})),_:1})}var d=n(2327),p=(n(28706),n(50113),n(44114),n(26099),n(27495),n(90906),n(50953)),v=n(75220),f=n(91087),m=n(62759),g=n(65563),h=n(31189),A=n(84754),k=n(90973),y=n(32118),b=n(59755),w=n(58338),C=n(41549),x=n(75518),L=n(74494),S=n(47206),T=n(39893),E=n(20789),I=function(e){return(0,a.Qi)("data-v-42b180dd"),e=e(),(0,a.jt)(),e},_=I((function(){return(0,a.Lk)("span",{class:"price"},"1",-1)}));function W(e,t,n,r,o,i){var s=(0,a.g2)("Tokens"),u=(0,a.g2)("TokenAmount"),c=(0,a.g2)("DetailsItem");return e.rates.length?((0,a.uX)(),(0,a.Wv)(c,{key:0,class:"swap-rates",label:e.$t("pages.transactionDetails.rates")},{default:(0,a.k6)((function(){return[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.rates,(function(t,n){return(0,a.uX)(),(0,a.CE)("div",{key:n,class:"rate"},[(0,a.Lk)("div",null,[_,(0,a.bF)(s,{tokens:[t.from],"no-icons":""},null,8,["tokens"])]),(0,a.Lk)("div",null,[(0,a.bF)(u,{amount:t.price,protocol:e.PROTOCOLS.aeternity,class:"price","hide-fiat":"","hide-symbol":"","high-precision":""},null,8,["amount","protocol"]),(0,a.bF)(s,{tokens:[t.to],"no-icons":""},null,8,["tokens"])])])})),128))]})),_:1},8,["label"])):(0,a.Q3)("",!0)}n(88431),n(2892);var F=n(95993),D=n(70694),B=n(39953);const P=(0,a.pM)({components:{DetailsItem:L.A,Tokens:D.A,TokenAmount:B.A},props:{transaction:{type:Object,required:!0}},setup:function(e){var t=(0,A.Y7)(),n=t.getProtocolAvailableTokens,r=(0,a.EW)((function(){return(0,w.Ng)(e.transaction.tx["function"])||(0,w.wX)(e.transaction.tx["function"])})),o=(0,a.EW)((function(){if(!r.value)return[];var t=(0,w.Ke)((0,F.A)(e.transaction.tx["function"]));if(!t)return[];var a=t(e.transaction,n(g.yv.aeternity)),o=a.tokens;if((null===o||void 0===o?void 0:o.length)<=1)return[];var i=o.every((function(e){return!!e.amount})),s=[Number(o[0].amount),Number(o[1].amount)];return[{from:o[0],to:o[1],price:i?s[1]/s[0]:0},{from:o[1],to:o[0],price:i?s[0]/s[1]:0}]}));return{PROTOCOLS:g.yv,isSwapTx:r,rates:o}}});var M=n(66262);const O=(0,M.A)(P,[["render",W],["__scopeId","data-v-42b180dd"]]),R=O;var N=function(e){return(0,a.Qi)("data-v-17e1d96a"),e=e(),(0,a.jt)(),e},U={class:"swap-steps"},X={key:0,class:"step-fee"},V=N((function(){return(0,a.Lk)("span",{class:"line"},null,-1)})),H=N((function(){return(0,a.Lk)("span",{class:"arrow"},null,-1)}));function $(e,t,n,o,i,s){var u=(0,a.g2)("Tokens"),c=(0,a.g2)("DetailsItem");return e.assetList.length>1?((0,a.uX)(),(0,a.Wv)(c,{key:0,class:"swap-route",label:e.$t("pages.transactionDetails.swapRoute")},{default:(0,a.k6)((function(){return[(0,a.Lk)("div",U,[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.assetList,(function(t,n){return(0,a.uX)(),(0,a.CE)("span",{key:n,class:"swap-steps-item"},[n?((0,a.uX)(),(0,a.CE)("span",X,[V,(0,a.eW)(" "+(0,r.v_)(e.getSwapStepFee(n))+"% "+(0,r.v_)(e.$t("pages.transactionDetails.poolFee"))+" ",1),H])):(0,a.Q3)("",!0),(0,a.bF)(u,{tokens:[t]},null,8,["tokens"])])})),128))])]})),_:1},8,["label"])):(0,a.Q3)("",!0)}var j=n(6682);n(48980),n(74423),n(62062),n(34782),n(13609),n(21699);const K=(0,a.pM)({components:{DetailsItem:L.A,Tokens:D.A},props:{transaction:{type:Object,required:!0}},setup:function(e){var t=y.C.getAdapter(g.yv.aeternity),n=(0,A.CP)(),r=n.nodeNetworkId,o=(0,A.Y7)(),i=o.getProtocolAvailableTokens,s=(0,a.EW)((function(){return i(g.yv.aeternity)}));function u(e){return(0,F.A)(e)}var c=(0,a.EW)((function(){var n,a=u(e.transaction.tx["function"]);if(!(0,w.Ng)(a)&&!(0,w.Ng)(e.transaction.tx["function"]))return[];var o=(0,w.Ke)(a);if(!o)return[];var i=o(e.transaction,s.value),c=i.tokens,l=e.transaction.tx.arguments.findIndex((function(e){var t=e.type;return"list"===t})),d=null===(n=b.ml[r.value])||void 0===n?void 0:n.wae,p=c.length-1;return l>=0&&e.transaction.tx.arguments[l].value.length>c.length&&(c=[c[0]].concat((0,j.A)(e.transaction.tx.arguments[l].value.slice(1,e.transaction.tx.arguments[l].value.length-1).map((function(e){return s.value[e.value]}))),[c[1]])),c[0].isWrappedCoin&&!(null===d||void 0===d?void 0:d.includes(c[1].contractId))?(c[0].isWrappedCoin=!1,c.unshift(Object.assign(Object.assign(Object.assign({},c[0]),t.getDefaultCoin({})),{isWrappedCoin:!1}))):c[p].isWrappedCoin&&!(null===d||void 0===d?void 0:d.includes(c[p-1].contractId))&&(c[p].isWrappedCoin=!1,c.push(Object.assign(Object.assign(Object.assign({},c[p]),t.getDefaultCoin({})),{isWrappedCoin:!0}))),c}));function l(e){var t,n;return!!e.contractId&&(null===(n=null===(t=b.ml[r.value])||void 0===t?void 0:t.wae)||void 0===n?void 0:n.includes(e.contractId))}function d(e){var n=c.value[e-1],a=c.value[e];return n.contractId===t.coinContractId||a.contractId===t.coinContractId?"0":l(n)||l(a)?"0.3":"<0.3"}return{assetList:c,getSwapStepFee:d}}}),q=(0,M.A)(K,[["render",$],["__scopeId","data-v-17e1d96a"]]),G=q;function Q(e,t,n,o,i,s){var u=(0,a.g2)("TransactionDetailsPoolTokenRow");return(0,a.uX)(),(0,a.CE)("div",{class:(0,r.C4)(["pool-tokens",{reversed:e.reversed}])},[((0,a.uX)(!0),(0,a.CE)(a.FK,null,(0,a.pI)(e.tokens,(function(t,n){return(0,a.uX)(),(0,a.Wv)(u,{key:n,token:t,tokens:e.tokens,"hide-amount":e.hideAmount,label:e.getLabel(t.isPool)},null,8,["token","tokens","hide-amount","label"])})),128))],2)}var Z=n(46992),Y=n(18665);const z=(0,a.pM)({components:{TransactionDetailsPoolTokenRow:Y.A},props:{transaction:{type:Object,required:!0},tokens:{type:Array,required:!0},hideAmount:Boolean,reversed:Boolean},setup:function(e){var t=(0,Z.s9)(),n=t.t;function a(t){var a=b.$y[e.transaction.tx["function"]],r=a===b.xf;return a===b.Op?n("pages.transactionDetails.approveTokenUse"):n(t?r?"pages.transactionDetails.poolTokenReceived":"pages.transactionDetails.poolTokenSpent":r?"pages.transactionDetails.deposited":"pages.transactionDetails.withdrawn")}return{aettosToAe:w.c4,getLabel:a}}}),J=(0,M.A)(z,[["render",Q],["__scopeId","data-v-6d2914ca"]]),ee=J;var te=n(79708),ne=n(59480),ae=n(3260),re=function(e,t,n,a){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{u(a.next(e))}catch(t){o(t)}}function s(e){try{u(a["throw"](e))}catch(t){o(t)}}function u(e){e.done?n(e.value):r(e.value).then(i,s)}u((a=a.apply(e,t||[])).next())}))};const oe=(0,a.pM)({components:{TokenAmount:B.A,Avatar:ne.A,DialogBox:te.h,SwapRoute:G,SwapRates:R,TransactionDetailsBase:x.A,TransactionDetailsPoolTokens:ee,TransactionAssetRows:ae.A,DetailsItem:L.A,CopyText:E.A,LinkButton:S.A,Truncate:T.A,IonContent:m.W9,IonPage:m.AO},props:{multisigDashboard:Boolean},setup:function(e){var t=this,n=(0,v.rd)(),r=(0,v.lq)(),o=(0,C.$L)(),i=o.aeActiveNetworkSettings,s=(0,A.ci)({pollOnce:!0}),u=s.activeMultisigAccountId,c=(0,A.oV)(),l=c.activeAccount,m=c.isLocalAccountAddress,x=(0,A.mv)(),L=x.setLoaderVisible,S=(0,A.Y7)(),T=S.getTxAmountTotal,E=r.params.hash,I=r.params.transactionOwner,_=(0,a.EW)((function(){return I||(e.multisigDashboard?u.value:l.value.address)})),W=(0,A._8)({accountAddress:_.value,protocol:g.yv.aeternity}),F=W.transactionsLoaded,D=(0,A.my)({externalAddress:_.value,showDetailedAllowanceInfo:!0}),B=D.setExternalAddress,P=D.setActiveTransaction,M=D.direction,O=D.isErrorTransaction,R=D.isDex,N=D.isDexAllowance,U=D.isMultisig,X=D.outerTxTag,V=D.transactionAssets,H=(0,p.KR)(),$=(0,p.KR)(),j=(0,a.EW)((function(){return H.value?T(H.value,g.NX.received):0})),K=(0,a.EW)((function(){return H.value?T(H.value,M.value):0})),q=(0,a.EW)((function(){return H.value?(0,w.fK)(H.value):""})),G=(0,a.EW)((function(){var e,t;return null===(t=null===(e=H.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t["function"]})),Q=(0,a.EW)((function(){return(0,w.Ng)(G.value)})),Z=(0,a.EW)((function(){return(0,w.wX)(G.value)})),Y=(0,a.EW)((function(){return/^http[s]*:\/\//.test(q.value)?q.value:"http://".concat(q.value)})),z=(0,a.EW)((function(){var e,t,n,a,r,o;return(null===(a=null===(n=null===(t=null===(e=H.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.tx)||void 0===a?void 0:a.gasPrice)||(null===(o=null===(r=H.value)||void 0===r?void 0:r.tx)||void 0===o?void 0:o.gasPrice)})),J=(0,a.EW)((function(){var e,t,n,a,r,o;return(null===(a=null===(n=null===(t=null===(e=H.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.tx)||void 0===n?void 0:n.tx)||void 0===a?void 0:a.gasUsed)||(null===(o=null===(r=H.value)||void 0===r?void 0:r.tx)||void 0===o?void 0:o.gasUsed)})),ee=(0,a.EW)((function(){var e,t,n;return X.value!==f.vw.PayingForTx?null:null!==(n=null===(t=null===(e=H.value)||void 0===e?void 0:e.tx)||void 0===t?void 0:t.payerId)&&void 0!==n?n:null})),te=(0,a.EW)((function(){var e,t,n,a,r,o=null!==(e=H.value)&&void 0!==e?e:{},i=o.tx,s=null!==(t=null===i||void 0===i?void 0:i.fee)&&void 0!==t?t:0,u=null!==(r=null===(a=null===(n=null===i||void 0===i?void 0:i.tx)||void 0===n?void 0:n.tx)||void 0===a?void 0:a.fee)&&void 0!==r?r:0;return+(0,w.c4)(s+u)}));return(0,a.sV)((function(){return re(t,void 0,void 0,(0,d.A)().mark((function t(){var a,r,o,s,c,p,v,m,A;return(0,d.A)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(s=F.value.find((function(e){return e.hash===E})),s&&!s.incomplete&&!s.claim){t.next=27;break}return c=y.C.getAdapter(g.yv.aeternity),t.prev=3,t.t0=Object,t.t1=Object,t.t2=Object.assign({},s||{}),t.next=9,c.fetchTransactionByHash(E,_.value);case 9:t.t3=t.sent,t.t4=t.t1.assign.call(t.t1,t.t2,t.t3),t.t5={incomplete:!1},s=t.t0.assign.call(t.t0,t.t4,t.t5),t.next=24;break;case 15:return t.prev=15,t.t6=t["catch"](3),t.next=19,null===(a=c.fetchPendingTransactions)||void 0===a?void 0:a.call(c,_.value);case 19:if(p=t.sent,s=null===p||void 0===p?void 0:p.find((function(e){return e.hash===E})),s){t.next=24;break}return n.push({name:k.hN}),t.abrupt("return");case 24:return t.prev=24,L(!1),t.finish(24);case 27:if(!(null===s||void 0===s?void 0:s.tx)){t.next=38;break}if(!e.multisigDashboard){t.next=33;break}return t.next=31,(0,h.mU)((function(){return u.value}));case 31:t.next=35;break;case 33:return t.next=35,(0,h.mU)((function(){return l.value}));case 35:H.value=Object.assign(Object.assign({},s),{transactionOwner:_.value}),B(_.value),P(H.value);case 38:if(X.value!==f.vw.GaMetaTx){t.next=51;break}return t.prev=39,t.next=42,(0,h.x6)("".concat(i.value.nodeUrl,"/v3/accounts/").concat(null===(o=null===(r=H.value)||void 0===r?void 0:r.tx)||void 0===o?void 0:o.gaId));case 42:v=t.sent,m=v.contract_id,A=void 0===m?null:m,$.value=A,t.next=51;break;case 48:t.prev=48,t.t7=t["catch"](39),(0,h.fY)(t.t7);case 51:case"end":return t.stop()}}),t,null,[[3,15,24,27],[39,48]])})))})),(0,a.wB)(H,(function(e){var t=!(e&&!e.incomplete);L(t)}),{immediate:!0,deep:!0}),{AE_SYMBOL:b.kf,PROTOCOLS:g.yv,TX_DIRECTION:g.NX,transaction:H,amount:j,amountTotal:K,isSwap:Q,isPool:Z,isErrorTransaction:O,isDexAllowance:N,isDex:R,isTransactionAex9:w.a3,getTransactionPayload:w.L5,isMultisig:U,tipUrl:q,tipLink:Y,direction:M,hash:E,splitAddress:h.lS,aettosToAe:w.c4,isLocalAccountAddress:m,gasPrice:z,gasUsed:J,multisigTransactionFeePaidBy:ee,multisigContractId:$,transactionFee:te,transactionAssets:V}}}),ie=(0,M.A)(oe,[["render",l],["__scopeId","data-v-9edab714"]]),se=ie},33541:(e,t,n)=>{var a={"./Governance.webp":77282,"./SuperheroDEX.svg":4483,"./dapp-favorite.svg":13839,"./dapp-refresh.svg":17660,"./dapp-share.svg":97952,"./graffiti.svg":32239};function r(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=o,e.exports=r,r.id=33541},77282:e=>{"use strict";e.exports="data:image/webp;base64,UklGRigDAABXRUJQVlA4WAoAAAAQAAAAVwAAVwAAQUxQSHgAAAABd2CQbeTgj2Az+Ef5iIjpxZC9Cq5q21aV9RyHAlaAAk4OJwFRGISA3xcB/9YMbifILkBE/ycACouvCS5rAFxMtAHMTDaCh86Ujgm7a6XiVWn4Voo/Sgf7G/CrtHwrxTel1lkpU1HyeOpMYKyTAPYqVQDmX4VD1wFWUDggigIAADARAJ0BKlgAWAA+kUSaSSWkIqEo+zpwsBIJQBhsVy/IClNbABuDPPs8//fAN4v+2ZtCOwDubsTWTIsW5DOH1edlN3m4okt0XnTvLg2tZeTXVoXS9CFosGJEnEvmSF4vJcE9TWG8QUvaXKIoRY5y1Jrh0tj7kiXITtl1rXlWIt7IbNsqgGVwbx3We0DCtaEJC0YAAP7jAUM//SwiXfr++dv6Dv+cB/S0dKuHOanIRzHO/mTwsIZwRLmifd+P25UFfyVef5Vj+Bmd7x9cAn8QQGS1nojoqVBcP5QAu1BagL4a5zv57fhMN2yN0V+ywbWQUp5NZk/P+0nHq+yRKNNjWpKG9KNNjW9te25Tn/k02N5bfPrfkY0PLf5yYvzCCib4UL/yxjrWu5/0I5HPAOyrr+vS5YJmITL14jI8+QLG+aneGBDe6oTgzFXiO/VTMJMovx/5PFzuYLJJumF36uDcyW95eLaNUgfiNo4aYuPRkWK9YtJoaKekic3laKdKRifelKcOXsDdvuHUK/qTyu+lLYNQl/mWcmDYhQpIXn294HYARV4dXcT43JhwIU9DDk+keWv0Kh8Mq8z/aY5dsRNY3TITXlWxTnyjKCz7dAyyaWjYNodxsVZONE74qzjbIhDwnXXWscOrd2aAdirMBVe0/VNC10SHnsLZGmDCiqWMLuC7zaeAhaZ03zR8h9ua9vAq7w/P4pqqANRv/gMr1YSLSUpQ7af6aEnUt29XoMzy3egTDLqDTi7LFBVxs4uxTGK13SIR6dEDFnDoshy7O6l1T8RF2fBZ0dE/TdQi4cFX//x6d0MJs284ctzjaZeurVhx2VRgmUutbCffZJjpzx/S3ZB2bBYyfyb+dQAA"},42634:()=>{},15340:()=>{},79838:()=>{},71281:()=>{},12717:e=>{"use strict";e.exports=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"namespace":{"name":"List","typedefs":[]}},{"namespace":{"name":"String","typedefs":[]}},{"contract":{"event":{"variant":[{"Transfer":["address","address","int"]},{"Allowance":["address","address","int"]},{"Burn":["address","int"]},{"Mint":["address","int"]},{"Swap":["address","int"]}]},"functions":[{"arguments":[],"name":"aex9_extensions","payable":false,"returns":{"list":["string"]},"stateful":false},{"arguments":[{"name":"name","type":"string"},{"name":"decimals","type":"int"},{"name":"symbol","type":"string"},{"name":"initial_owner_balance","type":{"option":["int"]}}],"name":"init","payable":false,"returns":"FungibleTokenFull.state","stateful":false},{"arguments":[],"name":"meta_info","payable":false,"returns":"FungibleTokenFull.meta_info","stateful":false},{"arguments":[],"name":"total_supply","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"owner","payable":false,"returns":"address","stateful":false},{"arguments":[],"name":"balances","payable":false,"returns":"FungibleTokenFull.balances","stateful":false},{"arguments":[{"name":"account","type":"address"}],"name":"balance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[],"name":"swapped","payable":false,"returns":{"map":["address","int"]},"stateful":false},{"arguments":[],"name":"allowances","payable":false,"returns":"FungibleTokenFull.allowances","stateful":false},{"arguments":[{"name":"allowance_accounts","type":"FungibleTokenFull.allowance_accounts"}],"name":"allowance","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"}],"name":"allowance_for_caller","payable":false,"returns":{"option":["int"]},"stateful":false},{"arguments":[{"name":"from_account","type":"address"},{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value","type":"int"}],"name":"create_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"},{"name":"value_change","type":"int"}],"name":"change_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"for_account","type":"address"}],"name":"reset_allowance","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"to_account","type":"address"},{"name":"value","type":"int"}],"name":"transfer","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"value","type":"int"}],"name":"burn","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"account","type":"address"},{"name":"value","type":"int"}],"name":"mint","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"swap","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"account","type":"address"}],"name":"check_swap","payable":false,"returns":"int","stateful":true}],"kind":"contract_main","name":"FungibleTokenFull","payable":false,"state":{"record":[{"name":"owner","type":"address"},{"name":"total_supply","type":"int"},{"name":"balances","type":"FungibleTokenFull.balances"},{"name":"meta_info","type":"FungibleTokenFull.meta_info"},{"name":"allowances","type":"FungibleTokenFull.allowances"},{"name":"swapped","type":{"map":["address","int"]}}]},"typedefs":[{"name":"meta_info","typedef":{"record":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"int"}]},"vars":[]},{"name":"allowance_accounts","typedef":{"record":[{"name":"from_account","type":"address"},{"name":"for_account","type":"address"}]},"vars":[]},{"name":"balances","typedef":{"map":["address","int"]},"vars":[]},{"name":"allowances","typedef":{"map":["FungibleTokenFull.allowance_accounts","int"]},"vars":[]}]}}]')},10854:e=>{"use strict";e.exports=JSON.parse('[{"namespace":{"name":"ListInternal","typedefs":[]}},{"namespace":{"name":"List","typedefs":[]}},{"namespace":{"name":"Option","typedefs":[]}},{"namespace":{"name":"Pair","typedefs":[]}},{"namespace":{"name":"Set","typedefs":[{"name":"set","typedef":{"record":[{"name":"to_map","type":{"map":["\'a","unit"]}}]},"vars":[{"name":"\'a"}]}]}},{"namespace":{"name":"String","typedefs":[]}},{"contract":{"event":{"variant":[{"TxProposed":["hash","address","int"]},{"TxConfirmed":["hash","address"]},{"TxRefused":["hash","address"]},{"TxConsensusReached":["hash"]},{"TxConsensusLost":["hash"]},{"TxRevoked":["hash","address"]},{"TxAuthorized":["hash"]},{"FeeProtectionDisabled":["address"]}]},"functions":[{"arguments":[{"name":"confirmations_required","type":"int"},{"name":"signers","type":{"Set.set":["address"]}}],"name":"init","payable":false,"returns":"SimpleGAMultiSig.state","stateful":true},{"arguments":[{"name":"nonce","type":"int"}],"name":"authorize","payable":false,"returns":"bool","stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"},{"name":"ttl","type":"Chain.ttl"}],"name":"propose","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"}],"name":"confirm","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"}],"name":"refuse","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"tx_hash","type":"hash"}],"name":"revoke","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[{"name":"fee_protection","type":"SimpleGAMultiSig.fee_protection"}],"name":"update_fee_protection","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"disable_fee_protection","payable":false,"returns":{"tuple":[]},"stateful":true},{"arguments":[],"name":"get_version","payable":false,"returns":"string","stateful":false},{"arguments":[],"name":"is_fee_protection_enabled","payable":false,"returns":"bool","stateful":false},{"arguments":[],"name":"get_fee_protection","payable":false,"returns":{"option":["SimpleGAMultiSig.fee_protection"]},"stateful":false},{"arguments":[],"name":"get_nonce","payable":false,"returns":"int","stateful":false},{"arguments":[],"name":"get_signers","payable":false,"returns":{"list":["address"]},"stateful":false},{"arguments":[],"name":"get_consensus_info","payable":false,"returns":"SimpleGAMultiSig.consensus_info","stateful":false}],"kind":"contract_main","name":"SimpleGAMultiSig","payable":false,"state":{"record":[{"name":"signers","type":{"Set.set":["address"]}},{"name":"confirmations_required","type":"int"},{"name":"current_tx","type":{"option":["SimpleGAMultiSig.transaction"]}},{"name":"fee_protection","type":{"option":["SimpleGAMultiSig.fee_protection"]}},{"name":"fee_protection_enabled","type":"bool"},{"name":"nonce","type":"int"},{"name":"version","type":"string"}]},"typedefs":[{"name":"transaction","typedef":{"record":[{"name":"tx_hash","type":"hash"},{"name":"expires_at","type":"int"},{"name":"proposed_by","type":"address"},{"name":"confirmed_by","type":{"Set.set":["address"]}},{"name":"refused_by","type":{"Set.set":["address"]}}]},"vars":[]},{"name":"consensus_info","typedef":{"record":[{"name":"tx_hash","type":{"option":["hash"]}},{"name":"confirmations_required","type":"int"},{"name":"confirmed_by","type":{"list":["address"]}},{"name":"refused_by","type":{"list":["address"]}},{"name":"has_consensus","type":"bool"},{"name":"expiration_height","type":"int"},{"name":"expired","type":"bool"},{"name":"proposed_by","type":{"option":["address"]}}]},"vars":[]},{"name":"fee_protection","typedef":{"record":[{"name":"max_fee","type":"int"},{"name":"max_gasprice","type":"int"}]},"vars":[]}]}}]')}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={id:a,loaded:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=e,(()=>{var e=[];n.O=(t,a,r,o)=>{if(!a){var i=1/0;for(l=0;l=o)&&Object.keys(n.O).every((e=>n.O[e](a[u])))?a.splice(u--,1):(s=!1,o0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[a,r,o]}})(),(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return n.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(a,r){if(1&r&&(a=this(a)),8&r)return a;if("object"===typeof a&&a){if(4&r&&a.__esModule)return a;if(16&r&&"function"===typeof a.then)return a}var o=Object.create(null);n.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&a;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>a[e]));return i["default"]=()=>a,n.d(o,i),o}})(),(()=>{n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}})(),(()=>{n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,a)=>(n.f[a](e,t),t)),[]))})(),(()=>{n.u=e=>"js/"+{201:"ae-account-details-names",341:"ae-account-details-tokens",375:"ae-transfer-receive-modal",386:"ae-account-details",395:"eth-account-details",522:"ae-transfer-send-modal",551:"eth-transfer-send-modal",575:"btc-account-details",618:"eth-transaction-details",625:"locale-cn",640:"btc-transfer-receive-modal",732:"eth-transfer-receive-modal",838:"btc-transaction-details",875:"btc-transfer-send-modal",986:"eth-account-details-tokens",996:"chunk-common"}[e]+"."+{201:"e377462a",341:"51f28b92",375:"70325c7c",386:"bf2a1151",395:"c185f8db",522:"9c82af31",551:"25bbd180",575:"e9f47237",618:"000e6b28",625:"2f3367b5",640:"6d95d4d9",732:"c1104d81",838:"953e3017",875:"d39f4654",986:"f3a3f584",996:"9817d459"}[e]+".js"})(),(()=>{n.miniCssF=e=>"css/"+{201:"ae-account-details-names",341:"ae-account-details-tokens",375:"ae-transfer-receive-modal",386:"ae-account-details",395:"eth-account-details",522:"ae-transfer-send-modal",551:"eth-transfer-send-modal",575:"btc-account-details",640:"btc-transfer-receive-modal",732:"eth-transfer-receive-modal",875:"btc-transfer-send-modal"}[e]+"."+{201:"bd692696",341:"927fff82",375:"80db357d",386:"13d9e4cd",395:"8a72039a",522:"220d3489",551:"66c17c4c",575:"c3d856bc",640:"80db357d",732:"80db357d",875:"c23d0474"}[e]+".css"})(),(()=>{n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="superhero-wallet:";n.l=(a,r,o,i)=>{if(e[a])e[a].push(r);else{var s,u;if(void 0!==o)for(var c=document.getElementsByTagName("script"),l=0;l{s.onerror=s.onload=null,clearTimeout(v);var r=e[a];if(delete e[a],s.parentNode&&s.parentNode.removeChild(s),r&&r.forEach((e=>e(n))),t)return t(n)},v=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),u&&document.head.appendChild(s)}}})(),(()=>{n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)})(),(()=>{n.p="/"})(),(()=>{if("undefined"!==typeof document){var e=(e,t,a,r,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",n.nc&&(i.nonce=n.nc);var s=n=>{if(i.onerror=i.onload=null,"load"===n.type)r();else{var a=n&&n.type,s=n&&n.target&&n.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+a+": "+s+")");u.name="ChunkLoadError",u.code="CSS_CHUNK_LOAD_FAILED",u.type=a,u.request=s,i.parentNode&&i.parentNode.removeChild(i),o(u)}};return i.onerror=i.onload=s,i.href=t,a?a.parentNode.insertBefore(i,a.nextSibling):document.head.appendChild(i),i},t=(e,t)=>{for(var n=document.getElementsByTagName("link"),a=0;anew Promise(((r,o)=>{var i=n.miniCssF(a),s=n.p+i;if(t(i,s))return r();e(a,s,null,r,o)})),r={887:0};n.f.miniCss=(e,t)=>{var n={201:1,341:1,375:1,386:1,395:1,522:1,551:1,575:1,640:1,732:1,875:1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=a(e).then((()=>{r[e]=0}),(t=>{throw delete r[e],t})))}}})(),(()=>{var e={887:0};n.f.j=(t,a)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else{var o=new Promise(((n,a)=>r=e[t]=[n,a]));a.push(r[2]=o);var i=n.p+n.u(t),s=new Error,u=a=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){var o=a&&("load"===a.type?"missing":a.type),i=a&&a.target&&a.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}};n.l(i,u,"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,[i,s,u]=a,c=0;if(i.some((t=>0!==e[t]))){for(r in s)n.o(s,r)&&(n.m[r]=s[r]);if(u)var l=u(n)}for(t&&t(a);cn(78904)));a=n.O(a)})(); \ No newline at end of file