@skip-go/widget 3.1.9 → 3.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -173,7 +173,7 @@ var th = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
173
173
|
function ch(e) {
|
|
174
174
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function o3(e) {
|
|
177
177
|
if (e.__esModule) return e;
|
|
178
178
|
var n = e.default;
|
|
179
179
|
if (typeof n == "function") {
|
|
@@ -4672,7 +4672,7 @@ function ca(e) {
|
|
|
4672
4672
|
const w = u.chains.map((I) => I.id);
|
|
4673
4673
|
if (!w.length)
|
|
4674
4674
|
return;
|
|
4675
|
-
const { EthereumProvider: E } = await import("./index.es-
|
|
4675
|
+
const { EthereumProvider: E } = await import("./index.es-6pwahwk6.js");
|
|
4676
4676
|
return await E.init({
|
|
4677
4677
|
...e,
|
|
4678
4678
|
disableProviderPing: !0,
|
|
@@ -6408,7 +6408,7 @@ const zc = (e) => {
|
|
|
6408
6408
|
})`
|
|
6409
6409
|
${Ei};
|
|
6410
6410
|
line-height: 13px;
|
|
6411
|
-
height:
|
|
6411
|
+
height: ${({ height: e }) => e || 30}px;
|
|
6412
6412
|
|
|
6413
6413
|
${({ alwaysShowBackground: e, theme: n, secondary: o }) => {
|
|
6414
6414
|
if (e)
|
|
@@ -37556,29 +37556,19 @@ const sx = [
|
|
|
37556
37556
|
) }), _r = ({ color: e = "currentColor", ...n }) => /* @__PURE__ */ m(
|
|
37557
37557
|
"svg",
|
|
37558
37558
|
{
|
|
37559
|
-
width: "
|
|
37560
|
-
height: "
|
|
37561
|
-
viewBox: "0 0
|
|
37559
|
+
width: "15",
|
|
37560
|
+
height: "15",
|
|
37561
|
+
viewBox: "0 0 15 15",
|
|
37562
37562
|
fill: "none",
|
|
37563
37563
|
xmlns: "http://www.w3.org/2000/svg",
|
|
37564
37564
|
...n,
|
|
37565
|
-
children: /* @__PURE__ */
|
|
37566
|
-
|
|
37567
|
-
|
|
37568
|
-
|
|
37569
|
-
|
|
37570
|
-
|
|
37571
|
-
|
|
37572
|
-
),
|
|
37573
|
-
/* @__PURE__ */ m(
|
|
37574
|
-
"path",
|
|
37575
|
-
{
|
|
37576
|
-
d: "M7.67865 5.79097C7.74234 5.5703 7.97633 5.44639 8.19404 5.52044L8.91626 5.7653V4.23495L8.18811 4.48178C7.97189 4.55534 7.73789 4.4334 7.67322 4.21422C7.61448 4.01478 7.53401 3.82422 7.43429 3.64552C7.32223 3.44361 7.39924 3.18938 7.60608 3.08719L8.29869 2.74508L7.21659 1.66297L6.8725 2.36002C6.77081 2.56637 6.51756 2.64388 6.31615 2.5333C6.13744 2.43506 5.9464 2.35558 5.74696 2.29782C5.52679 2.23414 5.40386 1.99965 5.47742 1.78244L5.72721 1.0459H4.19686L4.44665 1.78244C4.52021 2.00015 4.3968 2.23365 4.17662 2.29782C3.98015 2.35509 3.79255 2.43259 3.61582 2.52886C3.41638 2.63746 3.16659 2.56242 3.06341 2.36002L2.70699 1.66297L1.62489 2.74508L2.31749 3.09903C2.52039 3.2027 2.59543 3.45348 2.48534 3.65292C2.38759 3.83064 2.30811 4.01971 2.24986 4.21767C2.18519 4.43834 1.94972 4.56077 1.73251 4.48573L1.00781 4.23495V5.7653L1.72708 5.51649C1.94528 5.44096 2.18174 5.56487 2.24542 5.78702C2.30367 5.99041 2.38364 6.18442 2.48336 6.36658C2.59444 6.56898 2.51545 6.82272 2.30811 6.92392L1.62489 7.25566L2.70699 8.33777L3.03676 7.65898C3.13796 7.45066 3.39318 7.37217 3.59608 7.48472C3.77774 7.58543 3.97175 7.66688 4.17514 7.72612C4.3963 7.7903 4.51823 8.02627 4.4432 8.24348L4.19686 8.95484H5.72721L5.48087 8.24348C5.40534 8.02577 5.52827 7.7903 5.74943 7.72612C5.95133 7.66737 6.14386 7.58641 6.32454 7.48669C6.52645 7.37513 6.7797 7.45263 6.88188 7.65898L7.21708 8.33777L8.29918 7.25566L7.61695 6.91898C7.41109 6.81729 7.33309 6.56503 7.44367 6.36312C7.54191 6.18343 7.62139 5.99238 7.67865 5.79146M4.96253 7.13619C3.78268 7.13619 2.82646 6.17997 2.82646 5.00012C2.82646 3.82027 3.78268 2.86405 4.96253 2.86405C6.14238 2.86405 7.0986 3.82027 7.0986 5.00012C7.0986 6.17997 6.14238 7.13619 4.96253 7.13619Z",
|
|
37577
|
-
stroke: e,
|
|
37578
|
-
strokeWidth: "0.3"
|
|
37579
|
-
}
|
|
37580
|
-
)
|
|
37581
|
-
] })
|
|
37565
|
+
children: /* @__PURE__ */ m(
|
|
37566
|
+
"path",
|
|
37567
|
+
{
|
|
37568
|
+
d: "M12.6905 9.0162C12.7367 8.86574 12.8407 8.73843 12.9792 8.66898C13.1178 8.59954 13.2795 8.58796 13.4296 8.63426L15 9.16667V5.84491L13.418 6.37731C13.2679 6.42361 13.1062 6.41204 12.9677 6.34259C12.8291 6.27315 12.7252 6.14583 12.679 5.99537C12.5635 5.61343 12.4134 5.25463 12.2171 4.90741C12.1363 4.76852 12.1247 4.60648 12.1709 4.45602C12.2171 4.30556 12.321 4.18981 12.4596 4.12037L13.9608 3.37963L11.6166 1.03009L10.8776 2.5463C10.8083 2.68519 10.6929 2.78935 10.5427 2.83565C10.3926 2.88194 10.231 2.87037 10.0924 2.78935C9.74599 2.60417 9.37645 2.4537 9.00693 2.33796C8.85682 2.29167 8.7298 2.1875 8.66051 2.04861C8.59123 1.90972 8.57968 1.74769 8.62587 1.59722L9.16859 0H5.85451L6.39723 1.59722C6.44342 1.74769 6.43187 1.90972 6.36259 2.04861C6.29331 2.1875 6.16629 2.29167 6.01617 2.33796C5.64665 2.44213 5.28869 2.59259 4.94227 2.77778C4.8037 2.8588 4.64204 2.87037 4.49192 2.82407C4.3418 2.77778 4.22633 2.67361 4.15705 2.53472L3.38338 1.03009L1.02772 3.35648L2.51732 4.12037C2.65589 4.18981 2.75982 4.31713 2.80601 4.45602C2.8522 4.60648 2.84065 4.76852 2.75982 4.90741C2.57506 5.25463 2.4134 5.61343 2.30947 5.99537C2.26328 6.14583 2.15936 6.27315 2.02079 6.34259C1.88222 6.41204 1.72056 6.42361 1.57044 6.37731L0 5.83333V9.16667L1.55889 8.62268C1.70901 8.57639 1.87067 8.58796 2.00924 8.65741C2.14781 8.72685 2.25174 8.85417 2.29792 9.00463C2.40185 9.38657 2.56351 9.76852 2.74827 10.1157C2.8291 10.2546 2.84065 10.4167 2.79446 10.5671C2.74827 10.7176 2.64435 10.8333 2.50578 10.9028L1.01617 11.6204L3.36028 13.9699L4.07622 12.4884C4.1455 12.3495 4.26097 12.2454 4.41109 12.1991C4.5612 12.1528 4.72287 12.1644 4.86144 12.2454C5.20786 12.4421 5.57737 12.5926 5.96998 12.7083C6.1201 12.7546 6.24712 12.8472 6.3164 12.9977C6.38568 13.1366 6.39723 13.2986 6.35104 13.4491L5.81986 15H9.1455L8.61432 13.4491C8.56813 13.2986 8.57968 13.1366 8.64896 12.9977C8.71825 12.8588 8.84527 12.7546 8.99538 12.7083C9.37645 12.5926 9.74599 12.4421 10.0924 12.2454C10.231 12.1644 10.3926 12.1528 10.5427 12.1991C10.6929 12.2454 10.8083 12.3495 10.8776 12.4884L11.6051 13.9699L13.9492 11.6204L12.4711 10.8912C12.3326 10.8218 12.2287 10.706 12.1825 10.5556C12.1363 10.4051 12.1478 10.2431 12.2287 10.1042C12.425 9.75694 12.5866 9.39814 12.6905 9.0162ZM11.2818 7.5C11.2818 9.59491 9.58429 11.2847 7.50578 11.2847C5.42726 11.2847 3.71825 9.58333 3.71825 7.5C3.71825 5.41667 5.41571 3.7037 7.50578 3.7037C9.59589 3.7037 11.2818 5.40509 11.2818 7.5Z",
|
|
37569
|
+
fill: e
|
|
37570
|
+
}
|
|
37571
|
+
)
|
|
37582
37572
|
}
|
|
37583
37573
|
), Ic = 767, on = () => {
|
|
37584
37574
|
const [e, n] = pe(
|
|
@@ -37615,7 +37605,7 @@ const sx = [
|
|
|
37615
37605
|
/* @__PURE__ */ m(Qr, {}),
|
|
37616
37606
|
s,
|
|
37617
37607
|
/* @__PURE__ */ q($r, { children: [
|
|
37618
|
-
/* @__PURE__ */ m(_r, { height:
|
|
37608
|
+
/* @__PURE__ */ m(_r, { height: 14, width: 14 }),
|
|
37619
37609
|
r && /* @__PURE__ */ m(es, {})
|
|
37620
37610
|
] })
|
|
37621
37611
|
] }) });
|
|
@@ -37648,7 +37638,7 @@ const sx = [
|
|
|
37648
37638
|
/* @__PURE__ */ m(Qr, {}),
|
|
37649
37639
|
s,
|
|
37650
37640
|
/* @__PURE__ */ q($r, { children: [
|
|
37651
|
-
/* @__PURE__ */ m(_r, { height:
|
|
37641
|
+
/* @__PURE__ */ m(_r, { height: 14, width: 14 }),
|
|
37652
37642
|
r && /* @__PURE__ */ m(es, {})
|
|
37653
37643
|
] })
|
|
37654
37644
|
] })
|
|
@@ -37673,7 +37663,7 @@ const sx = [
|
|
|
37673
37663
|
showRouteInfo: o,
|
|
37674
37664
|
showEstimatedTime: i,
|
|
37675
37665
|
...t
|
|
37676
|
-
}) => /* @__PURE__ */ m(so, { gap: 5, justify: "space-between", onClick: e, ...t, children: /* @__PURE__ */ m(
|
|
37666
|
+
}) => /* @__PURE__ */ m(so, { gap: 5, justify: "space-between", align: "center", onClick: e, height: 35, ...t, children: /* @__PURE__ */ m(
|
|
37677
37667
|
Dm,
|
|
37678
37668
|
{
|
|
37679
37669
|
rightContent: n,
|
|
@@ -37685,13 +37675,17 @@ const sx = [
|
|
|
37685
37675
|
`, $r = N.div`
|
|
37686
37676
|
position: relative;
|
|
37687
37677
|
display: inline-block;
|
|
37678
|
+
|
|
37679
|
+
svg {
|
|
37680
|
+
display: block;
|
|
37681
|
+
}
|
|
37688
37682
|
`, es = N.div`
|
|
37689
37683
|
position: absolute;
|
|
37690
|
-
top: -
|
|
37691
|
-
right: -
|
|
37684
|
+
top: -3px;
|
|
37685
|
+
right: -3px;
|
|
37692
37686
|
width: 4px;
|
|
37693
37687
|
height: 4px;
|
|
37694
|
-
background-color:
|
|
37688
|
+
background-color: ${({ theme: e }) => e.primary.text.normal};
|
|
37695
37689
|
border-radius: 50%;
|
|
37696
37690
|
`, wx = [
|
|
37697
37691
|
"axelar-dojo-1",
|
|
@@ -40744,9 +40738,9 @@ const e1 = Uo((e) => {
|
|
|
40744
40738
|
const l = h1(n), p = u1(l, n == null ? void 0 : n.estimatedFees);
|
|
40745
40739
|
return p && s.push({ label: "Relayer Fee", fee: p }), s;
|
|
40746
40740
|
}, [c, n]);
|
|
40747
|
-
return /* @__PURE__ */ q(F1, { gap:
|
|
40741
|
+
return /* @__PURE__ */ q(F1, { gap: 15, children: [
|
|
40748
40742
|
/* @__PURE__ */ q(he, { gap: 10, children: [
|
|
40749
|
-
/* @__PURE__ */ q(V, { justify: "space-between", children: [
|
|
40743
|
+
/* @__PURE__ */ q(V, { justify: "space-between", align: "center", children: [
|
|
40750
40744
|
/* @__PURE__ */ m(uo, { children: "Route" }),
|
|
40751
40745
|
/* @__PURE__ */ m(V, { align: "center", gap: 5, children: i == null ? void 0 : i.map((s, l) => {
|
|
40752
40746
|
var p;
|
|
@@ -40754,8 +40748,8 @@ const e1 = Uo((e) => {
|
|
|
40754
40748
|
/* @__PURE__ */ m(
|
|
40755
40749
|
"img",
|
|
40756
40750
|
{
|
|
40757
|
-
width: "
|
|
40758
|
-
height: "
|
|
40751
|
+
width: "25",
|
|
40752
|
+
height: "25",
|
|
40759
40753
|
src: s == null ? void 0 : s.logoURI,
|
|
40760
40754
|
alt: s == null ? void 0 : s.prettyName,
|
|
40761
40755
|
title: s == null ? void 0 : s.prettyName
|
|
@@ -40765,15 +40759,15 @@ const e1 = Uo((e) => {
|
|
|
40765
40759
|
] }, l);
|
|
40766
40760
|
}) })
|
|
40767
40761
|
] }),
|
|
40768
|
-
!!(n != null && n.swapPriceImpactPercent) && /* @__PURE__ */ q(V, { justify: "space-between", children: [
|
|
40762
|
+
!!(n != null && n.swapPriceImpactPercent) && /* @__PURE__ */ q(V, { justify: "space-between", align: "center", children: [
|
|
40769
40763
|
/* @__PURE__ */ m(uo, { children: "Price Impact" }),
|
|
40770
|
-
/* @__PURE__ */ m(V, { align: "center", gap: 5, children: /* @__PURE__ */ q(uo, { monospace: !0, children: [
|
|
40764
|
+
/* @__PURE__ */ m(V, { align: "center", gap: 5, height: 25, children: /* @__PURE__ */ q(uo, { monospace: !0, children: [
|
|
40771
40765
|
n == null ? void 0 : n.swapPriceImpactPercent,
|
|
40772
40766
|
"%"
|
|
40773
40767
|
] }) })
|
|
40774
40768
|
] })
|
|
40775
40769
|
] }),
|
|
40776
|
-
r.length > 0 && /* @__PURE__ */ m(he, { gap: 10, children: r.map(({ label: s, fee: l }, p) => /* @__PURE__ */ q(V, { justify: "space-between", children: [
|
|
40770
|
+
r.length > 0 && /* @__PURE__ */ m(he, { gap: 10, children: r.map(({ label: s, fee: l }, p) => /* @__PURE__ */ q(V, { justify: "space-between", align: "center", height: 25, children: [
|
|
40777
40771
|
/* @__PURE__ */ m(uo, { children: s }),
|
|
40778
40772
|
/* @__PURE__ */ q(uo, { monospace: !0, children: [
|
|
40779
40773
|
l.formattedAssetAmount,
|
|
@@ -43049,25 +43043,25 @@ var Zg = /^(\d+)(th|st|nd|rd)?/i, Yg = /\d+/i, Jg = {
|
|
|
43049
43043
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
43050
43044
|
}, $g = {
|
|
43051
43045
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
43052
|
-
},
|
|
43046
|
+
}, ef = {
|
|
43053
43047
|
narrow: /^[jfmasond]/i,
|
|
43054
43048
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
43055
43049
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
43056
|
-
},
|
|
43050
|
+
}, nf = {
|
|
43057
43051
|
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
43058
43052
|
any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
43059
|
-
},
|
|
43053
|
+
}, of = {
|
|
43060
43054
|
narrow: /^[smtwf]/i,
|
|
43061
43055
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
43062
43056
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
43063
43057
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
43064
|
-
},
|
|
43058
|
+
}, tf = {
|
|
43065
43059
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
43066
43060
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
43067
|
-
},
|
|
43061
|
+
}, cf = {
|
|
43068
43062
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
43069
43063
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
43070
|
-
},
|
|
43064
|
+
}, af = {
|
|
43071
43065
|
any: {
|
|
43072
43066
|
am: /^a/i,
|
|
43073
43067
|
pm: /^p/i,
|
|
@@ -43078,7 +43072,7 @@ var Zg = /^(\d+)(th|st|nd|rd)?/i, Yg = /\d+/i, Jg = {
|
|
|
43078
43072
|
evening: /evening/i,
|
|
43079
43073
|
night: /night/i
|
|
43080
43074
|
}
|
|
43081
|
-
},
|
|
43075
|
+
}, rf = {
|
|
43082
43076
|
ordinalNumber: Xg({
|
|
43083
43077
|
matchPattern: Zg,
|
|
43084
43078
|
parsePattern: Yg,
|
|
@@ -43102,30 +43096,30 @@ var Zg = /^(\d+)(th|st|nd|rd)?/i, Yg = /\d+/i, Jg = {
|
|
|
43102
43096
|
}
|
|
43103
43097
|
}),
|
|
43104
43098
|
month: oi({
|
|
43105
|
-
matchPatterns:
|
|
43099
|
+
matchPatterns: ef,
|
|
43106
43100
|
defaultMatchWidth: "wide",
|
|
43107
|
-
parsePatterns:
|
|
43101
|
+
parsePatterns: nf,
|
|
43108
43102
|
defaultParseWidth: "any"
|
|
43109
43103
|
}),
|
|
43110
43104
|
day: oi({
|
|
43111
|
-
matchPatterns:
|
|
43105
|
+
matchPatterns: of,
|
|
43112
43106
|
defaultMatchWidth: "wide",
|
|
43113
|
-
parsePatterns:
|
|
43107
|
+
parsePatterns: tf,
|
|
43114
43108
|
defaultParseWidth: "any"
|
|
43115
43109
|
}),
|
|
43116
43110
|
dayPeriod: oi({
|
|
43117
|
-
matchPatterns:
|
|
43111
|
+
matchPatterns: cf,
|
|
43118
43112
|
defaultMatchWidth: "any",
|
|
43119
|
-
parsePatterns:
|
|
43113
|
+
parsePatterns: af,
|
|
43120
43114
|
defaultParseWidth: "any"
|
|
43121
43115
|
})
|
|
43122
|
-
},
|
|
43116
|
+
}, sf = {
|
|
43123
43117
|
code: "en-US",
|
|
43124
43118
|
formatDistance: Bg,
|
|
43125
43119
|
formatLong: jg,
|
|
43126
43120
|
formatRelative: Hg,
|
|
43127
43121
|
localize: Ug,
|
|
43128
|
-
match:
|
|
43122
|
+
match: rf,
|
|
43129
43123
|
options: {
|
|
43130
43124
|
weekStartsOn: 0,
|
|
43131
43125
|
firstWeekContainsDate: 1
|
|
@@ -43138,20 +43132,20 @@ function _m(e, n) {
|
|
|
43138
43132
|
Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
|
|
43139
43133
|
return e;
|
|
43140
43134
|
}
|
|
43141
|
-
function
|
|
43135
|
+
function lf(e) {
|
|
43142
43136
|
return _m({}, e);
|
|
43143
43137
|
}
|
|
43144
43138
|
var Ds = 1e3 * 60, dt = 60 * 24, xs = dt * 30, gs = dt * 365;
|
|
43145
|
-
function
|
|
43139
|
+
function mf(e, n, o) {
|
|
43146
43140
|
var i, t, c;
|
|
43147
43141
|
Fa(2, arguments);
|
|
43148
|
-
var a = Pg(), r = (i = (t = o == null ? void 0 : o.locale) !== null && t !== void 0 ? t : a.locale) !== null && i !== void 0 ? i :
|
|
43142
|
+
var a = Pg(), r = (i = (t = o == null ? void 0 : o.locale) !== null && t !== void 0 ? t : a.locale) !== null && i !== void 0 ? i : sf;
|
|
43149
43143
|
if (!r.formatDistance)
|
|
43150
43144
|
throw new RangeError("locale must contain localize.formatDistance property");
|
|
43151
43145
|
var s = Fg(e, n);
|
|
43152
43146
|
if (isNaN(s))
|
|
43153
43147
|
throw new RangeError("Invalid time value");
|
|
43154
|
-
var l = _m(
|
|
43148
|
+
var l = _m(lf(o), {
|
|
43155
43149
|
addSuffix: !!(o != null && o.addSuffix),
|
|
43156
43150
|
comparison: s
|
|
43157
43151
|
}), p, u;
|
|
@@ -43187,10 +43181,10 @@ function l3(e, n, o) {
|
|
|
43187
43181
|
}
|
|
43188
43182
|
throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'");
|
|
43189
43183
|
}
|
|
43190
|
-
const
|
|
43184
|
+
const pf = (e) => {
|
|
43191
43185
|
const n = String(e.getHours()), o = String(e.getMinutes()), i = e.toLocaleTimeString("en-US", { timeZoneName: "short" }).split(" ").pop(), t = e.getMonth() + 1, c = e.getDate(), a = String(e.getFullYear()).slice(-2);
|
|
43192
43186
|
return `${n}:${o} ${i} ${t}/${c}/${a}`;
|
|
43193
|
-
},
|
|
43187
|
+
}, hf = ({
|
|
43194
43188
|
txs: e,
|
|
43195
43189
|
txsRequired: n
|
|
43196
43190
|
}) => {
|
|
@@ -43203,13 +43197,13 @@ const m3 = (e) => {
|
|
|
43203
43197
|
queryKey: ["tx-history-status", { txs: e, txsRequired: n, statusData: o }],
|
|
43204
43198
|
queryFn: () => e.length !== n ? "incomplete" : i ? "unconfirmed" : o != null && o.isSuccess ? "completed" : o != null && o.isSettled && !(o != null && o.isSuccess) ? "failed" : "pending"
|
|
43205
43199
|
}).data;
|
|
43206
|
-
},
|
|
43200
|
+
}, uf = ({
|
|
43207
43201
|
index: e,
|
|
43208
43202
|
txHistoryItem: n,
|
|
43209
43203
|
showDetails: o,
|
|
43210
43204
|
onClickRow: i
|
|
43211
43205
|
}) => {
|
|
43212
|
-
const t = De(), c = on(), a =
|
|
43206
|
+
const t = De(), c = on(), a = hf({
|
|
43213
43207
|
txs: n.transactionDetails.map((y) => ({
|
|
43214
43208
|
chainID: y.chainID,
|
|
43215
43209
|
txHash: y.txHash
|
|
@@ -43256,17 +43250,17 @@ const m3 = (e) => {
|
|
|
43256
43250
|
}
|
|
43257
43251
|
);
|
|
43258
43252
|
case "completed":
|
|
43259
|
-
return /* @__PURE__ */ m(
|
|
43253
|
+
return /* @__PURE__ */ m(xf, {});
|
|
43260
43254
|
case "incomplete":
|
|
43261
43255
|
case "failed":
|
|
43262
43256
|
return /* @__PURE__ */ m(Rm, { color: t.error.text });
|
|
43263
43257
|
}
|
|
43264
|
-
}, [a, t.error.text, t.primary.text.normal]), T = W(() => c ?
|
|
43258
|
+
}, [a, t.error.text, t.primary.text.normal]), T = W(() => c ? pf(new Date(b)) : new Date(b).toLocaleString(), [c, b]), S = W(() => a === "pending" ? "In Progress" : mf(new Date(b), /* @__PURE__ */ new Date(), {
|
|
43265
43259
|
addSuffix: !0
|
|
43266
43260
|
}).replace("minutes", "mins").replace("minute", "min").replace("hours", "hrs").replace("hour", "hr").replace("seconds", "secs").replace("second", "sec").replace("months", "mos").replace("month", "mo").replace("years", "yrs").replace("year", "yr"), [a, b]);
|
|
43267
|
-
return /* @__PURE__ */ q(
|
|
43268
|
-
/* @__PURE__ */ q(
|
|
43269
|
-
/* @__PURE__ */ q(
|
|
43261
|
+
return /* @__PURE__ */ q(df, { showDetails: o, children: [
|
|
43262
|
+
/* @__PURE__ */ q(Df, { align: "center", justify: "space-between", onClick: i, children: [
|
|
43263
|
+
/* @__PURE__ */ q(gf, { gap: 5, align: "center", children: [
|
|
43270
43264
|
/* @__PURE__ */ m(fs, { ...C }),
|
|
43271
43265
|
/* @__PURE__ */ m(Qm, { color: t.primary.text.lowContrast, style: { flexShrink: 0 } }),
|
|
43272
43266
|
/* @__PURE__ */ m(fs, { ...M }),
|
|
@@ -43312,27 +43306,27 @@ const m3 = (e) => {
|
|
|
43312
43306
|
/* @__PURE__ */ m(K, { normalTextColor: !0, title: e, children: zo(e) }),
|
|
43313
43307
|
!i && /* @__PURE__ */ m(K, { normalTextColor: !0, children: (n == null ? void 0 : n.recommendedSymbol) ?? (n == null ? void 0 : n.symbol) })
|
|
43314
43308
|
] });
|
|
43315
|
-
},
|
|
43309
|
+
}, df = N(he)`
|
|
43316
43310
|
background-color: ${({ theme: e, showDetails: n }) => n && e.secondary.background.normal};
|
|
43317
43311
|
&:hover {
|
|
43318
43312
|
background-color: ${({ theme: e }) => e.secondary.background.normal};
|
|
43319
43313
|
}
|
|
43320
43314
|
border-radius: 6px;
|
|
43321
|
-
`,
|
|
43315
|
+
`, Df = N(V)`
|
|
43322
43316
|
padding: 0 10px;
|
|
43323
43317
|
height: 40px;
|
|
43324
43318
|
&:hover {
|
|
43325
43319
|
cursor: pointer;
|
|
43326
43320
|
}
|
|
43327
|
-
`,
|
|
43321
|
+
`, xf = N.div`
|
|
43328
43322
|
width: 10px;
|
|
43329
43323
|
height: 10px;
|
|
43330
43324
|
background-color: ${({ theme: e }) => e.success.text};
|
|
43331
43325
|
border-radius: 50%;
|
|
43332
|
-
`,
|
|
43326
|
+
`, gf = N(V)`
|
|
43333
43327
|
max-width: calc(100% - 100px);
|
|
43334
43328
|
overflow: hidden;
|
|
43335
|
-
`,
|
|
43329
|
+
`, ff = () => {
|
|
43336
43330
|
var r;
|
|
43337
43331
|
const e = De(), n = X(An), o = on(), [i, t] = pe(void 0), c = R(Wn), a = W(
|
|
43338
43332
|
() => c.sort((s, l) => l.timestamp - s.timestamp),
|
|
@@ -43349,7 +43343,7 @@ const m3 = (e) => {
|
|
|
43349
43343
|
}
|
|
43350
43344
|
}
|
|
43351
43345
|
),
|
|
43352
|
-
/* @__PURE__ */ m(
|
|
43346
|
+
/* @__PURE__ */ m(bf, { gap: 5, children: /* @__PURE__ */ m(
|
|
43353
43347
|
wa,
|
|
43354
43348
|
{
|
|
43355
43349
|
listItems: a,
|
|
@@ -43360,7 +43354,7 @@ const m3 = (e) => {
|
|
|
43360
43354
|
},
|
|
43361
43355
|
itemHeight: 1,
|
|
43362
43356
|
renderItem: (s, l) => /* @__PURE__ */ m(
|
|
43363
|
-
|
|
43357
|
+
uf,
|
|
43364
43358
|
{
|
|
43365
43359
|
index: l,
|
|
43366
43360
|
txHistoryItem: s,
|
|
@@ -43374,7 +43368,7 @@ const m3 = (e) => {
|
|
|
43374
43368
|
) }),
|
|
43375
43369
|
/* @__PURE__ */ m(Ca, {})
|
|
43376
43370
|
] });
|
|
43377
|
-
},
|
|
43371
|
+
}, bf = N(he)`
|
|
43378
43372
|
position: relative;
|
|
43379
43373
|
padding: 20px;
|
|
43380
43374
|
width: 100%;
|
|
@@ -43416,11 +43410,11 @@ const m3 = (e) => {
|
|
|
43416
43410
|
onError: (i) => {
|
|
43417
43411
|
Yi(i), o({ errorType: Pe.Unexpected, error: i });
|
|
43418
43412
|
},
|
|
43419
|
-
children: /* @__PURE__ */ m(
|
|
43413
|
+
children: /* @__PURE__ */ m(ff, {})
|
|
43420
43414
|
}
|
|
43421
43415
|
);
|
|
43422
43416
|
}
|
|
43423
|
-
},
|
|
43417
|
+
}, Af = ({ children: e }) => {
|
|
43424
43418
|
var i, t;
|
|
43425
43419
|
const n = R(yi), o = R(tl);
|
|
43426
43420
|
return /* @__PURE__ */ m(
|
|
@@ -43448,7 +43442,7 @@ const m3 = (e) => {
|
|
|
43448
43442
|
children: e
|
|
43449
43443
|
}
|
|
43450
43444
|
);
|
|
43451
|
-
},
|
|
43445
|
+
}, Cf = ({ children: e, wagmiConfig: n }) => /* @__PURE__ */ m(
|
|
43452
43446
|
Pp,
|
|
43453
43447
|
{
|
|
43454
43448
|
config: n || aa,
|
|
@@ -43456,7 +43450,7 @@ const m3 = (e) => {
|
|
|
43456
43450
|
children: e
|
|
43457
43451
|
},
|
|
43458
43452
|
"skip-widget-wagmi-provider"
|
|
43459
|
-
), ep = ({ children: e }) => /* @__PURE__ */ m(
|
|
43453
|
+
), ep = ({ children: e }) => /* @__PURE__ */ m(Af, { children: /* @__PURE__ */ m(Cf, { children: e }) }), kf = (e) => {
|
|
43460
43454
|
const n = X(Ee), o = X(pn), i = X(Fi), t = X(zt), [{ data: c }] = de(bn), a = ze(
|
|
43461
43455
|
(r, s) => {
|
|
43462
43456
|
if (!(!r || !s) && c)
|
|
@@ -43488,7 +43482,7 @@ const m3 = (e) => {
|
|
|
43488
43482
|
]);
|
|
43489
43483
|
}, np = (e) => {
|
|
43490
43484
|
var u;
|
|
43491
|
-
|
|
43485
|
+
kf(e.defaultRoute), wf(e);
|
|
43492
43486
|
const n = X(ra), o = X(Ul), i = X(Tn), t = X(lm), c = X(ba), a = X(yi), r = X(tl), s = X(Mi), l = W(() => {
|
|
43493
43487
|
const { apiUrl: d, chainIdsToAffiliates: x, endpointOptions: b } = e, w = {
|
|
43494
43488
|
apiUrl: d,
|
|
@@ -43545,7 +43539,7 @@ const m3 = (e) => {
|
|
|
43545
43539
|
r,
|
|
43546
43540
|
s
|
|
43547
43541
|
]), { theme: p };
|
|
43548
|
-
},
|
|
43542
|
+
}, wf = (e) => {
|
|
43549
43543
|
const n = X(cl), o = X(Et);
|
|
43550
43544
|
xe(() => {
|
|
43551
43545
|
o(e.connectedAddresses);
|
|
@@ -43557,25 +43551,26 @@ const m3 = (e) => {
|
|
|
43557
43551
|
...e.getSVMSigner && { getSVMSigner: e.getSVMSigner }
|
|
43558
43552
|
}));
|
|
43559
43553
|
}, [e.getCosmosSigner, e.getEVMSigner, e.getSVMSigner, n]);
|
|
43560
|
-
}, op = new Gp(),
|
|
43554
|
+
}, op = new Gp(), i3 = (e) => {
|
|
43561
43555
|
const { theme: n } = np(e);
|
|
43562
43556
|
return /* @__PURE__ */ m(_c, { theme: n, children: /* @__PURE__ */ m(ep, { children: /* @__PURE__ */ m(ws, { client: op, children: /* @__PURE__ */ m(oe.Provider, { children: /* @__PURE__ */ m(ip, { children: /* @__PURE__ */ m($m, {}) }) }) }, "skip-widget") }) });
|
|
43563
|
-
},
|
|
43557
|
+
}, yf = (e) => {
|
|
43564
43558
|
const { theme: n } = np(e);
|
|
43565
43559
|
return /* @__PURE__ */ m(_c, { theme: n, children: /* @__PURE__ */ m(ep, { children: /* @__PURE__ */ m(ws, { client: op, children: /* @__PURE__ */ m(ip, { children: /* @__PURE__ */ m($m, {}) }) }, "skip-widget") }) });
|
|
43566
|
-
},
|
|
43567
|
-
const o = Wc(Uo(() => /* @__PURE__ */ m(
|
|
43560
|
+
}, t3 = ({ button: e = /* @__PURE__ */ m("button", { children: "show widget" }), ...n }) => {
|
|
43561
|
+
const o = Wc(Uo(() => /* @__PURE__ */ m(yf, { ...n }))), t = rp(e, { onClick: () => {
|
|
43568
43562
|
o.show();
|
|
43569
43563
|
} });
|
|
43570
43564
|
return /* @__PURE__ */ m(Ce, { children: t });
|
|
43571
43565
|
}, ip = ({ children: e }) => (xe(() => {
|
|
43572
43566
|
Q1();
|
|
43573
|
-
}, []), /* @__PURE__ */ m(
|
|
43567
|
+
}, []), /* @__PURE__ */ m(vf, { children: /* @__PURE__ */ m(nl, { children: e }) })), vf = N.div`
|
|
43574
43568
|
width: 100%;
|
|
43575
43569
|
position: relative;
|
|
43576
43570
|
`;
|
|
43577
43571
|
Ip({
|
|
43578
43572
|
dsn: "https://10ce608bdd1c68a13d3849d6b242333c@o4504768725909504.ingest.us.sentry.io/4508485201231872",
|
|
43573
|
+
tunnel: "https://go.skip.build/api/sentry",
|
|
43579
43574
|
defaultIntegrations: !1,
|
|
43580
43575
|
denyUrls: [/^https?:\/\/localhost:.*/],
|
|
43581
43576
|
integrations: [
|
|
@@ -43603,12 +43598,12 @@ Ip({
|
|
|
43603
43598
|
replaysOnErrorSampleRate: 1
|
|
43604
43599
|
});
|
|
43605
43600
|
export {
|
|
43606
|
-
|
|
43607
|
-
|
|
43601
|
+
t3 as S,
|
|
43602
|
+
i3 as W,
|
|
43608
43603
|
ch as a,
|
|
43609
43604
|
Je as c,
|
|
43610
43605
|
et as d,
|
|
43611
|
-
|
|
43606
|
+
o3 as g,
|
|
43612
43607
|
hu as l,
|
|
43613
43608
|
te as p
|
|
43614
43609
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-
|
|
1
|
+
import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-CYY2hp-7.js";
|
|
2
2
|
import qg, { PROPOSAL_EXPIRY_MESSAGE } from "@walletconnect/sign-client";
|
|
3
3
|
const global = globalThis || void 0 || self;
|
|
4
4
|
var buffer$1 = {}, base64Js = {};
|
package/build/index.js
CHANGED