@sheerid/jslib-nightly 2.124.0-alpha.0 → 2.124.0-alpha.2
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/_mysheerid-preview.css +3 -3
- package/_mysheerid-preview.js +376 -372
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/EmailLoopPending-CHILFZYc.js +3 -3
- package/chunk/EmailLoopPending-Nn_H3cfS.js +3 -3
- package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js +3 -3
- package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js +3 -3
- package/chunk/Onfido-AyvUk6wg.js +3 -3
- package/chunk/StepIDCheckLoopOnfido-Bl1QfUZZ.js +3 -3
- package/chunk/StepIDCheckLoopOnfido-D0kpzIyk.js +3 -3
- package/chunk/StepIDCheckLoopRegula-BkTDnK3G.js +3 -3
- package/chunk/StepIDCheckLoopRegula-D6freNro.js +3 -3
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-CejkPGc7.js +3 -3
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-Dfq060Rm.js +3 -3
- package/chunk/ar--TDb5qE5.js +3 -3
- package/chunk/bg-D3cL-ciP.js +3 -3
- package/chunk/bn-IN-CwiPRX5T.js +3 -3
- package/chunk/cs-7pQwm9YC.js +3 -3
- package/chunk/da-C2xASa_G.js +3 -3
- package/chunk/de-D4nlAbMa.js +3 -3
- package/chunk/el-C-PZe5CV.js +3 -3
- package/chunk/en-GB-DXa6bdA_.js +3 -3
- package/chunk/es-BlLBNTpz.js +3 -3
- package/chunk/es-ES-inNoG-F1.js +3 -3
- package/chunk/fi-CcolQnAY.js +3 -3
- package/chunk/fr-BjHvlhn5.js +3 -3
- package/chunk/fr-CA-DD4NnfK-.js +3 -3
- package/chunk/ga-D-rK3PZy.js +3 -3
- package/chunk/hi-IN-B1NQdkcj.js +3 -3
- package/chunk/hr-CwvyeMFM.js +3 -3
- package/chunk/hu-BCZWPgvf.js +3 -3
- package/chunk/id-CRNXXELT.js +3 -3
- package/chunk/index--kEgeOmj.js +3 -3
- package/chunk/index-1Cpf6KJI.js +3 -3
- package/chunk/index-2ob_KvkC.js +3 -3
- package/chunk/index-5LobjedY.js +3 -3
- package/chunk/index-B4HIyFVA.js +3 -3
- package/chunk/index-B4PunPFk.js +3 -3
- package/chunk/index-B9JnXGrb.js +3 -3
- package/chunk/index-BGfqBrWl.js +3 -3
- package/chunk/index-BU0HFLKm.js +3 -3
- package/chunk/index-Bb2METWH.js +3 -3
- package/chunk/index-BhfkDd-S.js +3 -3
- package/chunk/index-Bofro8C_.js +3 -3
- package/chunk/index-C4fkTurt.js +3 -3
- package/chunk/index-CExjesRv.js +3 -3
- package/chunk/index-CHaIZirz.js +3 -3
- package/chunk/index-CHo0fdEq.js +3 -3
- package/chunk/index-CUH2uSMd.js +3 -3
- package/chunk/index-CUti-8Jc.js +3 -3
- package/chunk/index-CVEIzLov.js +3 -3
- package/chunk/index-CcE-GFi6.js +3 -3
- package/chunk/index-CjcYFvhf.js +3 -3
- package/chunk/index-ClyCQ8YP.js +3 -3
- package/chunk/index-Cu25bQnA.js +3 -3
- package/chunk/index-CxZt0BFc.js +3 -3
- package/chunk/index-D0WTHjEm.js +3 -3
- package/chunk/index-D5AJ5u6Y.js +3 -3
- package/chunk/index-DAE3SOJH.js +3 -3
- package/chunk/index-DFajPA-e.js +3 -3
- package/chunk/index-DHtYIKVA.js +3 -3
- package/chunk/index-DIkWpujR.js +3 -3
- package/chunk/index-DY7vn_Lg.js +3 -3
- package/chunk/index-I9k6NZrA.js +3 -3
- package/chunk/index-N20c5WiN.js +3 -3
- package/chunk/index-WHUp5RNf.js +3 -3
- package/chunk/index-fOfKAbJL.js +3 -3
- package/chunk/index-huf3obhv.js +3 -3
- package/chunk/index-oHEY5B58.js +3 -3
- package/chunk/index-yXBEMaOE.js +3 -3
- package/chunk/index-zX2rojxg.js +3 -3
- package/chunk/is-BFoDLV-f.js +3 -3
- package/chunk/it-B_iK-eSd.js +3 -3
- package/chunk/iw-DL48t5mZ.js +3 -3
- package/chunk/ja-C5bG2SRl.js +3 -3
- package/chunk/ko-CmmVl873.js +3 -3
- package/chunk/lo-DvBsVm-4.js +3 -3
- package/chunk/lt-DWoqI4gx.js +3 -3
- package/chunk/ms-BCHBEoqA.js +3 -3
- package/chunk/nl-BE-DLixID0q.js +3 -3
- package/chunk/nl-CeBqOv0i.js +3 -3
- package/chunk/no-BR2xqD23.js +3 -3
- package/chunk/pl-Dl77tRgW.js +3 -3
- package/chunk/pt-BR--SxHOWht.js +3 -3
- package/chunk/pt-D0bmI49-.js +3 -3
- package/chunk/ro-HCkS3amY.js +3 -3
- package/chunk/ru-BDMi1lvr.js +3 -3
- package/chunk/sk-C4zNHeM6.js +3 -3
- package/chunk/sl-BbQVw1S0.js +3 -3
- package/chunk/sr-8d4sC8Hd.js +3 -3
- package/chunk/sv-B0-e7r_0.js +3 -3
- package/chunk/sw-Bo9F25Vc.js +3 -3
- package/chunk/th-DDuVbwLh.js +3 -3
- package/chunk/tr-CUwkgj2T.js +3 -3
- package/chunk/uk-BPrGA4MJ.js +3 -3
- package/chunk/ur-CIgS3emx.js +3 -3
- package/chunk/useCollectFieldsEndpoint-DFo1yXvN.js +3 -3
- package/chunk/useCollectFieldsEndpoint-DPX8CT4Y.js +3 -3
- package/chunk/useEmailFirstExperiment-DH410dM-.js +3 -3
- package/chunk/useEmailFirstExperiment-q-thhCji.js +3 -3
- package/chunk/vi-JbWizd9m.js +3 -3
- package/chunk/zh-DjbXrser.js +3 -3
- package/chunk/zh-HK-DXcspp2Y.js +3 -3
- package/chunk/zu-BzwZfIDF.js +3 -3
- package/es6.css +3 -3
- package/jslib.js +4 -4
- package/lib/{EmailLoopPending-GJkZ5ncK.js → EmailLoopPending-CvnWlrAn.js} +4 -4
- package/lib/{EmailLoopPending-GJkZ5ncK.js.map → EmailLoopPending-CvnWlrAn.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-Dd6nfJPB.js → LicensedProfessionalOrganizationComponent-B3Rrf2V6.js} +4 -4
- package/lib/{LicensedProfessionalOrganizationComponent-Dd6nfJPB.js.map → LicensedProfessionalOrganizationComponent-B3Rrf2V6.js.map} +1 -1
- package/lib/Onfido-AyvUk6wg.js +3 -3
- package/lib/StepCollectMilitaryStatusComponent-BorX3LbP.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-Dg4ekfWn.js.map → StepCollectMilitaryStatusComponent-BorX3LbP.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-BoMQi5wo.js → StepIDCheckLoopOnfido-BYvUCfr3.js} +4 -4
- package/lib/{StepIDCheckLoopOnfido-BoMQi5wo.js.map → StepIDCheckLoopOnfido-BYvUCfr3.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-CrxHJsJh.js → StepIDCheckLoopRegula-B79PfPjB.js} +4 -4
- package/lib/{StepIDCheckLoopRegula-CrxHJsJh.js.map → StepIDCheckLoopRegula-B79PfPjB.js.map} +1 -1
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-DoFx6BE4.js → StepInactiveMilitaryPersonalInfoComponent-CJf_D07j.js} +5 -5
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-DoFx6BE4.js.map → StepInactiveMilitaryPersonalInfoComponent-CJf_D07j.js.map} +1 -1
- package/lib/{VerificationApiUtils-DpjOud1K.js → VerificationApiUtils-UoJ8k7EZ.js} +4 -4
- package/lib/{VerificationApiUtils-DpjOud1K.js.map → VerificationApiUtils-UoJ8k7EZ.js.map} +1 -1
- package/lib/ar--TDb5qE5.js +3 -3
- package/lib/bg-D3cL-ciP.js +3 -3
- package/lib/bn-IN-CwiPRX5T.js +3 -3
- package/lib/cs-7pQwm9YC.js +3 -3
- package/lib/da-C2xASa_G.js +3 -3
- package/lib/de-D4nlAbMa.js +3 -3
- package/lib/el-C-PZe5CV.js +3 -3
- package/lib/en-GB-DXa6bdA_.js +3 -3
- package/lib/es-BlLBNTpz.js +3 -3
- package/lib/es-ES-inNoG-F1.js +3 -3
- package/lib/{es6-BH7OzvSZ.js → es6-D1MyyaJI.js} +895 -891
- package/lib/es6-D1MyyaJI.js.map +1 -0
- package/lib/fi-CcolQnAY.js +3 -3
- package/lib/fr-BjHvlhn5.js +3 -3
- package/lib/fr-CA-DD4NnfK-.js +3 -3
- package/lib/ga-D-rK3PZy.js +3 -3
- package/lib/hi-IN-B1NQdkcj.js +3 -3
- package/lib/hr-CwvyeMFM.js +3 -3
- package/lib/hu-BCZWPgvf.js +3 -3
- package/lib/id-CRNXXELT.js +3 -3
- package/lib/{index-C14PvBI9.js → index-BKkmy_ez.js} +4 -4
- package/lib/{index-C14PvBI9.js.map → index-BKkmy_ez.js.map} +1 -1
- package/lib/{index-BcG78d9n.js → index-BPzpWznF.js} +4 -4
- package/lib/{index-BcG78d9n.js.map → index-BPzpWznF.js.map} +1 -1
- package/lib/{index-isvoiD0I.js → index-BqLMAHdJ.js} +6 -6
- package/lib/{index-isvoiD0I.js.map → index-BqLMAHdJ.js.map} +1 -1
- package/lib/index-CGJD2mMp.js +11 -0
- package/lib/index-CGJD2mMp.js.map +1 -0
- package/lib/{index-DIZY0RF9.js → index-CORBh-bi.js} +5 -5
- package/lib/{index-DIZY0RF9.js.map → index-CORBh-bi.js.map} +1 -1
- package/lib/{index-Chj7ZMXg.js → index-CY_jDJYM.js} +4 -4
- package/lib/{index-Chj7ZMXg.js.map → index-CY_jDJYM.js.map} +1 -1
- package/lib/{index-uNYowhlb.js → index-CZvk67eG.js} +5 -5
- package/lib/{index-uNYowhlb.js.map → index-CZvk67eG.js.map} +1 -1
- package/lib/{index-DuzGcoN0.js → index-Cq-7XX97.js} +5 -5
- package/lib/{index-DuzGcoN0.js.map → index-Cq-7XX97.js.map} +1 -1
- package/lib/{index-9sRp4Jy9.js → index-D-JS2Vcp.js} +5 -5
- package/lib/{index-9sRp4Jy9.js.map → index-D-JS2Vcp.js.map} +1 -1
- package/lib/index-D0f5Z2qq.js +11 -0
- package/lib/index-D0f5Z2qq.js.map +1 -0
- package/lib/index-DCkG5biD.js +11 -0
- package/lib/index-DCkG5biD.js.map +1 -0
- package/lib/index-DIkWpujR.js +3 -3
- package/lib/{index-BCCOqRyD.js → index-DRjJklpr.js} +4 -4
- package/lib/{index-BCCOqRyD.js.map → index-DRjJklpr.js.map} +1 -1
- package/lib/{index-qf9lNhXH.js → index-DveauDIF.js} +6 -6
- package/lib/{index-qf9lNhXH.js.map → index-DveauDIF.js.map} +1 -1
- package/lib/{index-CTepg4Gg.js → index-IoqBvIZn.js} +5 -5
- package/lib/{index-CTepg4Gg.js.map → index-IoqBvIZn.js.map} +1 -1
- package/lib/{index-CMsOpOxu.js → index-JqxNmj7b.js} +4 -4
- package/lib/{index-CMsOpOxu.js.map → index-JqxNmj7b.js.map} +1 -1
- package/lib/{index-CMQx51xO.js → index-NeLk9xhI.js} +5 -5
- package/lib/{index-CMQx51xO.js.map → index-NeLk9xhI.js.map} +1 -1
- package/lib/{index-BiDdNd7K.js → index-Rd7uamWu.js} +4 -4
- package/lib/{index-BiDdNd7K.js.map → index-Rd7uamWu.js.map} +1 -1
- package/lib/{index-DlY-PJ1d.js → index-W2k8pRNk.js} +4 -4
- package/lib/{index-DlY-PJ1d.js.map → index-W2k8pRNk.js.map} +1 -1
- package/lib/{index-G4PTmrKH.js → index-X8ngZ-j3.js} +4 -4
- package/lib/{index-G4PTmrKH.js.map → index-X8ngZ-j3.js.map} +1 -1
- package/lib/{index-DQYMEOHK.js → index-XQHRgfG6.js} +4 -4
- package/lib/{index-DQYMEOHK.js.map → index-XQHRgfG6.js.map} +1 -1
- package/lib/index-g25eykm6.js +11 -0
- package/lib/index-g25eykm6.js.map +1 -0
- package/lib/{index-DV2SwZQ-.js → index-sn1sRCJB.js} +4 -4
- package/lib/{index-DV2SwZQ-.js.map → index-sn1sRCJB.js.map} +1 -1
- package/lib/{index-D5X30PKB.js → index-zJn71LmN.js} +5 -5
- package/lib/{index-D5X30PKB.js.map → index-zJn71LmN.js.map} +1 -1
- package/lib/is-BFoDLV-f.js +3 -3
- package/lib/it-B_iK-eSd.js +3 -3
- package/lib/iw-DL48t5mZ.js +3 -3
- package/lib/ja-C5bG2SRl.js +3 -3
- package/lib/ko-CmmVl873.js +3 -3
- package/lib/lo-DvBsVm-4.js +3 -3
- package/lib/lt-DWoqI4gx.js +3 -3
- package/lib/ms-BCHBEoqA.js +3 -3
- package/lib/nl-BE-DLixID0q.js +3 -3
- package/lib/nl-CeBqOv0i.js +3 -3
- package/lib/no-BR2xqD23.js +3 -3
- package/lib/pl-Dl77tRgW.js +3 -3
- package/lib/pt-BR--SxHOWht.js +3 -3
- package/lib/pt-D0bmI49-.js +3 -3
- package/lib/ro-HCkS3amY.js +3 -3
- package/lib/ru-BDMi1lvr.js +3 -3
- package/lib/sk-C4zNHeM6.js +3 -3
- package/lib/sl-BbQVw1S0.js +3 -3
- package/lib/sr-8d4sC8Hd.js +3 -3
- package/lib/sv-B0-e7r_0.js +3 -3
- package/lib/sw-Bo9F25Vc.js +3 -3
- package/lib/th-DDuVbwLh.js +3 -3
- package/lib/tr-CUwkgj2T.js +3 -3
- package/lib/uk-BPrGA4MJ.js +3 -3
- package/lib/ur-CIgS3emx.js +3 -3
- package/lib/{useCollectFieldsEndpoint-Cz0Rdrum.js → useCollectFieldsEndpoint-iz9KBXFh.js} +5 -5
- package/lib/{useCollectFieldsEndpoint-Cz0Rdrum.js.map → useCollectFieldsEndpoint-iz9KBXFh.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-tGKuo1VY.js → useEmailFirstExperiment-zM0aji-o.js} +4 -4
- package/lib/{useEmailFirstExperiment-tGKuo1VY.js.map → useEmailFirstExperiment-zM0aji-o.js.map} +1 -1
- package/lib/vi-JbWizd9m.js +3 -3
- package/lib/zh-DjbXrser.js +3 -3
- package/lib/zh-HK-DXcspp2Y.js +3 -3
- package/lib/zu-BzwZfIDF.js +3 -3
- package/package.json +1 -1
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +4 -4
- package/sheerid.css +3 -3
- package/sheerid.js +1325 -1321
- package/sheerid.js.map +1 -1
- package/types-reference.zip +0 -0
- package/lib/StepCollectMilitaryStatusComponent-Dg4ekfWn.js +0 -11
- package/lib/es6-BH7OzvSZ.js.map +0 -1
- package/lib/index-8Lcf-mTz.js +0 -11
- package/lib/index-8Lcf-mTz.js.map +0 -1
- package/lib/index-BFk5hYXX.js +0 -11
- package/lib/index-BFk5hYXX.js.map +0 -1
- package/lib/index-Bx5L_54S.js +0 -11
- package/lib/index-Bx5L_54S.js.map +0 -1
- package/lib/index-Co6vs927.js +0 -11
- package/lib/index-Co6vs927.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.124.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
3
|
+
* VERSION: 2.124.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1755219596413
|
|
5
|
+
* BUILD_DATE: Fri Aug 15 2025 00:59:56 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 3fe68ffd7e198c24e91beb8cadc2370676da1a40
|
|
7
7
|
*/
|
|
8
8
|
var Xx = Object.defineProperty;
|
|
9
9
|
var Qx = (e, t, r) => t in e ? Xx(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
10
10
|
var Xe = (e, t, r) => Qx(e, typeof t != "symbol" ? t + "" : t, r);
|
|
11
11
|
import * as D from "react";
|
|
12
|
-
import se, { createElement as ta, isValidElement as _i, cloneElement as Uy, Children as jy, Fragment as e0, createContext as Fy, useContext as oo, useCallback as At, useState as dn, useRef as Mt, useEffect as
|
|
12
|
+
import se, { createElement as ta, isValidElement as _i, cloneElement as Uy, Children as jy, Fragment as e0, createContext as Fy, useContext as oo, useCallback as At, useState as dn, useRef as Mt, useEffect as bt, useDebugValue as t0, Component as r0, Suspense as n0, useLayoutEffect as $y, useMemo as zp, useReducer as a0 } from "react";
|
|
13
13
|
import * as By from "react-dom";
|
|
14
14
|
import { unstable_batchedUpdates as s0 } from "react-dom";
|
|
15
15
|
import { FormattedHTMLMessage as R, injectIntl as Ge, IntlProvider as Vy } from "react-intl";
|
|
@@ -105,7 +105,7 @@ const u0 = (e) => e && e.stack && e.message, Ui = (...e) => {
|
|
|
105
105
|
locale: ve(() => s.programTheme.intl.locale),
|
|
106
106
|
isTestMode: ve(() => s.programTheme.isTestMode),
|
|
107
107
|
openOrgSearchEnabled: ve(() => s.programTheme.openOrgSearchEnabled),
|
|
108
|
-
jslibVerActual: ve(() => "2.124.0-alpha.
|
|
108
|
+
jslibVerActual: ve(() => "2.124.0-alpha.2", "?"),
|
|
109
109
|
...r
|
|
110
110
|
};
|
|
111
111
|
}
|
|
@@ -297,8 +297,8 @@ Object.values(
|
|
|
297
297
|
Object.values(
|
|
298
298
|
Gd
|
|
299
299
|
);
|
|
300
|
-
var
|
|
301
|
-
const Kp = Object.values(
|
|
300
|
+
var dt = /* @__PURE__ */ ((e) => (e.firstName = "firstName", e.lastName = "lastName", e.memberId = "memberId", e.organization = "organization", e.birthDate = "birthDate", e.email = "email", e.phoneNumber = "phoneNumber", e.postalCode = "postalCode", e.address1 = "address1", e.city = "city", e.country = "country", e.state = "state", e.dischargeDate = "dischargeDate", e.activeDutyStartDate = "activeDutyStartDate", e.docUpload = "docUpload", e.status = "status", e.statuses = "statuses", e.marketConsentValue = "marketConsentValue", e.socialSecurityNumber = "socialSecurityNumber", e.carrierConsentValue = "carrierConsentValue", e.driverLicenseNumber = "driverLicenseNumber", e.ebtCardNumber = "ebtCardNumber", e.overrideCode = "overrideCode", e.organizationEmail = "organizationEmail", e.authenticationCode = "authenticationCode", e.cvecNumber = "cvecNumber", e))(dt || {});
|
|
301
|
+
const Kp = Object.values(dt);
|
|
302
302
|
var Jy = /* @__PURE__ */ ((e) => (e.ON_VERIFICATION_READY = "ON_VERIFICATION_READY", e.ON_VERIFICATION_SUCCESS = "ON_VERIFICATION_SUCCESS", e.ON_VERIFICATION_STEP_CHANGE = "ON_VERIFICATION_STEP_CHANGE", e.ON_FORM_LOCALE_CHANGE = "ON_FORM_LOCALE_CHANGE", e))(Jy || {});
|
|
303
303
|
const Xy = Object.values(Jy), x0 = (e) => {
|
|
304
304
|
N.info(`Registering additional locales ${e.join(", ")}`), Hd.push(...e);
|
|
@@ -716,9 +716,9 @@ class $i extends Sl {
|
|
|
716
716
|
} : i;
|
|
717
717
|
const h = this.resolve(t, a);
|
|
718
718
|
let m = h == null ? void 0 : h.res;
|
|
719
|
-
const g = (h == null ? void 0 : h.usedKey) || i, v = (h == null ? void 0 : h.exactUsedKey) || i, b = ["[object Number]", "[object Function]", "[object RegExp]"], S = a.joinArrays !== void 0 ? a.joinArrays : this.options.joinArrays, M = !this.i18nFormat || this.i18nFormat.handleAsObject, I = a.count !== void 0 && !$e(a.count), E = $i.hasDefaultValue(a),
|
|
719
|
+
const g = (h == null ? void 0 : h.usedKey) || i, v = (h == null ? void 0 : h.exactUsedKey) || i, b = ["[object Number]", "[object Function]", "[object RegExp]"], S = a.joinArrays !== void 0 ? a.joinArrays : this.options.joinArrays, M = !this.i18nFormat || this.i18nFormat.handleAsObject, I = a.count !== void 0 && !$e(a.count), E = $i.hasDefaultValue(a), O = I ? this.pluralResolver.getSuffix(f, a.count, a) : "", w = a.ordinal && I ? this.pluralResolver.getSuffix(f, a.count, {
|
|
720
720
|
ordinal: !1
|
|
721
|
-
}) : "", _ = I && !a.ordinal && a.count === 0, P = _ && a[`defaultValue${this.options.pluralSeparator}zero`] || a[`defaultValue${
|
|
721
|
+
}) : "", _ = I && !a.ordinal && a.count === 0, P = _ && a[`defaultValue${this.options.pluralSeparator}zero`] || a[`defaultValue${O}`] || a[`defaultValue${w}`] || a.defaultValue;
|
|
722
722
|
let j = m;
|
|
723
723
|
M && !m && E && (j = P);
|
|
724
724
|
const K = rh(j), ee = Object.prototype.toString.apply(j);
|
|
@@ -770,9 +770,9 @@ class $i extends Sl {
|
|
|
770
770
|
X.push(we[Z]);
|
|
771
771
|
else this.options.saveMissingTo === "all" ? X = this.languageUtils.toResolveHierarchy(a.lng || this.language) : X.push(a.lng || this.language);
|
|
772
772
|
const re = (Z, J, W) => {
|
|
773
|
-
var
|
|
773
|
+
var C;
|
|
774
774
|
const z = E && W !== m ? W : H;
|
|
775
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(Z, c, J, z, q, a) : (
|
|
775
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(Z, c, J, z, q, a) : (C = this.backendConnector) != null && C.saveMissing && this.backendConnector.saveMissing(Z, c, J, z, q, a), this.emit("missingKey", Z, c, J, m);
|
|
776
776
|
};
|
|
777
777
|
this.options.saveMissing && (this.options.saveMissingPlurals && I ? X.forEach((Z) => {
|
|
778
778
|
const J = this.pluralResolver.getSuffixes(Z, a);
|
|
@@ -839,19 +839,19 @@ class $i extends Sl {
|
|
|
839
839
|
f.forEach((v) => {
|
|
840
840
|
var b, S;
|
|
841
841
|
this.isValidLookup(n) || (i = v, !th[`${g[0]}-${v}`] && ((b = this.utils) != null && b.hasLoadedNamespace) && !((S = this.utils) != null && S.hasLoadedNamespace(i)) && (th[`${g[0]}-${v}`] = !0, this.logger.warn(`key "${a}" for languages "${g.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), g.forEach((M) => {
|
|
842
|
-
var
|
|
842
|
+
var O;
|
|
843
843
|
if (this.isValidLookup(n)) return;
|
|
844
844
|
o = M;
|
|
845
845
|
const I = [d];
|
|
846
|
-
if ((
|
|
846
|
+
if ((O = this.i18nFormat) != null && O.addLookupKeys)
|
|
847
847
|
this.i18nFormat.addLookupKeys(I, d, M, v, r);
|
|
848
848
|
else {
|
|
849
|
-
let
|
|
850
|
-
p && (
|
|
849
|
+
let w;
|
|
850
|
+
p && (w = this.pluralResolver.getSuffix(M, r.count, r));
|
|
851
851
|
const _ = `${this.options.pluralSeparator}zero`, P = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
852
|
-
if (p && (I.push(d +
|
|
852
|
+
if (p && (I.push(d + w), r.ordinal && w.indexOf(P) === 0 && I.push(d + w.replace(P, this.options.pluralSeparator)), h && I.push(d + _)), m) {
|
|
853
853
|
const j = `${d}${this.options.contextSeparator}${r.context}`;
|
|
854
|
-
I.push(j), p && (I.push(j +
|
|
854
|
+
I.push(j), p && (I.push(j + w), r.ordinal && w.indexOf(P) === 0 && I.push(j + w.replace(P, this.options.pluralSeparator)), h && I.push(j + _));
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
857
|
let E;
|
|
@@ -1689,22 +1689,22 @@ class Vs extends Sl {
|
|
|
1689
1689
|
};
|
|
1690
1690
|
}
|
|
1691
1691
|
}
|
|
1692
|
-
const
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1692
|
+
const it = Vs.createInstance();
|
|
1693
|
+
it.createInstance = Vs.createInstance;
|
|
1694
|
+
it.createInstance;
|
|
1695
|
+
it.dir;
|
|
1696
|
+
it.init;
|
|
1697
|
+
it.loadResources;
|
|
1698
|
+
it.reloadResources;
|
|
1699
|
+
it.use;
|
|
1700
|
+
it.changeLanguage;
|
|
1701
|
+
it.getFixedT;
|
|
1702
|
+
it.t;
|
|
1703
|
+
it.exists;
|
|
1704
|
+
it.setDefaultNamespace;
|
|
1705
|
+
it.hasLoadedNamespace;
|
|
1706
|
+
it.loadNamespaces;
|
|
1707
|
+
it.loadLanguages;
|
|
1708
1708
|
const nE = (e) => e.replace(/\/?$/, "/"), Ml = (e) => {
|
|
1709
1709
|
const t = new URL(e || window.location.toString());
|
|
1710
1710
|
return new URLSearchParams(t.search.slice(1));
|
|
@@ -1844,69 +1844,69 @@ var hv = { exports: {} };
|
|
|
1844
1844
|
typeof h == "object" && (m = h.depth, g = h.prototype, v = h.includeNonEnumerable, h = h.circular);
|
|
1845
1845
|
var b = [], S = [], M = typeof Buffer < "u";
|
|
1846
1846
|
typeof h > "u" && (h = !0), typeof m > "u" && (m = 1 / 0);
|
|
1847
|
-
function I(E,
|
|
1847
|
+
function I(E, O) {
|
|
1848
1848
|
if (E === null)
|
|
1849
1849
|
return null;
|
|
1850
|
-
if (
|
|
1850
|
+
if (O === 0)
|
|
1851
1851
|
return E;
|
|
1852
|
-
var
|
|
1852
|
+
var w, _;
|
|
1853
1853
|
if (typeof E != "object")
|
|
1854
1854
|
return E;
|
|
1855
1855
|
if (r(E, n))
|
|
1856
|
-
|
|
1856
|
+
w = new n();
|
|
1857
1857
|
else if (r(E, a))
|
|
1858
|
-
|
|
1858
|
+
w = new a();
|
|
1859
1859
|
else if (r(E, s))
|
|
1860
|
-
|
|
1860
|
+
w = new s(function(q, X) {
|
|
1861
1861
|
E.then(function(we) {
|
|
1862
|
-
q(I(we,
|
|
1862
|
+
q(I(we, O - 1));
|
|
1863
1863
|
}, function(we) {
|
|
1864
|
-
X(I(we,
|
|
1864
|
+
X(I(we, O - 1));
|
|
1865
1865
|
});
|
|
1866
1866
|
});
|
|
1867
1867
|
else if (o.__isArray(E))
|
|
1868
|
-
|
|
1868
|
+
w = [];
|
|
1869
1869
|
else if (o.__isRegExp(E))
|
|
1870
|
-
|
|
1870
|
+
w = new RegExp(E.source, f(E)), E.lastIndex && (w.lastIndex = E.lastIndex);
|
|
1871
1871
|
else if (o.__isDate(E))
|
|
1872
|
-
|
|
1872
|
+
w = new Date(E.getTime());
|
|
1873
1873
|
else {
|
|
1874
1874
|
if (M && Buffer.isBuffer(E))
|
|
1875
|
-
return Buffer.allocUnsafe ?
|
|
1876
|
-
r(E, Error) ?
|
|
1875
|
+
return Buffer.allocUnsafe ? w = Buffer.allocUnsafe(E.length) : w = new Buffer(E.length), E.copy(w), w;
|
|
1876
|
+
r(E, Error) ? w = Object.create(E) : typeof g > "u" ? (_ = Object.getPrototypeOf(E), w = Object.create(_)) : (w = Object.create(g), _ = g);
|
|
1877
1877
|
}
|
|
1878
1878
|
if (h) {
|
|
1879
1879
|
var P = b.indexOf(E);
|
|
1880
1880
|
if (P != -1)
|
|
1881
1881
|
return S[P];
|
|
1882
|
-
b.push(E), S.push(
|
|
1882
|
+
b.push(E), S.push(w);
|
|
1883
1883
|
}
|
|
1884
1884
|
r(E, n) && E.forEach(function(q, X) {
|
|
1885
|
-
var we = I(X,
|
|
1886
|
-
|
|
1885
|
+
var we = I(X, O - 1), re = I(q, O - 1);
|
|
1886
|
+
w.set(we, re);
|
|
1887
1887
|
}), r(E, a) && E.forEach(function(q) {
|
|
1888
|
-
var X = I(q,
|
|
1889
|
-
|
|
1888
|
+
var X = I(q, O - 1);
|
|
1889
|
+
w.add(X);
|
|
1890
1890
|
});
|
|
1891
1891
|
for (var j in E) {
|
|
1892
1892
|
var K;
|
|
1893
|
-
_ && (K = Object.getOwnPropertyDescriptor(_, j)), !(K && K.set == null) && (
|
|
1893
|
+
_ && (K = Object.getOwnPropertyDescriptor(_, j)), !(K && K.set == null) && (w[j] = I(E[j], O - 1));
|
|
1894
1894
|
}
|
|
1895
1895
|
if (Object.getOwnPropertySymbols)
|
|
1896
1896
|
for (var ee = Object.getOwnPropertySymbols(E), j = 0; j < ee.length; j++) {
|
|
1897
1897
|
var Q = ee[j], U = Object.getOwnPropertyDescriptor(E, Q);
|
|
1898
|
-
U && !U.enumerable && !v || (
|
|
1898
|
+
U && !U.enumerable && !v || (w[Q] = I(E[Q], O - 1), U.enumerable || Object.defineProperty(w, Q, {
|
|
1899
1899
|
enumerable: !1
|
|
1900
1900
|
}));
|
|
1901
1901
|
}
|
|
1902
1902
|
if (v)
|
|
1903
1903
|
for (var G = Object.getOwnPropertyNames(E), j = 0; j < G.length; j++) {
|
|
1904
1904
|
var H = G[j], U = Object.getOwnPropertyDescriptor(E, H);
|
|
1905
|
-
U && U.enumerable || (
|
|
1905
|
+
U && U.enumerable || (w[H] = I(E[H], O - 1), Object.defineProperty(w, H, {
|
|
1906
1906
|
enumerable: !1
|
|
1907
1907
|
}));
|
|
1908
1908
|
}
|
|
1909
|
-
return
|
|
1909
|
+
return w;
|
|
1910
1910
|
}
|
|
1911
1911
|
return I(p, m);
|
|
1912
1912
|
}
|
|
@@ -2450,7 +2450,7 @@ var EE = function() {
|
|
|
2450
2450
|
return o(i, n);
|
|
2451
2451
|
});
|
|
2452
2452
|
}, e;
|
|
2453
|
-
}(), vr = new EE(),
|
|
2453
|
+
}(), vr = new EE(), lt = vr.produce;
|
|
2454
2454
|
vr.produceWithPatches.bind(vr);
|
|
2455
2455
|
vr.setAutoFreeze.bind(vr);
|
|
2456
2456
|
vr.setUseProxies.bind(vr);
|
|
@@ -2460,7 +2460,7 @@ vr.finishDraft.bind(vr);
|
|
|
2460
2460
|
function wE(e) {
|
|
2461
2461
|
return e.sort().filter((t, r, n) => !r || t !== n[r - 1]);
|
|
2462
2462
|
}
|
|
2463
|
-
const CE = (e, t) => e < t ? -1 : e > t ? 1 : 0, Sh = (e, t) =>
|
|
2463
|
+
const CE = (e, t) => e < t ? -1 : e > t ? 1 : 0, Sh = (e, t) => lt(e, (r) => {
|
|
2464
2464
|
if (!Array.isArray(r))
|
|
2465
2465
|
return e;
|
|
2466
2466
|
const n = r.indexOf(t, 0);
|
|
@@ -2595,9 +2595,9 @@ These messages will override existing messages of the same key for "en-US" local
|
|
|
2595
2595
|
{},
|
|
2596
2596
|
te.messagesWithLocale,
|
|
2597
2597
|
e.messagesWithLocale
|
|
2598
|
-
), e && e.messagesWithLocale && x0(Object.keys(e.messagesWithLocale)),
|
|
2598
|
+
), e && e.messagesWithLocale && x0(Object.keys(e.messagesWithLocale)), it.on("initialized", () => {
|
|
2599
2599
|
Object.entries(te.messagesWithLocale).forEach(([t, r]) => {
|
|
2600
|
-
|
|
2600
|
+
it.addResourceBundle(t, "options", r, !1, !0);
|
|
2601
2601
|
});
|
|
2602
2602
|
}), N.info('option "messagesWithLocale" set to', te.messagesWithLocale)), e.hasOwnProperty("locale"))
|
|
2603
2603
|
try {
|
|
@@ -4338,7 +4338,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4338
4338
|
lastName: "",
|
|
4339
4339
|
email: "",
|
|
4340
4340
|
phoneNumber: ""
|
|
4341
|
-
},
|
|
4341
|
+
}, pt = {
|
|
4342
4342
|
countryChoice: void 0,
|
|
4343
4343
|
localeChoice: {
|
|
4344
4344
|
value: void 0,
|
|
@@ -4353,7 +4353,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4353
4353
|
fieldsToSkipValidation: void 0
|
|
4354
4354
|
}, jE = {
|
|
4355
4355
|
...Ht,
|
|
4356
|
-
...
|
|
4356
|
+
...pt,
|
|
4357
4357
|
...Lt,
|
|
4358
4358
|
...sr,
|
|
4359
4359
|
birthDate: "",
|
|
@@ -4364,7 +4364,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4364
4364
|
}
|
|
4365
4365
|
}, FE = {
|
|
4366
4366
|
...Ht,
|
|
4367
|
-
...
|
|
4367
|
+
...pt,
|
|
4368
4368
|
...Lt,
|
|
4369
4369
|
birthDate: "",
|
|
4370
4370
|
postalCode: "",
|
|
@@ -4375,7 +4375,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4375
4375
|
}
|
|
4376
4376
|
}, $E = {
|
|
4377
4377
|
...Ht,
|
|
4378
|
-
...
|
|
4378
|
+
...pt,
|
|
4379
4379
|
...Lt,
|
|
4380
4380
|
birthDate: "",
|
|
4381
4381
|
postalCode: "",
|
|
@@ -4389,7 +4389,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4389
4389
|
}
|
|
4390
4390
|
}, BE = {
|
|
4391
4391
|
...Ht,
|
|
4392
|
-
...
|
|
4392
|
+
...pt,
|
|
4393
4393
|
...Lt,
|
|
4394
4394
|
...sr,
|
|
4395
4395
|
birthDate: "",
|
|
@@ -4400,7 +4400,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4400
4400
|
}
|
|
4401
4401
|
}, VE = {
|
|
4402
4402
|
...Ht,
|
|
4403
|
-
...
|
|
4403
|
+
...pt,
|
|
4404
4404
|
...sr,
|
|
4405
4405
|
birthDate: "",
|
|
4406
4406
|
phoneNumber: "",
|
|
@@ -4412,7 +4412,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4412
4412
|
}
|
|
4413
4413
|
}, xh = {
|
|
4414
4414
|
...Ht,
|
|
4415
|
-
...
|
|
4415
|
+
...pt,
|
|
4416
4416
|
...Lt,
|
|
4417
4417
|
...sr,
|
|
4418
4418
|
activeDutyStartDate: "",
|
|
@@ -4425,7 +4425,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4425
4425
|
}
|
|
4426
4426
|
}, HE = {
|
|
4427
4427
|
...Ht,
|
|
4428
|
-
...
|
|
4428
|
+
...pt,
|
|
4429
4429
|
...Lt,
|
|
4430
4430
|
...sr,
|
|
4431
4431
|
activeDutyStartDate: "",
|
|
@@ -4439,7 +4439,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4439
4439
|
}
|
|
4440
4440
|
}, zE = {
|
|
4441
4441
|
...Ht,
|
|
4442
|
-
...
|
|
4442
|
+
...pt,
|
|
4443
4443
|
...Lt,
|
|
4444
4444
|
...sr,
|
|
4445
4445
|
birthDate: "",
|
|
@@ -4451,7 +4451,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4451
4451
|
}
|
|
4452
4452
|
}, GE = {
|
|
4453
4453
|
...Ht,
|
|
4454
|
-
...
|
|
4454
|
+
...pt,
|
|
4455
4455
|
...Lt,
|
|
4456
4456
|
...sr,
|
|
4457
4457
|
birthDate: "",
|
|
@@ -4465,7 +4465,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4465
4465
|
memberId: void 0
|
|
4466
4466
|
}, WE = {
|
|
4467
4467
|
...Ht,
|
|
4468
|
-
...
|
|
4468
|
+
...pt,
|
|
4469
4469
|
...Lt,
|
|
4470
4470
|
...sr,
|
|
4471
4471
|
postalCode: "",
|
|
@@ -4480,7 +4480,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4480
4480
|
}, qE = {
|
|
4481
4481
|
...Ht,
|
|
4482
4482
|
...Lt,
|
|
4483
|
-
...
|
|
4483
|
+
...pt,
|
|
4484
4484
|
state: "",
|
|
4485
4485
|
driverLicenseNumber: "",
|
|
4486
4486
|
metadata: {
|
|
@@ -4491,7 +4491,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4491
4491
|
}, KE = {
|
|
4492
4492
|
...Ht,
|
|
4493
4493
|
...Lt,
|
|
4494
|
-
...
|
|
4494
|
+
...pt,
|
|
4495
4495
|
birthDate: "",
|
|
4496
4496
|
address1: "",
|
|
4497
4497
|
city: "",
|
|
@@ -4505,7 +4505,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4505
4505
|
}, YE = {
|
|
4506
4506
|
...Ht,
|
|
4507
4507
|
...Lt,
|
|
4508
|
-
...
|
|
4508
|
+
...pt,
|
|
4509
4509
|
birthDate: "",
|
|
4510
4510
|
address1: "",
|
|
4511
4511
|
city: "",
|
|
@@ -4520,7 +4520,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4520
4520
|
}, ZE = {
|
|
4521
4521
|
...Ht,
|
|
4522
4522
|
...Lt,
|
|
4523
|
-
...
|
|
4523
|
+
...pt,
|
|
4524
4524
|
...sr,
|
|
4525
4525
|
birthDate: "",
|
|
4526
4526
|
postalCode: "",
|
|
@@ -4533,7 +4533,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4533
4533
|
}, JE = {
|
|
4534
4534
|
...Ht,
|
|
4535
4535
|
...Lt,
|
|
4536
|
-
...
|
|
4536
|
+
...pt,
|
|
4537
4537
|
address1: "",
|
|
4538
4538
|
postalCode: "",
|
|
4539
4539
|
statuses: [],
|
|
@@ -4545,7 +4545,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4545
4545
|
}, XE = {
|
|
4546
4546
|
...Ht,
|
|
4547
4547
|
...Lt,
|
|
4548
|
-
...
|
|
4548
|
+
...pt,
|
|
4549
4549
|
...sr,
|
|
4550
4550
|
birthDate: "",
|
|
4551
4551
|
address1: "",
|
|
@@ -4560,7 +4560,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4560
4560
|
// CX-249, ensure we define our own refererUrl to avoid issues with the browser's referer header
|
|
4561
4561
|
}
|
|
4562
4562
|
}, QE = {
|
|
4563
|
-
...
|
|
4563
|
+
...pt,
|
|
4564
4564
|
email: "",
|
|
4565
4565
|
transactionId: "",
|
|
4566
4566
|
expirationTimestamp: "",
|
|
@@ -4571,7 +4571,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4571
4571
|
// CX-249, ensure we define our own refererUrl to avoid issues with the browser's referer header
|
|
4572
4572
|
}
|
|
4573
4573
|
}, ew = {
|
|
4574
|
-
...
|
|
4574
|
+
...pt,
|
|
4575
4575
|
authenticationCode: "",
|
|
4576
4576
|
email: "",
|
|
4577
4577
|
didManuallyVerify: !1,
|
|
@@ -4581,7 +4581,7 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4581
4581
|
// CX-249, ensure we define our own refererUrl to avoid issues with the browser's referer header
|
|
4582
4582
|
}
|
|
4583
4583
|
}, tw = {
|
|
4584
|
-
...
|
|
4584
|
+
...pt,
|
|
4585
4585
|
...sr,
|
|
4586
4586
|
...Ht,
|
|
4587
4587
|
birthDate: "",
|
|
@@ -4602,35 +4602,35 @@ const xv = /* @__PURE__ */ br(Wa), Mh = {
|
|
|
4602
4602
|
// CX-249, ensure we define our own refererUrl to avoid issues with the browser's referer header
|
|
4603
4603
|
}
|
|
4604
4604
|
}, rw = {
|
|
4605
|
-
...
|
|
4605
|
+
...pt,
|
|
4606
4606
|
...Lt,
|
|
4607
4607
|
file1: void 0,
|
|
4608
4608
|
file2: void 0,
|
|
4609
4609
|
file3: void 0
|
|
4610
4610
|
}, nw = {
|
|
4611
|
-
...
|
|
4611
|
+
...pt,
|
|
4612
4612
|
...Lt,
|
|
4613
4613
|
isSingleSignOnActive: !1
|
|
4614
4614
|
}, aw = {
|
|
4615
|
-
...
|
|
4615
|
+
...pt,
|
|
4616
4616
|
...Lt,
|
|
4617
4617
|
isSingleSignOnActive: !1
|
|
4618
4618
|
}, sw = {
|
|
4619
|
-
...
|
|
4619
|
+
...pt,
|
|
4620
4620
|
socialSecurityNumber: void 0
|
|
4621
4621
|
}, ow = {
|
|
4622
|
-
...
|
|
4622
|
+
...pt,
|
|
4623
4623
|
smsCode: "",
|
|
4624
4624
|
phoneNumber: void 0
|
|
4625
4625
|
}, Eh = {
|
|
4626
|
-
...
|
|
4626
|
+
...pt,
|
|
4627
4627
|
organizationEmail: "",
|
|
4628
4628
|
emailToken: ""
|
|
4629
4629
|
}, iw = {
|
|
4630
|
-
...
|
|
4630
|
+
...pt,
|
|
4631
4631
|
organizationEmail: ""
|
|
4632
4632
|
}, _r = {
|
|
4633
|
-
...
|
|
4633
|
+
...pt
|
|
4634
4634
|
}, wv = {
|
|
4635
4635
|
firstName: void 0,
|
|
4636
4636
|
lastName: void 0,
|
|
@@ -4776,7 +4776,7 @@ const qB = (e, t) => {
|
|
|
4776
4776
|
const r = xl();
|
|
4777
4777
|
for (const a in e) {
|
|
4778
4778
|
const s = e[a] ? e[a] : "", o = e.fieldsToSkipValidation && e.fieldsToSkipValidation.includes(a);
|
|
4779
|
-
if (
|
|
4779
|
+
if (dt[a] && typeof sa(a, s, t) == "string" && !o)
|
|
4780
4780
|
return !1;
|
|
4781
4781
|
}
|
|
4782
4782
|
const n = ve(() => e.metadata, null);
|
|
@@ -4974,29 +4974,29 @@ const qB = (e, t) => {
|
|
|
4974
4974
|
}, Xw = (e) => Dv("US", e), Qw = (e) => e ? Object.values(Wd).indexOf(e.toUpperCase()) >= 0 : !1, sa = (e, t, r) => {
|
|
4975
4975
|
sE(e);
|
|
4976
4976
|
const a = {
|
|
4977
|
-
[
|
|
4978
|
-
[
|
|
4979
|
-
[
|
|
4980
|
-
[
|
|
4981
|
-
[
|
|
4982
|
-
[
|
|
4983
|
-
[
|
|
4984
|
-
[
|
|
4985
|
-
[
|
|
4986
|
-
[
|
|
4987
|
-
[
|
|
4988
|
-
[
|
|
4989
|
-
[
|
|
4990
|
-
[
|
|
4991
|
-
[
|
|
4992
|
-
[
|
|
4993
|
-
[
|
|
4994
|
-
[
|
|
4995
|
-
[
|
|
4996
|
-
[
|
|
4997
|
-
[
|
|
4998
|
-
[
|
|
4999
|
-
[
|
|
4977
|
+
[dt.firstName]: Ew,
|
|
4978
|
+
[dt.lastName]: ww,
|
|
4979
|
+
[dt.memberId]: Cw,
|
|
4980
|
+
[dt.email]: Ch,
|
|
4981
|
+
[dt.organizationEmail]: Ch,
|
|
4982
|
+
[dt.phoneNumber]: Pw(r),
|
|
4983
|
+
[dt.organization]: Rw,
|
|
4984
|
+
[dt.birthDate]: Aw,
|
|
4985
|
+
[dt.postalCode]: kw,
|
|
4986
|
+
[dt.address1]: Dw,
|
|
4987
|
+
[dt.city]: _w,
|
|
4988
|
+
[dt.state]: Uw,
|
|
4989
|
+
[dt.country]: Tw,
|
|
4990
|
+
[dt.dischargeDate]: jw,
|
|
4991
|
+
[dt.activeDutyStartDate]: Fw,
|
|
4992
|
+
[dt.socialSecurityNumber]: $w,
|
|
4993
|
+
[dt.status]: qw,
|
|
4994
|
+
[dt.statuses]: Vw,
|
|
4995
|
+
[dt.driverLicenseNumber]: Bw,
|
|
4996
|
+
[dt.docUpload]: Ow,
|
|
4997
|
+
[dt.ebtCardNumber]: Lw,
|
|
4998
|
+
[dt.authenticationCode]: Kw,
|
|
4999
|
+
[dt.cvecNumber]: Yw
|
|
5000
5000
|
}[e];
|
|
5001
5001
|
if (a) {
|
|
5002
5002
|
const s = uw(e);
|
|
@@ -5271,75 +5271,75 @@ const hC = (e) => {
|
|
|
5271
5271
|
...c,
|
|
5272
5272
|
...s
|
|
5273
5273
|
}, h = (b, S, M) => {
|
|
5274
|
-
var
|
|
5274
|
+
var O;
|
|
5275
5275
|
const I = Qc(b), E = g(I, S.children, M);
|
|
5276
|
-
return mC(I) && E.length === 0 || (
|
|
5276
|
+
return mC(I) && E.length === 0 || (O = b.props) != null && O.i18nIsDynamicList ? I : E;
|
|
5277
5277
|
}, m = (b, S, M, I, E) => {
|
|
5278
5278
|
b.dummy ? (b.children = S, M.push(Uy(b, {
|
|
5279
5279
|
key: I
|
|
5280
|
-
}, E ? void 0 : S))) : M.push(...jy.map([b], (
|
|
5281
|
-
const
|
|
5282
|
-
...
|
|
5280
|
+
}, E ? void 0 : S))) : M.push(...jy.map([b], (O) => {
|
|
5281
|
+
const w = {
|
|
5282
|
+
...O.props
|
|
5283
5283
|
};
|
|
5284
|
-
return delete
|
|
5285
|
-
...
|
|
5284
|
+
return delete w.i18nIsDynamicList, ta(O.type, {
|
|
5285
|
+
...w,
|
|
5286
5286
|
key: I,
|
|
5287
|
-
ref:
|
|
5287
|
+
ref: O.props.ref ?? O.ref
|
|
5288
5288
|
}, E ? null : S);
|
|
5289
5289
|
}));
|
|
5290
5290
|
}, g = (b, S, M) => {
|
|
5291
5291
|
const I = $a(b);
|
|
5292
|
-
return $a(S).reduce((
|
|
5292
|
+
return $a(S).reduce((O, w, _) => {
|
|
5293
5293
|
var j, K;
|
|
5294
|
-
const P = ((K = (j =
|
|
5295
|
-
if (
|
|
5296
|
-
let ee = I[parseInt(
|
|
5297
|
-
!ee && t && (ee = t[
|
|
5298
|
-
const Q = Object.keys(
|
|
5299
|
-
props:
|
|
5300
|
-
}, ee) : ee, U = _i(Q), G = U && Xc(
|
|
5294
|
+
const P = ((K = (j = w.children) == null ? void 0 : j[0]) == null ? void 0 : K.content) && n.services.interpolator.interpolate(w.children[0].content, p, n.language);
|
|
5295
|
+
if (w.type === "tag") {
|
|
5296
|
+
let ee = I[parseInt(w.name, 10)];
|
|
5297
|
+
!ee && t && (ee = t[w.name]), M.length === 1 && !ee && (ee = M[0][w.name]), ee || (ee = {});
|
|
5298
|
+
const Q = Object.keys(w.attrs).length !== 0 ? gC({
|
|
5299
|
+
props: w.attrs
|
|
5300
|
+
}, ee) : ee, U = _i(Q), G = U && Xc(w, !0) && !w.voidElement, H = l && Nn(Q) && Q.dummy && !U, q = Nn(t) && Object.hasOwnProperty.call(t, w.name);
|
|
5301
5301
|
if (Rr(Q)) {
|
|
5302
5302
|
const X = n.services.interpolator.interpolate(Q, p, n.language);
|
|
5303
|
-
|
|
5303
|
+
O.push(X);
|
|
5304
5304
|
} else if (Xc(Q) || G) {
|
|
5305
|
-
const X = h(Q,
|
|
5306
|
-
m(Q, X,
|
|
5305
|
+
const X = h(Q, w, M);
|
|
5306
|
+
m(Q, X, O, _);
|
|
5307
5307
|
} else if (H) {
|
|
5308
|
-
const X = g(I,
|
|
5309
|
-
m(Q, X,
|
|
5310
|
-
} else if (Number.isNaN(parseFloat(
|
|
5308
|
+
const X = g(I, w.children, M);
|
|
5309
|
+
m(Q, X, O, _);
|
|
5310
|
+
} else if (Number.isNaN(parseFloat(w.name)))
|
|
5311
5311
|
if (q) {
|
|
5312
|
-
const X = h(Q,
|
|
5313
|
-
m(Q, X,
|
|
5314
|
-
} else if (a.transSupportBasicHtmlNodes && i.indexOf(
|
|
5315
|
-
if (
|
|
5316
|
-
|
|
5317
|
-
key: `${
|
|
5312
|
+
const X = h(Q, w, M);
|
|
5313
|
+
m(Q, X, O, _, w.voidElement);
|
|
5314
|
+
} else if (a.transSupportBasicHtmlNodes && i.indexOf(w.name) > -1)
|
|
5315
|
+
if (w.voidElement)
|
|
5316
|
+
O.push(ta(w.name, {
|
|
5317
|
+
key: `${w.name}-${_}`
|
|
5318
5318
|
}));
|
|
5319
5319
|
else {
|
|
5320
|
-
const X = g(I,
|
|
5321
|
-
|
|
5322
|
-
key: `${
|
|
5320
|
+
const X = g(I, w.children, M);
|
|
5321
|
+
O.push(ta(w.name, {
|
|
5322
|
+
key: `${w.name}-${_}`
|
|
5323
5323
|
}, X));
|
|
5324
5324
|
}
|
|
5325
|
-
else if (
|
|
5326
|
-
|
|
5325
|
+
else if (w.voidElement)
|
|
5326
|
+
O.push(`<${w.name} />`);
|
|
5327
5327
|
else {
|
|
5328
|
-
const X = g(I,
|
|
5329
|
-
|
|
5328
|
+
const X = g(I, w.children, M);
|
|
5329
|
+
O.push(`<${w.name}>${X}</${w.name}>`);
|
|
5330
5330
|
}
|
|
5331
5331
|
else if (Nn(Q) && !U) {
|
|
5332
|
-
const X =
|
|
5333
|
-
X &&
|
|
5332
|
+
const X = w.children[0] ? P : null;
|
|
5333
|
+
X && O.push(X);
|
|
5334
5334
|
} else
|
|
5335
|
-
m(Q, P,
|
|
5336
|
-
} else if (
|
|
5337
|
-
const ee = a.transWrapTextNodes, Q = o ? a.unescape(n.services.interpolator.interpolate(
|
|
5338
|
-
ee ?
|
|
5339
|
-
key: `${
|
|
5340
|
-
}, Q)) :
|
|
5341
|
-
}
|
|
5342
|
-
return
|
|
5335
|
+
m(Q, P, O, _, w.children.length !== 1 || !P);
|
|
5336
|
+
} else if (w.type === "text") {
|
|
5337
|
+
const ee = a.transWrapTextNodes, Q = o ? a.unescape(n.services.interpolator.interpolate(w.content, p, n.language)) : n.services.interpolator.interpolate(w.content, p, n.language);
|
|
5338
|
+
ee ? O.push(ta(ee, {
|
|
5339
|
+
key: `${w.name}-${_}`
|
|
5340
|
+
}, Q)) : O.push(Q);
|
|
5341
|
+
}
|
|
5342
|
+
return O;
|
|
5343
5343
|
}, []);
|
|
5344
5344
|
}, v = g([{
|
|
5345
5345
|
dummy: !0,
|
|
@@ -5405,24 +5405,24 @@ function MC({
|
|
|
5405
5405
|
} : {
|
|
5406
5406
|
...m.options.interpolation.defaultVariables
|
|
5407
5407
|
});
|
|
5408
|
-
const
|
|
5408
|
+
const O = o || t !== void 0 && !((we = (X = m.options) == null ? void 0 : X.interpolation) != null && we.alwaysFormat) || !e ? s.interpolation : {
|
|
5409
5409
|
interpolation: {
|
|
5410
5410
|
...s.interpolation,
|
|
5411
5411
|
prefix: "#$?",
|
|
5412
5412
|
suffix: "?$#"
|
|
5413
5413
|
}
|
|
5414
|
-
},
|
|
5414
|
+
}, w = {
|
|
5415
5415
|
...s,
|
|
5416
5416
|
context: a || s.context,
|
|
5417
5417
|
count: t,
|
|
5418
5418
|
...o,
|
|
5419
|
-
...
|
|
5419
|
+
...O,
|
|
5420
5420
|
defaultValue: M,
|
|
5421
5421
|
ns: b
|
|
5422
|
-
}, _ = E ? g(E,
|
|
5422
|
+
}, _ = E ? g(E, w) : M, P = IC(l, _, m, n);
|
|
5423
5423
|
let j = P || e, K = null;
|
|
5424
5424
|
SC(P) && (K = P, j = e);
|
|
5425
|
-
const ee = yC(j, K, _, m, v,
|
|
5425
|
+
const ee = yC(j, K, _, m, v, w, p), Q = r ?? v.defaultTransParent;
|
|
5426
5426
|
return Q ? ta(Q, h, ee) : ee;
|
|
5427
5427
|
}
|
|
5428
5428
|
const xC = {
|
|
@@ -5484,11 +5484,11 @@ function wC({
|
|
|
5484
5484
|
}
|
|
5485
5485
|
const CC = (e, t) => {
|
|
5486
5486
|
const r = Mt();
|
|
5487
|
-
return
|
|
5487
|
+
return bt(() => {
|
|
5488
5488
|
r.current = e;
|
|
5489
5489
|
}, [e, t]), r.current;
|
|
5490
5490
|
}, Hv = (e, t, r, n) => e.getFixedT(t, r, n), TC = (e, t, r, n) => At(Hv(e, t, r, n), [e, t, r, n]), PC = (e, t = {}) => {
|
|
5491
|
-
var I, E,
|
|
5491
|
+
var I, E, O, w;
|
|
5492
5492
|
const {
|
|
5493
5493
|
i18n: r
|
|
5494
5494
|
} = t, {
|
|
@@ -5510,12 +5510,12 @@ const CC = (e, t) => {
|
|
|
5510
5510
|
keyPrefix: l
|
|
5511
5511
|
} = o;
|
|
5512
5512
|
let c = a || ((E = s.options) == null ? void 0 : E.defaultNS);
|
|
5513
|
-
c = Rr(c) ? [c] : c || ["translation"], (
|
|
5513
|
+
c = Rr(c) ? [c] : c || ["translation"], (w = (O = s.reportNamespaces).addUsedNamespaces) == null || w.call(O, c);
|
|
5514
5514
|
const d = (s.isInitialized || s.initializedStoreOnce) && c.every((_) => lC(_, s, o)), f = TC(s, t.lng || null, o.nsMode === "fallback" ? c : c[0], l), p = () => f, h = () => Hv(s, t.lng || null, o.nsMode === "fallback" ? c : c[0], l), [m, g] = dn(p);
|
|
5515
5515
|
let v = c.join();
|
|
5516
5516
|
t.lng && (v = `${t.lng}${v}`);
|
|
5517
5517
|
const b = CC(v), S = Mt(!0);
|
|
5518
|
-
|
|
5518
|
+
bt(() => {
|
|
5519
5519
|
const {
|
|
5520
5520
|
bindI18n: _,
|
|
5521
5521
|
bindI18nStore: P
|
|
@@ -5531,7 +5531,7 @@ const CC = (e, t) => {
|
|
|
5531
5531
|
return _ && (s == null || s.on(_, j)), P && (s == null || s.store.on(P, j)), () => {
|
|
5532
5532
|
S.current = !1, s && _ && (_ == null || _.split(" ").forEach((K) => s.off(K, j))), P && s && P.split(" ").forEach((K) => s.store.off(K, j));
|
|
5533
5533
|
};
|
|
5534
|
-
}, [s, v]),
|
|
5534
|
+
}, [s, v]), bt(() => {
|
|
5535
5535
|
S.current && d && g(p);
|
|
5536
5536
|
}, [s, l, d]);
|
|
5537
5537
|
const M = [m, s, d];
|
|
@@ -5540,7 +5540,7 @@ const CC = (e, t) => {
|
|
|
5540
5540
|
t.lng ? Rh(s, t.lng, c, () => _()) : cd(s, c, () => _());
|
|
5541
5541
|
});
|
|
5542
5542
|
};
|
|
5543
|
-
|
|
5543
|
+
it.on("missingKey", (e, t, r, n) => {
|
|
5544
5544
|
console.warn(`i18next: MISSING KEY in ${t}.${r} for languages: ${e.join(", ")}`, {
|
|
5545
5545
|
result: n
|
|
5546
5546
|
});
|
|
@@ -5572,20 +5572,20 @@ const NC = {
|
|
|
5572
5572
|
transSupportBasicHtmlNodes: !1
|
|
5573
5573
|
}
|
|
5574
5574
|
};
|
|
5575
|
-
|
|
5575
|
+
it.use(xC).use(eC(RC)).init(NC);
|
|
5576
5576
|
const zv = async (e, t) => {
|
|
5577
5577
|
var r;
|
|
5578
5578
|
if (t)
|
|
5579
5579
|
try {
|
|
5580
5580
|
const a = (r = (await sf(e)).segmentMessages) == null ? void 0 : r[t];
|
|
5581
|
-
a &&
|
|
5581
|
+
a && it.addResourceBundle(e, "segment", a, !0, !0);
|
|
5582
5582
|
} catch (n) {
|
|
5583
5583
|
N.error(n, "i18n updateSegmentMessages failed");
|
|
5584
5584
|
}
|
|
5585
5585
|
}, Gv = () => `${Ie().restApi.serviceUrl}${Ie().restApi.resources.verification}`, AC = (e) => `${Gv()}${e}`, OC = () => Gv(), LC = (e, t = null) => {
|
|
5586
5586
|
const r = `${Ie().restApi.serviceUrl}${Ie().restApi.resources.program.base}${e}/${Ie().restApi.resources.program.theme}`;
|
|
5587
5587
|
return t ? `${r}?locale=${t}` : `${r}`;
|
|
5588
|
-
}, kC = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, DC = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, _C = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, UC = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, YB = (e, t, r) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, ff = () => "2.124.0-alpha.
|
|
5588
|
+
}, kC = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, DC = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, _C = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, UC = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, YB = (e, t, r) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, ff = () => "2.124.0-alpha.2", jC = () => window.location.href, Wv = () => {
|
|
5589
5589
|
try {
|
|
5590
5590
|
const e = new URLSearchParams(window.location.search);
|
|
5591
5591
|
if (e.get(Kr))
|
|
@@ -5959,11 +5959,11 @@ function eT() {
|
|
|
5959
5959
|
for (var E = 0; E < h.length; ++E)
|
|
5960
5960
|
S.push(String(E));
|
|
5961
5961
|
else
|
|
5962
|
-
for (var
|
|
5963
|
-
!(M &&
|
|
5962
|
+
for (var O in h)
|
|
5963
|
+
!(M && O === "prototype") && t.call(h, O) && S.push(String(O));
|
|
5964
5964
|
if (s)
|
|
5965
|
-
for (var
|
|
5966
|
-
!(
|
|
5965
|
+
for (var w = f(h), _ = 0; _ < i.length; ++_)
|
|
5966
|
+
!(w && i[_] === "constructor") && t.call(h, i[_]) && S.push(i[_]);
|
|
5967
5967
|
return S;
|
|
5968
5968
|
};
|
|
5969
5969
|
}
|
|
@@ -7441,7 +7441,7 @@ const yf = (e) => (oE(e), pn.on(e.name, e.callback), OR()), eV = (e) => (dv(e),
|
|
|
7441
7441
|
}), s && (o.externalUserId = s)), o;
|
|
7442
7442
|
}, DR = (e) => {
|
|
7443
7443
|
if (e)
|
|
7444
|
-
return
|
|
7444
|
+
return lt(e, (t) => {
|
|
7445
7445
|
for (let r = 1; r <= Il; r += 1)
|
|
7446
7446
|
t[`${R0}${r}`] = void 0;
|
|
7447
7447
|
});
|
|
@@ -7862,11 +7862,11 @@ var wb = { exports: {} };
|
|
|
7862
7862
|
}, I = function(y, A) {
|
|
7863
7863
|
y(window.devicePixelRatio || A.NOT_AVAILABLE);
|
|
7864
7864
|
}, E = function(y, A) {
|
|
7865
|
-
y(
|
|
7866
|
-
},
|
|
7865
|
+
y(O(A));
|
|
7866
|
+
}, O = function(y) {
|
|
7867
7867
|
var A = [window.screen.width, window.screen.height];
|
|
7868
7868
|
return y.screen.detectScreenOrientation && A.sort().reverse(), A;
|
|
7869
|
-
},
|
|
7869
|
+
}, w = function(y, A) {
|
|
7870
7870
|
y(_(A));
|
|
7871
7871
|
}, _ = function(y) {
|
|
7872
7872
|
if (window.screen.availWidth && window.screen.availHeight) {
|
|
@@ -7885,7 +7885,7 @@ var wb = { exports: {} };
|
|
|
7885
7885
|
}, K = function(y, A) {
|
|
7886
7886
|
y(T(A));
|
|
7887
7887
|
}, ee = function(y, A) {
|
|
7888
|
-
y(
|
|
7888
|
+
y(L(A));
|
|
7889
7889
|
}, Q = function(y, A) {
|
|
7890
7890
|
y(V(A));
|
|
7891
7891
|
}, U = function(y) {
|
|
@@ -7922,7 +7922,7 @@ var wb = { exports: {} };
|
|
|
7922
7922
|
y(xe());
|
|
7923
7923
|
}, z = function(y) {
|
|
7924
7924
|
y(Je());
|
|
7925
|
-
},
|
|
7925
|
+
}, C = function(y) {
|
|
7926
7926
|
y(Dt());
|
|
7927
7927
|
}, be = function(y) {
|
|
7928
7928
|
y(Tt());
|
|
@@ -8545,7 +8545,7 @@ var wb = { exports: {} };
|
|
|
8545
8545
|
} catch {
|
|
8546
8546
|
return y.ERROR;
|
|
8547
8547
|
}
|
|
8548
|
-
},
|
|
8548
|
+
}, L = function(y) {
|
|
8549
8549
|
try {
|
|
8550
8550
|
return !!window.localStorage;
|
|
8551
8551
|
} catch {
|
|
@@ -8755,7 +8755,7 @@ var wb = { exports: {} };
|
|
|
8755
8755
|
{ key: "pixelRatio", getData: I },
|
|
8756
8756
|
{ key: "hardwareConcurrency", getData: Ke },
|
|
8757
8757
|
{ key: "screenResolution", getData: E },
|
|
8758
|
-
{ key: "availableScreenResolution", getData:
|
|
8758
|
+
{ key: "availableScreenResolution", getData: w },
|
|
8759
8759
|
{ key: "timezoneOffset", getData: P },
|
|
8760
8760
|
{ key: "timezone", getData: j },
|
|
8761
8761
|
{ key: "sessionStorage", getData: K },
|
|
@@ -8773,7 +8773,7 @@ var wb = { exports: {} };
|
|
|
8773
8773
|
{ key: "adBlock", getData: J },
|
|
8774
8774
|
{ key: "hasLiedLanguages", getData: W },
|
|
8775
8775
|
{ key: "hasLiedResolution", getData: z },
|
|
8776
|
-
{ key: "hasLiedOs", getData:
|
|
8776
|
+
{ key: "hasLiedOs", getData: C },
|
|
8777
8777
|
{ key: "hasLiedBrowser", getData: be },
|
|
8778
8778
|
{ key: "touchSupport", getData: Be },
|
|
8779
8779
|
{ key: "fonts", getData: Se, pauseBefore: !0 },
|
|
@@ -8951,11 +8951,15 @@ const aN = (e) => {
|
|
|
8951
8951
|
t,
|
|
8952
8952
|
_n.fetchProgramTheme(r, d)
|
|
8953
8953
|
]), N.info("verificationResponse received: ", l);
|
|
8954
|
-
} catch (
|
|
8955
|
-
N.error(
|
|
8954
|
+
} catch (O) {
|
|
8955
|
+
N.error(O, "verificationResponse"), l = wR(O.message), d = $t(a, l), c = c || Cv();
|
|
8956
8956
|
}
|
|
8957
8957
|
const f = l.segment, p = (s == null ? void 0 : s.segment) || n;
|
|
8958
|
-
|
|
8958
|
+
it.addResourceBundle(d, "theme", c.intl.messages, !0, !0), await zv(d, f), it.language !== d && (N.info(
|
|
8959
|
+
`createFetchVerificationRequest: change language from "${it.language}" to "${d}"`
|
|
8960
|
+
), await it.changeLanguage(d, (O) => {
|
|
8961
|
+
Array.isArray(O) && O.length > 0 && O.forEach((w) => N.error(w));
|
|
8962
|
+
}));
|
|
8959
8963
|
const h = xb(c), m = lf(d, h, f);
|
|
8960
8964
|
let g = DR(a);
|
|
8961
8965
|
oN(p, f) && (N.info("segment changed: ", p, f), await hd(e)(l), g = void 0);
|
|
@@ -8985,8 +8989,8 @@ const aN = (e) => {
|
|
|
8985
8989
|
})
|
|
8986
8990
|
]).then(() => {
|
|
8987
8991
|
pn.emit("ON_VERIFICATION_READY", l), pn.off("ON_VERIFICATION_READY");
|
|
8988
|
-
}).catch((
|
|
8989
|
-
N.error(
|
|
8992
|
+
}).catch((O) => {
|
|
8993
|
+
N.error(O, "createFetchVerificationRequest promises");
|
|
8990
8994
|
});
|
|
8991
8995
|
} catch (i) {
|
|
8992
8996
|
throw N.error(i, "createFetchVerificationRequest"), i;
|
|
@@ -9011,7 +9015,7 @@ const aN = (e) => {
|
|
|
9011
9015
|
t,
|
|
9012
9016
|
s
|
|
9013
9017
|
);
|
|
9014
|
-
|
|
9018
|
+
it.addResourceBundle(s, "theme", o.intl.messages, !0, !0), await zv(s, a), await it.changeLanguage(s, (l) => {
|
|
9015
9019
|
Array.isArray(l) && l.length > 0 && l.forEach((c) => N.error(c));
|
|
9016
9020
|
});
|
|
9017
9021
|
const i = xb(o);
|
|
@@ -9022,7 +9026,7 @@ const aN = (e) => {
|
|
|
9022
9026
|
e({ type: "IS_LOADING", isLoading: !1 })
|
|
9023
9027
|
])
|
|
9024
9028
|
);
|
|
9025
|
-
}, Ab = (e) => async (t, r = !1) => (t.intl && t.intl.locale && t.intl.messages &&
|
|
9029
|
+
}, Ab = (e) => async (t, r = !1) => (t.intl && t.intl.locale && t.intl.messages && it.addResourceBundle(
|
|
9026
9030
|
t.intl.locale,
|
|
9027
9031
|
"theme",
|
|
9028
9032
|
t.intl.messages,
|
|
@@ -9375,17 +9379,17 @@ const oV = (e, t) => {
|
|
|
9375
9379
|
N.log(`overrideComponent registering ${e}`), Zi[e] = t;
|
|
9376
9380
|
}, dN = (e) => Zi[e] ? (N.log(`getOverridenComponent returning ${e}`), Zi[e]) : null, iV = () => {
|
|
9377
9381
|
Zi = {};
|
|
9378
|
-
}, lV = (e, t, r) =>
|
|
9382
|
+
}, lV = (e, t, r) => lt(e, (n) => {
|
|
9379
9383
|
Object.keys(e).filter((a) => !!e[a] && a.includes("file")).map((a) => e[a]).concat(t, Array(Il).fill(void 0)).splice(0, 3).forEach((a, s) => n[`file${s + 1}`] = a), r ? n.erroredFileNames = r : n.erroredFileNames = void 0;
|
|
9380
9384
|
}), cV = (e, t) => {
|
|
9381
9385
|
if (![1, 2, 3].includes(t))
|
|
9382
9386
|
throw new Error(
|
|
9383
9387
|
`Expected either 1, 2 or 3 for argument "fileNumber", but received ${t}`
|
|
9384
9388
|
);
|
|
9385
|
-
return
|
|
9389
|
+
return lt(e, (r) => {
|
|
9386
9390
|
Object.keys(e).filter((n) => n.includes("file") && !n.includes(t.toString())).map((n) => e[n]).concat(Array(Il).fill(void 0)).splice(0, 3).forEach((n, a) => r[`file${a + 1}`] = n);
|
|
9387
9391
|
});
|
|
9388
|
-
}, uV = (e) =>
|
|
9392
|
+
}, uV = (e) => lt(e, (t) => {
|
|
9389
9393
|
for (let r = 0; r < Il; r++)
|
|
9390
9394
|
t[`file${r + 1}`] = void 0;
|
|
9391
9395
|
});
|
|
@@ -9570,14 +9574,14 @@ function VN(e = hn) {
|
|
|
9570
9574
|
};
|
|
9571
9575
|
}
|
|
9572
9576
|
const HN = /* @__PURE__ */ VN();
|
|
9573
|
-
function
|
|
9574
|
-
return
|
|
9577
|
+
function ft() {
|
|
9578
|
+
return ft = Object.assign ? Object.assign.bind() : function(e) {
|
|
9575
9579
|
for (var t = 1; t < arguments.length; t++) {
|
|
9576
9580
|
var r = arguments[t];
|
|
9577
9581
|
for (var n in r) ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
9578
9582
|
}
|
|
9579
9583
|
return e;
|
|
9580
|
-
},
|
|
9584
|
+
}, ft.apply(null, arguments);
|
|
9581
9585
|
}
|
|
9582
9586
|
function Ba(e, t) {
|
|
9583
9587
|
if (e == null) return {};
|
|
@@ -9945,7 +9949,7 @@ function fA(e) {
|
|
|
9945
9949
|
) : Pf(e, "mapStateToProps") : md(() => ({}));
|
|
9946
9950
|
}
|
|
9947
9951
|
function pA(e, t, r) {
|
|
9948
|
-
return
|
|
9952
|
+
return ft({}, r, e, t);
|
|
9949
9953
|
}
|
|
9950
9954
|
function hA(e) {
|
|
9951
9955
|
return function(r, {
|
|
@@ -10121,24 +10125,24 @@ function wA(e, t, r, {
|
|
|
10121
10125
|
areOwnPropsEqual: s,
|
|
10122
10126
|
areMergedPropsEqual: i
|
|
10123
10127
|
};
|
|
10124
|
-
function I(
|
|
10128
|
+
function I(w) {
|
|
10125
10129
|
const [_, P, j] = D.useMemo(() => {
|
|
10126
10130
|
const {
|
|
10127
10131
|
reactReduxForwardedRef: Te
|
|
10128
|
-
} =
|
|
10129
|
-
return [
|
|
10130
|
-
}, [
|
|
10131
|
-
oA.isContextConsumer(/* @__PURE__ */ D.createElement(_.Consumer, null)) ? _ : d, [_, d]), ee = D.useContext(K), Q = !!
|
|
10132
|
+
} = w, Be = Ba(w, vA);
|
|
10133
|
+
return [w.context, Te, Be];
|
|
10134
|
+
}, [w]), K = D.useMemo(() => _ && _.Consumer && // @ts-ignore
|
|
10135
|
+
oA.isContextConsumer(/* @__PURE__ */ D.createElement(_.Consumer, null)) ? _ : d, [_, d]), ee = D.useContext(K), Q = !!w.store && !!w.store.getState && !!w.store.dispatch, U = !!ee && !!ee.store, G = Q ? w.store : ee.store, H = U ? ee.getServerState : G.getState, q = D.useMemo(() => cA(G.dispatch, M), [G]), [X, we] = D.useMemo(() => {
|
|
10132
10136
|
if (!m) return IA;
|
|
10133
10137
|
const Te = eI(G, Q ? void 0 : ee.subscription), Be = Te.notifyNestedSubs.bind(Te);
|
|
10134
10138
|
return [Te, Be];
|
|
10135
|
-
}, [G, Q, ee]), re = D.useMemo(() => Q ? ee :
|
|
10139
|
+
}, [G, Q, ee]), re = D.useMemo(() => Q ? ee : ft({}, ee, {
|
|
10136
10140
|
subscription: X
|
|
10137
10141
|
}), [Q, ee, X]), Z = D.useRef(), J = D.useRef(j), W = D.useRef(), z = D.useRef(!1);
|
|
10138
10142
|
D.useRef(!1);
|
|
10139
|
-
const
|
|
10140
|
-
Ji(() => (
|
|
10141
|
-
|
|
10143
|
+
const C = D.useRef(!1), be = D.useRef();
|
|
10144
|
+
Ji(() => (C.current = !0, () => {
|
|
10145
|
+
C.current = !1;
|
|
10142
10146
|
}), []);
|
|
10143
10147
|
const he = D.useMemo(() => () => W.current && j === J.current ? W.current : q(G.getState(), j), [G, j]), Se = D.useMemo(() => (Be) => X ? xA(
|
|
10144
10148
|
m,
|
|
@@ -10149,7 +10153,7 @@ function wA(e, t, r, {
|
|
|
10149
10153
|
J,
|
|
10150
10154
|
Z,
|
|
10151
10155
|
z,
|
|
10152
|
-
|
|
10156
|
+
C,
|
|
10153
10157
|
W,
|
|
10154
10158
|
we,
|
|
10155
10159
|
Be
|
|
@@ -10178,7 +10182,7 @@ ${be.current.stack}
|
|
|
10178
10182
|
});
|
|
10179
10183
|
const Re = D.useMemo(() => (
|
|
10180
10184
|
// @ts-ignore
|
|
10181
|
-
/* @__PURE__ */ D.createElement(v,
|
|
10185
|
+
/* @__PURE__ */ D.createElement(v, ft({}, _e, {
|
|
10182
10186
|
ref: P
|
|
10183
10187
|
}))
|
|
10184
10188
|
), [P, v, _e]);
|
|
@@ -10186,16 +10190,16 @@ ${be.current.stack}
|
|
|
10186
10190
|
value: re
|
|
10187
10191
|
}, Re) : Re, [K, Re, re]);
|
|
10188
10192
|
}
|
|
10189
|
-
const
|
|
10190
|
-
if (
|
|
10193
|
+
const O = D.memo(I);
|
|
10194
|
+
if (O.WrappedComponent = v, O.displayName = I.displayName = S, l) {
|
|
10191
10195
|
const _ = D.forwardRef(function(j, K) {
|
|
10192
|
-
return /* @__PURE__ */ D.createElement(
|
|
10196
|
+
return /* @__PURE__ */ D.createElement(O, ft({}, j, {
|
|
10193
10197
|
reactReduxForwardedRef: K
|
|
10194
10198
|
}));
|
|
10195
10199
|
});
|
|
10196
10200
|
return _.displayName = S, _.WrappedComponent = v, bm(_, v);
|
|
10197
10201
|
}
|
|
10198
|
-
return bm(
|
|
10202
|
+
return bm(O, v);
|
|
10199
10203
|
};
|
|
10200
10204
|
}
|
|
10201
10205
|
function CA({
|
|
@@ -10620,8 +10624,8 @@ var tO = aI("v5", 80, function(e) {
|
|
|
10620
10624
|
for (var p = new Uint32Array(80), h = 0; h < 16; ++h) p[h] = i[f][h];
|
|
10621
10625
|
for (var m = 16; m < 80; ++m) p[m] = Iu(p[m - 3] ^ p[m - 8] ^ p[m - 14] ^ p[m - 16], 1);
|
|
10622
10626
|
for (var g = r[0], v = r[1], b = r[2], S = r[3], M = r[4], I = 0; I < 80; ++I) {
|
|
10623
|
-
var E = Math.floor(I / 20),
|
|
10624
|
-
M = S, S = b, b = Iu(v, 30) >>> 0, v = g, g =
|
|
10627
|
+
var E = Math.floor(I / 20), O = Iu(g, 5) + eO(E, v, b, S) + M + t[E] + p[I] >>> 0;
|
|
10628
|
+
M = S, S = b, b = Iu(v, 30) >>> 0, v = g, g = O;
|
|
10625
10629
|
}
|
|
10626
10630
|
r[0] = r[0] + g >>> 0, r[1] = r[1] + v >>> 0, r[2] = r[2] + b >>> 0, r[3] = r[3] + S >>> 0, r[4] = r[4] + M >>> 0;
|
|
10627
10631
|
}
|
|
@@ -11003,34 +11007,34 @@ var hO = function(e, t, r, n = null, a = null, s = null) {
|
|
|
11003
11007
|
function I() {
|
|
11004
11008
|
return f === 0 || Math.floor(Math.random() * f) === 0;
|
|
11005
11009
|
}
|
|
11006
|
-
function E(
|
|
11007
|
-
const _ = He.extend({},
|
|
11008
|
-
return
|
|
11010
|
+
function E(w) {
|
|
11011
|
+
const _ = He.extend({}, w);
|
|
11012
|
+
return w.kind === "identify" ? _.context = d.filter(w.context) : w.kind === "feature" ? _.context = d.filter(w.context, !0) : (_.contextKeys = pO(w.context, m), delete _.context), w.kind === "feature" && (delete _.trackEvents, delete _.debugEventsUntilDate), _;
|
|
11009
11013
|
}
|
|
11010
|
-
function
|
|
11011
|
-
v.length < p ? (v.push(
|
|
11014
|
+
function O(w) {
|
|
11015
|
+
v.length < p ? (v.push(w), M = !1) : (M || (M = !0, m.warn(Ue.eventCapacityExceeded())), n && n.incrementDroppedEvents());
|
|
11012
11016
|
}
|
|
11013
|
-
return o.enqueue = function(
|
|
11017
|
+
return o.enqueue = function(w) {
|
|
11014
11018
|
if (S) return;
|
|
11015
11019
|
let _ = !1, P = !1;
|
|
11016
11020
|
var j;
|
|
11017
|
-
if (c.summarizeEvent(
|
|
11018
|
-
const K = He.extend({},
|
|
11019
|
-
K.context = d.filter(K.context), delete K.trackEvents, delete K.debugEventsUntilDate,
|
|
11021
|
+
if (c.summarizeEvent(w), w.kind === "feature" ? I() && (_ = !!w.trackEvents, P = !!(j = w).debugEventsUntilDate && j.debugEventsUntilDate > b && j.debugEventsUntilDate > (/* @__PURE__ */ new Date()).getTime()) : _ = I(), _ && O(E(w)), P) {
|
|
11022
|
+
const K = He.extend({}, w, { kind: "debug" });
|
|
11023
|
+
K.context = d.filter(K.context), delete K.trackEvents, delete K.debugEventsUntilDate, O(K);
|
|
11020
11024
|
}
|
|
11021
11025
|
}, o.flush = function() {
|
|
11022
11026
|
if (S) return Promise.resolve();
|
|
11023
|
-
const
|
|
11024
|
-
return c.clearSummary(), _ && (_.kind = "summary",
|
|
11027
|
+
const w = v, _ = c.getSummary();
|
|
11028
|
+
return c.clearSummary(), _ && (_.kind = "summary", w.push(_)), n && n.setEventsInLastBatch(w.length), w.length === 0 ? Promise.resolve() : (v = [], m.debug(Ue.debugPostingEvents(w.length)), i.sendEvents(w, l).then((P) => {
|
|
11025
11029
|
P && (P.serverTime && (b = P.serverTime), wt.isHttpErrorRecoverable(P.status) || (S = !0), P.status >= 400 && He.onNextTick(() => {
|
|
11026
11030
|
a.maybeReportError(new wt.LDUnexpectedResponseError(Ue.httpErrorMessage(P.status, "event posting", "some events were dropped")));
|
|
11027
11031
|
}));
|
|
11028
11032
|
}));
|
|
11029
11033
|
}, o.start = function() {
|
|
11030
|
-
const
|
|
11031
|
-
o.flush(), g = setTimeout(
|
|
11034
|
+
const w = () => {
|
|
11035
|
+
o.flush(), g = setTimeout(w, h);
|
|
11032
11036
|
};
|
|
11033
|
-
g = setTimeout(
|
|
11037
|
+
g = setTimeout(w, h);
|
|
11034
11038
|
}, o.stop = function() {
|
|
11035
11039
|
clearTimeout(g);
|
|
11036
11040
|
}, o;
|
|
@@ -11132,12 +11136,12 @@ var EO = function(e, t, r, n) {
|
|
|
11132
11136
|
function E(j) {
|
|
11133
11137
|
if (j.status && typeof j.status == "number" && !xO(j.status)) return _(), s.error(Ue.unrecoverableStreamError(j)), void (g && (clearTimeout(g), g = null));
|
|
11134
11138
|
const K = I();
|
|
11135
|
-
h || (s.warn(Ue.streamError(j, K)), h = !0), P(!1), _(),
|
|
11139
|
+
h || (s.warn(Ue.streamError(j, K)), h = !0), P(!1), _(), O(K);
|
|
11136
11140
|
}
|
|
11137
|
-
function
|
|
11138
|
-
g || (j ? g = setTimeout(
|
|
11141
|
+
function O(j) {
|
|
11142
|
+
g || (j ? g = setTimeout(w, j) : w());
|
|
11139
11143
|
}
|
|
11140
|
-
function
|
|
11144
|
+
function w() {
|
|
11141
11145
|
let j;
|
|
11142
11146
|
g = null;
|
|
11143
11147
|
let K = "";
|
|
@@ -11161,7 +11165,7 @@ var EO = function(e, t, r, n) {
|
|
|
11161
11165
|
for (const Q in ee || {}) S[Q] = function(U) {
|
|
11162
11166
|
h = !1, P(!0), ee[Q] && ee[Q](U);
|
|
11163
11167
|
};
|
|
11164
|
-
|
|
11168
|
+
O();
|
|
11165
11169
|
}, o.disconnect = function() {
|
|
11166
11170
|
clearTimeout(g), g = null, _();
|
|
11167
11171
|
}, o.isConnected = function() {
|
|
@@ -11286,8 +11290,8 @@ var Cu = { DiagnosticId: function(e) {
|
|
|
11286
11290
|
function S() {
|
|
11287
11291
|
b(function() {
|
|
11288
11292
|
const E = (/* @__PURE__ */ new Date()).getTime();
|
|
11289
|
-
let
|
|
11290
|
-
return i && (
|
|
11293
|
+
let O = { kind: i ? "diagnostic-combined" : "diagnostic", id: o, creationDate: E, ...f.getProps() };
|
|
11294
|
+
return i && (O = { ...O, ...v() }), f.reset(E), O;
|
|
11291
11295
|
}()), h = setTimeout(S, d), p = (/* @__PURE__ */ new Date()).getTime(), i && function() {
|
|
11292
11296
|
if (t.isEnabled()) {
|
|
11293
11297
|
const E = { ...f.getProps() };
|
|
@@ -11305,10 +11309,10 @@ var Cu = { DiagnosticId: function(e) {
|
|
|
11305
11309
|
return g.start = () => {
|
|
11306
11310
|
i ? function(E) {
|
|
11307
11311
|
if (!t.isEnabled()) return E(!1);
|
|
11308
|
-
t.get(l).then((
|
|
11309
|
-
if (
|
|
11310
|
-
const
|
|
11311
|
-
f.setProps(
|
|
11312
|
+
t.get(l).then((O) => {
|
|
11313
|
+
if (O) try {
|
|
11314
|
+
const w = JSON.parse(O);
|
|
11315
|
+
f.setProps(w), p = w.dataSinceDate;
|
|
11312
11316
|
} catch {
|
|
11313
11317
|
}
|
|
11314
11318
|
E(!0);
|
|
@@ -11317,8 +11321,8 @@ var Cu = { DiagnosticId: function(e) {
|
|
|
11317
11321
|
});
|
|
11318
11322
|
}((E) => {
|
|
11319
11323
|
if (E) {
|
|
11320
|
-
const
|
|
11321
|
-
|
|
11324
|
+
const O = (p || 0) + d, w = (/* @__PURE__ */ new Date()).getTime();
|
|
11325
|
+
w >= O ? S() : h = setTimeout(S, O - w);
|
|
11322
11326
|
} else Math.floor(4 * Math.random()) === 0 ? S() : h = setTimeout(S, d);
|
|
11323
11327
|
}) : (b({ kind: "diagnostic-init", id: o, creationDate: f.getProps().dataSinceDate, ...v() }), h = setTimeout(S, d));
|
|
11324
11328
|
}, g.stop = () => {
|
|
@@ -11380,62 +11384,62 @@ var iI = { initialize: function(e, t, r, n, a) {
|
|
|
11380
11384
|
}(), o = mO(s), i = gO(o), l = Af.validate(r, o, a, s), c = BO(l.inspectors, s), d = l.sendEvents;
|
|
11381
11385
|
let f = e, p = l.hash;
|
|
11382
11386
|
const h = vO(n.localStorage, s), m = sI(n, f, l), g = l.sendEvents && !l.diagnosticOptOut, v = g ? Cu.DiagnosticId(f) : null, b = g ? Cu.DiagnosticsAccumulator((/* @__PURE__ */ new Date()).getTime()) : null, S = g ? Cu.DiagnosticsManager(n, h, b, m, f, l, v) : null, M = EO(n, l, f, b), I = l.eventProcessor || hO(n, l, f, b, o, m), E = PO(n, l, f);
|
|
11383
|
-
let
|
|
11387
|
+
let O, w, _, P = {}, j = l.streaming, K = !1, ee = !1, Q = !0;
|
|
11384
11388
|
const U = l.stateProvider, G = RO(null, function(T) {
|
|
11385
|
-
(function(
|
|
11386
|
-
U ||
|
|
11389
|
+
(function(L) {
|
|
11390
|
+
U || L && X({ kind: "identify", context: L, creationDate: (/* @__PURE__ */ new Date()).getTime() });
|
|
11387
11391
|
})(T), c.hasListeners(qo.clientIdentityChanged) && c.onIdentityChanged(G.getContext());
|
|
11388
11392
|
}), H = new OO(h), q = h.isEnabled() ? yO(h, f, p, G) : null;
|
|
11389
11393
|
function X(T) {
|
|
11390
11394
|
f && (U && U.enqueueEvent && U.enqueueEvent(T) || (T.context ? (Q = !1, !d || ee || n.isDoNotTrack() || (s.debug(Ue.debugEnqueueingEvent(T.kind)), I.enqueue(T))) : Q && (s.warn(Ue.eventWithoutContext()), Q = !1)));
|
|
11391
11395
|
}
|
|
11392
|
-
function we(T,
|
|
11393
|
-
c.hasListeners(qo.flagDetailChanged) && c.onFlagChanged(T.key, z(
|
|
11396
|
+
function we(T, L) {
|
|
11397
|
+
c.hasListeners(qo.flagDetailChanged) && c.onFlagChanged(T.key, z(L));
|
|
11394
11398
|
}
|
|
11395
11399
|
function re() {
|
|
11396
|
-
c.hasListeners(qo.flagDetailsChanged) && c.onFlags(Object.entries(P).map(([T,
|
|
11400
|
+
c.hasListeners(qo.flagDetailsChanged) && c.onFlags(Object.entries(P).map(([T, L]) => ({ key: T, detail: z(L) })).reduce((T, L) => (T[L.key] = L.detail, T), {}));
|
|
11397
11401
|
}
|
|
11398
|
-
function Z(T,
|
|
11399
|
-
const ne = G.getContext(), me = /* @__PURE__ */ new Date(), ie = { kind: "feature", key: T, context: ne, value:
|
|
11400
|
-
Me && (ie.version = Me.flagVersion ? Me.flagVersion : Me.version, ie.trackEvents = Me.trackEvents, ie.debugEventsUntilDate = Me.debugEventsUntilDate), (oe || Me && Me.trackReason) &&
|
|
11402
|
+
function Z(T, L, V, oe) {
|
|
11403
|
+
const ne = G.getContext(), me = /* @__PURE__ */ new Date(), ie = { kind: "feature", key: T, context: ne, value: L ? L.value : null, variation: L ? L.variationIndex : null, default: V, creationDate: me.getTime() }, Me = P[T];
|
|
11404
|
+
Me && (ie.version = Me.flagVersion ? Me.flagVersion : Me.version, ie.trackEvents = Me.trackEvents, ie.debugEventsUntilDate = Me.debugEventsUntilDate), (oe || Me && Me.trackReason) && L && (ie.reason = L.reason), X(ie);
|
|
11401
11405
|
}
|
|
11402
11406
|
function J(T) {
|
|
11403
11407
|
return $O(T, !1) ? Promise.resolve(T) : Promise.reject(new wt.LDInvalidUserError(Ue.invalidContext()));
|
|
11404
11408
|
}
|
|
11405
|
-
function W(T,
|
|
11409
|
+
function W(T, L, V, oe, ne, me) {
|
|
11406
11410
|
var ce;
|
|
11407
11411
|
let ie, Me;
|
|
11408
|
-
return P && He.objectHasOwnProperty(P, T) && P[T] && !P[T].deleted ? (Me = P[T], ie = z(Me), Me.value !== null && Me.value !== void 0 || (ie.value =
|
|
11412
|
+
return P && He.objectHasOwnProperty(P, T) && P[T] && !P[T].deleted ? (Me = P[T], ie = z(Me), Me.value !== null && Me.value !== void 0 || (ie.value = L)) : ie = { value: L, variationIndex: null, reason: { kind: "ERROR", errorKind: "FLAG_NOT_FOUND" } }, V && (ne || ((ce = Me == null ? void 0 : Me.prerequisites) == null || ce.forEach((ye) => {
|
|
11409
11413
|
W(ye, void 0, V, !1, !1, !1);
|
|
11410
|
-
})), Z(T, ie,
|
|
11414
|
+
})), Z(T, ie, L, oe)), !ne && me && function(ye, ke) {
|
|
11411
11415
|
c.hasListeners(qo.flagUsed) && c.onFlagUsed(ye, ke, G.getContext());
|
|
11412
11416
|
}(T, ie), ie;
|
|
11413
11417
|
}
|
|
11414
11418
|
function z(T) {
|
|
11415
11419
|
return { value: T.value, variationIndex: T.variation === void 0 ? null : T.variation, reason: T.reason || null };
|
|
11416
11420
|
}
|
|
11417
|
-
function
|
|
11418
|
-
if (
|
|
11419
|
-
const T = (
|
|
11421
|
+
function C() {
|
|
11422
|
+
if (w = !0, !G.getContext()) return;
|
|
11423
|
+
const T = (L) => {
|
|
11420
11424
|
try {
|
|
11421
|
-
return JSON.parse(
|
|
11425
|
+
return JSON.parse(L);
|
|
11422
11426
|
} catch {
|
|
11423
11427
|
return void o.maybeReportError(new wt.LDInvalidDataError(Ue.invalidData()));
|
|
11424
11428
|
}
|
|
11425
11429
|
};
|
|
11426
11430
|
M.connect(G.getContext(), p, { ping: function() {
|
|
11427
11431
|
s.debug(Ue.debugStreamPing());
|
|
11428
|
-
const
|
|
11429
|
-
E.fetchFlagSettings(
|
|
11430
|
-
He.deepEquals(
|
|
11432
|
+
const L = G.getContext();
|
|
11433
|
+
E.fetchFlagSettings(L, p).then((V) => {
|
|
11434
|
+
He.deepEquals(L, G.getContext()) && he(V || {});
|
|
11431
11435
|
}).catch((V) => {
|
|
11432
11436
|
o.maybeReportError(new wt.LDFlagFetchError(Ue.errorFetchingFlags(V)));
|
|
11433
11437
|
});
|
|
11434
|
-
}, put: function(
|
|
11435
|
-
const V = T(
|
|
11438
|
+
}, put: function(L) {
|
|
11439
|
+
const V = T(L.data);
|
|
11436
11440
|
V && (s.debug(Ue.debugStreamPut()), he(V));
|
|
11437
|
-
}, patch: function(
|
|
11438
|
-
const V = T(
|
|
11441
|
+
}, patch: function(L) {
|
|
11442
|
+
const V = T(L.data);
|
|
11439
11443
|
if (!V) return;
|
|
11440
11444
|
const oe = P[V.key];
|
|
11441
11445
|
if (!oe || !oe.version || !V.version || oe.version < V.version) {
|
|
@@ -11445,8 +11449,8 @@ var iI = { initialize: function(e, t, r, n, a) {
|
|
|
11445
11449
|
const ie = z(me);
|
|
11446
11450
|
ne[V.key] = oe ? { previous: oe.value, current: ie } : { current: ie }, we(V, me), Se(ne);
|
|
11447
11451
|
} else s.debug(Ue.debugStreamPatchIgnored(V.key));
|
|
11448
|
-
}, delete: function(
|
|
11449
|
-
const V = T(
|
|
11452
|
+
}, delete: function(L) {
|
|
11453
|
+
const V = T(L.data);
|
|
11450
11454
|
if (V) if (!P[V.key] || P[V.key].version < V.version) {
|
|
11451
11455
|
s.debug(Ue.debugStreamDelete(V.key));
|
|
11452
11456
|
const oe = {};
|
|
@@ -11455,41 +11459,41 @@ var iI = { initialize: function(e, t, r, n, a) {
|
|
|
11455
11459
|
} });
|
|
11456
11460
|
}
|
|
11457
11461
|
function be() {
|
|
11458
|
-
|
|
11462
|
+
w && (M.disconnect(), w = !1);
|
|
11459
11463
|
}
|
|
11460
11464
|
function he(T) {
|
|
11461
|
-
const
|
|
11465
|
+
const L = {};
|
|
11462
11466
|
if (!T) return Promise.resolve();
|
|
11463
|
-
for (const V in P) He.objectHasOwnProperty(P, V) && P[V] && (T[V] && !He.deepEquals(T[V].value, P[V].value) ?
|
|
11464
|
-
for (const V in T) He.objectHasOwnProperty(T, V) && T[V] && (!P[V] || P[V].deleted) && (
|
|
11465
|
-
return P = { ...T }, re(), Se(
|
|
11467
|
+
for (const V in P) He.objectHasOwnProperty(P, V) && P[V] && (T[V] && !He.deepEquals(T[V].value, P[V].value) ? L[V] = { previous: P[V].value, current: z(T[V]) } : T[V] && !T[V].deleted || (L[V] = { previous: P[V].value }));
|
|
11468
|
+
for (const V in T) He.objectHasOwnProperty(T, V) && T[V] && (!P[V] || P[V].deleted) && (L[V] = { current: z(T[V]) });
|
|
11469
|
+
return P = { ...T }, re(), Se(L).catch(() => {
|
|
11466
11470
|
});
|
|
11467
11471
|
}
|
|
11468
11472
|
function Se(T) {
|
|
11469
|
-
const
|
|
11470
|
-
if (
|
|
11473
|
+
const L = Object.keys(T);
|
|
11474
|
+
if (L.length > 0) {
|
|
11471
11475
|
const V = {};
|
|
11472
|
-
|
|
11476
|
+
L.forEach((oe) => {
|
|
11473
11477
|
const ne = T[oe].current, me = ne ? ne.value : void 0, ie = T[oe].previous;
|
|
11474
11478
|
o.emit(Ko + ":" + oe, me, ie), V[oe] = ne ? { current: me, previous: ie } : { previous: ie };
|
|
11475
|
-
}), o.emit(Ko, V), o.emit(Bm, P), l.sendEventsOnlyForVariation || U ||
|
|
11479
|
+
}), o.emit(Ko, V), o.emit(Bm, P), l.sendEventsOnlyForVariation || U || L.forEach((oe) => {
|
|
11476
11480
|
Z(oe, T[oe].current);
|
|
11477
11481
|
});
|
|
11478
11482
|
}
|
|
11479
|
-
return
|
|
11483
|
+
return O && q ? q.saveFlags(P) : Promise.resolve();
|
|
11480
11484
|
}
|
|
11481
11485
|
function _e() {
|
|
11482
11486
|
const T = j || _ && j === void 0;
|
|
11483
|
-
T && !
|
|
11487
|
+
T && !w ? C() : !T && w && be(), S && S.setStreaming(T);
|
|
11484
11488
|
}
|
|
11485
11489
|
function Re(T) {
|
|
11486
11490
|
return T === Ko || T.substr(0, 7) === Ko + ":";
|
|
11487
11491
|
}
|
|
11488
|
-
if (typeof l.bootstrap == "string" && l.bootstrap.toUpperCase() === "LOCALSTORAGE" && (q ?
|
|
11489
|
-
const
|
|
11490
|
-
!ne &&
|
|
11492
|
+
if (typeof l.bootstrap == "string" && l.bootstrap.toUpperCase() === "LOCALSTORAGE" && (q ? O = !0 : s.warn(Ue.localStorageUnavailable())), typeof l.bootstrap == "object" && (P = function(T) {
|
|
11493
|
+
const L = Object.keys(T), V = "$flagsState", oe = "$valid", ne = T[V];
|
|
11494
|
+
!ne && L.length && s.warn(Ue.bootstrapOldFormat()), T[oe] === !1 && s.warn(Ue.bootstrapInvalid());
|
|
11491
11495
|
const me = {};
|
|
11492
|
-
return
|
|
11496
|
+
return L.forEach((ie) => {
|
|
11493
11497
|
if (ie !== V && ie !== oe) {
|
|
11494
11498
|
let Me = { value: T[ie] };
|
|
11495
11499
|
ne && ne[ie] ? Me = He.extend(Me, ne[ie]) : Me.version = 0, me[ie] = Me;
|
|
@@ -11497,16 +11501,16 @@ var iI = { initialize: function(e, t, r, n, a) {
|
|
|
11497
11501
|
}), me;
|
|
11498
11502
|
}(l.bootstrap)), U) {
|
|
11499
11503
|
const T = U.getInitialState();
|
|
11500
|
-
T ? Fe(T) : U.on("init", Fe), U.on("update", function(
|
|
11501
|
-
|
|
11504
|
+
T ? Fe(T) : U.on("init", Fe), U.on("update", function(L) {
|
|
11505
|
+
L.context && G.setContext(L.context), L.flags && he(L.flags);
|
|
11502
11506
|
});
|
|
11503
11507
|
} else (function() {
|
|
11504
|
-
return e ? H.processContext(t).then(J).then((T) => (G.setContext(T), typeof l.bootstrap == "object" ? Te() :
|
|
11508
|
+
return e ? H.processContext(t).then(J).then((T) => (G.setContext(T), typeof l.bootstrap == "object" ? Te() : O ? q.loadFlags().then((L) => L == null ? (P = {}, E.fetchFlagSettings(G.getContext(), p).then((V) => he(V || {})).then(Te).catch((V) => {
|
|
11505
11509
|
Be(new wt.LDFlagFetchError(Ue.errorFetchingFlags(V)));
|
|
11506
|
-
})) : (P =
|
|
11507
|
-
P =
|
|
11508
|
-
}).catch((
|
|
11509
|
-
P = {}, Be(
|
|
11510
|
+
})) : (P = L, He.onNextTick(Te), E.fetchFlagSettings(G.getContext(), p).then((V) => he(V)).catch((V) => o.maybeReportError(V)))) : E.fetchFlagSettings(G.getContext(), p).then((L) => {
|
|
11511
|
+
P = L || {}, re(), Te();
|
|
11512
|
+
}).catch((L) => {
|
|
11513
|
+
P = {}, Be(L);
|
|
11510
11514
|
}))) : Promise.reject(new wt.LDInvalidEnvironmentIdError(Ue.environmentNotSpecified()));
|
|
11511
11515
|
})().catch(Be);
|
|
11512
11516
|
function Fe(T) {
|
|
@@ -11520,9 +11524,9 @@ var iI = { initialize: function(e, t, r, n, a) {
|
|
|
11520
11524
|
}
|
|
11521
11525
|
return { client: { waitForInitialization: function(T = void 0) {
|
|
11522
11526
|
if (T != null) {
|
|
11523
|
-
if (typeof T == "number") return function(
|
|
11524
|
-
|
|
11525
|
-
const V = i.getInitializationPromise(), oe = jO(
|
|
11527
|
+
if (typeof T == "number") return function(L) {
|
|
11528
|
+
L > 5 && s.warn("The waitForInitialization function was called with a timeout greater than 5 seconds. We recommend a timeout of 5 seconds or less.");
|
|
11529
|
+
const V = i.getInitializationPromise(), oe = jO(L, "waitForInitialization");
|
|
11526
11530
|
return Promise.race([oe, V]).catch((ne) => {
|
|
11527
11531
|
throw ne instanceof wt.LDTimeoutError && s.error(`waitForInitialization error: ${ne}`), ne;
|
|
11528
11532
|
});
|
|
@@ -11530,51 +11534,51 @@ var iI = { initialize: function(e, t, r, n, a) {
|
|
|
11530
11534
|
s.warn("The waitForInitialization method was provided with a non-numeric timeout.");
|
|
11531
11535
|
}
|
|
11532
11536
|
return s.warn("The waitForInitialization function was called without a timeout specified. In a future version a default timeout will be applied."), i.getInitializationPromise();
|
|
11533
|
-
}, waitUntilReady: () => i.getReadyPromise(), identify: function(T,
|
|
11537
|
+
}, waitUntilReady: () => i.getReadyPromise(), identify: function(T, L, V) {
|
|
11534
11538
|
if (ee) return He.wrapPromiseCallback(Promise.resolve({}), V);
|
|
11535
11539
|
if (U) return s.warn(Ue.identifyDisabled()), He.wrapPromiseCallback(Promise.resolve(He.transformVersionedValuesToValues(P)), V);
|
|
11536
|
-
const oe =
|
|
11537
|
-
return He.wrapPromiseCallback(oe.then(() => H.processContext(T)).then(J).then((ne) => E.fetchFlagSettings(ne,
|
|
11540
|
+
const oe = O && q ? q.clearFlags() : Promise.resolve();
|
|
11541
|
+
return He.wrapPromiseCallback(oe.then(() => H.processContext(T)).then(J).then((ne) => E.fetchFlagSettings(ne, L).then((me) => {
|
|
11538
11542
|
const ie = He.transformVersionedValuesToValues(me);
|
|
11539
|
-
return G.setContext(ne), p =
|
|
11540
|
-
})).then((ne) => (
|
|
11543
|
+
return G.setContext(ne), p = L, me ? he(me).then(() => ie) : ie;
|
|
11544
|
+
})).then((ne) => (w && C(), ne)).catch((ne) => (o.maybeReportError(ne), Promise.reject(ne))), V);
|
|
11541
11545
|
}, getContext: function() {
|
|
11542
11546
|
return G.getContext();
|
|
11543
|
-
}, variation: function(T,
|
|
11544
|
-
return W(T,
|
|
11545
|
-
}, variationDetail: function(T,
|
|
11546
|
-
return W(T,
|
|
11547
|
-
}, track: function(T,
|
|
11547
|
+
}, variation: function(T, L) {
|
|
11548
|
+
return W(T, L, !0, !1, !1, !0).value;
|
|
11549
|
+
}, variationDetail: function(T, L) {
|
|
11550
|
+
return W(T, L, !0, !0, !1, !0);
|
|
11551
|
+
}, track: function(T, L, V) {
|
|
11548
11552
|
if (typeof T != "string") return void o.maybeReportError(new wt.LDInvalidEventKeyError(Ue.unknownCustomEventKey(T)));
|
|
11549
11553
|
V !== void 0 && typeof V != "number" && s.warn(Ue.invalidMetricValue(typeof V)), n.customEventFilter && !n.customEventFilter(T) && s.warn(Ue.unknownCustomEventKey(T));
|
|
11550
11554
|
const oe = G.getContext(), ne = { kind: "custom", key: T, context: oe, url: n.getCurrentUrl(), creationDate: (/* @__PURE__ */ new Date()).getTime() };
|
|
11551
|
-
oe && oe.anonymous && (ne.contextKind = oe.anonymous ? "anonymousUser" : "user"),
|
|
11552
|
-
}, on: function(T,
|
|
11553
|
-
Re(T) ? (_ = !0, K && _e(), o.on(T,
|
|
11555
|
+
oe && oe.anonymous && (ne.contextKind = oe.anonymous ? "anonymousUser" : "user"), L != null && (ne.data = L), V != null && (ne.metricValue = V), X(ne);
|
|
11556
|
+
}, on: function(T, L, V) {
|
|
11557
|
+
Re(T) ? (_ = !0, K && _e(), o.on(T, L, V)) : o.on(...arguments);
|
|
11554
11558
|
}, off: function(T) {
|
|
11555
11559
|
if (o.off(...arguments), Re(T)) {
|
|
11556
|
-
let
|
|
11560
|
+
let L = !1;
|
|
11557
11561
|
o.getEvents().forEach((V) => {
|
|
11558
|
-
Re(V) && o.getEventListenerCount(V) > 0 && (
|
|
11559
|
-
}),
|
|
11562
|
+
Re(V) && o.getEventListenerCount(V) > 0 && (L = !0);
|
|
11563
|
+
}), L || (_ = !1, w && j === void 0 && be());
|
|
11560
11564
|
}
|
|
11561
11565
|
}, setStreaming: function(T) {
|
|
11562
|
-
const
|
|
11563
|
-
|
|
11566
|
+
const L = T === null ? void 0 : T;
|
|
11567
|
+
L !== j && (j = L, _e());
|
|
11564
11568
|
}, flush: function(T) {
|
|
11565
11569
|
return He.wrapPromiseCallback(d ? I.flush() : Promise.resolve(), T);
|
|
11566
11570
|
}, allFlags: function() {
|
|
11567
11571
|
const T = {};
|
|
11568
11572
|
if (!P) return T;
|
|
11569
|
-
for (const
|
|
11573
|
+
for (const L in P) He.objectHasOwnProperty(P, L) && !P[L].deleted && (T[L] = W(L, null, !l.sendEventsOnlyForVariation, !1, !0, !1).value);
|
|
11570
11574
|
return T;
|
|
11571
11575
|
}, close: function(T) {
|
|
11572
11576
|
if (ee) return He.wrapPromiseCallback(Promise.resolve(), T);
|
|
11573
|
-
const
|
|
11577
|
+
const L = () => {
|
|
11574
11578
|
ee = !0, P = {};
|
|
11575
11579
|
}, V = Promise.resolve().then(() => {
|
|
11576
11580
|
if (be(), S && S.stop(), d) return I.stop(), I.flush();
|
|
11577
|
-
}).then(
|
|
11581
|
+
}).then(L).catch(L);
|
|
11578
11582
|
return He.wrapPromiseCallback(V, T);
|
|
11579
11583
|
} }, options: l, emitter: o, ident: G, logger: s, requestor: E, start: function() {
|
|
11580
11584
|
d && (S && S.start(), I.start());
|
|
@@ -12957,7 +12961,7 @@ function ML(e) {
|
|
|
12957
12961
|
function xL(e, t) {
|
|
12958
12962
|
return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
|
|
12959
12963
|
}
|
|
12960
|
-
var EL = typeof Object.is == "function" ? Object.is : xL, mn = null, Ff = null, Ei = null,
|
|
12964
|
+
var EL = typeof Object.is == "function" ? Object.is : xL, mn = null, Ff = null, Ei = null, ht = null, Ts = !1, rl = !1, Xs = 0, On = null, pc = 0;
|
|
12961
12965
|
function Xn() {
|
|
12962
12966
|
if (mn === null) throw Error(ze(321));
|
|
12963
12967
|
return mn;
|
|
@@ -12967,31 +12971,31 @@ function dg() {
|
|
|
12967
12971
|
return { memoizedState: null, queue: null, next: null };
|
|
12968
12972
|
}
|
|
12969
12973
|
function $f() {
|
|
12970
|
-
return
|
|
12974
|
+
return ht === null ? Ei === null ? (Ts = !1, Ei = ht = dg()) : (Ts = !0, ht = Ei) : ht.next === null ? (Ts = !1, ht = ht.next = dg()) : (Ts = !0, ht = ht.next), ht;
|
|
12971
12975
|
}
|
|
12972
12976
|
function Bf() {
|
|
12973
|
-
Ff = mn = null, rl = !1, Ei = null, pc = 0,
|
|
12977
|
+
Ff = mn = null, rl = !1, Ei = null, pc = 0, ht = On = null;
|
|
12974
12978
|
}
|
|
12975
12979
|
function GI(e, t) {
|
|
12976
12980
|
return typeof t == "function" ? t(e) : t;
|
|
12977
12981
|
}
|
|
12978
12982
|
function fg(e, t, r) {
|
|
12979
|
-
if (mn = Xn(),
|
|
12980
|
-
var n =
|
|
12983
|
+
if (mn = Xn(), ht = $f(), Ts) {
|
|
12984
|
+
var n = ht.queue;
|
|
12981
12985
|
if (t = n.dispatch, On !== null && (r = On.get(n), r !== void 0)) {
|
|
12982
|
-
On.delete(n), n =
|
|
12986
|
+
On.delete(n), n = ht.memoizedState;
|
|
12983
12987
|
do
|
|
12984
12988
|
n = e(n, r.action), r = r.next;
|
|
12985
12989
|
while (r !== null);
|
|
12986
|
-
return
|
|
12990
|
+
return ht.memoizedState = n, [n, t];
|
|
12987
12991
|
}
|
|
12988
|
-
return [
|
|
12992
|
+
return [ht.memoizedState, t];
|
|
12989
12993
|
}
|
|
12990
|
-
return e = e === GI ? typeof t == "function" ? t() : t : r !== void 0 ? r(t) : t,
|
|
12994
|
+
return e = e === GI ? typeof t == "function" ? t() : t : r !== void 0 ? r(t) : t, ht.memoizedState = e, e = ht.queue = { last: null, dispatch: null }, e = e.dispatch = wL.bind(null, mn, e), [ht.memoizedState, e];
|
|
12991
12995
|
}
|
|
12992
12996
|
function pg(e, t) {
|
|
12993
|
-
if (mn = Xn(),
|
|
12994
|
-
var r =
|
|
12997
|
+
if (mn = Xn(), ht = $f(), t = t === void 0 ? null : t, ht !== null) {
|
|
12998
|
+
var r = ht.memoizedState;
|
|
12995
12999
|
if (r !== null && t !== null) {
|
|
12996
13000
|
var n = r[1];
|
|
12997
13001
|
e: if (n === null) n = !1;
|
|
@@ -13005,7 +13009,7 @@ function pg(e, t) {
|
|
|
13005
13009
|
if (n) return r[0];
|
|
13006
13010
|
}
|
|
13007
13011
|
}
|
|
13008
|
-
return e = e(),
|
|
13012
|
+
return e = e(), ht.memoizedState = [e, t], e;
|
|
13009
13013
|
}
|
|
13010
13014
|
function wL(e, t, r) {
|
|
13011
13015
|
if (25 <= pc) throw Error(ze(301));
|
|
@@ -13025,9 +13029,9 @@ var hg = { readContext: function(e) {
|
|
|
13025
13029
|
}, useContext: function(e) {
|
|
13026
13030
|
return Xn(), e._currentValue2;
|
|
13027
13031
|
}, useMemo: pg, useReducer: fg, useRef: function(e) {
|
|
13028
|
-
mn = Xn(),
|
|
13029
|
-
var t =
|
|
13030
|
-
return t === null ? (e = { current: e },
|
|
13032
|
+
mn = Xn(), ht = $f();
|
|
13033
|
+
var t = ht.memoizedState;
|
|
13034
|
+
return t === null ? (e = { current: e }, ht.memoizedState = e) : t;
|
|
13031
13035
|
}, useState: function(e) {
|
|
13032
13036
|
return fg(GI, e);
|
|
13033
13037
|
}, useInsertionEffect: Jo, useLayoutEffect: function() {
|
|
@@ -13083,7 +13087,7 @@ function al(e, t) {
|
|
|
13083
13087
|
r(t), r = e.onFatalError, r(t), e.destination !== null ? (e.status = 2, e.destination.destroy(t)) : (e.status = 1, e.fatalError = t);
|
|
13084
13088
|
}
|
|
13085
13089
|
function mg(e, t, r, n, a) {
|
|
13086
|
-
for (mn = {}, Ff = t, Xs = 0, e = r(n, a); rl; ) rl = !1, Xs = 0, pc += 1,
|
|
13090
|
+
for (mn = {}, Ff = t, Xs = 0, e = r(n, a); rl; ) rl = !1, Xs = 0, pc += 1, ht = null, e = r(n, a);
|
|
13087
13091
|
return Bf(), e;
|
|
13088
13092
|
}
|
|
13089
13093
|
function gg(e, t, r, n) {
|
|
@@ -13526,7 +13530,7 @@ function Ee(e, t) {
|
|
|
13526
13530
|
r < t.length && (r === 0 ? e.enqueue(pr) : (pr.set(t.subarray(0, r), hr), e.enqueue(pr), t = t.subarray(r)), pr = new Uint8Array(512), hr = 0), pr.set(t, hr), hr += t.length;
|
|
13527
13531
|
}
|
|
13528
13532
|
}
|
|
13529
|
-
function
|
|
13533
|
+
function vt(e, t) {
|
|
13530
13534
|
return Ee(e, t), !0;
|
|
13531
13535
|
}
|
|
13532
13536
|
function Sg(e) {
|
|
@@ -14053,29 +14057,29 @@ fe(' data-stck="');
|
|
|
14053
14057
|
var uk = fe("></template>");
|
|
14054
14058
|
function Ag(e, t, r) {
|
|
14055
14059
|
if (Ee(e, nk), r === null) throw Error(We(395));
|
|
14056
|
-
return Ee(e, r),
|
|
14060
|
+
return Ee(e, r), vt(e, ak);
|
|
14057
14061
|
}
|
|
14058
14062
|
var dk = fe('<div hidden id="'), fk = fe('">'), pk = fe("</div>"), hk = fe('<svg aria-hidden="true" style="display:none" id="'), mk = fe('">'), gk = fe("</svg>"), yk = fe('<math aria-hidden="true" style="display:none" id="'), vk = fe('">'), bk = fe("</math>"), Ik = fe('<table hidden id="'), Sk = fe('">'), Mk = fe("</table>"), xk = fe('<table hidden><tbody id="'), Ek = fe('">'), wk = fe("</tbody></table>"), Ck = fe('<table hidden><tr id="'), Tk = fe('">'), Pk = fe("</tr></table>"), Rk = fe('<table hidden><colgroup id="'), Nk = fe('">'), Ak = fe("</colgroup></table>");
|
|
14059
14063
|
function Ok(e, t, r, n) {
|
|
14060
14064
|
switch (r.insertionMode) {
|
|
14061
14065
|
case 0:
|
|
14062
14066
|
case 1:
|
|
14063
|
-
return Ee(e, dk), Ee(e, t.segmentPrefix), Ee(e, qe(n.toString(16))),
|
|
14067
|
+
return Ee(e, dk), Ee(e, t.segmentPrefix), Ee(e, qe(n.toString(16))), vt(e, fk);
|
|
14064
14068
|
case 2:
|
|
14065
|
-
return Ee(e, hk), Ee(e, t.segmentPrefix), Ee(e, qe(n.toString(16))),
|
|
14069
|
+
return Ee(e, hk), Ee(e, t.segmentPrefix), Ee(e, qe(n.toString(16))), vt(e, mk);
|
|
14066
14070
|
case 3:
|
|
14067
|
-
return Ee(e, yk), Ee(e, t.segmentPrefix), Ee(e, qe(n.toString(16))),
|
|
14071
|
+
return Ee(e, yk), Ee(e, t.segmentPrefix), Ee(e, qe(n.toString(16))), vt(e, vk);
|
|
14068
14072
|
case 4:
|
|
14069
|
-
return Ee(e, Ik), Ee(e, t.segmentPrefix), Ee(e, qe(n.toString(16))),
|
|
14073
|
+
return Ee(e, Ik), Ee(e, t.segmentPrefix), Ee(e, qe(n.toString(16))), vt(e, Sk);
|
|
14070
14074
|
case 5:
|
|
14071
|
-
return Ee(e, xk), Ee(e, t.segmentPrefix), Ee(e, qe(n.toString(16))),
|
|
14075
|
+
return Ee(e, xk), Ee(e, t.segmentPrefix), Ee(e, qe(n.toString(16))), vt(e, Ek);
|
|
14072
14076
|
case 6:
|
|
14073
|
-
return Ee(e, Ck), Ee(e, t.segmentPrefix), Ee(e, qe(n.toString(16))),
|
|
14077
|
+
return Ee(e, Ck), Ee(e, t.segmentPrefix), Ee(e, qe(n.toString(16))), vt(e, Tk);
|
|
14074
14078
|
case 7:
|
|
14075
14079
|
return Ee(
|
|
14076
14080
|
e,
|
|
14077
14081
|
Rk
|
|
14078
|
-
), Ee(e, t.segmentPrefix), Ee(e, qe(n.toString(16))),
|
|
14082
|
+
), Ee(e, t.segmentPrefix), Ee(e, qe(n.toString(16))), vt(e, Nk);
|
|
14079
14083
|
default:
|
|
14080
14084
|
throw Error(We(397));
|
|
14081
14085
|
}
|
|
@@ -14084,19 +14088,19 @@ function Lk(e, t) {
|
|
|
14084
14088
|
switch (t.insertionMode) {
|
|
14085
14089
|
case 0:
|
|
14086
14090
|
case 1:
|
|
14087
|
-
return
|
|
14091
|
+
return vt(e, pk);
|
|
14088
14092
|
case 2:
|
|
14089
|
-
return
|
|
14093
|
+
return vt(e, gk);
|
|
14090
14094
|
case 3:
|
|
14091
|
-
return
|
|
14095
|
+
return vt(e, bk);
|
|
14092
14096
|
case 4:
|
|
14093
|
-
return
|
|
14097
|
+
return vt(e, Mk);
|
|
14094
14098
|
case 5:
|
|
14095
|
-
return
|
|
14099
|
+
return vt(e, wk);
|
|
14096
14100
|
case 6:
|
|
14097
|
-
return
|
|
14101
|
+
return vt(e, Pk);
|
|
14098
14102
|
case 7:
|
|
14099
|
-
return
|
|
14103
|
+
return vt(e, Ak);
|
|
14100
14104
|
default:
|
|
14101
14105
|
throw Error(We(397));
|
|
14102
14106
|
}
|
|
@@ -14239,7 +14243,7 @@ function tD(e) {
|
|
|
14239
14243
|
function rD(e, t) {
|
|
14240
14244
|
return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
|
|
14241
14245
|
}
|
|
14242
|
-
var nD = typeof Object.is == "function" ? Object.is : rD, gn = null, Yf = null, Ri = null,
|
|
14246
|
+
var nD = typeof Object.is == "function" ? Object.is : rD, gn = null, Yf = null, Ri = null, mt = null, Rs = !1, il = !1, eo = 0, Ln = null, gc = 0;
|
|
14243
14247
|
function ea() {
|
|
14244
14248
|
if (gn === null) throw Error(We(321));
|
|
14245
14249
|
return gn;
|
|
@@ -14249,31 +14253,31 @@ function _g() {
|
|
|
14249
14253
|
return { memoizedState: null, queue: null, next: null };
|
|
14250
14254
|
}
|
|
14251
14255
|
function Zf() {
|
|
14252
|
-
return
|
|
14256
|
+
return mt === null ? Ri === null ? (Rs = !1, Ri = mt = _g()) : (Rs = !0, mt = Ri) : mt.next === null ? (Rs = !1, mt = mt.next = _g()) : (Rs = !0, mt = mt.next), mt;
|
|
14253
14257
|
}
|
|
14254
14258
|
function Jf() {
|
|
14255
|
-
Yf = gn = null, il = !1, Ri = null, gc = 0,
|
|
14259
|
+
Yf = gn = null, il = !1, Ri = null, gc = 0, mt = Ln = null;
|
|
14256
14260
|
}
|
|
14257
14261
|
function yS(e, t) {
|
|
14258
14262
|
return typeof t == "function" ? t(e) : t;
|
|
14259
14263
|
}
|
|
14260
14264
|
function Ug(e, t, r) {
|
|
14261
|
-
if (gn = ea(),
|
|
14262
|
-
var n =
|
|
14265
|
+
if (gn = ea(), mt = Zf(), Rs) {
|
|
14266
|
+
var n = mt.queue;
|
|
14263
14267
|
if (t = n.dispatch, Ln !== null && (r = Ln.get(n), r !== void 0)) {
|
|
14264
|
-
Ln.delete(n), n =
|
|
14268
|
+
Ln.delete(n), n = mt.memoizedState;
|
|
14265
14269
|
do
|
|
14266
14270
|
n = e(n, r.action), r = r.next;
|
|
14267
14271
|
while (r !== null);
|
|
14268
|
-
return
|
|
14272
|
+
return mt.memoizedState = n, [n, t];
|
|
14269
14273
|
}
|
|
14270
|
-
return [
|
|
14274
|
+
return [mt.memoizedState, t];
|
|
14271
14275
|
}
|
|
14272
|
-
return e = e === yS ? typeof t == "function" ? t() : t : r !== void 0 ? r(t) : t,
|
|
14276
|
+
return e = e === yS ? typeof t == "function" ? t() : t : r !== void 0 ? r(t) : t, mt.memoizedState = e, e = mt.queue = { last: null, dispatch: null }, e = e.dispatch = aD.bind(null, gn, e), [mt.memoizedState, e];
|
|
14273
14277
|
}
|
|
14274
14278
|
function jg(e, t) {
|
|
14275
|
-
if (gn = ea(),
|
|
14276
|
-
var r =
|
|
14279
|
+
if (gn = ea(), mt = Zf(), t = t === void 0 ? null : t, mt !== null) {
|
|
14280
|
+
var r = mt.memoizedState;
|
|
14277
14281
|
if (r !== null && t !== null) {
|
|
14278
14282
|
var n = r[1];
|
|
14279
14283
|
e: if (n === null) n = !1;
|
|
@@ -14287,7 +14291,7 @@ function jg(e, t) {
|
|
|
14287
14291
|
if (n) return r[0];
|
|
14288
14292
|
}
|
|
14289
14293
|
}
|
|
14290
|
-
return e = e(),
|
|
14294
|
+
return e = e(), mt.memoizedState = [e, t], e;
|
|
14291
14295
|
}
|
|
14292
14296
|
function aD(e, t, r) {
|
|
14293
14297
|
if (25 <= gc) throw Error(We(301));
|
|
@@ -14307,9 +14311,9 @@ var Fg = { readContext: function(e) {
|
|
|
14307
14311
|
}, useContext: function(e) {
|
|
14308
14312
|
return ea(), e._currentValue;
|
|
14309
14313
|
}, useMemo: jg, useReducer: Ug, useRef: function(e) {
|
|
14310
|
-
gn = ea(),
|
|
14311
|
-
var t =
|
|
14312
|
-
return t === null ? (e = { current: e },
|
|
14314
|
+
gn = ea(), mt = Zf();
|
|
14315
|
+
var t = mt.memoizedState;
|
|
14316
|
+
return t === null ? (e = { current: e }, mt.memoizedState = e) : t;
|
|
14313
14317
|
}, useState: function(e) {
|
|
14314
14318
|
return Ug(yS, e);
|
|
14315
14319
|
}, useInsertionEffect: Qo, useLayoutEffect: function() {
|
|
@@ -14362,7 +14366,7 @@ function cl(e, t) {
|
|
|
14362
14366
|
r(t), r = e.onFatalError, r(t), e.destination !== null ? (e.status = 2, QI(e.destination, t)) : (e.status = 1, e.fatalError = t);
|
|
14363
14367
|
}
|
|
14364
14368
|
function $g(e, t, r, n, a) {
|
|
14365
|
-
for (gn = {}, Yf = t, eo = 0, e = r(n, a); il; ) il = !1, eo = 0, gc += 1,
|
|
14369
|
+
for (gn = {}, Yf = t, eo = 0, e = r(n, a); il; ) il = !1, eo = 0, gc += 1, mt = null, e = r(n, a);
|
|
14366
14370
|
return Jf(), e;
|
|
14367
14371
|
}
|
|
14368
14372
|
function Bg(e, t, r, n) {
|
|
@@ -14616,7 +14620,7 @@ function ei(e, t, r) {
|
|
|
14616
14620
|
switch (r.parentFlushed = !0, r.status) {
|
|
14617
14621
|
case 0:
|
|
14618
14622
|
var n = r.id = e.nextSegmentId++;
|
|
14619
|
-
return r.lastPushedText = !1, r.textEmbedded = !1, e = e.responseState, Ee(t, ek), Ee(t, e.placeholderPrefix), e = qe(n.toString(16)), Ee(t, e),
|
|
14623
|
+
return r.lastPushedText = !1, r.textEmbedded = !1, e = e.responseState, Ee(t, ek), Ee(t, e.placeholderPrefix), e = qe(n.toString(16)), Ee(t, e), vt(t, tk);
|
|
14620
14624
|
case 1:
|
|
14621
14625
|
r.status = 2;
|
|
14622
14626
|
var a = !0;
|
|
@@ -14628,7 +14632,7 @@ function ei(e, t, r) {
|
|
|
14628
14632
|
a = yc(e, t, a);
|
|
14629
14633
|
}
|
|
14630
14634
|
for (; s < n.length - 1; s++) Ee(t, n[s]);
|
|
14631
|
-
return s < n.length && (a =
|
|
14635
|
+
return s < n.length && (a = vt(t, n[s])), a;
|
|
14632
14636
|
default:
|
|
14633
14637
|
throw Error(We(390));
|
|
14634
14638
|
}
|
|
@@ -14636,17 +14640,17 @@ function ei(e, t, r) {
|
|
|
14636
14640
|
function yc(e, t, r) {
|
|
14637
14641
|
var n = r.boundary;
|
|
14638
14642
|
if (n === null) return ei(e, t, r);
|
|
14639
|
-
if (n.parentFlushed = !0, n.forceClientRender) n = n.errorDigest,
|
|
14643
|
+
if (n.parentFlushed = !0, n.forceClientRender) n = n.errorDigest, vt(t, sk), Ee(t, ik), n && (Ee(t, ck), Ee(t, qe(Ft(n))), Ee(t, lk)), vt(t, uk), ei(e, t, r);
|
|
14640
14644
|
else if (0 < n.pendingTasks) {
|
|
14641
14645
|
n.rootSegmentID = e.nextSegmentId++, 0 < n.completedSegments.length && e.partialBoundaries.push(n);
|
|
14642
14646
|
var a = e.responseState, s = a.nextSuspenseID++;
|
|
14643
14647
|
a = fe(a.boundaryPrefix + s.toString(16)), n = n.id = a, Ag(t, e.responseState, n), ei(e, t, r);
|
|
14644
14648
|
} else if (n.byteSize > e.progressiveChunkSize) n.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(n), Ag(t, e.responseState, n.id), ei(e, t, r);
|
|
14645
14649
|
else {
|
|
14646
|
-
if (
|
|
14650
|
+
if (vt(t, rk), r = n.completedSegments, r.length !== 1) throw Error(We(391));
|
|
14647
14651
|
yc(e, t, r[0]);
|
|
14648
14652
|
}
|
|
14649
|
-
return
|
|
14653
|
+
return vt(t, ok);
|
|
14650
14654
|
}
|
|
14651
14655
|
function zg(e, t, r) {
|
|
14652
14656
|
return Ok(t, e.responseState, r.formatContext, r.id), yc(e, t, r), Lk(t, r.formatContext);
|
|
@@ -14654,7 +14658,7 @@ function zg(e, t, r) {
|
|
|
14654
14658
|
function Gg(e, t, r) {
|
|
14655
14659
|
for (var n = r.completedSegments, a = 0; a < n.length; a++) SS(e, t, r, n[a]);
|
|
14656
14660
|
if (n.length = 0, e = e.responseState, n = r.id, r = r.rootSegmentID, Ee(t, e.startInlineScript), e.sentCompleteBoundaryFunction ? Ee(t, Fk) : (e.sentCompleteBoundaryFunction = !0, Ee(t, jk)), n === null) throw Error(We(395));
|
|
14657
|
-
return r = qe(r.toString(16)), Ee(t, n), Ee(t, $k), Ee(t, e.segmentPrefix), Ee(t, r),
|
|
14661
|
+
return r = qe(r.toString(16)), Ee(t, n), Ee(t, $k), Ee(t, e.segmentPrefix), Ee(t, r), vt(t, Bk);
|
|
14658
14662
|
}
|
|
14659
14663
|
function SS(e, t, r, n) {
|
|
14660
14664
|
if (n.status === 2) return !0;
|
|
@@ -14663,7 +14667,7 @@ function SS(e, t, r, n) {
|
|
|
14663
14667
|
if ((n.id = r.rootSegmentID) === -1) throw Error(We(392));
|
|
14664
14668
|
return zg(e, t, n);
|
|
14665
14669
|
}
|
|
14666
|
-
return zg(e, t, n), e = e.responseState, Ee(t, e.startInlineScript), e.sentCompleteSegmentFunction ? Ee(t, Dk) : (e.sentCompleteSegmentFunction = !0, Ee(t, kk)), Ee(t, e.segmentPrefix), a = qe(a.toString(16)), Ee(t, a), Ee(t, _k), Ee(t, e.placeholderPrefix), Ee(t, a),
|
|
14670
|
+
return zg(e, t, n), e = e.responseState, Ee(t, e.startInlineScript), e.sentCompleteSegmentFunction ? Ee(t, Dk) : (e.sentCompleteSegmentFunction = !0, Ee(t, kk)), Ee(t, e.segmentPrefix), a = qe(a.toString(16)), Ee(t, a), Ee(t, _k), Ee(t, e.placeholderPrefix), Ee(t, a), vt(t, Uk);
|
|
14667
14671
|
}
|
|
14668
14672
|
function Qf(e, t) {
|
|
14669
14673
|
pr = new Uint8Array(512), hr = 0;
|
|
@@ -14673,7 +14677,7 @@ function Qf(e, t) {
|
|
|
14673
14677
|
yc(e, t, r), e.completedRootSegment = null;
|
|
14674
14678
|
var n = e.responseState.bootstrapChunks;
|
|
14675
14679
|
for (r = 0; r < n.length - 1; r++) Ee(t, n[r]);
|
|
14676
|
-
r < n.length &&
|
|
14680
|
+
r < n.length && vt(t, n[r]);
|
|
14677
14681
|
}
|
|
14678
14682
|
var a = e.clientRenderedBoundaries, s;
|
|
14679
14683
|
for (s = 0; s < a.length; s++) {
|
|
@@ -14684,7 +14688,7 @@ function Qf(e, t) {
|
|
|
14684
14688
|
n,
|
|
14685
14689
|
Vk
|
|
14686
14690
|
)), l === null) throw Error(We(395));
|
|
14687
|
-
Ee(n, l), Ee(n, zk), (c || d || f) && (Ee(n, ju), Ee(n, qe(Fu(c || "")))), (d || f) && (Ee(n, ju), Ee(n, qe(Fu(d || "")))), f && (Ee(n, ju), Ee(n, qe(Fu(f)))),
|
|
14691
|
+
Ee(n, l), Ee(n, zk), (c || d || f) && (Ee(n, ju), Ee(n, qe(Fu(c || "")))), (d || f) && (Ee(n, ju), Ee(n, qe(Fu(d || "")))), f && (Ee(n, ju), Ee(n, qe(Fu(f)))), vt(n, Gk);
|
|
14688
14692
|
}
|
|
14689
14693
|
a.splice(0, s);
|
|
14690
14694
|
var p = e.completedBoundaries;
|
|
@@ -14862,7 +14866,7 @@ const Rd = (e) => (t) => {
|
|
|
14862
14866
|
/* @__PURE__ */ u.jsx("div", { className: "sid-l-space-top-xl" })
|
|
14863
14867
|
] });
|
|
14864
14868
|
}), fD = dD, xS = (e, t) => {
|
|
14865
|
-
const r = t.viewModel, n =
|
|
14869
|
+
const r = t.viewModel, n = lt(r, (a) => {
|
|
14866
14870
|
a.organization = e ? {
|
|
14867
14871
|
id: e.id,
|
|
14868
14872
|
idExtended: e.idExtended,
|
|
@@ -14872,7 +14876,7 @@ const Rd = (e) => (t) => {
|
|
|
14872
14876
|
});
|
|
14873
14877
|
t.updateViewModel(n);
|
|
14874
14878
|
}, fV = (e) => {
|
|
14875
|
-
const t = e.viewModel, r = Ml(), n =
|
|
14879
|
+
const t = e.viewModel, r = Ml(), n = lt(t, (a) => {
|
|
14876
14880
|
Object.keys(t).forEach((s) => {
|
|
14877
14881
|
r.has(s) && (a[s] = r.get(s));
|
|
14878
14882
|
});
|
|
@@ -14881,7 +14885,7 @@ const Rd = (e) => (t) => {
|
|
|
14881
14885
|
}, ep = (e, t) => {
|
|
14882
14886
|
t.updateFieldValidationErrors(e);
|
|
14883
14887
|
}, De = (e, t, r) => {
|
|
14884
|
-
const { fieldValidationErrors: n } = r, a =
|
|
14888
|
+
const { fieldValidationErrors: n } = r, a = lt(n, (s) => {
|
|
14885
14889
|
s[e] && (s[e] = sa(e, t, r.formValidationOptions));
|
|
14886
14890
|
});
|
|
14887
14891
|
ep(a, r);
|
|
@@ -15009,7 +15013,7 @@ const Rd = (e) => (t) => {
|
|
|
15009
15013
|
newRequiredFields: t,
|
|
15010
15014
|
conditionalRequiredFieldKeys: r
|
|
15011
15015
|
}
|
|
15012
|
-
), e), bV = (e, t) =>
|
|
15016
|
+
), e), bV = (e, t) => lt(e, (r) => {
|
|
15013
15017
|
U0.forEach((n) => {
|
|
15014
15018
|
t.some((a) => a.key === n) ? r[n] = e[n] !== void 0 ? e[n] : "" : delete r[n];
|
|
15015
15019
|
});
|
|
@@ -15019,7 +15023,7 @@ const Rd = (e) => (t) => {
|
|
|
15019
15023
|
id: `locales.${n}`,
|
|
15020
15024
|
defaultMessage: n
|
|
15021
15025
|
})
|
|
15022
|
-
})), IV = (e) => e.length > 0 ? e[0] : { value: "US", label: "United States" }, wD = (e, t, r) =>
|
|
15026
|
+
})), IV = (e) => e.length > 0 ? e[0] : { value: "US", label: "United States" }, wD = (e, t, r) => lt(e, (n) => {
|
|
15023
15027
|
n[t] = r;
|
|
15024
15028
|
}), SV = (e, t, r) => {
|
|
15025
15029
|
const n = "https://support-preview.sheerid.net";
|
|
@@ -15028,7 +15032,7 @@ const Rd = (e) => (t) => {
|
|
|
15028
15032
|
return (o.includes("preview") || o.includes("localhost")) && (s = n), `${s}/${e}/${t}/${r}/remember-me/`;
|
|
15029
15033
|
}, le = (e, t = Ie()) => t.formFieldConfig.find((n) => n.fieldId === e), bn = ({ children: e, align: t }) => {
|
|
15030
15034
|
const r = Mt(null);
|
|
15031
|
-
return
|
|
15035
|
+
return bt(() => {
|
|
15032
15036
|
r.current && r.current.focus();
|
|
15033
15037
|
}, [r.current]), /* @__PURE__ */ u.jsx(
|
|
15034
15038
|
"div",
|
|
@@ -15175,13 +15179,13 @@ const ES = ({
|
|
|
15175
15179
|
o
|
|
15176
15180
|
);
|
|
15177
15181
|
}, 1e3), g = (M, I) => {
|
|
15178
|
-
const E =
|
|
15179
|
-
|
|
15182
|
+
const E = lt(s, (O) => {
|
|
15183
|
+
O[M] = I;
|
|
15180
15184
|
});
|
|
15181
15185
|
e.updateViewModel(E);
|
|
15182
15186
|
}, v = () => {
|
|
15183
15187
|
ev();
|
|
15184
|
-
const M =
|
|
15188
|
+
const M = lt(s, () => {
|
|
15185
15189
|
});
|
|
15186
15190
|
N.info("SingleSignOnComponent submitting cancel request"), clearTimeout(p), e.submitStep(t, M, e.verificationResponse);
|
|
15187
15191
|
}, b = (M, I) => {
|
|
@@ -15422,12 +15426,12 @@ const ES = ({
|
|
|
15422
15426
|
!1
|
|
15423
15427
|
);
|
|
15424
15428
|
}, S), I = (_) => {
|
|
15425
|
-
const P =
|
|
15429
|
+
const P = lt(n, () => {
|
|
15426
15430
|
});
|
|
15427
15431
|
N.info("StepSingleSignOnComponent submitting cancel request, step:", _), M(), e.submitStep(_, P, s);
|
|
15428
15432
|
}, E = () => {
|
|
15429
15433
|
b(!1);
|
|
15430
|
-
},
|
|
15434
|
+
}, O = /* @__PURE__ */ u.jsx(
|
|
15431
15435
|
Fn,
|
|
15432
15436
|
{
|
|
15433
15437
|
verificationService: e,
|
|
@@ -15440,12 +15444,12 @@ const ES = ({
|
|
|
15440
15444
|
}
|
|
15441
15445
|
)
|
|
15442
15446
|
}
|
|
15443
|
-
),
|
|
15447
|
+
), w = () => {
|
|
15444
15448
|
const _ = h() || c, P = m() || d, j = g() || f;
|
|
15445
15449
|
return v ? /* @__PURE__ */ u.jsx(
|
|
15446
15450
|
fD,
|
|
15447
15451
|
{
|
|
15448
|
-
logo:
|
|
15452
|
+
logo: O,
|
|
15449
15453
|
onCountdownFinish: E,
|
|
15450
15454
|
countdownSeconds: i
|
|
15451
15455
|
}
|
|
@@ -15454,29 +15458,29 @@ const ES = ({
|
|
|
15454
15458
|
{
|
|
15455
15459
|
stepName: je.sso,
|
|
15456
15460
|
messages: rp,
|
|
15457
|
-
logo:
|
|
15461
|
+
logo: O,
|
|
15458
15462
|
cancelSingleSignOn: () => I(je.sso)
|
|
15459
15463
|
}
|
|
15460
15464
|
) : P ? /* @__PURE__ */ u.jsx(
|
|
15461
15465
|
kD,
|
|
15462
15466
|
{
|
|
15463
|
-
logo:
|
|
15467
|
+
logo: O,
|
|
15464
15468
|
cancelThirdPartyLoop: () => I(je.thirdPartyLoop),
|
|
15465
15469
|
verificationLastResponse: s,
|
|
15466
15470
|
isMockingPreviousStepThirdPartyLoop: d
|
|
15467
15471
|
}
|
|
15468
|
-
) : j ? /* @__PURE__ */ u.jsx(AD, { logo:
|
|
15472
|
+
) : j ? /* @__PURE__ */ u.jsx(AD, { logo: O }) : /* @__PURE__ */ u.jsx(
|
|
15469
15473
|
PD,
|
|
15470
15474
|
{
|
|
15471
15475
|
verificationService: e,
|
|
15472
|
-
logo:
|
|
15476
|
+
logo: O,
|
|
15473
15477
|
intl: t,
|
|
15474
15478
|
maxReviewTime: Eb(e.programTheme)
|
|
15475
15479
|
}
|
|
15476
15480
|
);
|
|
15477
15481
|
};
|
|
15478
15482
|
return /* @__PURE__ */ u.jsxs("div", { id: "sid-step-pending", className: "sid-l-container", children: [
|
|
15479
|
-
/* @__PURE__ */ u.jsx("div", { role: "main", children:
|
|
15483
|
+
/* @__PURE__ */ u.jsx("div", { role: "main", children: w() }),
|
|
15480
15484
|
v || g() || f ? /* @__PURE__ */ u.jsx(CI, { verificationService: e, isCentered: !0 }) : /* @__PURE__ */ u.jsxs(go, { verificationService: e, children: [
|
|
15481
15485
|
/* @__PURE__ */ u.jsx("div", {}),
|
|
15482
15486
|
" "
|
|
@@ -15698,25 +15702,25 @@ const ES = ({
|
|
|
15698
15702
|
}, Ad = Ge(KD), YD = {
|
|
15699
15703
|
StepPendingComponent: $D,
|
|
15700
15704
|
StepErrorComponent: Ad,
|
|
15701
|
-
StepStudentPersonalInfoComponent: se.lazy(() => import("./index-
|
|
15702
|
-
StepOverrideComponent: se.lazy(() => import("./index-
|
|
15703
|
-
StepAgePersonalInfoComponent: se.lazy(() => import("./index-
|
|
15704
|
-
StepSeniorPersonalInfoComponent: se.lazy(() => import("./index-
|
|
15705
|
+
StepStudentPersonalInfoComponent: se.lazy(() => import("./index-Cq-7XX97.js")),
|
|
15706
|
+
StepOverrideComponent: se.lazy(() => import("./index-CGJD2mMp.js")),
|
|
15707
|
+
StepAgePersonalInfoComponent: se.lazy(() => import("./index-CORBh-bi.js")),
|
|
15708
|
+
StepSeniorPersonalInfoComponent: se.lazy(() => import("./index-CORBh-bi.js")),
|
|
15705
15709
|
StepActiveMilitaryPersonalInfoComponent: se.lazy(
|
|
15706
15710
|
() => Promise.resolve().then(() => nB)
|
|
15707
15711
|
),
|
|
15708
15712
|
StepCollectMilitaryStatusComponent: se.lazy(
|
|
15709
|
-
() => import("./StepCollectMilitaryStatusComponent-
|
|
15713
|
+
() => import("./StepCollectMilitaryStatusComponent-BorX3LbP.js")
|
|
15710
15714
|
),
|
|
15711
15715
|
StepInactiveMilitaryPersonalInfoComponent: se.lazy(
|
|
15712
|
-
() => import("./StepInactiveMilitaryPersonalInfoComponent-
|
|
15716
|
+
() => import("./StepInactiveMilitaryPersonalInfoComponent-CJf_D07j.js")
|
|
15713
15717
|
),
|
|
15714
15718
|
StepDriverLicensePersonalInfoComponent: se.lazy(
|
|
15715
15719
|
() => Promise.resolve().then(() => uB)
|
|
15716
15720
|
),
|
|
15717
|
-
StepEmploymentPersonalInfoComponent: se.lazy(() => import("./index-
|
|
15721
|
+
StepEmploymentPersonalInfoComponent: se.lazy(() => import("./index-XQHRgfG6.js")),
|
|
15718
15722
|
StepFirstResponderPersonalInfoComponent: se.lazy(
|
|
15719
|
-
() => import("./index-
|
|
15723
|
+
() => import("./index-IoqBvIZn.js")
|
|
15720
15724
|
),
|
|
15721
15725
|
StepGeneralIdentityPersonalInfoComponent: se.lazy(
|
|
15722
15726
|
() => Promise.resolve().then(() => dB)
|
|
@@ -15724,29 +15728,29 @@ const ES = ({
|
|
|
15724
15728
|
StepHybridIdentityPersonalInfoComponent: se.lazy(
|
|
15725
15729
|
() => Promise.resolve().then(() => fB)
|
|
15726
15730
|
),
|
|
15727
|
-
StepIDCheckLoopComponent: se.lazy(() => import("./index-
|
|
15731
|
+
StepIDCheckLoopComponent: se.lazy(() => import("./index-BqLMAHdJ.js")),
|
|
15728
15732
|
StepLicensedProfessionalPersonalInfoComponent: se.lazy(
|
|
15729
|
-
() => import("./index-
|
|
15733
|
+
() => import("./index-NeLk9xhI.js")
|
|
15730
15734
|
),
|
|
15731
|
-
StepLowIncomePersonalInfoComponent: se.lazy(() => import("./index-
|
|
15735
|
+
StepLowIncomePersonalInfoComponent: se.lazy(() => import("./index-D0f5Z2qq.js")),
|
|
15732
15736
|
StepMedicalProfessionalPersonalInfoComponent: se.lazy(
|
|
15733
|
-
() => import("./index-
|
|
15737
|
+
() => import("./index-DveauDIF.js")
|
|
15734
15738
|
),
|
|
15735
|
-
StepMemberPersonalInfoComponent: se.lazy(() => import("./index-
|
|
15736
|
-
StepConsolationComponent: se.lazy(() => import("./index-
|
|
15737
|
-
StepDocUploadComponent: se.lazy(() => import("./index-
|
|
15738
|
-
StepEmailLoopComponent: se.lazy(() => import("./index-
|
|
15739
|
-
StepPendingEmailLoopComponent: se.lazy(() => import("./EmailLoopPending-
|
|
15740
|
-
StepMoverPersonalInfoComponent: se.lazy(() => import("./index-
|
|
15741
|
-
StepSMSLoopComponent: se.lazy(() => import("./index-
|
|
15742
|
-
StepSocialSecurity: se.lazy(() => import("./index-
|
|
15743
|
-
StepSSOComponent: se.lazy(() => import("./index-
|
|
15744
|
-
StepSuccessComponent: se.lazy(() => import("./index-
|
|
15745
|
-
StepTeacherPersonalInfoComponent: se.lazy(() => import("./index-
|
|
15746
|
-
StepCompleteAuthentication: se.lazy(() => import("./index-
|
|
15747
|
-
StepCollectIdentifierComponent: se.lazy(() => import("./index-
|
|
15748
|
-
StepCollectPersonalInfo: se.lazy(() => import("./index-
|
|
15749
|
-
StepThirdPartyLoopComponent: se.lazy(() => import("./index-
|
|
15739
|
+
StepMemberPersonalInfoComponent: se.lazy(() => import("./index-W2k8pRNk.js")),
|
|
15740
|
+
StepConsolationComponent: se.lazy(() => import("./index-CY_jDJYM.js")),
|
|
15741
|
+
StepDocUploadComponent: se.lazy(() => import("./index-Rd7uamWu.js")),
|
|
15742
|
+
StepEmailLoopComponent: se.lazy(() => import("./index-CZvk67eG.js")),
|
|
15743
|
+
StepPendingEmailLoopComponent: se.lazy(() => import("./EmailLoopPending-CvnWlrAn.js")),
|
|
15744
|
+
StepMoverPersonalInfoComponent: se.lazy(() => import("./index-JqxNmj7b.js")),
|
|
15745
|
+
StepSMSLoopComponent: se.lazy(() => import("./index-sn1sRCJB.js")),
|
|
15746
|
+
StepSocialSecurity: se.lazy(() => import("./index-DRjJklpr.js")),
|
|
15747
|
+
StepSSOComponent: se.lazy(() => import("./index-DCkG5biD.js")),
|
|
15748
|
+
StepSuccessComponent: se.lazy(() => import("./index-X8ngZ-j3.js")),
|
|
15749
|
+
StepTeacherPersonalInfoComponent: se.lazy(() => import("./index-zJn71LmN.js")),
|
|
15750
|
+
StepCompleteAuthentication: se.lazy(() => import("./index-BKkmy_ez.js")),
|
|
15751
|
+
StepCollectIdentifierComponent: se.lazy(() => import("./index-BPzpWznF.js")),
|
|
15752
|
+
StepCollectPersonalInfo: se.lazy(() => import("./index-D-JS2Vcp.js")),
|
|
15753
|
+
StepThirdPartyLoopComponent: se.lazy(() => import("./index-g25eykm6.js"))
|
|
15750
15754
|
}, Ze = (e) => {
|
|
15751
15755
|
N.info("getComponent", e);
|
|
15752
15756
|
const t = dN(e);
|
|
@@ -15754,7 +15758,7 @@ const ES = ({
|
|
|
15754
15758
|
}, ZD = () => /* @__PURE__ */ u.jsx(oc, {}), JD = ({ stepToLoad: e, verificationService: t }) => {
|
|
15755
15759
|
N.info(`LoadStepComponent: rendering step: ${e}`);
|
|
15756
15760
|
let r;
|
|
15757
|
-
switch (
|
|
15761
|
+
switch (bt(() => {
|
|
15758
15762
|
try {
|
|
15759
15763
|
performance.mark(Tr.INITIAL_STEP_LOAD);
|
|
15760
15764
|
} catch {
|
|
@@ -16236,15 +16240,15 @@ var E_ = "DismissableLayer", Od = "dismissableLayer.update", w_ = "dismissableLa
|
|
|
16236
16240
|
onInteractOutside: o,
|
|
16237
16241
|
onDismiss: i,
|
|
16238
16242
|
...l
|
|
16239
|
-
} = e, c = D.useContext(kS), [d, f] = D.useState(null), p = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, h] = D.useState({}), m = Gn(t, (
|
|
16240
|
-
const _ =
|
|
16241
|
-
!I || P || (a == null || a(
|
|
16242
|
-
}, p),
|
|
16243
|
-
const _ =
|
|
16244
|
-
[...c.branches].some((j) => j.contains(_)) || (s == null || s(
|
|
16243
|
+
} = e, c = D.useContext(kS), [d, f] = D.useState(null), p = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, h] = D.useState({}), m = Gn(t, (w) => f(w)), g = Array.from(c.layers), [v] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), b = g.indexOf(v), S = d ? g.indexOf(d) : -1, M = c.layersWithOutsidePointerEventsDisabled.size > 0, I = S >= b, E = R_((w) => {
|
|
16244
|
+
const _ = w.target, P = [...c.branches].some((j) => j.contains(_));
|
|
16245
|
+
!I || P || (a == null || a(w), o == null || o(w), w.defaultPrevented || i == null || i());
|
|
16246
|
+
}, p), O = N_((w) => {
|
|
16247
|
+
const _ = w.target;
|
|
16248
|
+
[...c.branches].some((j) => j.contains(_)) || (s == null || s(w), o == null || o(w), w.defaultPrevented || i == null || i());
|
|
16245
16249
|
}, p);
|
|
16246
|
-
return x_((
|
|
16247
|
-
S === c.layers.size - 1 && (n == null || n(
|
|
16250
|
+
return x_((w) => {
|
|
16251
|
+
S === c.layers.size - 1 && (n == null || n(w), !w.defaultPrevented && i && (w.preventDefault(), i()));
|
|
16248
16252
|
}, p), D.useEffect(() => {
|
|
16249
16253
|
if (d)
|
|
16250
16254
|
return r && (c.layersWithOutsidePointerEventsDisabled.size === 0 && (Yg = p.body.style.pointerEvents, p.body.style.pointerEvents = "none"), c.layersWithOutsidePointerEventsDisabled.add(d)), c.layers.add(d), Zg(), () => {
|
|
@@ -16253,8 +16257,8 @@ var E_ = "DismissableLayer", Od = "dismissableLayer.update", w_ = "dismissableLa
|
|
|
16253
16257
|
}, [d, p, r, c]), D.useEffect(() => () => {
|
|
16254
16258
|
d && (c.layers.delete(d), c.layersWithOutsidePointerEventsDisabled.delete(d), Zg());
|
|
16255
16259
|
}, [d, c]), D.useEffect(() => {
|
|
16256
|
-
const
|
|
16257
|
-
return document.addEventListener(Od,
|
|
16260
|
+
const w = () => h({});
|
|
16261
|
+
return document.addEventListener(Od, w), () => document.removeEventListener(Od, w);
|
|
16258
16262
|
}, []), /* @__PURE__ */ u.jsx(
|
|
16259
16263
|
Wn.div,
|
|
16260
16264
|
{
|
|
@@ -16264,8 +16268,8 @@ var E_ = "DismissableLayer", Od = "dismissableLayer.update", w_ = "dismissableLa
|
|
|
16264
16268
|
pointerEvents: M ? I ? "auto" : "none" : void 0,
|
|
16265
16269
|
...e.style
|
|
16266
16270
|
},
|
|
16267
|
-
onFocusCapture: kn(e.onFocusCapture,
|
|
16268
|
-
onBlurCapture: kn(e.onBlurCapture,
|
|
16271
|
+
onFocusCapture: kn(e.onFocusCapture, O.onFocusCapture),
|
|
16272
|
+
onBlurCapture: kn(e.onBlurCapture, O.onBlurCapture),
|
|
16269
16273
|
onPointerDownCapture: kn(
|
|
16270
16274
|
e.onPointerDownCapture,
|
|
16271
16275
|
E.onPointerDownCapture
|
|
@@ -16769,10 +16773,10 @@ const J_ = (e) => ({
|
|
|
16769
16773
|
const f = FS(d), p = {
|
|
16770
16774
|
x: r,
|
|
16771
16775
|
y: n
|
|
16772
|
-
}, h = op(a), m = sp(h), g = await o.getDimensions(c), v = h === "y", b = v ? "top" : "left", S = v ? "bottom" : "right", M = v ? "clientHeight" : "clientWidth", I = s.reference[m] + s.reference[h] - p[h] - s.floating[m], E = p[h] - s.reference[h],
|
|
16773
|
-
let
|
|
16774
|
-
(!
|
|
16775
|
-
const _ = I / 2 - E / 2, P =
|
|
16776
|
+
}, h = op(a), m = sp(h), g = await o.getDimensions(c), v = h === "y", b = v ? "top" : "left", S = v ? "bottom" : "right", M = v ? "clientHeight" : "clientWidth", I = s.reference[m] + s.reference[h] - p[h] - s.floating[m], E = p[h] - s.reference[h], O = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
|
|
16777
|
+
let w = O ? O[M] : 0;
|
|
16778
|
+
(!w || !await (o.isElement == null ? void 0 : o.isElement(O))) && (w = i.floating[M] || s.floating[m]);
|
|
16779
|
+
const _ = I / 2 - E / 2, P = w / 2 - g[m] / 2 - 1, j = Bn(f[b], P), K = Bn(f[S], P), ee = j, Q = w - g[m] - K, U = w / 2 - g[m] / 2 + _, G = Ld(ee, U, Q), H = !l.arrow && cs(a) != null && U !== G && s.reference[m] / 2 - (U < ee ? j : K) - g[m] / 2 < 0, q = H ? U < ee ? U - ee : U - Q : 0;
|
|
16776
16780
|
return {
|
|
16777
16781
|
[h]: p[h] + q,
|
|
16778
16782
|
data: {
|
|
@@ -16809,9 +16813,9 @@ const J_ = (e) => ({
|
|
|
16809
16813
|
} = yn(e, t);
|
|
16810
16814
|
if ((r = s.arrow) != null && r.alignmentOffset)
|
|
16811
16815
|
return {};
|
|
16812
|
-
const b = vn(a), S = Vn(i), M = vn(i) === i, I = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), E = p || (M || !g ? [fl(i)] : W_(i)),
|
|
16813
|
-
!p &&
|
|
16814
|
-
const
|
|
16816
|
+
const b = vn(a), S = Vn(i), M = vn(i) === i, I = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), E = p || (M || !g ? [fl(i)] : W_(i)), O = m !== "none";
|
|
16817
|
+
!p && O && E.push(...K_(i, g, m, I));
|
|
16818
|
+
const w = [i, ...E], _ = await no(t, v), P = [];
|
|
16815
16819
|
let j = ((n = s.flip) == null ? void 0 : n.overflows) || [];
|
|
16816
16820
|
if (d && P.push(_[b]), f) {
|
|
16817
16821
|
const U = G_(a, o, I);
|
|
@@ -16822,7 +16826,7 @@ const J_ = (e) => ({
|
|
|
16822
16826
|
overflows: P
|
|
16823
16827
|
}], !P.every((U) => U <= 0)) {
|
|
16824
16828
|
var K, ee;
|
|
16825
|
-
const U = (((K = s.flip) == null ? void 0 : K.index) || 0) + 1, G =
|
|
16829
|
+
const U = (((K = s.flip) == null ? void 0 : K.index) || 0) + 1, G = w[U];
|
|
16826
16830
|
if (G)
|
|
16827
16831
|
return {
|
|
16828
16832
|
data: {
|
|
@@ -16839,7 +16843,7 @@ const J_ = (e) => ({
|
|
|
16839
16843
|
case "bestFit": {
|
|
16840
16844
|
var Q;
|
|
16841
16845
|
const q = (Q = j.filter((X) => {
|
|
16842
|
-
if (
|
|
16846
|
+
if (O) {
|
|
16843
16847
|
const we = Vn(X.placement);
|
|
16844
16848
|
return we === S || // Create a bias to the `y` side axis due to horizontal
|
|
16845
16849
|
// reading directions favoring greater width.
|
|
@@ -17056,8 +17060,8 @@ const tU = function(e) {
|
|
|
17056
17060
|
}
|
|
17057
17061
|
if (c) {
|
|
17058
17062
|
var b, S;
|
|
17059
|
-
const M = p === "y" ? "width" : "height", I = ["top", "left"].includes(vn(a)), E = s.reference[f] - s.floating[M] + (I && ((b = o.offset) == null ? void 0 : b[f]) || 0) + (I ? 0 : v.crossAxis),
|
|
17060
|
-
m < E ? m = E : m >
|
|
17063
|
+
const M = p === "y" ? "width" : "height", I = ["top", "left"].includes(vn(a)), E = s.reference[f] - s.floating[M] + (I && ((b = o.offset) == null ? void 0 : b[f]) || 0) + (I ? 0 : v.crossAxis), O = s.reference[f] + s.reference[M] + (I ? 0 : ((S = o.offset) == null ? void 0 : S[f]) || 0) - (I ? v.crossAxis : 0);
|
|
17064
|
+
m < E ? m = E : m > O && (m = O);
|
|
17061
17065
|
}
|
|
17062
17066
|
return {
|
|
17063
17067
|
[p]: h,
|
|
@@ -17086,16 +17090,16 @@ const tU = function(e) {
|
|
|
17086
17090
|
} = s.floating;
|
|
17087
17091
|
let v, b;
|
|
17088
17092
|
f === "top" || f === "bottom" ? (v = f, b = p === (await (o.isRTL == null ? void 0 : o.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (b = f, v = p === "end" ? "top" : "bottom");
|
|
17089
|
-
const S = g - d.top - d.bottom, M = m - d.left - d.right, I = Bn(g - d[v], S), E = Bn(m - d[b], M),
|
|
17090
|
-
let
|
|
17091
|
-
if ((r = t.middlewareData.shift) != null && r.enabled.x && (_ = M), (n = t.middlewareData.shift) != null && n.enabled.y && (
|
|
17093
|
+
const S = g - d.top - d.bottom, M = m - d.left - d.right, I = Bn(g - d[v], S), E = Bn(m - d[b], M), O = !t.middlewareData.shift;
|
|
17094
|
+
let w = I, _ = E;
|
|
17095
|
+
if ((r = t.middlewareData.shift) != null && r.enabled.x && (_ = M), (n = t.middlewareData.shift) != null && n.enabled.y && (w = S), O && !p) {
|
|
17092
17096
|
const j = gr(d.left, 0), K = gr(d.right, 0), ee = gr(d.top, 0), Q = gr(d.bottom, 0);
|
|
17093
|
-
h ? _ = m - 2 * (j !== 0 || K !== 0 ? j + K : gr(d.left, d.right)) :
|
|
17097
|
+
h ? _ = m - 2 * (j !== 0 || K !== 0 ? j + K : gr(d.left, d.right)) : w = g - 2 * (ee !== 0 || Q !== 0 ? ee + Q : gr(d.top, d.bottom));
|
|
17094
17098
|
}
|
|
17095
17099
|
await l({
|
|
17096
17100
|
...t,
|
|
17097
17101
|
availableWidth: _,
|
|
17098
|
-
availableHeight:
|
|
17102
|
+
availableHeight: w
|
|
17099
17103
|
});
|
|
17100
17104
|
const P = await o.getDimensions(i.floating);
|
|
17101
17105
|
return m !== P.width || g !== P.height ? {
|
|
@@ -17521,16 +17525,16 @@ function SU(e, t) {
|
|
|
17521
17525
|
threshold: gr(0, Bn(1, l)) || 1
|
|
17522
17526
|
};
|
|
17523
17527
|
let I = !0;
|
|
17524
|
-
function E(
|
|
17525
|
-
const
|
|
17526
|
-
if (
|
|
17528
|
+
function E(O) {
|
|
17529
|
+
const w = O[0].intersectionRatio;
|
|
17530
|
+
if (w !== l) {
|
|
17527
17531
|
if (!I)
|
|
17528
17532
|
return o();
|
|
17529
|
-
|
|
17533
|
+
w ? o(!1, w) : n = setTimeout(() => {
|
|
17530
17534
|
o(!1, 1e-7);
|
|
17531
17535
|
}, 1e3);
|
|
17532
17536
|
}
|
|
17533
|
-
|
|
17537
|
+
w === 1 && !qS(c, e.getBoundingClientRect()) && o(), I = !1;
|
|
17534
17538
|
}
|
|
17535
17539
|
try {
|
|
17536
17540
|
r = new IntersectionObserver(E, {
|
|
@@ -17594,7 +17598,7 @@ const xU = tU, EU = rU, wU = X_, CU = aU, TU = Q_, ly = J_, PU = nU, RU = (e, t,
|
|
|
17594
17598
|
platform: s
|
|
17595
17599
|
});
|
|
17596
17600
|
};
|
|
17597
|
-
var Ai = typeof document < "u" ? $y :
|
|
17601
|
+
var Ai = typeof document < "u" ? $y : bt;
|
|
17598
17602
|
function hl(e, t) {
|
|
17599
17603
|
if (e === t)
|
|
17600
17604
|
return !0;
|
|
@@ -17662,18 +17666,18 @@ function NU(e) {
|
|
|
17662
17666
|
}), [p, h] = D.useState(n);
|
|
17663
17667
|
hl(p, n) || h(n);
|
|
17664
17668
|
const [m, g] = D.useState(null), [v, b] = D.useState(null), S = D.useCallback((X) => {
|
|
17665
|
-
X !==
|
|
17669
|
+
X !== O.current && (O.current = X, g(X));
|
|
17666
17670
|
}, []), M = D.useCallback((X) => {
|
|
17667
|
-
X !==
|
|
17668
|
-
}, []), I = s || m, E = o || v,
|
|
17669
|
-
if (!
|
|
17671
|
+
X !== w.current && (w.current = X, b(X));
|
|
17672
|
+
}, []), I = s || m, E = o || v, O = D.useRef(null), w = D.useRef(null), _ = D.useRef(d), P = l != null, j = Wu(l), K = Wu(a), ee = Wu(c), Q = D.useCallback(() => {
|
|
17673
|
+
if (!O.current || !w.current)
|
|
17670
17674
|
return;
|
|
17671
17675
|
const X = {
|
|
17672
17676
|
placement: t,
|
|
17673
17677
|
strategy: r,
|
|
17674
17678
|
middleware: p
|
|
17675
17679
|
};
|
|
17676
|
-
K.current && (X.platform = K.current), RU(
|
|
17680
|
+
K.current && (X.platform = K.current), RU(O.current, w.current, X).then((we) => {
|
|
17677
17681
|
const re = {
|
|
17678
17682
|
...we,
|
|
17679
17683
|
// The floating element's position may be recomputed while it's closed
|
|
@@ -17697,15 +17701,15 @@ function NU(e) {
|
|
|
17697
17701
|
Ai(() => (U.current = !0, () => {
|
|
17698
17702
|
U.current = !1;
|
|
17699
17703
|
}), []), Ai(() => {
|
|
17700
|
-
if (I && (
|
|
17704
|
+
if (I && (O.current = I), E && (w.current = E), I && E) {
|
|
17701
17705
|
if (j.current)
|
|
17702
17706
|
return j.current(I, E, Q);
|
|
17703
17707
|
Q();
|
|
17704
17708
|
}
|
|
17705
17709
|
}, [I, E, Q, j, P]);
|
|
17706
17710
|
const G = D.useMemo(() => ({
|
|
17707
|
-
reference:
|
|
17708
|
-
floating:
|
|
17711
|
+
reference: O,
|
|
17712
|
+
floating: w,
|
|
17709
17713
|
setReference: S,
|
|
17710
17714
|
setFloating: M
|
|
17711
17715
|
}), [S, M]), H = D.useMemo(() => ({
|
|
@@ -17854,7 +17858,7 @@ var fp = "PopperContent", [HU, zU] = ZS(fp), rM = D.forwardRef(
|
|
|
17854
17858
|
updatePositionStrategy: h = "optimized",
|
|
17855
17859
|
onPlaced: m,
|
|
17856
17860
|
...g
|
|
17857
|
-
} = e, v = XS(fp, r), [b, S] = D.useState(null), M = Gn(t, (Be) => S(Be)), [I, E] = D.useState(null),
|
|
17861
|
+
} = e, v = XS(fp, r), [b, S] = D.useState(null), M = Gn(t, (Be) => S(Be)), [I, E] = D.useState(null), O = BU(I), w = (O == null ? void 0 : O.width) ?? 0, _ = (O == null ? void 0 : O.height) ?? 0, P = n + (s !== "center" ? "-" + s : ""), j = typeof d == "number" ? d : { top: 0, right: 0, bottom: 0, left: 0, ...d }, K = Array.isArray(c) ? c : [c], ee = K.length > 0, Q = {
|
|
17858
17862
|
padding: j,
|
|
17859
17863
|
boundary: K.filter(WU),
|
|
17860
17864
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
@@ -17880,20 +17884,20 @@ var fp = "PopperContent", [HU, zU] = ZS(fp), rM = D.forwardRef(
|
|
|
17880
17884
|
l && DU({ ...Q }),
|
|
17881
17885
|
_U({
|
|
17882
17886
|
...Q,
|
|
17883
|
-
apply: ({ elements: Be, rects: Ke, availableWidth: T, availableHeight:
|
|
17887
|
+
apply: ({ elements: Be, rects: Ke, availableWidth: T, availableHeight: L }) => {
|
|
17884
17888
|
const { width: V, height: oe } = Ke.reference, ne = Be.floating.style;
|
|
17885
|
-
ne.setProperty("--radix-popper-available-width", `${T}px`), ne.setProperty("--radix-popper-available-height", `${
|
|
17889
|
+
ne.setProperty("--radix-popper-available-width", `${T}px`), ne.setProperty("--radix-popper-available-height", `${L}px`), ne.setProperty("--radix-popper-anchor-width", `${V}px`), ne.setProperty("--radix-popper-anchor-height", `${oe}px`);
|
|
17886
17890
|
}
|
|
17887
17891
|
}),
|
|
17888
17892
|
I && jU({ element: I, padding: i }),
|
|
17889
|
-
qU({ arrowWidth:
|
|
17893
|
+
qU({ arrowWidth: w, arrowHeight: _ }),
|
|
17890
17894
|
p && UU({ strategy: "referenceHidden", ...Q })
|
|
17891
17895
|
]
|
|
17892
17896
|
}), [we, re] = sM(H), Z = $n(m);
|
|
17893
17897
|
rs(() => {
|
|
17894
17898
|
q && (Z == null || Z());
|
|
17895
17899
|
}, [q, Z]);
|
|
17896
|
-
const J = (he = X.arrow) == null ? void 0 : he.x, W = (Se = X.arrow) == null ? void 0 : Se.y, z = ((_e = X.arrow) == null ? void 0 : _e.centerOffset) !== 0, [
|
|
17900
|
+
const J = (he = X.arrow) == null ? void 0 : he.x, W = (Se = X.arrow) == null ? void 0 : Se.y, z = ((_e = X.arrow) == null ? void 0 : _e.centerOffset) !== 0, [C, be] = D.useState();
|
|
17897
17901
|
return rs(() => {
|
|
17898
17902
|
b && be(window.getComputedStyle(b).zIndex);
|
|
17899
17903
|
}, [b]), /* @__PURE__ */ u.jsx(
|
|
@@ -17906,7 +17910,7 @@ var fp = "PopperContent", [HU, zU] = ZS(fp), rM = D.forwardRef(
|
|
|
17906
17910
|
transform: q ? G.transform : "translate(0, -200%)",
|
|
17907
17911
|
// keep off the page when measuring
|
|
17908
17912
|
minWidth: "max-content",
|
|
17909
|
-
zIndex:
|
|
17913
|
+
zIndex: C,
|
|
17910
17914
|
"--radix-popper-transform-origin": [
|
|
17911
17915
|
(Re = X.transformOrigin) == null ? void 0 : Re.x,
|
|
17912
17916
|
(Fe = X.transformOrigin) == null ? void 0 : Fe.y
|
|
@@ -18418,12 +18422,12 @@ var dM = mj(), Yu = function() {
|
|
|
18418
18422
|
onScrollCapture: Yu,
|
|
18419
18423
|
onWheelCapture: Yu,
|
|
18420
18424
|
onTouchMoveCapture: Yu
|
|
18421
|
-
}), a = n[0], s = n[1], o = e.forwardProps, i = e.children, l = e.className, c = e.removeScrollBar, d = e.enabled, f = e.shards, p = e.sideCar, h = e.noIsolation, m = e.inert, g = e.allowPinchZoom, v = e.as, b = v === void 0 ? "div" : v, S = e.gapMode, M = cM(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), I = p, E = fj([r, t]),
|
|
18425
|
+
}), a = n[0], s = n[1], o = e.forwardProps, i = e.children, l = e.className, c = e.removeScrollBar, d = e.enabled, f = e.shards, p = e.sideCar, h = e.noIsolation, m = e.inert, g = e.allowPinchZoom, v = e.as, b = v === void 0 ? "div" : v, S = e.gapMode, M = cM(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), I = p, E = fj([r, t]), O = ar(ar({}, M), a);
|
|
18422
18426
|
return D.createElement(
|
|
18423
18427
|
D.Fragment,
|
|
18424
18428
|
null,
|
|
18425
18429
|
d && D.createElement(I, { sideCar: dM, removeScrollBar: c, shards: f, noIsolation: h, inert: m, setCallbacks: s, allowPinchZoom: !!g, lockRef: r, gapMode: S }),
|
|
18426
|
-
o ? D.cloneElement(D.Children.only(i), ar(ar({},
|
|
18430
|
+
o ? D.cloneElement(D.Children.only(i), ar(ar({}, O), { ref: E })) : D.createElement(b, ar({}, O, { className: l, ref: E }), i)
|
|
18427
18431
|
);
|
|
18428
18432
|
});
|
|
18429
18433
|
xc.defaultProps = {
|
|
@@ -18665,13 +18669,13 @@ function $j(e) {
|
|
|
18665
18669
|
var i = D.useCallback(function(g, v) {
|
|
18666
18670
|
if ("touches" in g && g.touches.length === 2 || g.type === "wheel" && g.ctrlKey)
|
|
18667
18671
|
return !o.current.allowPinchZoom;
|
|
18668
|
-
var b = oi(g), S = r.current, M = "deltaX" in g ? g.deltaX : S[0] - b[0], I = "deltaY" in g ? g.deltaY : S[1] - b[1], E,
|
|
18669
|
-
if ("touches" in g &&
|
|
18672
|
+
var b = oi(g), S = r.current, M = "deltaX" in g ? g.deltaX : S[0] - b[0], I = "deltaY" in g ? g.deltaY : S[1] - b[1], E, O = g.target, w = Math.abs(M) > Math.abs(I) ? "h" : "v";
|
|
18673
|
+
if ("touches" in g && w === "h" && O.type === "range")
|
|
18670
18674
|
return !1;
|
|
18671
|
-
var _ = fy(
|
|
18675
|
+
var _ = fy(w, O);
|
|
18672
18676
|
if (!_)
|
|
18673
18677
|
return !0;
|
|
18674
|
-
if (_ ? E =
|
|
18678
|
+
if (_ ? E = w : (E = w === "v" ? "h" : "v", _ = fy(w, O)), !_)
|
|
18675
18679
|
return !1;
|
|
18676
18680
|
if (!n.current && "changedTouches" in g && (M || I) && (n.current = E), !E)
|
|
18677
18681
|
return !0;
|
|
@@ -19143,9 +19147,9 @@ const Kt = {
|
|
|
19143
19147
|
if (c && n && n.viewModel) {
|
|
19144
19148
|
const p = cb(c);
|
|
19145
19149
|
Qa(Xa.flags, p);
|
|
19146
|
-
const h = n.viewModel.metadata || {}, m =
|
|
19150
|
+
const h = n.viewModel.metadata || {}, m = lt(h, (v) => {
|
|
19147
19151
|
v.flags = p;
|
|
19148
|
-
}), g =
|
|
19152
|
+
}), g = lt(n.viewModel, (v) => {
|
|
19149
19153
|
v.metadata = m;
|
|
19150
19154
|
});
|
|
19151
19155
|
n.updateViewModel(g);
|
|
@@ -19345,7 +19349,7 @@ const NV = se.forwardRef(
|
|
|
19345
19349
|
} catch (n) {
|
|
19346
19350
|
N.warn("Failed to add predefined hooks", n);
|
|
19347
19351
|
}
|
|
19348
|
-
return
|
|
19352
|
+
return bt(() => {
|
|
19349
19353
|
hE();
|
|
19350
19354
|
}), ii.dispatch({ programId: e, type: "PROGRAM_ID" }), r && (r.current = {
|
|
19351
19355
|
refresh: se.useCallback(() => ii.dispatch({ type: "FORCE_UPDATE" }), []),
|
|
@@ -19368,7 +19372,7 @@ const NV = se.forwardRef(
|
|
|
19368
19372
|
let d = "";
|
|
19369
19373
|
r && (d += `${r} `), d += "sid-text-input sid-l-full-width", n && (d += " sid-hidden-placeholder"), s && (d += " sid-text-input--required"), t && (d += " sid-text-input--error");
|
|
19370
19374
|
const f = a || e, p = Mt(null);
|
|
19371
|
-
return
|
|
19375
|
+
return bt(() => {
|
|
19372
19376
|
zn(f, p.current);
|
|
19373
19377
|
}), /* @__PURE__ */ u.jsx(
|
|
19374
19378
|
"input",
|
|
@@ -19549,7 +19553,7 @@ var NF = function() {
|
|
|
19549
19553
|
NM.exports = NF();
|
|
19550
19554
|
var AF = NM.exports;
|
|
19551
19555
|
const Le = /* @__PURE__ */ br(AF);
|
|
19552
|
-
var
|
|
19556
|
+
var ct = {};
|
|
19553
19557
|
/**
|
|
19554
19558
|
* @license React
|
|
19555
19559
|
* react-is.production.min.js
|
|
@@ -19591,64 +19595,64 @@ function Ar(e) {
|
|
|
19591
19595
|
}
|
|
19592
19596
|
}
|
|
19593
19597
|
}
|
|
19594
|
-
|
|
19595
|
-
|
|
19596
|
-
|
|
19597
|
-
|
|
19598
|
-
|
|
19599
|
-
|
|
19600
|
-
|
|
19601
|
-
|
|
19602
|
-
|
|
19603
|
-
|
|
19604
|
-
|
|
19605
|
-
|
|
19606
|
-
|
|
19598
|
+
ct.ContextConsumer = Rc;
|
|
19599
|
+
ct.ContextProvider = Pc;
|
|
19600
|
+
ct.Element = gp;
|
|
19601
|
+
ct.ForwardRef = Nc;
|
|
19602
|
+
ct.Fragment = wc;
|
|
19603
|
+
ct.Lazy = kc;
|
|
19604
|
+
ct.Memo = Lc;
|
|
19605
|
+
ct.Portal = yp;
|
|
19606
|
+
ct.Profiler = Tc;
|
|
19607
|
+
ct.StrictMode = Cc;
|
|
19608
|
+
ct.Suspense = Ac;
|
|
19609
|
+
ct.SuspenseList = Oc;
|
|
19610
|
+
ct.isAsyncMode = function() {
|
|
19607
19611
|
return !1;
|
|
19608
19612
|
};
|
|
19609
|
-
|
|
19613
|
+
ct.isConcurrentMode = function() {
|
|
19610
19614
|
return !1;
|
|
19611
19615
|
};
|
|
19612
|
-
|
|
19616
|
+
ct.isContextConsumer = function(e) {
|
|
19613
19617
|
return Ar(e) === Rc;
|
|
19614
19618
|
};
|
|
19615
|
-
|
|
19619
|
+
ct.isContextProvider = function(e) {
|
|
19616
19620
|
return Ar(e) === Pc;
|
|
19617
19621
|
};
|
|
19618
|
-
|
|
19622
|
+
ct.isElement = function(e) {
|
|
19619
19623
|
return typeof e == "object" && e !== null && e.$$typeof === gp;
|
|
19620
19624
|
};
|
|
19621
|
-
|
|
19625
|
+
ct.isForwardRef = function(e) {
|
|
19622
19626
|
return Ar(e) === Nc;
|
|
19623
19627
|
};
|
|
19624
|
-
|
|
19628
|
+
ct.isFragment = function(e) {
|
|
19625
19629
|
return Ar(e) === wc;
|
|
19626
19630
|
};
|
|
19627
|
-
|
|
19631
|
+
ct.isLazy = function(e) {
|
|
19628
19632
|
return Ar(e) === kc;
|
|
19629
19633
|
};
|
|
19630
|
-
|
|
19634
|
+
ct.isMemo = function(e) {
|
|
19631
19635
|
return Ar(e) === Lc;
|
|
19632
19636
|
};
|
|
19633
|
-
|
|
19637
|
+
ct.isPortal = function(e) {
|
|
19634
19638
|
return Ar(e) === yp;
|
|
19635
19639
|
};
|
|
19636
|
-
|
|
19640
|
+
ct.isProfiler = function(e) {
|
|
19637
19641
|
return Ar(e) === Tc;
|
|
19638
19642
|
};
|
|
19639
|
-
|
|
19643
|
+
ct.isStrictMode = function(e) {
|
|
19640
19644
|
return Ar(e) === Cc;
|
|
19641
19645
|
};
|
|
19642
|
-
|
|
19646
|
+
ct.isSuspense = function(e) {
|
|
19643
19647
|
return Ar(e) === Ac;
|
|
19644
19648
|
};
|
|
19645
|
-
|
|
19649
|
+
ct.isSuspenseList = function(e) {
|
|
19646
19650
|
return Ar(e) === Oc;
|
|
19647
19651
|
};
|
|
19648
|
-
|
|
19652
|
+
ct.isValidElementType = function(e) {
|
|
19649
19653
|
return typeof e == "string" || typeof e == "function" || e === wc || e === Tc || e === Cc || e === Ac || e === Oc || e === LF || typeof e == "object" && e !== null && (e.$$typeof === kc || e.$$typeof === Lc || e.$$typeof === Pc || e.$$typeof === Rc || e.$$typeof === Nc || e.$$typeof === LM || e.getModuleId !== void 0);
|
|
19650
19654
|
};
|
|
19651
|
-
|
|
19655
|
+
ct.typeOf = Ar;
|
|
19652
19656
|
const my = (e) => typeof e == "object" && e != null && e.nodeType === 1, gy = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip", li = (e, t) => {
|
|
19653
19657
|
if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) {
|
|
19654
19658
|
const r = getComputedStyle(e, null);
|
|
@@ -19682,21 +19686,21 @@ const my = (e) => typeof e == "object" && e != null && e.nodeType === 1, gy = (e
|
|
|
19682
19686
|
}
|
|
19683
19687
|
p != null && p === document.body && li(p) && !li(document.documentElement) || p != null && li(p, l) && f.push(p);
|
|
19684
19688
|
}
|
|
19685
|
-
const h = (n = (r = window.visualViewport) == null ? void 0 : r.width) != null ? n : innerWidth, m = (s = (a = window.visualViewport) == null ? void 0 : a.height) != null ? s : innerHeight, { scrollX: g, scrollY: v } = window, { height: b, width: S, top: M, right: I, bottom: E, left:
|
|
19689
|
+
const h = (n = (r = window.visualViewport) == null ? void 0 : r.width) != null ? n : innerWidth, m = (s = (a = window.visualViewport) == null ? void 0 : a.height) != null ? s : innerHeight, { scrollX: g, scrollY: v } = window, { height: b, width: S, top: M, right: I, bottom: E, left: O } = e.getBoundingClientRect(), { top: w, right: _, left: P } = ((Q) => {
|
|
19686
19690
|
const U = window.getComputedStyle(Q);
|
|
19687
19691
|
return { top: parseFloat(U.scrollMarginTop) || 0, right: parseFloat(U.scrollMarginRight) || 0, bottom: parseFloat(U.scrollMarginBottom) || 0, left: parseFloat(U.scrollMarginLeft) || 0 };
|
|
19688
19692
|
})(e);
|
|
19689
|
-
let j = M -
|
|
19693
|
+
let j = M - w, K = o === "center" ? O + S / 2 - P + _ : o === "end" ? I + _ : O - P;
|
|
19690
19694
|
const ee = [];
|
|
19691
19695
|
for (let Q = 0; Q < f.length; Q++) {
|
|
19692
19696
|
const U = f[Q], { height: G, width: H, top: q, right: X, bottom: we, left: re } = U.getBoundingClientRect();
|
|
19693
|
-
if (M >= 0 &&
|
|
19694
|
-
const Z = getComputedStyle(U), J = parseInt(Z.borderLeftWidth, 10), W = parseInt(Z.borderTopWidth, 10), z = parseInt(Z.borderRightWidth, 10),
|
|
19697
|
+
if (M >= 0 && O >= 0 && E <= m && I <= h && (U === d && !li(U) || M >= q && E <= we && O >= re && I <= X)) return ee;
|
|
19698
|
+
const Z = getComputedStyle(U), J = parseInt(Z.borderLeftWidth, 10), W = parseInt(Z.borderTopWidth, 10), z = parseInt(Z.borderRightWidth, 10), C = parseInt(Z.borderBottomWidth, 10);
|
|
19695
19699
|
let be = 0, he = 0;
|
|
19696
|
-
const Se = "offsetWidth" in U ? U.offsetWidth - U.clientWidth - J - z : 0, _e = "offsetHeight" in U ? U.offsetHeight - U.clientHeight - W -
|
|
19697
|
-
if (d === U) be = ci(v, v + m, m, W,
|
|
19700
|
+
const Se = "offsetWidth" in U ? U.offsetWidth - U.clientWidth - J - z : 0, _e = "offsetHeight" in U ? U.offsetHeight - U.clientHeight - W - C : 0, Re = "offsetWidth" in U ? U.offsetWidth === 0 ? 0 : H / U.offsetWidth : 0, Fe = "offsetHeight" in U ? U.offsetHeight === 0 ? 0 : G / U.offsetHeight : 0;
|
|
19701
|
+
if (d === U) be = ci(v, v + m, m, W, C, v + j, v + j + b, b), he = o === "start" ? K : o === "center" ? K - h / 2 : o === "end" ? K - h : ci(g, g + h, h, J, z, g + K, g + K + S, S), be = Math.max(0, be + v), he = Math.max(0, he + g);
|
|
19698
19702
|
else {
|
|
19699
|
-
be = ci(q, we, G, W,
|
|
19703
|
+
be = ci(q, we, G, W, C + _e, j, j + b, b), he = o === "start" ? K - re - J : o === "center" ? K - (re + H / 2) + Se / 2 : o === "end" ? K - X + z + Se : ci(re, X, H, J, z + Se, K, K + S, S);
|
|
19700
19704
|
const { scrollLeft: Te, scrollTop: Be } = U;
|
|
19701
19705
|
be = Fe === 0 ? 0 : Math.max(0, Math.min(Be + be / Fe, U.scrollHeight - G / Fe + _e)), he = Re === 0 ? 0 : Math.max(0, Math.min(Te + he / Re, U.scrollWidth - H / Re + Se)), j += Be - be, K += Te - he;
|
|
19702
19706
|
}
|
|
@@ -19836,13 +19840,13 @@ function HF(e, t, r) {
|
|
|
19836
19840
|
var n = e.props, a = e.type, s = {};
|
|
19837
19841
|
Object.keys(t).forEach(function(o) {
|
|
19838
19842
|
zF(o, e, t, r), r[o] !== t[o] && (s[o] = r[o]);
|
|
19839
|
-
}), n.onStateChange && Object.keys(s).length && n.onStateChange(
|
|
19843
|
+
}), n.onStateChange && Object.keys(s).length && n.onStateChange(ft({
|
|
19840
19844
|
type: a
|
|
19841
19845
|
}, s));
|
|
19842
19846
|
}
|
|
19843
19847
|
function zF(e, t, r, n) {
|
|
19844
19848
|
var a = t.props, s = t.type, o = "on" + vp(e) + "Change";
|
|
19845
|
-
a[o] && n[e] !== void 0 && n[e] !== r[e] && a[o](
|
|
19849
|
+
a[o] && n[e] !== void 0 && n[e] !== r[e] && a[o](ft({
|
|
19846
19850
|
type: s
|
|
19847
19851
|
}, n));
|
|
19848
19852
|
}
|
|
@@ -19851,7 +19855,7 @@ function GF(e, t) {
|
|
|
19851
19855
|
}
|
|
19852
19856
|
var by = DM(function(e, t) {
|
|
19853
19857
|
BF(e, t);
|
|
19854
|
-
}, 200), WF = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? $y :
|
|
19858
|
+
}, 200), WF = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? $y : bt, qF = "useId" in se ? function(t) {
|
|
19855
19859
|
var r = t.id, n = t.labelId, a = t.menuId, s = t.getItemId, o = t.toggleButtonId, i = t.inputId, l = "downshift-" + se.useId();
|
|
19856
19860
|
r || (r = l);
|
|
19857
19861
|
var c = Mt({
|
|
@@ -19896,16 +19900,16 @@ function FM(e) {
|
|
|
19896
19900
|
function YF(e, t, r, n) {
|
|
19897
19901
|
var a = Mt(), s = Mt(), o = At(function(h, m) {
|
|
19898
19902
|
s.current = m, h = Ud(h, m.props);
|
|
19899
|
-
var g = e(h, m), v = m.props.stateReducer(h,
|
|
19903
|
+
var g = e(h, m), v = m.props.stateReducer(h, ft({}, m, {
|
|
19900
19904
|
changes: g
|
|
19901
19905
|
}));
|
|
19902
19906
|
return v;
|
|
19903
19907
|
}, [e]), i = a0(o, t, r), l = i[0], c = i[1], d = FM(t), f = At(function(h) {
|
|
19904
|
-
return c(
|
|
19908
|
+
return c(ft({
|
|
19905
19909
|
props: d.current
|
|
19906
19910
|
}, h));
|
|
19907
19911
|
}, [d]), p = s.current;
|
|
19908
|
-
return
|
|
19912
|
+
return bt(function() {
|
|
19909
19913
|
var h = Ud(a.current, p == null ? void 0 : p.props), m = p && a.current && !n(h, l);
|
|
19910
19914
|
m && HF(p, h, l), a.current = l;
|
|
19911
19915
|
}, [l, p, n]), [l, f];
|
|
@@ -19960,7 +19964,7 @@ function JF(e, t, r) {
|
|
|
19960
19964
|
isTouchMove: !1,
|
|
19961
19965
|
isTouchEnd: !1
|
|
19962
19966
|
});
|
|
19963
|
-
return
|
|
19967
|
+
return bt(function() {
|
|
19964
19968
|
if (!e)
|
|
19965
19969
|
return kM;
|
|
19966
19970
|
var a = r.map(function(d) {
|
|
@@ -19992,12 +19996,12 @@ var XF = function() {
|
|
|
19992
19996
|
function QF(e, t, r, n) {
|
|
19993
19997
|
n === void 0 && (n = {});
|
|
19994
19998
|
var a = n.document, s = bp();
|
|
19995
|
-
|
|
19999
|
+
bt(function() {
|
|
19996
20000
|
if (!(!e || s || !a)) {
|
|
19997
20001
|
var o = e(t);
|
|
19998
20002
|
by(o, a);
|
|
19999
20003
|
}
|
|
20000
|
-
}, r),
|
|
20004
|
+
}, r), bt(function() {
|
|
20001
20005
|
return function() {
|
|
20002
20006
|
by.cancel(), VF(a);
|
|
20003
20007
|
};
|
|
@@ -20013,10 +20017,10 @@ function Iy(e, t, r) {
|
|
|
20013
20017
|
var n;
|
|
20014
20018
|
r === void 0 && (r = !0);
|
|
20015
20019
|
var a = ((n = e.items) == null ? void 0 : n.length) && t >= 0;
|
|
20016
|
-
return
|
|
20020
|
+
return ft({
|
|
20017
20021
|
isOpen: !1,
|
|
20018
20022
|
highlightedIndex: -1
|
|
20019
|
-
}, a &&
|
|
20023
|
+
}, a && ft({
|
|
20020
20024
|
selectedItem: e.items[t],
|
|
20021
20025
|
isOpen: Dn(e, "isOpen"),
|
|
20022
20026
|
highlightedIndex: Dn(e, "highlightedIndex")
|
|
@@ -20058,7 +20062,7 @@ var ki = {
|
|
|
20058
20062
|
itemToString: Le.func,
|
|
20059
20063
|
itemToKey: Le.func,
|
|
20060
20064
|
stateReducer: Le.func
|
|
20061
|
-
}, $M =
|
|
20065
|
+
}, $M = ft({}, ki, {
|
|
20062
20066
|
getA11yStatusMessage: Le.func,
|
|
20063
20067
|
highlightedIndex: Le.number,
|
|
20064
20068
|
defaultHighlightedIndex: Le.number,
|
|
@@ -20132,7 +20136,7 @@ function n$(e, t, r) {
|
|
|
20132
20136
|
default:
|
|
20133
20137
|
throw new Error("Reducer called without proper action type.");
|
|
20134
20138
|
}
|
|
20135
|
-
return
|
|
20139
|
+
return ft({}, e, s);
|
|
20136
20140
|
}
|
|
20137
20141
|
ar(ar({}, $M), { items: Le.array.isRequired, isItemDisabled: Le.func });
|
|
20138
20142
|
ar(ar({}, _s), { isItemDisabled: function() {
|
|
@@ -20166,11 +20170,11 @@ var Ip = 0, Sp = 1, Mp = 2, xp = 3, Ep = 4, wp = 5, Cp = 6, Tp = 7, Pp = 8, gl =
|
|
|
20166
20170
|
});
|
|
20167
20171
|
function a$(e) {
|
|
20168
20172
|
var t = ZF(e), r = t.selectedItem, n = t.inputValue;
|
|
20169
|
-
return n === "" && r && e.defaultInputValue === void 0 && e.initialInputValue === void 0 && e.inputValue === void 0 && (n = e.itemToString(r)),
|
|
20173
|
+
return n === "" && r && e.defaultInputValue === void 0 && e.initialInputValue === void 0 && e.inputValue === void 0 && (n = e.itemToString(r)), ft({}, t, {
|
|
20170
20174
|
inputValue: n
|
|
20171
20175
|
});
|
|
20172
20176
|
}
|
|
20173
|
-
|
|
20177
|
+
ft({}, $M, {
|
|
20174
20178
|
items: Le.array.isRequired,
|
|
20175
20179
|
isItemDisabled: Le.func,
|
|
20176
20180
|
inputValue: Le.string,
|
|
@@ -20181,7 +20185,7 @@ dt({}, $M, {
|
|
|
20181
20185
|
});
|
|
20182
20186
|
function s$(e, t, r, n) {
|
|
20183
20187
|
var a = Mt(), s = YF(e, t, r, n), o = s[0], i = s[1], l = bp();
|
|
20184
|
-
return
|
|
20188
|
+
return bt(function() {
|
|
20185
20189
|
if (_M(t, "selectedItem")) {
|
|
20186
20190
|
if (!l) {
|
|
20187
20191
|
var c = t.itemToKey(t.selectedItem) !== t.itemToKey(a.current);
|
|
@@ -20194,7 +20198,7 @@ function s$(e, t, r, n) {
|
|
|
20194
20198
|
}
|
|
20195
20199
|
}, [o.selectedItem, t.selectedItem]), [Ud(o, t), i];
|
|
20196
20200
|
}
|
|
20197
|
-
var o$ =
|
|
20201
|
+
var o$ = ft({}, _s, {
|
|
20198
20202
|
isItemDisabled: function() {
|
|
20199
20203
|
return !1;
|
|
20200
20204
|
}
|
|
@@ -20230,7 +20234,7 @@ function i$(e, t) {
|
|
|
20230
20234
|
o = Iy(a, e.highlightedIndex);
|
|
20231
20235
|
break;
|
|
20232
20236
|
case Mp:
|
|
20233
|
-
o =
|
|
20237
|
+
o = ft({
|
|
20234
20238
|
isOpen: !1,
|
|
20235
20239
|
highlightedIndex: -1
|
|
20236
20240
|
}, !e.isOpen && {
|
|
@@ -20259,7 +20263,7 @@ function i$(e, t) {
|
|
|
20259
20263
|
};
|
|
20260
20264
|
break;
|
|
20261
20265
|
case gl:
|
|
20262
|
-
o =
|
|
20266
|
+
o = ft({
|
|
20263
20267
|
isOpen: !1,
|
|
20264
20268
|
highlightedIndex: -1
|
|
20265
20269
|
}, e.highlightedIndex >= 0 && ((r = a.items) == null ? void 0 : r.length) && t.selectItem && {
|
|
@@ -20294,20 +20298,20 @@ function i$(e, t) {
|
|
|
20294
20298
|
default:
|
|
20295
20299
|
return n$(e, t, ZM);
|
|
20296
20300
|
}
|
|
20297
|
-
return
|
|
20301
|
+
return ft({}, e, o);
|
|
20298
20302
|
}
|
|
20299
20303
|
var l$ = ["onMouseLeave", "refKey", "ref"], c$ = ["item", "index", "refKey", "ref", "onMouseMove", "onMouseDown", "onClick", "onPress", "disabled"], u$ = ["onClick", "onPress", "refKey", "ref"], d$ = ["onKeyDown", "onChange", "onInput", "onBlur", "onChangeText", "onClick", "refKey", "ref"];
|
|
20300
20304
|
ia.stateChangeTypes = ZM;
|
|
20301
20305
|
function ia(e) {
|
|
20302
20306
|
e === void 0 && (e = {});
|
|
20303
|
-
var t =
|
|
20307
|
+
var t = ft({}, o$, e), r = t.items, n = t.scrollIntoView, a = t.environment, s = t.getA11yStatusMessage, o = s$(i$, t, a$, t$), i = o[0], l = o[1], c = i.isOpen, d = i.highlightedIndex, f = i.selectedItem, p = i.inputValue, h = Mt(null), m = Mt({}), g = Mt(null), v = Mt(null), b = bp(), S = qF(t), M = Mt(), I = FM({
|
|
20304
20308
|
state: i,
|
|
20305
20309
|
props: t
|
|
20306
20310
|
}), E = At(function(J) {
|
|
20307
20311
|
return m.current[S.getItemId(J)];
|
|
20308
20312
|
}, [S]);
|
|
20309
20313
|
QF(s, i, [c, d, f, p], a);
|
|
20310
|
-
var
|
|
20314
|
+
var O = e$({
|
|
20311
20315
|
menuElement: h.current,
|
|
20312
20316
|
highlightedIndex: d,
|
|
20313
20317
|
isOpen: c,
|
|
@@ -20315,13 +20319,13 @@ function ia(e) {
|
|
|
20315
20319
|
scrollIntoView: n,
|
|
20316
20320
|
getItemNodeFromIndex: E
|
|
20317
20321
|
});
|
|
20318
|
-
|
|
20322
|
+
bt(function() {
|
|
20319
20323
|
var J = Us(t, "isOpen");
|
|
20320
20324
|
J && g.current && g.current.focus();
|
|
20321
|
-
}, []),
|
|
20325
|
+
}, []), bt(function() {
|
|
20322
20326
|
b || (M.current = r.length);
|
|
20323
20327
|
});
|
|
20324
|
-
var
|
|
20328
|
+
var w = JF(a, At(function() {
|
|
20325
20329
|
I.current.state.isOpen && l({
|
|
20326
20330
|
type: gl,
|
|
20327
20331
|
selectItem: !1
|
|
@@ -20329,9 +20333,9 @@ function ia(e) {
|
|
|
20329
20333
|
}, [l, I]), zp(function() {
|
|
20330
20334
|
return [h, v, g];
|
|
20331
20335
|
}, [h.current, v.current, g.current])), _ = XF();
|
|
20332
|
-
|
|
20336
|
+
bt(function() {
|
|
20333
20337
|
c || (m.current = {});
|
|
20334
|
-
}, [c]),
|
|
20338
|
+
}, [c]), bt(function() {
|
|
20335
20339
|
var J;
|
|
20336
20340
|
!c || !(a != null && a.document) || !(g != null && (J = g.current) != null && J.focus) || a.document.activeElement !== g.current && g.current.focus();
|
|
20337
20341
|
}, [c, a]);
|
|
@@ -20383,13 +20387,13 @@ function ia(e) {
|
|
|
20383
20387
|
}
|
|
20384
20388
|
};
|
|
20385
20389
|
}, [l, I]), j = At(function(J) {
|
|
20386
|
-
return
|
|
20390
|
+
return ft({
|
|
20387
20391
|
id: S.labelId,
|
|
20388
20392
|
htmlFor: S.inputId
|
|
20389
20393
|
}, J);
|
|
20390
20394
|
}, [S]), K = At(function(J, W) {
|
|
20391
|
-
var z,
|
|
20392
|
-
return Fe.suppressRefError,
|
|
20395
|
+
var z, C = J === void 0 ? {} : J, be = C.onMouseLeave, he = C.refKey, Se = he === void 0 ? "ref" : he, _e = C.ref, Re = Ba(C, l$), Fe = W === void 0 ? {} : W;
|
|
20396
|
+
return Fe.suppressRefError, ft((z = {}, z[Se] = ui(_e, function(Te) {
|
|
20393
20397
|
h.current = Te;
|
|
20394
20398
|
}), z.id = S.menuId, z.role = "listbox", z["aria-labelledby"] = Re && Re["aria-label"] ? void 0 : "" + S.labelId, z.onMouseLeave = ln(be, function() {
|
|
20395
20399
|
l({
|
|
@@ -20397,12 +20401,12 @@ function ia(e) {
|
|
|
20397
20401
|
});
|
|
20398
20402
|
}), z), Re);
|
|
20399
20403
|
}, [l, _, S]), ee = At(function(J) {
|
|
20400
|
-
var W, z,
|
|
20401
|
-
|
|
20402
|
-
var Ke =
|
|
20404
|
+
var W, z, C = J === void 0 ? {} : J, be = C.item, he = C.index, Se = C.refKey, _e = Se === void 0 ? "ref" : Se, Re = C.ref, Fe = C.onMouseMove, Te = C.onMouseDown, Be = C.onClick;
|
|
20405
|
+
C.onPress;
|
|
20406
|
+
var Ke = C.disabled, T = Ba(C, c$);
|
|
20403
20407
|
Ke !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');
|
|
20404
|
-
var
|
|
20405
|
-
|
|
20408
|
+
var L = I.current, V = L.props, oe = L.state, ne = KF(be, he, V.items, "Pass either item or index to getItemProps!"), me = ne[0], ie = ne[1], Me = V.isItemDisabled(me, ie), ce = "onClick", ye = Be, ke = function() {
|
|
20409
|
+
w.isTouchEnd || ie === oe.highlightedIndex || (O.current = !1, l({
|
|
20406
20410
|
type: VM,
|
|
20407
20411
|
index: ie,
|
|
20408
20412
|
disabled: Me
|
|
@@ -20415,31 +20419,31 @@ function ia(e) {
|
|
|
20415
20419
|
}, xe = function(Dt) {
|
|
20416
20420
|
return Dt.preventDefault();
|
|
20417
20421
|
};
|
|
20418
|
-
return
|
|
20422
|
+
return ft((W = {}, W[_e] = ui(Re, function(Je) {
|
|
20419
20423
|
Je && (m.current[S.getItemId(ie)] = Je);
|
|
20420
20424
|
}), W["aria-disabled"] = Me, W["aria-selected"] = ie === oe.highlightedIndex, W.id = S.getItemId(ie), W.role = "option", W), !Me && (z = {}, z[ce] = ln(ye, pe), z), {
|
|
20421
20425
|
onMouseMove: ln(Fe, ke),
|
|
20422
20426
|
onMouseDown: ln(Te, xe)
|
|
20423
20427
|
}, T);
|
|
20424
|
-
}, [l, S, I,
|
|
20425
|
-
var W, z = J === void 0 ? {} : J,
|
|
20428
|
+
}, [l, S, I, w, O]), Q = At(function(J) {
|
|
20429
|
+
var W, z = J === void 0 ? {} : J, C = z.onClick;
|
|
20426
20430
|
z.onPress;
|
|
20427
20431
|
var be = z.refKey, he = be === void 0 ? "ref" : be, Se = z.ref, _e = Ba(z, u$), Re = I.current.state, Fe = function() {
|
|
20428
20432
|
l({
|
|
20429
20433
|
type: HM
|
|
20430
20434
|
});
|
|
20431
20435
|
};
|
|
20432
|
-
return
|
|
20436
|
+
return ft((W = {}, W[he] = ui(Se, function(Te) {
|
|
20433
20437
|
v.current = Te;
|
|
20434
|
-
}), W["aria-controls"] = S.menuId, W["aria-expanded"] = Re.isOpen, W.id = S.toggleButtonId, W.tabIndex = -1, W), !_e.disabled &&
|
|
20435
|
-
onClick: ln(
|
|
20438
|
+
}), W["aria-controls"] = S.menuId, W["aria-expanded"] = Re.isOpen, W.id = S.toggleButtonId, W.tabIndex = -1, W), !_e.disabled && ft({}, {
|
|
20439
|
+
onClick: ln(C, Fe)
|
|
20436
20440
|
}), _e);
|
|
20437
20441
|
}, [l, I, S]), U = At(function(J, W) {
|
|
20438
|
-
var z,
|
|
20439
|
-
|
|
20440
|
-
var Re =
|
|
20442
|
+
var z, C = J === void 0 ? {} : J, be = C.onKeyDown, he = C.onChange, Se = C.onInput, _e = C.onBlur;
|
|
20443
|
+
C.onChangeText;
|
|
20444
|
+
var Re = C.onClick, Fe = C.refKey, Te = Fe === void 0 ? "ref" : Fe, Be = C.ref, Ke = Ba(C, d$), T = W === void 0 ? {} : W;
|
|
20441
20445
|
T.suppressRefError;
|
|
20442
|
-
var
|
|
20446
|
+
var L = I.current.state, V = function(ke) {
|
|
20443
20447
|
var pe = FF(ke);
|
|
20444
20448
|
pe && P[pe] && P[pe](ke);
|
|
20445
20449
|
}, oe = function(ke) {
|
|
@@ -20448,7 +20452,7 @@ function ia(e) {
|
|
|
20448
20452
|
inputValue: ke.target.value
|
|
20449
20453
|
});
|
|
20450
20454
|
}, ne = function(ke) {
|
|
20451
|
-
if (a != null && a.document &&
|
|
20455
|
+
if (a != null && a.document && L.isOpen && !w.isMouseDown) {
|
|
20452
20456
|
var pe = ke.relatedTarget === null && a.document.activeElement !== a.document.body;
|
|
20453
20457
|
l({
|
|
20454
20458
|
type: gl,
|
|
@@ -20464,10 +20468,10 @@ function ia(e) {
|
|
|
20464
20468
|
var ce;
|
|
20465
20469
|
Me = (ce = {}, ce[ie] = ln(he, Se, oe), ce.onKeyDown = ln(be, V), ce.onBlur = ln(_e, ne), ce.onClick = ln(Re, me), ce);
|
|
20466
20470
|
}
|
|
20467
|
-
return
|
|
20471
|
+
return ft((z = {}, z[Te] = ui(Be, function(ye) {
|
|
20468
20472
|
g.current = ye;
|
|
20469
|
-
}), z["aria-activedescendant"] =
|
|
20470
|
-
}, [l, S, a, P, I,
|
|
20473
|
+
}), z["aria-activedescendant"] = L.isOpen && L.highlightedIndex > -1 ? S.getItemId(L.highlightedIndex) : "", z["aria-autocomplete"] = "list", z["aria-controls"] = S.menuId, z["aria-expanded"] = L.isOpen, z["aria-labelledby"] = Ke && Ke["aria-label"] ? void 0 : S.labelId, z.autoComplete = "off", z.id = S.inputId, z.role = "combobox", z.value = L.inputValue, z), Me, Ke);
|
|
20474
|
+
}, [l, S, a, P, I, w, _]), G = At(function() {
|
|
20471
20475
|
l({
|
|
20472
20476
|
type: zM
|
|
20473
20477
|
});
|
|
@@ -20617,8 +20621,8 @@ const f$ = ({
|
|
|
20617
20621
|
autoComplete: S
|
|
20618
20622
|
}) => {
|
|
20619
20623
|
const [M, I] = dn(""), E = M ? g$(o, M) : o, {
|
|
20620
|
-
getInputProps:
|
|
20621
|
-
getItemProps:
|
|
20624
|
+
getInputProps: O,
|
|
20625
|
+
getItemProps: w,
|
|
20622
20626
|
getMenuProps: _,
|
|
20623
20627
|
getToggleButtonProps: P,
|
|
20624
20628
|
highlightedIndex: j,
|
|
@@ -20637,13 +20641,13 @@ const f$ = ({
|
|
|
20637
20641
|
}), Q = (G) => {
|
|
20638
20642
|
typeof i == "function" && i(G);
|
|
20639
20643
|
}, U = Mt(null);
|
|
20640
|
-
return
|
|
20644
|
+
return bt(() => {
|
|
20641
20645
|
zn(n, U.current);
|
|
20642
20646
|
}), /* @__PURE__ */ u.jsxs("div", { className: `sid-input-select-list ${e || ""}`, children: [
|
|
20643
20647
|
/* @__PURE__ */ u.jsx(
|
|
20644
20648
|
"input",
|
|
20645
20649
|
{
|
|
20646
|
-
...
|
|
20650
|
+
...O({
|
|
20647
20651
|
ref: U,
|
|
20648
20652
|
onKeyDown: (G) => Q(G),
|
|
20649
20653
|
"aria-labelledby": a
|
|
@@ -20675,7 +20679,7 @@ const f$ = ({
|
|
|
20675
20679
|
highlightedIndex: j,
|
|
20676
20680
|
itemToString: Sy,
|
|
20677
20681
|
options: E,
|
|
20678
|
-
getItemProps:
|
|
20682
|
+
getItemProps: w,
|
|
20679
20683
|
getMenuProps: _,
|
|
20680
20684
|
ariaLabel: h,
|
|
20681
20685
|
isOpen: K,
|
|
@@ -20735,7 +20739,7 @@ const v$ = ({
|
|
|
20735
20739
|
{ value: "10", label: t.formatHTMLMessage({ id: "dateTime.october", defaultMessage: "October" }) },
|
|
20736
20740
|
{ value: "11", label: t.formatHTMLMessage({ id: "dateTime.november", defaultMessage: "November" }) },
|
|
20737
20741
|
{ value: "12", label: t.formatHTMLMessage({ id: "dateTime.december", defaultMessage: "December" }) }
|
|
20738
|
-
], E = (H, q, X) => (!X || X === "") && (!q || q === "") && (!H || H === ""),
|
|
20742
|
+
], E = (H, q, X) => (!X || X === "") && (!q || q === "") && (!H || H === ""), O = (H) => {
|
|
20739
20743
|
if (E(b, H, M)) {
|
|
20740
20744
|
e("");
|
|
20741
20745
|
return;
|
|
@@ -20743,7 +20747,7 @@ const v$ = ({
|
|
|
20743
20747
|
(H === "" || H === null) && e(`${b}--${M}`);
|
|
20744
20748
|
const q = Number.parseInt(H, 10);
|
|
20745
20749
|
typeof q == "number" && q >= 1 && q <= 12 ? e(`${b}-${wn(H)}-${wn(M)}`) : N.warn(`Value '${q}' is an invalid month`);
|
|
20746
|
-
},
|
|
20750
|
+
}, w = (H) => {
|
|
20747
20751
|
if (E(b, S, H)) {
|
|
20748
20752
|
e("");
|
|
20749
20753
|
return;
|
|
@@ -20772,7 +20776,7 @@ const v$ = ({
|
|
|
20772
20776
|
isErrored: r,
|
|
20773
20777
|
options: I,
|
|
20774
20778
|
onChange: (H) => {
|
|
20775
|
-
|
|
20779
|
+
O(H ? H.value : null);
|
|
20776
20780
|
},
|
|
20777
20781
|
placeholder: t.formatHTMLMessage({ id: "dateTime.month", defaultMessage: "Month" }),
|
|
20778
20782
|
suppressPlaceholder: !1,
|
|
@@ -20791,7 +20795,7 @@ const v$ = ({
|
|
|
20791
20795
|
min: 1,
|
|
20792
20796
|
max: 31,
|
|
20793
20797
|
name: `${m}-day`,
|
|
20794
|
-
onChange: (H) =>
|
|
20798
|
+
onChange: (H) => w(H.target.value),
|
|
20795
20799
|
onBlur: P,
|
|
20796
20800
|
pattern: "\\d*",
|
|
20797
20801
|
placeholder: t.formatHTMLMessage({ id: "dateTime.day", defaultMessage: "Day" }),
|
|
@@ -21011,7 +21015,7 @@ const XM = (e, t = void 0) => (vf(e) || []).length >= 2 && !t, M$ = ({
|
|
|
21011
21015
|
P.abort();
|
|
21012
21016
|
};
|
|
21013
21017
|
}, [I, S]);
|
|
21014
|
-
const
|
|
21018
|
+
const O = (P, j) => {
|
|
21015
21019
|
j(P ? {
|
|
21016
21020
|
id: P.value,
|
|
21017
21021
|
name: P.label
|
|
@@ -21027,7 +21031,7 @@ const XM = (e, t = void 0) => (vf(e) || []).length >= 2 && !t, M$ = ({
|
|
|
21027
21031
|
refId: "organization",
|
|
21028
21032
|
autoFocus: e,
|
|
21029
21033
|
options: d,
|
|
21030
|
-
onChange: (P) =>
|
|
21034
|
+
onChange: (P) => O(P, t),
|
|
21031
21035
|
value: d.find((P) => P.value === (r && r.value)),
|
|
21032
21036
|
placeholder: i || o.formatHTMLMessage({
|
|
21033
21037
|
id: "branchOfServicePlaceholder",
|
|
@@ -21215,7 +21219,7 @@ const N$ = QM, A$ = ({
|
|
|
21215
21219
|
value: "en-US",
|
|
21216
21220
|
label: "English"
|
|
21217
21221
|
}, a = (s) => {
|
|
21218
|
-
const o =
|
|
21222
|
+
const o = lt(
|
|
21219
21223
|
e.viewModel,
|
|
21220
21224
|
(i) => {
|
|
21221
21225
|
i.localeChoice = s;
|
|
@@ -21499,7 +21503,7 @@ const B$ = $d, V$ = (e, t, r) => {
|
|
|
21499
21503
|
isErrored: m,
|
|
21500
21504
|
ariaDescribedBy: g
|
|
21501
21505
|
}) => {
|
|
21502
|
-
const [v, b] = dn(""), [S, M] = dn([]), [I, E] = dn(0), [
|
|
21506
|
+
const [v, b] = dn(""), [S, M] = dn([]), [I, E] = dn(0), [O, w] = dn(0), [_, P] = dn(!1), [j, K] = dn(!0);
|
|
21503
21507
|
El(e);
|
|
21504
21508
|
const ee = (W) => W ? W.name : "", { isOpen: Q, highlightedIndex: U, getMenuProps: G, getItemProps: H, getInputProps: q } = ia({
|
|
21505
21509
|
itemToString: ee,
|
|
@@ -21510,9 +21514,9 @@ const B$ = $d, V$ = (e, t, r) => {
|
|
|
21510
21514
|
const z = W.inputValue;
|
|
21511
21515
|
K(!z);
|
|
21512
21516
|
try {
|
|
21513
|
-
|
|
21514
|
-
} catch (
|
|
21515
|
-
N.error(
|
|
21517
|
+
O === 0 && w(Date.now()), z.length < v.length && E(I + 1);
|
|
21518
|
+
} catch (C) {
|
|
21519
|
+
N.error(C);
|
|
21516
21520
|
}
|
|
21517
21521
|
b(z);
|
|
21518
21522
|
},
|
|
@@ -21524,8 +21528,8 @@ const B$ = $d, V$ = (e, t, r) => {
|
|
|
21524
21528
|
params: {
|
|
21525
21529
|
[Tr.QUERY_LENGTH]: v.length,
|
|
21526
21530
|
[Tr.NUMBER_REWORKS]: I,
|
|
21527
|
-
[Tr.SELECTED_RESULT_RANK]: S.findIndex((
|
|
21528
|
-
[Tr.EVENT_DURATION]: Date.now() -
|
|
21531
|
+
[Tr.SELECTED_RESULT_RANK]: S.findIndex((C) => C.id === W.id) + 1,
|
|
21532
|
+
[Tr.EVENT_DURATION]: Date.now() - O,
|
|
21529
21533
|
[Tr.NUMBER_OF_RESULTS]: S.length
|
|
21530
21534
|
}
|
|
21531
21535
|
};
|
|
@@ -21533,7 +21537,7 @@ const B$ = $d, V$ = (e, t, r) => {
|
|
|
21533
21537
|
} catch (z) {
|
|
21534
21538
|
N.error(z);
|
|
21535
21539
|
}
|
|
21536
|
-
|
|
21540
|
+
w(0), E(0), e(W);
|
|
21537
21541
|
}
|
|
21538
21542
|
}), X = () => {
|
|
21539
21543
|
try {
|
|
@@ -21542,7 +21546,7 @@ const B$ = $d, V$ = (e, t, r) => {
|
|
|
21542
21546
|
params: {
|
|
21543
21547
|
[Tr.QUERY_LENGTH]: v.length,
|
|
21544
21548
|
[Tr.NUMBER_REWORKS]: I,
|
|
21545
|
-
[Tr.EVENT_DURATION]: Date.now() -
|
|
21549
|
+
[Tr.EVENT_DURATION]: Date.now() - O,
|
|
21546
21550
|
[Tr.NUMBER_OF_RESULTS]: S.length
|
|
21547
21551
|
}
|
|
21548
21552
|
};
|
|
@@ -21551,7 +21555,7 @@ const B$ = $d, V$ = (e, t, r) => {
|
|
|
21551
21555
|
N.error(W);
|
|
21552
21556
|
}
|
|
21553
21557
|
}, we = Mt(null);
|
|
21554
|
-
|
|
21558
|
+
bt(() => {
|
|
21555
21559
|
zn("organization", we.current), _ && we.current.focus();
|
|
21556
21560
|
});
|
|
21557
21561
|
const re = (W) => {
|
|
@@ -21911,21 +21915,21 @@ var X$ = function(e) {
|
|
|
21911
21915
|
if (typeof E == "number") return E;
|
|
21912
21916
|
if (S(E)) return NaN;
|
|
21913
21917
|
if (b(E)) {
|
|
21914
|
-
var
|
|
21915
|
-
E = b(
|
|
21918
|
+
var O = typeof E.valueOf == "function" ? E.valueOf() : E;
|
|
21919
|
+
E = b(O) ? O + "" : O;
|
|
21916
21920
|
}
|
|
21917
21921
|
if (typeof E != "string") return E === 0 ? E : +E;
|
|
21918
21922
|
E = E.replace(a, "");
|
|
21919
|
-
var
|
|
21920
|
-
return
|
|
21923
|
+
var w = o.test(E);
|
|
21924
|
+
return w || i.test(E) ? l(E.slice(2), w ? 2 : 8) : s.test(E) ? NaN : +E;
|
|
21921
21925
|
}(I)) === 1 / 0 || I === -1 / 0 ? 17976931348623157e292 * (I < 0 ? -1 : 1) : I == I ? I : 0 : I === 0 ? I : 0;
|
|
21922
21926
|
}
|
|
21923
|
-
e.exports = function(I, E,
|
|
21924
|
-
var
|
|
21925
|
-
return I = (
|
|
21927
|
+
e.exports = function(I, E, O) {
|
|
21928
|
+
var w, _, P, j;
|
|
21929
|
+
return I = (w = I) == null ? "" : v(w), _ = function(K) {
|
|
21926
21930
|
var ee = M(K), Q = ee % 1;
|
|
21927
21931
|
return ee == ee ? Q ? ee - Q : ee : 0;
|
|
21928
|
-
}(
|
|
21932
|
+
}(O), P = 0, j = I.length, _ == _ && (j !== void 0 && (_ = _ <= j ? _ : j), P !== void 0 && (_ = _ >= P ? _ : P)), O = _, E = v(E), I.slice(O, O + E.length) == E;
|
|
21929
21933
|
};
|
|
21930
21934
|
}).call(this, r(3));
|
|
21931
21935
|
}, function(e, t) {
|
|
@@ -21949,14 +21953,14 @@ var X$ = function(e) {
|
|
|
21949
21953
|
this.set(q[0], q[1]);
|
|
21950
21954
|
}
|
|
21951
21955
|
}
|
|
21952
|
-
function
|
|
21956
|
+
function O(U) {
|
|
21953
21957
|
var G = -1, H = U ? U.length : 0;
|
|
21954
21958
|
for (this.clear(); ++G < H; ) {
|
|
21955
21959
|
var q = U[G];
|
|
21956
21960
|
this.set(q[0], q[1]);
|
|
21957
21961
|
}
|
|
21958
21962
|
}
|
|
21959
|
-
function
|
|
21963
|
+
function w(U) {
|
|
21960
21964
|
var G = -1, H = U ? U.length : 0;
|
|
21961
21965
|
for (this.clear(); ++G < H; ) {
|
|
21962
21966
|
var q = U[G];
|
|
@@ -22011,7 +22015,7 @@ var X$ = function(e) {
|
|
|
22011
22015
|
var re = U.apply(this, q);
|
|
22012
22016
|
return H.cache = we.set(X, re), re;
|
|
22013
22017
|
};
|
|
22014
|
-
return H.cache = new (ee.Cache ||
|
|
22018
|
+
return H.cache = new (ee.Cache || w)(), H;
|
|
22015
22019
|
}
|
|
22016
22020
|
function Q(U) {
|
|
22017
22021
|
var G = typeof U;
|
|
@@ -22033,30 +22037,30 @@ var X$ = function(e) {
|
|
|
22033
22037
|
return I ? G[U] !== void 0 : g.call(G, U);
|
|
22034
22038
|
}, E.prototype.set = function(U, G) {
|
|
22035
22039
|
return this.__data__[U] = I && G === void 0 ? "__lodash_hash_undefined__" : G, this;
|
|
22036
|
-
},
|
|
22040
|
+
}, O.prototype.clear = function() {
|
|
22037
22041
|
this.__data__ = [];
|
|
22038
|
-
},
|
|
22042
|
+
}, O.prototype.delete = function(U) {
|
|
22039
22043
|
var G = this.__data__, H = _(G, U);
|
|
22040
22044
|
return !(H < 0) && (H == G.length - 1 ? G.pop() : S.call(G, H, 1), !0);
|
|
22041
|
-
},
|
|
22045
|
+
}, O.prototype.get = function(U) {
|
|
22042
22046
|
var G = this.__data__, H = _(G, U);
|
|
22043
22047
|
return H < 0 ? void 0 : G[H][1];
|
|
22044
|
-
},
|
|
22048
|
+
}, O.prototype.has = function(U) {
|
|
22045
22049
|
return _(this.__data__, U) > -1;
|
|
22046
|
-
},
|
|
22050
|
+
}, O.prototype.set = function(U, G) {
|
|
22047
22051
|
var H = this.__data__, q = _(H, U);
|
|
22048
22052
|
return q < 0 ? H.push([U, G]) : H[q][1] = G, this;
|
|
22049
|
-
},
|
|
22050
|
-
this.__data__ = { hash: new E(), map: new (M ||
|
|
22051
|
-
},
|
|
22053
|
+
}, w.prototype.clear = function() {
|
|
22054
|
+
this.__data__ = { hash: new E(), map: new (M || O)(), string: new E() };
|
|
22055
|
+
}, w.prototype.delete = function(U) {
|
|
22052
22056
|
return j(this, U).delete(U);
|
|
22053
|
-
},
|
|
22057
|
+
}, w.prototype.get = function(U) {
|
|
22054
22058
|
return j(this, U).get(U);
|
|
22055
|
-
},
|
|
22059
|
+
}, w.prototype.has = function(U) {
|
|
22056
22060
|
return j(this, U).has(U);
|
|
22057
|
-
},
|
|
22061
|
+
}, w.prototype.set = function(U, G) {
|
|
22058
22062
|
return j(this, U).set(U, G), this;
|
|
22059
|
-
}, ee.Cache =
|
|
22063
|
+
}, ee.Cache = w, e.exports = ee;
|
|
22060
22064
|
}).call(this, r(3));
|
|
22061
22065
|
}, function(e, t, r) {
|
|
22062
22066
|
(function(n) {
|
|
@@ -22070,8 +22074,8 @@ var X$ = function(e) {
|
|
|
22070
22074
|
function b(S) {
|
|
22071
22075
|
if (typeof S == "number") return S;
|
|
22072
22076
|
if (function(E) {
|
|
22073
|
-
return typeof E == "symbol" || /* @__PURE__ */ function(
|
|
22074
|
-
return !!
|
|
22077
|
+
return typeof E == "symbol" || /* @__PURE__ */ function(O) {
|
|
22078
|
+
return !!O && typeof O == "object";
|
|
22075
22079
|
}(E) && p.call(E) == "[object Symbol]";
|
|
22076
22080
|
}(S)) return NaN;
|
|
22077
22081
|
if (v(S)) {
|
|
@@ -22084,40 +22088,40 @@ var X$ = function(e) {
|
|
|
22084
22088
|
return I || i.test(S) ? l(S.slice(2), I ? 2 : 8) : s.test(S) ? NaN : +S;
|
|
22085
22089
|
}
|
|
22086
22090
|
e.exports = function(S, M, I) {
|
|
22087
|
-
var E,
|
|
22091
|
+
var E, O, w, _, P, j, K = 0, ee = !1, Q = !1, U = !0;
|
|
22088
22092
|
if (typeof S != "function") throw new TypeError("Expected a function");
|
|
22089
22093
|
function G(Z) {
|
|
22090
|
-
var J = E, W =
|
|
22091
|
-
return E =
|
|
22094
|
+
var J = E, W = O;
|
|
22095
|
+
return E = O = void 0, K = Z, _ = S.apply(W, J);
|
|
22092
22096
|
}
|
|
22093
22097
|
function H(Z) {
|
|
22094
22098
|
return K = Z, P = setTimeout(X, M), ee ? G(Z) : _;
|
|
22095
22099
|
}
|
|
22096
22100
|
function q(Z) {
|
|
22097
22101
|
var J = Z - j;
|
|
22098
|
-
return j === void 0 || J >= M || J < 0 || Q && Z - K >=
|
|
22102
|
+
return j === void 0 || J >= M || J < 0 || Q && Z - K >= w;
|
|
22099
22103
|
}
|
|
22100
22104
|
function X() {
|
|
22101
22105
|
var Z = g();
|
|
22102
22106
|
if (q(Z)) return we(Z);
|
|
22103
22107
|
P = setTimeout(X, function(J) {
|
|
22104
22108
|
var W = M - (J - j);
|
|
22105
|
-
return Q ? m(W,
|
|
22109
|
+
return Q ? m(W, w - (J - K)) : W;
|
|
22106
22110
|
}(Z));
|
|
22107
22111
|
}
|
|
22108
22112
|
function we(Z) {
|
|
22109
|
-
return P = void 0, U && E ? G(Z) : (E =
|
|
22113
|
+
return P = void 0, U && E ? G(Z) : (E = O = void 0, _);
|
|
22110
22114
|
}
|
|
22111
22115
|
function re() {
|
|
22112
22116
|
var Z = g(), J = q(Z);
|
|
22113
|
-
if (E = arguments,
|
|
22117
|
+
if (E = arguments, O = this, j = Z, J) {
|
|
22114
22118
|
if (P === void 0) return H(j);
|
|
22115
22119
|
if (Q) return P = setTimeout(X, M), G(j);
|
|
22116
22120
|
}
|
|
22117
22121
|
return P === void 0 && (P = setTimeout(X, M)), _;
|
|
22118
22122
|
}
|
|
22119
|
-
return M = b(M) || 0, v(I) && (ee = !!I.leading,
|
|
22120
|
-
P !== void 0 && clearTimeout(P), K = 0, E = j =
|
|
22123
|
+
return M = b(M) || 0, v(I) && (ee = !!I.leading, w = (Q = "maxWait" in I) ? h(b(I.maxWait) || 0, M) : w, U = "trailing" in I ? !!I.trailing : U), re.cancel = function() {
|
|
22124
|
+
P !== void 0 && clearTimeout(P), K = 0, E = j = O = P = void 0;
|
|
22121
22125
|
}, re.flush = function() {
|
|
22122
22126
|
return P === void 0 ? _ : we(g());
|
|
22123
22127
|
}, re;
|
|
@@ -22127,12 +22131,12 @@ var X$ = function(e) {
|
|
|
22127
22131
|
(function(n, a) {
|
|
22128
22132
|
var s = "[object Arguments]", o = "[object Map]", i = "[object Object]", l = "[object Set]", c = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, d = /^\w*$/, f = /^\./, p = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, h = /\\(\\)?/g, m = /^\[object .+?Constructor\]$/, g = /^(?:0|[1-9]\d*)$/, v = {};
|
|
22129
22133
|
v["[object Float32Array]"] = v["[object Float64Array]"] = v["[object Int8Array]"] = v["[object Int16Array]"] = v["[object Int32Array]"] = v["[object Uint8Array]"] = v["[object Uint8ClampedArray]"] = v["[object Uint16Array]"] = v["[object Uint32Array]"] = !0, v[s] = v["[object Array]"] = v["[object ArrayBuffer]"] = v["[object Boolean]"] = v["[object DataView]"] = v["[object Date]"] = v["[object Error]"] = v["[object Function]"] = v[o] = v["[object Number]"] = v[i] = v["[object RegExp]"] = v[l] = v["[object String]"] = v["[object WeakMap]"] = !1;
|
|
22130
|
-
var b = typeof n == "object" && n && n.Object === Object && n, S = typeof self == "object" && self && self.Object === Object && self, M = b || S || Function("return this")(), I = t && !t.nodeType && t, E = I && typeof a == "object" && a && !a.nodeType && a,
|
|
22134
|
+
var b = typeof n == "object" && n && n.Object === Object && n, S = typeof self == "object" && self && self.Object === Object && self, M = b || S || Function("return this")(), I = t && !t.nodeType && t, E = I && typeof a == "object" && a && !a.nodeType && a, O = E && E.exports === I && b.process, w = function() {
|
|
22131
22135
|
try {
|
|
22132
|
-
return
|
|
22136
|
+
return O && O.binding("util");
|
|
22133
22137
|
} catch {
|
|
22134
22138
|
}
|
|
22135
|
-
}(), _ =
|
|
22139
|
+
}(), _ = w && w.isTypedArray;
|
|
22136
22140
|
function P(x, B, Y, ae) {
|
|
22137
22141
|
var Ce = -1, Pe = x ? x.length : 0;
|
|
22138
22142
|
for (ae && Pe && (Y = x[++Ce]); ++Ce < Pe; ) Y = B(Y, x[Ce], Ce, x);
|
|
@@ -22143,8 +22147,8 @@ var X$ = function(e) {
|
|
|
22143
22147
|
return !1;
|
|
22144
22148
|
}
|
|
22145
22149
|
function K(x, B, Y, ae, Ce) {
|
|
22146
|
-
return Ce(x, function(Pe, Ve,
|
|
22147
|
-
Y = ae ? (ae = !1, Pe) : B(Y, Pe, Ve,
|
|
22150
|
+
return Ce(x, function(Pe, Ve, gt) {
|
|
22151
|
+
Y = ae ? (ae = !1, Pe) : B(Y, Pe, Ve, gt);
|
|
22148
22152
|
}), Y;
|
|
22149
22153
|
}
|
|
22150
22154
|
function ee(x) {
|
|
@@ -22167,9 +22171,9 @@ var X$ = function(e) {
|
|
|
22167
22171
|
Y[++B] = ae;
|
|
22168
22172
|
}), Y;
|
|
22169
22173
|
}
|
|
22170
|
-
var G, H, q, X = Array.prototype, we = Function.prototype, re = Object.prototype, Z = M["__core-js_shared__"], J = (G = /[^.]+$/.exec(Z && Z.keys && Z.keys.IE_PROTO || "")) ? "Symbol(src)_1." + G : "", W = we.toString, z = re.hasOwnProperty,
|
|
22174
|
+
var G, H, q, X = Array.prototype, we = Function.prototype, re = Object.prototype, Z = M["__core-js_shared__"], J = (G = /[^.]+$/.exec(Z && Z.keys && Z.keys.IE_PROTO || "")) ? "Symbol(src)_1." + G : "", W = we.toString, z = re.hasOwnProperty, C = re.toString, be = RegExp("^" + W.call(z).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), he = M.Symbol, Se = M.Uint8Array, _e = re.propertyIsEnumerable, Re = X.splice, Fe = (H = Object.keys, q = Object, function(x) {
|
|
22171
22175
|
return H(q(x));
|
|
22172
|
-
}), Te = F(M, "DataView"), Be = F(M, "Map"), Ke = F(M, "Promise"), T = F(M, "Set"),
|
|
22176
|
+
}), Te = F(M, "DataView"), Be = F(M, "Map"), Ke = F(M, "Promise"), T = F(M, "Set"), L = F(M, "WeakMap"), V = F(Object, "create"), oe = Ne(Te), ne = Ne(Be), me = Ne(Ke), ie = Ne(T), Me = Ne(L), ce = he ? he.prototype : void 0, ye = ce ? ce.valueOf : void 0, ke = ce ? ce.toString : void 0;
|
|
22173
22177
|
function pe(x) {
|
|
22174
22178
|
var B = -1, Y = x ? x.length : 0;
|
|
22175
22179
|
for (this.clear(); ++B < Y; ) {
|
|
@@ -22199,8 +22203,8 @@ var X$ = function(e) {
|
|
|
22199
22203
|
this.__data__ = new xe(x);
|
|
22200
22204
|
}
|
|
22201
22205
|
function Zt(x, B) {
|
|
22202
|
-
var Y = _t(x) || Vr(x) ? function(Ve,
|
|
22203
|
-
for (var
|
|
22206
|
+
var Y = _t(x) || Vr(x) ? function(Ve, gt) {
|
|
22207
|
+
for (var yt = -1, st = Array(Ve); ++yt < Ve; ) st[yt] = gt(yt);
|
|
22204
22208
|
return st;
|
|
22205
22209
|
}(x.length, String) : [], ae = Y.length, Ce = !!ae;
|
|
22206
22210
|
for (var Pe in x) !z.call(x, Pe) || Ce && (Pe == "length" || de(Pe, ae)) || Y.push(Pe);
|
|
@@ -22279,9 +22283,9 @@ var X$ = function(e) {
|
|
|
22279
22283
|
return x;
|
|
22280
22284
|
}), In = /* @__PURE__ */ function(x) {
|
|
22281
22285
|
return function(B, Y, ae) {
|
|
22282
|
-
for (var Ce = -1, Pe = Object(B), Ve = ae(B),
|
|
22283
|
-
var
|
|
22284
|
-
if (Y(Pe[
|
|
22286
|
+
for (var Ce = -1, Pe = Object(B), Ve = ae(B), gt = Ve.length; gt--; ) {
|
|
22287
|
+
var yt = Ve[++Ce];
|
|
22288
|
+
if (Y(Pe[yt], yt, Pe) === !1) break;
|
|
22285
22289
|
}
|
|
22286
22290
|
return B;
|
|
22287
22291
|
};
|
|
@@ -22294,63 +22298,63 @@ var X$ = function(e) {
|
|
|
22294
22298
|
return x != null && B in Object(x);
|
|
22295
22299
|
}
|
|
22296
22300
|
function Kn(x, B, Y, ae, Ce) {
|
|
22297
|
-
return x === B || (x == null || B == null || !kr(x) && !ba(B) ? x != x && B != B : function(Pe, Ve,
|
|
22301
|
+
return x === B || (x == null || B == null || !kr(x) && !ba(B) ? x != x && B != B : function(Pe, Ve, gt, yt, st, Qe) {
|
|
22298
22302
|
var xr = _t(Pe), Ut = _t(Ve), Pt = "[object Array]", Nt = "[object Array]";
|
|
22299
22303
|
xr || (Pt = (Pt = $(Pe)) == s ? i : Pt), Ut || (Nt = (Nt = $(Ve)) == s ? i : Nt);
|
|
22300
22304
|
var Dr = Pt == i && !ee(Pe), Ia = Nt == i && !ee(Ve), Mn = Pt == Nt;
|
|
22301
|
-
if (Mn && !Dr) return Qe || (Qe = new Tt()), xr || No(Pe) ? y(Pe, Ve,
|
|
22305
|
+
if (Mn && !Dr) return Qe || (Qe = new Tt()), xr || No(Pe) ? y(Pe, Ve, gt, yt, st, Qe) : function(ut, rt, Bc, Yn, Ao, ir, sn) {
|
|
22302
22306
|
switch (Bc) {
|
|
22303
22307
|
case "[object DataView]":
|
|
22304
|
-
if (
|
|
22305
|
-
|
|
22308
|
+
if (ut.byteLength != rt.byteLength || ut.byteOffset != rt.byteOffset) return !1;
|
|
22309
|
+
ut = ut.buffer, rt = rt.buffer;
|
|
22306
22310
|
case "[object ArrayBuffer]":
|
|
22307
|
-
return !(
|
|
22311
|
+
return !(ut.byteLength != rt.byteLength || !Yn(new Se(ut), new Se(rt)));
|
|
22308
22312
|
case "[object Boolean]":
|
|
22309
22313
|
case "[object Date]":
|
|
22310
22314
|
case "[object Number]":
|
|
22311
|
-
return Rt(+
|
|
22315
|
+
return Rt(+ut, +rt);
|
|
22312
22316
|
case "[object Error]":
|
|
22313
|
-
return
|
|
22317
|
+
return ut.name == rt.name && ut.message == rt.message;
|
|
22314
22318
|
case "[object RegExp]":
|
|
22315
22319
|
case "[object String]":
|
|
22316
|
-
return
|
|
22320
|
+
return ut == rt + "";
|
|
22317
22321
|
case o:
|
|
22318
22322
|
var xn = Q;
|
|
22319
22323
|
case l:
|
|
22320
22324
|
var ms = 2 & ir;
|
|
22321
|
-
if (xn || (xn = U),
|
|
22322
|
-
var Oo = sn.get(
|
|
22325
|
+
if (xn || (xn = U), ut.size != rt.size && !ms) return !1;
|
|
22326
|
+
var Oo = sn.get(ut);
|
|
22323
22327
|
if (Oo) return Oo == rt;
|
|
22324
|
-
ir |= 1, sn.set(
|
|
22325
|
-
var Sa = y(xn(
|
|
22326
|
-
return sn.delete(
|
|
22328
|
+
ir |= 1, sn.set(ut, rt);
|
|
22329
|
+
var Sa = y(xn(ut), xn(rt), Yn, Ao, ir, sn);
|
|
22330
|
+
return sn.delete(ut), Sa;
|
|
22327
22331
|
case "[object Symbol]":
|
|
22328
|
-
if (ye) return ye.call(
|
|
22332
|
+
if (ye) return ye.call(ut) == ye.call(rt);
|
|
22329
22333
|
}
|
|
22330
22334
|
return !1;
|
|
22331
|
-
}(Pe, Ve, Pt,
|
|
22335
|
+
}(Pe, Ve, Pt, gt, yt, st, Qe);
|
|
22332
22336
|
if (!(2 & st)) {
|
|
22333
22337
|
var $p = Dr && z.call(Pe, "__wrapped__"), Bp = Ia && z.call(Ve, "__wrapped__");
|
|
22334
22338
|
if ($p || Bp) {
|
|
22335
22339
|
var Zx = $p ? Pe.value() : Pe, Jx = Bp ? Ve.value() : Ve;
|
|
22336
|
-
return Qe || (Qe = new Tt()),
|
|
22340
|
+
return Qe || (Qe = new Tt()), gt(Zx, Jx, yt, st, Qe);
|
|
22337
22341
|
}
|
|
22338
22342
|
}
|
|
22339
|
-
return Mn ? (Qe || (Qe = new Tt()), function(
|
|
22340
|
-
var sn = 2 & Ao, xn = an(
|
|
22343
|
+
return Mn ? (Qe || (Qe = new Tt()), function(ut, rt, Bc, Yn, Ao, ir) {
|
|
22344
|
+
var sn = 2 & Ao, xn = an(ut), ms = xn.length, Oo = an(rt).length;
|
|
22341
22345
|
if (ms != Oo && !sn) return !1;
|
|
22342
22346
|
for (var Sa = ms; Sa--; ) {
|
|
22343
22347
|
var En = xn[Sa];
|
|
22344
22348
|
if (!(sn ? En in rt : z.call(rt, En))) return !1;
|
|
22345
22349
|
}
|
|
22346
|
-
var Vp = ir.get(
|
|
22350
|
+
var Vp = ir.get(ut);
|
|
22347
22351
|
if (Vp && ir.get(rt)) return Vp == rt;
|
|
22348
22352
|
var Lo = !0;
|
|
22349
|
-
ir.set(
|
|
22353
|
+
ir.set(ut, rt), ir.set(rt, ut);
|
|
22350
22354
|
for (var Vc = sn; ++Sa < ms; ) {
|
|
22351
22355
|
En = xn[Sa];
|
|
22352
|
-
var ko =
|
|
22353
|
-
if (Yn) var Hp = sn ? Yn(Do, ko, En, rt,
|
|
22356
|
+
var ko = ut[En], Do = rt[En];
|
|
22357
|
+
if (Yn) var Hp = sn ? Yn(Do, ko, En, rt, ut, ir) : Yn(ko, Do, En, ut, rt, ir);
|
|
22354
22358
|
if (!(Hp === void 0 ? ko === Do || Bc(ko, Do, Yn, Ao, ir) : Hp)) {
|
|
22355
22359
|
Lo = !1;
|
|
22356
22360
|
break;
|
|
@@ -22358,11 +22362,11 @@ var X$ = function(e) {
|
|
|
22358
22362
|
Vc || (Vc = En == "constructor");
|
|
22359
22363
|
}
|
|
22360
22364
|
if (Lo && !Vc) {
|
|
22361
|
-
var _o =
|
|
22362
|
-
_o == Uo || !("constructor" in
|
|
22365
|
+
var _o = ut.constructor, Uo = rt.constructor;
|
|
22366
|
+
_o == Uo || !("constructor" in ut) || !("constructor" in rt) || typeof _o == "function" && _o instanceof _o && typeof Uo == "function" && Uo instanceof Uo || (Lo = !1);
|
|
22363
22367
|
}
|
|
22364
|
-
return ir.delete(
|
|
22365
|
-
}(Pe, Ve,
|
|
22368
|
+
return ir.delete(ut), ir.delete(rt), Lo;
|
|
22369
|
+
}(Pe, Ve, gt, yt, st, Qe)) : !1;
|
|
22366
22370
|
}(x, B, Kn, Y, ae, Ce));
|
|
22367
22371
|
}
|
|
22368
22372
|
function nn(x) {
|
|
@@ -22373,12 +22377,12 @@ var X$ = function(e) {
|
|
|
22373
22377
|
function ya(x) {
|
|
22374
22378
|
return typeof x == "function" ? x : x == null ? $c : typeof x == "object" ? _t(x) ? function(ae, Ce) {
|
|
22375
22379
|
return ue(ae) && ge(Ce) ? Oe(It(ae), Ce) : function(Pe) {
|
|
22376
|
-
var Ve = function(
|
|
22377
|
-
var Qe =
|
|
22380
|
+
var Ve = function(gt, yt, st) {
|
|
22381
|
+
var Qe = gt == null ? void 0 : qn(gt, yt);
|
|
22378
22382
|
return Qe === void 0 ? st : Qe;
|
|
22379
22383
|
}(Pe, ae);
|
|
22380
|
-
return Ve === void 0 && Ve === Ce ? function(
|
|
22381
|
-
return
|
|
22384
|
+
return Ve === void 0 && Ve === Ce ? function(gt, yt) {
|
|
22385
|
+
return gt != null && function(st, Qe, xr) {
|
|
22382
22386
|
Qe = ue(Qe, st) ? [Qe] : Or(Qe);
|
|
22383
22387
|
for (var Ut, Pt = -1, Nt = Qe.length; ++Pt < Nt; ) {
|
|
22384
22388
|
var Dr = It(Qe[Pt]);
|
|
@@ -22386,27 +22390,27 @@ var X$ = function(e) {
|
|
|
22386
22390
|
st = st[Dr];
|
|
22387
22391
|
}
|
|
22388
22392
|
return Ut || !!(Nt = st ? st.length : 0) && Sn(Nt) && de(Dr, Nt) && (_t(st) || Vr(st));
|
|
22389
|
-
}(
|
|
22393
|
+
}(gt, yt, ps);
|
|
22390
22394
|
}(Pe, ae) : Kn(Ce, Ve, void 0, 3);
|
|
22391
22395
|
};
|
|
22392
22396
|
}(x[0], x[1]) : function(ae) {
|
|
22393
22397
|
var Ce = function(Pe) {
|
|
22394
|
-
for (var Ve = an(Pe),
|
|
22395
|
-
var
|
|
22396
|
-
Ve[
|
|
22398
|
+
for (var Ve = an(Pe), gt = Ve.length; gt--; ) {
|
|
22399
|
+
var yt = Ve[gt], st = Pe[yt];
|
|
22400
|
+
Ve[gt] = [yt, st, ge(st)];
|
|
22397
22401
|
}
|
|
22398
22402
|
return Ve;
|
|
22399
22403
|
}(ae);
|
|
22400
22404
|
return Ce.length == 1 && Ce[0][2] ? Oe(Ce[0][0], Ce[0][1]) : function(Pe) {
|
|
22401
|
-
return Pe === ae || function(Ve,
|
|
22402
|
-
var Qe =
|
|
22405
|
+
return Pe === ae || function(Ve, gt, yt, st) {
|
|
22406
|
+
var Qe = yt.length, xr = Qe;
|
|
22403
22407
|
if (Ve == null) return !xr;
|
|
22404
22408
|
for (Ve = Object(Ve); Qe--; ) {
|
|
22405
|
-
var Ut =
|
|
22409
|
+
var Ut = yt[Qe];
|
|
22406
22410
|
if (Ut[2] ? Ut[1] !== Ve[Ut[0]] : !(Ut[0] in Ve)) return !1;
|
|
22407
22411
|
}
|
|
22408
22412
|
for (; ++Qe < xr; ) {
|
|
22409
|
-
var Pt = (Ut =
|
|
22413
|
+
var Pt = (Ut = yt[Qe])[0], Nt = Ve[Pt], Dr = Ut[1];
|
|
22410
22414
|
if (Ut[2]) {
|
|
22411
22415
|
if (Nt === void 0 && !(Pt in Ve)) return !1;
|
|
22412
22416
|
} else {
|
|
@@ -22436,12 +22440,12 @@ var X$ = function(e) {
|
|
|
22436
22440
|
return _t(x) ? x : et(x);
|
|
22437
22441
|
}
|
|
22438
22442
|
function y(x, B, Y, ae, Ce, Pe) {
|
|
22439
|
-
var Ve = 2 & Ce,
|
|
22440
|
-
if (
|
|
22443
|
+
var Ve = 2 & Ce, gt = x.length, yt = B.length;
|
|
22444
|
+
if (gt != yt && !(Ve && yt > gt)) return !1;
|
|
22441
22445
|
var st = Pe.get(x);
|
|
22442
22446
|
if (st && Pe.get(B)) return st == B;
|
|
22443
22447
|
var Qe = -1, xr = !0, Ut = 1 & Ce ? new Dt() : void 0;
|
|
22444
|
-
for (Pe.set(x, B), Pe.set(B, x); ++Qe <
|
|
22448
|
+
for (Pe.set(x, B), Pe.set(B, x); ++Qe < gt; ) {
|
|
22445
22449
|
var Pt = x[Qe], Nt = B[Qe];
|
|
22446
22450
|
if (ae) var Dr = Ve ? ae(Nt, Pt, Qe, B, x, Pe) : ae(Pt, Nt, Qe, x, B, Pe);
|
|
22447
22451
|
if (Dr !== void 0) {
|
|
@@ -22474,7 +22478,7 @@ var X$ = function(e) {
|
|
|
22474
22478
|
return nn(Y) ? Y : void 0;
|
|
22475
22479
|
}
|
|
22476
22480
|
var $ = function(x) {
|
|
22477
|
-
return
|
|
22481
|
+
return C.call(x);
|
|
22478
22482
|
};
|
|
22479
22483
|
function de(x, B) {
|
|
22480
22484
|
return !!(B = B ?? 9007199254740991) && (typeof x == "number" || g.test(x)) && x > -1 && x % 1 == 0 && x < B;
|
|
@@ -22492,8 +22496,8 @@ var X$ = function(e) {
|
|
|
22492
22496
|
return Y != null && Y[x] === B && (B !== void 0 || x in Object(Y));
|
|
22493
22497
|
};
|
|
22494
22498
|
}
|
|
22495
|
-
(Te && $(new Te(new ArrayBuffer(1))) != "[object DataView]" || Be && $(new Be()) != o || Ke && $(Ke.resolve()) != "[object Promise]" || T && $(new T()) != l ||
|
|
22496
|
-
var B =
|
|
22499
|
+
(Te && $(new Te(new ArrayBuffer(1))) != "[object DataView]" || Be && $(new Be()) != o || Ke && $(Ke.resolve()) != "[object Promise]" || T && $(new T()) != l || L && $(new L()) != "[object WeakMap]") && ($ = function(x) {
|
|
22500
|
+
var B = C.call(x), Y = B == i ? x.constructor : void 0, ae = Y ? Ne(Y) : void 0;
|
|
22497
22501
|
if (ae) switch (ae) {
|
|
22498
22502
|
case oe:
|
|
22499
22503
|
return "[object DataView]";
|
|
@@ -22555,7 +22559,7 @@ var X$ = function(e) {
|
|
|
22555
22559
|
function Vr(x) {
|
|
22556
22560
|
return function(B) {
|
|
22557
22561
|
return ba(B) && Lr(B);
|
|
22558
|
-
}(x) && z.call(x, "callee") && (!_e.call(x, "callee") ||
|
|
22562
|
+
}(x) && z.call(x, "callee") && (!_e.call(x, "callee") || C.call(x) == s);
|
|
22559
22563
|
}
|
|
22560
22564
|
Mr.Cache = Je;
|
|
22561
22565
|
var _t = Array.isArray;
|
|
@@ -22563,7 +22567,7 @@ var X$ = function(e) {
|
|
|
22563
22567
|
return x != null && Sn(x.length) && !va(x);
|
|
22564
22568
|
}
|
|
22565
22569
|
function va(x) {
|
|
22566
|
-
var B = kr(x) ?
|
|
22570
|
+
var B = kr(x) ? C.call(x) : "";
|
|
22567
22571
|
return B == "[object Function]" || B == "[object GeneratorFunction]";
|
|
22568
22572
|
}
|
|
22569
22573
|
function Sn(x) {
|
|
@@ -22577,14 +22581,14 @@ var X$ = function(e) {
|
|
|
22577
22581
|
return !!x && typeof x == "object";
|
|
22578
22582
|
}
|
|
22579
22583
|
function hs(x) {
|
|
22580
|
-
return typeof x == "symbol" || ba(x) &&
|
|
22584
|
+
return typeof x == "symbol" || ba(x) && C.call(x) == "[object Symbol]";
|
|
22581
22585
|
}
|
|
22582
22586
|
var No = _ ? /* @__PURE__ */ function(x) {
|
|
22583
22587
|
return function(B) {
|
|
22584
22588
|
return x(B);
|
|
22585
22589
|
};
|
|
22586
22590
|
}(_) : function(x) {
|
|
22587
|
-
return ba(x) && Sn(x.length) && !!v[
|
|
22591
|
+
return ba(x) && Sn(x.length) && !!v[C.call(x)];
|
|
22588
22592
|
};
|
|
22589
22593
|
function an(x) {
|
|
22590
22594
|
return Lr(x) ? Zt(x) : Fc(x);
|
|
@@ -22671,18 +22675,18 @@ var X$ = function(e) {
|
|
|
22671
22675
|
})(re, Z);
|
|
22672
22676
|
}
|
|
22673
22677
|
r.r(t);
|
|
22674
|
-
var g = r(0), v = r.n(g), b = r(5), S = r.n(b), M = r(4), I = r.n(M), E = r(6),
|
|
22678
|
+
var g = r(0), v = r.n(g), b = r(5), S = r.n(b), M = r(4), I = r.n(M), E = r(6), O = r.n(E), w = r(2), _ = r.n(w), P = r(1), j = r.n(P);
|
|
22675
22679
|
r(8);
|
|
22676
22680
|
function K(re, Z) {
|
|
22677
22681
|
return o(re) || function(J, W) {
|
|
22678
|
-
var z = [],
|
|
22682
|
+
var z = [], C = !0, be = !1, he = void 0;
|
|
22679
22683
|
try {
|
|
22680
|
-
for (var Se, _e = J[Symbol.iterator](); !(
|
|
22684
|
+
for (var Se, _e = J[Symbol.iterator](); !(C = (Se = _e.next()).done) && (z.push(Se.value), !W || z.length !== W); C = !0) ;
|
|
22681
22685
|
} catch (Re) {
|
|
22682
22686
|
be = !0, he = Re;
|
|
22683
22687
|
} finally {
|
|
22684
22688
|
try {
|
|
22685
|
-
|
|
22689
|
+
C || _e.return == null || _e.return();
|
|
22686
22690
|
} finally {
|
|
22687
22691
|
if (be) throw he;
|
|
22688
22692
|
}
|
|
@@ -22695,16 +22699,16 @@ var X$ = function(e) {
|
|
|
22695
22699
|
return !J || z ? re + "".padEnd(Z.length, ".") + " " + W : re + "".padEnd(Z.length, ".") + " " + J;
|
|
22696
22700
|
}
|
|
22697
22701
|
function G(re, Z, J, W, z) {
|
|
22698
|
-
var
|
|
22699
|
-
return be = Z === !0, [(
|
|
22702
|
+
var C, be, he = [];
|
|
22703
|
+
return be = Z === !0, [(C = []).concat.apply(C, s(re.map(function(Se) {
|
|
22700
22704
|
var _e = { name: Se[0], regions: Se[1], iso2: Se[2], countryCode: Se[3], dialCode: Se[3], format: U(J, Se[3], Se[4], W, z), priority: Se[5] || 0 }, Re = [];
|
|
22701
22705
|
return Se[6] && Se[6].map(function(Fe) {
|
|
22702
22706
|
var Te = function(Be) {
|
|
22703
22707
|
for (var Ke = 1; Ke < arguments.length; Ke++) {
|
|
22704
|
-
var T = arguments[Ke] != null ? arguments[Ke] : {},
|
|
22705
|
-
typeof Object.getOwnPropertySymbols == "function" && (
|
|
22708
|
+
var T = arguments[Ke] != null ? arguments[Ke] : {}, L = Object.keys(T);
|
|
22709
|
+
typeof Object.getOwnPropertySymbols == "function" && (L = L.concat(Object.getOwnPropertySymbols(T).filter(function(V) {
|
|
22706
22710
|
return Object.getOwnPropertyDescriptor(T, V).enumerable;
|
|
22707
|
-
}))),
|
|
22711
|
+
}))), L.forEach(function(V) {
|
|
22708
22712
|
n(Be, V, T[V]);
|
|
22709
22713
|
});
|
|
22710
22714
|
}
|
|
@@ -22716,30 +22720,30 @@ var X$ = function(e) {
|
|
|
22716
22720
|
}
|
|
22717
22721
|
function H(re, Z, J, W) {
|
|
22718
22722
|
if (J !== null) {
|
|
22719
|
-
var z = Object.keys(J),
|
|
22723
|
+
var z = Object.keys(J), C = Object.values(J);
|
|
22720
22724
|
z.forEach(function(be, he) {
|
|
22721
|
-
if (W) return re.push([be,
|
|
22725
|
+
if (W) return re.push([be, C[he]]);
|
|
22722
22726
|
var Se = re.findIndex(function(Re) {
|
|
22723
22727
|
return Re[0] === be;
|
|
22724
22728
|
});
|
|
22725
22729
|
if (Se === -1) {
|
|
22726
22730
|
var _e = [be];
|
|
22727
|
-
_e[Z] =
|
|
22728
|
-
} else re[Se][Z] =
|
|
22731
|
+
_e[Z] = C[he], re.push(_e);
|
|
22732
|
+
} else re[Se][Z] = C[he];
|
|
22729
22733
|
});
|
|
22730
22734
|
}
|
|
22731
22735
|
}
|
|
22732
22736
|
function q(re, Z) {
|
|
22733
22737
|
return Z.length === 0 ? re : re.map(function(J) {
|
|
22734
|
-
var W = Z.findIndex(function(
|
|
22735
|
-
return
|
|
22738
|
+
var W = Z.findIndex(function(C) {
|
|
22739
|
+
return C[0] === J[2];
|
|
22736
22740
|
});
|
|
22737
22741
|
if (W === -1) return J;
|
|
22738
22742
|
var z = Z[W];
|
|
22739
22743
|
return z[1] && (J[4] = z[1]), z[3] && (J[5] = z[3]), z[2] && (J[6] = z[2]), J;
|
|
22740
22744
|
});
|
|
22741
22745
|
}
|
|
22742
|
-
var X = function re(Z, J, W, z,
|
|
22746
|
+
var X = function re(Z, J, W, z, C, be, he, Se, _e, Re, Fe, Te, Be, Ke) {
|
|
22743
22747
|
l(this, re), this.filterRegions = function(ce, ye) {
|
|
22744
22748
|
if (typeof ce == "string") {
|
|
22745
22749
|
var ke = ce;
|
|
@@ -22795,197 +22799,197 @@ var X$ = function(e) {
|
|
|
22795
22799
|
var T = function(ce, ye, ke) {
|
|
22796
22800
|
var pe = [];
|
|
22797
22801
|
return H(pe, 1, ce, !0), H(pe, 3, ye), H(pe, 2, ke), pe;
|
|
22798
|
-
}(Se, _e, Re),
|
|
22802
|
+
}(Se, _e, Re), L = q(JSON.parse(JSON.stringify(ee)), T), V = q(JSON.parse(JSON.stringify(Q)), T), oe = K(G(L, Z, Te, Be, Ke), 2), ne = oe[0], me = oe[1];
|
|
22799
22803
|
if (J) {
|
|
22800
22804
|
var ie = K(G(V, Z, Te, Be, Ke), 2), Me = ie[0];
|
|
22801
22805
|
ie[1], ne = this.sortTerritories(Me, ne);
|
|
22802
22806
|
}
|
|
22803
|
-
W && (ne = this.filterRegions(W, ne)), this.onlyCountries = this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(z, ne, he.includes("onlyCountries")), be), Fe, he.includes("onlyCountries")), this.preferredCountries =
|
|
22807
|
+
W && (ne = this.filterRegions(W, ne)), this.onlyCountries = this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(z, ne, he.includes("onlyCountries")), be), Fe, he.includes("onlyCountries")), this.preferredCountries = C.length === 0 ? [] : this.localizeCountries(this.getFilteredCountryList(C, ne, he.includes("preferredCountries")), Fe, he.includes("preferredCountries")), this.hiddenAreaCodes = this.excludeCountries(this.getFilteredCountryList(z, me), be);
|
|
22804
22808
|
}, we = function(re) {
|
|
22805
22809
|
function Z(z) {
|
|
22806
|
-
var
|
|
22807
|
-
l(this, Z), (
|
|
22808
|
-
return !
|
|
22810
|
+
var C;
|
|
22811
|
+
l(this, Z), (C = function(T, L) {
|
|
22812
|
+
return !L || f(L) !== "object" && typeof L != "function" ? p(T) : L;
|
|
22809
22813
|
}(this, h(Z).call(this, z))).getProbableCandidate = I()(function(T) {
|
|
22810
|
-
return T && T.length !== 0 ?
|
|
22811
|
-
return _()(
|
|
22812
|
-
}, p(p(
|
|
22813
|
-
}),
|
|
22814
|
+
return T && T.length !== 0 ? C.state.onlyCountries.filter(function(L) {
|
|
22815
|
+
return _()(L.name.toLowerCase(), T.toLowerCase());
|
|
22816
|
+
}, p(p(C)))[0] : null;
|
|
22817
|
+
}), C.guessSelectedCountry = I()(function(T, L, V, oe) {
|
|
22814
22818
|
var ne;
|
|
22815
|
-
if (
|
|
22819
|
+
if (C.props.enableAreaCodes === !1 && (oe.some(function(Me) {
|
|
22816
22820
|
if (_()(T, Me.dialCode)) return V.some(function(ce) {
|
|
22817
22821
|
if (Me.iso2 === ce.iso2 && ce.mainCode) return ne = ce, !0;
|
|
22818
22822
|
}), !0;
|
|
22819
22823
|
}), ne)) return ne;
|
|
22820
22824
|
var me = V.find(function(Me) {
|
|
22821
|
-
return Me.iso2 ==
|
|
22825
|
+
return Me.iso2 == L;
|
|
22822
22826
|
});
|
|
22823
22827
|
if (T.trim() === "") return me;
|
|
22824
22828
|
var ie = V.reduce(function(Me, ce) {
|
|
22825
22829
|
return _()(T, ce.dialCode) && (ce.dialCode.length > Me.dialCode.length || ce.dialCode.length === Me.dialCode.length && ce.priority < Me.priority) ? ce : Me;
|
|
22826
|
-
}, { dialCode: "", priority: 10001 }, p(p(
|
|
22830
|
+
}, { dialCode: "", priority: 10001 }, p(p(C)));
|
|
22827
22831
|
return ie.name ? ie : me;
|
|
22828
|
-
}),
|
|
22829
|
-
var
|
|
22830
|
-
(
|
|
22832
|
+
}), C.updateCountry = function(T) {
|
|
22833
|
+
var L, V = C.state.onlyCountries;
|
|
22834
|
+
(L = T.indexOf(0) >= "0" && T.indexOf(0) <= "9" ? V.find(function(oe) {
|
|
22831
22835
|
return oe.dialCode == +T;
|
|
22832
22836
|
}) : V.find(function(oe) {
|
|
22833
22837
|
return oe.iso2 == T;
|
|
22834
|
-
})) &&
|
|
22835
|
-
},
|
|
22838
|
+
})) && L.dialCode && C.setState({ selectedCountry: L, formattedNumber: C.props.disableCountryCode ? "" : C.formatNumber(L.dialCode, L) });
|
|
22839
|
+
}, C.scrollTo = function(T, L) {
|
|
22836
22840
|
if (T) {
|
|
22837
|
-
var V =
|
|
22841
|
+
var V = C.dropdownRef;
|
|
22838
22842
|
if (V && document.body) {
|
|
22839
22843
|
var oe = V.offsetHeight, ne = V.getBoundingClientRect().top + document.body.scrollTop, me = ne + oe, ie = T, Me = ie.getBoundingClientRect(), ce = ie.offsetHeight, ye = Me.top + document.body.scrollTop, ke = ye + ce, pe = ye - ne + V.scrollTop, xe = oe / 2 - ce / 2;
|
|
22840
|
-
if (
|
|
22844
|
+
if (C.props.enableSearch ? ye < ne + 32 : ye < ne) L && (pe -= xe), V.scrollTop = pe;
|
|
22841
22845
|
else if (ke > me) {
|
|
22842
|
-
|
|
22846
|
+
L && (pe += xe);
|
|
22843
22847
|
var Je = oe - ce;
|
|
22844
22848
|
V.scrollTop = pe - Je;
|
|
22845
22849
|
}
|
|
22846
22850
|
}
|
|
22847
22851
|
}
|
|
22848
|
-
},
|
|
22849
|
-
var T =
|
|
22852
|
+
}, C.scrollToTop = function() {
|
|
22853
|
+
var T = C.dropdownRef;
|
|
22850
22854
|
T && document.body && (T.scrollTop = 0);
|
|
22851
|
-
},
|
|
22852
|
-
if (!
|
|
22853
|
-
var V, oe =
|
|
22854
|
-
if (me ? ((V = oe.split(" ")).shift(), V = V.join(" ")) : ie &&
|
|
22855
|
-
if (T && T.length < 2 || !V || !ce) return me ? T :
|
|
22856
|
-
var ye, ke =
|
|
22855
|
+
}, C.formatNumber = function(T, L) {
|
|
22856
|
+
if (!L) return T;
|
|
22857
|
+
var V, oe = L.format, ne = C.props, me = ne.disableCountryCode, ie = ne.enableAreaCodeStretch, Me = ne.enableLongNumbers, ce = ne.autoFormat;
|
|
22858
|
+
if (me ? ((V = oe.split(" ")).shift(), V = V.join(" ")) : ie && L.isAreaCode ? ((V = oe.split(" "))[1] = V[1].replace(/\.+/, "".padEnd(L.areaCodeLength, ".")), V = V.join(" ")) : V = oe, !T || T.length === 0) return me ? "" : C.props.prefix;
|
|
22859
|
+
if (T && T.length < 2 || !V || !ce) return me ? T : C.props.prefix + T;
|
|
22860
|
+
var ye, ke = O()(V, function(pe, xe) {
|
|
22857
22861
|
if (pe.remainingText.length === 0) return pe;
|
|
22858
22862
|
if (xe !== ".") return { formattedText: pe.formattedText + xe, remainingText: pe.remainingText };
|
|
22859
22863
|
var Je, Dt = o(Je = pe.remainingText) || a(Je) || i(), Tt = Dt[0], Zt = Dt.slice(1);
|
|
22860
22864
|
return { formattedText: pe.formattedText + Tt, remainingText: Zt };
|
|
22861
22865
|
}, { formattedText: "", remainingText: T.split("") });
|
|
22862
22866
|
return (ye = Me ? ke.formattedText + ke.remainingText.join("") : ke.formattedText).includes("(") && !ye.includes(")") && (ye += ")"), ye;
|
|
22863
|
-
},
|
|
22864
|
-
var T =
|
|
22867
|
+
}, C.cursorToEnd = function() {
|
|
22868
|
+
var T = C.numberInputRef;
|
|
22865
22869
|
if (document.activeElement === T) {
|
|
22866
22870
|
T.focus();
|
|
22867
|
-
var
|
|
22868
|
-
T.value.charAt(
|
|
22871
|
+
var L = T.value.length;
|
|
22872
|
+
T.value.charAt(L - 1) === ")" && (L -= 1), T.setSelectionRange(L, L);
|
|
22869
22873
|
}
|
|
22870
|
-
},
|
|
22871
|
-
return
|
|
22872
|
-
},
|
|
22873
|
-
return
|
|
22874
|
-
},
|
|
22875
|
-
if (T.preventDefault(),
|
|
22876
|
-
var
|
|
22874
|
+
}, C.getElement = function(T) {
|
|
22875
|
+
return C["flag_no_".concat(T)];
|
|
22876
|
+
}, C.getCountryData = function() {
|
|
22877
|
+
return C.state.selectedCountry ? { name: C.state.selectedCountry.name || "", dialCode: C.state.selectedCountry.dialCode || "", countryCode: C.state.selectedCountry.iso2 || "", format: C.state.selectedCountry.format || "" } : {};
|
|
22878
|
+
}, C.handleFlagDropdownClick = function(T) {
|
|
22879
|
+
if (T.preventDefault(), C.state.showDropdown || !C.props.disabled) {
|
|
22880
|
+
var L = C.state, V = L.preferredCountries, oe = L.onlyCountries, ne = L.selectedCountry, me = C.concatPreferredCountries(V, oe).findIndex(function(ie) {
|
|
22877
22881
|
return ie.dialCode === ne.dialCode && ie.iso2 === ne.iso2;
|
|
22878
22882
|
});
|
|
22879
|
-
|
|
22880
|
-
|
|
22883
|
+
C.setState({ showDropdown: !C.state.showDropdown, highlightCountryIndex: me }, function() {
|
|
22884
|
+
C.state.showDropdown && C.scrollTo(C.getElement(C.state.highlightCountryIndex));
|
|
22881
22885
|
});
|
|
22882
22886
|
}
|
|
22883
|
-
},
|
|
22884
|
-
var
|
|
22885
|
-
if (!
|
|
22886
|
-
var ce = oe + (ie.hasAreaCodes ?
|
|
22887
|
+
}, C.handleInput = function(T) {
|
|
22888
|
+
var L = T.target.value, V = C.props, oe = V.prefix, ne = V.onChange, me = C.props.disableCountryCode ? "" : oe, ie = C.state.selectedCountry, Me = C.state.freezeSelection;
|
|
22889
|
+
if (!C.props.countryCodeEditable) {
|
|
22890
|
+
var ce = oe + (ie.hasAreaCodes ? C.state.onlyCountries.find(function(xt) {
|
|
22887
22891
|
return xt.iso2 === ie.iso2 && xt.mainCode;
|
|
22888
22892
|
}).dialCode : ie.dialCode);
|
|
22889
|
-
if (
|
|
22893
|
+
if (L.slice(0, ce.length) !== ce) return;
|
|
22890
22894
|
}
|
|
22891
|
-
if (
|
|
22892
|
-
if (!(
|
|
22895
|
+
if (L === oe) return ne && ne("", C.getCountryData(), T, ""), C.setState({ formattedNumber: "" });
|
|
22896
|
+
if (!(L.replace(/\D/g, "").length > 15 && (C.props.enableLongNumbers === !1 || typeof C.props.enableLongNumbers == "number" && L.replace(/\D/g, "").length > C.props.enableLongNumbers)) && L !== C.state.formattedNumber) {
|
|
22893
22897
|
T.preventDefault ? T.preventDefault() : T.returnValue = !1;
|
|
22894
|
-
var ye =
|
|
22895
|
-
if (ne && T.persist(),
|
|
22896
|
-
var Dt =
|
|
22897
|
-
(!
|
|
22898
|
+
var ye = C.props.country, ke = C.state, pe = ke.onlyCountries, xe = ke.selectedCountry, Je = ke.hiddenAreaCodes;
|
|
22899
|
+
if (ne && T.persist(), L.length > 0) {
|
|
22900
|
+
var Dt = L.replace(/\D/g, "");
|
|
22901
|
+
(!C.state.freezeSelection || xe && xe.dialCode.length > Dt.length) && (ie = C.props.disableCountryGuess ? xe : C.guessSelectedCountry(Dt.substring(0, 6), ye, pe, Je) || xe, Me = !1), me = C.formatNumber(Dt, ie), ie = ie.dialCode ? ie : xe;
|
|
22898
22902
|
}
|
|
22899
|
-
var Tt = T.target.selectionStart, Zt = T.target.selectionStart, or =
|
|
22900
|
-
|
|
22901
|
-
rn > 0 && (Zt -= rn), me.charAt(me.length - 1) == ")" ?
|
|
22903
|
+
var Tt = T.target.selectionStart, Zt = T.target.selectionStart, or = C.state.formattedNumber, rn = me.length - or.length;
|
|
22904
|
+
C.setState({ formattedNumber: me, freezeSelection: Me, selectedCountry: ie }, function() {
|
|
22905
|
+
rn > 0 && (Zt -= rn), me.charAt(me.length - 1) == ")" ? C.numberInputRef.setSelectionRange(me.length - 1, me.length - 1) : Zt > 0 && or.length >= me.length ? C.numberInputRef.setSelectionRange(Zt, Zt) : Tt < or.length && C.numberInputRef.setSelectionRange(Tt, Tt), ne && ne(me.replace(/[^0-9]+/g, ""), C.getCountryData(), T, me);
|
|
22902
22906
|
});
|
|
22903
22907
|
}
|
|
22904
|
-
},
|
|
22905
|
-
|
|
22906
|
-
},
|
|
22907
|
-
var
|
|
22908
|
-
T.target.setSelectionRange(0,
|
|
22909
|
-
},
|
|
22910
|
-
var V =
|
|
22908
|
+
}, C.handleInputClick = function(T) {
|
|
22909
|
+
C.setState({ showDropdown: !1 }), C.props.onClick && C.props.onClick(T, C.getCountryData());
|
|
22910
|
+
}, C.handleDoubleClick = function(T) {
|
|
22911
|
+
var L = T.target.value.length;
|
|
22912
|
+
T.target.setSelectionRange(0, L);
|
|
22913
|
+
}, C.handleFlagItemClick = function(T, L) {
|
|
22914
|
+
var V = C.state.selectedCountry, oe = C.state.onlyCountries.find(function(Me) {
|
|
22911
22915
|
return Me == T;
|
|
22912
22916
|
});
|
|
22913
22917
|
if (oe) {
|
|
22914
|
-
var ne =
|
|
22915
|
-
|
|
22916
|
-
|
|
22918
|
+
var ne = C.state.formattedNumber.replace(" ", "").replace("(", "").replace(")", "").replace("-", ""), me = ne.length > 1 ? ne.replace(V.dialCode, oe.dialCode) : oe.dialCode, ie = C.formatNumber(me.replace(/\D/g, ""), oe);
|
|
22919
|
+
C.setState({ showDropdown: !1, selectedCountry: oe, freezeSelection: !0, formattedNumber: ie, searchValue: "" }, function() {
|
|
22920
|
+
C.cursorToEnd(), C.props.onChange && C.props.onChange(ie.replace(/[^0-9]+/g, ""), C.getCountryData(), L, ie);
|
|
22917
22921
|
});
|
|
22918
22922
|
}
|
|
22919
|
-
},
|
|
22920
|
-
|
|
22921
|
-
|
|
22922
|
-
}),
|
|
22923
|
-
},
|
|
22924
|
-
T.target.value ||
|
|
22925
|
-
},
|
|
22926
|
-
if (
|
|
22927
|
-
var
|
|
22928
|
-
T.clipboardData.setData("text/plain",
|
|
22923
|
+
}, C.handleInputFocus = function(T) {
|
|
22924
|
+
C.numberInputRef && C.numberInputRef.value === C.props.prefix && C.state.selectedCountry && !C.props.disableCountryCode && C.setState({ formattedNumber: C.props.prefix + C.state.selectedCountry.dialCode }, function() {
|
|
22925
|
+
C.props.jumpCursorToEnd && setTimeout(C.cursorToEnd, 0);
|
|
22926
|
+
}), C.setState({ placeholder: "" }), C.props.onFocus && C.props.onFocus(T, C.getCountryData()), C.props.jumpCursorToEnd && setTimeout(C.cursorToEnd, 0);
|
|
22927
|
+
}, C.handleInputBlur = function(T) {
|
|
22928
|
+
T.target.value || C.setState({ placeholder: C.props.placeholder }), C.props.onBlur && C.props.onBlur(T, C.getCountryData());
|
|
22929
|
+
}, C.handleInputCopy = function(T) {
|
|
22930
|
+
if (C.props.copyNumbersOnly) {
|
|
22931
|
+
var L = window.getSelection().toString().replace(/[^0-9]+/g, "");
|
|
22932
|
+
T.clipboardData.setData("text/plain", L), T.preventDefault();
|
|
22929
22933
|
}
|
|
22930
|
-
},
|
|
22931
|
-
var
|
|
22932
|
-
return
|
|
22933
|
-
},
|
|
22934
|
-
var T =
|
|
22934
|
+
}, C.getHighlightCountryIndex = function(T) {
|
|
22935
|
+
var L = C.state.highlightCountryIndex + T;
|
|
22936
|
+
return L < 0 || L >= C.state.onlyCountries.length + C.state.preferredCountries.length ? L - T : C.props.enableSearch && L > C.getSearchFilteredCountries().length ? 0 : L;
|
|
22937
|
+
}, C.searchCountry = function() {
|
|
22938
|
+
var T = C.getProbableCandidate(C.state.queryString) || C.state.onlyCountries[0], L = C.state.onlyCountries.findIndex(function(V) {
|
|
22935
22939
|
return V == T;
|
|
22936
|
-
}) +
|
|
22937
|
-
|
|
22938
|
-
},
|
|
22939
|
-
var
|
|
22940
|
-
if (V.includes("selected-flag") && T.which ===
|
|
22941
|
-
if (V.includes("form-control") && (T.which ===
|
|
22942
|
-
if (
|
|
22940
|
+
}) + C.state.preferredCountries.length;
|
|
22941
|
+
C.scrollTo(C.getElement(L), !0), C.setState({ queryString: "", highlightCountryIndex: L });
|
|
22942
|
+
}, C.handleKeydown = function(T) {
|
|
22943
|
+
var L = C.props.keys, V = T.target.className;
|
|
22944
|
+
if (V.includes("selected-flag") && T.which === L.ENTER && !C.state.showDropdown) return C.handleFlagDropdownClick(T);
|
|
22945
|
+
if (V.includes("form-control") && (T.which === L.ENTER || T.which === L.ESC)) return T.target.blur();
|
|
22946
|
+
if (C.state.showDropdown && !C.props.disabled && (!V.includes("search-box") || T.which === L.UP || T.which === L.DOWN || T.which === L.ENTER || T.which === L.ESC && T.target.value === "")) {
|
|
22943
22947
|
T.preventDefault ? T.preventDefault() : T.returnValue = !1;
|
|
22944
22948
|
var oe = function(ne) {
|
|
22945
|
-
|
|
22946
|
-
|
|
22949
|
+
C.setState({ highlightCountryIndex: C.getHighlightCountryIndex(ne) }, function() {
|
|
22950
|
+
C.scrollTo(C.getElement(C.state.highlightCountryIndex), !0);
|
|
22947
22951
|
});
|
|
22948
22952
|
};
|
|
22949
22953
|
switch (T.which) {
|
|
22950
|
-
case
|
|
22954
|
+
case L.DOWN:
|
|
22951
22955
|
oe(1);
|
|
22952
22956
|
break;
|
|
22953
|
-
case
|
|
22957
|
+
case L.UP:
|
|
22954
22958
|
oe(-1);
|
|
22955
22959
|
break;
|
|
22956
|
-
case
|
|
22957
|
-
|
|
22960
|
+
case L.ENTER:
|
|
22961
|
+
C.props.enableSearch ? C.handleFlagItemClick(C.getSearchFilteredCountries()[C.state.highlightCountryIndex] || C.getSearchFilteredCountries()[0], T) : C.handleFlagItemClick([].concat(s(C.state.preferredCountries), s(C.state.onlyCountries))[C.state.highlightCountryIndex], T);
|
|
22958
22962
|
break;
|
|
22959
|
-
case
|
|
22960
|
-
case
|
|
22961
|
-
|
|
22963
|
+
case L.ESC:
|
|
22964
|
+
case L.TAB:
|
|
22965
|
+
C.setState({ showDropdown: !1 }, C.cursorToEnd);
|
|
22962
22966
|
break;
|
|
22963
22967
|
default:
|
|
22964
|
-
(T.which >=
|
|
22968
|
+
(T.which >= L.A && T.which <= L.Z || T.which === L.SPACE) && C.setState({ queryString: C.state.queryString + String.fromCharCode(T.which) }, C.state.debouncedQueryStingSearcher);
|
|
22965
22969
|
}
|
|
22966
22970
|
}
|
|
22967
|
-
},
|
|
22968
|
-
var
|
|
22971
|
+
}, C.handleInputKeyDown = function(T) {
|
|
22972
|
+
var L = C.props, V = L.keys, oe = L.onEnterKeyPress, ne = L.onKeyDown;
|
|
22969
22973
|
T.which === V.ENTER && oe && oe(T), ne && ne(T);
|
|
22970
|
-
},
|
|
22971
|
-
|
|
22972
|
-
},
|
|
22973
|
-
var
|
|
22974
|
-
if (
|
|
22975
|
-
var ie =
|
|
22976
|
-
me =
|
|
22974
|
+
}, C.handleClickOutside = function(T) {
|
|
22975
|
+
C.dropdownRef && !C.dropdownContainerRef.contains(T.target) && C.state.showDropdown && C.setState({ showDropdown: !1 });
|
|
22976
|
+
}, C.handleSearchChange = function(T) {
|
|
22977
|
+
var L = T.currentTarget.value, V = C.state, oe = V.preferredCountries, ne = V.selectedCountry, me = 0;
|
|
22978
|
+
if (L === "" && ne) {
|
|
22979
|
+
var ie = C.state.onlyCountries;
|
|
22980
|
+
me = C.concatPreferredCountries(oe, ie).findIndex(function(Me) {
|
|
22977
22981
|
return Me == ne;
|
|
22978
22982
|
}), setTimeout(function() {
|
|
22979
|
-
return
|
|
22983
|
+
return C.scrollTo(C.getElement(me));
|
|
22980
22984
|
}, 100);
|
|
22981
22985
|
}
|
|
22982
|
-
|
|
22983
|
-
},
|
|
22984
|
-
return T.length > 0 ? s(new Set(T.concat(
|
|
22985
|
-
},
|
|
22986
|
+
C.setState({ searchValue: L, highlightCountryIndex: me });
|
|
22987
|
+
}, C.concatPreferredCountries = function(T, L) {
|
|
22988
|
+
return T.length > 0 ? s(new Set(T.concat(L))) : L;
|
|
22989
|
+
}, C.getDropdownCountryName = function(T) {
|
|
22986
22990
|
return T.localName || T.name;
|
|
22987
|
-
},
|
|
22988
|
-
var T =
|
|
22991
|
+
}, C.getSearchFilteredCountries = function() {
|
|
22992
|
+
var T = C.state, L = T.preferredCountries, V = T.onlyCountries, oe = T.searchValue, ne = C.props.enableSearch, me = C.concatPreferredCountries(L, V), ie = oe.trim().toLowerCase().replace("+", "");
|
|
22989
22993
|
if (ne && ie) {
|
|
22990
22994
|
if (/^\d+$/.test(ie)) return me.filter(function(ye) {
|
|
22991
22995
|
var ke = ye.dialCode;
|
|
@@ -23004,48 +23008,48 @@ var X$ = function(e) {
|
|
|
23004
23008
|
return xe.toLowerCase().includes(ie);
|
|
23005
23009
|
});
|
|
23006
23010
|
});
|
|
23007
|
-
return
|
|
23011
|
+
return C.scrollToTop(), s(new Set([].concat(Me, ce)));
|
|
23008
23012
|
}
|
|
23009
23013
|
return me;
|
|
23010
|
-
},
|
|
23011
|
-
var T =
|
|
23014
|
+
}, C.getCountryDropdownList = function() {
|
|
23015
|
+
var T = C.state, L = T.preferredCountries, V = T.highlightCountryIndex, oe = T.showDropdown, ne = T.searchValue, me = C.props, ie = me.disableDropdown, Me = me.prefix, ce = C.props, ye = ce.enableSearch, ke = ce.searchNotFound, pe = ce.disableSearchIcon, xe = ce.searchClass, Je = ce.searchStyle, Dt = ce.searchPlaceholder, Tt = ce.autocompleteSearch, Zt = C.getSearchFilteredCountries().map(function(xt, In) {
|
|
23012
23016
|
var qn = V === In, ps = j()({ country: !0, preferred: xt.iso2 === "us" || xt.iso2 === "gb", active: xt.iso2 === "us", highlight: qn }), Kn = "flag ".concat(xt.iso2);
|
|
23013
23017
|
return v.a.createElement("li", Object.assign({ ref: function(nn) {
|
|
23014
|
-
return
|
|
23018
|
+
return C["flag_no_".concat(In)] = nn;
|
|
23015
23019
|
}, key: "flag_no_".concat(In), "data-flag-key": "flag_no_".concat(In), className: ps, "data-dial-code": "1", tabIndex: ie ? "-1" : "0", "data-country-code": xt.iso2, onClick: function(nn) {
|
|
23016
|
-
return
|
|
23017
|
-
}, role: "option" }, qn ? { "aria-selected": !0 } : {}), v.a.createElement("div", { className: Kn }), v.a.createElement("span", { className: "country-name" },
|
|
23020
|
+
return C.handleFlagItemClick(xt, nn);
|
|
23021
|
+
}, role: "option" }, qn ? { "aria-selected": !0 } : {}), v.a.createElement("div", { className: Kn }), v.a.createElement("span", { className: "country-name" }, C.getDropdownCountryName(xt)), v.a.createElement("span", { className: "dial-code" }, xt.format ? C.formatNumber(xt.dialCode, xt) : Me + xt.dialCode));
|
|
23018
23022
|
}), or = v.a.createElement("li", { key: "dashes", className: "divider" });
|
|
23019
|
-
|
|
23020
|
-
var rn = j()(n({ "country-list": !0, hide: !oe },
|
|
23023
|
+
L.length > 0 && (!ye || ye && !ne.trim()) && Zt.splice(L.length, 0, or);
|
|
23024
|
+
var rn = j()(n({ "country-list": !0, hide: !oe }, C.props.dropdownClass, !0));
|
|
23021
23025
|
return v.a.createElement("ul", { ref: function(xt) {
|
|
23022
|
-
return !ye && xt && xt.focus(),
|
|
23023
|
-
}, className: rn, style:
|
|
23026
|
+
return !ye && xt && xt.focus(), C.dropdownRef = xt;
|
|
23027
|
+
}, className: rn, style: C.props.dropdownStyle, role: "listbox", tabIndex: "0" }, ye && v.a.createElement("li", { className: j()(n({ search: !0 }, xe, xe)) }, !pe && v.a.createElement("span", { className: j()(n({ "search-emoji": !0 }, "".concat(xe, "-emoji"), xe)), role: "img", "aria-label": "Magnifying glass" }, "🔎"), v.a.createElement("input", { className: j()(n({ "search-box": !0 }, "".concat(xe, "-box"), xe)), style: Je, type: "search", placeholder: Dt, autoFocus: !0, autoComplete: Tt ? "on" : "off", value: ne, onChange: C.handleSearchChange })), Zt.length > 0 ? Zt : v.a.createElement("li", { className: "no-entries-message" }, v.a.createElement("span", null, ke)));
|
|
23024
23028
|
};
|
|
23025
23029
|
var be, he = new X(z.enableAreaCodes, z.enableTerritories, z.regions, z.onlyCountries, z.preferredCountries, z.excludeCountries, z.preserveOrder, z.masks, z.priority, z.areaCodes, z.localization, z.prefix, z.defaultMask, z.alwaysDefaultMask), Se = he.onlyCountries, _e = he.preferredCountries, Re = he.hiddenAreaCodes, Fe = z.value ? z.value.replace(/\D/g, "") : "";
|
|
23026
|
-
be = z.disableInitialCountryGuess ? 0 : Fe.length > 1 ?
|
|
23030
|
+
be = z.disableInitialCountryGuess ? 0 : Fe.length > 1 ? C.guessSelectedCountry(Fe.substring(0, 6), z.country, Se, Re) || 0 : z.country && Se.find(function(T) {
|
|
23027
23031
|
return T.iso2 == z.country;
|
|
23028
23032
|
}) || 0;
|
|
23029
23033
|
var Te, Be = Fe.length < 2 && be && !_()(Fe, be.dialCode) ? be.dialCode : "";
|
|
23030
|
-
Te = Fe === "" && be === 0 ? "" :
|
|
23034
|
+
Te = Fe === "" && be === 0 ? "" : C.formatNumber((z.disableCountryCode ? "" : Be) + Fe, be.name ? be : void 0);
|
|
23031
23035
|
var Ke = Se.findIndex(function(T) {
|
|
23032
23036
|
return T == be;
|
|
23033
23037
|
});
|
|
23034
|
-
return
|
|
23038
|
+
return C.state = { showDropdown: z.showDropdown, formattedNumber: Te, onlyCountries: Se, preferredCountries: _e, hiddenAreaCodes: Re, selectedCountry: be, highlightCountryIndex: Ke, queryString: "", freezeSelection: !1, debouncedQueryStingSearcher: S()(C.searchCountry, 250), searchValue: "" }, C;
|
|
23035
23039
|
}
|
|
23036
23040
|
var J, W;
|
|
23037
|
-
return function(z,
|
|
23038
|
-
if (typeof
|
|
23039
|
-
z.prototype = Object.create(
|
|
23041
|
+
return function(z, C) {
|
|
23042
|
+
if (typeof C != "function" && C !== null) throw new TypeError("Super expression must either be null or a function");
|
|
23043
|
+
z.prototype = Object.create(C && C.prototype, { constructor: { value: z, writable: !0, configurable: !0 } }), C && m(z, C);
|
|
23040
23044
|
}(Z, re), J = Z, (W = [{ key: "componentDidMount", value: function() {
|
|
23041
23045
|
document.addEventListener && this.props.enableClickOutside && document.addEventListener("mousedown", this.handleClickOutside), this.props.onMount && this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g, ""), this.getCountryData(), this.state.formattedNumber);
|
|
23042
23046
|
} }, { key: "componentWillUnmount", value: function() {
|
|
23043
23047
|
document.removeEventListener && this.props.enableClickOutside && document.removeEventListener("mousedown", this.handleClickOutside);
|
|
23044
|
-
} }, { key: "componentDidUpdate", value: function(z,
|
|
23048
|
+
} }, { key: "componentDidUpdate", value: function(z, C, be) {
|
|
23045
23049
|
z.country !== this.props.country ? this.updateCountry(this.props.country) : z.value !== this.props.value && this.updateFormattedNumber(this.props.value);
|
|
23046
23050
|
} }, { key: "updateFormattedNumber", value: function(z) {
|
|
23047
23051
|
if (z === null) return this.setState({ selectedCountry: 0, formattedNumber: "" });
|
|
23048
|
-
var
|
|
23052
|
+
var C = this.state, be = C.onlyCountries, he = C.selectedCountry, Se = C.hiddenAreaCodes, _e = this.props, Re = _e.country, Fe = _e.prefix;
|
|
23049
23053
|
if (z === "") return this.setState({ selectedCountry: he, formattedNumber: "" });
|
|
23050
23054
|
var Te, Be, Ke = z.replace(/\D/g, "");
|
|
23051
23055
|
if (he && _()(z, Fe + he.dialCode)) Be = this.formatNumber(Ke, he), this.setState({ formattedNumber: Be });
|
|
@@ -23054,18 +23058,18 @@ var X$ = function(e) {
|
|
|
23054
23058
|
Be = this.formatNumber((this.props.disableCountryCode ? "" : T) + Ke, Te || void 0), this.setState({ selectedCountry: Te, formattedNumber: Be });
|
|
23055
23059
|
}
|
|
23056
23060
|
} }, { key: "render", value: function() {
|
|
23057
|
-
var z,
|
|
23058
|
-
if (typeof V == "boolean")
|
|
23061
|
+
var z, C, be, he = this, Se = this.state, _e = Se.onlyCountries, Re = Se.selectedCountry, Fe = Se.showDropdown, Te = Se.formattedNumber, Be = Se.hiddenAreaCodes, Ke = this.props, T = Ke.disableDropdown, L = Ke.renderStringAsFlag, V = Ke.isValid, oe = Ke.defaultErrorMessage, ne = Ke.specialLabel;
|
|
23062
|
+
if (typeof V == "boolean") C = V;
|
|
23059
23063
|
else {
|
|
23060
23064
|
var me = V(Te.replace(/\D/g, ""), Re, _e, Be);
|
|
23061
|
-
typeof me == "boolean" ? (
|
|
23065
|
+
typeof me == "boolean" ? (C = me) === !1 && (be = oe) : (C = !1, be = me);
|
|
23062
23066
|
}
|
|
23063
|
-
var ie = j()((n(z = {}, this.props.containerClass, !0), n(z, "react-tel-input", !0), z)), Me = j()({ arrow: !0, up: Fe }), ce = j()(n({ "form-control": !0, "invalid-number": !
|
|
23067
|
+
var ie = j()((n(z = {}, this.props.containerClass, !0), n(z, "react-tel-input", !0), z)), Me = j()({ arrow: !0, up: Fe }), ce = j()(n({ "form-control": !0, "invalid-number": !C, open: Fe }, this.props.inputClass, !0)), ye = j()({ "selected-flag": !0, open: Fe }), ke = j()(n({ "flag-dropdown": !0, "invalid-number": !C, open: Fe }, this.props.buttonClass, !0)), pe = "flag ".concat(Re && Re.iso2);
|
|
23064
23068
|
return v.a.createElement("div", { className: "".concat(ie, " ").concat(this.props.className), style: this.props.style || this.props.containerStyle, onKeyDown: this.handleKeydown }, ne && v.a.createElement("div", { className: "special-label" }, ne), be && v.a.createElement("div", { className: "invalid-number-message" }, be), v.a.createElement("input", Object.assign({ className: ce, style: this.props.inputStyle, onChange: this.handleInput, onClick: this.handleInputClick, onDoubleClick: this.handleDoubleClick, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onCopy: this.handleInputCopy, value: Te, onKeyDown: this.handleInputKeyDown, placeholder: this.props.placeholder, disabled: this.props.disabled, type: "tel" }, this.props.inputProps, { ref: function(xe) {
|
|
23065
23069
|
he.numberInputRef = xe, typeof he.props.inputProps.ref == "function" ? he.props.inputProps.ref(xe) : typeof he.props.inputProps.ref == "object" && (he.props.inputProps.ref.current = xe);
|
|
23066
23070
|
} })), v.a.createElement("div", { className: ke, style: this.props.buttonStyle, ref: function(xe) {
|
|
23067
23071
|
return he.dropdownContainerRef = xe;
|
|
23068
|
-
} },
|
|
23072
|
+
} }, L ? v.a.createElement("div", { className: ye }, L) : v.a.createElement("div", { onClick: T ? void 0 : this.handleFlagDropdownClick, className: ye, title: Re ? "".concat(Re.localName || Re.name, ": + ").concat(Re.dialCode) : "", tabIndex: T ? "-1" : "0", role: "button", "aria-haspopup": "listbox", "aria-expanded": !!Fe || void 0 }, v.a.createElement("div", { className: pe }, !T && v.a.createElement("div", { className: Me }))), Fe && this.getCountryDropdownList()));
|
|
23069
23073
|
} }]) && c(J.prototype, W), Z;
|
|
23070
23074
|
}(v.a.Component);
|
|
23071
23075
|
we.defaultProps = { country: "", value: "", onlyCountries: [], preferredCountries: [], excludeCountries: [], placeholder: "1 (702) 123-4567", searchPlaceholder: "search", searchNotFound: "No entries to show", flagsImagePath: "./flags.png", disabled: !1, containerStyle: {}, inputStyle: {}, buttonStyle: {}, dropdownStyle: {}, searchStyle: {}, containerClass: "", inputClass: "", buttonClass: "", dropdownClass: "", searchClass: "", className: "", autoFormat: !0, enableAreaCodes: !1, enableTerritories: !1, disableCountryCode: !1, disableDropdown: !1, enableLongNumbers: !1, countryCodeEditable: !0, enableSearch: !1, disableSearchIcon: !1, disableInitialCountryGuess: !1, disableCountryGuess: !1, regions: "", inputProps: {}, localization: {}, masks: null, priority: null, areaCodes: null, preserveOrder: [], defaultMask: "... ... ... ... ..", alwaysDefaultMask: !1, prefix: "+", copyNumbersOnly: !0, renderStringAsFlag: "", autocompleteSearch: !1, jumpCursorToEnd: !0, enableAreaCodeStretch: !1, enableClickOutside: !0, showDropdown: !1, isValid: !0, defaultErrorMessage: "", specialLabel: "Phone", onEnterKeyPress: null, keys: { UP: 38, DOWN: 40, RIGHT: 39, LEFT: 37, ENTER: 13, ESC: 27, PLUS: 43, A: 65, Z: 90, SPACE: 32, TAB: 9 } }, t.default = we;
|
|
@@ -23084,9 +23088,9 @@ const Q$ = /* @__PURE__ */ br(X$), e3 = ({
|
|
|
23084
23088
|
}, d = (f) => {
|
|
23085
23089
|
(f.key === " " || f.key === "Enter") && (f.preventDefault(), c());
|
|
23086
23090
|
};
|
|
23087
|
-
return
|
|
23091
|
+
return bt(() => {
|
|
23088
23092
|
zn("optIn", l.current);
|
|
23089
|
-
}),
|
|
23093
|
+
}), bt(() => {
|
|
23090
23094
|
l.current && (l.current.checked = r);
|
|
23091
23095
|
}, [r]), /* @__PURE__ */ u.jsxs("div", { className: "sid-checkbox", children: [
|
|
23092
23096
|
/* @__PURE__ */ u.jsx(
|
|
@@ -23142,7 +23146,7 @@ const Q$ = /* @__PURE__ */ br(X$), e3 = ({
|
|
|
23142
23146
|
disabled: m = !1,
|
|
23143
23147
|
label: g
|
|
23144
23148
|
}) => {
|
|
23145
|
-
var
|
|
23149
|
+
var w;
|
|
23146
23150
|
const [v, b] = se.useState(""), S = () => o ? "" : /* @__PURE__ */ u.jsx(
|
|
23147
23151
|
R,
|
|
23148
23152
|
{
|
|
@@ -23152,9 +23156,9 @@ const Q$ = /* @__PURE__ */ br(X$), e3 = ({
|
|
|
23152
23156
|
), M = Mt(null), I = "sid-phone-number-error", E = (_, P) => {
|
|
23153
23157
|
v || b(P.dialCode), _.slice(v.length) ? r(`+${_}`) : r("");
|
|
23154
23158
|
};
|
|
23155
|
-
return
|
|
23159
|
+
return bt(() => {
|
|
23156
23160
|
M.current && zn("phoneNumber", M.current);
|
|
23157
|
-
}), ((
|
|
23161
|
+
}), ((w = le("phoneNumber")) == null ? void 0 : w.hidden) ? null : /* @__PURE__ */ u.jsxs("div", { className: "sid-field sid-phone-number", children: [
|
|
23158
23162
|
/* @__PURE__ */ u.jsx("div", { className: "sid-l-space-top-md" }),
|
|
23159
23163
|
/* @__PURE__ */ u.jsx(
|
|
23160
23164
|
Ec,
|
|
@@ -23531,7 +23535,7 @@ const Q$ = /* @__PURE__ */ br(X$), e3 = ({
|
|
|
23531
23535
|
{
|
|
23532
23536
|
fieldId: "ssn",
|
|
23533
23537
|
className: "sid-ssn__input",
|
|
23534
|
-
refId:
|
|
23538
|
+
refId: dt.socialSecurityNumber,
|
|
23535
23539
|
value: u3(e),
|
|
23536
23540
|
onChange: (l) => r(d3(l)),
|
|
23537
23541
|
placeholder: a || n.formatHTMLMessage({ id: "ssnPlaceholder", defaultMessage: "000-00-0000" }),
|
|
@@ -23675,7 +23679,7 @@ const Q$ = /* @__PURE__ */ br(X$), e3 = ({
|
|
|
23675
23679
|
disabled: s = !1
|
|
23676
23680
|
}) => {
|
|
23677
23681
|
const o = Mt(null);
|
|
23678
|
-
return
|
|
23682
|
+
return bt(() => {
|
|
23679
23683
|
zn(e, o.current);
|
|
23680
23684
|
}), /* @__PURE__ */ u.jsxs("label", { className: "sid-radio__input sid-radio__input-label", children: [
|
|
23681
23685
|
/* @__PURE__ */ u.jsx(
|
|
@@ -23746,11 +23750,11 @@ const Q$ = /* @__PURE__ */ br(X$), e3 = ({
|
|
|
23746
23750
|
({ config: e, verificationService: t, intl: r }) => {
|
|
23747
23751
|
const n = ve(() => t.viewModel.metadata[e.fieldId]), a = ve(() => t.fieldValidationErrors[e.fieldId]), s = (o) => {
|
|
23748
23752
|
t.updateViewModel(
|
|
23749
|
-
|
|
23753
|
+
lt(t.viewModel, (i) => {
|
|
23750
23754
|
i.metadata = i.metadata || {}, i.metadata[e.fieldId] = o;
|
|
23751
23755
|
})
|
|
23752
23756
|
), t.updateFieldValidationErrors(
|
|
23753
|
-
|
|
23757
|
+
lt(t.fieldValidationErrors, (i) => {
|
|
23754
23758
|
e.validate(o) === void 0 && delete i[e.fieldId];
|
|
23755
23759
|
})
|
|
23756
23760
|
);
|
|
@@ -24708,7 +24712,7 @@ function _3({ id: e }) {
|
|
|
24708
24712
|
}
|
|
24709
24713
|
function jc({ suffix: e }) {
|
|
24710
24714
|
const t = `extraMessage${e}`;
|
|
24711
|
-
return
|
|
24715
|
+
return it.exists(t) ? /* @__PURE__ */ u.jsxs("div", { className: `sid-extra-message sid-extra-message-${e}`, children: [
|
|
24712
24716
|
/* @__PURE__ */ u.jsx("div", { className: "sid-l-space-top-md" }),
|
|
24713
24717
|
/* @__PURE__ */ u.jsx(_3, { id: t })
|
|
24714
24718
|
] }) : null;
|
|
@@ -24879,7 +24883,7 @@ const U3 = ({
|
|
|
24879
24883
|
se.useEffect(() => {
|
|
24880
24884
|
kp(
|
|
24881
24885
|
Un(
|
|
24882
|
-
|
|
24886
|
+
lt(l, (b) => {
|
|
24883
24887
|
b.statuses = ["OTHER_GOVERNMENT_ASSISTANCE"];
|
|
24884
24888
|
}),
|
|
24885
24889
|
c
|
|
@@ -25078,7 +25082,7 @@ const U3 = ({
|
|
|
25078
25082
|
r,
|
|
25079
25083
|
o
|
|
25080
25084
|
), { fieldValidationErrors: l } = e, c = i.length > 1, d = (p = le("country")) == null ? void 0 : p.hidden, f = (h) => {
|
|
25081
|
-
const m =
|
|
25085
|
+
const m = lt(
|
|
25082
25086
|
e.viewModel,
|
|
25083
25087
|
(g) => {
|
|
25084
25088
|
g.countryChoice = h || void 0, g.country = h ? h.value : void 0, t && t(g, h), g.organization && (g.organization = sr.organization);
|
|
@@ -25099,7 +25103,7 @@ const U3 = ({
|
|
|
25099
25103
|
);
|
|
25100
25104
|
}
|
|
25101
25105
|
}, [c]), se.useEffect(() => {
|
|
25102
|
-
const h =
|
|
25106
|
+
const h = lt(
|
|
25103
25107
|
e.fieldValidationErrors,
|
|
25104
25108
|
(m) => {
|
|
25105
25109
|
m.country && (m.country = sa(
|
|
@@ -25130,7 +25134,7 @@ const U3 = ({
|
|
|
25130
25134
|
);
|
|
25131
25135
|
}, rx = Ge(W3), XV = (e) => (t) => e === "RESERVIST" ? qp.includes(t.name) : e === "ACTIVE_DUTY" ? !qp.includes(t.name) : !!t.name, q3 = (e, t, r, n) => {
|
|
25132
25136
|
const a = r.viewModel;
|
|
25133
|
-
return
|
|
25137
|
+
return lt(
|
|
25134
25138
|
a,
|
|
25135
25139
|
(o) => {
|
|
25136
25140
|
o[e] = t, n || (o.fieldsToSkipValidation = ["status"]), e === "status" && (o.organization = {
|
|
@@ -25286,7 +25290,7 @@ const U3 = ({
|
|
|
25286
25290
|
const { userDidConvert: s, getTimeOnForm: o } = Q3(
|
|
25287
25291
|
t.verificationResponse.segment
|
|
25288
25292
|
);
|
|
25289
|
-
|
|
25293
|
+
bt(() => {
|
|
25290
25294
|
const m = {
|
|
25291
25295
|
eventName: Et.COLLECT_STARTED,
|
|
25292
25296
|
params: {}
|
|
@@ -25325,17 +25329,17 @@ const U3 = ({
|
|
|
25325
25329
|
intl: e,
|
|
25326
25330
|
verificationService: t
|
|
25327
25331
|
}) => {
|
|
25328
|
-
var p, h, m, g, v, b, S, M, I, E,
|
|
25329
|
-
const r = t.viewModel, n = t.previousViewModel, { fieldValidationErrors: a } = t, s = t.verificationResponse, o = fa(s), i = mD(t, e), l = r.localeChoice.value, c = Ie(), d = (
|
|
25332
|
+
var p, h, m, g, v, b, S, M, I, E, O;
|
|
25333
|
+
const r = t.viewModel, n = t.previousViewModel, { fieldValidationErrors: a } = t, s = t.verificationResponse, o = fa(s), i = mD(t, e), l = r.localeChoice.value, c = Ie(), d = (w, _) => {
|
|
25330
25334
|
t.updateViewModel(
|
|
25331
|
-
q3(
|
|
25335
|
+
q3(w, _, t, i)
|
|
25332
25336
|
);
|
|
25333
25337
|
}, f = () => {
|
|
25334
|
-
const
|
|
25338
|
+
const w = lt(r, () => {
|
|
25335
25339
|
});
|
|
25336
25340
|
N.info("StepMilitaryStatusComponent submitting form"), t.submitStep(
|
|
25337
25341
|
je.collectMilitaryStatus,
|
|
25338
|
-
|
|
25342
|
+
w,
|
|
25339
25343
|
t.previousVerificationResponse || t.verificationResponse
|
|
25340
25344
|
);
|
|
25341
25345
|
};
|
|
@@ -25374,10 +25378,10 @@ const U3 = ({
|
|
|
25374
25378
|
errorId: "invalidMilitaryStatus",
|
|
25375
25379
|
options: i,
|
|
25376
25380
|
disabled: (h = le("status")) == null ? void 0 : h.disabled,
|
|
25377
|
-
onChange: (
|
|
25378
|
-
d("status",
|
|
25381
|
+
onChange: (w) => {
|
|
25382
|
+
d("status", w ? w.value : ""), De(
|
|
25379
25383
|
"status",
|
|
25380
|
-
|
|
25384
|
+
w ? w.value : "",
|
|
25381
25385
|
t
|
|
25382
25386
|
);
|
|
25383
25387
|
}
|
|
@@ -25387,8 +25391,8 @@ const U3 = ({
|
|
|
25387
25391
|
x$,
|
|
25388
25392
|
{
|
|
25389
25393
|
isErrored: !!a.organization,
|
|
25390
|
-
onChange: (
|
|
25391
|
-
xS(
|
|
25394
|
+
onChange: (w) => {
|
|
25395
|
+
xS(w, t), De("organization", w, t);
|
|
25392
25396
|
},
|
|
25393
25397
|
value: {
|
|
25394
25398
|
value: t.viewModel.organization.id,
|
|
@@ -25405,8 +25409,8 @@ const U3 = ({
|
|
|
25405
25409
|
value: r.firstName,
|
|
25406
25410
|
isErrored: !!a.firstName,
|
|
25407
25411
|
disabled: (g = le("firstName")) == null ? void 0 : g.disabled,
|
|
25408
|
-
onChange: (
|
|
25409
|
-
d("firstName",
|
|
25412
|
+
onChange: (w) => {
|
|
25413
|
+
d("firstName", w), De("firstName", w, t);
|
|
25410
25414
|
}
|
|
25411
25415
|
}
|
|
25412
25416
|
),
|
|
@@ -25416,8 +25420,8 @@ const U3 = ({
|
|
|
25416
25420
|
value: r.lastName,
|
|
25417
25421
|
isErrored: !!a.lastName,
|
|
25418
25422
|
disabled: (v = le("lastName")) == null ? void 0 : v.disabled,
|
|
25419
|
-
onChange: (
|
|
25420
|
-
d("lastName",
|
|
25423
|
+
onChange: (w) => {
|
|
25424
|
+
d("lastName", w), De("lastName", w, t);
|
|
25421
25425
|
}
|
|
25422
25426
|
}
|
|
25423
25427
|
)
|
|
@@ -25427,8 +25431,8 @@ const U3 = ({
|
|
|
25427
25431
|
{
|
|
25428
25432
|
errorId: a.birthDate,
|
|
25429
25433
|
locale: l,
|
|
25430
|
-
onChange: (
|
|
25431
|
-
d("birthDate",
|
|
25434
|
+
onChange: (w) => {
|
|
25435
|
+
d("birthDate", w), De("birthDate", w, t);
|
|
25432
25436
|
},
|
|
25433
25437
|
value: r.birthDate,
|
|
25434
25438
|
disabled: (b = le("birthDate")) == null ? void 0 : b.disabled
|
|
@@ -25439,10 +25443,10 @@ const U3 = ({
|
|
|
25439
25443
|
{
|
|
25440
25444
|
errorId: a.activeDutyStartDate,
|
|
25441
25445
|
locale: l,
|
|
25442
|
-
onChange: (
|
|
25443
|
-
d("activeDutyStartDate",
|
|
25446
|
+
onChange: (w) => {
|
|
25447
|
+
d("activeDutyStartDate", w), De(
|
|
25444
25448
|
"activeDutyStartDate",
|
|
25445
|
-
|
|
25449
|
+
w,
|
|
25446
25450
|
t
|
|
25447
25451
|
);
|
|
25448
25452
|
},
|
|
@@ -25463,10 +25467,10 @@ const U3 = ({
|
|
|
25463
25467
|
defaultMessage: "Personal email address is recommended"
|
|
25464
25468
|
}
|
|
25465
25469
|
),
|
|
25466
|
-
onChange: (
|
|
25467
|
-
d("email",
|
|
25470
|
+
onChange: (w) => {
|
|
25471
|
+
d("email", w), De("email", w, t);
|
|
25468
25472
|
},
|
|
25469
|
-
onKeyDown: (
|
|
25473
|
+
onKeyDown: (w) => yo(w),
|
|
25470
25474
|
disabled: (I = le("email")) == null ? void 0 : I.disabled
|
|
25471
25475
|
}
|
|
25472
25476
|
),
|
|
@@ -25476,31 +25480,31 @@ const U3 = ({
|
|
|
25476
25480
|
isRequired: !!t.programTheme.smsLoopEnabled,
|
|
25477
25481
|
value: r.phoneNumber,
|
|
25478
25482
|
isErrored: !!a.phoneNumber,
|
|
25479
|
-
onChange: (
|
|
25480
|
-
d("phoneNumber",
|
|
25483
|
+
onChange: (w) => {
|
|
25484
|
+
d("phoneNumber", w), De("phoneNumber", w, t);
|
|
25481
25485
|
},
|
|
25482
25486
|
selectedCountryCode: r.countryChoice && r.countryChoice.value,
|
|
25483
25487
|
disabled: (E = le("phoneNumber")) == null ? void 0 : E.disabled
|
|
25484
25488
|
}
|
|
25485
25489
|
) : null,
|
|
25486
|
-
c.customFormFields.map((
|
|
25490
|
+
c.customFormFields.map((w) => /* @__PURE__ */ u.jsx(To, { config: w, verificationService: t })),
|
|
25487
25491
|
/* @__PURE__ */ u.jsx(
|
|
25488
25492
|
Co,
|
|
25489
25493
|
{
|
|
25490
25494
|
verificationService: t,
|
|
25491
25495
|
isErrored: !!a.marketConsentValue,
|
|
25492
|
-
onChange: (
|
|
25496
|
+
onChange: (w) => {
|
|
25493
25497
|
d("metadata", {
|
|
25494
25498
|
...t.viewModel.metadata,
|
|
25495
|
-
marketConsentValue:
|
|
25499
|
+
marketConsentValue: w
|
|
25496
25500
|
}), De(
|
|
25497
25501
|
"marketConsentValue",
|
|
25498
|
-
|
|
25502
|
+
w,
|
|
25499
25503
|
t
|
|
25500
25504
|
);
|
|
25501
25505
|
},
|
|
25502
25506
|
viewModel: r,
|
|
25503
|
-
disabled: (
|
|
25507
|
+
disabled: (O = le("marketConsentValue")) == null ? void 0 : O.disabled
|
|
25504
25508
|
}
|
|
25505
25509
|
),
|
|
25506
25510
|
/* @__PURE__ */ u.jsx(jc, { suffix: "CollectAboveSubmit" }),
|
|
@@ -26193,7 +26197,7 @@ const Wx = ({
|
|
|
26193
26197
|
}) => {
|
|
26194
26198
|
var l, c, d, f, p, h, m;
|
|
26195
26199
|
const r = t.viewModel, { fieldValidationErrors: n } = t, a = t.verificationResponse, s = fa(a), o = Ie(), i = (g, v) => {
|
|
26196
|
-
const b =
|
|
26200
|
+
const b = lt(
|
|
26197
26201
|
r,
|
|
26198
26202
|
(S) => {
|
|
26199
26203
|
S[g] = v;
|
|
@@ -26349,10 +26353,10 @@ const Wx = ({
|
|
|
26349
26353
|
}) => {
|
|
26350
26354
|
var c, d, f, p, h, m, g, v, b, S;
|
|
26351
26355
|
const r = t.viewModel, { fieldValidationErrors: n } = t, a = t.verificationResponse, s = fa(a), o = Ie(), i = r.localeChoice.value, l = (M, I) => {
|
|
26352
|
-
const E =
|
|
26356
|
+
const E = lt(
|
|
26353
26357
|
r,
|
|
26354
|
-
(
|
|
26355
|
-
|
|
26358
|
+
(O) => {
|
|
26359
|
+
O[M] = I;
|
|
26356
26360
|
}
|
|
26357
26361
|
);
|
|
26358
26362
|
t.updateViewModel(E);
|
|
@@ -26540,13 +26544,13 @@ const Wx = ({
|
|
|
26540
26544
|
}) => {
|
|
26541
26545
|
var c, d, f, p, h, m, g, v, b, S, M;
|
|
26542
26546
|
const r = t.viewModel, { fieldValidationErrors: n } = t, a = t.verificationResponse, s = fa(a), o = Ie(), i = r.localeChoice.value, l = (I, E) => {
|
|
26543
|
-
const
|
|
26547
|
+
const O = lt(
|
|
26544
26548
|
r,
|
|
26545
|
-
(
|
|
26546
|
-
|
|
26549
|
+
(w) => {
|
|
26550
|
+
w[I] = E;
|
|
26547
26551
|
}
|
|
26548
26552
|
);
|
|
26549
|
-
t.updateViewModel(
|
|
26553
|
+
t.updateViewModel(O);
|
|
26550
26554
|
};
|
|
26551
26555
|
return bl(), /* @__PURE__ */ u.jsxs(
|
|
26552
26556
|
Po,
|
|
@@ -26775,7 +26779,7 @@ const Wx = ({
|
|
|
26775
26779
|
intl: e,
|
|
26776
26780
|
verificationService: t
|
|
26777
26781
|
}) => {
|
|
26778
|
-
var f, p, h, m, g, v, b, S, M, I, E,
|
|
26782
|
+
var f, p, h, m, g, v, b, S, M, I, E, O, w, _;
|
|
26779
26783
|
const { viewModel: r } = t, n = Ie();
|
|
26780
26784
|
if (!Yi(r))
|
|
26781
26785
|
return N.error("Expected LowIncomePersonalInfoViewModel"), null;
|
|
@@ -26786,7 +26790,7 @@ const Wx = ({
|
|
|
26786
26790
|
N.error("Expected LowIncomePersonalInfoViewModel");
|
|
26787
26791
|
return;
|
|
26788
26792
|
}
|
|
26789
|
-
const K =
|
|
26793
|
+
const K = lt(
|
|
26790
26794
|
r,
|
|
26791
26795
|
(ee) => {
|
|
26792
26796
|
ee[P] = j;
|
|
@@ -26832,7 +26836,7 @@ const Wx = ({
|
|
|
26832
26836
|
s.availableStatuses
|
|
26833
26837
|
),
|
|
26834
26838
|
onChange: (P) => {
|
|
26835
|
-
const j = P ? [P.value] : [], K =
|
|
26839
|
+
const j = P ? [P.value] : [], K = lt(
|
|
26836
26840
|
r,
|
|
26837
26841
|
(ee) => {
|
|
26838
26842
|
r.statuses[0] !== j[0] && (ee.organization = sr.organization), ee.statuses = j;
|
|
@@ -26970,7 +26974,7 @@ const Wx = ({
|
|
|
26970
26974
|
d("email", P), De("email", P, t);
|
|
26971
26975
|
},
|
|
26972
26976
|
onKeyDown: (P) => yo(P),
|
|
26973
|
-
disabled: (
|
|
26977
|
+
disabled: (O = le("email")) == null ? void 0 : O.disabled
|
|
26974
26978
|
}
|
|
26975
26979
|
),
|
|
26976
26980
|
t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled ? /* @__PURE__ */ u.jsx(
|
|
@@ -26983,7 +26987,7 @@ const Wx = ({
|
|
|
26983
26987
|
d("phoneNumber", P), De("phoneNumber", P, t);
|
|
26984
26988
|
},
|
|
26985
26989
|
selectedCountryCode: r.countryChoice && r.countryChoice.value,
|
|
26986
|
-
disabled: (
|
|
26990
|
+
disabled: (w = le("phoneNumber")) == null ? void 0 : w.disabled
|
|
26987
26991
|
}
|
|
26988
26992
|
) : null,
|
|
26989
26993
|
(n.customFormFields || []).map((P) => /* @__PURE__ */ u.jsx(To, { config: P, verificationService: t })),
|
|
@@ -28792,19 +28796,19 @@ const SB = ({ icon: e, title: t, subtitle: r, setDocType: n }) => /* @__PURE__ *
|
|
|
28792
28796
|
const E = ve(
|
|
28793
28797
|
() => e.programTheme.config.onfidoReportNames,
|
|
28794
28798
|
[Es.DOCUMENT, Es.FACIAL_SIMILARITY_MOTION]
|
|
28795
|
-
).map((
|
|
28799
|
+
).map((O) => O === Es.DOCUMENT ? {
|
|
28796
28800
|
type: "document",
|
|
28797
28801
|
options: { forceCrossDevice: !0, documentTypes: { [I]: { country: M } } }
|
|
28798
|
-
} :
|
|
28802
|
+
} : O === Es.FACIAL_SIMILARITY_MOTION ? {
|
|
28799
28803
|
type: "face",
|
|
28800
28804
|
options: { requestedVariant: "motion", motionFallbackVariant: "video" }
|
|
28801
|
-
} :
|
|
28802
|
-
import("./Onfido-AyvUk6wg.js").then((
|
|
28803
|
-
b =
|
|
28805
|
+
} : O);
|
|
28806
|
+
import("./Onfido-AyvUk6wg.js").then((O) => {
|
|
28807
|
+
b = O.Onfido.init({
|
|
28804
28808
|
containerId: ky,
|
|
28805
28809
|
token: r.sdkToken,
|
|
28806
|
-
onComplete: (
|
|
28807
|
-
Object.keys(
|
|
28810
|
+
onComplete: (w) => {
|
|
28811
|
+
Object.keys(w).length !== 0 && v(w);
|
|
28808
28812
|
},
|
|
28809
28813
|
steps: [...E, "complete"],
|
|
28810
28814
|
// Documenation -- https://documentation.onfido.com/sdk/web/#language-selection
|
|
@@ -29466,7 +29470,7 @@ export {
|
|
|
29466
29470
|
De as o,
|
|
29467
29471
|
Ro as p,
|
|
29468
29472
|
go as q,
|
|
29469
|
-
|
|
29473
|
+
lt as r,
|
|
29470
29474
|
IR as s,
|
|
29471
29475
|
Fn as t,
|
|
29472
29476
|
BD as u,
|
|
@@ -29474,5 +29478,5 @@ export {
|
|
|
29474
29478
|
KV as w,
|
|
29475
29479
|
So as x,
|
|
29476
29480
|
UV as y,
|
|
29477
|
-
|
|
29481
|
+
dt as z
|
|
29478
29482
|
};
|