gotrip-fx-transaction-form 1.0.49 → 1.0.51

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.
package/index.js CHANGED
@@ -27213,7 +27213,8 @@ const { withContext: zte, PropsProvider: UAe } = qu({
27213
27213
  ) })
27214
27214
  ] }) })
27215
27215
  ] }) });
27216
- }, mt = {
27216
+ }, gt = {
27217
+ ENVIRONMENT: "DEV",
27217
27218
  API_URL: void 0,
27218
27219
  BUILD_FOR: "GUEST",
27219
27220
  BOOKER_URL: "https://booker.247gotrip.com",
@@ -29048,7 +29049,7 @@ const Zb = () => iv({
29048
29049
  md: !1
29049
29050
  });
29050
29051
  var Xd = /* @__PURE__ */ ((e) => (e.SINGULAR = "SINGULAR", e.GROUP = "GROUP", e.EDUCATION = "EDUCATION", e.MEDICAL = "MEDICAL", e.INHERITANCE = "INHERITANCE", e.SUBSIDY = "SUBSIDY", e.IMMIGRATION = "IMMIGRATION", e.BUSINESS = "BUSINESS", e))(Xd || {});
29051
- mt.BUILD_FOR, pf.GUEST;
29052
+ gt.BUILD_FOR, pf.GUEST;
29052
29053
  const xR = [
29053
29054
  {
29054
29055
  name: "Mua ngoại tệ",
@@ -33720,97 +33721,97 @@ const {
33720
33721
  mergeConfig: rbe
33721
33722
  } = kn, go = {
33722
33723
  auth: {
33723
- login: `${mt.API_URL}/auth/login`,
33724
- register: `${mt.API_URL}/auth/register`,
33725
- registerSupervisor: `${mt.API_URL}/auth/register-supervisor`,
33726
- forgotPassword: `${mt.API_URL}/auth/forgot-password`,
33727
- resetPassword: `${mt.API_URL}/auth/reset-password`,
33728
- verifyResetToken: `${mt.API_URL}/auth/reset-password`
33724
+ login: `${gt.API_URL}/auth/login`,
33725
+ register: `${gt.API_URL}/auth/register`,
33726
+ registerSupervisor: `${gt.API_URL}/auth/register-supervisor`,
33727
+ forgotPassword: `${gt.API_URL}/auth/forgot-password`,
33728
+ resetPassword: `${gt.API_URL}/auth/reset-password`,
33729
+ verifyResetToken: `${gt.API_URL}/auth/reset-password`
33729
33730
  },
33730
33731
  transactionHandlers: {
33731
- list: `${mt.API_URL}/transaction-handlers/list`,
33732
- create: `${mt.API_URL}/transaction-handlers/create`,
33733
- createMany: `${mt.API_URL}/transaction-handlers/create-many`,
33734
- confirm: `${mt.API_URL}/transaction-handlers/confirm`,
33735
- sendBankTransaction: `${mt.API_URL}/transaction-handlers/send-bank-transaction`,
33736
- checkTicketStatus: `${mt.API_URL}/transaction-handlers/check-ticket-status`,
33737
- getByBankTransactionId: (e) => `${mt.API_URL}/transaction-handlers/${e}`,
33738
- guestCreateEducationTransaction: `${mt.API_URL}/transaction-handlers/guest-education`,
33739
- updateGroupTransactionStatus: `${mt.API_URL}/transaction-handlers/update-group-transaction`,
33740
- checkInfoSuccess: `${mt.API_URL}/transaction-handlers/check-info-success`,
33741
- cancelTransaction: `${mt.API_URL}/transaction-handlers/cancel`,
33742
- updateCustomerInfo: `${mt.API_URL}/transaction-handlers/update-customer-info`,
33743
- updateTicketInfo: `${mt.API_URL}/transaction-handlers/update-ticket-info`
33732
+ list: `${gt.API_URL}/transaction-handlers/list`,
33733
+ create: `${gt.API_URL}/transaction-handlers/create`,
33734
+ createMany: `${gt.API_URL}/transaction-handlers/create-many`,
33735
+ confirm: `${gt.API_URL}/transaction-handlers/confirm`,
33736
+ sendBankTransaction: `${gt.API_URL}/transaction-handlers/send-bank-transaction`,
33737
+ checkTicketStatus: `${gt.API_URL}/transaction-handlers/check-ticket-status`,
33738
+ getByBankTransactionId: (e) => `${gt.API_URL}/transaction-handlers/${e}`,
33739
+ guestCreateEducationTransaction: `${gt.API_URL}/transaction-handlers/guest-education`,
33740
+ updateGroupTransactionStatus: `${gt.API_URL}/transaction-handlers/update-group-transaction`,
33741
+ checkInfoSuccess: `${gt.API_URL}/transaction-handlers/check-info-success`,
33742
+ cancelTransaction: `${gt.API_URL}/transaction-handlers/cancel`,
33743
+ updateCustomerInfo: `${gt.API_URL}/transaction-handlers/update-customer-info`,
33744
+ updateTicketInfo: `${gt.API_URL}/transaction-handlers/update-ticket-info`
33744
33745
  },
33745
33746
  role: {
33746
- list: `${mt.API_URL}/role-handlers/list`,
33747
- create: `${mt.API_URL}/role-handlers/create`,
33748
- delete: `${mt.API_URL}/role-handlers/delete`,
33749
- permissions: `${mt.API_URL}/role-handlers/permissions-list`,
33750
- rolePermissions: `${mt.API_URL}/role-handlers/role-permissions`,
33751
- updateRolePermissions: `${mt.API_URL}/role-handlers/role-permissions`
33747
+ list: `${gt.API_URL}/role-handlers/list`,
33748
+ create: `${gt.API_URL}/role-handlers/create`,
33749
+ delete: `${gt.API_URL}/role-handlers/delete`,
33750
+ permissions: `${gt.API_URL}/role-handlers/permissions-list`,
33751
+ rolePermissions: `${gt.API_URL}/role-handlers/role-permissions`,
33752
+ updateRolePermissions: `${gt.API_URL}/role-handlers/role-permissions`
33752
33753
  },
33753
33754
  currency: {
33754
- list: `${mt.API_URL}/currency-handlers`
33755
+ list: `${gt.API_URL}/currency-handlers`
33755
33756
  },
33756
33757
  bank: {
33757
- list: `${mt.API_URL}/bank-handlers`
33758
+ list: `${gt.API_URL}/bank-handlers`
33758
33759
  },
33759
33760
  travelport: {
33760
- getFlightInfo: `${mt.API_URL}/travel-port/flight-info`
33761
+ getFlightInfo: `${gt.API_URL}/travel-port/flight-info`
33761
33762
  },
33762
33763
  upload: {
33763
- signedUrl: `${mt.API_URL}/upload/signed-url`
33764
+ signedUrl: `${gt.API_URL}/upload/signed-url`
33764
33765
  },
33765
33766
  image: {
33766
- extractFlightTicket: `${mt.API_URL}/image-handlers/extract-flight-ticket`
33767
+ extractFlightTicket: `${gt.API_URL}/image-handlers/extract-flight-ticket`
33767
33768
  },
33768
33769
  bid: {
33769
- list: `${mt.API_URL}/bid-handlers/bids`
33770
+ list: `${gt.API_URL}/bid-handlers/bids`
33770
33771
  },
33771
33772
  department: {
33772
- list: `${mt.API_URL}/department-handlers/list`,
33773
- details: `${mt.API_URL}/department-handlers/details`,
33774
- create: `${mt.API_URL}/department-handlers/create`,
33775
- addMembers: `${mt.API_URL}/department-handlers/add-members`
33773
+ list: `${gt.API_URL}/department-handlers/list`,
33774
+ details: `${gt.API_URL}/department-handlers/details`,
33775
+ create: `${gt.API_URL}/department-handlers/create`,
33776
+ addMembers: `${gt.API_URL}/department-handlers/add-members`
33776
33777
  },
33777
33778
  userHandlers: {
33778
- userProfile: `${mt.API_URL}/user-handlers/user-profile`,
33779
- changePassword: `${mt.API_URL}/user-handlers/change-password`,
33780
- list: `${mt.API_URL}/user-handlers/list`,
33781
- approveUser: `${mt.API_URL}/user-handlers/approve`,
33782
- bookerList: `${mt.API_URL}/user-handlers/booker/list`,
33783
- createBooker: `${mt.API_URL}/user-handlers/booker/create`,
33784
- createManyBooker: `${mt.API_URL}/user-handlers/booker/create-many`,
33785
- getBooker: `${mt.API_URL}/user-handlers/booker`,
33786
- updateBooker: `${mt.API_URL}/user-handlers/booker`,
33787
- getCommissionRate: `${mt.API_URL}/user-handlers/commission-rate`,
33788
- updateCommissionRate: `${mt.API_URL}/user-handlers/commission-rate`,
33789
- getBookersOfSupervisor: `${mt.API_URL}/user-handlers/supervisor/booker-list`,
33790
- memberList: `${mt.API_URL}/user-handlers/member/list`,
33791
- createMember: `${mt.API_URL}/user-handlers/member/create`,
33792
- createManyMember: `${mt.API_URL}/user-handlers/member/create-many`,
33793
- getMember: `${mt.API_URL}/user-handlers/member`,
33794
- updateMember: `${mt.API_URL}/user-handlers/member`,
33795
- createUser: `${mt.API_URL}/user-handlers`,
33796
- getUser: `${mt.API_URL}/user-handlers/details`,
33797
- updateUser: `${mt.API_URL}/user-handlers/update`,
33798
- resetPassword: `${mt.API_URL}/user-handlers/reset-password`,
33799
- impersonateToken: `${mt.API_URL}/user-handlers/impersonate-token`
33779
+ userProfile: `${gt.API_URL}/user-handlers/user-profile`,
33780
+ changePassword: `${gt.API_URL}/user-handlers/change-password`,
33781
+ list: `${gt.API_URL}/user-handlers/list`,
33782
+ approveUser: `${gt.API_URL}/user-handlers/approve`,
33783
+ bookerList: `${gt.API_URL}/user-handlers/booker/list`,
33784
+ createBooker: `${gt.API_URL}/user-handlers/booker/create`,
33785
+ createManyBooker: `${gt.API_URL}/user-handlers/booker/create-many`,
33786
+ getBooker: `${gt.API_URL}/user-handlers/booker`,
33787
+ updateBooker: `${gt.API_URL}/user-handlers/booker`,
33788
+ getCommissionRate: `${gt.API_URL}/user-handlers/commission-rate`,
33789
+ updateCommissionRate: `${gt.API_URL}/user-handlers/commission-rate`,
33790
+ getBookersOfSupervisor: `${gt.API_URL}/user-handlers/supervisor/booker-list`,
33791
+ memberList: `${gt.API_URL}/user-handlers/member/list`,
33792
+ createMember: `${gt.API_URL}/user-handlers/member/create`,
33793
+ createManyMember: `${gt.API_URL}/user-handlers/member/create-many`,
33794
+ getMember: `${gt.API_URL}/user-handlers/member`,
33795
+ updateMember: `${gt.API_URL}/user-handlers/member`,
33796
+ createUser: `${gt.API_URL}/user-handlers`,
33797
+ getUser: `${gt.API_URL}/user-handlers/details`,
33798
+ updateUser: `${gt.API_URL}/user-handlers/update`,
33799
+ resetPassword: `${gt.API_URL}/user-handlers/reset-password`,
33800
+ impersonateToken: `${gt.API_URL}/user-handlers/impersonate-token`
33800
33801
  },
33801
33802
  dashboardHandlers: {
33802
- getTotalCommissionAmount: `${mt.API_URL}/dashboard-handlers/get-total-commission-amount`,
33803
- getTotalTransaction: `${mt.API_URL}/dashboard-handlers/get-total-transaction`,
33804
- getTransactionCountGroupByType: `${mt.API_URL}/dashboard-handlers/get-transaction-count-by-type`,
33805
- getTransactionCountByStatus: `${mt.API_URL}/dashboard-handlers/get-transaction-count-by-status`,
33806
- getTransactionCountByDate: `${mt.API_URL}/dashboard-handlers/get-transaction-count-by-date`
33803
+ getTotalCommissionAmount: `${gt.API_URL}/dashboard-handlers/get-total-commission-amount`,
33804
+ getTotalTransaction: `${gt.API_URL}/dashboard-handlers/get-total-transaction`,
33805
+ getTransactionCountGroupByType: `${gt.API_URL}/dashboard-handlers/get-transaction-count-by-type`,
33806
+ getTransactionCountByStatus: `${gt.API_URL}/dashboard-handlers/get-transaction-count-by-status`,
33807
+ getTransactionCountByDate: `${gt.API_URL}/dashboard-handlers/get-transaction-count-by-date`
33807
33808
  },
33808
33809
  tenantHandlers: {
33809
- list: `${mt.API_URL}/tenant-handlers/list`,
33810
- create: `${mt.API_URL}/tenant-handlers/create`,
33811
- getTenant: `${mt.API_URL}/tenant-handlers/detail`,
33812
- updateTenant: `${mt.API_URL}/tenant-handlers/edit`,
33813
- removeTenant: `${mt.API_URL}/tenant-handlers/delete`
33810
+ list: `${gt.API_URL}/tenant-handlers/list`,
33811
+ create: `${gt.API_URL}/tenant-handlers/create`,
33812
+ getTenant: `${gt.API_URL}/tenant-handlers/detail`,
33813
+ updateTenant: `${gt.API_URL}/tenant-handlers/edit`,
33814
+ removeTenant: `${gt.API_URL}/tenant-handlers/delete`
33814
33815
  }
33815
33816
  };
33816
33817
  //! moment.js
@@ -40040,12 +40041,12 @@ function AA(e, t) {
40040
40041
  }
40041
40042
  var Jf = AA(lhe, { path: "/" }), Mu = /* @__PURE__ */ ((e) => (e.USER = "user", e.BOOKER = "booker", e.SUPERVISOR = "supervisor", e.ADMIN = "admin", e.BANK_EMPLOYEE = "bank_employee", e))(Mu || {}), Kr = /* @__PURE__ */ ((e) => (e.VIEW_FX_TRANSACTION_LIST = "VIEW_FX_TRANSACTION_LIST", e.VIEW_FX_TRANSACTION_DETAIL = "VIEW_FX_TRANSACTION_DETAIL", e.VIEW_MEMBER_LIST = "VIEW_MEMBER_LIST", e.ADD_MEMBER_ONE = "ADD_MEMBER_ONE", e.ADD_MEMBER_MANY = "ADD_MEMBER_MANY", e.UPDATE_MEMBER_INFO = "UPDATE_MEMBER_INFO", e.DELETE_MEMBER = "DELETE_MEMBER", e.UPDATE_PROFILE_INFO = "UPDATE_PROFILE_INFO", e.DEPARTMENT_ADMIN = "DEPARTMENT_ADMIN", e.VIEW_DEPARTMENT_LIST = "VIEW_DEPARTMENT_LIST", e.ADD_DEPARTMENT = "ADD_DEPARTMENT", e.UPDATE_DEPARTMENT = "UPDATE_DEPARTMENT", e.ADD_DEPARTMENT_MEMBER = "ADD_DEPARTMENT_MEMBER", e.DELETE_DEPARTMENT = "DELETE_DEPARTMENT", e.REMOVE_DEPARTMENT_MEMBER = "REMOVE_DEPARTMENT_MEMBER", e.VIEW_ROLE_LIST = "VIEW_ROLE_LIST", e.ADD_ROLE = "ADD_ROLE", e.UPDATE_ROLE = "UPDATE_ROLE", e.DELETE_ROLE = "DELETE_ROLE", e.SET_ROLE_PERMISSION = "SET_ROLE_PERMISSION", e.UPDATE_TRANSACTION = "UPDATE_TRANSACTION", e.BIDDING = "BIDDING", e.CREATE_FX_TRANSACTION_FOR_ONE = "CREATE_FX_TRANSACTION_FOR_ONE", e.CREATE_FX_TRANSACTION_FOR_MANY = "CREATE_FX_TRANSACTION_FOR_MANY", e.UPDATE_FX_TRANSACTION_STATUS = "UPDATE_FX_TRANSACTION_STATUS", e.APPROVE_FX_TRANSACTION = "APPROVE_FX_TRANSACTION", e.REJECT_FX_TRANSACTION = "REJECT_FX_TRANSACTION", e.UPDATE_FX_TRANSACTION_AMOUNT = "UPDATE_FX_TRANSACTION_AMOUNT", e.UPDATE_FX_TRANSACTION_EXCHANGE_RATE = "UPDATE_FX_TRANSACTION_EXCHANGE_RATE", e.DOWNLOAD_FX_TRANSACTION_RELATED_DOCUMENT = "DOWNLOAD_FX_TRANSACTION_RELATED_DOCUMENT", e.TRANSACTION_BID = "TRANSACTION_BID", e.VIEW_REPORT = "VIEW_REPORT", e.ADMIN = "ADMIN", e.PARTNER_ADMIN = "PARTNER_ADMIN", e))(Kr || {});
40042
40043
  const Fa = kn.create({
40043
- baseURL: mt.API_URL
40044
+ baseURL: gt.API_URL
40044
40045
  }), u4 = kn.create({
40045
- baseURL: mt.API_URL
40046
+ baseURL: gt.API_URL
40046
40047
  });
40047
40048
  Fa.interceptors.request.use((e) => {
40048
- if (mt.BUILD_FOR === pf.GUEST)
40049
+ if (gt.BUILD_FOR === pf.GUEST)
40049
40050
  return e;
40050
40051
  const t = Jf.get("token");
40051
40052
  return t && (e.headers.Authorization = `Bearer ${t}`), e;
@@ -40140,7 +40141,7 @@ const uhe = ({ label: e, icon: t, path: r, active: n }) => /* @__PURE__ */ m.jsx
40140
40141
  if (!t)
40141
40142
  return [];
40142
40143
  let n = [];
40143
- if (mt.BUILD_FOR === pf.AGENCY && (n = [
40144
+ if (gt.BUILD_FOR === pf.AGENCY && (n = [
40144
40145
  {
40145
40146
  label: "Mua ngoại tệ",
40146
40147
  icon: vg,
@@ -40201,7 +40202,7 @@ const uhe = ({ label: e, icon: t, path: r, active: n }) => /* @__PURE__ */ m.jsx
40201
40202
  display: !0
40202
40203
  // forRoles: [EUserRole.BOOKER, EUserRole.SUPERVISOR],
40203
40204
  }
40204
- ]), mt.BUILD_FOR === pf.PARTNER) {
40205
+ ]), gt.BUILD_FOR === pf.PARTNER) {
40205
40206
  n = [
40206
40207
  {
40207
40208
  label: "Danh sách yêu cầu",
@@ -40262,7 +40263,7 @@ const uhe = ({ label: e, icon: t, path: r, active: n }) => /* @__PURE__ */ m.jsx
40262
40263
  })
40263
40264
  });
40264
40265
  }
40265
- return mt.BUILD_FOR === pf.ADMIN && (n = [
40266
+ return gt.BUILD_FOR === pf.ADMIN && (n = [
40266
40267
  {
40267
40268
  label: "Người dùng",
40268
40269
  icon: nm,
@@ -55861,7 +55862,10 @@ const Ehe = [
55861
55862
  const t = ["USD", "EUR", "GBP", "JPY", "CHF", "CAD", "AUD", "HKD", "SGD", "NZD"], r = new Set(t), n = e.filter((i) => !r.has(i));
55862
55863
  return n.unshift(...t), n.filter((i) => e.includes(i));
55863
55864
  }, g4 = /0[235789][0-9]{1,2}[0-9]{7}(?:[^\d]+|$)/g, m4 = /^\d{9}$|^\d{12}$/, y4 = (e, t) => {
55864
- console.log("gtmTrackEvent", e, t), console.log("dataLayer?", window == null ? void 0 : window.dataLayer), window && window.dataLayer && window.dataLayer.push({ event: e, ...t });
55865
+ {
55866
+ console.log("GTM is not enabled in this environment:", gt.ENVIRONMENT);
55867
+ return;
55868
+ }
55865
55869
  }, v4 = (e) => {
55866
55870
  if (!e) return "";
55867
55871
  const t = e.replace(/[^\d+]/g, "");
@@ -58039,12 +58043,12 @@ function Uhe() {
58039
58043
  return l;
58040
58044
  }
58041
58045
  function NB() {
58042
- var l = this.__wrapped__.value(), f = this.__dir__, S = er(l), I = f < 0, M = S ? l.length : 0, G = zV(0, M, this.__views__), ae = G.start, ge = G.end, Se = ge - ae, ze = I ? ge : ae - 1, $e = this.__iteratees__, Xe = $e.length, gt = 0, Ct = Ra(Se, this.__takeCount__);
58046
+ var l = this.__wrapped__.value(), f = this.__dir__, S = er(l), I = f < 0, M = S ? l.length : 0, G = zV(0, M, this.__views__), ae = G.start, ge = G.end, Se = ge - ae, ze = I ? ge : ae - 1, $e = this.__iteratees__, Xe = $e.length, mt = 0, Ct = Ra(Se, this.__takeCount__);
58043
58047
  if (!S || !I && M == Se && Ct == Se)
58044
58048
  return BC(l, this.__actions__);
58045
58049
  var Bt = [];
58046
58050
  e:
58047
- for (; Se-- && gt < Ct; ) {
58051
+ for (; Se-- && mt < Ct; ) {
58048
58052
  ze += f;
58049
58053
  for (var or = -1, Vt = l[ze]; ++or < Xe; ) {
58050
58054
  var fr = $e[or], Sr = fr.iteratee, Oi = fr.type, Ya = Sr(Vt);
@@ -58056,7 +58060,7 @@ function Uhe() {
58056
58060
  break e;
58057
58061
  }
58058
58062
  }
58059
- Bt[gt++] = Vt;
58063
+ Bt[mt++] = Vt;
58060
58064
  }
58061
58065
  return Bt;
58062
58066
  }
@@ -58261,11 +58265,11 @@ function Uhe() {
58261
58265
  if (ae = KV(l), !ge)
58262
58266
  return si(l, ae);
58263
58267
  } else {
58264
- var Xe = ka(l), gt = Xe == W || Xe == Ye;
58268
+ var Xe = ka(l), mt = Xe == W || Xe == Ye;
58265
58269
  if (yl(l))
58266
58270
  return HC(l, ge);
58267
- if (Xe == Ae || Xe == ie || gt && !M) {
58268
- if (ae = Se || gt ? {} : sT(l), !ge)
58271
+ if (Xe == Ae || Xe == ie || mt && !M) {
58272
+ if (ae = Se || mt ? {} : sT(l), !ge)
58269
58273
  return Se ? LV(l, iV(ae, l)) : FV(l, vC(ae, l));
58270
58274
  } else {
58271
58275
  if (!Or[Xe])
@@ -58320,8 +58324,8 @@ function Uhe() {
58320
58324
  for (; ++M < ge; ) {
58321
58325
  var $e = l[M], Xe = S == null ? $e : S($e);
58322
58326
  if ($e = I || $e !== 0 ? $e : 0, ae && Xe === Xe) {
58323
- for (var gt = ze; gt--; )
58324
- if (f[gt] === Xe)
58327
+ for (var mt = ze; mt--; )
58328
+ if (f[mt] === Xe)
58325
58329
  continue e;
58326
58330
  Se.push($e);
58327
58331
  } else G(f, Xe, I) || Se.push($e);
@@ -58406,17 +58410,17 @@ function Uhe() {
58406
58410
  ae && f && ($e = Qr($e, At(f))), Se = Ra($e.length, Se), ge[ae] = !S && (f || M >= 120 && $e.length >= 120) ? new du(ae && $e) : r;
58407
58411
  }
58408
58412
  $e = l[0];
58409
- var Xe = -1, gt = ge[0];
58413
+ var Xe = -1, mt = ge[0];
58410
58414
  e:
58411
58415
  for (; ++Xe < M && ze.length < Se; ) {
58412
58416
  var Ct = $e[Xe], Bt = f ? f(Ct) : Ct;
58413
- if (Ct = S || Ct !== 0 ? Ct : 0, !(gt ? Wt(gt, Bt) : I(ze, Bt, S))) {
58417
+ if (Ct = S || Ct !== 0 ? Ct : 0, !(mt ? Wt(mt, Bt) : I(ze, Bt, S))) {
58414
58418
  for (ae = G; --ae; ) {
58415
58419
  var or = ge[ae];
58416
58420
  if (!(or ? Wt(or, Bt) : I(l[ae], Bt, S)))
58417
58421
  continue e;
58418
58422
  }
58419
- gt && gt.push(Bt), ze.push(Ct);
58423
+ mt && mt.push(Bt), ze.push(Ct);
58420
58424
  }
58421
58425
  }
58422
58426
  return ze;
@@ -58446,13 +58450,13 @@ function Uhe() {
58446
58450
  function gV(l, f, S, I, M, G) {
58447
58451
  var ae = er(l), ge = er(f), Se = ae ? ve : ka(l), ze = ge ? ve : ka(f);
58448
58452
  Se = Se == ie ? Ae : Se, ze = ze == ie ? Ae : ze;
58449
- var $e = Se == Ae, Xe = ze == Ae, gt = Se == ze;
58450
- if (gt && yl(l)) {
58453
+ var $e = Se == Ae, Xe = ze == Ae, mt = Se == ze;
58454
+ if (mt && yl(l)) {
58451
58455
  if (!yl(f))
58452
58456
  return !1;
58453
58457
  ae = !0, $e = !1;
58454
58458
  }
58455
- if (gt && !$e)
58459
+ if (mt && !$e)
58456
58460
  return G || (G = new Po()), ae || Md(l) ? aT(l, f, S, I, M, G) : HV(l, f, Se, S, I, M, G);
58457
58461
  if (!(S & g)) {
58458
58462
  var Ct = $e && Wr.call(l, "__wrapped__"), Bt = Xe && Wr.call(f, "__wrapped__");
@@ -58461,7 +58465,7 @@ function Uhe() {
58461
58465
  return G || (G = new Po()), M(or, Vt, S, I, G);
58462
58466
  }
58463
58467
  }
58464
- return gt ? (G || (G = new Po()), WV(l, f, S, I, M, G)) : !1;
58468
+ return mt ? (G || (G = new Po()), WV(l, f, S, I, M, G)) : !1;
58465
58469
  }
58466
58470
  function mV(l) {
58467
58471
  return Tn(l) && ka(l) == Ze;
@@ -58484,8 +58488,8 @@ function Uhe() {
58484
58488
  } else {
58485
58489
  var Xe = new Po();
58486
58490
  if (I)
58487
- var gt = I(ze, $e, Se, l, f, Xe);
58488
- if (!(gt === r ? gh($e, ze, g | v, I, Xe) : gt))
58491
+ var mt = I(ze, $e, Se, l, f, Xe);
58492
+ if (!(mt === r ? gh($e, ze, g | v, I, Xe) : mt))
58489
58493
  return !1;
58490
58494
  }
58491
58495
  }
@@ -58564,8 +58568,8 @@ function Uhe() {
58564
58568
  }
58565
58569
  var $e = G ? G(ge, Se, S + "", l, f, ae) : r, Xe = $e === r;
58566
58570
  if (Xe) {
58567
- var gt = er(Se), Ct = !gt && yl(Se), Bt = !gt && !Ct && Md(Se);
58568
- $e = Se, gt || Ct || Bt ? er(ge) ? $e = ge : Pn(ge) ? $e = si(ge) : Ct ? (Xe = !1, $e = HC(Se, !0)) : Bt ? (Xe = !1, $e = WC(Se, !0)) : $e = [] : xh(Se) || mu(Se) ? ($e = ge, mu(ge) ? $e = BT(ge) : (!xn(ge) || ic(ge)) && ($e = sT(Se))) : Xe = !1;
58571
+ var mt = er(Se), Ct = !mt && yl(Se), Bt = !mt && !Ct && Md(Se);
58572
+ $e = Se, mt || Ct || Bt ? er(ge) ? $e = ge : Pn(ge) ? $e = si(ge) : Ct ? (Xe = !1, $e = HC(Se, !0)) : Bt ? (Xe = !1, $e = WC(Se, !0)) : $e = [] : xh(Se) || mu(Se) ? ($e = ge, mu(ge) ? $e = BT(ge) : (!xn(ge) || ic(ge)) && ($e = sT(Se))) : Xe = !1;
58569
58573
  }
58570
58574
  Xe && (ae.set(Se, $e), M($e, Se, I, G, ae), ae.delete(Se)), rS(l, S, $e);
58571
58575
  }
@@ -58712,10 +58716,10 @@ function Uhe() {
58712
58716
  return 0;
58713
58717
  f = S(f);
58714
58718
  for (var ae = f !== f, ge = f === null, Se = Pi(f), ze = f === r; M < G; ) {
58715
- var $e = zp((M + G) / 2), Xe = S(l[$e]), gt = Xe !== r, Ct = Xe === null, Bt = Xe === Xe, or = Pi(Xe);
58719
+ var $e = zp((M + G) / 2), Xe = S(l[$e]), mt = Xe !== r, Ct = Xe === null, Bt = Xe === Xe, or = Pi(Xe);
58716
58720
  if (ae)
58717
58721
  var Vt = I || Bt;
58718
- else ze ? Vt = Bt && (I || gt) : ge ? Vt = Bt && gt && (I || !Ct) : Se ? Vt = Bt && gt && !Ct && (I || !or) : Ct || or ? Vt = !1 : Vt = I ? Xe <= f : Xe < f;
58722
+ else ze ? Vt = Bt && (I || mt) : ge ? Vt = Bt && mt && (I || !Ct) : Se ? Vt = Bt && mt && !Ct && (I || !or) : Ct || or ? Vt = !1 : Vt = I ? Xe <= f : Xe < f;
58719
58723
  Vt ? M = $e + 1 : G = $e;
58720
58724
  }
58721
58725
  return Ra(G, H);
@@ -58758,8 +58762,8 @@ function Uhe() {
58758
58762
  for (; ++I < G; ) {
58759
58763
  var $e = l[I], Xe = f ? f($e) : $e;
58760
58764
  if ($e = S || $e !== 0 ? $e : 0, ae && Xe === Xe) {
58761
- for (var gt = Se.length; gt--; )
58762
- if (Se[gt] === Xe)
58765
+ for (var mt = Se.length; mt--; )
58766
+ if (Se[mt] === Xe)
58763
58767
  continue e;
58764
58768
  f && Se.push(Xe), ge.push($e);
58765
58769
  } else M(Se, Xe, S) || (Se !== ge && Se.push(Xe), ge.push($e));
@@ -58873,12 +58877,12 @@ function Uhe() {
58873
58877
  return $e;
58874
58878
  }
58875
58879
  function $C(l, f, S, I) {
58876
- for (var M = -1, G = l.length, ae = -1, ge = S.length, Se = -1, ze = f.length, $e = Xn(G - ge, 0), Xe = Le($e + ze), gt = !I; ++M < $e; )
58880
+ for (var M = -1, G = l.length, ae = -1, ge = S.length, Se = -1, ze = f.length, $e = Xn(G - ge, 0), Xe = Le($e + ze), mt = !I; ++M < $e; )
58877
58881
  Xe[M] = l[M];
58878
58882
  for (var Ct = M; ++Se < ze; )
58879
58883
  Xe[Ct + Se] = f[Se];
58880
58884
  for (; ++ae < ge; )
58881
- (gt || M < G) && (Xe[Ct + S[ae]] = l[M++]);
58885
+ (mt || M < G) && (Xe[Ct + S[ae]] = l[M++]);
58882
58886
  return Xe;
58883
58887
  }
58884
58888
  function si(l, f) {
@@ -59040,14 +59044,14 @@ function Uhe() {
59040
59044
  var ze = arguments, $e = ze[0];
59041
59045
  if (ae && ze.length == 1 && er($e))
59042
59046
  return ae.plant($e).value();
59043
- for (var Xe = 0, gt = S ? f[Xe].apply(this, ze) : $e; ++Xe < S; )
59044
- gt = f[Xe].call(this, gt);
59045
- return gt;
59047
+ for (var Xe = 0, mt = S ? f[Xe].apply(this, ze) : $e; ++Xe < S; )
59048
+ mt = f[Xe].call(this, mt);
59049
+ return mt;
59046
59050
  };
59047
59051
  });
59048
59052
  }
59049
59053
  function rg(l, f, S, I, M, G, ae, ge, Se, ze) {
59050
- var $e = f & R, Xe = f & x, gt = f & A, Ct = f & (b | k), Bt = f & F, or = gt ? r : yh(l);
59054
+ var $e = f & R, Xe = f & x, mt = f & A, Ct = f & (b | k), Bt = f & F, or = mt ? r : yh(l);
59051
59055
  function Vt() {
59052
59056
  for (var fr = arguments.length, Sr = Le(fr), Oi = fr; Oi--; )
59053
59057
  Sr[Oi] = arguments[Oi];
@@ -59068,7 +59072,7 @@ function Uhe() {
59068
59072
  ze - fr
59069
59073
  );
59070
59074
  }
59071
- var No = Xe ? S : this, sc = gt ? No[l] : l;
59075
+ var No = Xe ? S : this, sc = mt ? No[l] : l;
59072
59076
  return fr = Sr.length, ge ? Sr = a6(Sr, ge) : Bt && fr > 1 && Sr.reverse(), $e && Se < fr && (Sr.length = Se), this && this !== Bn && this instanceof Vt && (sc = or || yh(sc)), sc.apply(No, Sr);
59073
59077
  }
59074
59078
  return Vt;
@@ -59112,11 +59116,11 @@ function Uhe() {
59112
59116
  function BV(l, f, S, I) {
59113
59117
  var M = f & x, G = yh(l);
59114
59118
  function ae() {
59115
- for (var ge = -1, Se = arguments.length, ze = -1, $e = I.length, Xe = Le($e + Se), gt = this && this !== Bn && this instanceof ae ? G : l; ++ze < $e; )
59119
+ for (var ge = -1, Se = arguments.length, ze = -1, $e = I.length, Xe = Le($e + Se), mt = this && this !== Bn && this instanceof ae ? G : l; ++ze < $e; )
59116
59120
  Xe[ze] = I[ze];
59117
59121
  for (; Se--; )
59118
59122
  Xe[ze++] = arguments[++ge];
59119
- return na(gt, M ? S : this, Xe);
59123
+ return na(mt, M ? S : this, Xe);
59120
59124
  }
59121
59125
  return ae;
59122
59126
  }
@@ -59131,7 +59135,7 @@ function Uhe() {
59131
59135
  };
59132
59136
  }
59133
59137
  function eT(l, f, S, I, M, G, ae, ge, Se, ze) {
59134
- var $e = f & b, Xe = $e ? ae : r, gt = $e ? r : ae, Ct = $e ? G : r, Bt = $e ? r : G;
59138
+ var $e = f & b, Xe = $e ? ae : r, mt = $e ? r : ae, Ct = $e ? G : r, Bt = $e ? r : G;
59135
59139
  f |= $e ? w : O, f &= ~($e ? O : w), f & E || (f &= -4);
59136
59140
  var or = [
59137
59141
  l,
@@ -59140,7 +59144,7 @@ function Uhe() {
59140
59144
  Ct,
59141
59145
  Xe,
59142
59146
  Bt,
59143
- gt,
59147
+ mt,
59144
59148
  ge,
59145
59149
  Se,
59146
59150
  ze
@@ -59175,7 +59179,7 @@ function Uhe() {
59175
59179
  var $e = I, Xe = M;
59176
59180
  I = M = r;
59177
59181
  }
59178
- var gt = Se ? r : CS(l), Ct = [
59182
+ var mt = Se ? r : CS(l), Ct = [
59179
59183
  l,
59180
59184
  f,
59181
59185
  S,
@@ -59187,10 +59191,10 @@ function Uhe() {
59187
59191
  ae,
59188
59192
  ge
59189
59193
  ];
59190
- if (gt && t6(Ct, gt), l = Ct[0], f = Ct[1], S = Ct[2], I = Ct[3], M = Ct[4], ge = Ct[9] = Ct[9] === r ? Se ? 0 : l.length : Xn(Ct[9] - ze, 0), !ge && f & (b | k) && (f &= -25), !f || f == x)
59194
+ if (mt && t6(Ct, mt), l = Ct[0], f = Ct[1], S = Ct[2], I = Ct[3], M = Ct[4], ge = Ct[9] = Ct[9] === r ? Se ? 0 : l.length : Xn(Ct[9] - ze, 0), !ge && f & (b | k) && (f &= -25), !f || f == x)
59191
59195
  var Bt = DV(l, f, S);
59192
59196
  else f == b || f == k ? Bt = UV(l, f, ge) : (f == w || f == (x | w)) && !M.length ? Bt = BV(l, f, S, I) : Bt = rg.apply(r, Ct);
59193
- var or = gt ? FC : fT;
59197
+ var or = mt ? FC : fT;
59194
59198
  return hT(or(Bt, Ct), l, f);
59195
59199
  }
59196
59200
  function rT(l, f, S, I) {
@@ -59209,7 +59213,7 @@ function Uhe() {
59209
59213
  var ze = G.get(l), $e = G.get(f);
59210
59214
  if (ze && $e)
59211
59215
  return ze == f && $e == l;
59212
- var Xe = -1, gt = !0, Ct = S & v ? new du() : r;
59216
+ var Xe = -1, mt = !0, Ct = S & v ? new du() : r;
59213
59217
  for (G.set(l, f), G.set(f, l); ++Xe < ge; ) {
59214
59218
  var Bt = l[Xe], or = f[Xe];
59215
59219
  if (I)
@@ -59217,7 +59221,7 @@ function Uhe() {
59217
59221
  if (Vt !== r) {
59218
59222
  if (Vt)
59219
59223
  continue;
59220
- gt = !1;
59224
+ mt = !1;
59221
59225
  break;
59222
59226
  }
59223
59227
  if (Ct) {
@@ -59225,15 +59229,15 @@ function Uhe() {
59225
59229
  if (!Wt(Ct, Sr) && (Bt === fr || M(Bt, fr, S, I, G)))
59226
59230
  return Ct.push(Sr);
59227
59231
  })) {
59228
- gt = !1;
59232
+ mt = !1;
59229
59233
  break;
59230
59234
  }
59231
59235
  } else if (!(Bt === or || M(Bt, or, S, I, G))) {
59232
- gt = !1;
59236
+ mt = !1;
59233
59237
  break;
59234
59238
  }
59235
59239
  }
59236
- return G.delete(l), G.delete(f), gt;
59240
+ return G.delete(l), G.delete(f), mt;
59237
59241
  }
59238
59242
  function HV(l, f, S, I, M, G, ae) {
59239
59243
  switch (S) {
@@ -59275,8 +59279,8 @@ function Uhe() {
59275
59279
  if (Se != $e && !ae)
59276
59280
  return !1;
59277
59281
  for (var Xe = Se; Xe--; ) {
59278
- var gt = ge[Xe];
59279
- if (!(ae ? gt in f : Wr.call(f, gt)))
59282
+ var mt = ge[Xe];
59283
+ if (!(ae ? mt in f : Wr.call(f, mt)))
59280
59284
  return !1;
59281
59285
  }
59282
59286
  var Ct = G.get(l), Bt = G.get(f);
@@ -59285,15 +59289,15 @@ function Uhe() {
59285
59289
  var or = !0;
59286
59290
  G.set(l, f), G.set(f, l);
59287
59291
  for (var Vt = ae; ++Xe < Se; ) {
59288
- gt = ge[Xe];
59289
- var fr = l[gt], Sr = f[gt];
59292
+ mt = ge[Xe];
59293
+ var fr = l[mt], Sr = f[mt];
59290
59294
  if (I)
59291
- var Oi = ae ? I(Sr, fr, gt, f, l, G) : I(fr, Sr, gt, l, f, G);
59295
+ var Oi = ae ? I(Sr, fr, mt, f, l, G) : I(fr, Sr, mt, l, f, G);
59292
59296
  if (!(Oi === r ? fr === Sr || M(fr, Sr, S, I, G) : Oi)) {
59293
59297
  or = !1;
59294
59298
  break;
59295
59299
  }
59296
- Vt || (Vt = gt == "constructor");
59300
+ Vt || (Vt = mt == "constructor");
59297
59301
  }
59298
59302
  if (or && !Vt) {
59299
59303
  var Ya = l.constructor, Ni = f.constructor;
@@ -60104,10 +60108,10 @@ function Uhe() {
60104
60108
  return I.placeholder = _T.placeholder, I;
60105
60109
  }
60106
60110
  function PT(l, f, S) {
60107
- var I, M, G, ae, ge, Se, ze = 0, $e = !1, Xe = !1, gt = !0;
60111
+ var I, M, G, ae, ge, Se, ze = 0, $e = !1, Xe = !1, mt = !0;
60108
60112
  if (typeof l != "function")
60109
60113
  throw new qi(o);
60110
- f = no(f) || 0, xn(S) && ($e = !!S.leading, Xe = "maxWait" in S, G = Xe ? Xn(no(S.maxWait) || 0, f) : G, gt = "trailing" in S ? !!S.trailing : gt);
60114
+ f = no(f) || 0, xn(S) && ($e = !!S.leading, Xe = "maxWait" in S, G = Xe ? Xn(no(S.maxWait) || 0, f) : G, mt = "trailing" in S ? !!S.trailing : mt);
60111
60115
  function Ct(On) {
60112
60116
  var No = I, sc = M;
60113
60117
  return I = M = r, ze = On, ae = l.apply(sc, No), ae;
@@ -60130,7 +60134,7 @@ function Uhe() {
60130
60134
  ge = Sh(fr, or(On));
60131
60135
  }
60132
60136
  function Sr(On) {
60133
- return ge = r, gt && I ? Ct(On) : (I = M = r, ae);
60137
+ return ge = r, mt && I ? Ct(On) : (I = M = r, ae);
60134
60138
  }
60135
60139
  function Oi() {
60136
60140
  ge !== r && GC(ge), ze = 0, I = Se = M = ge = r;
@@ -60687,12 +60691,12 @@ function Uhe() {
60687
60691
  function CG(l, f, S) {
60688
60692
  var I = B.templateSettings;
60689
60693
  S && Ka(l, f, S) && (f = r), l = Br(l), f = mg({}, f, I, rT);
60690
- var M = mg({}, f.imports, I.imports, rT), G = aa(M), ae = Qt(M, G), ge, Se, ze = 0, $e = f.interpolate || ht, Xe = "__p += '", gt = qv(
60694
+ var M = mg({}, f.imports, I.imports, rT), G = aa(M), ae = Qt(M, G), ge, Se, ze = 0, $e = f.interpolate || ht, Xe = "__p += '", mt = qv(
60691
60695
  (f.escape || ht).source + "|" + $e.source + "|" + ($e === To ? ee : ht).source + "|" + (f.evaluate || ht).source + "|$",
60692
60696
  "g"
60693
60697
  ), Ct = "//# sourceURL=" + (Wr.call(f, "sourceURL") ? (f.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++zr + "]") + `
60694
60698
  `;
60695
- l.replace(gt, function(Vt, fr, Sr, Oi, Ya, Ni) {
60699
+ l.replace(mt, function(Vt, fr, Sr, Oi, Ya, Ni) {
60696
60700
  return Sr || (Sr = Oi), Xe += l.slice(ze, Ni).replace(et, Np), fr && (ge = !0, Xe += `' +
60697
60701
  __e(` + fr + `) +
60698
60702
  '`), Ya && (Se = !0, Xe += `';
@@ -60782,8 +60786,8 @@ function print() { __p += __j.call(arguments, '') }
60782
60786
  Se = Se.slice(0, Xe === r ? ge : Xe);
60783
60787
  }
60784
60788
  } else if (l.indexOf(_i(M), ge) != ge) {
60785
- var gt = Se.lastIndexOf(M);
60786
- gt > -1 && (Se = Se.slice(0, gt));
60789
+ var mt = Se.lastIndexOf(M);
60790
+ mt > -1 && (Se = Se.slice(0, mt));
60787
60791
  }
60788
60792
  return Se + I;
60789
60793
  }
@@ -61017,14 +61021,14 @@ function print() { __p += __j.call(arguments, '') }
61017
61021
  M && (B.prototype[f] = function() {
61018
61022
  var ae = this.__wrapped__, ge = I ? [1] : arguments, Se = ae instanceof pr, ze = ge[0], $e = Se || er(ae), Xe = function(fr) {
61019
61023
  var Sr = M.apply(B, Zi([fr], ge));
61020
- return I && gt ? Sr[0] : Sr;
61024
+ return I && mt ? Sr[0] : Sr;
61021
61025
  };
61022
61026
  $e && S && typeof ze == "function" && ze.length != 1 && (Se = $e = !1);
61023
- var gt = this.__chain__, Ct = !!this.__actions__.length, Bt = G && !gt, or = Se && !Ct;
61027
+ var mt = this.__chain__, Ct = !!this.__actions__.length, Bt = G && !mt, or = Se && !Ct;
61024
61028
  if (!G && $e) {
61025
61029
  ae = or ? ae : new pr(this);
61026
61030
  var Vt = l.apply(ae, ge);
61027
- return Vt.__actions__.push({ func: lg, args: [Xe], thisArg: r }), new Qi(Vt, gt);
61031
+ return Vt.__actions__.push({ func: lg, args: [Xe], thisArg: r }), new Qi(Vt, mt);
61028
61032
  }
61029
61033
  return Bt && or ? l.apply(this, ge) : (Vt = this.thru(Xe), Bt ? I ? Vt.value()[0] : Vt.value() : Vt);
61030
61034
  });
@@ -83538,7 +83542,7 @@ const H1e = Zc().shape({
83538
83542
  window.parent.postMessage(
83539
83543
  {
83540
83544
  type: "open-transaction-create",
83541
- url: `${mt.BOOKER_URL}/transaction/create`
83545
+ url: `${gt.BOOKER_URL}/transaction/create`
83542
83546
  },
83543
83547
  "*"
83544
83548
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gotrip-fx-transaction-form",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "description": "FX Transaction Form ES6 module",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -1,4 +1,5 @@
1
1
  export declare const Env: {
2
+ ENVIRONMENT: any;
2
3
  API_URL: any;
3
4
  BUILD_FOR: any;
4
5
  BOOKER_URL: any;