@paypay/mini-app-js-sdk 1.47.0 → 1.48.0

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.
@@ -85,8 +85,8 @@ function normalizeNativeResponseData(data2) {
85
85
  }
86
86
  class JsBridge {
87
87
  constructor(global2) {
88
- this.version = "1.47.0";
89
- this.revision = "24fba29";
88
+ this.version = "1.48.0";
89
+ this.revision = "962847a";
90
90
  this.messageHandlers = new Map();
91
91
  this.responseCallbacks = new Map();
92
92
  this.global = global2;
@@ -1563,6 +1563,131 @@ function getUserLocationRequest(params) {
1563
1563
  function isValidUrl(urlChallenge) {
1564
1564
  return /^https?:\/\//.test(urlChallenge);
1565
1565
  }
1566
+ async function initAppDetail(accessToken) {
1567
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w;
1568
+ const res = await ppFetch2({
1569
+ method: "GET",
1570
+ url: "web-api/app/v1/apps/detail",
1571
+ headers: { Authorization: `Bearer ${accessToken}` }
1572
+ });
1573
+ if ((res == null ? void 0 : res.ppFetchResult) !== "success" || !((_b = (_a = res == null ? void 0 : res.body) == null ? void 0 : _a.unsigned) == null ? void 0 : _b.data)) {
1574
+ removeAppDetail();
1575
+ return false;
1576
+ }
1577
+ saveAppDetail(JSON.stringify({
1578
+ appLogo: (_e = (_d = (_c = res == null ? void 0 : res.body) == null ? void 0 : _c.unsigned) == null ? void 0 : _d.data) == null ? void 0 : _e.appLogo,
1579
+ appName: (_h = (_g = (_f = res == null ? void 0 : res.body) == null ? void 0 : _f.unsigned) == null ? void 0 : _g.data) == null ? void 0 : _h.appName,
1580
+ openUrl: (_k = (_j = (_i = res == null ? void 0 : res.body) == null ? void 0 : _i.unsigned) == null ? void 0 : _j.data) == null ? void 0 : _k.openUrl,
1581
+ whiteListDomains: (_n = (_m = (_l = res == null ? void 0 : res.body) == null ? void 0 : _l.unsigned) == null ? void 0 : _m.data) == null ? void 0 : _n.whiteListDomains,
1582
+ isInternal: (_q = (_p = (_o = res == null ? void 0 : res.body) == null ? void 0 : _o.unsigned) == null ? void 0 : _p.data) == null ? void 0 : _q.isInternal,
1583
+ window: (_t = (_s = (_r = res == null ? void 0 : res.body) == null ? void 0 : _r.unsigned) == null ? void 0 : _s.data) == null ? void 0 : _t.window,
1584
+ subdomainCookieSharing: (_w = (_v = (_u = res == null ? void 0 : res.body) == null ? void 0 : _u.unsigned) == null ? void 0 : _v.data) == null ? void 0 : _w.subdomainCookieSharing
1585
+ }));
1586
+ return true;
1587
+ }
1588
+ function getAppDetail() {
1589
+ const json = getAppDetail$1();
1590
+ if (json) {
1591
+ return JSON.parse(json);
1592
+ }
1593
+ return null;
1594
+ }
1595
+ function reconstructParams(params) {
1596
+ if (!params)
1597
+ return params;
1598
+ const _a = params, { success: success2, complete, fail } = _a, data2 = __objRest(_a, ["success", "complete", "fail"]);
1599
+ return __spreadProps(__spreadValues({}, data2), {
1600
+ success: (result2) => {
1601
+ setTimeout(() => {
1602
+ success2 == null ? void 0 : success2(result2);
1603
+ }, 0);
1604
+ setTimeout(() => {
1605
+ complete == null ? void 0 : complete();
1606
+ }, 0);
1607
+ },
1608
+ fail: (result2) => {
1609
+ setTimeout(() => {
1610
+ fail == null ? void 0 : fail(result2);
1611
+ }, 0);
1612
+ setTimeout(() => {
1613
+ complete == null ? void 0 : complete();
1614
+ }, 0);
1615
+ }
1616
+ });
1617
+ }
1618
+ function openWebview(openWebviewParams) {
1619
+ var _a, _b, _c, _d;
1620
+ const params = reconstructParams(openWebviewParams);
1621
+ let url;
1622
+ let openUrl2 = null;
1623
+ const appDetail = getAppDetail();
1624
+ try {
1625
+ url = new URL(params == null ? void 0 : params.url);
1626
+ } catch (error2) {
1627
+ (_a = params == null ? void 0 : params.fail) == null ? void 0 : _a.call(params, {
1628
+ errorCode: MiniAppErrorType.invalidUrl
1629
+ });
1630
+ return;
1631
+ }
1632
+ try {
1633
+ openUrl2 = appDetail ? new URL(appDetail.openUrl) : null;
1634
+ } catch (_) {
1635
+ }
1636
+ if (params == null ? void 0 : params.authorization) {
1637
+ params.url = getAuthUrl(params.url);
1638
+ openWebviewInternal(params);
1639
+ } else if (["http:", "https:"].includes(url.protocol) && ((params == null ? void 0 : params.style) === "external" || ((_b = appDetail == null ? void 0 : appDetail.whiteListDomains) == null ? void 0 : _b.includes(url.host)) || url.host === (openUrl2 == null ? void 0 : openUrl2.host))) {
1640
+ openWebviewInternal(params);
1641
+ } else {
1642
+ return (_c = params == null ? void 0 : params.fail) == null ? void 0 : _c.call(params, {
1643
+ errorCode: MiniAppErrorType.whiteListError
1644
+ });
1645
+ }
1646
+ (_d = params == null ? void 0 : params.success) == null ? void 0 : _d.call(params);
1647
+ }
1648
+ function openWebviewInternal(params) {
1649
+ var _a, _b;
1650
+ let url;
1651
+ try {
1652
+ url = new URL(params == null ? void 0 : params.url);
1653
+ } catch (_) {
1654
+ }
1655
+ if (isPayPayMiniApp() && url) {
1656
+ if (["http:", "https:"].includes(url.protocol)) {
1657
+ url.searchParams.set("ppOpenWebview", (_a = params == null ? void 0 : params.style) != null ? _a : "modal");
1658
+ }
1659
+ window.location.href = url.toString();
1660
+ } else if (url) {
1661
+ if (["http:", "https:"].includes(url.protocol)) {
1662
+ (_b = window.open(url.toString(), "_blank")) == null ? void 0 : _b.focus();
1663
+ } else {
1664
+ window.location.href = url.toString();
1665
+ }
1666
+ }
1667
+ }
1668
+ function getAuthUrl(redirectUrl) {
1669
+ var _a;
1670
+ let authUrl = "";
1671
+ switch (getEnv()) {
1672
+ case "staging":
1673
+ authUrl = "https://stg-www.paypay-corp.co.jp";
1674
+ break;
1675
+ case "sandbox":
1676
+ authUrl = "https://stg-www.sandbox.paypay.ne.jp";
1677
+ break;
1678
+ case "canary":
1679
+ authUrl = "https://www-prod-canary.paypay.ne.jp";
1680
+ break;
1681
+ case "qa":
1682
+ authUrl = "https://www.qa.stg.paypay.ne.jp";
1683
+ break;
1684
+ case "production":
1685
+ default:
1686
+ authUrl = "https://www.paypay.ne.jp";
1687
+ }
1688
+ const clientId = (_a = getClientId()) != null ? _a : "";
1689
+ return `${authUrl}/portal/auth/mini-app/permission?clientId=${clientId}&redirectUrl=${encodeURIComponent(redirectUrl)}`;
1690
+ }
1566
1691
  function isDef(val2) {
1567
1692
  return val2 !== void 0 && val2 !== null;
1568
1693
  }
@@ -1738,11 +1863,14 @@ function handleHeightResize(el, windowHeight, isScrollable, offsetHeight) {
1738
1863
  return false;
1739
1864
  }
1740
1865
  }
1741
- function getPaymentMethodStatus(isExpired, val2) {
1866
+ function getPaymentMethodStatus(isExpired, paymentMethodInfo) {
1742
1867
  const lg2 = getLanguage();
1743
1868
  if (isExpired)
1744
1869
  return lg2.paymentMethod.expired;
1745
- return val2 && val2 in PaymentMethodStatus ? lg2.paymentMethodStatus[val2] : "";
1870
+ const { paymentMethodStatus: paymentMethodStatus2, paymentMethodStatusLabel } = paymentMethodInfo || {};
1871
+ if (paymentMethodStatusLabel)
1872
+ return paymentMethodStatusLabel;
1873
+ return paymentMethodStatus2 && paymentMethodStatus2 in PaymentMethodStatus ? lg2.paymentMethodStatus[paymentMethodStatus2] : "";
1746
1874
  }
1747
1875
  function filterErrorButtonList(buttonList) {
1748
1876
  return buttonList == null ? void 0 : buttonList.filter((button4) => {
@@ -1791,6 +1919,23 @@ async function generateCodeChallange(codeVerifier) {
1791
1919
  const hash = await crypto.subtle.digest("SHA-256", array);
1792
1920
  return base64UrlEncode(String.fromCharCode(...new Uint8Array(hash)));
1793
1921
  }
1922
+ function openUrl(linkUrl) {
1923
+ if (!linkUrl)
1924
+ return;
1925
+ if (isValidUrl(linkUrl)) {
1926
+ openWebviewInternal({ url: linkUrl });
1927
+ return;
1928
+ }
1929
+ try {
1930
+ const url = new URL(linkUrl);
1931
+ const urlParam = url.searchParams.get("url");
1932
+ if (urlParam && linkUrl.startsWith("paypay://embed")) {
1933
+ openWebviewInternal({ url: urlParam });
1934
+ return;
1935
+ }
1936
+ } catch (_) {
1937
+ }
1938
+ }
1794
1939
  const opaUrl = () => {
1795
1940
  switch (getEnv()) {
1796
1941
  case "staging":
@@ -1811,7 +1956,7 @@ const opaUrl = () => {
1811
1956
  const createHeaderMiniAppApi = (urlEndpoint, customHeaders) => {
1812
1957
  let headers = new Headers(__spreadValues({
1813
1958
  "Content-Type": "application/json",
1814
- "Client-Version": "1.47.0",
1959
+ "Client-Version": "1.48.0",
1815
1960
  "Client-OS-Type": getRuntime()
1816
1961
  }, customHeaders));
1817
1962
  if (urlEndpoint === "web-api/app/v2/payment/methods" || urlEndpoint === "web-api/app/v2/payment/consult" || urlEndpoint === "web-api/app/v1/payment/cashbackDetail" || urlEndpoint === "web-api/app/v1/confirmAgeForCashback" || urlEndpoint === "web-api/app/v1/internal/request" || urlEndpoint === "web-api/app/v1/addressbyzip" || urlEndpoint === "/web-api/app/platform/v1/balance" || urlEndpoint === "web-api/app/v1/users/autoTopupConfiguration" || urlEndpoint === "web-api/app/v1/users/preTransactionAutoTopupConfiguration") {
@@ -1964,35 +2109,6 @@ async function refreshToken() {
1964
2109
  }
1965
2110
  return false;
1966
2111
  }
1967
- async function initAppDetail(accessToken) {
1968
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w;
1969
- const res = await ppFetch2({
1970
- method: "GET",
1971
- url: "web-api/app/v1/apps/detail",
1972
- headers: { Authorization: `Bearer ${accessToken}` }
1973
- });
1974
- if ((res == null ? void 0 : res.ppFetchResult) !== "success" || !((_b = (_a = res == null ? void 0 : res.body) == null ? void 0 : _a.unsigned) == null ? void 0 : _b.data)) {
1975
- removeAppDetail();
1976
- return false;
1977
- }
1978
- saveAppDetail(JSON.stringify({
1979
- appLogo: (_e = (_d = (_c = res == null ? void 0 : res.body) == null ? void 0 : _c.unsigned) == null ? void 0 : _d.data) == null ? void 0 : _e.appLogo,
1980
- appName: (_h = (_g = (_f = res == null ? void 0 : res.body) == null ? void 0 : _f.unsigned) == null ? void 0 : _g.data) == null ? void 0 : _h.appName,
1981
- openUrl: (_k = (_j = (_i = res == null ? void 0 : res.body) == null ? void 0 : _i.unsigned) == null ? void 0 : _j.data) == null ? void 0 : _k.openUrl,
1982
- whiteListDomains: (_n = (_m = (_l = res == null ? void 0 : res.body) == null ? void 0 : _l.unsigned) == null ? void 0 : _m.data) == null ? void 0 : _n.whiteListDomains,
1983
- isInternal: (_q = (_p = (_o = res == null ? void 0 : res.body) == null ? void 0 : _o.unsigned) == null ? void 0 : _p.data) == null ? void 0 : _q.isInternal,
1984
- window: (_t = (_s = (_r = res == null ? void 0 : res.body) == null ? void 0 : _r.unsigned) == null ? void 0 : _s.data) == null ? void 0 : _t.window,
1985
- subdomainCookieSharing: (_w = (_v = (_u = res == null ? void 0 : res.body) == null ? void 0 : _u.unsigned) == null ? void 0 : _v.data) == null ? void 0 : _w.subdomainCookieSharing
1986
- }));
1987
- return true;
1988
- }
1989
- function getAppDetail() {
1990
- const json = getAppDetail$1();
1991
- if (json) {
1992
- return JSON.parse(json);
1993
- }
1994
- return null;
1995
- }
1996
2112
  async function initAppConfiguration() {
1997
2113
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
1998
2114
  const res = await ppFetch2({
@@ -2021,29 +2137,6 @@ function getAppConfig() {
2021
2137
  }
2022
2138
  return null;
2023
2139
  }
2024
- function reconstructParams(params) {
2025
- if (!params)
2026
- return params;
2027
- const _a = params, { success: success2, complete, fail } = _a, data2 = __objRest(_a, ["success", "complete", "fail"]);
2028
- return __spreadProps(__spreadValues({}, data2), {
2029
- success: (result2) => {
2030
- setTimeout(() => {
2031
- success2 == null ? void 0 : success2(result2);
2032
- }, 0);
2033
- setTimeout(() => {
2034
- complete == null ? void 0 : complete();
2035
- }, 0);
2036
- },
2037
- fail: (result2) => {
2038
- setTimeout(() => {
2039
- fail == null ? void 0 : fail(result2);
2040
- }, 0);
2041
- setTimeout(() => {
2042
- complete == null ? void 0 : complete();
2043
- }, 0);
2044
- }
2045
- });
2046
- }
2047
2140
  var MiniAppStatusType;
2048
2141
  (function(MiniAppStatusType2) {
2049
2142
  MiniAppStatusType2["validToken"] = "TOKEN_VALID";
@@ -7595,7 +7688,8 @@ async function execute$c(params) {
7595
7688
  });
7596
7689
  }
7597
7690
  }
7598
- const urlParams = new URLSearchParams(window.location.search);
7691
+ const url = new URL(window.location.href);
7692
+ const urlParams = url.searchParams;
7599
7693
  let token = urlParams == null ? void 0 : urlParams.get("token");
7600
7694
  if (!token || token.length < 1) {
7601
7695
  token = urlParams == null ? void 0 : urlParams.get("one_time_token");
@@ -7608,9 +7702,8 @@ async function execute$c(params) {
7608
7702
  }
7609
7703
  urlParams.delete("token");
7610
7704
  urlParams.delete("one_time_token");
7611
- const newUrlParams = urlParams.toString().length ? "?" + urlParams.toString() : "";
7612
- const newUrl = location.pathname + newUrlParams + location.hash;
7613
- history.replaceState(null, "", newUrl);
7705
+ url.search = urlParams.toString();
7706
+ history.replaceState(null, "", url);
7614
7707
  const codeVerifier = getCodeVerifier();
7615
7708
  const res = await ppFetch2({
7616
7709
  method: "POST",
@@ -7689,87 +7782,14 @@ function copyToClipboard(copyTextParams) {
7689
7782
  document.body.removeChild(textarea);
7690
7783
  result2 ? (_a = params == null ? void 0 : params.success) == null ? void 0 : _a.call(params) : (_b = params == null ? void 0 : params.fail) == null ? void 0 : _b.call(params, { errorCode: MiniAppErrorType.other });
7691
7784
  }
7692
- function openWebview(openWebviewParams) {
7693
- var _a, _b, _c, _d;
7694
- const params = reconstructParams(openWebviewParams);
7695
- let url;
7696
- let openUrl = null;
7697
- const appDetail = getAppDetail();
7698
- try {
7699
- url = new URL(params == null ? void 0 : params.url);
7700
- } catch (error2) {
7701
- (_a = params == null ? void 0 : params.fail) == null ? void 0 : _a.call(params, {
7702
- errorCode: MiniAppErrorType.invalidUrl
7703
- });
7704
- return;
7705
- }
7706
- try {
7707
- openUrl = appDetail ? new URL(appDetail.openUrl) : null;
7708
- } catch (_) {
7709
- }
7710
- if (params == null ? void 0 : params.authorization) {
7711
- params.url = getAuthUrl(params.url);
7712
- openWebviewInternal(params);
7713
- } else if (["http:", "https:"].includes(url.protocol) && ((params == null ? void 0 : params.style) === "external" || ((_b = appDetail == null ? void 0 : appDetail.whiteListDomains) == null ? void 0 : _b.includes(url.host)) || url.host === (openUrl == null ? void 0 : openUrl.host))) {
7714
- openWebviewInternal(params);
7715
- } else {
7716
- return (_c = params == null ? void 0 : params.fail) == null ? void 0 : _c.call(params, {
7717
- errorCode: MiniAppErrorType.whiteListError
7718
- });
7719
- }
7720
- (_d = params == null ? void 0 : params.success) == null ? void 0 : _d.call(params);
7721
- }
7722
- function openWebviewInternal(params) {
7723
- var _a, _b;
7724
- let url;
7725
- try {
7726
- url = new URL(params == null ? void 0 : params.url);
7727
- } catch (_) {
7728
- }
7729
- if (isPayPayMiniApp() && url) {
7730
- if (["http:", "https:"].includes(url.protocol)) {
7731
- url.searchParams.set("ppOpenWebview", (_a = params == null ? void 0 : params.style) != null ? _a : "modal");
7732
- }
7733
- window.location.href = url.toString();
7734
- } else if (url) {
7735
- if (["http:", "https:"].includes(url.protocol)) {
7736
- (_b = window.open(url.toString(), "_blank")) == null ? void 0 : _b.focus();
7737
- } else {
7738
- window.location.href = url.toString();
7739
- }
7740
- }
7741
- }
7742
- function getAuthUrl(redirectUrl) {
7743
- var _a;
7744
- let authUrl = "";
7745
- switch (getEnv()) {
7746
- case "staging":
7747
- authUrl = "https://stg-www.paypay-corp.co.jp";
7748
- break;
7749
- case "sandbox":
7750
- authUrl = "https://stg-www.sandbox.paypay.ne.jp";
7751
- break;
7752
- case "canary":
7753
- authUrl = "https://www-prod-canary.paypay.ne.jp";
7754
- break;
7755
- case "qa":
7756
- authUrl = "https://www.qa.stg.paypay.ne.jp";
7757
- break;
7758
- case "production":
7759
- default:
7760
- authUrl = "https://www.paypay.ne.jp";
7761
- }
7762
- const clientId = (_a = getClientId()) != null ? _a : "";
7763
- return `${authUrl}/portal/auth/mini-app/permission?clientId=${clientId}&redirectUrl=${encodeURIComponent(redirectUrl)}`;
7764
- }
7765
- var _sfc_main$1A = defineComponent({
7785
+ var _sfc_main$1B = defineComponent({
7766
7786
  name: "LoadingIndicator"
7767
7787
  });
7768
7788
  const loading$1 = "_loading_ovc6l_1";
7769
7789
  const bounce = "_bounce_ovc6l_14";
7770
7790
  const bounce1 = "_bounce1_ovc6l_14";
7771
7791
  const bounce2 = "_bounce2_ovc6l_17";
7772
- var style0$1p = {
7792
+ var style0$1q = {
7773
7793
  loading: loading$1,
7774
7794
  bounce,
7775
7795
  bounce1,
@@ -7783,7 +7803,7 @@ var _export_sfc = (sfc, props) => {
7783
7803
  return target;
7784
7804
  };
7785
7805
  const _hoisted_1$W = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
7786
- function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
7806
+ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
7787
7807
  return openBlock(), createElementBlock("div", {
7788
7808
  class: normalizeClass(_ctx.$style.loading)
7789
7809
  }, [
@@ -7796,9 +7816,9 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
7796
7816
  _hoisted_1$W
7797
7817
  ], 2);
7798
7818
  }
7799
- const cssModules$1p = {};
7800
- cssModules$1p["$style"] = style0$1p;
7801
- var LoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1A], ["__cssModules", cssModules$1p]]);
7819
+ const cssModules$1q = {};
7820
+ cssModules$1q["$style"] = style0$1q;
7821
+ var LoadingIndicator = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1B], ["__cssModules", cssModules$1q]]);
7802
7822
  const buttonWrapper = "_buttonWrapper_1a5ed_2";
7803
7823
  const container$A = "_container_1a5ed_2";
7804
7824
  const primary = "_primary_1a5ed_24";
@@ -8402,7 +8422,7 @@ const errorTitle = "_errorTitle_86qa7_25";
8402
8422
  const subTitle$2 = "_subTitle_86qa7_33";
8403
8423
  const btnContainer$2 = "_btnContainer_86qa7_41";
8404
8424
  const closeBtn$3 = "_closeBtn_86qa7_45";
8405
- var style0$1o = {
8425
+ var style0$1p = {
8406
8426
  "ppmna-default-font": "_ppmna-default-font_86qa7_1",
8407
8427
  errorContainer,
8408
8428
  errorIcon,
@@ -8412,7 +8432,7 @@ var style0$1o = {
8412
8432
  btnContainer: btnContainer$2,
8413
8433
  closeBtn: closeBtn$3
8414
8434
  };
8415
- const _sfc_main$1z = defineComponent({
8435
+ const _sfc_main$1A = defineComponent({
8416
8436
  components: {
8417
8437
  ActionSheet,
8418
8438
  Button
@@ -8528,7 +8548,7 @@ const _sfc_main$1z = defineComponent({
8528
8548
  }
8529
8549
  });
8530
8550
  const _hoisted_1$V = ["src"];
8531
- function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
8551
+ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
8532
8552
  const _component_Button = resolveComponent("Button");
8533
8553
  const _component_ActionSheet = resolveComponent("ActionSheet");
8534
8554
  return openBlock(), createBlock(_component_ActionSheet, {
@@ -8597,10 +8617,10 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
8597
8617
  _: 1
8598
8618
  }, 8, ["show"]);
8599
8619
  }
8600
- const cssModules$1o = {};
8601
- cssModules$1o["$style"] = style0$1o;
8602
- var ErrorSheet = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1z], ["__cssModules", cssModules$1o]]);
8603
- const wrapperClass$p = "_wrapperClass_hgr81_2";
8620
+ const cssModules$1p = {};
8621
+ cssModules$1p["$style"] = style0$1p;
8622
+ var ErrorSheet = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1A], ["__cssModules", cssModules$1p]]);
8623
+ const wrapperClass$q = "_wrapperClass_hgr81_2";
8604
8624
  const openMapActionsheetContainer = "_openMapActionsheetContainer_hgr81_2";
8605
8625
  const openMapTitle = "_openMapTitle_hgr81_13";
8606
8626
  const openMapActionsheetMain = "_openMapActionsheetMain_hgr81_19";
@@ -8608,9 +8628,9 @@ const divider = "_divider_hgr81_26";
8608
8628
  const mapButton = "_mapButton_hgr81_29";
8609
8629
  const closeBtn$2 = "_closeBtn_hgr81_36";
8610
8630
  const mapList = "_mapList_hgr81_48";
8611
- var style0$1n = {
8631
+ var style0$1o = {
8612
8632
  "ppmna-default-font": "_ppmna-default-font_hgr81_1",
8613
- wrapperClass: wrapperClass$p,
8633
+ wrapperClass: wrapperClass$q,
8614
8634
  openMapActionsheetContainer,
8615
8635
  openMapTitle,
8616
8636
  openMapActionsheetMain,
@@ -8619,7 +8639,7 @@ var style0$1n = {
8619
8639
  closeBtn: closeBtn$2,
8620
8640
  mapList
8621
8641
  };
8622
- const _sfc_main$1y = defineComponent({
8642
+ const _sfc_main$1z = defineComponent({
8623
8643
  components: {
8624
8644
  ActionSheet,
8625
8645
  Button,
@@ -8671,7 +8691,7 @@ const _sfc_main$1y = defineComponent({
8671
8691
  }
8672
8692
  });
8673
8693
  const _hoisted_1$U = /* @__PURE__ */ createTextVNode(" \u30AD\u30E3\u30F3\u30BB\u30EB ");
8674
- function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
8694
+ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
8675
8695
  const _component_Divider = resolveComponent("Divider");
8676
8696
  const _component_Button = resolveComponent("Button");
8677
8697
  const _component_ActionSheet = resolveComponent("ActionSheet");
@@ -8741,9 +8761,9 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
8741
8761
  }, null, 8, ["show", "error-text"])
8742
8762
  ], 64);
8743
8763
  }
8744
- const cssModules$1n = {};
8745
- cssModules$1n["$style"] = style0$1n;
8746
- var AppVue$8 = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1y], ["__cssModules", cssModules$1n]]);
8764
+ const cssModules$1o = {};
8765
+ cssModules$1o["$style"] = style0$1o;
8766
+ var AppVue$8 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1z], ["__cssModules", cssModules$1o]]);
8747
8767
  const popStateHandler = (callback, inputParams) => {
8748
8768
  const handlePopState = () => {
8749
8769
  var _a, _b;
@@ -9237,7 +9257,7 @@ function useBreakpoints() {
9237
9257
  windowHeight: computed(() => windowHeight.value)
9238
9258
  };
9239
9259
  }
9240
- const wrapperClass$o = "_wrapperClass_1k2lr_1";
9260
+ const wrapperClass$p = "_wrapperClass_1k2lr_1";
9241
9261
  const breakDownList = "_breakDownList_1k2lr_1";
9242
9262
  const nonUsable = "_nonUsable_1k2lr_17";
9243
9263
  const breakDownEnter = "_breakDownEnter_1k2lr_35";
@@ -9247,8 +9267,8 @@ const enterActive = "_enterActive_1k2lr_55";
9247
9267
  const leaveActive = "_leaveActive_1k2lr_60";
9248
9268
  const enterTo = "_enterTo_1k2lr_65";
9249
9269
  const leaveTo = "_leaveTo_1k2lr_69";
9250
- var style0$1m = {
9251
- wrapperClass: wrapperClass$o,
9270
+ var style0$1n = {
9271
+ wrapperClass: wrapperClass$p,
9252
9272
  breakDownList,
9253
9273
  nonUsable,
9254
9274
  breakDownEnter,
@@ -9259,7 +9279,7 @@ var style0$1m = {
9259
9279
  enterTo,
9260
9280
  leaveTo
9261
9281
  };
9262
- const _sfc_main$1x = defineComponent({
9282
+ const _sfc_main$1y = defineComponent({
9263
9283
  props: {
9264
9284
  wallet: {
9265
9285
  type: Object,
@@ -9300,7 +9320,7 @@ const _sfc_main$1x = defineComponent({
9300
9320
  };
9301
9321
  }
9302
9322
  });
9303
- function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
9323
+ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
9304
9324
  return openBlock(), createElementBlock("div", {
9305
9325
  class: normalizeClass(_ctx.$style.wrapperClass)
9306
9326
  }, [
@@ -9363,10 +9383,10 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
9363
9383
  }, 8, ["enter-active-class", "leave-active-class", "enter-to-class", "leave-to-class"])
9364
9384
  ], 2);
9365
9385
  }
9366
- const cssModules$1m = {};
9367
- cssModules$1m["$style"] = style0$1m;
9368
- var WalletBreakdown = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1x], ["__cssModules", cssModules$1m]]);
9369
- const wrapperClass$n = "_wrapperClass_123gn_1";
9386
+ const cssModules$1n = {};
9387
+ cssModules$1n["$style"] = style0$1n;
9388
+ var WalletBreakdown = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1y], ["__cssModules", cssModules$1n]]);
9389
+ const wrapperClass$o = "_wrapperClass_123gn_1";
9370
9390
  const ppmnaPaymentTypeContainer$4 = "_ppmnaPaymentTypeContainer_123gn_1";
9371
9391
  const img$e = "_img_123gn_5";
9372
9392
  const imgContainer$5 = "_imgContainer_123gn_18";
@@ -9384,8 +9404,8 @@ const chargeContainer = "_chargeContainer_123gn_96";
9384
9404
  const greenTick = "_greenTick_123gn_106";
9385
9405
  const autoCharge = "_autoCharge_123gn_119";
9386
9406
  const makePaymentRightAlign = "_makePaymentRightAlign_123gn_126";
9387
- var style0$1l = {
9388
- wrapperClass: wrapperClass$n,
9407
+ var style0$1m = {
9408
+ wrapperClass: wrapperClass$o,
9389
9409
  ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$4,
9390
9410
  img: img$e,
9391
9411
  imgContainer: imgContainer$5,
@@ -9404,7 +9424,7 @@ var style0$1l = {
9404
9424
  autoCharge,
9405
9425
  makePaymentRightAlign
9406
9426
  };
9407
- const _sfc_main$1w = defineComponent({
9427
+ const _sfc_main$1x = defineComponent({
9408
9428
  components: {
9409
9429
  WalletBreakdown
9410
9430
  },
@@ -9444,8 +9464,8 @@ const _sfc_main$1w = defineComponent({
9444
9464
  }
9445
9465
  });
9446
9466
  const _hoisted_1$T = ["src"];
9447
- const _hoisted_2$p = ["src"];
9448
- function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
9467
+ const _hoisted_2$s = ["src"];
9468
+ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
9449
9469
  const _component_WalletBreakdown = resolveComponent("WalletBreakdown");
9450
9470
  return openBlock(), createElementBlock("div", {
9451
9471
  class: normalizeClass([
@@ -9483,7 +9503,7 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
9483
9503
  class: normalizeClass(_ctx.$style.greenTick),
9484
9504
  src: _ctx.images.checkGreen,
9485
9505
  alt: "green-tick"
9486
- }, null, 10, _hoisted_2$p),
9506
+ }, null, 10, _hoisted_2$s),
9487
9507
  createBaseVNode("span", {
9488
9508
  class: normalizeClass(_ctx.$style.autoCharge)
9489
9509
  }, toDisplayString(_ctx.lg.wallet.autoCharge), 3)
@@ -9507,10 +9527,10 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
9507
9527
  ], 2)
9508
9528
  ], 2);
9509
9529
  }
9510
- const cssModules$1l = {};
9511
- cssModules$1l["$style"] = style0$1l;
9512
- var WalletType = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1w], ["__cssModules", cssModules$1l]]);
9513
- const wrapperClass$m = "_wrapperClass_1cpol_1";
9530
+ const cssModules$1m = {};
9531
+ cssModules$1m["$style"] = style0$1m;
9532
+ var WalletType = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1x], ["__cssModules", cssModules$1m]]);
9533
+ const wrapperClass$n = "_wrapperClass_1cpol_1";
9514
9534
  const ppmnaPaymentTypeContainer$3 = "_ppmnaPaymentTypeContainer_1cpol_1";
