{"version":3,"sources":["/node_modules/@walletconnect/modal-ui/dist/index.js","/node_modules/lit/index.js","/node_modules/@lit/reactive-element/reactive-element.js","/node_modules/@lit/reactive-element/css-tag.js","/node_modules/lit-html/lit-html.js","/node_modules/lit-element/lit-element.js","/node_modules/lit-html/is-server.js","/node_modules/lit/decorators.js","/node_modules/@lit/reactive-element/decorators/custom-element.js","/node_modules/@lit/reactive-element/decorators/property.js","/node_modules/@lit/reactive-element/decorators/state.js","/node_modules/@lit/reactive-element/decorators/event-options.js","/node_modules/@lit/reactive-element/decorators/base.js","/node_modules/@lit/reactive-element/decorators/query.js","/node_modules/@lit/reactive-element/decorators/query-all.js","/node_modules/@lit/reactive-element/decorators/query-async.js","/node_modules/@lit/reactive-element/decorators/query-assigned-elements.js","/node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js","/node_modules/lit/directives/class-map.js","/node_modules/lit-html/directives/class-map.js","/node_modules/lit-html/directive.js","/node_modules/motion/dist/main.es.js","/node_modules/@motionone/dom/dist/index.es.js","/node_modules/@motionone/dom/dist/animate/index.es.js","/node_modules/@motionone/animation/dist/index.es.js","/node_modules/@motionone/animation/dist/Animation.es.js","/node_modules/@motionone/utils/dist/index.es.js","/node_modules/@motionone/utils/dist/array.es.js","/node_modules/@motionone/utils/dist/clamp.es.js","/node_modules/@motionone/utils/dist/defaults.es.js","/node_modules/@motionone/utils/dist/easing.es.js","/node_modules/@motionone/utils/dist/is-easing-list.es.js","/node_modules/@motionone/utils/dist/is-number.es.js","/node_modules/@motionone/utils/dist/wrap.es.js","/node_modules/@motionone/utils/dist/interpolate.es.js","/node_modules/@motionone/utils/dist/mix.es.js","/node_modules/@motionone/utils/dist/noop.es.js","/node_modules/@motionone/utils/dist/offset.es.js","/node_modules/@motionone/utils/dist/progress.es.js","/node_modules/@motionone/utils/dist/is-cubic-bezier.es.js","/node_modules/@motionone/utils/dist/is-easing-generator.es.js","/node_modules/@motionone/utils/dist/is-function.es.js","/node_modules/@motionone/utils/dist/is-string.es.js","/node_modules/@motionone/utils/dist/time.es.js","/node_modules/@motionone/utils/dist/velocity.es.js","/node_modules/@motionone/animation/dist/utils/easing.es.js","/node_modules/@motionone/easing/dist/index.es.js","/node_modules/@motionone/easing/dist/cubic-bezier.es.js","/node_modules/@motionone/easing/dist/steps.es.js","/node_modules/@motionone/dom/dist/animate/create-animate.es.js","/node_modules/hey-listen/dist/hey-listen.es.js","/node_modules/@motionone/dom/dist/animate/animate-style.es.js","/node_modules/@motionone/dom/dist/animate/data.es.js","/node_modules/@motionone/types/dist/index.es.js","/node_modules/@motionone/types/dist/MotionValue.es.js","/node_modules/@motionone/dom/dist/animate/utils/css-var.es.js","/node_modules/@motionone/dom/dist/animate/utils/transforms.es.js","/node_modules/@motionone/dom/dist/animate/utils/easing.es.js","/node_modules/@motionone/dom/dist/animate/utils/feature-detection.es.js","/node_modules/@motionone/dom/dist/animate/utils/keyframes.es.js","/node_modules/@motionone/dom/dist/animate/style.es.js","/node_modules/@motionone/dom/dist/animate/utils/get-style-name.es.js","/node_modules/@motionone/dom/dist/animate/utils/stop-animation.es.js","/node_modules/@motionone/dom/dist/animate/utils/get-unit.es.js","/node_modules/@motionone/dom/dist/animate/utils/options.es.js","/node_modules/@motionone/dom/dist/utils/resolve-elements.es.js","/node_modules/@motionone/dom/dist/animate/utils/controls.es.js","/node_modules/@motionone/dom/dist/utils/stagger.es.js","/node_modules/@motionone/dom/dist/timeline/index.es.js","/node_modules/@motionone/dom/node_modules/tslib/tslib.es6.js","/node_modules/@motionone/dom/dist/timeline/utils/calc-time.es.js","/node_modules/@motionone/dom/dist/timeline/utils/edit.es.js","/node_modules/@motionone/dom/dist/timeline/utils/sort.es.js","/node_modules/@motionone/dom/dist/easing/spring/index.es.js","/node_modules/@motionone/generators/dist/index.es.js","/node_modules/@motionone/generators/dist/glide/index.es.js","/node_modules/@motionone/generators/dist/utils/velocity.es.js","/node_modules/@motionone/generators/dist/spring/index.es.js","/node_modules/@motionone/generators/dist/spring/defaults.es.js","/node_modules/@motionone/generators/dist/spring/utils.es.js","/node_modules/@motionone/generators/dist/utils/has-reached-target.es.js","/node_modules/@motionone/generators/dist/utils/pregenerate-keyframes.es.js","/node_modules/@motionone/dom/dist/easing/create-generator-easing.es.js","/node_modules/@motionone/dom/dist/easing/glide/index.es.js","/node_modules/@motionone/dom/dist/gestures/in-view.es.js","/node_modules/@motionone/dom/dist/gestures/resize/index.es.js","/node_modules/@motionone/dom/dist/gestures/resize/handle-element.es.js","/node_modules/@motionone/dom/dist/gestures/resize/handle-window.es.js","/node_modules/@motionone/dom/dist/gestures/scroll/index.es.js","/node_modules/@motionone/dom/dist/gestures/scroll/info.es.js","/node_modules/@motionone/dom/dist/gestures/scroll/on-scroll-handler.es.js","/node_modules/@motionone/dom/dist/gestures/scroll/offsets/index.es.js","/node_modules/@motionone/dom/dist/gestures/scroll/offsets/inset.es.js","/node_modules/@motionone/dom/dist/gestures/scroll/offsets/presets.es.js","/node_modules/@motionone/dom/dist/gestures/scroll/offsets/offset.es.js","/node_modules/@motionone/dom/dist/gestures/scroll/offsets/edge.es.js","/node_modules/@motionone/dom/dist/state/index.es.js","/node_modules/@motionone/dom/dist/state/utils/has-changed.es.js","/node_modules/@motionone/dom/dist/state/utils/resolve-variant.es.js","/node_modules/@motionone/dom/dist/state/utils/is-variant.es.js","/node_modules/@motionone/dom/dist/state/utils/schedule.es.js","/node_modules/@motionone/dom/dist/state/gestures/in-view.es.js","/node_modules/@motionone/dom/dist/state/utils/events.es.js","/node_modules/@motionone/dom/dist/state/gestures/hover.es.js","/node_modules/@motionone/dom/dist/state/gestures/press.es.js","/node_modules/@motionone/dom/dist/animate/utils/style-object.es.js","/node_modules/@motionone/dom/dist/animate/utils/style-string.es.js","/node_modules/motion/dist/animate.es.js","/node_modules/lit/directives/if-defined.js","/node_modules/lit-html/directives/if-defined.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/browser.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/can-promise.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/qrcode.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/utils.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/error-correction-level.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/bit-buffer.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/bit-matrix.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/alignment-pattern.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/finder-pattern.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/mask-pattern.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/error-correction-code.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/reed-solomon-encoder.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/polynomial.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/galois-field.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/version.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/mode.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/version-check.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/regex.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/format-info.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/segments.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/numeric-data.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/alphanumeric-data.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/byte-data.js","/node_modules/encode-utf8/index.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/core/kanji-data.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/renderer/canvas.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/renderer/utils.js","/node_modules/@walletconnect/modal-ui/node_modules/qrcode/lib/renderer/svg-tag.js"],"sourcesContent":["import { css, LitElement, html, svg as svg$1 } from 'lit';\nimport { property, customElement, state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { ThemeCtrl, ModalCtrl, RouterCtrl, ConfigCtrl, ExplorerCtrl, CoreUtil, OptionsCtrl, ToastCtrl, EventsCtrl } from '@walletconnect/modal-core';\nimport { svg } from 'lit-html';\nimport { animate } from 'motion';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport QRCodeUtil from 'qrcode';\n\nvar __defProp$y = Object.defineProperty;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nfunction themeModeVariables() {\n var _a;\n const themeMode = (_a = ThemeCtrl.state.themeMode) != null ? _a : \"dark\";\n const themeModePresets = {\n light: {\n foreground: { 1: `rgb(20,20,20)`, 2: `rgb(121,134,134)`, 3: `rgb(158,169,169)` },\n background: { 1: `rgb(255,255,255)`, 2: `rgb(241,243,243)`, 3: `rgb(228,231,231)` },\n overlay: \"rgba(0,0,0,0.1)\"\n },\n dark: {\n foreground: { 1: `rgb(228,231,231)`, 2: `rgb(148,158,158)`, 3: `rgb(110,119,119)` },\n background: { 1: `rgb(20,20,20)`, 2: `rgb(39,42,42)`, 3: `rgb(59,64,64)` },\n overlay: \"rgba(255,255,255,0.1)\"\n }\n };\n const themeModeColors = themeModePresets[themeMode];\n return {\n \"--wcm-color-fg-1\": themeModeColors.foreground[1],\n \"--wcm-color-fg-2\": themeModeColors.foreground[2],\n \"--wcm-color-fg-3\": themeModeColors.foreground[3],\n \"--wcm-color-bg-1\": themeModeColors.background[1],\n \"--wcm-color-bg-2\": themeModeColors.background[2],\n \"--wcm-color-bg-3\": themeModeColors.background[3],\n \"--wcm-color-overlay\": themeModeColors.overlay\n };\n}\nfunction themeVariablesPresets() {\n return {\n \"--wcm-accent-color\": \"#3396FF\",\n \"--wcm-accent-fill-color\": \"#FFFFFF\",\n \"--wcm-z-index\": \"89\",\n \"--wcm-background-color\": \"#3396FF\",\n \"--wcm-background-border-radius\": \"8px\",\n \"--wcm-container-border-radius\": \"30px\",\n \"--wcm-wallet-icon-border-radius\": \"15px\",\n \"--wcm-wallet-icon-large-border-radius\": \"30px\",\n \"--wcm-wallet-icon-small-border-radius\": \"7px\",\n \"--wcm-input-border-radius\": \"28px\",\n \"--wcm-button-border-radius\": \"10px\",\n \"--wcm-notification-border-radius\": \"36px\",\n \"--wcm-secondary-button-border-radius\": \"28px\",\n \"--wcm-icon-button-border-radius\": \"50%\",\n \"--wcm-button-hover-highlight-border-radius\": \"10px\",\n \"--wcm-text-big-bold-size\": \"20px\",\n \"--wcm-text-big-bold-weight\": \"600\",\n \"--wcm-text-big-bold-line-height\": \"24px\",\n \"--wcm-text-big-bold-letter-spacing\": \"-0.03em\",\n \"--wcm-text-big-bold-text-transform\": \"none\",\n \"--wcm-text-xsmall-bold-size\": \"10px\",\n \"--wcm-text-xsmall-bold-weight\": \"700\",\n \"--wcm-text-xsmall-bold-line-height\": \"12px\",\n \"--wcm-text-xsmall-bold-letter-spacing\": \"0.02em\",\n \"--wcm-text-xsmall-bold-text-transform\": \"uppercase\",\n \"--wcm-text-xsmall-regular-size\": \"12px\",\n \"--wcm-text-xsmall-regular-weight\": \"600\",\n \"--wcm-text-xsmall-regular-line-height\": \"14px\",\n \"--wcm-text-xsmall-regular-letter-spacing\": \"-0.03em\",\n \"--wcm-text-xsmall-regular-text-transform\": \"none\",\n \"--wcm-text-small-thin-size\": \"14px\",\n \"--wcm-text-small-thin-weight\": \"500\",\n \"--wcm-text-small-thin-line-height\": \"16px\",\n \"--wcm-text-small-thin-letter-spacing\": \"-0.03em\",\n \"--wcm-text-small-thin-text-transform\": \"none\",\n \"--wcm-text-small-regular-size\": \"14px\",\n \"--wcm-text-small-regular-weight\": \"600\",\n \"--wcm-text-small-regular-line-height\": \"16px\",\n \"--wcm-text-small-regular-letter-spacing\": \"-0.03em\",\n \"--wcm-text-small-regular-text-transform\": \"none\",\n \"--wcm-text-medium-regular-size\": \"16px\",\n \"--wcm-text-medium-regular-weight\": \"600\",\n \"--wcm-text-medium-regular-line-height\": \"20px\",\n \"--wcm-text-medium-regular-letter-spacing\": \"-0.03em\",\n \"--wcm-text-medium-regular-text-transform\": \"none\",\n \"--wcm-font-family\": \"-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', sans-serif\",\n \"--wcm-font-feature-settings\": `'tnum' on, 'lnum' on, 'case' on`,\n \"--wcm-success-color\": \"rgb(38,181,98)\",\n \"--wcm-error-color\": \"rgb(242, 90, 103)\",\n \"--wcm-overlay-background-color\": \"rgba(0, 0, 0, 0.3)\",\n \"--wcm-overlay-backdrop-filter\": \"none\"\n };\n}\nconst ThemeUtil = {\n getPreset(key) {\n return themeVariablesPresets()[key];\n },\n setTheme() {\n const root = document.querySelector(\":root\");\n const { themeVariables } = ThemeCtrl.state;\n if (root) {\n const variables = __spreadValues(__spreadValues(__spreadValues({}, themeModeVariables()), themeVariablesPresets()), themeVariables);\n Object.entries(variables).forEach(([key, val]) => root.style.setProperty(key, val));\n }\n },\n globalCss: css`*,::after,::before{margin:0;padding:0;box-sizing:border-box;font-style:normal;text-rendering:optimizeSpeed;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;backface-visibility:hidden}button{cursor:pointer;display:flex;justify-content:center;align-items:center;position:relative;border:none;background-color:transparent;transition:all .2s ease}@media (hover:hover) and (pointer:fine){button:active{transition:all .1s ease;transform:scale(.93)}}button::after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;transition:background-color,.2s ease}button:disabled{cursor:not-allowed}button svg,button wcm-text{position:relative;z-index:1}input{border:none;outline:0;appearance:none}img{display:block}::selection{color:var(--wcm-accent-fill-color);background:var(--wcm-accent-color)}`\n};\n\nconst styles$t = css`button{border-radius:var(--wcm-secondary-button-border-radius);height:28px;padding:0 10px;background-color:var(--wcm-accent-color)}button path{fill:var(--wcm-accent-fill-color)}button::after{border-radius:inherit;border:1px solid var(--wcm-color-overlay)}button:disabled::after{background-color:transparent}.wcm-icon-left svg{margin-right:5px}.wcm-icon-right svg{margin-left:5px}button:active::after{background-color:var(--wcm-color-overlay)}.wcm-ghost,.wcm-ghost:active::after,.wcm-outline{background-color:transparent}.wcm-ghost:active{opacity:.5}@media(hover:hover){button:hover::after{background-color:var(--wcm-color-overlay)}.wcm-ghost:hover::after{background-color:transparent}.wcm-ghost:hover{opacity:.5}}button:disabled{background-color:var(--wcm-color-bg-3);pointer-events:none}.wcm-ghost::after{border-color:transparent}.wcm-ghost path{fill:var(--wcm-color-fg-2)}.wcm-outline path{fill:var(--wcm-accent-color)}.wcm-outline:disabled{background-color:transparent;opacity:.5}`;\n\nvar __defProp$x = Object.defineProperty;\nvar __getOwnPropDesc$x = Object.getOwnPropertyDescriptor;\nvar __decorateClass$x = (decorators, target, key, kind) => {\n var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$x(target, key) : target;\n for (var i = decorators.length - 1, decorator; i >= 0; i--)\n if (decorator = decorators[i])\n result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n if (kind && result)\n __defProp$x(target, key, result);\n return result;\n};\nlet WcmButton = class extends LitElement {\n constructor() {\n super(...arguments);\n this.disabled = false;\n this.iconLeft = void 0;\n this.iconRight = void 0;\n this.onClick = () => null;\n this.variant = \"default\";\n }\n // -- render ------------------------------------------------------- //\n render() {\n const classes = {\n \"wcm-icon-left\": this.iconLeft !== void 0,\n \"wcm-icon-right\": this.iconRight !== void 0,\n \"wcm-ghost\": this.variant === \"ghost\",\n \"wcm-outline\": this.variant === \"outline\"\n };\n let textColor = \"inverse\";\n if (this.variant === \"ghost\") {\n textColor = \"secondary\";\n }\n if (this.variant === \"outline\") {\n textColor = \"accent\";\n }\n return html``;\n }\n};\nWcmButton.styles = [ThemeUtil.globalCss, styles$t];\n__decorateClass$x([\n property({ type: Boolean })\n], WcmButton.prototype, \"disabled\", 2);\n__decorateClass$x([\n property()\n], WcmButton.prototype, \"iconLeft\", 2);\n__decorateClass$x([\n property()\n], WcmButton.prototype, \"iconRight\", 2);\n__decorateClass$x([\n property()\n], WcmButton.prototype, \"onClick\", 2);\n__decorateClass$x([\n property()\n], WcmButton.prototype, \"variant\", 2);\nWcmButton = __decorateClass$x([\n customElement(\"wcm-button\")\n], WcmButton);\n\nconst styles$s = css`:host{display:inline-block}button{padding:0 15px 1px;height:40px;border-radius:var(--wcm-button-border-radius);color:var(--wcm-accent-fill-color);background-color:var(--wcm-accent-color)}button::after{content:'';top:0;bottom:0;left:0;right:0;position:absolute;background-color:transparent;border-radius:inherit;transition:background-color .2s ease;border:1px solid var(--wcm-color-overlay)}button:active::after{background-color:var(--wcm-color-overlay)}button:disabled{padding-bottom:0;background-color:var(--wcm-color-bg-3);color:var(--wcm-color-fg-3)}.wcm-secondary{color:var(--wcm-accent-color);background-color:transparent}.wcm-secondary::after{display:none}@media(hover:hover){button:hover::after{background-color:var(--wcm-color-overlay)}}`;\n\nvar __defProp$w = Object.defineProperty;\nvar __getOwnPropDesc$w = Object.getOwnPropertyDescriptor;\nvar __decorateClass$w = (decorators, target, key, kind) => {\n var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$w(target, key) : target;\n for (var i = decorators.length - 1, decorator; i >= 0; i--)\n if (decorator = decorators[i])\n result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n if (kind && result)\n __defProp$w(target, key, result);\n return result;\n};\nlet WcmButtonBig = class extends LitElement {\n constructor() {\n super(...arguments);\n this.disabled = false;\n this.variant = \"primary\";\n }\n // -- render ------------------------------------------------------- //\n render() {\n const classes = {\n \"wcm-secondary\": this.variant === \"secondary\"\n };\n return html``;\n }\n};\nWcmButtonBig.styles = [ThemeUtil.globalCss, styles$s];\n__decorateClass$w([\n property({ type: Boolean })\n], WcmButtonBig.prototype, \"disabled\", 2);\n__decorateClass$w([\n property()\n], WcmButtonBig.prototype, \"variant\", 2);\nWcmButtonBig = __decorateClass$w([\n customElement(\"wcm-button-big\")\n], WcmButtonBig);\n\nconst styles$r = css`:host{background-color:var(--wcm-color-bg-2);border-top:1px solid var(--wcm-color-bg-3)}div{padding:10px 20px;display:inherit;flex-direction:inherit;align-items:inherit;width:inherit;justify-content:inherit}`;\n\nvar __defProp$v = Object.defineProperty;\nvar __getOwnPropDesc$v = Object.getOwnPropertyDescriptor;\nvar __decorateClass$v = (decorators, target, key, kind) => {\n var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$v(target, key) : target;\n for (var i = decorators.length - 1, decorator; i >= 0; i--)\n if (decorator = decorators[i])\n result = (kind ? decorator(target, key, result) : decorator(result)) || result;\n if (kind && result)\n __defProp$v(target, key, result);\n return result;\n};\nlet WcmInfoFooter = class extends LitElement {\n // -- render ------------------------------------------------------- //\n render() {\n return html`