9515
9535
  const img$d = "_img_1cpol_5";
9516
9536
  const imgContainer$4 = "_imgContainer_1cpol_18";
@@ -9527,14 +9547,14 @@ const auth = "_auth_1cpol_90";
9527
9547
  const authText = "_authText_1cpol_100";
9528
9548
  const cardImageContainer = "_cardImageContainer_1cpol_104";
9529
9549
  const cardImg = "_cardImg_1cpol_107";
9530
- const content$g = "_content_1cpol_111";
9550
+ const content$h = "_content_1cpol_111";
9531
9551
  const authenticated = "_authenticated_1cpol_121";
9532
9552
  const notAuthenticated = "_notAuthenticated_1cpol_124";
9533
9553
  const authorizedImg$1 = "_authorizedImg_1cpol_127";
9534
9554
  const unAuthorizedImg$1 = "_unAuthorizedImg_1cpol_136";
9535
9555
  const creditCard$1 = "_creditCard_1cpol_144";
9536
- var style0$1k = {
9537
- wrapperClass: wrapperClass$m,
9556
+ var style0$1l = {
9557
+ wrapperClass: wrapperClass$n,
9538
9558
  ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$3,
9539
9559
  img: img$d,
9540
9560
  imgContainer: imgContainer$4,
@@ -9551,7 +9571,7 @@ var style0$1k = {
9551
9571
  authText,
9552
9572
  cardImageContainer,
9553
9573
  cardImg,
9554
- content: content$g,
9574
+ content: content$h,
9555
9575
  authenticated,
9556
9576
  notAuthenticated,
9557
9577
  authorizedImg: authorizedImg$1,
@@ -9566,7 +9586,7 @@ const creditCardMap$1 = {
9566
9586
  [CreditTypes.AMEX]: img$c.amex,
9567
9587
  yj: img$c.yahoo
9568
9588
  };
9569
- const _sfc_main$1v = defineComponent({
9589
+ const _sfc_main$1w = defineComponent({
9570
9590
  props: {
9571
9591
  credit: {
9572
9592
  type: Object,
@@ -9642,8 +9662,8 @@ const _sfc_main$1v = defineComponent({
9642
9662
  }
9643
9663
  });
9644
9664
  const _hoisted_1$S = ["src"];
9645
- const _hoisted_2$o = ["src"];
9646
- function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
9665
+ const _hoisted_2$r = ["src"];
9666
+ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
9647
9667
  return openBlock(), createElementBlock("div", {
9648
9668
  class: normalizeClass([
9649
9669
  _ctx.style.wrapperClass,
@@ -9681,7 +9701,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
9681
9701
  createBaseVNode("img", {
9682
9702
  src: _ctx.authInfo.img,
9683
9703
  class: normalizeClass([_ctx.authInfo.authImg])
9684
- }, null, 10, _hoisted_2$o),
9704
+ }, null, 10, _hoisted_2$r),
9685
9705
  createBaseVNode("span", {
9686
9706
  class: normalizeClass([_ctx.style.authText])
9687
9707
  }, toDisplayString(_ctx.authInfo.text), 3)
@@ -9701,10 +9721,10 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
9701
9721
  ], 2)
9702
9722
  ], 2);
9703
9723
  }
9704
- const cssModules$1k = {};
9705
- cssModules$1k["$style"] = style0$1k;
9706
- var CreditCardType = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1v], ["__cssModules", cssModules$1k]]);
9707
- const wrapperClass$l = "_wrapperClass_insy7_1";
9724
+ const cssModules$1l = {};
9725
+ cssModules$1l["$style"] = style0$1l;
9726
+ var CreditCardType = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1w], ["__cssModules", cssModules$1l]]);
9727
+ const wrapperClass$m = "_wrapperClass_insy7_1";
9708
9728
  const ppmnaPaymentTypeContainer$2 = "_ppmnaPaymentTypeContainer_insy7_1";
9709
9729
  const img$b = "_img_insy7_5";
9710
9730
  const imgContainer$3 = "_imgContainer_insy7_18";
@@ -9718,12 +9738,12 @@ const arrowRight$2 = "_arrowRight_insy7_71";
9718
9738
  const makePaymentArrowContainer$2 = "_makePaymentArrowContainer_insy7_81";
9719
9739
  const bankImg = "_bankImg_insy7_85";
9720
9740
  const branchCode = "_branchCode_insy7_89";
9721
- const content$f = "_content_insy7_92";
9741
+ const content$g = "_content_insy7_92";
9722
9742
  const roundContainer = "_roundContainer_insy7_96";
9723
9743
  const round$2 = "_round_insy7_26";
9724
9744
  const bankName = "_bankName_insy7_102";
9725
- var style0$1j = {
9726
- wrapperClass: wrapperClass$l,
9745
+ var style0$1k = {
9746
+ wrapperClass: wrapperClass$m,
9727
9747
  ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$2,
9728
9748
  img: img$b,
9729
9749
  imgContainer: imgContainer$3,
@@ -9737,7 +9757,7 @@ var style0$1j = {
9737
9757
  makePaymentArrowContainer: makePaymentArrowContainer$2,
9738
9758
  bankImg,
9739
9759
  branchCode,
9740
- content: content$f,
9760
+ content: content$g,
9741
9761
  roundContainer,
9742
9762
  round: round$2,
9743
9763
  bankName
@@ -9751,7 +9771,7 @@ const getTypeText$2 = (val2) => {
9751
9771
  return "";
9752
9772
  }
9753
9773
  };
9754
- const _sfc_main$1u = defineComponent({
9774
+ const _sfc_main$1v = defineComponent({
9755
9775
  props: {
9756
9776
  bank: {
9757
9777
  type: Object,
@@ -9796,7 +9816,7 @@ const _sfc_main$1u = defineComponent({
9796
9816
  }
9797
9817
  });
9798
9818
  const _hoisted_1$R = ["src"];
9799
- function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
9819
+ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
9800
9820
  return openBlock(), createElementBlock("div", {
9801
9821
  class: normalizeClass([
9802
9822
  _ctx.style.wrapperClass,
@@ -9850,10 +9870,10 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
9850
9870
  ], 2)
9851
9871
  ], 2);
9852
9872
  }
9853
- const cssModules$1j = {};
9854
- cssModules$1j["$style"] = style0$1j;
9855
- var BankType = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$1u], ["__cssModules", cssModules$1j]]);
9856
- const wrapperClass$k = "_wrapperClass_101rj_1";
9873
+ const cssModules$1k = {};
9874
+ cssModules$1k["$style"] = style0$1k;
9875
+ var BankType = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1v], ["__cssModules", cssModules$1k]]);
9876
+ const wrapperClass$l = "_wrapperClass_101rj_1";
9857
9877
  const ppmnaPaymentTypeContainer$1 = "_ppmnaPaymentTypeContainer_101rj_1";
9858
9878
  const img$a = "_img_101rj_5";
9859
9879
  const imgContainer$2 = "_imgContainer_101rj_18";
@@ -9867,11 +9887,11 @@ const arrowRight$1 = "_arrowRight_101rj_71";
9867
9887
  const makePaymentArrowContainer$1 = "_makePaymentArrowContainer_101rj_81";
9868
9888
  const container$y = "_container_101rj_85";
9869
9889
  const sbidImg = "_sbidImg_101rj_97";
9870
- const content$e = "_content_101rj_105";
9890
+ const content$f = "_content_101rj_105";
9871
9891
  const desc1 = "_desc1_101rj_118";
9872
9892
  const desc2 = "_desc2_101rj_122";
9873
- var style0$1i = {
9874
- wrapperClass: wrapperClass$k,
9893
+ var style0$1j = {
9894
+ wrapperClass: wrapperClass$l,
9875
9895
  ppmnaPaymentTypeContainer: ppmnaPaymentTypeContainer$1,
9876
9896
  img: img$a,
9877
9897
  imgContainer: imgContainer$2,
@@ -9885,11 +9905,11 @@ var style0$1i = {
9885
9905
  makePaymentArrowContainer: makePaymentArrowContainer$1,
9886
9906
  container: container$y,
9887
9907
  sbidImg,
9888
- content: content$e,
9908
+ content: content$f,
9889
9909
  desc1,
9890
9910
  desc2
9891
9911
  };
9892
- const _sfc_main$1t = defineComponent({
9912
+ const _sfc_main$1u = defineComponent({
9893
9913
  props: {
9894
9914
  sbid: {
9895
9915
  type: Object,
@@ -9917,7 +9937,7 @@ const _sfc_main$1t = defineComponent({
9917
9937
  }
9918
9938
  });
9919
9939
  const _hoisted_1$Q = ["src"];
9920
- function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
9940
+ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
9921
9941
  return openBlock(), createElementBlock("div", {
9922
9942
  class: normalizeClass([_ctx.$style.wrapperClass, _ctx.$style.container])
9923
9943
  }, [
@@ -9951,10 +9971,10 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
9951
9971
  ], 2)
9952
9972
  ], 2);
9953
9973
  }
9954
- const cssModules$1i = {};
9955
- cssModules$1i["$style"] = style0$1i;
9956
- var SbidType = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$1t], ["__cssModules", cssModules$1i]]);
9957
- const wrapperClass$j = "_wrapperClass_1nwz1_1";
9974
+ const cssModules$1j = {};
9975
+ cssModules$1j["$style"] = style0$1j;
9976
+ var SbidType = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$1u], ["__cssModules", cssModules$1j]]);
9977
+ const wrapperClass$k = "_wrapperClass_1nwz1_1";
9958
9978
  const ppmnaPaymentTypeContainer = "_ppmnaPaymentTypeContainer_1nwz1_1";
9959
9979
  const img$9 = "_img_1nwz1_5";
9960
9980
  const imgContainer$1 = "_imgContainer_1nwz1_18";
@@ -9969,8 +9989,8 @@ const makePaymentArrowContainer = "_makePaymentArrowContainer_1nwz1_81";
9969
9989
  const container$x = "_container_1nwz1_86";
9970
9990
  const subTitle = "_subTitle_1nwz1_91";
9971
9991
  const imageContainer$5 = "_imageContainer_1nwz1_96";
9972
- var style0$1h = {
9973
- wrapperClass: wrapperClass$j,
9992
+ var style0$1i = {
9993
+ wrapperClass: wrapperClass$k,
9974
9994
  ppmnaPaymentTypeContainer,
9975
9995
  img: img$9,
9976
9996
  imgContainer: imgContainer$1,
@@ -9986,7 +10006,7 @@ var style0$1h = {
9986
10006
  subTitle,
9987
10007
  imageContainer: imageContainer$5
9988
10008
  };
9989
- const _sfc_main$1s = defineComponent({
10009
+ const _sfc_main$1t = defineComponent({
9990
10010
  props: {
9991
10011
  payLater: {
9992
10012
  type: Object,
@@ -10015,7 +10035,7 @@ const _sfc_main$1s = defineComponent({
10015
10035
  }
10016
10036
  });
10017
10037
  const _hoisted_1$P = ["src"];
10018
- function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
10038
+ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
10019
10039
  return openBlock(), createElementBlock("div", {
10020
10040
  class: normalizeClass([
10021
10041
  _ctx.$style.wrapperClass,
@@ -10056,9 +10076,9 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
10056
10076
  ], 2)
10057
10077
  ], 2);
10058
10078
  }
10059
- const cssModules$1h = {};
10060
- cssModules$1h["$style"] = style0$1h;
10061
- var PayLaterType = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$1s], ["__cssModules", cssModules$1h]]);
10079
+ const cssModules$1i = {};
10080
+ cssModules$1i["$style"] = style0$1i;
10081
+ var PayLaterType = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$1t], ["__cssModules", cssModules$1i]]);
10062
10082
  const PaymentType = defineComponent({
10063
10083
  props: {
10064
10084
  paymentMethod: {
@@ -22867,16 +22887,16 @@ const Lottie = defineComponent({
22867
22887
  }, null);
22868
22888
  }
22869
22889
  });
22870
- const wrapperClass$i = "_wrapperClass_192d5_7";
22890
+ const wrapperClass$j = "_wrapperClass_192d5_7";
22871
22891
  const container$w = "_container_192d5_7";
22872
22892
  const header$a = "_header_192d5_21";
22873
22893
  const arrow$2 = "_arrow_192d5_28";
22874
22894
  const address$1 = "_address_192d5_37";
22875
22895
  const arrowContainer$1 = "_arrowContainer_192d5_46";
22876
22896
  const text$7 = "_text_192d5_57";
22877
- var style0$1g = {
22897
+ var style0$1h = {
22878
22898
  "ppmna-default-font": "_ppmna-default-font_192d5_1",
22879
- wrapperClass: wrapperClass$i,
22899
+ wrapperClass: wrapperClass$j,
22880
22900
  container: container$w,
22881
22901
  header: header$a,
22882
22902
  arrow: arrow$2,
@@ -22884,7 +22904,7 @@ var style0$1g = {
22884
22904
  arrowContainer: arrowContainer$1,
22885
22905
  text: text$7
22886
22906
  };
22887
- const _sfc_main$1r = defineComponent({
22907
+ const _sfc_main$1s = defineComponent({
22888
22908
  name: "AddressInfo",
22889
22909
  components: {},
22890
22910
  props: {
@@ -22926,7 +22946,7 @@ const _sfc_main$1r = defineComponent({
22926
22946
  };
22927
22947
  }
22928
22948
  });
22929
- function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
22949
+ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
22930
22950
  return openBlock(), createElementBlock("div", {
22931
22951
  class: normalizeClass([_ctx.style.wrapperClass, _ctx.style.container])
22932
22952
  }, [
@@ -22958,23 +22978,23 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
22958
22978
  ], 2)
22959
22979
  ], 2);
22960
22980
  }
22961
- const cssModules$1g = {};
22962
- cssModules$1g["$style"] = style0$1g;
22963
- var AddressInfo$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1r], ["__cssModules", cssModules$1g]]);
22964
- const wrapperClass$h = "_wrapperClass_1vjx2_1";
22965
- const paymentMethodContainer$4 = "_paymentMethodContainer_1vjx2_1";
22966
- const imageWrapper$3 = "_imageWrapper_1vjx2_6";
22967
- const imageContainer$4 = "_imageContainer_1vjx2_10";
22968
- const roundStylePaymentMethod$3 = "_roundStylePaymentMethod_1vjx2_19";
22969
- const label$7 = "_label_1vjx2_23";
22970
- const mainLabel$4 = "_mainLabel_1vjx2_30";
22971
- const subLabel$4 = "_subLabel_1vjx2_37";
22972
- const invalid$5 = "_invalid_1vjx2_46";
22973
- const rightAlign$5 = "_rightAlign_1vjx2_52";
22974
- const paymentMethodDisabled$4 = "_paymentMethodDisabled_1vjx2_57";
22975
- const img$8 = "_img_1vjx2_63";
22976
- var style0$1f = {
22977
- wrapperClass: wrapperClass$h,
22981
+ const cssModules$1h = {};
22982
+ cssModules$1h["$style"] = style0$1h;
22983
+ var AddressInfo$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$1s], ["__cssModules", cssModules$1h]]);
22984
+ const wrapperClass$i = "_wrapperClass_otzwj_1";
22985
+ const paymentMethodContainer$4 = "_paymentMethodContainer_otzwj_1";
22986
+ const imageWrapper$3 = "_imageWrapper_otzwj_6";
22987
+ const imageContainer$4 = "_imageContainer_otzwj_10";
22988
+ const roundStylePaymentMethod$3 = "_roundStylePaymentMethod_otzwj_19";
22989
+ const label$7 = "_label_otzwj_23";
22990
+ const mainLabel$4 = "_mainLabel_otzwj_30";
22991
+ const subLabel$4 = "_subLabel_otzwj_37";
22992
+ const invalid$5 = "_invalid_otzwj_46";
22993
+ const rightAlign$5 = "_rightAlign_otzwj_58";
22994
+ const paymentMethodDisabled$4 = "_paymentMethodDisabled_otzwj_63";
22995
+ const img$8 = "_img_otzwj_68";
22996
+ var style0$1g = {
22997
+ wrapperClass: wrapperClass$i,
22978
22998
  paymentMethodContainer: paymentMethodContainer$4,
22979
22999
  imageWrapper: imageWrapper$3,
22980
23000
  imageContainer: imageContainer$4,
@@ -22987,7 +23007,7 @@ var style0$1f = {
22987
23007
  paymentMethodDisabled: paymentMethodDisabled$4,
22988
23008
  img: img$8
22989
23009
  };
22990
- const _sfc_main$1q = defineComponent({
23010
+ const _sfc_main$1r = defineComponent({
22991
23011
  components: {
22992
23012
  WalletBreakdown
22993
23013
  },
@@ -22997,6 +23017,9 @@ const _sfc_main$1q = defineComponent({
22997
23017
  required: true
22998
23018
  }
22999
23019
  },
23020
+ emits: {
23021
+ select: () => true
23022
+ },
23000
23023
  setup(props) {
23001
23024
  const openBreakDown = ref(false);
23002
23025
  const toggleBreakDown = () => {
@@ -23038,10 +23061,11 @@ const _sfc_main$1q = defineComponent({
23038
23061
  }
23039
23062
  });
23040
23063
  const _hoisted_1$O = ["src"];
23041
- function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
23064
+ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
23042
23065
  const _component_WalletBreakdown = resolveComponent("WalletBreakdown");
23043
23066
  return openBlock(), createElementBlock("div", {
23044
- class: normalizeClass([_ctx.style.wrapperClass, _ctx.style.paymentMethodContainer])
23067
+ class: normalizeClass([_ctx.style.wrapperClass, _ctx.style.paymentMethodContainer]),
23068
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("select"))
23045
23069
  }, [
23046
23070
  createBaseVNode("div", {
23047
23071
  class: normalizeClass(_ctx.style.imageContainer)
@@ -23065,36 +23089,36 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
23065
23089
  ], 2)
23066
23090
  ], 2);
23067
23091
  }
23068
- const cssModules$1f = {};
23069
- cssModules$1f["$style"] = style0$1f;
23070
- var Wallet = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1q], ["__cssModules", cssModules$1f]]);
23071
- const wrapperClass$g = "_wrapperClass_84gij_1";
23072
- const paymentMethodContainer$3 = "_paymentMethodContainer_84gij_1";
23073
- const imageWrapper$2 = "_imageWrapper_84gij_6";
23074
- const imageContainer$3 = "_imageContainer_84gij_10";
23075
- const roundStylePaymentMethod$2 = "_roundStylePaymentMethod_84gij_19";
23076
- const label$6 = "_label_84gij_23";
23077
- const mainLabel$3 = "_mainLabel_84gij_30";
23078
- const subLabel$3 = "_subLabel_84gij_37";
23079
- const invalid$4 = "_invalid_84gij_46";
23080
- const rightAlign$4 = "_rightAlign_84gij_52";
23081
- const paymentMethodDisabled$3 = "_paymentMethodDisabled_84gij_57";
23082
- const img$7 = "_img_84gij_63";
23083
- const round$1 = "_round_84gij_19";
23084
- const creditCardLabel = "_creditCardLabel_84gij_70";
23085
- const authenticateStatusContainer = "_authenticateStatusContainer_84gij_75";
23086
- const unAuthorizedImg = "_unAuthorizedImg_84gij_82";
23087
- const unAuthorized = "_unAuthorized_84gij_82";
23088
- const authorized = "_authorized_84gij_88";
23089
- const authorizedImg = "_authorizedImg_84gij_91";
23090
- const creditCard = "_creditCard_84gij_70";
23091
- const maintainanceInfo$2 = "_maintainanceInfo_84gij_98";
23092
- const paymentInfo$2 = "_paymentInfo_84gij_104";
23093
- const fullWidth$1 = "_fullWidth_84gij_107";
23094
- const cardInfo = "_cardInfo_84gij_110";
23095
- const additionDescription = "_additionDescription_84gij_115";
23096
- var style0$1e = {
23097
- wrapperClass: wrapperClass$g,
23092
+ const cssModules$1g = {};
23093
+ cssModules$1g["$style"] = style0$1g;
23094
+ var Wallet = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1r], ["__cssModules", cssModules$1g]]);
23095
+ const wrapperClass$h = "_wrapperClass_1u7pq_1";
23096
+ const paymentMethodContainer$3 = "_paymentMethodContainer_1u7pq_1";
23097
+ const imageWrapper$2 = "_imageWrapper_1u7pq_6";
23098
+ const imageContainer$3 = "_imageContainer_1u7pq_10";
23099
+ const roundStylePaymentMethod$2 = "_roundStylePaymentMethod_1u7pq_19";
23100
+ const label$6 = "_label_1u7pq_23";
23101
+ const mainLabel$3 = "_mainLabel_1u7pq_30";
23102
+ const subLabel$3 = "_subLabel_1u7pq_37";
23103
+ const invalid$4 = "_invalid_1u7pq_46";
23104
+ const rightAlign$4 = "_rightAlign_1u7pq_58";
23105
+ const paymentMethodDisabled$3 = "_paymentMethodDisabled_1u7pq_63";
23106
+ const img$7 = "_img_1u7pq_68";
23107
+ const round$1 = "_round_1u7pq_19";
23108
+ const creditCardLabel = "_creditCardLabel_1u7pq_75";
23109
+ const authenticateStatusContainer = "_authenticateStatusContainer_1u7pq_80";
23110
+ const unAuthorizedImg = "_unAuthorizedImg_1u7pq_87";
23111
+ const unAuthorized = "_unAuthorized_1u7pq_87";
23112
+ const authorized = "_authorized_1u7pq_93";
23113
+ const authorizedImg = "_authorizedImg_1u7pq_96";
23114
+ const creditCard = "_creditCard_1u7pq_75";
23115
+ const maintainanceInfo$3 = "_maintainanceInfo_1u7pq_103";
23116
+ const paymentInfo$3 = "_paymentInfo_1u7pq_110";
23117
+ const fullWidth$1 = "_fullWidth_1u7pq_113";
23118
+ const cardInfo = "_cardInfo_1u7pq_116";
23119
+ const additionDescription = "_additionDescription_1u7pq_121";
23120
+ var style0$1f = {
23121
+ wrapperClass: wrapperClass$h,
23098
23122
  paymentMethodContainer: paymentMethodContainer$3,
23099
23123
  imageWrapper: imageWrapper$2,
23100
23124
  imageContainer: imageContainer$3,
@@ -23114,8 +23138,8 @@ var style0$1e = {
23114
23138
  authorized,
23115
23139
  authorizedImg,
23116
23140
  creditCard,
23117
- maintainanceInfo: maintainanceInfo$2,
23118
- paymentInfo: paymentInfo$2,
23141
+ maintainanceInfo: maintainanceInfo$3,
23142
+ paymentInfo: paymentInfo$3,
23119
23143
  fullWidth: fullWidth$1,
23120
23144
  cardInfo,
23121
23145
  additionDescription
@@ -23127,7 +23151,7 @@ const creditCardMap = {
23127
23151
  [CreditTypes.MASTER]: img$6.master,
23128
23152
  [CreditTypes.AMEX]: img$6.amex
23129
23153
  };
23130
- const _sfc_main$1p = defineComponent({
23154
+ const _sfc_main$1q = defineComponent({
23131
23155
  components: {
23132
23156
  Button
23133
23157
  },
@@ -23142,7 +23166,10 @@ const _sfc_main$1p = defineComponent({
23142
23166
  default: false
23143
23167
  }
23144
23168
  },
23145
- setup(props) {
23169
+ emits: {
23170
+ select: () => true
23171
+ },
23172
+ setup(props, { emit }) {
23146
23173
  const style = useCssModule();
23147
23174
  const isYjCard = computed(() => {
23148
23175
  var _a, _b;
@@ -23156,9 +23183,9 @@ const _sfc_main$1p = defineComponent({
23156
23183
  var _a, _b;
23157
23184
  return (_b = (_a = props.credit) == null ? void 0 : _a.creditCardInfo) == null ? void 0 : _b.isExpired;
23158
23185
  });
23159
- const isActivated = computed(() => {
23186
+ const isDisable = computed(() => {
23160
23187
  var _a, _b;
23161
- return ((_b = (_a = props.credit) == null ? void 0 : _a.creditCardInfo) == null ? void 0 : _b.paymentMethodStatus) === "ACTIVATED";
23188
+ return ((_b = (_a = props.credit) == null ? void 0 : _a.creditCardInfo) == null ? void 0 : _b.paymentMethodStatus) !== "ACTIVATED" || isExpired.value;
23162
23189
  });
23163
23190
  const authInfo = computed(() => {
23164
23191
  var _a, _b;
@@ -23201,18 +23228,25 @@ const _sfc_main$1p = defineComponent({
23201
23228
  style: props.round ? style.round : style.creditCard
23202
23229
  };
23203
23230
  });
23204
- const paymentMethodStatus2 = computed(() => {
23205
- var _a, _b;
23206
- return (_b = (_a = props.credit) == null ? void 0 : _a.creditCardInfo) == null ? void 0 : _b.paymentMethodStatus;
23207
- });
23208
23231
  const paymentMethodStatusText = computed(() => {
23209
- var _a;
23210
- return getPaymentMethodStatus((_a = isExpired.value) != null ? _a : false, paymentMethodStatus2.value);
23232
+ var _a, _b;
23233
+ return getPaymentMethodStatus((_a = isExpired.value) != null ? _a : false, (_b = props.credit) == null ? void 0 : _b.creditCardInfo);
23211
23234
  });
23212
23235
  const additionalDescription = computed(() => {
23213
23236
  var _a;
23214
23237
  return (_a = props.credit.paymentMethodDescriptionInfo) == null ? void 0 : _a.additionalDescription;
23215
23238
  });
23239
+ const handleClick = (e, info2) => {
23240
+ if (info2 == null ? void 0 : info2.linkUrl) {
23241
+ e == null ? void 0 : e.stopPropagation();
23242
+ openUrl(info2.linkUrl);
23243
+ }
23244
+ };
23245
+ const handleSelect = () => {
23246
+ if (isDisable.value)
23247
+ return;
23248
+ emit("select");
23249
+ };
23216
23250
  return {
23217
23251
  last4digits: computed(() => {
23218
23252
  var _a, _b;
@@ -23220,25 +23254,36 @@ const _sfc_main$1p = defineComponent({
23220
23254
  }),
23221
23255
  authInfo,
23222
23256
  paymentMethodStatusText,
23223
- maintainanceInfo: computed(() => {
23224
- var _a, _b, _c, _d;
23225
- return (_d = (_c = (_b = (_a = props.credit) == null ? void 0 : _a.paymentMethodDescriptionInfo) == null ? void 0 : _b.statusDescription) == null ? void 0 : _c.text) != null ? _d : "";
23226
- }),
23227
- getClass: isExpired.value || paymentMethodStatus2.value !== "ACTIVATED" ? style.paymentMethodDisabled : "",
23228
- isActivated,
23257
+ getClass: isDisable.value ? style.paymentMethodDisabled : "",
23258
+ isDisable,
23229
23259
  style,
23230
23260
  cardInfo: cardInfo2,
23231
- isExpired,
23232
- additionalDescription
23261
+ additionalDescription,
23262
+ payMethodDescriptionInfo: computed(() => {
23263
+ var _a, _b, _c, _d;
23264
+ return [
23265
+ (_b = (_a = props.credit) == null ? void 0 : _a.paymentMethodDescriptionInfo) == null ? void 0 : _b.statusDescription,
23266
+ (_d = (_c = props.credit) == null ? void 0 : _c.paymentMethodDescriptionInfo) == null ? void 0 : _d.detailDescription
23267
+ ].filter((info2) => !!info2);
23268
+ }),
23269
+ getMaintenanceStyle: computed(() => (info2) => {
23270
+ return {
23271
+ color: info2.color
23272
+ };
23273
+ }),
23274
+ handleClick,
23275
+ handleSelect
23233
23276
  };
23234
23277
  }
23235
23278
  });
23236
23279
  const _hoisted_1$N = ["src"];
23237
- const _hoisted_2$n = ["src"];
23238
- function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23280
+ const _hoisted_2$q = ["src"];
23281
+ const _hoisted_3$e = ["onClick"];
23282
+ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
23239
23283
  const _component_Button = resolveComponent("Button");
23240
23284
  return openBlock(), createElementBlock("div", {
23241
- class: normalizeClass([_ctx.style.wrapperClass, _ctx.style.paymentMethodContainer, _ctx.getClass])
23285
+ class: normalizeClass([_ctx.style.wrapperClass, _ctx.style.paymentMethodContainer, _ctx.getClass]),
23286
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleSelect && _ctx.handleSelect(...args))
23242
23287
  }, [
23243
23288
  createBaseVNode("div", {
23244
23289
  class: normalizeClass(_ctx.style.imageWrapper)
@@ -23283,7 +23328,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23283
23328
  createBaseVNode("img", {
23284
23329
  src: _ctx.authInfo.img,
23285
23330
  class: normalizeClass(_ctx.authInfo.imgStyle)
23286
- }, null, 10, _hoisted_2$n),
23331
+ }, null, 10, _hoisted_2$q),
23287
23332
  createBaseVNode("span", null, toDisplayString(_ctx.authInfo.text), 1)
23288
23333
  ], 2)
23289
23334
  ], 2),
@@ -23300,7 +23345,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23300
23345
  createBaseVNode("span", {
23301
23346
  class: normalizeClass(_ctx.style.rightAlign)
23302
23347
  }, [
23303
- !_ctx.isActivated || _ctx.isExpired ? (openBlock(), createBlock(_component_Button, {
23348
+ _ctx.isDisable ? (openBlock(), createBlock(_component_Button, {
23304
23349
  key: 0,
23305
23350
  disabled: true,
23306
23351
  class: normalizeClass(_ctx.style.invalid),
@@ -23314,35 +23359,40 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23314
23359
  }, 8, ["class"])) : createCommentVNode("", true)
23315
23360
  ], 2)
23316
23361
  ], 2),
23317
- _ctx.maintainanceInfo ? (openBlock(), createElementBlock("div", {
23318
- key: 0,
23319
- class: normalizeClass(_ctx.style.maintainanceInfo)
23320
- }, toDisplayString(_ctx.maintainanceInfo), 3)) : createCommentVNode("", true)
23362
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.payMethodDescriptionInfo, (info2, index2) => {
23363
+ return openBlock(), createElementBlock("div", {
23364
+ key: index2,
23365
+ class: normalizeClass(_ctx.style.maintainanceInfo),
23366
+ style: normalizeStyle(_ctx.getMaintenanceStyle(info2)),
23367
+ "data-testid": "description-info",
23368
+ onClick: ($event) => _ctx.handleClick($event, info2)
23369
+ }, toDisplayString(info2.text), 15, _hoisted_3$e);
23370
+ }), 128))
23321
23371
  ], 2)
23322
23372
  ], 2);
23323
23373
  }
23324
- const cssModules$1e = {};
23325
- cssModules$1e["$style"] = style0$1e;
23326
- var CreditCard = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1p], ["__cssModules", cssModules$1e]]);
23327
- const wrapperClass$f = "_wrapperClass_x170y_1";
23328
- const paymentMethodContainer$2 = "_paymentMethodContainer_x170y_1";
23329
- const imageWrapper$1 = "_imageWrapper_x170y_6";
23330
- const imageContainer$2 = "_imageContainer_x170y_10";
23331
- const roundStylePaymentMethod$1 = "_roundStylePaymentMethod_x170y_19";
23332
- const label$5 = "_label_x170y_23";
23333
- const mainLabel$2 = "_mainLabel_x170y_30";
23334
- const subLabel$2 = "_subLabel_x170y_37";
23335
- const invalid$3 = "_invalid_x170y_46";
23336
- const rightAlign$3 = "_rightAlign_x170y_52";
23337
- const paymentMethodDisabled$2 = "_paymentMethodDisabled_x170y_57";
23338
- const img$5 = "_img_x170y_63";
23339
- const round = "_round_x170y_19";
23340
- const branchNumber$1 = "_branchNumber_x170y_70";
23341
- const maintainanceInfo$1 = "_maintainanceInfo_x170y_76";
23342
- const paymentInfo$1 = "_paymentInfo_x170y_82";
23343
- const fullWidth = "_fullWidth_x170y_85";
23344
- var style0$1d = {
23345
- wrapperClass: wrapperClass$f,
23374
+ const cssModules$1f = {};
23375
+ cssModules$1f["$style"] = style0$1f;
23376
+ var CreditCard = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1q], ["__cssModules", cssModules$1f]]);
23377
+ const wrapperClass$g = "_wrapperClass_6wfpf_1";
23378
+ const paymentMethodContainer$2 = "_paymentMethodContainer_6wfpf_1";
23379
+ const imageWrapper$1 = "_imageWrapper_6wfpf_6";
23380
+ const imageContainer$2 = "_imageContainer_6wfpf_10";
23381
+ const roundStylePaymentMethod$1 = "_roundStylePaymentMethod_6wfpf_19";
23382
+ const label$5 = "_label_6wfpf_23";
23383
+ const mainLabel$2 = "_mainLabel_6wfpf_30";
23384
+ const subLabel$2 = "_subLabel_6wfpf_37";
23385
+ const invalid$3 = "_invalid_6wfpf_46";
23386
+ const rightAlign$3 = "_rightAlign_6wfpf_58";
23387
+ const paymentMethodDisabled$2 = "_paymentMethodDisabled_6wfpf_63";
23388
+ const img$5 = "_img_6wfpf_68";
23389
+ const round = "_round_6wfpf_19";
23390
+ const branchNumber$1 = "_branchNumber_6wfpf_75";
23391
+ const maintainanceInfo$2 = "_maintainanceInfo_6wfpf_81";
23392
+ const paymentInfo$2 = "_paymentInfo_6wfpf_87";
23393
+ const fullWidth = "_fullWidth_6wfpf_90";
23394
+ var style0$1e = {
23395
+ wrapperClass: wrapperClass$g,
23346
23396
  paymentMethodContainer: paymentMethodContainer$2,
23347
23397
  imageWrapper: imageWrapper$1,
23348
23398
  imageContainer: imageContainer$2,
@@ -23356,8 +23406,8 @@ var style0$1d = {
23356
23406
  img: img$5,
23357
23407
  round,
23358
23408
  branchNumber: branchNumber$1,
23359
- maintainanceInfo: maintainanceInfo$1,
23360
- paymentInfo: paymentInfo$1,
23409
+ maintainanceInfo: maintainanceInfo$2,
23410
+ paymentInfo: paymentInfo$2,
23361
23411
  fullWidth
23362
23412
  };
23363
23413
  const getTypeText$1 = (val2) => {
@@ -23369,7 +23419,7 @@ const getTypeText$1 = (val2) => {
23369
23419
  return "";
23370
23420
  }
23371
23421
  };
23372
- const _sfc_main$1o = defineComponent({
23422
+ const _sfc_main$1p = defineComponent({
23373
23423
  components: {
23374
23424
  Button
23375
23425
  },
@@ -23384,18 +23434,20 @@ const _sfc_main$1o = defineComponent({
23384
23434
  default: false
23385
23435
  }
23386
23436
  },
23387
- setup(props) {
23388
- var _a, _b;
23437
+ emits: {
23438
+ select: () => true
23439
+ },
23440
+ setup(props, { emit }) {
23389
23441
  const bankInfo2 = computed(() => {
23390
- var _a2, _b2;
23391
- const bankInfo22 = ((_a2 = props.bank) == null ? void 0 : _a2.bankInfo) || null;
23442
+ var _a, _b;
23443
+ const bankInfo22 = ((_a = props.bank) == null ? void 0 : _a.bankInfo) || null;
23392
23444
  const logo = bankInfo22 == null ? void 0 : bankInfo22.bankLogoUrl;
23393
23445
  const name2 = bankInfo22 == null ? void 0 : bankInfo22.bankName;
23394
23446
  let branchCode2 = bankInfo22 == null ? void 0 : bankInfo22.bankBranchCode;
23395
23447
  const branchName = bankInfo22 == null ? void 0 : bankInfo22.bankBranchName;
23396
23448
  const digits = bankInfo22 == null ? void 0 : bankInfo22.bankAccountNumberLast2digits;
23397
23449
  if ((bankInfo22 == null ? void 0 : bankInfo22.bankCode) !== bankCode.YUCHO_BANK_CODE) {
23398
- branchCode2 = getTypeText$1((_b2 = bankInfo22 == null ? void 0 : bankInfo22.bankAccountType) != null ? _b2 : "");
23450
+ branchCode2 = getTypeText$1((_b = bankInfo22 == null ? void 0 : bankInfo22.bankAccountType) != null ? _b : "");
23399
23451
  }
23400
23452
  return {
23401
23453
  logo,
@@ -23406,30 +23458,54 @@ const _sfc_main$1o = defineComponent({
23406
23458
  };
23407
23459
  });
23408
23460
  const style = useCssModule();
23461
+ const handleClick = (e, info2) => {
23462
+ if (info2 == null ? void 0 : info2.linkUrl) {
23463
+ e == null ? void 0 : e.stopPropagation();
23464
+ openUrl(info2.linkUrl);
23465
+ }
23466
+ };
23467
+ const isDisable = computed(() => {
23468
+ var _a, _b;
23469
+ return ((_b = (_a = props.bank) == null ? void 0 : _a.bankInfo) == null ? void 0 : _b.paymentMethodStatus) !== PaymentMethodStatus.ACTIVATED;
23470
+ });
23471
+ const handleSelect = () => {
23472
+ if (isDisable == null ? void 0 : isDisable.value)
23473
+ return;
23474
+ emit("select");
23475
+ };
23409
23476
  return {
23410
23477
  bankInfo: bankInfo2,
23411
- isDisable: computed(() => {
23412
- var _a2, _b2;
23413
- return ((_b2 = (_a2 = props.bank) == null ? void 0 : _a2.bankInfo) == null ? void 0 : _b2.paymentMethodStatus) !== "ACTIVATED";
23478
+ isDisable,
23479
+ paymentMethodStatusText: computed(() => {
23480
+ var _a;
23481
+ return getPaymentMethodStatus(false, (_a = props.bank) == null ? void 0 : _a.bankInfo);
23414
23482
  }),
23415
- paymentMethodStatus: computed(() => {
23416
- var _a2, _b2;
23417
- return getPaymentMethodStatus(false, (_b2 = (_a2 = props.bank) == null ? void 0 : _a2.bankInfo) == null ? void 0 : _b2.paymentMethodStatus);
23483
+ getClass: (isDisable == null ? void 0 : isDisable.value) ? style.paymentMethodDisabled : "",
23484
+ style,
23485
+ payMethodDescriptionInfo: computed(() => {
23486
+ var _a, _b, _c, _d;
23487
+ return [
23488
+ (_b = (_a = props.bank) == null ? void 0 : _a.paymentMethodDescriptionInfo) == null ? void 0 : _b.statusDescription,
23489
+ (_d = (_c = props.bank) == null ? void 0 : _c.paymentMethodDescriptionInfo) == null ? void 0 : _d.detailDescription
23490
+ ].filter((info2) => !!info2);
23418
23491
  }),
23419
- maintainanceInfo: computed(() => {
23420
- var _a2, _b2, _c, _d;
23421
- return (_d = (_c = (_b2 = (_a2 = props.bank) == null ? void 0 : _a2.paymentMethodDescriptionInfo) == null ? void 0 : _b2.statusDescription) == null ? void 0 : _c.text) != null ? _d : "";
23492
+ getMaintenanceStyle: computed(() => (info2) => {
23493
+ return {
23494
+ color: info2.color
23495
+ };
23422
23496
  }),
23423
- getClass: ((_b = (_a = props.bank) == null ? void 0 : _a.bankInfo) == null ? void 0 : _b.paymentMethodStatus) !== "ACTIVATED" ? style.paymentMethodDisabled : "",
23424
- style
23497
+ handleClick,
23498
+ handleSelect
23425
23499
  };
23426
23500
  }
23427
23501
  });
23428
23502
  const _hoisted_1$M = ["src"];
23429
- function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
23503
+ const _hoisted_2$p = ["onClick"];
23504
+ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
23430
23505
  const _component_Button = resolveComponent("Button");
23431
23506
  return openBlock(), createElementBlock("div", {
23432
- class: normalizeClass([_ctx.style.wrapperClass, _ctx.style.paymentMethodContainer, _ctx.getClass])
23507
+ class: normalizeClass([_ctx.style.wrapperClass, _ctx.style.paymentMethodContainer, _ctx.getClass]),
23508
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleSelect && _ctx.handleSelect(...args))
23433
23509
  }, [
23434
23510
  createBaseVNode("div", {
23435
23511
  class: normalizeClass(_ctx.style.imageWrapper)
@@ -23482,53 +23558,57 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
23482
23558
  type: "default"
23483
23559
  }, {
23484
23560
  default: withCtx(() => [
23485
- createTextVNode(toDisplayString(_ctx.paymentMethodStatus), 1)
23561
+ createTextVNode(toDisplayString(_ctx.paymentMethodStatusText), 1)
23486
23562
  ]),
23487
23563
  _: 1
23488
23564
  }, 8, ["class"])) : createCommentVNode("", true)
23489
23565
  ], 2)
23490
23566
  ], 2),
23491
- _ctx.maintainanceInfo ? (openBlock(), createElementBlock("div", {
23492
- key: 0,
23493
- class: normalizeClass(_ctx.style.maintainanceInfo)
23494
- }, toDisplayString(_ctx.maintainanceInfo), 3)) : createCommentVNode("", true)
23567
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.payMethodDescriptionInfo, (info2, index2) => {
23568
+ return openBlock(), createElementBlock("div", {
23569
+ key: index2,
23570
+ class: normalizeClass(_ctx.style.maintainanceInfo),
23571
+ style: normalizeStyle(_ctx.getMaintenanceStyle(info2)),
23572
+ onClick: ($event) => _ctx.handleClick($event, info2)
23573
+ }, toDisplayString(info2.text), 15, _hoisted_2$p);
23574
+ }), 128))
23495
23575
  ], 2)
23496
23576
  ], 2);
23497
23577
  }
23498
- const cssModules$1d = {};
23499
- cssModules$1d["$style"] = style0$1d;
23500
- var Bank = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__cssModules", cssModules$1d]]);
23501
- const wrapperClass$e = "_wrapperClass_w4u0m_1";
23502
- const container$v = "_container_w4u0m_1";
23503
- const imageContainer$1 = "_imageContainer_w4u0m_7";
23504
- const img$4 = "_img_w4u0m_10";
23505
- const content$d = "_content_w4u0m_15";
23506
- const paymentInfo = "_paymentInfo_w4u0m_19";
23507
- const paymentDesc = "_paymentDesc_w4u0m_23";
23508
- const mainDesc = "_mainDesc_w4u0m_27";
23509
- const subDesc = "_subDesc_w4u0m_34";
23510
- const disable = "_disable_w4u0m_40";
23511
- const centerAlign = "_centerAlign_w4u0m_46";
23512
- const maintainanceInfo = "_maintainanceInfo_w4u0m_49";
23513
- const invalid$2 = "_invalid_w4u0m_55";
23514
- const paymentMethodDisabled$1 = "_paymentMethodDisabled_w4u0m_60";
23515
- var style0$1c = {
23516
- wrapperClass: wrapperClass$e,
23578
+ const cssModules$1e = {};
23579
+ cssModules$1e["$style"] = style0$1e;
23580
+ var Bank = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1p], ["__cssModules", cssModules$1e]]);
23581
+ const wrapperClass$f = "_wrapperClass_4g7cx_1";
23582
+ const container$v = "_container_4g7cx_1";
23583
+ const imageContainer$1 = "_imageContainer_4g7cx_7";
23584
+ const img$4 = "_img_4g7cx_10";
23585
+ const content$e = "_content_4g7cx_15";
23586
+ const paymentInfo$1 = "_paymentInfo_4g7cx_19";
23587
+ const paymentDesc = "_paymentDesc_4g7cx_23";
23588
+ const mainDesc = "_mainDesc_4g7cx_27";
23589
+ const subDesc = "_subDesc_4g7cx_34";
23590
+ const disable = "_disable_4g7cx_40";
23591
+ const centerAlign = "_centerAlign_4g7cx_46";
23592
+ const maintainanceInfo$1 = "_maintainanceInfo_4g7cx_49";
23593
+ const invalid$2 = "_invalid_4g7cx_55";
23594
+ const paymentMethodDisabled$1 = "_paymentMethodDisabled_4g7cx_66";
23595
+ var style0$1d = {
23596
+ wrapperClass: wrapperClass$f,
23517
23597
  container: container$v,
23518
23598
  imageContainer: imageContainer$1,
23519
23599
  img: img$4,
23520
- content: content$d,
23521
- paymentInfo,
23600
+ content: content$e,
23601
+ paymentInfo: paymentInfo$1,
23522
23602
  paymentDesc,
23523
23603
  mainDesc,
23524
23604
  subDesc,
23525
23605
  disable,
23526
23606
  centerAlign,
23527
- maintainanceInfo,
23607
+ maintainanceInfo: maintainanceInfo$1,
23528
23608
  invalid: invalid$2,
23529
23609
  paymentMethodDisabled: paymentMethodDisabled$1
23530
23610
  };
23531
- const _sfc_main$1n = defineComponent({
23611
+ const _sfc_main$1o = defineComponent({
23532
23612
  components: {
23533
23613
  Button
23534
23614
  },
@@ -23538,31 +23618,56 @@ const _sfc_main$1n = defineComponent({
23538
23618
  required: true
23539
23619
  }
23540
23620
  },
23541
- setup(props) {
23542
- var _a, _b;
23621
+ emits: {
23622
+ select: () => true
23623
+ },
23624
+ setup(props, { emit }) {
23543
23625
  const style = useCssModule();
23626
+ const handleClick = (e, info2) => {
23627
+ if (info2 == null ? void 0 : info2.linkUrl) {
23628
+ e == null ? void 0 : e.stopPropagation();
23629
+ openUrl(info2.linkUrl);
23630
+ }
23631
+ };
23632
+ const isDisable = computed(() => {
23633
+ var _a, _b;
23634
+ return ((_b = (_a = props.sbid) == null ? void 0 : _a.sbidCarrierBillingInfo) == null ? void 0 : _b.paymentMethodStatus) !== PaymentMethodStatus.ACTIVATED;
23635
+ });
23636
+ const handleSelect = () => {
23637
+ if (isDisable.value)
23638
+ return;
23639
+ emit("select");
23640
+ };
23544
23641
  return {
23545
- isDisable: computed(() => {
23546
- var _a2, _b2;
23547
- return ((_b2 = (_a2 = props.sbid) == null ? void 0 : _a2.sbidCarrierBillingInfo) == null ? void 0 : _b2.paymentMethodStatus) !== "ACTIVATED";
23548
- }),
23642
+ isDisable,
23549
23643
  images: getImages(),
23550
- paymentMethodStatus: computed(() => {
23551
- var _a2, _b2;
23552
- return getPaymentMethodStatus(false, (_b2 = (_a2 = props.sbid) == null ? void 0 : _a2.sbidCarrierBillingInfo) == null ? void 0 : _b2.paymentMethodStatus);
23553
- }),
23554
- maintainanceInfo: computed(() => {
23555
- var _a2, _b2, _c, _d;
23556
- return (_d = (_c = (_b2 = (_a2 = props.sbid) == null ? void 0 : _a2.paymentMethodDescriptionInfo) == null ? void 0 : _b2.statusDescription) == null ? void 0 : _c.text) != null ? _d : "";
23644
+ paymentMethodStatusText: computed(() => {
23645
+ var _a;
23646
+ return getPaymentMethodStatus(false, (_a = props.sbid) == null ? void 0 : _a.sbidCarrierBillingInfo);
23557
23647
  }),
23558
- getClass: ((_b = (_a = props.sbid) == null ? void 0 : _a.sbidCarrierBillingInfo) == null ? void 0 : _b.paymentMethodStatus) !== "ACTIVATED" ? style.paymentMethodDisabled : "",
23648
+ getClass: (isDisable == null ? void 0 : isDisable.value) ? style.paymentMethodDisabled : "",
23559
23649
  lg: getLanguage(),
23560
- style
23650
+ style,
23651
+ payMethodDescriptionInfo: computed(() => {
23652
+ var _a, _b, _c, _d;
23653
+ return [
23654
+ (_b = (_a = props.sbid) == null ? void 0 : _a.paymentMethodDescriptionInfo) == null ? void 0 : _b.statusDescription,
23655
+ (_d = (_c = props.sbid) == null ? void 0 : _c.paymentMethodDescriptionInfo) == null ? void 0 : _d.detailDescription
23656
+ ].filter((info2) => !!info2);
23657
+ }),
23658
+ getMaintenanceStyle: computed(() => (info2) => {
23659
+ return {
23660
+ color: info2.color
23661
+ };
23662
+ }),
23663
+ handleClick,
23664
+ handleSelect
23561
23665
  };
23562
23666
  }
23563
23667
  });
23564
23668
  const _hoisted_1$L = ["src"];
23565
- function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
23669
+ const _hoisted_2$o = ["onClick"];
23670
+ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
23566
23671
  const _component_Button = resolveComponent("Button");
23567
23672
  return openBlock(), createElementBlock("div", {
23568
23673
  class: normalizeClass([
@@ -23570,7 +23675,8 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
23570
23675
  _ctx.style.container,
23571
23676
  _ctx.getClass,
23572
23677
  _ctx.isDisable ? _ctx.style.centerAlign : ""
23573
- ])
23678
+ ]),
23679
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleSelect && _ctx.handleSelect(...args))
23574
23680
  }, [
23575
23681
  createBaseVNode("div", {
23576
23682
  class: normalizeClass(_ctx.style.imageContainer)
@@ -23610,34 +23716,41 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
23610
23716
  type: "default"
23611
23717
  }, {
23612
23718
  default: withCtx(() => [
23613
- createTextVNode(toDisplayString(_ctx.paymentMethodStatus), 1)
23719
+ createTextVNode(toDisplayString(_ctx.paymentMethodStatusText), 1)
23614
23720
  ]),
23615
23721
  _: 1
23616
23722
  }, 8, ["class"])) : createCommentVNode("", true)
23617
23723
  ])
23618
23724
  ], 2),
23619
- _ctx.maintainanceInfo ? (openBlock(), createElementBlock("div", {
23620
- key: 0,
23621
- class: normalizeClass(_ctx.style.maintainanceInfo)
23622
- }, toDisplayString(_ctx.maintainanceInfo), 3)) : createCommentVNode("", true)
23725
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.payMethodDescriptionInfo, (info2, index2) => {
23726
+ return openBlock(), createElementBlock("div", {
23727
+ key: index2,
23728
+ class: normalizeClass(_ctx.style.maintainanceInfo),
23729
+ style: normalizeStyle(_ctx.getMaintenanceStyle(info2)),
23730
+ onClick: ($event) => _ctx.handleClick($event, info2)
23731
+ }, toDisplayString(info2.text), 15, _hoisted_2$o);
23732
+ }), 128))
23623
23733
  ], 2)
23624
23734
  ], 2);
23625
23735
  }
23626
- const cssModules$1c = {};
23627
- cssModules$1c["$style"] = style0$1c;
23628
- var SbidBank = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__cssModules", cssModules$1c]]);
23629
- const wrapperClass$d = "_wrapperClass_1572o_1";
23630
- const img$3 = "_img_1572o_1";
23631
- const container$u = "_container_1572o_5";
23632
- const imgContainer = "_imgContainer_1572o_10";
23633
- const labelContainer = "_labelContainer_1572o_19";
23634
- const mainLabel$1 = "_mainLabel_1572o_26";
23635
- const subLabel$1 = "_subLabel_1572o_33";
23636
- const disabled$2 = "_disabled_1572o_39";
23637
- const rightAlign$2 = "_rightAlign_1572o_45";
23638
- const invalid$1 = "_invalid_1572o_49";
23639
- var style0$1b = {
23640
- wrapperClass: wrapperClass$d,
23736
+ const cssModules$1d = {};
23737
+ cssModules$1d["$style"] = style0$1d;
23738
+ var SbidBank = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1o], ["__cssModules", cssModules$1d]]);
23739
+ const wrapperClass$e = "_wrapperClass_jhs19_1";
23740
+ const img$3 = "_img_jhs19_1";
23741
+ const container$u = "_container_jhs19_5";
23742
+ const imgContainer = "_imgContainer_jhs19_10";
23743
+ const labelContainer = "_labelContainer_jhs19_19";
23744
+ const mainLabel$1 = "_mainLabel_jhs19_26";
23745
+ const subLabel$1 = "_subLabel_jhs19_33";
23746
+ const disabled$2 = "_disabled_jhs19_39";
23747
+ const rightAlign$2 = "_rightAlign_jhs19_44";
23748
+ const invalid$1 = "_invalid_jhs19_48";
23749
+ const content$d = "_content_jhs19_59";
23750
+ const paymentInfo = "_paymentInfo_jhs19_62";
23751
+ const maintainanceInfo = "_maintainanceInfo_jhs19_65";
23752
+ var style0$1c = {
23753
+ wrapperClass: wrapperClass$e,
23641
23754
  img: img$3,
23642
23755
  container: container$u,
23643
23756
  imgContainer,
@@ -23646,9 +23759,12 @@ var style0$1b = {
23646
23759
  subLabel: subLabel$1,
23647
23760
  disabled: disabled$2,
23648
23761
  rightAlign: rightAlign$2,
23649
- invalid: invalid$1
23762
+ invalid: invalid$1,
23763
+ content: content$d,
23764
+ paymentInfo,
23765
+ maintainanceInfo
23650
23766
  };
23651
- const _sfc_main$1m = defineComponent({
23767
+ const _sfc_main$1n = defineComponent({
23652
23768
  components: {
23653
23769
  Button
23654
23770
  },
@@ -23658,25 +23774,57 @@ const _sfc_main$1m = defineComponent({
23658
23774
  required: true
23659
23775
  }
23660
23776
  },
23661
- setup(props) {
23662
- var _a, _b;
23777
+ emits: {
23778
+ select: () => true
23779
+ },
23780
+ setup(props, { emit }) {
23781
+ const handleClick = (e, info2) => {
23782
+ if (info2 == null ? void 0 : info2.linkUrl) {
23783
+ e == null ? void 0 : e.stopPropagation();
23784
+ openUrl(info2.linkUrl);
23785
+ }
23786
+ };
23787
+ const isDisable = computed(() => {
23788
+ var _a, _b;
23789
+ return ((_b = (_a = props == null ? void 0 : props.payLater) == null ? void 0 : _a.payLaterCcInfo) == null ? void 0 : _b.paymentMethodStatus) !== PaymentMethodStatus.ACTIVATED;
23790
+ });
23791
+ const handleSelect = () => {
23792
+ if (isDisable.value)
23793
+ return;
23794
+ emit("select");
23795
+ };
23663
23796
  return {
23664
23797
  formattedBalance: computed(() => {
23665
- var _a2, _b2;
23666
- return formatAmount((_b2 = (_a2 = props.payLater) == null ? void 0 : _a2.payLaterCcInfo) == null ? void 0 : _b2.availableAmount);
23798
+ var _a, _b;
23799
+ return formatAmount((_b = (_a = props.payLater) == null ? void 0 : _a.payLaterCcInfo) == null ? void 0 : _b.availableAmount);
23667
23800
  }),
23668
- isDisable: ((_b = (_a = props == null ? void 0 : props.payLater) == null ? void 0 : _a.payLaterCcInfo) == null ? void 0 : _b.paymentMethodStatus) !== PaymentMethodStatus.ACTIVATED,
23801
+ isDisable,
23669
23802
  images: getImages(),
23670
23803
  lg: getLanguage(),
23671
23804
  paymentMethodStatusText: computed(() => {
23672
- var _a2, _b2;
23673
- return getPaymentMethodStatus(false, (_b2 = (_a2 = props == null ? void 0 : props.payLater) == null ? void 0 : _a2.payLaterCcInfo) == null ? void 0 : _b2.paymentMethodStatus);
23674
- })
23805
+ var _a;
23806
+ return getPaymentMethodStatus(false, (_a = props == null ? void 0 : props.payLater) == null ? void 0 : _a.payLaterCcInfo);
23807
+ }),
23808
+ payMethodDescriptionInfo: computed(() => {
23809
+ var _a, _b, _c, _d;
23810
+ return [
23811
+ (_b = (_a = props.payLater) == null ? void 0 : _a.paymentMethodDescriptionInfo) == null ? void 0 : _b.statusDescription,
23812
+ (_d = (_c = props.payLater) == null ? void 0 : _c.paymentMethodDescriptionInfo) == null ? void 0 : _d.detailDescription
23813
+ ].filter((info2) => !!info2);
23814
+ }),
23815
+ getMaintenanceStyle: computed(() => (info2) => {
23816
+ return {
23817
+ color: info2.color
23818
+ };
23819
+ }),
23820
+ handleClick,
23821
+ handleSelect
23675
23822
  };
23676
23823
  }
23677
23824
  });
23678
23825
  const _hoisted_1$K = ["src"];
23679
- function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
23826
+ const _hoisted_2$n = ["onClick"];
23827
+ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
23680
23828
  const _component_Button = resolveComponent("Button");
23681
23829
  return openBlock(), createElementBlock("div", {
23682
23830
  class: normalizeClass([
@@ -23685,7 +23833,8 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
23685
23833
  [_ctx.$style.disabled]: _ctx.isDisable,
23686
23834
  [_ctx.$style.container]: true
23687
23835
  }
23688
- ])
23836
+ ]),
23837
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleSelect && _ctx.handleSelect(...args))
23689
23838
  }, [
23690
23839
  createBaseVNode("div", {
23691
23840
  class: normalizeClass(_ctx.$style.imgContainer)
@@ -23696,37 +23845,53 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
23696
23845
  }, null, 10, _hoisted_1$K)
23697
23846
  ], 2),
23698
23847
  createBaseVNode("div", {
23699
- class: normalizeClass(_ctx.$style.labelContainer)
23700
- }, [
23701
- createBaseVNode("span", {
23702
- class: normalizeClass(_ctx.$style.mainLabel),
23703
- "data-testid": "pay-method-title"
23704
- }, toDisplayString(_ctx.lg.payLater.title), 3),
23705
- createBaseVNode("span", {
23706
- class: normalizeClass(_ctx.$style.subLabel)
23707
- }, toDisplayString(_ctx.lg.payLater.balance) + toDisplayString(_ctx.formattedBalance) + "\u5186 ", 3)
23708
- ], 2),
23709
- createBaseVNode("span", {
23710
- class: normalizeClass(_ctx.$style.rightAlign)
23848
+ class: normalizeClass(_ctx.$style.content)
23711
23849
  }, [
23712
- _ctx.isDisable ? (openBlock(), createBlock(_component_Button, {
23713
- key: 0,
23714
- disabled: true,
23715
- class: normalizeClass(_ctx.$style.invalid),
23716
- size: "small",
23717
- type: "default"
23718
- }, {
23719
- default: withCtx(() => [
23720
- createTextVNode(toDisplayString(_ctx.paymentMethodStatusText), 1)
23721
- ]),
23722
- _: 1
23723
- }, 8, ["class"])) : createCommentVNode("", true)
23850
+ createBaseVNode("div", {
23851
+ class: normalizeClass(_ctx.$style.paymentInfo)
23852
+ }, [
23853
+ createBaseVNode("div", {
23854
+ class: normalizeClass(_ctx.$style.labelContainer)
23855
+ }, [
23856
+ createBaseVNode("span", {
23857
+ class: normalizeClass(_ctx.$style.mainLabel),
23858
+ "data-testid": "pay-method-title"
23859
+ }, toDisplayString(_ctx.lg.payLater.title), 3),
23860
+ createBaseVNode("span", {
23861
+ class: normalizeClass(_ctx.$style.subLabel)
23862
+ }, toDisplayString(_ctx.lg.payLater.balance) + toDisplayString(_ctx.formattedBalance) + "\u5186 ", 3)
23863
+ ], 2),
23864
+ createBaseVNode("span", {
23865
+ class: normalizeClass(_ctx.$style.rightAlign)
23866
+ }, [
23867
+ _ctx.isDisable ? (openBlock(), createBlock(_component_Button, {
23868
+ key: 0,
23869
+ disabled: true,
23870
+ class: normalizeClass(_ctx.$style.invalid),
23871
+ size: "small",
23872
+ type: "default"
23873
+ }, {
23874
+ default: withCtx(() => [
23875
+ createTextVNode(toDisplayString(_ctx.paymentMethodStatusText), 1)
23876
+ ]),
23877
+ _: 1
23878
+ }, 8, ["class"])) : createCommentVNode("", true)
23879
+ ], 2)
23880
+ ], 2),
23881
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.payMethodDescriptionInfo, (info2, index2) => {
23882
+ return openBlock(), createElementBlock("div", {
23883
+ key: index2,
23884
+ class: normalizeClass(_ctx.$style.maintainanceInfo),
23885
+ style: normalizeStyle(_ctx.getMaintenanceStyle(info2)),
23886
+ onClick: ($event) => _ctx.handleClick($event, info2)
23887
+ }, toDisplayString(info2.text), 15, _hoisted_2$n);
23888
+ }), 128))
23724
23889
  ], 2)
23725
23890
  ], 2);
23726
23891
  }
23727
- const cssModules$1b = {};
23728
- cssModules$1b["$style"] = style0$1b;
23729
- var PayLaterCC = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__cssModules", cssModules$1b]]);
23892
+ const cssModules$1c = {};
23893
+ cssModules$1c["$style"] = style0$1c;
23894
+ var PayLaterCC = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1n], ["__cssModules", cssModules$1c]]);
23730
23895
  const PaymentMethod = defineComponent({
23731
23896
  props: {
23732
23897
  paymentMethod: {
@@ -23736,29 +23901,37 @@ const PaymentMethod = defineComponent({
23736
23901
  }
23737
23902
  }
23738
23903
  },
23904
+ emits: {
23905
+ select: () => true
23906
+ },
23739
23907
  render() {
23740
23908
  switch (this.paymentMethod.paymentMethodType) {
23741
23909
  case PaymentMethodType.WALLET:
23742
23910
  return createVNode(Wallet, {
23743
- "wallet": this.paymentMethod
23911
+ "wallet": this.paymentMethod,
23912
+ "onSelect": () => this.$emit("select")
23744
23913
  }, null);
23745
23914
  case PaymentMethodType.CREDIT_CARD:
23746
23915
  return createVNode(CreditCard, {
23747
- "credit": this.paymentMethod
23916
+ "credit": this.paymentMethod,
23917
+ "onSelect": () => this.$emit("select")
23748
23918
  }, null);
23749
23919
  case PaymentMethodType.BANK:
23750
23920
  case PaymentMethodType.YMONEY_BANK:
23751
23921
  return createVNode(Bank, {
23752
23922
  "bank": this.paymentMethod,
23753
- "round": true
23923
+ "round": true,
23924
+ "onSelect": () => this.$emit("select")
23754
23925
  }, null);
23755
23926
  case PaymentMethodType.SBID_CARRIER_BILLING:
23756
23927
  return createVNode(SbidBank, {
23757
- "sbid": this.paymentMethod
23928
+ "sbid": this.paymentMethod,
23929
+ "onSelect": () => this.$emit("select")
23758
23930
  }, null);
23759
23931
  case PaymentMethodType.PAY_LATER_CC:
23760
23932
  return createVNode(PayLaterCC, {
23761
- "payLater": this.paymentMethod
23933
+ "payLater": this.paymentMethod,
23934
+ "onSelect": () => this.$emit("select")
23762
23935
  }, null);
23763
23936
  case PaymentMethodType.PAY_LATER:
23764
23937
  return null;
@@ -23766,21 +23939,21 @@ const PaymentMethod = defineComponent({
23766
23939
  return null;
23767
23940
  }
23768
23941
  });
23769
- const wrapperClass$c = "_wrapperClass_6gcou_1";
23942
+ const wrapperClass$d = "_wrapperClass_6gcou_1";
23770
23943
  const methodItem$1 = "_methodItem_6gcou_1";
23771
23944
  const topupMethodItem = "_topupMethodItem_6gcou_14";
23772
23945
  const iconContainer$2 = "_iconContainer_6gcou_18";
23773
23946
  const iconGreenTick$1 = "_iconGreenTick_6gcou_27";
23774
23947
  const iconHidden$1 = "_iconHidden_6gcou_37";
23775
- var style0$1a = {
23776
- wrapperClass: wrapperClass$c,
23948
+ var style0$1b = {
23949
+ wrapperClass: wrapperClass$d,
23777
23950
  methodItem: methodItem$1,
23778
23951
  topupMethodItem,
23779
23952
  iconContainer: iconContainer$2,
23780
23953
  iconGreenTick: iconGreenTick$1,
23781
23954
  iconHidden: iconHidden$1
23782
23955
  };
23783
- const _sfc_main$1l = defineComponent({
23956
+ const _sfc_main$1m = defineComponent({
23784
23957
  name: "PaymentMethodList",
23785
23958
  components: {
23786
23959
  PaymentMethod
@@ -23816,7 +23989,7 @@ const _sfc_main$1l = defineComponent({
23816
23989
  };
23817
23990
  }
23818
23991
  });
23819
- function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
23992
+ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
23820
23993
  const _component_PaymentMethod = resolveComponent("PaymentMethod");
23821
23994
  return openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.paymentMethods, (paymentMethod2, index2) => {
23822
23995
  return openBlock(), createElementBlock("div", {
@@ -23842,14 +24015,83 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
23842
24015
  createVNode(_component_PaymentMethod, {
23843
24016
  "data-testid": "payment-method",
23844
24017
  "payment-method": paymentMethod2,
23845
- onClick: ($event) => _ctx.select(index2)
23846
- }, null, 8, ["payment-method", "onClick"])
24018
+ onSelect: ($event) => _ctx.select(index2)
24019
+ }, null, 8, ["payment-method", "onSelect"])
23847
24020
  ], 2);
23848
24021
  }), 128);
23849
24022
  }
24023
+ const cssModules$1b = {};
24024
+ cssModules$1b["$style"] = style0$1b;
24025
+ var PaymentMethodList = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1m], ["__cssModules", cssModules$1b]]);
24026
+ const wrapperClass$c = "_wrapperClass_1lewn_1";
24027
+ const maintenanceContainer = "_maintenanceContainer_1lewn_1";
24028
+ const maintenanceText = "_maintenanceText_1lewn_18";
24029
+ const rightArror = "_rightArror_1lewn_23";
24030
+ var style0$1a = {
24031
+ wrapperClass: wrapperClass$c,
24032
+ maintenanceContainer,
24033
+ maintenanceText,
24034
+ rightArror
24035
+ };
24036
+ const _sfc_main$1l = defineComponent({
24037
+ name: "MaintenanceInfo",
24038
+ props: {
24039
+ maintenanceInfo: {
24040
+ type: Object,
24041
+ default: null
24042
+ }
24043
+ },
24044
+ setup(props) {
24045
+ const handleClick = () => {
24046
+ const { linkUrl } = (props == null ? void 0 : props.maintenanceInfo) || {};
24047
+ if (linkUrl) {
24048
+ openUrl(linkUrl);
24049
+ }
24050
+ };
24051
+ const textStyle = computed(() => {
24052
+ var _a, _b, _c;
24053
+ return {
24054
+ color: (_b = (_a = props == null ? void 0 : props.maintenanceInfo) == null ? void 0 : _a.color) != null ? _b : "#3895FF",
24055
+ "font-weight": ((_c = props == null ? void 0 : props.maintenanceInfo) == null ? void 0 : _c.isBold) ? "bold" : "normal"
24056
+ };
24057
+ });
24058
+ const containerStyle = computed(() => {
24059
+ var _a, _b;
24060
+ return {
24061
+ backgroundColor: (_b = (_a = props == null ? void 0 : props.maintenanceInfo) == null ? void 0 : _a.backgroundColor) != null ? _b : "#E5F1FF"
24062
+ };
24063
+ });
24064
+ return {
24065
+ handleClick,
24066
+ textStyle,
24067
+ containerStyle
24068
+ };
24069
+ }
24070
+ });
24071
+ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
24072
+ var _a, _b;
24073
+ return _ctx.maintenanceInfo ? (openBlock(), createElementBlock("div", {
24074
+ key: 0,
24075
+ class: normalizeClass([_ctx.$style.wrapperClass, _ctx.$style.maintenanceContainer]),
24076
+ style: normalizeStyle(_ctx.containerStyle),
24077
+ "data-testid": "maintenance-info",
24078
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
24079
+ }, [
24080
+ createBaseVNode("span", {
24081
+ class: normalizeClass(_ctx.$style.maintenanceText),
24082
+ style: normalizeStyle(_ctx.textStyle),
24083
+ "data-testid": "maintenance-info-text"
24084
+ }, toDisplayString((_a = _ctx.maintenanceInfo) == null ? void 0 : _a.text), 7),
24085
+ ((_b = _ctx.maintenanceInfo) == null ? void 0 : _b.linkUrl) ? (openBlock(), createElementBlock("i", {
24086
+ key: 0,
24087
+ class: normalizeClass(_ctx.$style.rightArror),
24088
+ "data-testid": "maintenance-info-link"
24089
+ }, null, 2)) : createCommentVNode("", true)
24090
+ ], 6)) : createCommentVNode("", true);
24091
+ }
23850
24092
  const cssModules$1a = {};
23851
24093
  cssModules$1a["$style"] = style0$1a;
23852
- var PaymentMethodList = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__cssModules", cssModules$1a]]);
24094
+ var MaintenanceInfo = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1l], ["__cssModules", cssModules$1a]]);
23853
24095
  const wrapperClass$b = "_wrapperClass_1xmid_2";
23854
24096
  const paymentContainer$1 = "_paymentContainer_1xmid_2";
23855
24097
  const label$4 = "_label_1xmid_11";
@@ -23877,7 +24119,8 @@ var style0$19 = {
23877
24119
  const _sfc_main$1k = defineComponent({
23878
24120
  components: {
23879
24121
  PaymentType,
23880
- PaymentMethodList
24122
+ PaymentMethodList,
24123
+ MaintenanceInfo
23881
24124
  },
23882
24125
  props: {
23883
24126
  title: {
@@ -23915,6 +24158,10 @@ const _sfc_main$1k = defineComponent({
23915
24158
  type: Boolean,
23916
24159
  required: false,
23917
24160
  default: false
24161
+ },
24162
+ appealDescription: {
24163
+ type: Object,
24164
+ default: null
23918
24165
  }
23919
24166
  },
23920
24167
  emits: {
@@ -23947,6 +24194,7 @@ const _sfc_main$1k = defineComponent({
23947
24194
  const _hoisted_1$J = ["src"];
23948
24195
  function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
23949
24196
  const _component_PaymentType = resolveComponent("PaymentType");
24197
+ const _component_MaintenanceInfo = resolveComponent("MaintenanceInfo");
23950
24198
  const _component_PaymentMethodList = resolveComponent("PaymentMethodList");
23951
24199
  const _directive_vertical_scroll = resolveDirective("vertical-scroll");
23952
24200
  return openBlock(), createElementBlock("div", {
@@ -23989,8 +24237,12 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
23989
24237
  "payment-method": _ctx.paymentMethod,
23990
24238
  "is-make-payment": true
23991
24239
  }, null, 8, ["class", "payment-method"])) : createCommentVNode("", true),
23992
- _ctx.showPaymentMethodList ? withDirectives((openBlock(), createElementBlock("div", {
24240
+ _ctx.showPaymentMethodList ? (openBlock(), createBlock(_component_MaintenanceInfo, {
23993
24241
  key: 2,
24242
+ "maintenance-info": _ctx.appealDescription
24243
+ }, null, 8, ["maintenance-info"])) : createCommentVNode("", true),
24244
+ _ctx.showPaymentMethodList ? withDirectives((openBlock(), createElementBlock("div", {
24245
+ key: 3,
23994
24246
  class: normalizeClass(_ctx.style.contentContainer)
23995
24247
  }, [
23996
24248
  createVNode(_component_PaymentMethodList, {
@@ -26998,6 +27250,10 @@ const _sfc_main$15 = defineComponent({
26998
27250
  type: Array,
26999
27251
  required: true,
27000
27252
  default: () => []
27253
+ },
27254
+ appealDescription: {
27255
+ type: Object,
27256
+ default: null
27001
27257
  }
27002
27258
  },
27003
27259
  emits: {
@@ -27191,9 +27447,10 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
27191
27447
  "payment-methods": _ctx.paymentMethods,
27192
27448
  "select-payment-index": _ctx.selectPaymentIndex,
27193
27449
  "show-payment-method-list": _ctx.showPaymentMethodList,
27450
+ "appeal-description": _ctx.appealDescription,
27194
27451
  onSelectPaymentMethod: _ctx.select,
27195
27452
  onShow: _ctx.showPaymentMethod
27196
- }, null, 8, ["loading", "payment-method", "payment-methods", "select-payment-index", "show-payment-method-list", "onSelectPaymentMethod", "onShow"])) : createCommentVNode("", true),
27453
+ }, null, 8, ["loading", "payment-method", "payment-methods", "select-payment-index", "show-payment-method-list", "appeal-description", "onSelectPaymentMethod", "onShow"])) : createCommentVNode("", true),
27197
27454
  _ctx.isSufficient && _ctx.isMobile ? (openBlock(), createElementBlock("div", {
27198
27455
  key: 3,
27199
27456
  class: normalizeClass(_ctx.style.insufficientAmount)
@@ -27354,7 +27611,8 @@ var style0$W = {
27354
27611
  const _sfc_main$14 = defineComponent({
27355
27612
  components: {
27356
27613
  Header,
27357
- PaymentMethodList
27614
+ PaymentMethodList,
27615
+ MaintenanceInfo
27358
27616
  },
27359
27617
  props: {
27360
27618
  paymentMethods: {
@@ -27371,6 +27629,10 @@ const _sfc_main$14 = defineComponent({
27371
27629
  type: [String, Object],
27372
27630
  required: false,
27373
27631
  default: ""
27632
+ },
27633
+ appealDescription: {
27634
+ type: Object,
27635
+ default: null
27374
27636
  }
27375
27637
  },
27376
27638
  emits: {
@@ -27399,6 +27661,7 @@ const _sfc_main$14 = defineComponent({
27399
27661
  });
27400
27662
  function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
27401
27663
  const _component_Header = resolveComponent("Header");
27664
+ const _component_MaintenanceInfo = resolveComponent("MaintenanceInfo");
27402
27665
  const _component_PaymentMethodList = resolveComponent("PaymentMethodList");
27403
27666
  const _directive_vertical_scroll = resolveDirective("vertical-scroll");
27404
27667
  return openBlock(), createElementBlock("div", {
@@ -27415,6 +27678,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
27415
27678
  withDirectives((openBlock(), createElementBlock("div", {
27416
27679
  class: normalizeClass(_ctx.style.contentContainer)
27417
27680
  }, [
27681
+ createVNode(_component_MaintenanceInfo, { "maintenance-info": _ctx.appealDescription }, null, 8, ["maintenance-info"]),
27418
27682
  createVNode(_component_PaymentMethodList, {
27419
27683
  "payment-methods": _ctx.paymentMethods,
27420
27684
  "select-payment-index": _ctx.selectPaymentIndex,
@@ -30008,6 +30272,10 @@ const _sfc_main$Q = defineComponent({
30008
30272
  type: Array,
30009
30273
  default: () => [2e3, 3e3, 5e3, 1e4, 3e4, 5e4, 1e5],
30010
30274
  required: false
30275
+ },
30276
+ appealDescription: {
30277
+ type: Object,
30278
+ default: null
30011
30279
  }
30012
30280
  },
30013
30281
  emits: {
@@ -30204,10 +30472,11 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
30204
30472
  "payment-methods": _ctx.paymentMethods,
30205
30473
  "select-payment-index": _ctx.selectIndex,
30206
30474
  "show-payment-method-list": _ctx.showPaymentMethodList,
30475
+ "appeal-description": _ctx.appealDescription,
30207
30476
  "is-topup-pay": true,
30208
30477
  onSelectPaymentMethod: _ctx.select,
30209
30478
  onShow: _ctx.openPaymentMethod
30210
- }, null, 8, ["title", "payment-method", "payment-methods", "select-payment-index", "show-payment-method-list", "onSelectPaymentMethod", "onShow"])), [
30479
+ }, null, 8, ["title", "payment-method", "payment-methods", "select-payment-index", "show-payment-method-list", "appeal-description", "onSelectPaymentMethod", "onShow"])), [
30211
30480
  [vShow, !_ctx.done]
30212
30481
  ]) : createCommentVNode("", true),
30213
30482
  _ctx.showUserAddress && _ctx.isDesktop ? (openBlock(), createBlock(_component_GetUserAddressApp, {
@@ -30313,7 +30582,8 @@ const _sfc_main$P = defineComponent({
30313
30582
  components: {
30314
30583
  Header,
30315
30584
  PaymentMethodList,
30316
- Divider
30585
+ Divider,
30586
+ MaintenanceInfo
30317
30587
  },
30318
30588
  props: {
30319
30589
  paymentMethods: {
@@ -30340,6 +30610,10 @@ const _sfc_main$P = defineComponent({
30340
30610
  type: Boolean,
30341
30611
  required: false,
30342
30612
  default: true
30613
+ },
30614
+ appealDescription: {
30615
+ type: Object,
30616
+ default: null
30343
30617
  }
30344
30618
  },
30345
30619
  emits: {
@@ -30369,6 +30643,7 @@ const _sfc_main$P = defineComponent({
30369
30643
  const _hoisted_1$o = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
30370
30644
  function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
30371
30645
  const _component_Header = resolveComponent("Header");
30646
+ const _component_MaintenanceInfo = resolveComponent("MaintenanceInfo");
30372
30647
  const _component_PaymentMethodList = resolveComponent("PaymentMethodList");
30373
30648
  const _component_Divider = resolveComponent("Divider");
30374
30649
  const _directive_vertical_scroll = resolveDirective("vertical-scroll");
@@ -30388,6 +30663,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
30388
30663
  class: normalizeClass({ [_ctx.style.paymentList]: true, [_ctx.style.payment]: !_ctx.isTopup }),
30389
30664
  "data-testid": "payment-list"
30390
30665
  }, [
30666
+ createVNode(_component_MaintenanceInfo, { "maintenance-info": _ctx.appealDescription }, null, 8, ["maintenance-info"]),
30391
30667
  createVNode(_component_PaymentMethodList, {
30392
30668
  "select-payment-index": _ctx.selectIndex,
30393
30669
  "payment-methods": _ctx.paymentMethods,
@@ -30508,12 +30784,13 @@ const createButtonsAmount = (price2, arr) => {
30508
30784
  return _arr.filter((_price) => _price >= price2);
30509
30785
  };
30510
30786
  function useData(props) {
30511
- var _a, _b, _c, _d, _e;
30787
+ var _a, _b, _c, _d, _e, _f;
30512
30788
  const lastUsedMethod = getLastTopupPayMethod();
30513
30789
  const state = reactive({
30514
30790
  paymentMethods: (_a = props.insufficientBalanceInfo) == null ? void 0 : _a.paymentMethodList,
30515
- index: isValidPaymentMethod(lastUsedMethod, (_b = props.insufficientBalanceInfo) == null ? void 0 : _b.paymentMethodList) ? (_c = props.insufficientBalanceInfo) == null ? void 0 : _c.paymentMethodList.findIndex((method2) => method2.paymentMethodId === lastUsedMethod) : findFirstValidMethod((_d = props.insufficientBalanceInfo) == null ? void 0 : _d.paymentMethodList),
30516
- topupAmount: (_e = props.insufficientBalanceInfo) == null ? void 0 : _e.recommendedTopupAmount,
30791
+ appealDescription: (_b = props.insufficientBalanceInfo) == null ? void 0 : _b.appealDescription,
30792
+ index: isValidPaymentMethod(lastUsedMethod, (_c = props.insufficientBalanceInfo) == null ? void 0 : _c.paymentMethodList) ? (_d = props.insufficientBalanceInfo) == null ? void 0 : _d.paymentMethodList.findIndex((method2) => method2.paymentMethodId === lastUsedMethod) : findFirstValidMethod((_e = props.insufficientBalanceInfo) == null ? void 0 : _e.paymentMethodList),
30793
+ topupAmount: (_f = props.insufficientBalanceInfo) == null ? void 0 : _f.recommendedTopupAmount,
30517
30794
  mount: false,
30518
30795
  unmount: false,
30519
30796
  showChargeList: false,
@@ -30549,6 +30826,7 @@ function useData(props) {
30549
30826
  const setScrollState = (data2) => {
30550
30827
  state.isScrollable = data2;
30551
30828
  };
30829
+ const appealDescription = computed(() => state.appealDescription);
30552
30830
  return {
30553
30831
  available,
30554
30832
  selectIndex: computed(() => state.index),
@@ -30570,7 +30848,8 @@ function useData(props) {
30570
30848
  closeChargeList,
30571
30849
  closePaymentList,
30572
30850
  isScrollable: computed(() => state.isScrollable),
30573
- setScrollState
30851
+ setScrollState,
30852
+ appealDescription
30574
30853
  };
30575
30854
  }
30576
30855
  const _sfc_main$O = defineComponent({
@@ -30656,7 +30935,8 @@ const _sfc_main$O = defineComponent({
30656
30935
  topupAmount: topupAmount2,
30657
30936
  available,
30658
30937
  isScrollable,
30659
- setScrollState
30938
+ setScrollState,
30939
+ appealDescription
30660
30940
  } = useData(props);
30661
30941
  onMounted(() => {
30662
30942
  setMount();
@@ -30777,7 +31057,8 @@ const _sfc_main$O = defineComponent({
30777
31057
  selectTopupList,
30778
31058
  addressSelect,
30779
31059
  updateAddress,
30780
- handleUpdate
31060
+ handleUpdate,
31061
+ appealDescription
30781
31062
  };
30782
31063
  }
30783
31064
  });
@@ -30846,6 +31127,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
30846
31127
  "show-user-address": _ctx.showUserAddress,
30847
31128
  addresses: _ctx.addresses,
30848
31129
  "selected-address": _ctx.selectedAddress,
31130
+ "appeal-description": _ctx.appealDescription,
30849
31131
  onSelect: _ctx.selectPaymentList,
30850
31132
  onAnimationEnd: _ctx.animationEnd,
30851
31133
  onSetMoney: _ctx.setMoney,
@@ -30858,7 +31140,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
30858
31140
  onChooseAddress: _ctx.addressSelect,
30859
31141
  onLayoutUpdate: _ctx.handleUpdate,
30860
31142
  onUpdateAddress: _ctx.updateAddress
30861
- }, null, 8, ["container-class", "payment-method", "topup-amount-text", "banner-info", "done", "paying", "amount-buttons", "halfsheet-amount", "available", "payment-methods", "select-index", "is-scrollable", "show-user-address", "addresses", "selected-address", "onSelect", "onAnimationEnd", "onSetMoney", "onSelectmoremoney", "onShowConsult", "onOpenPaymentMethod", "onCharge", "onClose", "onShowPaymentList", "onChooseAddress", "onLayoutUpdate", "onUpdateAddress"])
31143
+ }, null, 8, ["container-class", "payment-method", "topup-amount-text", "banner-info", "done", "paying", "amount-buttons", "halfsheet-amount", "available", "payment-methods", "select-index", "is-scrollable", "show-user-address", "addresses", "selected-address", "appeal-description", "onSelect", "onAnimationEnd", "onSetMoney", "onSelectmoremoney", "onShowConsult", "onOpenPaymentMethod", "onCharge", "onClose", "onShowPaymentList", "onChooseAddress", "onLayoutUpdate", "onUpdateAddress"])
30862
31144
  ], 2),
30863
31145
  createVNode(Transition, {
30864
31146
  "enter-active-class": _ctx.style.slideSecondaryEnterActive,
@@ -30900,10 +31182,11 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
30900
31182
  key: 0,
30901
31183
  class: normalizeClass([_ctx.style.listContainer]),
30902
31184
  "payment-methods": _ctx.paymentMethods,
31185
+ "appeal-description": _ctx.appealDescription,
30903
31186
  "select-index": _ctx.selectIndex,
30904
31187
  onSelectPaymentMethod: _ctx.selectPaymentList,
30905
31188
  onBack: _ctx.closePaymentList
30906
- }, null, 8, ["class", "payment-methods", "select-index", "onSelectPaymentMethod", "onBack"])) : createCommentVNode("", true)
31189
+ }, null, 8, ["class", "payment-methods", "appeal-description", "select-index", "onSelectPaymentMethod", "onBack"])) : createCommentVNode("", true)
30907
31190
  ]),
30908
31191
  _: 1
30909
31192
  }, 8, ["enter-active-class", "leave-active-class", "enter-from-class"])
@@ -31149,13 +31432,14 @@ function usePaymentMethod(props) {
31149
31432
  paymentMethods: [],
31150
31433
  selectPaymentIndex: 0,
31151
31434
  bannerInfo: null,
31152
- showPaymentMethodList: false
31435
+ showPaymentMethodList: false,
31436
+ appealDescription: null
31153
31437
  });
31154
31438
  const showPaymentMethod = () => {
31155
31439
  paymentState.showPaymentMethodList = true;
31156
31440
  };
31157
31441
  const getPaymentMethods = async (dryRun) => {
31158
- var _a, _b, _c, _d, _e, _f, _g, _h;
31442
+ var _a, _b, _c, _d, _e, _f, _g;
31159
31443
  const res = await getPaymentMethods2({
31160
31444
  merchant: (_a = props == null ? void 0 : props.paymentParams) == null ? void 0 : _a.merchantAlias,
31161
31445
  type: ((_b = props.paymentParams) == null ? void 0 : _b.isAuthorization) ? "PRE_AUTH" : "ACQUIRING",
@@ -31169,7 +31453,7 @@ function usePaymentMethod(props) {
31169
31453
  result: false
31170
31454
  };
31171
31455
  }
31172
- const paymentMethodList = (_h = (_g = (_f = (_e = res == null ? void 0 : res.body) == null ? void 0 : _e.unsigned) == null ? void 0 : _f.data) == null ? void 0 : _g.payload) == null ? void 0 : _h.paymentMethodList;
31456
+ const { paymentMethodList, appealDescription } = ((_g = (_f = (_e = res == null ? void 0 : res.body) == null ? void 0 : _e.unsigned) == null ? void 0 : _f.data) == null ? void 0 : _g.payload) || {};
31173
31457
  paymentState.paymentMethods = paymentMethodList;
31174
31458
  const walletPaymentMethod = paymentMethodList ? paymentMethodList.find((elem2) => elem2.paymentMethodType === PaymentMethodType.WALLET) || null : null;
31175
31459
  if (walletPaymentMethod && walletPaymentMethod.descriptionBannerInfo) {
@@ -31179,6 +31463,7 @@ function usePaymentMethod(props) {
31179
31463
  paymentState.paymentMethods = paymentMethodList ? paymentMethodList.filter(function(method2) {
31180
31464
  return method2.paymentMethodType !== PaymentMethodType.PAY_LATER;
31181
31465
  }) : paymentMethodList;
31466
+ paymentState.appealDescription = appealDescription;
31182
31467
  paymentState.selectPaymentIndex = isValidPaymentMethod(lastSavedMethod, paymentState == null ? void 0 : paymentState.paymentMethods) ? paymentState.paymentMethods.findIndex((method2) => method2.paymentMethodId === lastSavedMethod) : findFirstValidMethod(paymentState.paymentMethods);
31183
31468
  return {
31184
31469
  res,
@@ -31197,7 +31482,8 @@ function usePaymentMethod(props) {
31197
31482
  paymentMethods: computed(() => paymentState.paymentMethods),
31198
31483
  selectPaymentIndex: computed(() => paymentState.selectPaymentIndex),
31199
31484
  bannerInfo: computed(() => paymentState.bannerInfo),
31200
- showPaymentMethodList: computed(() => paymentState.showPaymentMethodList)
31485
+ showPaymentMethodList: computed(() => paymentState.showPaymentMethodList),
31486
+ appealDescription: computed(() => paymentState.appealDescription)
31201
31487
  };
31202
31488
  }
31203
31489
  function useConsult(props) {
@@ -31846,7 +32132,8 @@ const _sfc_main$M = defineComponent({
31846
32132
  selectPaymentIndex,
31847
32133
  showPaymentMethod,
31848
32134
  bannerInfo: bannerInfo2,
31849
- showPaymentMethodList
32135
+ showPaymentMethodList,
32136
+ appealDescription
31850
32137
  } = usePaymentMethod(props);
31851
32138
  const { pay: pay2, paymentId: paymentId2 } = usePayment(props, {
31852
32139
  paymentMethod: paymentMethod2,
@@ -32077,7 +32364,8 @@ const _sfc_main$M = defineComponent({
32077
32364
  show3DSecureSheet,
32078
32365
  selectedTopupMethod,
32079
32366
  close3DSecureSheet,
32080
- selectedCCType
32367
+ selectedCCType,
32368
+ appealDescription
32081
32369
  };
32082
32370
  }
32083
32371
  });
@@ -32121,6 +32409,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
32121
32409
  "select-payment-index": _ctx.selectPaymentIndex,
32122
32410
  "show-payment-method-list": _ctx.showPaymentMethodList,
32123
32411
  addresses: _ctx.addressList,
32412
+ "appeal-description": _ctx.appealDescription,
32124
32413
  onClose: _ctx.cancelPayment,
32125
32414
  onPay: _ctx.pay,
32126
32415
  onCharge: _ctx.openCharge,
@@ -32131,7 +32420,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
32131
32420
  onSelect: _ctx.selectPayment,
32132
32421
  onShowPaymentMethod: _ctx.showPaymentMethod,
32133
32422
  onUpdateAddress: _ctx.updateAddress
32134
- }, null, 8, ["payment-method", "price", "done", "paying", "loading", "banner-info", "insufficient-balance-info", "tax-exempt", "payment-methods", "selected-address", "payment-params", "show-user-address", "select-payment-index", "show-payment-method-list", "addresses", "onClose", "onPay", "onCharge", "onChoosePaymentMethods", "onChooseAddress", "onAnimationEnd", "onOpenConsult", "onSelect", "onShowPaymentMethod", "onUpdateAddress"])) : createCommentVNode("", true),
32423
+ }, null, 8, ["payment-method", "price", "done", "paying", "loading", "banner-info", "insufficient-balance-info", "tax-exempt", "payment-methods", "selected-address", "payment-params", "show-user-address", "select-payment-index", "show-payment-method-list", "addresses", "appeal-description", "onClose", "onPay", "onCharge", "onChoosePaymentMethods", "onChooseAddress", "onAnimationEnd", "onOpenConsult", "onSelect", "onShowPaymentMethod", "onUpdateAddress"])) : createCommentVNode("", true),
32135
32424
  createVNode(Transition, {
32136
32425
  "enter-active-class": _ctx.$style.slideSecondaryEnterActive,
32137
32426
  "leave-active-class": _ctx.$style.slideSecondaryLeaveActive,
@@ -32166,13 +32455,14 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
32166
32455
  _ctx.isVisiblePaymentMethod && _ctx.isMobile ? (openBlock(), createBlock(_component_ChoosePayment, {
32167
32456
  key: 0,
32168
32457
  "payment-methods": _ctx.paymentMethods,
32458
+ "appeal-description": _ctx.appealDescription,
32169
32459
  "root-style": {
32170
32460
  [_ctx.$style.longHeightContainer]: _ctx.selectedAddress && _ctx.insufficientBalanceInfo
32171
32461
  },
32172
32462
  "select-payment-index": _ctx.selectPaymentIndex,
32173
32463
  onBack: _ctx.backClick,
32174
32464
  onSelect: _ctx.selectPayment
32175
- }, null, 8, ["payment-methods", "root-style", "select-payment-index", "onBack", "onSelect"])) : createCommentVNode("", true)
32465
+ }, null, 8, ["payment-methods", "appeal-description", "root-style", "select-payment-index", "onBack", "onSelect"])) : createCommentVNode("", true)
32176
32466
  ]),
32177
32467
  _: 1
32178
32468
  }, 8, ["enter-active-class", "leave-active-class", "enter-from-class"])
@@ -32677,6 +32967,8 @@ const Currency = defineComponent({
32677
32967
  };
32678
32968
  watch(() => props.modelValue, (value2) => {
32679
32969
  updateValue(value2);
32970
+ }, {
32971
+ immediate: true
32680
32972
  });
32681
32973
  return () => createVNode("div", {
32682
32974
  "class": [styles$1.ppmnaInput, {
@@ -33013,52 +33305,55 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
33013
33305
  const cssModules$z = {};
33014
33306
  cssModules$z["$style"] = style0$z;
33015
33307
  var TopupCompletion = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$I], ["__cssModules", cssModules$z]]);
33016
- const slideSecondaryEnterActive = "_slideSecondaryEnterActive_8j48o_7";
33017
- const slideSecondaryLeaveActive = "_slideSecondaryLeaveActive_8j48o_10";
33018
- const slideSecondaryEnterFrom = "_slideSecondaryEnterFrom_8j48o_13";
33019
- const wrapperClass$4 = "_wrapperClass_8j48o_17";
33020
- const topupWrapper = "_topupWrapper_8j48o_17";
33021
- const noBorder = "_noBorder_8j48o_23";
33022
- const fullHeight = "_fullHeight_8j48o_26";
33023
- const choosePayment$2 = "_choosePayment_8j48o_30";
33024
- const topupMoneyLabel = "_topupMoneyLabel_8j48o_37";
33025
- const topupCharge = "_topupCharge_8j48o_45";
33026
- const fullHeightCharge = "_fullHeightCharge_8j48o_51";
33027
- const topup$2 = "_topup_8j48o_17";
33028
- const banner = "_banner_8j48o_63";
33029
- const bannerText = "_bannerText_8j48o_66";
33030
- const bannerMargin = "_bannerMargin_8j48o_69";
33031
- const amountList$1 = "_amountList_8j48o_72";
33032
- const paymentType = "_paymentType_8j48o_93";
33033
- const invalidAmount = "_invalidAmount_8j48o_97";
33034
- const loadingText = "_loadingText_8j48o_102";
33035
- const chargeSelect = "_chargeSelect_8j48o_111";
33036
- const blueDivider = "_blueDivider_8j48o_116";
33037
- const chargeMoney = "_chargeMoney_8j48o_123";
33038
- const unit$2 = "_unit_8j48o_129";
33039
- const chargeInput = "_chargeInput_8j48o_132";
33040
- const fullHeightInput = "_fullHeightInput_8j48o_147";
33041
- const inputLeft = "_inputLeft_8j48o_150";
33042
- const inputRight = "_inputRight_8j48o_157";
33043
- const noMethod = "_noMethod_8j48o_164";
33044
- const topupMoney = "_topupMoney_8j48o_37";
33045
- const moneyLabel = "_moneyLabel_8j48o_177";
33046
- const btnContainer = "_btnContainer_8j48o_181";
33047
- const fullBtnContainer = "_fullBtnContainer_8j48o_188";
33048
- const moneyList = "_moneyList_8j48o_203";
33049
- const doneContainer = "_doneContainer_8j48o_210";
33050
- const fullHeightLottie = "_fullHeightLottie_8j48o_217";
33051
- const ppmnaLottie = "_ppmnaLottie_8j48o_220";
33052
- const moreMoney = "_moreMoney_8j48o_225";
33053
- const fullHeightPayMethod = "_fullHeightPayMethod_8j48o_230";
33308
+ const slideSecondaryEnterActive = "_slideSecondaryEnterActive_1h3dw_7";
33309
+ const slideSecondaryLeaveActive = "_slideSecondaryLeaveActive_1h3dw_10";
33310
+ const slideSecondaryEnterFrom = "_slideSecondaryEnterFrom_1h3dw_13";
33311
+ const wrapperClass$4 = "_wrapperClass_1h3dw_17";
33312
+ const topupWrapper = "_topupWrapper_1h3dw_17";
33313
+ const noBorder = "_noBorder_1h3dw_23";
33314
+ const dummyInput = "_dummyInput_1h3dw_26";
33315
+ const fullHeight = "_fullHeight_1h3dw_30";
33316
+ const choosePayment$2 = "_choosePayment_1h3dw_34";
33317
+ const topupMoneyLabel = "_topupMoneyLabel_1h3dw_41";
33318
+ const topupCharge = "_topupCharge_1h3dw_49";
33319
+ const fullHeightCharge = "_fullHeightCharge_1h3dw_55";
33320
+ const topup$2 = "_topup_1h3dw_17";
33321
+ const banner = "_banner_1h3dw_67";
33322
+ const bannerText = "_bannerText_1h3dw_70";
33323
+ const bannerMargin = "_bannerMargin_1h3dw_73";
33324
+ const amountList$1 = "_amountList_1h3dw_76";
33325
+ const paymentType = "_paymentType_1h3dw_97";
33326
+ const invalidAmount = "_invalidAmount_1h3dw_101";
33327
+ const loadingText = "_loadingText_1h3dw_106";
33328
+ const fakeInput = "_fakeInput_1h3dw_115";
33329
+ const chargeSelect = "_chargeSelect_1h3dw_122";
33330
+ const blueDivider = "_blueDivider_1h3dw_127";
33331
+ const chargeMoney = "_chargeMoney_1h3dw_134";
33332
+ const unit$2 = "_unit_1h3dw_140";
33333
+ const chargeInput = "_chargeInput_1h3dw_143";
33334
+ const fullHeightInput = "_fullHeightInput_1h3dw_158";
33335
+ const inputLeft = "_inputLeft_1h3dw_161";
33336
+ const inputRight = "_inputRight_1h3dw_168";
33337
+ const noMethod = "_noMethod_1h3dw_175";
33338
+ const topupMoney = "_topupMoney_1h3dw_41";
33339
+ const moneyLabel = "_moneyLabel_1h3dw_188";
33340
+ const btnContainer = "_btnContainer_1h3dw_192";
33341
+ const fullBtnContainer = "_fullBtnContainer_1h3dw_199";
33342
+ const moneyList = "_moneyList_1h3dw_214";
33343
+ const doneContainer = "_doneContainer_1h3dw_221";
33344
+ const fullHeightLottie = "_fullHeightLottie_1h3dw_228";
33345
+ const ppmnaLottie = "_ppmnaLottie_1h3dw_231";
33346
+ const moreMoney = "_moreMoney_1h3dw_236";
33347
+ const fullHeightPayMethod = "_fullHeightPayMethod_1h3dw_241";
33054
33348
  var style0$y = {
33055
- "ppmna-default-font": "_ppmna-default-font_8j48o_1",
33349
+ "ppmna-default-font": "_ppmna-default-font_1h3dw_1",
33056
33350
  slideSecondaryEnterActive,
33057
33351
  slideSecondaryLeaveActive,
33058
33352
  slideSecondaryEnterFrom,
33059
33353
  wrapperClass: wrapperClass$4,
33060
33354
  topupWrapper,
33061
33355
  noBorder,
33356
+ dummyInput,
33062
33357
  fullHeight,
33063
33358
  choosePayment: choosePayment$2,
33064
33359
  topupMoneyLabel,
@@ -33072,6 +33367,7 @@ var style0$y = {
33072
33367
  paymentType,
33073
33368
  invalidAmount,
33074
33369
  loadingText,
33370
+ fakeInput,
33075
33371
  chargeSelect,
33076
33372
  blueDivider,
33077
33373
  chargeMoney,
@@ -33166,13 +33462,13 @@ const _sfc_main$H = defineComponent({
33166
33462
  ORDINARY: "\u666E\u901A"
33167
33463
  },
33168
33464
  lottieAnim: null,
33169
- footerposition: false,
33170
33465
  cashbackData: {},
33171
33466
  lg: getLanguage(),
33172
33467
  images: getImages(),
33173
33468
  isFirstLoad: false,
33174
33469
  show3DSecureSheet: false,
33175
- topupMinAmount: 100
33470
+ topupMinAmount: 100,
33471
+ appealDescription: null
33176
33472
  };
33177
33473
  },
33178
33474
  computed: {
@@ -33219,7 +33515,7 @@ const _sfc_main$H = defineComponent({
33219
33515
  methods: {
33220
33516
  numberWithCommas,
33221
33517
  async init() {
33222
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
33518
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
33223
33519
  this.loading = true;
33224
33520
  this.isFirstLoad = true;
33225
33521
  const paymentIDParams = __spreadProps(__spreadValues({}, ((_a = this.topupParams) == null ? void 0 : _a.merchant) && {
@@ -33248,14 +33544,15 @@ const _sfc_main$H = defineComponent({
33248
33544
  this.errorShow = true;
33249
33545
  return;
33250
33546
  }
33251
- this.paymentMethodList = (_h = (_g = (_f = paymentIdResponse.body.unsigned) == null ? void 0 : _f.data) == null ? void 0 : _g.payload) == null ? void 0 : _h.paymentMethodList;
33547
+ const { paymentMethodList, appealDescription } = (_g = (_f = paymentIdResponse.body.unsigned) == null ? void 0 : _f.data) == null ? void 0 : _g.payload;
33548
+ this.paymentMethodList = paymentMethodList;
33549
+ this.appealDescription = appealDescription;
33252
33550
  this.findFirstValidMethodTopup();
33253
33551
  const config2 = getAppConfig();
33254
33552
  if (config2) {
33255
- this.inputMoney = (_i = config2 == null ? void 0 : config2.topupHalfSheetRecommendedAmount[0]) == null ? void 0 : _i.value;
33256
- this.topupHalfSheetAmount = (_j = config2 == null ? void 0 : config2.topupHalfSheetAmount[0]) == null ? void 0 : _j.value;
33257
- this.topupButtonsAmount = (_k = config2 == null ? void 0 : config2.topupButtonsAmount[0]) == null ? void 0 : _k.value;
33258
- this.topupMinAmount = (_n = (_m = (_l = config2 == null ? void 0 : config2.topupMinAmount) == null ? void 0 : _l[0]) == null ? void 0 : _m.value) != null ? _n : this.topupMinAmount;
33553
+ this.topupHalfSheetAmount = (_h = config2 == null ? void 0 : config2.topupHalfSheetAmount[0]) == null ? void 0 : _h.value;
33554
+ this.topupButtonsAmount = (_i = config2 == null ? void 0 : config2.topupButtonsAmount[0]) == null ? void 0 : _i.value;
33555
+ this.topupMinAmount = (_l = (_k = (_j = config2 == null ? void 0 : config2.topupMinAmount) == null ? void 0 : _j[0]) == null ? void 0 : _k.value) != null ? _l : this.topupMinAmount;
33259
33556
  }
33260
33557
  this.loading = false;
33261
33558
  this.isFirstLoad = false;
@@ -33271,22 +33568,23 @@ const _sfc_main$H = defineComponent({
33271
33568
  }
33272
33569
  },
33273
33570
  async switchInput() {
33274
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
33571
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
33275
33572
  this.isInput = true;
33573
+ (_a = document.getElementById("fake_input")) == null ? void 0 : _a.focus();
33276
33574
  const cashbackInfo2 = await getCashBackInfo();
33277
33575
  if (!cashbackInfo2 || (cashbackInfo2 == null ? void 0 : cashbackInfo2.ppFetchResult) !== "success") {
33278
33576
  this.errorCode = (cashbackInfo2 == null ? void 0 : cashbackInfo2.ppFetchResult) === "notAuthorized" ? MiniAppErrorType.notAuthorized : (cashbackInfo2 == null ? void 0 : cashbackInfo2.ppFetchResult) === "timeout" ? MiniAppErrorType.timeOut : MiniAppErrorType.serverError;
33279
33577
  this.showError();
33280
33578
  return;
33281
33579
  }
33282
- this.cashbackData = (_b = (_a = cashbackInfo2 == null ? void 0 : cashbackInfo2.body) == null ? void 0 : _a.data) == null ? void 0 : _b.payload;
33580
+ this.cashbackData = (_c = (_b = cashbackInfo2 == null ? void 0 : cashbackInfo2.body) == null ? void 0 : _b.data) == null ? void 0 : _c.payload;
33283
33581
  this.inputMoney = 0;
33284
33582
  this.minAmountUnmet = false;
33285
33583
  this.maxAmountExceeded = false;
33286
- this.fixBalMoney = (_h = (_g = (_f = (_e = (_d = (_c = cashbackInfo2 == null ? void 0 : cashbackInfo2.body) == null ? void 0 : _c.data) == null ? void 0 : _d.payload) == null ? void 0 : _e.walletSummary) == null ? void 0 : _f.totalBalanceInfo) == null ? void 0 : _g.balance) != null ? _h : 0;
33584
+ this.fixBalMoney = (_i = (_h = (_g = (_f = (_e = (_d = cashbackInfo2 == null ? void 0 : cashbackInfo2.body) == null ? void 0 : _d.data) == null ? void 0 : _e.payload) == null ? void 0 : _f.walletSummary) == null ? void 0 : _g.totalBalanceInfo) == null ? void 0 : _h.balance) != null ? _i : 0;
33287
33585
  this.balMoney = formatCurrency(this.inputMoney + this.fixBalMoney, 0);
33288
- this.fixCashbackBalance = (_n = (_m = (_l = (_k = (_j = (_i = cashbackInfo2 == null ? void 0 : cashbackInfo2.body) == null ? void 0 : _i.data) == null ? void 0 : _j.payload) == null ? void 0 : _k.walletSummary) == null ? void 0 : _l.allTotalBalanceInfo) == null ? void 0 : _m.balance) != null ? _n : 0;
33289
- this.totalCashbackBalance = (_o = formatCurrency(this.inputMoney + this.fixCashbackBalance, 0)) != null ? _o : "0";
33586
+ this.fixCashbackBalance = (_o = (_n = (_m = (_l = (_k = (_j = cashbackInfo2 == null ? void 0 : cashbackInfo2.body) == null ? void 0 : _j.data) == null ? void 0 : _k.payload) == null ? void 0 : _l.walletSummary) == null ? void 0 : _m.allTotalBalanceInfo) == null ? void 0 : _n.balance) != null ? _o : 0;
33587
+ this.totalCashbackBalance = (_p = formatCurrency(this.inputMoney + this.fixCashbackBalance, 0)) != null ? _p : "0";
33290
33588
  setTimeout(() => {
33291
33589
  var _a2;
33292
33590
  (_a2 = document.getElementById("inputmoney")) == null ? void 0 : _a2.focus();
@@ -33311,9 +33609,6 @@ const _sfc_main$H = defineComponent({
33311
33609
  this.$emit("click");
33312
33610
  }
33313
33611
  },
33314
- togglePosition(toggle) {
33315
- this.footerposition = toggle;
33316
- },
33317
33612
  checkValidAmount() {
33318
33613
  var _a;
33319
33614
  const inputVal = Number(String(this.inputMoney).replace(/,/g, ""));
@@ -33539,25 +33834,29 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
33539
33834
  }, toDisplayString(_ctx.lg.topup.charge), 3)) : createCommentVNode("", true),
33540
33835
  !_ctx.isInput ? (openBlock(), createElementBlock("div", {
33541
33836
  key: 1,
33542
- class: normalizeClass(_ctx.$style.chargeMoney),
33543
- "data-testid": "money-text"
33837
+ class: normalizeClass(_ctx.$style.dummyInput),
33838
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.switchInput(), ["prevent"]))
33544
33839
  }, [
33545
- createTextVNode(toDisplayString(_ctx.numberWithCommas(_ctx.inputMoney)), 1),
33546
- createBaseVNode("span", {
33547
- class: normalizeClass(_ctx.$style.unit)
33548
- }, "\u5186", 2)
33549
- ], 2)) : createCommentVNode("", true),
33550
- !_ctx.isInput ? (openBlock(), createElementBlock("div", {
33840
+ createBaseVNode("div", {
33841
+ class: normalizeClass(_ctx.$style.chargeMoney),
33842
+ "data-testid": "money-text"
33843
+ }, [
33844
+ createTextVNode(toDisplayString(_ctx.numberWithCommas(_ctx.inputMoney)), 1),
33845
+ createBaseVNode("span", {
33846
+ class: normalizeClass(_ctx.$style.unit)
33847
+ }, "\u5186", 2)
33848
+ ], 2),
33849
+ createBaseVNode("div", {
33850
+ class: normalizeClass(_ctx.$style.blueDivider)
33851
+ }, null, 2)
33852
+ ], 2)) : (openBlock(), createElementBlock("div", {
33551
33853
  key: 2,
33552
- class: normalizeClass(_ctx.$style.blueDivider)
33553
- }, null, 2)) : (openBlock(), createElementBlock("div", {
33554
- key: 3,
33555
33854
  class: normalizeClass([_ctx.$style.chargeInput, _ctx.$style.chargeMoney])
33556
33855
  }, [
33557
33856
  createVNode(_component_Currency, {
33558
33857
  id: "inputmoney",
33559
33858
  modelValue: _ctx.inputMoney,
33560
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.inputMoney = $event),
33859
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.inputMoney = $event),
33561
33860
  "input-mode": "numeric",
33562
33861
  "tab-index": 0,
33563
33862
  maxlength: "12",
@@ -33565,9 +33864,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
33565
33864
  autofocus: false,
33566
33865
  class: normalizeClass({ [_ctx.$style.fullHeightInput]: _ctx.isInput }),
33567
33866
  "data-testid": "input-money",
33568
- onInput: _ctx.checkValidAmount,
33569
- onFocus: _cache[1] || (_cache[1] = ($event) => _ctx.togglePosition(true)),
33570
- onBlur: _cache[2] || (_cache[2] = ($event) => _ctx.togglePosition(false))
33867
+ onInput: _ctx.checkValidAmount
33571
33868
  }, null, 8, ["modelValue", "class", "onInput"]),
33572
33869
  createBaseVNode("span", {
33573
33870
  class: normalizeClass(_ctx.$style.inputLeft)
@@ -33613,7 +33910,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
33613
33910
  }),
33614
33911
  "data-test": "toggle-payment-method",
33615
33912
  "data-testid": "toggle-payment-method",
33616
- onClick: _cache[3] || (_cache[3] = ($event) => _ctx.togglePaymentMethod(true))
33913
+ onClick: _cache[2] || (_cache[2] = ($event) => _ctx.togglePaymentMethod(true))
33617
33914
  }, [
33618
33915
  createBaseVNode("span", {
33619
33916
  class: normalizeClass(_ctx.$style.moneyLabel)
@@ -33662,7 +33959,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
33662
33959
  loading: _ctx.loading,
33663
33960
  "data-test": "click-topup",
33664
33961
  "data-testid": "click-topup",
33665
- onClick: _cache[4] || (_cache[4] = ($event) => _ctx.clickTopup(false))
33962
+ onClick: _cache[3] || (_cache[3] = ($event) => _ctx.clickTopup(false))
33666
33963
  }, {
33667
33964
  default: withCtx(() => [
33668
33965
  createTextVNode(toDisplayString(_ctx.numberWithCommas(_ctx.inputMoney)) + " " + toDisplayString(_ctx.lg.topup.payBtn), 1)
@@ -33682,7 +33979,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
33682
33979
  [_ctx.$style.fullHeightLottie]: _ctx.isInput,
33683
33980
  [_ctx.$style.ppmnaLottie]: true
33684
33981
  }),
33685
- onCreateLottie: _cache[5] || (_cache[5] = ($event) => _ctx.createAnime($event))
33982
+ onCreateLottie: _cache[4] || (_cache[4] = ($event) => _ctx.createAnime($event))
33686
33983
  }, null, 8, ["path", "class"])
33687
33984
  ], 2)) : createCommentVNode("", true)
33688
33985
  ], 6)) : createCommentVNode("", true),
@@ -33730,6 +34027,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
33730
34027
  _ctx.isSelectPaymentMethod ? (openBlock(), createBlock(_component_ChoosePaymentMethod, {
33731
34028
  key: 0,
33732
34029
  "payment-methods": _ctx.paymentMethodList,
34030
+ "appeal-description": _ctx.appealDescription,
33733
34031
  "select-index": _ctx.selectPaymentIndex,
33734
34032
  class: normalizeClass({
33735
34033
  [_ctx.$style.fullHeight]: _ctx.isInput,
@@ -33739,7 +34037,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
33739
34037
  style: normalizeStyle(_ctx.getTopHeight),
33740
34038
  onBack: _ctx.togglePaymentMethod,
33741
34039
  onSelectPaymentMethod: _ctx.selectPaymentMethod
33742
- }, null, 8, ["payment-methods", "select-index", "class", "style", "onBack", "onSelectPaymentMethod"])) : createCommentVNode("", true)
34040
+ }, null, 8, ["payment-methods", "appeal-description", "select-index", "class", "style", "onBack", "onSelectPaymentMethod"])) : createCommentVNode("", true)
33743
34041
  ]),
33744
34042
  _: 1
33745
34043
  }, 8, ["enter-active-class", "leave-active-class", "enter-from-class"])
@@ -33755,7 +34053,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
33755
34053
  createVNode(_component_DuplicatePayment, {
33756
34054
  mode: "topup",
33757
34055
  onCancel: _ctx.duplicateCancel,
33758
- onProceed: _cache[6] || (_cache[6] = ($event) => _ctx.clickTopup(true))
34056
+ onProceed: _cache[5] || (_cache[5] = ($event) => _ctx.clickTopup(true))
33759
34057
  }, null, 8, ["onCancel"])
33760
34058
  ]),
33761
34059
  _: 1
@@ -33763,7 +34061,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
33763
34061
  createVNode(_component_ActionSheet, {
33764
34062
  show: _ctx.bannerInfoVisible,
33765
34063
  type: "alert",
33766
- onClose: _cache[7] || (_cache[7] = ($event) => _ctx.bannerBtnClick())
34064
+ onClose: _cache[6] || (_cache[6] = ($event) => _ctx.bannerBtnClick())
33767
34065
  }, {
33768
34066
  default: withCtx(() => [
33769
34067
  createVNode(_component_BannerInfo, {
@@ -33791,13 +34089,19 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
33791
34089
  "error-text": _ctx.errorInfo.desc,
33792
34090
  "button-list": _ctx.errorInfo.buttonList,
33793
34091
  show: _ctx.errorShow || _ctx.errorOverlay,
33794
- onCloseClick: _cache[8] || (_cache[8] = ($event) => _ctx.closeErrorSheet())
34092
+ onCloseClick: _cache[7] || (_cache[7] = ($event) => _ctx.closeErrorSheet())
33795
34093
  }, null, 8, ["error-title", "icon-url", "error-text", "button-list", "show"]),
33796
34094
  createVNode(_component_ThreeDSecureSheet, {
33797
34095
  show: _ctx.show3DSecureSheet,
33798
34096
  "cc-type": _ctx.selectedCCType,
33799
34097
  onClose: _ctx.close3DSecureSheet
33800
- }, null, 8, ["show", "cc-type", "onClose"])
34098
+ }, null, 8, ["show", "cc-type", "onClose"]),
34099
+ createBaseVNode("input", {
34100
+ id: "fake_input",
34101
+ type: "text",
34102
+ readonly: "",
34103
+ class: normalizeClass(_ctx.$style.fakeInput)
34104
+ }, null, 2)
33801
34105
  ], 64);
33802
34106
  }
33803
34107
  const cssModules$y = {};
@@ -34930,7 +35234,7 @@ function debug(params) {
34930
35234
  function execute$5(params) {
34931
35235
  var _a;
34932
35236
  (_a = params == null ? void 0 : params.success) == null ? void 0 : _a.call(params, {
34933
- v: "1.47.0"
35237
+ v: "1.48.0"
34934
35238
  });
34935
35239
  }
34936
35240
  function useCallBack(props, ctx) {
@@ -38822,19 +39126,19 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
38822
39126
  const cssModules$f = {};
38823
39127
  cssModules$f["$style"] = style0$f;
38824
39128
  var SkeletonLoader = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__cssModules", cssModules$f]]);
38825
- const wrapperClass$1 = "_wrapperClass_1fmyn_1";
38826
- const paymentMethodContainer = "_paymentMethodContainer_1fmyn_1";
38827
- const imageWrapper = "_imageWrapper_1fmyn_6";
38828
- const imageContainer = "_imageContainer_1fmyn_10";
38829
- const roundStylePaymentMethod = "_roundStylePaymentMethod_1fmyn_19";
38830
- const label$1 = "_label_1fmyn_23";
38831
- const mainLabel = "_mainLabel_1fmyn_30";
38832
- const subLabel = "_subLabel_1fmyn_37";
38833
- const invalid = "_invalid_1fmyn_46";
38834
- const rightAlign = "_rightAlign_1fmyn_52";
38835
- const paymentMethodDisabled = "_paymentMethodDisabled_1fmyn_57";
38836
- const img = "_img_1fmyn_63";
38837
- const branchNumber = "_branchNumber_1fmyn_67";
39129
+ const wrapperClass$1 = "_wrapperClass_wy5sc_1";
39130
+ const paymentMethodContainer = "_paymentMethodContainer_wy5sc_1";
39131
+ const imageWrapper = "_imageWrapper_wy5sc_6";
39132
+ const imageContainer = "_imageContainer_wy5sc_10";
39133
+ const roundStylePaymentMethod = "_roundStylePaymentMethod_wy5sc_19";
39134
+ const label$1 = "_label_wy5sc_23";
39135
+ const mainLabel = "_mainLabel_wy5sc_30";
39136
+ const subLabel = "_subLabel_wy5sc_37";
39137
+ const invalid = "_invalid_wy5sc_46";
39138
+ const rightAlign = "_rightAlign_wy5sc_58";
39139
+ const paymentMethodDisabled = "_paymentMethodDisabled_wy5sc_63";
39140
+ const img = "_img_wy5sc_68";
39141
+ const branchNumber = "_branchNumber_wy5sc_72";
38838
39142
  var style0$e = {
38839
39143
  wrapperClass: wrapperClass$1,
38840
39144
  paymentMethodContainer,
@@ -40009,23 +40313,23 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
40009
40313
  const cssModules$8 = {};
40010
40314
  cssModules$8["$style"] = style0$8;
40011
40315
  var AutoTopupMethod = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__cssModules", cssModules$8]]);
40012
- const container = "_container_1agnw_1";
40013
- const mainContents = "_mainContents_1agnw_10";
40014
- const section = "_section_1agnw_16";
40015
- const main = "_main_1agnw_10";
40016
- const icon$5 = "_icon_1agnw_24";
40017
- const title$5 = "_title_1agnw_28";
40018
- const description$5 = "_description_1agnw_35";
40019
- const config = "_config_1agnw_42";
40020
- const item = "_item_1agnw_47";
40021
- const label = "_label_1agnw_57";
40022
- const contents$5 = "_contents_1agnw_61";
40023
- const inner$5 = "_inner_1agnw_61";
40024
- const price = "_price_1agnw_64";
40025
- const amount = "_amount_1agnw_69";
40026
- const unit$1 = "_unit_1agnw_74";
40027
- const notice = "_notice_1agnw_79";
40028
- const updateMessage = "_updateMessage_1agnw_94";
40316
+ const container = "_container_1ehx9_1";
40317
+ const mainContents = "_mainContents_1ehx9_7";
40318
+ const section = "_section_1ehx9_13";
40319
+ const main = "_main_1ehx9_7";
40320
+ const icon$5 = "_icon_1ehx9_21";
40321
+ const title$5 = "_title_1ehx9_25";
40322
+ const description$5 = "_description_1ehx9_32";
40323
+ const config = "_config_1ehx9_39";
40324
+ const item = "_item_1ehx9_44";
40325
+ const label = "_label_1ehx9_54";
40326
+ const contents$5 = "_contents_1ehx9_58";
40327
+ const inner$5 = "_inner_1ehx9_58";
40328
+ const price = "_price_1ehx9_61";
40329
+ const amount = "_amount_1ehx9_66";
40330
+ const unit$1 = "_unit_1ehx9_71";
40331
+ const notice = "_notice_1ehx9_76";
40332
+ const updateMessage = "_updateMessage_1ehx9_91";
40029
40333
  var style0$7 = {
40030
40334
  container,
40031
40335
  mainContents,