@sheerid/jslib-nightly 2.112.0-alpha.5 → 2.112.0-alpha.6
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 +387 -392
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/EmailLoopPending-Dtf0p85F.js +3 -3
- package/chunk/EmailLoopPending-Dy8mLFvV.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-CmNwFqjD.js +3 -3
- package/chunk/StepIDCheckLoopOnfido-DtbplNxs.js +3 -3
- package/chunk/StepIDCheckLoopRegula-RoX971sR.js +3 -3
- package/chunk/StepIDCheckLoopRegula-oqf-QxHT.js +3 -3
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js +3 -3
- package/chunk/StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js +3 -3
- package/chunk/ar-CTZ8n_FV.js +3 -3
- package/chunk/bg-B1tbUffD.js +3 -3
- package/chunk/bn-IN-BA_ZFkiC.js +3 -3
- package/chunk/cs-_sREQ07E.js +3 -3
- package/chunk/da-DPi7xGRT.js +3 -3
- package/chunk/de-Cdu4F7oz.js +3 -3
- package/chunk/el-Csc8XB1z.js +3 -3
- package/chunk/en-GB-CDsqsXSF.js +3 -3
- package/chunk/es-BgNy3pMu.js +3 -3
- package/chunk/es-ES-HVAL-fE7.js +3 -3
- package/chunk/fi-CCyjkr-W.js +3 -3
- package/chunk/fr-CA-DwRs4Got.js +3 -3
- package/chunk/fr-alhQlPBO.js +3 -3
- package/chunk/ga-DfyMbfDn.js +3 -3
- package/chunk/hi-IN-CnIX7S9Z.js +3 -3
- package/chunk/hr-HChVQ_Sw.js +3 -3
- package/chunk/hu-CWN1WU0a.js +3 -3
- package/chunk/id-C1Ck0Iu_.js +3 -3
- package/chunk/index-4APUDd8S.js +3 -3
- package/chunk/index-9OD0Bw98.js +3 -3
- package/chunk/index-B-PpnUEO.js +3 -3
- package/chunk/index-B8F8N-JM.js +3 -3
- package/chunk/index-B8KPM--K.js +3 -3
- package/chunk/index-BD2bjH-C.js +3 -3
- package/chunk/index-BD_a0MZT.js +3 -3
- package/chunk/index-BDrKYann.js +3 -3
- package/chunk/index-BORxVuto.js +3 -3
- package/chunk/index-BTMETMEE.js +3 -3
- package/chunk/index-Bi9QXN5x.js +3 -3
- package/chunk/index-Bmq6cJ3F.js +3 -3
- package/chunk/index-BpZoH-Wz.js +3 -3
- package/chunk/index-BuX76GyE.js +3 -3
- package/chunk/index-C2h0Wj84.js +3 -3
- package/chunk/index-C8MQD8EK.js +3 -3
- package/chunk/index-C8u9IJUa.js +3 -3
- package/chunk/index-C96ntS0u.js +3 -3
- package/chunk/index-CHK5i4jj.js +3 -3
- package/chunk/index-CTb96lOK.js +3 -3
- package/chunk/index-CU0rkVHP.js +3 -3
- package/chunk/index-CcRowarb.js +3 -3
- package/chunk/index-CeHu2Npu.js +3 -3
- package/chunk/index-DIkWpujR.js +3 -3
- package/chunk/index-DKWjcFJK.js +3 -3
- package/chunk/index-DLz31Fzh.js +3 -3
- package/chunk/index-DO5Z3e-E.js +3 -3
- package/chunk/index-DRlGAW07.js +3 -3
- package/chunk/index-DVynViqA.js +3 -3
- package/chunk/index-D_9J6arc.js +3 -3
- package/chunk/index-Dg8t7-dm.js +3 -3
- package/chunk/index-DhGg9lvf.js +3 -3
- package/chunk/index-DsgCNIS5.js +3 -3
- package/chunk/index-DvQoVn8P.js +3 -3
- package/chunk/index-DzqRsB7_.js +3 -3
- package/chunk/index-FjzhfDlx.js +3 -3
- package/chunk/index-Gfy-1H7s.js +3 -3
- package/chunk/index-YSVzGeq_.js +3 -3
- package/chunk/index-_t8SsXjy.js +3 -3
- package/chunk/is-Bf2mOiIg.js +3 -3
- package/chunk/it-IMkNWYOG.js +3 -3
- package/chunk/iw-BuDnLn5x.js +3 -3
- package/chunk/ja-DdM1Ym9C.js +3 -3
- package/chunk/ko-B01TPi1c.js +3 -3
- package/chunk/lo-CDeDGaKo.js +3 -3
- package/chunk/lt-DyBa0gOR.js +3 -3
- package/chunk/ms-LqU5Yd8l.js +3 -3
- package/chunk/nl-BE-BFg3IyDd.js +3 -3
- package/chunk/nl-kMVLoHoM.js +3 -3
- package/chunk/no-BAFfWVPm.js +3 -3
- package/chunk/pl-Cxz2q367.js +3 -3
- package/chunk/pt-BR-CgWnbrVG.js +3 -3
- package/chunk/pt-ClU8GfPr.js +3 -3
- package/chunk/ro-CjVQ_Zpn.js +3 -3
- package/chunk/ru-BdRZQIfm.js +3 -3
- package/chunk/sk-C-xR48Aj.js +3 -3
- package/chunk/sl-CImZBWQa.js +3 -3
- package/chunk/sr-CZdt5Aa4.js +3 -3
- package/chunk/sv-BclJkJLk.js +3 -3
- package/chunk/sw-BMcrEvkG.js +3 -3
- package/chunk/th-Dl_Lc--C.js +3 -3
- package/chunk/tr-CL17frp4.js +3 -3
- package/chunk/uk-zgBsQ3Tg.js +3 -3
- package/chunk/ur-DJP0igA6.js +3 -3
- package/chunk/useCollectFieldsEndpoint-C5fsaYJe.js +3 -3
- package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js +3 -3
- package/chunk/useEmailFirstExperiment-BbDrKQEs.js +3 -3
- package/chunk/useEmailFirstExperiment-CgU-itQI.js +3 -3
- package/chunk/vi-B1t3wnVe.js +3 -3
- package/chunk/zh-B1K_f766.js +3 -3
- package/chunk/zh-HK-B7LwDNgi.js +3 -3
- package/chunk/zu-DXIuiqYP.js +3 -3
- package/es6.css +3 -3
- package/jslib.js +4 -4
- package/lib/{EmailLoopPending-BE_De6Tx.js → EmailLoopPending-8SrVq8_4.js} +4 -4
- package/lib/{EmailLoopPending-BE_De6Tx.js.map → EmailLoopPending-8SrVq8_4.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-Rp-GMuxJ.js → LicensedProfessionalOrganizationComponent-CNZuQ91j.js} +4 -4
- package/lib/{LicensedProfessionalOrganizationComponent-Rp-GMuxJ.js.map → LicensedProfessionalOrganizationComponent-CNZuQ91j.js.map} +1 -1
- package/lib/Onfido-AyvUk6wg.js +3 -3
- package/lib/StepCollectMilitaryStatusComponent-diSO4X44.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-DDTELGtg.js.map → StepCollectMilitaryStatusComponent-diSO4X44.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-38qsgxKR.js → StepIDCheckLoopOnfido-BwfFHPbH.js} +4 -4
- package/lib/{StepIDCheckLoopOnfido-38qsgxKR.js.map → StepIDCheckLoopOnfido-BwfFHPbH.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-B53-JUxK.js → StepIDCheckLoopRegula-B_XUpN32.js} +4 -4
- package/lib/{StepIDCheckLoopRegula-B53-JUxK.js.map → StepIDCheckLoopRegula-B_XUpN32.js.map} +1 -1
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-DyVGxkil.js → StepInactiveMilitaryPersonalInfoComponent--j3AeyAM.js} +5 -5
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-DyVGxkil.js.map → StepInactiveMilitaryPersonalInfoComponent--j3AeyAM.js.map} +1 -1
- package/lib/{VerificationApiUtils-CdImPZ20.js → VerificationApiUtils-qdYPexhk.js} +4 -4
- package/lib/{VerificationApiUtils-CdImPZ20.js.map → VerificationApiUtils-qdYPexhk.js.map} +1 -1
- package/lib/ar-CTZ8n_FV.js +3 -3
- package/lib/bg-B1tbUffD.js +3 -3
- package/lib/bn-IN-BA_ZFkiC.js +3 -3
- package/lib/cs-_sREQ07E.js +3 -3
- package/lib/da-DPi7xGRT.js +3 -3
- package/lib/de-Cdu4F7oz.js +3 -3
- package/lib/el-Csc8XB1z.js +3 -3
- package/lib/en-GB-CDsqsXSF.js +3 -3
- package/lib/es-BgNy3pMu.js +3 -3
- package/lib/es-ES-HVAL-fE7.js +3 -3
- package/lib/{es6-CgnlHiAA.js → es6-CmswRPjK.js} +228 -233
- package/lib/es6-CmswRPjK.js.map +1 -0
- package/lib/fi-CCyjkr-W.js +3 -3
- package/lib/fr-CA-DwRs4Got.js +3 -3
- package/lib/fr-alhQlPBO.js +3 -3
- package/lib/ga-DfyMbfDn.js +3 -3
- package/lib/hi-IN-CnIX7S9Z.js +3 -3
- package/lib/hr-HChVQ_Sw.js +3 -3
- package/lib/hu-CWN1WU0a.js +3 -3
- package/lib/id-C1Ck0Iu_.js +3 -3
- package/lib/index-3Zq_I3L9.js +11 -0
- package/lib/index-3Zq_I3L9.js.map +1 -0
- package/lib/{index-Co1axwsC.js → index-B0Xzi5fz.js} +4 -4
- package/lib/{index-Co1axwsC.js.map → index-B0Xzi5fz.js.map} +1 -1
- package/lib/{index-BZB6rx_i.js → index-BVkO1s81.js} +5 -5
- package/lib/{index-BZB6rx_i.js.map → index-BVkO1s81.js.map} +1 -1
- package/lib/{index-DnzWG-zK.js → index-BW1KI9lV.js} +4 -4
- package/lib/{index-DnzWG-zK.js.map → index-BW1KI9lV.js.map} +1 -1
- package/lib/{index-XEJe5RvW.js → index-BcXJ1-DF.js} +5 -5
- package/lib/{index-XEJe5RvW.js.map → index-BcXJ1-DF.js.map} +1 -1
- package/lib/{index-DoGwOM4c.js → index-Be3_NBkN.js} +4 -4
- package/lib/{index-DoGwOM4c.js.map → index-Be3_NBkN.js.map} +1 -1
- package/lib/{index-D0gFTmpL.js → index-BiIbo2KG.js} +4 -4
- package/lib/{index-D0gFTmpL.js.map → index-BiIbo2KG.js.map} +1 -1
- package/lib/index-BvTqyz7K.js +11 -0
- package/lib/index-BvTqyz7K.js.map +1 -0
- package/lib/{index-BGG4-eSW.js → index-CLW01LQa.js} +5 -5
- package/lib/{index-BGG4-eSW.js.map → index-CLW01LQa.js.map} +1 -1
- package/lib/{index-C_ZhLmx8.js → index-CVplTTFK.js} +5 -5
- package/lib/{index-C_ZhLmx8.js.map → index-CVplTTFK.js.map} +1 -1
- package/lib/index-D6B6HAGi.js +11 -0
- package/lib/index-D6B6HAGi.js.map +1 -0
- package/lib/{index-GynW23rm.js → index-DC_tMfvx.js} +6 -6
- package/lib/{index-GynW23rm.js.map → index-DC_tMfvx.js.map} +1 -1
- package/lib/{index-BFQec87Y.js → index-DI0BRmX0.js} +6 -6
- package/lib/{index-BFQec87Y.js.map → index-DI0BRmX0.js.map} +1 -1
- package/lib/index-DIkWpujR.js +3 -3
- package/lib/{index-D14OVclA.js → index-DLEUiNwX.js} +4 -4
- package/lib/{index-D14OVclA.js.map → index-DLEUiNwX.js.map} +1 -1
- package/lib/index-DjHUibJy.js +11 -0
- package/lib/index-DjHUibJy.js.map +1 -0
- package/lib/{index-GSRwQMPe.js → index-Dt00IbgN.js} +5 -5
- package/lib/{index-GSRwQMPe.js.map → index-Dt00IbgN.js.map} +1 -1
- package/lib/{index-CdRJ0N3E.js → index-DvtVG-vT.js} +4 -4
- package/lib/{index-CdRJ0N3E.js.map → index-DvtVG-vT.js.map} +1 -1
- package/lib/{index-wYIO-QSJ.js → index-OeVwnTSz.js} +4 -4
- package/lib/{index-wYIO-QSJ.js.map → index-OeVwnTSz.js.map} +1 -1
- package/lib/{index-Y27hMIeU.js → index-d_PLvLfG.js} +4 -4
- package/lib/{index-Y27hMIeU.js.map → index-d_PLvLfG.js.map} +1 -1
- package/lib/{index-HkVmx6UM.js → index-grVGwN7h.js} +5 -5
- package/lib/{index-HkVmx6UM.js.map → index-grVGwN7h.js.map} +1 -1
- package/lib/{index-CvWITFn3.js → index-nX2lLyUj.js} +5 -5
- package/lib/{index-CvWITFn3.js.map → index-nX2lLyUj.js.map} +1 -1
- package/lib/{index-BaWK4IwT.js → index-pdBa2Jss.js} +4 -4
- package/lib/{index-BaWK4IwT.js.map → index-pdBa2Jss.js.map} +1 -1
- package/lib/{index-DnEaVDvq.js → index-wlSdkN3D.js} +4 -4
- package/lib/{index-DnEaVDvq.js.map → index-wlSdkN3D.js.map} +1 -1
- package/lib/is-Bf2mOiIg.js +3 -3
- package/lib/it-IMkNWYOG.js +3 -3
- package/lib/iw-BuDnLn5x.js +3 -3
- package/lib/ja-DdM1Ym9C.js +3 -3
- package/lib/ko-B01TPi1c.js +3 -3
- package/lib/lo-CDeDGaKo.js +3 -3
- package/lib/lt-DyBa0gOR.js +3 -3
- package/lib/ms-LqU5Yd8l.js +3 -3
- package/lib/nl-BE-BFg3IyDd.js +3 -3
- package/lib/nl-kMVLoHoM.js +3 -3
- package/lib/no-BAFfWVPm.js +3 -3
- package/lib/pl-Cxz2q367.js +3 -3
- package/lib/pt-BR-CgWnbrVG.js +3 -3
- package/lib/pt-ClU8GfPr.js +3 -3
- package/lib/ro-CjVQ_Zpn.js +3 -3
- package/lib/ru-BdRZQIfm.js +3 -3
- package/lib/sk-C-xR48Aj.js +3 -3
- package/lib/sl-CImZBWQa.js +3 -3
- package/lib/sr-CZdt5Aa4.js +3 -3
- package/lib/sv-BclJkJLk.js +3 -3
- package/lib/sw-BMcrEvkG.js +3 -3
- package/lib/th-Dl_Lc--C.js +3 -3
- package/lib/tr-CL17frp4.js +3 -3
- package/lib/uk-zgBsQ3Tg.js +3 -3
- package/lib/ur-DJP0igA6.js +3 -3
- package/lib/{useCollectFieldsEndpoint-BnXXSTq-.js → useCollectFieldsEndpoint-dzRFN2x5.js} +5 -5
- package/lib/{useCollectFieldsEndpoint-BnXXSTq-.js.map → useCollectFieldsEndpoint-dzRFN2x5.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-SbjjFUHp.js → useEmailFirstExperiment-BQshZb8j.js} +4 -4
- package/lib/{useEmailFirstExperiment-SbjjFUHp.js.map → useEmailFirstExperiment-BQshZb8j.js.map} +1 -1
- package/lib/vi-B1t3wnVe.js +3 -3
- package/lib/zh-B1K_f766.js +3 -3
- package/lib/zh-HK-B7LwDNgi.js +3 -3
- package/lib/zu-DXIuiqYP.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 +316 -321
- package/sheerid.js.map +1 -1
- package/src/lib/GoogleAnalytics/ga.d.ts +0 -1
- package/types-reference.zip +0 -0
- package/lib/StepCollectMilitaryStatusComponent-DDTELGtg.js +0 -11
- package/lib/es6-CgnlHiAA.js.map +0 -1
- package/lib/index-BjHfv8dl.js +0 -11
- package/lib/index-BjHfv8dl.js.map +0 -1
- package/lib/index-CZOLRTeH.js +0 -11
- package/lib/index-CZOLRTeH.js.map +0 -1
- package/lib/index-CvpSQuMF.js +0 -11
- package/lib/index-CvpSQuMF.js.map +0 -1
- package/lib/index-IHeM7MeN.js +0 -11
- package/lib/index-IHeM7MeN.js.map +0 -1
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.112.0-alpha.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE:
|
3
|
+
* VERSION: 2.112.0-alpha.6
|
4
|
+
* BUILD_TIMESTAMP: 1749741537426
|
5
|
+
* BUILD_DATE: Thu Jun 12 2025 15:18:57 GMT+0000 (Coordinated Universal Time)
|
6
6
|
* BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
|
7
7
|
*/
|
8
8
|
var jM = Object.defineProperty;
|
9
9
|
var FM = (e, t, r) => t in e ? jM(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
10
10
|
var Ze = (e, t, r) => FM(e, typeof t != "symbol" ? t + "" : t, r);
|
11
11
|
import * as k from "react";
|
12
|
-
import ee, { useContext as fd, useRef as wt, useCallback as Lt, useDebugValue as $M, createContext as BM, Component as VM, useEffect as
|
12
|
+
import ee, { useContext as fd, useRef as wt, useCallback as Lt, useDebugValue as $M, createContext as BM, Component as VM, useEffect as St, Suspense as HM, useLayoutEffect as Fg, useState as Da, useMemo as dp, useReducer as zM, Children as GM } from "react";
|
13
13
|
import * as $g from "react-dom";
|
14
14
|
import { unstable_batchedUpdates as WM } from "react-dom";
|
15
15
|
import { FormattedHTMLMessage as P, injectIntl as ze, IntlProvider as Bg } from "react-intl";
|
@@ -105,7 +105,7 @@ const JM = (e) => e && e.stack && e.message, bi = (...e) => {
|
|
105
105
|
locale: ve(() => o.programTheme.intl.locale),
|
106
106
|
isTestMode: ve(() => o.programTheme.isTestMode),
|
107
107
|
openOrgSearchEnabled: ve(() => o.programTheme.openOrgSearchEnabled),
|
108
|
-
jslibVerActual: ve(() => "2.112.0-alpha.
|
108
|
+
jslibVerActual: ve(() => "2.112.0-alpha.6", "?"),
|
109
109
|
...r
|
110
110
|
};
|
111
111
|
}
|
@@ -639,7 +639,7 @@ function Tu(...e) {
|
|
639
639
|
}
|
640
640
|
var Pu = /* @__PURE__ */ ((e) => (e.TRUE = "true", e.FALSE = "false", e))(Pu || {});
|
641
641
|
const D0 = ["sheerid.com"];
|
642
|
-
var
|
642
|
+
var Et = /* @__PURE__ */ ((e) => (e.ASR_SELECTED = "AsrSelected", e.FORM_PASTE = "FormPaste", e.STEP_SEEN = "StepSeen", e.STEP_SUBMITTED = "StepSubmitted", e.STEP_ACCEPTED = "StepAccepted", e.ORG_SELECTED = "OrgSelected", e.ORGS_DISPLAYED = "OrgsDisplayed", e.VIEW_EXPERIMENT = "ViewExperiment", e.COLLECT_STARTED = "CollectStarted", e.COLLECT_SUBMITTED = "CollectSubmitted", e.PERFORMANCE = "Performance", e.USER_PROPERTIES = "user_properties", e.VERIFICATION = "Verification", e.VERIFICATION_HELP = "VerificationHelp", e))(Et || {}), ta = /* @__PURE__ */ ((e) => (e.age = "age", e.jslibVersionActual = "jslibVersionActual", e.programId = "programId", e.segment = "segment", e.subSegment = "subSegment", e.testMode = "testMode", e.testRequest = "testRequest", e.verificationId = "verificationId", e.flags = "flags", e.options = "options", e.flag = "flag", e.step = "step", e.stepAction = "step_action", e.identifier = "id", e.verificationHelpStatus = "verificationHelpStatus", e))(ta || {}), Er = /* @__PURE__ */ ((e) => (e.EVENT_DURATION = "eventDuration", e.QUERY_LENGTH = "queryLength", e.SELECTED_RESULT_RANK = "selectedResultRank", e.NUMBER_OF_RESULTS = "numberOfResults", e.NUMBER_REWORKS = "numberReworks", e.INITIAL_STEP_LOAD = "initialStepLoad", e.LCP = "largestContentfulPaint", e))(Er || {});
|
643
643
|
function al(e, t, r) {
|
644
644
|
if (pd())
|
645
645
|
return A.info("Not able to track");
|
@@ -649,7 +649,7 @@ function al(e, t, r) {
|
|
649
649
|
A.warn(`Failed ${e}:${t} event`, n);
|
650
650
|
}
|
651
651
|
}
|
652
|
-
const
|
652
|
+
const sn = async (e) => {
|
653
653
|
try {
|
654
654
|
const r = { ...await Hg() || {}, ...e.params };
|
655
655
|
al("event", e.eventName, r), _a() && window.NREUM.addPageAction(e.eventName, r);
|
@@ -3378,7 +3378,7 @@ const j$ = (e, t) => {
|
|
3378
3378
|
A.log(`overrideValidator registering ${t} for '${e}'`), xi[e] = t;
|
3379
3379
|
}, kE = (e) => xi[e] ? (A.log(`getOverridenValidator returning '${e}'`), xi[e]) : null, F$ = () => {
|
3380
3380
|
xi = {}, A.info("Overridden validators have been reset");
|
3381
|
-
},
|
3381
|
+
}, an = 10, _E = 16, LE = 1900, UE = 3e3, Op = 50, Tc = 256, Pc = 4096, jE = /^\+(?:[0-9] ?){6,14}[0-9]$/, FE = [
|
3382
3382
|
/^\+?0*\d{10,}(x[0-9]{0,5})?$/,
|
3383
3383
|
/(^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$)/
|
3384
3384
|
], $E = (e) => Object.keys(e).length > Op ? (A.error(`Invalid number of metadata keys (max ${Op})`, "metadata keys"), !1) : !0, BE = (e) => {
|
@@ -3596,13 +3596,13 @@ const j$ = (e, t) => {
|
|
3596
3596
|
if (e === void 0 || !/^(?:[a-zA-Z0-9]\s*){12}$|^$/.test(e))
|
3597
3597
|
return t;
|
3598
3598
|
}, Iw = new RegExp("([\\p{Letter}\\p{Mark}\\p{Connector_Punctuation}\\p{Join_Control}]+)", "v"), Ry = (e) => Iw.test(e), ku = (e) => {
|
3599
|
-
const t = e.split("-"), r = parseInt(t[0],
|
3599
|
+
const t = e.split("-"), r = parseInt(t[0], an), n = parseInt(t[1], an), a = parseInt(t[2], an), o = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
3600
3600
|
return !(r < LE || r > UE || n <= 0 || n > 12 || ((r % 400 === 0 || r % 100 !== 0 && r % 4 === 0) && (o[1] = 29), a <= 0 || a > o[n - 1]));
|
3601
3601
|
}, _u = (e) => !!/^\d{4}[\-\s\/]\d{1,2}[\-\s\/]\d{1,2}$/.test(e), Od = (e) => {
|
3602
3602
|
const t = /* @__PURE__ */ new Date();
|
3603
3603
|
return new Date(e) > t;
|
3604
3604
|
}, Ay = (e, t = _E) => {
|
3605
|
-
const r = e.split("-"), n = parseInt(r[0],
|
3605
|
+
const r = e.split("-"), n = parseInt(r[0], an), a = parseInt(r[1], an), o = parseInt(r[2], an), s = (/* @__PURE__ */ new Date()).getFullYear(), i = (/* @__PURE__ */ new Date()).getMonth() + 1, l = (/* @__PURE__ */ new Date()).getDate();
|
3606
3606
|
if (s - n === t) {
|
3607
3607
|
if (i - a < 0 || i - a === 0 && l - o < 0)
|
3608
3608
|
return !0;
|
@@ -3610,7 +3610,7 @@ const j$ = (e, t) => {
|
|
3610
3610
|
return !0;
|
3611
3611
|
return !1;
|
3612
3612
|
}, Sw = (e, t = 120) => {
|
3613
|
-
const r = e.split("-"), n = parseInt(r[0],
|
3613
|
+
const r = e.split("-"), n = parseInt(r[0], an), a = parseInt(r[1], an), o = parseInt(r[2], an), s = (/* @__PURE__ */ new Date()).getFullYear(), i = (/* @__PURE__ */ new Date()).getMonth() + 1, l = (/* @__PURE__ */ new Date()).getDate();
|
3614
3614
|
if (s - n === t) {
|
3615
3615
|
if (i - a > 0 || i - a === 0 && l - o > 0)
|
3616
3616
|
return !0;
|
@@ -3665,7 +3665,7 @@ const j$ = (e, t) => {
|
|
3665
3665
|
}, Oy = () => `${Ie().restApi.serviceUrl}${Ie().restApi.resources.verification}`, xw = (e) => `${Oy()}${e}`, Cw = () => Oy(), Tw = (e, t = null) => {
|
3666
3666
|
const r = `${Ie().restApi.serviceUrl}${Ie().restApi.resources.program.base}${e}/${Ie().restApi.resources.program.theme}`;
|
3667
3667
|
return t ? `${r}?locale=${t}` : `${r}`;
|
3668
|
-
}, Pw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, Rw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, Aw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, Nw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, $$ = (e, t, r) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Dy = () => "2.112.0-alpha.
|
3668
|
+
}, Pw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, Rw = (e) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, Aw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, Nw = (e, t) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, $$ = (e, t, r) => `${Ie().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, Dy = () => "2.112.0-alpha.6", Ow = () => window.location.href, ky = () => {
|
3669
3669
|
try {
|
3670
3670
|
const e = new URLSearchParams(window.location.search);
|
3671
3671
|
if (e.get(Hr))
|
@@ -3687,7 +3687,7 @@ const j$ = (e, t) => {
|
|
3687
3687
|
A.error(e, "getInstallType");
|
3688
3688
|
}
|
3689
3689
|
return window.sheerIdInstallType || "cdn_no_iframe";
|
3690
|
-
}, B$ = () => `${Ie().restApi.serviceUrl}rest/v2/help/verificationHelp`,
|
3690
|
+
}, B$ = () => `${Ie().restApi.serviceUrl}rest/v2/help/verificationHelp`, Kr = (e) => {
|
3691
3691
|
try {
|
3692
3692
|
const t = new URLSearchParams(window.location.search);
|
3693
3693
|
if (t.get(e))
|
@@ -3697,7 +3697,7 @@ const j$ = (e, t) => {
|
|
3697
3697
|
} catch (t) {
|
3698
3698
|
A.error(t, "getQueryOrOption");
|
3699
3699
|
}
|
3700
|
-
}, _w = () => !!
|
3700
|
+
}, _w = () => !!Kr("mockStep"), Zo = (e = void 0) => {
|
3701
3701
|
try {
|
3702
3702
|
const t = new URLSearchParams(window.location.search);
|
3703
3703
|
let r;
|
@@ -3706,13 +3706,13 @@ const j$ = (e, t) => {
|
|
3706
3706
|
} catch (t) {
|
3707
3707
|
A.error(t, "getRouteOverride");
|
3708
3708
|
}
|
3709
|
-
}, kp = () =>
|
3709
|
+
}, kp = () => Kr(wa), _p = () => Kr(xa), Lw = () => Kr(Ca), rn = () => Kr(Ra), Uw = () => {
|
3710
3710
|
try {
|
3711
3711
|
return new URLSearchParams(window.location.search).get(wr) === Ro.loading || Ie()[wr] === Ro.loading;
|
3712
3712
|
} catch (e) {
|
3713
3713
|
return A.error(e, "isMockingLoading"), !1;
|
3714
3714
|
}
|
3715
|
-
}, jw = () =>
|
3715
|
+
}, jw = () => rn(), _y = () => Kr(Ta), Ly = () => Kr(Pa), Fw = (e) => {
|
3716
3716
|
const t = Ne(e), r = Lw(), n = Ly();
|
3717
3717
|
return r && (t.errorIds = [r]), n && (t.redirectUrl = n), t;
|
3718
3718
|
}, $w = (e) => {
|
@@ -5263,14 +5263,14 @@ async function IT(e, t, r) {
|
|
5263
5263
|
completeAuthentication: c
|
5264
5264
|
} = Le;
|
5265
5265
|
try {
|
5266
|
-
performance.clearMarks(
|
5267
|
-
eventName:
|
5266
|
+
performance.clearMarks(Et.STEP_SUBMITTED), performance.mark(Et.STEP_SUBMITTED), sn({
|
5267
|
+
eventName: Et.STEP_SUBMITTED,
|
5268
5268
|
params: {
|
5269
5269
|
step: e,
|
5270
5270
|
eventDuration: performance.measure(
|
5271
|
-
|
5272
|
-
|
5273
|
-
|
5271
|
+
Et.STEP_SUBMITTED,
|
5272
|
+
Et.STEP_SEEN,
|
5273
|
+
Et.STEP_SUBMITTED
|
5274
5274
|
).duration
|
5275
5275
|
}
|
5276
5276
|
});
|
@@ -5296,14 +5296,14 @@ async function IT(e, t, r) {
|
|
5296
5296
|
);
|
5297
5297
|
}
|
5298
5298
|
try {
|
5299
|
-
performance.clearMarks(
|
5300
|
-
eventName:
|
5299
|
+
performance.clearMarks(Et.STEP_ACCEPTED), performance.mark(Et.STEP_ACCEPTED), sn({
|
5300
|
+
eventName: Et.STEP_ACCEPTED,
|
5301
5301
|
params: {
|
5302
5302
|
step: e,
|
5303
5303
|
eventDuration: performance.measure(
|
5304
|
-
|
5305
|
-
|
5306
|
-
|
5304
|
+
Et.STEP_ACCEPTED,
|
5305
|
+
Et.STEP_SEEN,
|
5306
|
+
Et.STEP_ACCEPTED
|
5307
5307
|
).duration
|
5308
5308
|
}
|
5309
5309
|
});
|
@@ -5438,18 +5438,18 @@ class CT extends ov {
|
|
5438
5438
|
}), super.emit(t, r);
|
5439
5439
|
}
|
5440
5440
|
}
|
5441
|
-
const
|
5441
|
+
const on = new CT();
|
5442
5442
|
function TT() {
|
5443
5443
|
const e = {};
|
5444
|
-
for (const [t, r] of
|
5444
|
+
for (const [t, r] of on.events)
|
5445
5445
|
e[t] = [...r.subscribers.values()].map((n) => ({
|
5446
5446
|
name: t,
|
5447
5447
|
callback: n
|
5448
5448
|
}));
|
5449
5449
|
return e;
|
5450
5450
|
}
|
5451
|
-
const Ud = (e) => (R0(e),
|
5452
|
-
|
5451
|
+
const Ud = (e) => (R0(e), on.on(e.name, e.callback), TT()), G$ = (e) => (ly(e), (t) => {
|
5452
|
+
on.emit(e, t);
|
5453
5453
|
}), PT = () => {
|
5454
5454
|
let e = 0;
|
5455
5455
|
return ve(() => window.sheerId.hooks, []).forEach((t) => {
|
@@ -5467,7 +5467,7 @@ const Ud = (e) => (R0(e), sn.on(e.name, e.callback), TT()), G$ = (e) => (ly(e),
|
|
5467
5467
|
return t;
|
5468
5468
|
}, RT = (e, t) => {
|
5469
5469
|
const { currentStep: r } = e;
|
5470
|
-
i0(e) &&
|
5470
|
+
i0(e) && on.emit("ON_VERIFICATION_SUCCESS", e);
|
5471
5471
|
let n;
|
5472
5472
|
if (r === Le.collectActiveMilitaryPersonalInfo)
|
5473
5473
|
n = { ...t, dischargeDate: "" }, delete n.dischargeDate;
|
@@ -5481,7 +5481,7 @@ const Ud = (e) => (R0(e), sn.on(e.name, e.callback), TT()), G$ = (e) => (ly(e),
|
|
5481
5481
|
locale: a,
|
5482
5482
|
previousViewModel: t,
|
5483
5483
|
currentStep: r,
|
5484
|
-
externalUserId:
|
5484
|
+
externalUserId: Kr(ey)
|
5485
5485
|
});
|
5486
5486
|
}
|
5487
5487
|
return n;
|
@@ -6528,11 +6528,11 @@ var pv = { exports: {} };
|
|
6528
6528
|
Re[_[Nr]] = hn[Nr].offsetWidth, vr[_[Nr]] = hn[Nr].offsetHeight;
|
6529
6529
|
var oo = Ar();
|
6530
6530
|
Ae.appendChild(yt);
|
6531
|
-
for (var hs = [],
|
6532
|
-
fa(oo[L[
|
6531
|
+
for (var hs = [], Jr = 0, bc = L.length; Jr < bc; Jr++)
|
6532
|
+
fa(oo[L[Jr]]) && hs.push(L[Jr]);
|
6533
6533
|
Ae.removeChild(yt), Ae.removeChild(Qe), g(hs);
|
6534
6534
|
}, _e = function(g, R) {
|
6535
|
-
|
6535
|
+
Zr() ? R.plugins.excludeIE ? g(R.EXCLUDED) : g(Fe(R)) : g(Pe(R));
|
6536
6536
|
}, Pe = function(g) {
|
6537
6537
|
if (navigator.plugins == null)
|
6538
6538
|
return g.NOT_AVAILABLE;
|
@@ -6657,7 +6657,7 @@ var pv = { exports: {} };
|
|
6657
6657
|
} else
|
6658
6658
|
return null;
|
6659
6659
|
};
|
6660
|
-
if (g =
|
6660
|
+
if (g = Xr(), !g)
|
6661
6661
|
return null;
|
6662
6662
|
var L = [], de = "attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}", ue = "precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}", ge = g.createBuffer();
|
6663
6663
|
g.bindBuffer(g.ARRAY_BUFFER, ge);
|
@@ -6691,7 +6691,7 @@ var pv = { exports: {} };
|
|
6691
6691
|
}), da(g), L) : (da(g), L);
|
6692
6692
|
}, De = function() {
|
6693
6693
|
try {
|
6694
|
-
var g =
|
6694
|
+
var g = Xr(), R = g.getExtension("WEBGL_debug_renderer_info"), _ = g.getParameter(R.UNMASKED_VENDOR_WEBGL) + "~" + g.getParameter(R.UNMASKED_RENDERER_WEBGL);
|
6695
6695
|
return da(g), _;
|
6696
6696
|
} catch {
|
6697
6697
|
return null;
|
@@ -6778,9 +6778,9 @@ var pv = { exports: {} };
|
|
6778
6778
|
}, nr = function() {
|
6779
6779
|
if (!qt())
|
6780
6780
|
return !1;
|
6781
|
-
var g =
|
6781
|
+
var g = Xr(), R = !!window.WebGLRenderingContext && !!g;
|
6782
6782
|
return da(g), R;
|
6783
|
-
},
|
6783
|
+
}, Zr = function() {
|
6784
6784
|
return navigator.appName === "Microsoft Internet Explorer" ? !0 : !!(navigator.appName === "Netscape" && /Trident/.test(navigator.userAgent));
|
6785
6785
|
}, bt = function() {
|
6786
6786
|
return ("msWriteProfilerMark" in window) + ("msLaunchUri" in navigator) + ("msSaveBlob" in navigator) >= 2;
|
@@ -6800,7 +6800,7 @@ var pv = { exports: {} };
|
|
6800
6800
|
ao();
|
6801
6801
|
var de = { onReady: _ }, ue = { allowScriptAccess: "always", menu: "false" };
|
6802
6802
|
window.swfobject.embedSWF(R.fonts.swfPath, L, "1", "1", "9.0.0", !1, de, ue, {});
|
6803
|
-
},
|
6803
|
+
}, Xr = function() {
|
6804
6804
|
var g = document.createElement("canvas"), R = null;
|
6805
6805
|
try {
|
6806
6806
|
R = g.getContext("webgl") || g.getContext("experimental-webgl");
|
@@ -7033,9 +7033,9 @@ const QT = (e) => {
|
|
7033
7033
|
locale: d,
|
7034
7034
|
country: E,
|
7035
7035
|
previousViewModel: y,
|
7036
|
-
externalUserId:
|
7036
|
+
externalUserId: Kr(ey)
|
7037
7037
|
});
|
7038
|
-
b = NT(b, c), rP(o, l) && (
|
7038
|
+
b = NT(b, c), rP(o, l) && (on.emit("ON_VERIFICATION_STEP_CHANGE", l), o && o.currentStep === "sso" && l.currentStep !== "sso" && l.currentStep !== "pending" && Jg()), c.threatMetrixEnabled && lv(l.verificationId), $C(l.verificationId), b && b.hasOwnProperty("metadata") && (b.metadata = {
|
7039
7039
|
...b.metadata,
|
7040
7040
|
...QT(cv(c).keys)
|
7041
7041
|
});
|
@@ -7049,7 +7049,7 @@ const QT = (e) => {
|
|
7049
7049
|
e({ type: "FORM_VALIDATION_OPTIONS" }),
|
7050
7050
|
e({ type: "REQUIRED_METADATA_CHECK" })
|
7051
7051
|
]).then(() => {
|
7052
|
-
|
7052
|
+
on.emit("ON_VERIFICATION_READY", l), on.off("ON_VERIFICATION_READY");
|
7053
7053
|
}).catch((F) => {
|
7054
7054
|
A.error(F, "createFetchVerificationRequest promises");
|
7055
7055
|
});
|
@@ -7072,7 +7072,7 @@ const QT = (e) => {
|
|
7072
7072
|
t,
|
7073
7073
|
o
|
7074
7074
|
), i = dv(s);
|
7075
|
-
return
|
7075
|
+
return on.emit("ON_FORM_LOCALE_CHANGE", o), Ad(o, i, a).then(
|
7076
7076
|
(l) => Promise.all([
|
7077
7077
|
e({ messages: l, type: "SET_MESSAGES" }),
|
7078
7078
|
e({ viewModel: r, type: "VIEW_MODEL" }),
|
@@ -7106,7 +7106,7 @@ const QT = (e) => {
|
|
7106
7106
|
});
|
7107
7107
|
}
|
7108
7108
|
const l = e({ type: "IS_LOADING", isLoading: !1 });
|
7109
|
-
return
|
7109
|
+
return on.emit("ON_VERIFICATION_STEP_CHANGE", a), Promise.all([s, i, l]);
|
7110
7110
|
}, Fu = (e) => (t) => Promise.all([
|
7111
7111
|
e({
|
7112
7112
|
type: "VIEW_MODEL",
|
@@ -8401,7 +8401,7 @@ function Nn(e) {
|
|
8401
8401
|
return t.prototype = new Error(), t.prototype.name = e, t.prototype.constructor = t, t;
|
8402
8402
|
}
|
8403
8403
|
const AR = Nn("LaunchDarklyUnexpectedResponseError"), NR = Nn("LaunchDarklyInvalidEnvironmentIdError"), OR = Nn("LaunchDarklyInvalidUserError"), DR = Nn("LaunchDarklyInvalidEventKeyError"), kR = Nn("LaunchDarklyInvalidArgumentError"), _R = Nn("LaunchDarklyFlagFetchError");
|
8404
|
-
for (var
|
8404
|
+
for (var It = { LDUnexpectedResponseError: AR, LDInvalidEnvironmentIdError: NR, LDInvalidUserError: OR, LDInvalidEventKeyError: DR, LDInvalidArgumentError: kR, LDInvalidDataError: Nn("LaunchDarklyInvalidDataError"), LDFlagFetchError: _R, LDTimeoutError: Nn("LaunchDarklyTimeoutError"), isHttpErrorRecoverable: function(e) {
|
8405
8405
|
return !(e >= 400 && e < 500) || e === 400 || e === 408 || e === 429;
|
8406
8406
|
} }, LR = function(e) {
|
8407
8407
|
var t = Pm(e), r = t[0], n = t[1];
|
@@ -8745,7 +8745,7 @@ var je = { bootstrapInvalid: function() {
|
|
8745
8745
|
}, eventWithoutContext: function() {
|
8746
8746
|
return "Be sure to call `identify` in the LaunchDarkly client: https://docs.launchdarkly.com/sdk/features/identify#javascript";
|
8747
8747
|
}, httpErrorMessage: function(e, t, r) {
|
8748
|
-
return "Received error " + e + (e === 401 ? " (invalid SDK key)" : "") + " for " + t + " - " + (
|
8748
|
+
return "Received error " + e + (e === 401 ? " (invalid SDK key)" : "") + " for " + t + " - " + (It.isHttpErrorRecoverable(e) ? r : "giving up permanently");
|
8749
8749
|
}, httpUnavailable: function() {
|
8750
8750
|
return "Cannot make HTTP requests in this environment." + ba;
|
8751
8751
|
}, identifyDisabled: function() {
|
@@ -8788,7 +8788,7 @@ var Jd = { baseOptionDefs: _m, validate: function(e, t, r, n) {
|
|
8788
8788
|
const a = Ve.extend({ logger: { default: n } }, _m, r), o = {};
|
8789
8789
|
function s(l) {
|
8790
8790
|
Ve.onNextTick(() => {
|
8791
|
-
t && t.maybeReportError(new
|
8791
|
+
t && t.maybeReportError(new It.LDInvalidArgumentError(l));
|
8792
8792
|
});
|
8793
8793
|
}
|
8794
8794
|
let i = Ve.extend({}, e || {});
|
@@ -8854,7 +8854,7 @@ var qv = function(e, t, r) {
|
|
8854
8854
|
return function d(f) {
|
8855
8855
|
const p = i ? n : Ve.extend({}, n, { "X-LaunchDarkly-Event-Schema": "4", "X-LaunchDarkly-Payload-ID": c });
|
8856
8856
|
return e.httpRequest("POST", s, nA(p, r), l).promise.then((m) => {
|
8857
|
-
if (m) return m.status >= 400 &&
|
8857
|
+
if (m) return m.status >= 400 && It.isHttpErrorRecoverable(m.status) && f ? d(!1) : function(y) {
|
8858
8858
|
const h = { status: y.status }, v = y.header("date");
|
8859
8859
|
if (v) {
|
8860
8860
|
const M = Date.parse(v);
|
@@ -9026,8 +9026,8 @@ var cA = function(e, t, r, n = null, a = null, o = null) {
|
|
9026
9026
|
if (I) return Promise.resolve();
|
9027
9027
|
const T = v, B = c.getSummary();
|
9028
9028
|
return c.clearSummary(), B && (B.kind = "summary", T.push(B)), n && n.setEventsInLastBatch(T.length), T.length === 0 ? Promise.resolve() : (v = [], y.debug(je.debugPostingEvents(T.length)), i.sendEvents(T, l).then((O) => {
|
9029
|
-
O && (O.serverTime && (M = O.serverTime),
|
9030
|
-
a.maybeReportError(new
|
9029
|
+
O && (O.serverTime && (M = O.serverTime), It.isHttpErrorRecoverable(O.status) || (I = !0), O.status >= 400 && Ve.onNextTick(() => {
|
9030
|
+
a.maybeReportError(new It.LDUnexpectedResponseError(je.httpErrorMessage(O.status, "event posting", "some events were dropped")));
|
9031
9031
|
}));
|
9032
9032
|
}));
|
9033
9033
|
}, s.start = function() {
|
@@ -9121,7 +9121,7 @@ var dA = function(e) {
|
|
9121
9121
|
}) : s(!1);
|
9122
9122
|
}), r;
|
9123
9123
|
};
|
9124
|
-
const { appendUrlPath: Vm, base64URLEncode: mA, objectHasOwnProperty: hA } = Ve, { getLDHeaders: gA, transformHeaders: yA } = Qd, { isHttpErrorRecoverable: vA } =
|
9124
|
+
const { appendUrlPath: Vm, base64URLEncode: mA, objectHasOwnProperty: hA } = Ve, { getLDHeaders: gA, transformHeaders: yA } = Qd, { isHttpErrorRecoverable: vA } = It;
|
9125
9125
|
var bA = function(e, t, r, n) {
|
9126
9126
|
const a = t.streamUrl, o = t.logger, s = {}, i = Vm(a, "/eval/" + r), l = t.useReport, c = t.evaluationReasons, d = t.streamReconnectDelay, f = gA(e, t);
|
9127
9127
|
let p, m = !1, y = null, h = null, v = null, M = null, I = null, E = 0;
|
@@ -9189,7 +9189,7 @@ var EA = function(e, t, r) {
|
|
9189
9189
|
const n = t.baseUrl, a = t.useReport, o = t.evaluationReasons, s = t.logger, i = {}, l = {};
|
9190
9190
|
function c(d, f) {
|
9191
9191
|
if (!e.httpRequest) return new Promise((M, I) => {
|
9192
|
-
I(new
|
9192
|
+
I(new It.LDFlagFetchError(je.httpUnavailable()));
|
9193
9193
|
});
|
9194
9194
|
const p = f ? "REPORT" : "GET", m = MA(e, t);
|
9195
9195
|
f && (m["Content-Type"] = Hm);
|
@@ -9202,13 +9202,13 @@ var EA = function(e, t, r) {
|
|
9202
9202
|
if (M.header("content-type") && M.header("content-type").substring(0, 16) === Hm) return JSON.parse(M.body);
|
9203
9203
|
{
|
9204
9204
|
const I = je.invalidContentType(M.header("content-type") || "");
|
9205
|
-
return Promise.reject(new
|
9205
|
+
return Promise.reject(new It.LDFlagFetchError(I));
|
9206
9206
|
}
|
9207
9207
|
}
|
9208
9208
|
return Promise.reject(function(I) {
|
9209
|
-
return I.status === 404 ? new
|
9209
|
+
return I.status === 404 ? new It.LDInvalidEnvironmentIdError(je.environmentNotFound()) : new It.LDFlagFetchError(je.errorFetchingFlags(I.statusText || String(I.status)));
|
9210
9210
|
}(M));
|
9211
|
-
}, (M) => Promise.reject(new
|
9211
|
+
}, (M) => Promise.reject(new It.LDFlagFetchError(je.networkError(M))));
|
9212
9212
|
return y.addPromise(v, () => {
|
9213
9213
|
h.cancel && h.cancel();
|
9214
9214
|
}), y.resultPromise;
|
@@ -9244,10 +9244,10 @@ var TA = function(e) {
|
|
9244
9244
|
return e.set(t(l), i);
|
9245
9245
|
}(s, n).then(() => a);
|
9246
9246
|
}
|
9247
|
-
}) : Promise.reject(new
|
9247
|
+
}) : Promise.reject(new It.LDInvalidUserError(je.invalidContext()));
|
9248
9248
|
}
|
9249
9249
|
this.processContext = (n) => {
|
9250
|
-
if (!n) return Promise.reject(new
|
9250
|
+
if (!n) return Promise.reject(new It.LDInvalidUserError(je.contextNotSpecified()));
|
9251
9251
|
const a = Ve.clone(n);
|
9252
9252
|
if (n.kind === "multi") {
|
9253
9253
|
const o = CA(a);
|
@@ -9369,7 +9369,7 @@ var NA = { InspectorTypes: Jt, InspectorManager: function(e, t) {
|
|
9369
9369
|
});
|
9370
9370
|
}, r;
|
9371
9371
|
} };
|
9372
|
-
const { LDTimeoutError: OA } =
|
9372
|
+
const { LDTimeoutError: OA } = It;
|
9373
9373
|
var DA = function(e, t) {
|
9374
9374
|
return new Promise((r, n) => {
|
9375
9375
|
setTimeout(() => {
|
@@ -9404,7 +9404,7 @@ var Yv = { initialize: function(e, t, r, n, a) {
|
|
9404
9404
|
Me && (se.version = Me.flagVersion ? Me.flagVersion : Me.version, se.trackEvents = Me.trackEvents, se.debugEventsUntilDate = Me.debugEventsUntilDate), (oe || Me && Me.trackReason) && N && (se.reason = N.reason), ae(se);
|
9405
9405
|
}
|
9406
9406
|
function K(C) {
|
9407
|
-
return _A(C, !1) ? Promise.resolve(C) : Promise.reject(new
|
9407
|
+
return _A(C, !1) ? Promise.resolve(C) : Promise.reject(new It.LDInvalidUserError(je.invalidContext()));
|
9408
9408
|
}
|
9409
9409
|
function X(C, N, j, oe, J, he) {
|
9410
9410
|
var le;
|
@@ -9424,7 +9424,7 @@ var Yv = { initialize: function(e, t, r, n, a) {
|
|
9424
9424
|
try {
|
9425
9425
|
return JSON.parse(N);
|
9426
9426
|
} catch {
|
9427
|
-
return void s.maybeReportError(new
|
9427
|
+
return void s.maybeReportError(new It.LDInvalidDataError(je.invalidData()));
|
9428
9428
|
}
|
9429
9429
|
};
|
9430
9430
|
E.connect(G.getContext(), p, { ping: function() {
|
@@ -9433,7 +9433,7 @@ var Yv = { initialize: function(e, t, r, n, a) {
|
|
9433
9433
|
x.fetchFlagSettings(N, p).then((j) => {
|
9434
9434
|
Ve.deepEquals(N, G.getContext()) && me(j || {});
|
9435
9435
|
}).catch((j) => {
|
9436
|
-
s.maybeReportError(new
|
9436
|
+
s.maybeReportError(new It.LDFlagFetchError(je.errorFetchingFlags(j)));
|
9437
9437
|
});
|
9438
9438
|
}, put: function(N) {
|
9439
9439
|
const j = C(N.data);
|
@@ -9506,12 +9506,12 @@ var Yv = { initialize: function(e, t, r, n, a) {
|
|
9506
9506
|
});
|
9507
9507
|
} else (function() {
|
9508
9508
|
return e ? H.processContext(t).then(K).then((C) => (G.setContext(C), typeof l.bootstrap == "object" ? Ce() : F ? q.loadFlags().then((N) => N == null ? (O = {}, x.fetchFlagSettings(G.getContext(), p).then((j) => me(j || {})).then(Ce).catch((j) => {
|
9509
|
-
$e(new
|
9509
|
+
$e(new It.LDFlagFetchError(je.errorFetchingFlags(j)));
|
9510
9510
|
})) : (O = N, Ve.onNextTick(Ce), x.fetchFlagSettings(G.getContext(), p).then((j) => me(j)).catch((j) => s.maybeReportError(j)))) : x.fetchFlagSettings(G.getContext(), p).then((N) => {
|
9511
9511
|
O = N || {}, re(), Ce();
|
9512
9512
|
}).catch((N) => {
|
9513
9513
|
O = {}, $e(N);
|
9514
|
-
}))) : Promise.reject(new
|
9514
|
+
}))) : Promise.reject(new It.LDInvalidEnvironmentIdError(je.environmentNotSpecified()));
|
9515
9515
|
})().catch($e);
|
9516
9516
|
function Fe(C) {
|
9517
9517
|
f = C.environment, G.setContext(C.context), O = { ...C.flags }, Ve.onNextTick(Ce);
|
@@ -9528,7 +9528,7 @@ var Yv = { initialize: function(e, t, r, n, a) {
|
|
9528
9528
|
N > 5 && o.warn("The waitForInitialization function was called with a timeout greater than 5 seconds. We recommend a timeout of 5 seconds or less.");
|
9529
9529
|
const j = i.getInitializationPromise(), oe = DA(N, "waitForInitialization");
|
9530
9530
|
return Promise.race([oe, j]).catch((J) => {
|
9531
|
-
throw J instanceof
|
9531
|
+
throw J instanceof It.LDTimeoutError && o.error(`waitForInitialization error: ${J}`), J;
|
9532
9532
|
});
|
9533
9533
|
}(C);
|
9534
9534
|
o.warn("The waitForInitialization method was provided with a non-numeric timeout.");
|
@@ -9549,7 +9549,7 @@ var Yv = { initialize: function(e, t, r, n, a) {
|
|
9549
9549
|
}, variationDetail: function(C, N) {
|
9550
9550
|
return X(C, N, !0, !0, !1, !0);
|
9551
9551
|
}, track: function(C, N, j) {
|
9552
|
-
if (typeof C != "string") return void s.maybeReportError(new
|
9552
|
+
if (typeof C != "string") return void s.maybeReportError(new It.LDInvalidEventKeyError(je.unknownCustomEventKey(C)));
|
9553
9553
|
j !== void 0 && typeof j != "number" && o.warn(je.invalidMetricValue(typeof j)), n.customEventFilter && !n.customEventFilter(C) && o.warn(je.unknownCustomEventKey(C));
|
9554
9554
|
const oe = G.getContext(), J = { kind: "custom", key: C, context: oe, url: n.getCurrentUrl(), creationDate: (/* @__PURE__ */ new Date()).getTime() };
|
9555
9555
|
oe && oe.anonymous && (J.contextKind = oe.anonymous ? "anonymousUser" : "user"), N != null && (J.data = N), j != null && (J.metricValue = j), ae(J);
|
@@ -9585,7 +9585,7 @@ var Yv = { initialize: function(e, t, r, n, a) {
|
|
9585
9585
|
}, enqueueEvent: ae, getFlagsInternal: function() {
|
9586
9586
|
return O;
|
9587
9587
|
}, getEnvironmentId: () => f, internalChangeEventName: zm };
|
9588
|
-
}, errors:
|
9588
|
+
}, errors: It }, UA = Yv.initialize, jA = Yv.errors;
|
9589
9589
|
function FA(e, t, r) {
|
9590
9590
|
return (t = function(n) {
|
9591
9591
|
var a = function(o, s) {
|
@@ -10426,31 +10426,31 @@ function Kt(e) {
|
|
10426
10426
|
return e;
|
10427
10427
|
}
|
10428
10428
|
var QN = /([A-Z])/g, e1 = /^ms-/, zu = Array.isArray;
|
10429
|
-
function
|
10429
|
+
function en(e, t) {
|
10430
10430
|
return { insertionMode: e, selectedValue: t };
|
10431
10431
|
}
|
10432
10432
|
function t1(e, t, r) {
|
10433
10433
|
switch (t) {
|
10434
10434
|
case "select":
|
10435
|
-
return
|
10435
|
+
return en(1, r.value != null ? r.value : r.defaultValue);
|
10436
10436
|
case "svg":
|
10437
|
-
return
|
10437
|
+
return en(2, null);
|
10438
10438
|
case "math":
|
10439
|
-
return
|
10439
|
+
return en(3, null);
|
10440
10440
|
case "foreignObject":
|
10441
|
-
return
|
10441
|
+
return en(1, null);
|
10442
10442
|
case "table":
|
10443
|
-
return
|
10443
|
+
return en(4, null);
|
10444
10444
|
case "thead":
|
10445
10445
|
case "tbody":
|
10446
10446
|
case "tfoot":
|
10447
|
-
return
|
10447
|
+
return en(5, null);
|
10448
10448
|
case "colgroup":
|
10449
|
-
return
|
10449
|
+
return en(7, null);
|
10450
10450
|
case "tr":
|
10451
|
-
return
|
10451
|
+
return en(6, null);
|
10452
10452
|
}
|
10453
|
-
return 4 <= e.insertionMode || e.insertionMode === 0 ?
|
10453
|
+
return 4 <= e.insertionMode || e.insertionMode === 0 ? en(1, null) : e;
|
10454
10454
|
}
|
10455
10455
|
var sh = /* @__PURE__ */ new Map();
|
10456
10456
|
function yb(e, t, r) {
|
@@ -12963,12 +12963,7 @@ const ed = (e) => (t) => {
|
|
12963
12963
|
s,
|
12964
12964
|
a
|
12965
12965
|
);
|
12966
|
-
|
12967
|
-
eventName: It.INVALID_FORM_SUBMIT,
|
12968
|
-
params: {
|
12969
|
-
fieldValidationErrors: JSON.stringify(a)
|
12970
|
-
}
|
12971
|
-
}), Mf(a, t), Qg(i);
|
12966
|
+
Mf(a, t), Qg(i);
|
12972
12967
|
}
|
12973
12968
|
}, hD = (e, t, r) => {
|
12974
12969
|
const n = r.formatHTMLMessage({
|
@@ -13032,7 +13027,7 @@ const ed = (e) => (t) => {
|
|
13032
13027
|
return (s.includes("preview") || s.includes("localhost")) && (o = n), `${o}/${e}/${t}/${r}/remember-me/`;
|
13033
13028
|
}, ie = (e, t = Ie()) => t.formFieldConfig.find((n) => n.fieldId === e), pn = ({ children: e, align: t }) => {
|
13034
13029
|
const r = wt(null);
|
13035
|
-
return
|
13030
|
+
return St(() => {
|
13036
13031
|
r.current && r.current.focus();
|
13037
13032
|
}, [r.current]), /* @__PURE__ */ u.jsx(
|
13038
13033
|
"div",
|
@@ -13147,7 +13142,7 @@ const ed = (e) => (t) => {
|
|
13147
13142
|
}
|
13148
13143
|
) }),
|
13149
13144
|
/* @__PURE__ */ u.jsx("div", { className: "sid-l-space-top-xl" })
|
13150
|
-
] }), CD = xD,
|
13145
|
+
] }), CD = xD, Mt = (e) => e.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`);
|
13151
13146
|
var Ho = /* @__PURE__ */ ((e) => (e.PRIMARY = "primary", e.SECONDARY = "secondary", e))(Ho || {});
|
13152
13147
|
const fI = ({
|
13153
13148
|
verificationService: e,
|
@@ -13156,7 +13151,7 @@ const fI = ({
|
|
13156
13151
|
cancelButtonType: n = "primary"
|
13157
13152
|
/* PRIMARY */
|
13158
13153
|
}) => {
|
13159
|
-
const { programId: a } = e, o = e.viewModel, s = e.previousViewModel || void 0, i = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: c } = e.verificationResponse, d = Zo(), f =
|
13154
|
+
const { programId: a } = e, o = e.viewModel, s = e.previousViewModel || void 0, i = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: c } = e.verificationResponse, d = Zo(), f = Mt(t);
|
13160
13155
|
let p;
|
13161
13156
|
const m = /* @__PURE__ */ u.jsx(
|
13162
13157
|
On,
|
@@ -13256,7 +13251,7 @@ const fI = ({
|
|
13256
13251
|
cancelSingleSignOn: n,
|
13257
13252
|
cancelButtonType: a = Ho.PRIMARY
|
13258
13253
|
}) => {
|
13259
|
-
const o =
|
13254
|
+
const o = Mt(e);
|
13260
13255
|
return /* @__PURE__ */ u.jsxs("div", { className: "sid-header sid-l-horz-center", children: [
|
13261
13256
|
/* @__PURE__ */ u.jsx("div", { className: "sid-pending-logo-container sid-l-horz-center", children: r }),
|
13262
13257
|
/* @__PURE__ */ u.jsx(pn, { align: "center", children: t.title }),
|
@@ -13368,7 +13363,7 @@ const fI = ({
|
|
13368
13363
|
cancelThirdPartyLoop: r,
|
13369
13364
|
isMockingPreviousStepThirdPartyLoop: n
|
13370
13365
|
}) => {
|
13371
|
-
const a = n ?
|
13366
|
+
const a = n ? Kr(v0) : t == null ? void 0 : t.thirdPartyLoopProvider, o = pI[a] || void 0;
|
13372
13367
|
return o ? /* @__PURE__ */ u.jsx(
|
13373
13368
|
Jl,
|
13374
13369
|
{
|
@@ -13406,7 +13401,7 @@ const fI = ({
|
|
13406
13401
|
messages: wf
|
13407
13402
|
}
|
13408
13403
|
), AD = 5e3, ND = 2e4, OD = 5e3, DD = (e, t, r, n, a, o, s, i) => (e || !t && !r && !n) && !a && !o && !s && !i, kD = ({ verificationService: e, intl: t }) => {
|
13409
|
-
const { programId: r } = e, { viewModel: n } = e, a = e.previousViewModel || void 0, o = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: s } = e.verificationResponse, i = 20, l = Zo(), c =
|
13404
|
+
const { programId: r } = e, { viewModel: n } = e, a = e.previousViewModel || void 0, o = e.verificationResponse.lastResponse || e.previousVerificationResponse || void 0, { verificationId: s } = e.verificationResponse, i = 20, l = Zo(), c = rn() && rn() === Le.sso, d = rn() && rn() === Le.thirdPartyLoop, f = rn() && rn() === Le.idCheckLoop, p = rn() && rn() === Le.docUpload, m = () => !!(o && o.currentStep === Le.sso), y = () => !!(o && o.currentStep === Le.thirdPartyLoop), h = () => !!(o && o.currentStep === Le.idCheckLoop), [v, M] = ee.useState(
|
13410
13405
|
DD(
|
13411
13406
|
Ie().mockStep === "pending",
|
13412
13407
|
m(),
|
@@ -13702,25 +13697,25 @@ const fI = ({
|
|
13702
13697
|
}, td = ze(GD), WD = {
|
13703
13698
|
StepPendingComponent: _D,
|
13704
13699
|
StepErrorComponent: td,
|
13705
|
-
StepStudentPersonalInfoComponent: ee.lazy(() => import("./index-
|
13706
|
-
StepOverrideComponent: ee.lazy(() => import("./index-
|
13707
|
-
StepAgePersonalInfoComponent: ee.lazy(() => import("./index-
|
13708
|
-
StepSeniorPersonalInfoComponent: ee.lazy(() => import("./index-
|
13700
|
+
StepStudentPersonalInfoComponent: ee.lazy(() => import("./index-Dt00IbgN.js")),
|
13701
|
+
StepOverrideComponent: ee.lazy(() => import("./index-3Zq_I3L9.js")),
|
13702
|
+
StepAgePersonalInfoComponent: ee.lazy(() => import("./index-CLW01LQa.js")),
|
13703
|
+
StepSeniorPersonalInfoComponent: ee.lazy(() => import("./index-CLW01LQa.js")),
|
13709
13704
|
StepActiveMilitaryPersonalInfoComponent: ee.lazy(
|
13710
13705
|
() => Promise.resolve().then(() => YF)
|
13711
13706
|
),
|
13712
13707
|
StepCollectMilitaryStatusComponent: ee.lazy(
|
13713
|
-
() => import("./StepCollectMilitaryStatusComponent-
|
13708
|
+
() => import("./StepCollectMilitaryStatusComponent-diSO4X44.js")
|
13714
13709
|
),
|
13715
13710
|
StepInactiveMilitaryPersonalInfoComponent: ee.lazy(
|
13716
|
-
() => import("./StepInactiveMilitaryPersonalInfoComponent
|
13711
|
+
() => import("./StepInactiveMilitaryPersonalInfoComponent--j3AeyAM.js")
|
13717
13712
|
),
|
13718
13713
|
StepDriverLicensePersonalInfoComponent: ee.lazy(
|
13719
13714
|
() => Promise.resolve().then(() => r$)
|
13720
13715
|
),
|
13721
|
-
StepEmploymentPersonalInfoComponent: ee.lazy(() => import("./index-
|
13716
|
+
StepEmploymentPersonalInfoComponent: ee.lazy(() => import("./index-BW1KI9lV.js")),
|
13722
13717
|
StepFirstResponderPersonalInfoComponent: ee.lazy(
|
13723
|
-
() => import("./index-
|
13718
|
+
() => import("./index-BVkO1s81.js")
|
13724
13719
|
),
|
13725
13720
|
StepGeneralIdentityPersonalInfoComponent: ee.lazy(
|
13726
13721
|
() => Promise.resolve().then(() => n$)
|
@@ -13728,29 +13723,29 @@ const fI = ({
|
|
13728
13723
|
StepHybridIdentityPersonalInfoComponent: ee.lazy(
|
13729
13724
|
() => Promise.resolve().then(() => a$)
|
13730
13725
|
),
|
13731
|
-
StepIDCheckLoopComponent: ee.lazy(() => import("./index-
|
13726
|
+
StepIDCheckLoopComponent: ee.lazy(() => import("./index-DI0BRmX0.js")),
|
13732
13727
|
StepLicensedProfessionalPersonalInfoComponent: ee.lazy(
|
13733
|
-
() => import("./index-
|
13728
|
+
() => import("./index-grVGwN7h.js")
|
13734
13729
|
),
|
13735
|
-
StepLowIncomePersonalInfoComponent: ee.lazy(() => import("./index-
|
13730
|
+
StepLowIncomePersonalInfoComponent: ee.lazy(() => import("./index-BvTqyz7K.js")),
|
13736
13731
|
StepMedicalProfessionalPersonalInfoComponent: ee.lazy(
|
13737
|
-
() => import("./index-
|
13732
|
+
() => import("./index-DC_tMfvx.js")
|
13738
13733
|
),
|
13739
|
-
StepMemberPersonalInfoComponent: ee.lazy(() => import("./index-
|
13740
|
-
StepConsolationComponent: ee.lazy(() => import("./index-
|
13741
|
-
StepDocUploadComponent: ee.lazy(() => import("./index-
|
13742
|
-
StepEmailLoopComponent: ee.lazy(() => import("./index-
|
13743
|
-
StepPendingEmailLoopComponent: ee.lazy(() => import("./EmailLoopPending-
|
13744
|
-
StepMoverPersonalInfoComponent: ee.lazy(() => import("./index-
|
13745
|
-
StepSMSLoopComponent: ee.lazy(() => import("./index-
|
13746
|
-
StepSocialSecurity: ee.lazy(() => import("./index-
|
13747
|
-
StepSSOComponent: ee.lazy(() => import("./index-
|
13748
|
-
StepSuccessComponent: ee.lazy(() => import("./index-
|
13749
|
-
StepTeacherPersonalInfoComponent: ee.lazy(() => import("./index-
|
13750
|
-
StepCompleteAuthentication: ee.lazy(() => import("./index-
|
13751
|
-
StepCollectIdentifierComponent: ee.lazy(() => import("./index-
|
13752
|
-
StepCollectPersonalInfo: ee.lazy(() => import("./index-
|
13753
|
-
StepThirdPartyLoopComponent: ee.lazy(() => import("./index-
|
13734
|
+
StepMemberPersonalInfoComponent: ee.lazy(() => import("./index-Be3_NBkN.js")),
|
13735
|
+
StepConsolationComponent: ee.lazy(() => import("./index-B0Xzi5fz.js")),
|
13736
|
+
StepDocUploadComponent: ee.lazy(() => import("./index-DLEUiNwX.js")),
|
13737
|
+
StepEmailLoopComponent: ee.lazy(() => import("./index-BcXJ1-DF.js")),
|
13738
|
+
StepPendingEmailLoopComponent: ee.lazy(() => import("./EmailLoopPending-8SrVq8_4.js")),
|
13739
|
+
StepMoverPersonalInfoComponent: ee.lazy(() => import("./index-OeVwnTSz.js")),
|
13740
|
+
StepSMSLoopComponent: ee.lazy(() => import("./index-wlSdkN3D.js")),
|
13741
|
+
StepSocialSecurity: ee.lazy(() => import("./index-d_PLvLfG.js")),
|
13742
|
+
StepSSOComponent: ee.lazy(() => import("./index-D6B6HAGi.js")),
|
13743
|
+
StepSuccessComponent: ee.lazy(() => import("./index-pdBa2Jss.js")),
|
13744
|
+
StepTeacherPersonalInfoComponent: ee.lazy(() => import("./index-CVplTTFK.js")),
|
13745
|
+
StepCompleteAuthentication: ee.lazy(() => import("./index-DvtVG-vT.js")),
|
13746
|
+
StepCollectIdentifierComponent: ee.lazy(() => import("./index-BiIbo2KG.js")),
|
13747
|
+
StepCollectPersonalInfo: ee.lazy(() => import("./index-nX2lLyUj.js")),
|
13748
|
+
StepThirdPartyLoopComponent: ee.lazy(() => import("./index-DjHUibJy.js"))
|
13754
13749
|
}, Xe = (e) => {
|
13755
13750
|
A.info("getComponent", e);
|
13756
13751
|
const t = sP(e);
|
@@ -13758,7 +13753,7 @@ const fI = ({
|
|
13758
13753
|
}, qD = () => /* @__PURE__ */ u.jsx(Fl, {}), KD = ({ stepToLoad: e, verificationService: t }) => {
|
13759
13754
|
A.info(`LoadStepComponent: rendering step: ${e}`);
|
13760
13755
|
let r;
|
13761
|
-
switch (
|
13756
|
+
switch (St(() => {
|
13762
13757
|
try {
|
13763
13758
|
performance.mark(Er.INITIAL_STEP_LOAD);
|
13764
13759
|
} catch {
|
@@ -13766,8 +13761,8 @@ const fI = ({
|
|
13766
13761
|
}, []), ee.useEffect(() => {
|
13767
13762
|
if (!["pending", "error"].includes(e))
|
13768
13763
|
try {
|
13769
|
-
performance.mark(
|
13770
|
-
eventName:
|
13764
|
+
performance.mark(Et.STEP_SEEN), sn({
|
13765
|
+
eventName: Et.STEP_SEEN,
|
13771
13766
|
params: {
|
13772
13767
|
step: e
|
13773
13768
|
}
|
@@ -15118,7 +15113,7 @@ function mr(e) {
|
|
15118
15113
|
var t;
|
15119
15114
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
15120
15115
|
}
|
15121
|
-
function
|
15116
|
+
function Yr(e) {
|
15122
15117
|
var t;
|
15123
15118
|
return (t = (TI(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
15124
15119
|
}
|
@@ -15128,7 +15123,7 @@ function TI(e) {
|
|
15128
15123
|
function kr(e) {
|
15129
15124
|
return Ql() ? e instanceof Element || e instanceof mr(e).Element : !1;
|
15130
15125
|
}
|
15131
|
-
function
|
15126
|
+
function qr(e) {
|
15132
15127
|
return Ql() ? e instanceof HTMLElement || e instanceof mr(e).HTMLElement : !1;
|
15133
15128
|
}
|
15134
15129
|
function cg(e) {
|
@@ -15161,7 +15156,7 @@ function Pf(e) {
|
|
15161
15156
|
}
|
15162
15157
|
function n_(e) {
|
15163
15158
|
let t = Ln(e);
|
15164
|
-
for (;
|
15159
|
+
for (; qr(t) && !Ka(t); ) {
|
15165
15160
|
if (Pf(t))
|
15166
15161
|
return t;
|
15167
15162
|
if (ec(t))
|
@@ -15196,13 +15191,13 @@ function Ln(e) {
|
|
15196
15191
|
e.assignedSlot || // DOM Element detected.
|
15197
15192
|
e.parentNode || // ShadowRoot detected.
|
15198
15193
|
cg(e) && e.host || // Fallback.
|
15199
|
-
|
15194
|
+
Yr(e)
|
15200
15195
|
);
|
15201
15196
|
return cg(t) ? t.host : t;
|
15202
15197
|
}
|
15203
15198
|
function PI(e) {
|
15204
15199
|
const t = Ln(e);
|
15205
|
-
return Ka(t) ? e.ownerDocument ? e.ownerDocument.body : e.body :
|
15200
|
+
return Ka(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : qr(t) && ns(t) ? t : PI(t);
|
15206
15201
|
}
|
15207
15202
|
function Go(e, t, r) {
|
15208
15203
|
var n;
|
@@ -15220,7 +15215,7 @@ function od(e) {
|
|
15220
15215
|
function RI(e) {
|
15221
15216
|
const t = _r(e);
|
15222
15217
|
let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
|
15223
|
-
const a =
|
15218
|
+
const a = qr(e), o = a ? e.offsetWidth : r, s = a ? e.offsetHeight : n, i = Gi(r) !== o || Gi(n) !== s;
|
15224
15219
|
return i && (r = o, n = s), {
|
15225
15220
|
width: r,
|
15226
15221
|
height: n,
|
@@ -15232,7 +15227,7 @@ function Af(e) {
|
|
15232
15227
|
}
|
15233
15228
|
function Ba(e) {
|
15234
15229
|
const t = Af(e);
|
15235
|
-
if (!
|
15230
|
+
if (!qr(t))
|
15236
15231
|
return Wr(1);
|
15237
15232
|
const r = t.getBoundingClientRect(), {
|
15238
15233
|
width: n,
|
@@ -15280,7 +15275,7 @@ function oa(e, t, r, n) {
|
|
15280
15275
|
}
|
15281
15276
|
function Nf(e, t) {
|
15282
15277
|
const r = tc(e).scrollLeft;
|
15283
|
-
return t ? t.left + r : oa(
|
15278
|
+
return t ? t.left + r : oa(Yr(e)).left + r;
|
15284
15279
|
}
|
15285
15280
|
function NI(e, t, r) {
|
15286
15281
|
r === void 0 && (r = !1);
|
@@ -15300,15 +15295,15 @@ function s_(e) {
|
|
15300
15295
|
offsetParent: n,
|
15301
15296
|
strategy: a
|
15302
15297
|
} = e;
|
15303
|
-
const o = a === "fixed", s =
|
15298
|
+
const o = a === "fixed", s = Yr(n), i = t ? ec(t.floating) : !1;
|
15304
15299
|
if (n === s || i && o)
|
15305
15300
|
return r;
|
15306
15301
|
let l = {
|
15307
15302
|
scrollLeft: 0,
|
15308
15303
|
scrollTop: 0
|
15309
15304
|
}, c = Wr(1);
|
15310
|
-
const d = Wr(0), f =
|
15311
|
-
if ((f || !f && !o) && ((to(n) !== "body" || ns(s)) && (l = tc(n)),
|
15305
|
+
const d = Wr(0), f = qr(n);
|
15306
|
+
if ((f || !f && !o) && ((to(n) !== "body" || ns(s)) && (l = tc(n)), qr(n))) {
|
15312
15307
|
const m = oa(n);
|
15313
15308
|
c = Ba(n), d.x = m.x + n.clientLeft, d.y = m.y + n.clientTop;
|
15314
15309
|
}
|
@@ -15324,7 +15319,7 @@ function i_(e) {
|
|
15324
15319
|
return Array.from(e.getClientRects());
|
15325
15320
|
}
|
15326
15321
|
function l_(e) {
|
15327
|
-
const t =
|
15322
|
+
const t = Yr(e), r = tc(e), n = e.ownerDocument.body, a = pr(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), o = pr(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
|
15328
15323
|
let s = -r.scrollLeft + Nf(e);
|
15329
15324
|
const i = -r.scrollTop;
|
15330
15325
|
return _r(n).direction === "rtl" && (s += pr(t.clientWidth, n.clientWidth) - a), {
|
@@ -15335,7 +15330,7 @@ function l_(e) {
|
|
15335
15330
|
};
|
15336
15331
|
}
|
15337
15332
|
function c_(e, t) {
|
15338
|
-
const r = mr(e), n =
|
15333
|
+
const r = mr(e), n = Yr(e), a = r.visualViewport;
|
15339
15334
|
let o = n.clientWidth, s = n.clientHeight, i = 0, l = 0;
|
15340
15335
|
if (a) {
|
15341
15336
|
o = a.width, s = a.height;
|
@@ -15350,7 +15345,7 @@ function c_(e, t) {
|
|
15350
15345
|
};
|
15351
15346
|
}
|
15352
15347
|
function u_(e, t) {
|
15353
|
-
const r = oa(e, !0, t === "fixed"), n = r.top + e.clientTop, a = r.left + e.clientLeft, o =
|
15348
|
+
const r = oa(e, !0, t === "fixed"), n = r.top + e.clientTop, a = r.left + e.clientLeft, o = qr(e) ? Ba(e) : Wr(1), s = e.clientWidth * o.x, i = e.clientHeight * o.y, l = a * o.x, c = n * o.y;
|
15354
15349
|
return {
|
15355
15350
|
width: s,
|
15356
15351
|
height: i,
|
@@ -15363,7 +15358,7 @@ function ug(e, t, r) {
|
|
15363
15358
|
if (t === "viewport")
|
15364
15359
|
n = c_(e, r);
|
15365
15360
|
else if (t === "document")
|
15366
|
-
n = l_(
|
15361
|
+
n = l_(Yr(e));
|
15367
15362
|
else if (kr(t))
|
15368
15363
|
n = u_(t, r);
|
15369
15364
|
else {
|
@@ -15423,7 +15418,7 @@ function p_(e) {
|
|
15423
15418
|
};
|
15424
15419
|
}
|
15425
15420
|
function m_(e, t, r) {
|
15426
|
-
const n =
|
15421
|
+
const n = qr(t), a = Yr(t), o = r === "fixed", s = oa(e, !0, o, t);
|
15427
15422
|
let i = {
|
15428
15423
|
scrollLeft: 0,
|
15429
15424
|
scrollTop: 0
|
@@ -15446,18 +15441,18 @@ function Iu(e) {
|
|
15446
15441
|
return _r(e).position === "static";
|
15447
15442
|
}
|
15448
15443
|
function dg(e, t) {
|
15449
|
-
if (!
|
15444
|
+
if (!qr(e) || _r(e).position === "fixed")
|
15450
15445
|
return null;
|
15451
15446
|
if (t)
|
15452
15447
|
return t(e);
|
15453
15448
|
let r = e.offsetParent;
|
15454
|
-
return
|
15449
|
+
return Yr(e) === r && (r = r.ownerDocument.body), r;
|
15455
15450
|
}
|
15456
15451
|
function DI(e, t) {
|
15457
15452
|
const r = mr(e);
|
15458
15453
|
if (ec(e))
|
15459
15454
|
return r;
|
15460
|
-
if (!
|
15455
|
+
if (!qr(e)) {
|
15461
15456
|
let a = Ln(e);
|
15462
15457
|
for (; a && !Ka(a); ) {
|
15463
15458
|
if (kr(a) && !Iu(a))
|
@@ -15488,7 +15483,7 @@ function g_(e) {
|
|
15488
15483
|
}
|
15489
15484
|
const y_ = {
|
15490
15485
|
convertOffsetParentRelativeRectToViewportRelativeRect: s_,
|
15491
|
-
getDocumentElement:
|
15486
|
+
getDocumentElement: Yr,
|
15492
15487
|
getClippingRect: f_,
|
15493
15488
|
getOffsetParent: DI,
|
15494
15489
|
getElementRects: h_,
|
@@ -15503,7 +15498,7 @@ function kI(e, t) {
|
|
15503
15498
|
}
|
15504
15499
|
function v_(e, t) {
|
15505
15500
|
let r = null, n;
|
15506
|
-
const a =
|
15501
|
+
const a = Yr(e);
|
15507
15502
|
function o() {
|
15508
15503
|
var i;
|
15509
15504
|
clearTimeout(n), (i = r) == null || i.disconnect(), r = null;
|
@@ -15596,7 +15591,7 @@ const I_ = Jk, S_ = Qk, M_ = Yk, E_ = t_, w_ = Zk, fg = Kk, x_ = e_, C_ = (e, t,
|
|
15596
15591
|
platform: o
|
15597
15592
|
});
|
15598
15593
|
};
|
15599
|
-
var mi = typeof document < "u" ? Fg :
|
15594
|
+
var mi = typeof document < "u" ? Fg : St;
|
15600
15595
|
function Ki(e, t) {
|
15601
15596
|
if (e === t)
|
15602
15597
|
return !0;
|
@@ -17343,7 +17338,7 @@ const I3 = ee.forwardRef(
|
|
17343
17338
|
} catch (n) {
|
17344
17339
|
A.warn("Failed to add predefined hooks", n);
|
17345
17340
|
}
|
17346
|
-
return
|
17341
|
+
return St(() => {
|
17347
17342
|
L0();
|
17348
17343
|
}), Gs.dispatch({ programId: e, type: "PROGRAM_ID" }), r && (r.current = {
|
17349
17344
|
refresh: ee.useCallback(() => Gs.dispatch({ type: "FORCE_UPDATE" }), []),
|
@@ -17366,7 +17361,7 @@ const I3 = ee.forwardRef(
|
|
17366
17361
|
let d = "";
|
17367
17362
|
r && (d += `${r} `), d += "sid-text-input sid-l-full-width", n && (d += " sid-hidden-placeholder"), o && (d += " sid-text-input--required"), t && (d += " sid-text-input--error");
|
17368
17363
|
const f = a || e, p = wt(null);
|
17369
|
-
return
|
17364
|
+
return St(() => {
|
17370
17365
|
Un(f, p.current);
|
17371
17366
|
}), /* @__PURE__ */ u.jsx(
|
17372
17367
|
"input",
|
@@ -17403,7 +17398,7 @@ nc.defaultProps = {
|
|
17403
17398
|
isRequired: !0,
|
17404
17399
|
children: null
|
17405
17400
|
};
|
17406
|
-
const gS = (e) => `sid-${
|
17401
|
+
const gS = (e) => `sid-${Mt(e)}-label`, EU = (e) => `sid-${Mt(e)}-error`, os = ({
|
17407
17402
|
fieldId: e,
|
17408
17403
|
label: t,
|
17409
17404
|
errorMessage: r,
|
@@ -17413,7 +17408,7 @@ const gS = (e) => `sid-${Et(e)}-label`, EU = (e) => `sid-${Et(e)}-error`, os = (
|
|
17413
17408
|
explanation: s = void 0,
|
17414
17409
|
containerId: i = void 0
|
17415
17410
|
}) => {
|
17416
|
-
const l = gS(e), c = EU(e), d = i || `sid-${
|
17411
|
+
const l = gS(e), c = EU(e), d = i || `sid-${Mt(e)}`;
|
17417
17412
|
return /* @__PURE__ */ u.jsxs("div", { className: `sid-field ${d}`, children: [
|
17418
17413
|
/* @__PURE__ */ u.jsx("div", { className: "sid-l-space-top-md" }),
|
17419
17414
|
/* @__PURE__ */ u.jsx(
|
@@ -17421,7 +17416,7 @@ const gS = (e) => `sid-${Et(e)}-label`, EU = (e) => `sid-${Et(e)}-error`, os = (
|
|
17421
17416
|
{
|
17422
17417
|
text: t,
|
17423
17418
|
isRequired: n,
|
17424
|
-
htmlForLabel: `sid-${
|
17419
|
+
htmlForLabel: `sid-${Mt(e)}`,
|
17425
17420
|
id: l,
|
17426
17421
|
displayClasses: `${s ? "sid-field__label-with-explanation" : ""}${s && a ? " " : ""}${a ? "sid-h-screen-reader-only" : ""}`,
|
17427
17422
|
children: s && s
|
@@ -17442,7 +17437,7 @@ const gS = (e) => `sid-${Et(e)}-label`, EU = (e) => `sid-${Et(e)}-error`, os = (
|
|
17442
17437
|
explanation: l = "",
|
17443
17438
|
...c
|
17444
17439
|
}) => {
|
17445
|
-
const d = `sid-${
|
17440
|
+
const d = `sid-${Mt(e)}-error`;
|
17446
17441
|
return /* @__PURE__ */ u.jsx(
|
17447
17442
|
os,
|
17448
17443
|
{
|
@@ -17455,7 +17450,7 @@ const gS = (e) => `sid-${Et(e)}-label`, EU = (e) => `sid-${Et(e)}-error`, os = (
|
|
17455
17450
|
children: /* @__PURE__ */ u.jsx(
|
17456
17451
|
Wo,
|
17457
17452
|
{
|
17458
|
-
id:
|
17453
|
+
id: Mt(e),
|
17459
17454
|
value: t,
|
17460
17455
|
onChange: (f) => r(f.target.value),
|
17461
17456
|
placeholder: s ? n : "",
|
@@ -17734,7 +17729,7 @@ function MS(e, t) {
|
|
17734
17729
|
}
|
17735
17730
|
return a.cancel = n, a;
|
17736
17731
|
}
|
17737
|
-
function
|
17732
|
+
function tn() {
|
17738
17733
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
17739
17734
|
t[r] = arguments[r];
|
17740
17735
|
return function(n) {
|
@@ -17849,7 +17844,7 @@ function HU(e, t) {
|
|
17849
17844
|
}
|
17850
17845
|
var Eg = MS(function(e, t) {
|
17851
17846
|
FU(e, t);
|
17852
|
-
}, 200), zU = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Fg :
|
17847
|
+
}, 200), zU = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Fg : St, GU = "useId" in ee ? function(t) {
|
17853
17848
|
var r = t.id, n = t.labelId, a = t.menuId, o = t.getItemId, s = t.toggleButtonId, i = t.inputId, l = "downshift-" + ee.useId();
|
17854
17849
|
r || (r = l);
|
17855
17850
|
var c = wt({
|
@@ -17903,7 +17898,7 @@ function qU(e, t, r, n) {
|
|
17903
17898
|
props: d.current
|
17904
17899
|
}, m));
|
17905
17900
|
}, [d]), p = o.current;
|
17906
|
-
return
|
17901
|
+
return St(function() {
|
17907
17902
|
var m = id(a.current, p == null ? void 0 : p.props), y = p && a.current && !n(m, l);
|
17908
17903
|
y && BU(p, m, l), a.current = l;
|
17909
17904
|
}, [l, p, n]), [l, f];
|
@@ -17958,7 +17953,7 @@ function YU(e, t, r) {
|
|
17958
17953
|
isTouchMove: !1,
|
17959
17954
|
isTouchEnd: !1
|
17960
17955
|
});
|
17961
|
-
return
|
17956
|
+
return St(function() {
|
17962
17957
|
if (!e)
|
17963
17958
|
return SS;
|
17964
17959
|
var a = r.map(function(d) {
|
@@ -17990,12 +17985,12 @@ var ZU = function() {
|
|
17990
17985
|
function XU(e, t, r, n) {
|
17991
17986
|
n === void 0 && (n = {});
|
17992
17987
|
var a = n.document, o = $f();
|
17993
|
-
|
17988
|
+
St(function() {
|
17994
17989
|
if (!(!e || o || !a)) {
|
17995
17990
|
var s = e(t);
|
17996
17991
|
Eg(s, a);
|
17997
17992
|
}
|
17998
|
-
}, r),
|
17993
|
+
}, r), St(function() {
|
17999
17994
|
return function() {
|
18000
17995
|
Eg.cancel(), $U(a);
|
18001
17996
|
};
|
@@ -18179,7 +18174,7 @@ ut({}, TS, {
|
|
18179
18174
|
});
|
18180
18175
|
function nj(e, t, r, n) {
|
18181
18176
|
var a = wt(), o = qU(e, t, r, n), s = o[0], i = o[1], l = $f();
|
18182
|
-
return
|
18177
|
+
return St(function() {
|
18183
18178
|
if (ES(t, "selectedItem")) {
|
18184
18179
|
if (!l) {
|
18185
18180
|
var c = t.itemToKey(t.selectedItem) !== t.itemToKey(a.current);
|
@@ -18313,10 +18308,10 @@ function ea(e) {
|
|
18313
18308
|
scrollIntoView: n,
|
18314
18309
|
getItemNodeFromIndex: x
|
18315
18310
|
});
|
18316
|
-
|
18311
|
+
St(function() {
|
18317
18312
|
var K = To(t, "isOpen");
|
18318
18313
|
K && h.current && h.current.focus();
|
18319
|
-
}, []),
|
18314
|
+
}, []), St(function() {
|
18320
18315
|
M || (E.current = r.length);
|
18321
18316
|
});
|
18322
18317
|
var T = YU(a, Lt(function() {
|
@@ -18327,9 +18322,9 @@ function ea(e) {
|
|
18327
18322
|
}, [l, b]), dp(function() {
|
18328
18323
|
return [m, v, h];
|
18329
18324
|
}, [m.current, v.current, h.current])), B = ZU();
|
18330
|
-
|
18325
|
+
St(function() {
|
18331
18326
|
c || (y.current = {});
|
18332
|
-
}, [c]),
|
18327
|
+
}, [c]), St(function() {
|
18333
18328
|
var K;
|
18334
18329
|
!c || !(a != null && a.document) || !(h != null && (K = h.current) != null && K.focus) || a.document.activeElement !== h.current && h.current.focus();
|
18335
18330
|
}, [c, a]);
|
@@ -18389,7 +18384,7 @@ function ea(e) {
|
|
18389
18384
|
var z, w = K === void 0 ? {} : K, be = w.onMouseLeave, me = w.refKey, Se = me === void 0 ? "ref" : me, _e = w.ref, Pe = ka(w, sj), Fe = X === void 0 ? {} : X;
|
18390
18385
|
return Fe.suppressRefError, ut((z = {}, z[Se] = Ks(_e, function(Ce) {
|
18391
18386
|
m.current = Ce;
|
18392
|
-
}), z.id = I.menuId, z.role = "listbox", z["aria-labelledby"] = Pe && Pe["aria-label"] ? void 0 : "" + I.labelId, z.onMouseLeave =
|
18387
|
+
}), z.id = I.menuId, z.role = "listbox", z["aria-labelledby"] = Pe && Pe["aria-label"] ? void 0 : "" + I.labelId, z.onMouseLeave = tn(be, function() {
|
18393
18388
|
l({
|
18394
18389
|
type: PS
|
18395
18390
|
});
|
@@ -18415,9 +18410,9 @@ function ea(e) {
|
|
18415
18410
|
};
|
18416
18411
|
return ut((X = {}, X[_e] = Ks(Pe, function(Ye) {
|
18417
18412
|
Ye && (y.current[I.getItemId(se)] = Ye);
|
18418
|
-
}), X["aria-disabled"] = Me, X["aria-selected"] = se === oe.highlightedIndex, X.id = I.getItemId(se), X.role = "option", X), !Me && (z = {}, z[le] =
|
18419
|
-
onMouseMove:
|
18420
|
-
onMouseDown:
|
18413
|
+
}), X["aria-disabled"] = Me, X["aria-selected"] = se === oe.highlightedIndex, X.id = I.getItemId(se), X.role = "option", X), !Me && (z = {}, z[le] = tn(ye, pe), z), {
|
18414
|
+
onMouseMove: tn(Fe, De),
|
18415
|
+
onMouseDown: tn(Ce, Ee)
|
18421
18416
|
}, C);
|
18422
18417
|
}, [l, I, b, T, F]), ce = Lt(function(K) {
|
18423
18418
|
var X, z = K === void 0 ? {} : K, w = z.onClick;
|
@@ -18430,7 +18425,7 @@ function ea(e) {
|
|
18430
18425
|
return ut((X = {}, X[me] = Ks(Se, function(Ce) {
|
18431
18426
|
v.current = Ce;
|
18432
18427
|
}), X["aria-controls"] = I.menuId, X["aria-expanded"] = Pe.isOpen, X.id = I.toggleButtonId, X.tabIndex = -1, X), !_e.disabled && ut({}, {
|
18433
|
-
onClick:
|
18428
|
+
onClick: tn(w, Fe)
|
18434
18429
|
}), _e);
|
18435
18430
|
}, [l, b, I]), $ = Lt(function(K, X) {
|
18436
18431
|
var z, w = K === void 0 ? {} : K, be = w.onKeyDown, me = w.onChange, Se = w.onInput, _e = w.onBlur;
|
@@ -18460,7 +18455,7 @@ function ea(e) {
|
|
18460
18455
|
}, se = "onChange", Me = {};
|
18461
18456
|
if (!qe.disabled) {
|
18462
18457
|
var le;
|
18463
|
-
Me = (le = {}, le[se] =
|
18458
|
+
Me = (le = {}, le[se] = tn(me, Se, oe), le.onKeyDown = tn(be, j), le.onBlur = tn(_e, J), le.onClick = tn(Pe, he), le);
|
18464
18459
|
}
|
18465
18460
|
return ut((z = {}, z[Ce] = Ks($e, function(ye) {
|
18466
18461
|
h.current = ye;
|
@@ -18635,7 +18630,7 @@ const uj = ({
|
|
18635
18630
|
}), ce = (G) => {
|
18636
18631
|
typeof i == "function" && i(G);
|
18637
18632
|
}, $ = wt(null);
|
18638
|
-
return
|
18633
|
+
return St(() => {
|
18639
18634
|
Un(n, $.current);
|
18640
18635
|
}), /* @__PURE__ */ u.jsxs("div", { className: `sid-input-select-list ${e || ""}`, children: [
|
18641
18636
|
/* @__PURE__ */ u.jsx(
|
@@ -18927,7 +18922,7 @@ const gj = ({
|
|
18927
18922
|
refId: h = "status",
|
18928
18923
|
suppressPlaceholder: v = !0
|
18929
18924
|
}) => {
|
18930
|
-
const M = `sid-${
|
18925
|
+
const M = `sid-${Mt(e)}`, I = `sid-${Mt(e)}-error`;
|
18931
18926
|
return /* @__PURE__ */ u.jsx(
|
18932
18927
|
os,
|
18933
18928
|
{
|
@@ -19345,14 +19340,14 @@ const Dj = 42, kj = 26, _j = ({
|
|
19345
19340
|
}
|
19346
19341
|
try {
|
19347
19342
|
const s = n || po(r) || "", i = {
|
19348
|
-
eventName:
|
19343
|
+
eventName: Et.ORGS_DISPLAYED,
|
19349
19344
|
params: {
|
19350
19345
|
queryLength: s.length,
|
19351
19346
|
eventDuration: Date.now() - a,
|
19352
19347
|
numberOfResults: o == null ? void 0 : o.length
|
19353
19348
|
}
|
19354
19349
|
};
|
19355
|
-
|
19350
|
+
sn(i);
|
19356
19351
|
} catch (s) {
|
19357
19352
|
A.error(s);
|
19358
19353
|
}
|
@@ -19496,7 +19491,7 @@ const Fj = ud, $j = (e, t, r) => {
|
|
19496
19491
|
onSelectedItemChange: ({ selectedItem: H }) => {
|
19497
19492
|
try {
|
19498
19493
|
const q = {
|
19499
|
-
eventName:
|
19494
|
+
eventName: Et.ORG_SELECTED,
|
19500
19495
|
params: {
|
19501
19496
|
[Er.QUERY_LENGTH]: v.length,
|
19502
19497
|
[Er.NUMBER_REWORKS]: b,
|
@@ -19505,7 +19500,7 @@ const Fj = ud, $j = (e, t, r) => {
|
|
19505
19500
|
[Er.NUMBER_OF_RESULTS]: I.length
|
19506
19501
|
}
|
19507
19502
|
};
|
19508
|
-
|
19503
|
+
sn(q);
|
19509
19504
|
} catch (q) {
|
19510
19505
|
A.error(q);
|
19511
19506
|
}
|
@@ -19514,7 +19509,7 @@ const Fj = ud, $j = (e, t, r) => {
|
|
19514
19509
|
}), $ = () => {
|
19515
19510
|
try {
|
19516
19511
|
const H = {
|
19517
|
-
eventName:
|
19512
|
+
eventName: Et.ASR_SELECTED,
|
19518
19513
|
params: {
|
19519
19514
|
[Er.QUERY_LENGTH]: v.length,
|
19520
19515
|
[Er.NUMBER_REWORKS]: b,
|
@@ -19522,12 +19517,12 @@ const Fj = ud, $j = (e, t, r) => {
|
|
19522
19517
|
[Er.NUMBER_OF_RESULTS]: I.length
|
19523
19518
|
}
|
19524
19519
|
};
|
19525
|
-
|
19520
|
+
sn(H);
|
19526
19521
|
} catch (H) {
|
19527
19522
|
A.error(H);
|
19528
19523
|
}
|
19529
19524
|
}, G = wt(null);
|
19530
|
-
return
|
19525
|
+
return St(() => {
|
19531
19526
|
Un("organization", G.current);
|
19532
19527
|
}), /* @__PURE__ */ u.jsxs("div", { className: "sid-organization-list", children: [
|
19533
19528
|
/* @__PURE__ */ u.jsx(
|
@@ -19578,7 +19573,7 @@ const Fj = ud, $j = (e, t, r) => {
|
|
19578
19573
|
urlAddSchoolForm: f,
|
19579
19574
|
disabled: p = !1
|
19580
19575
|
}) => {
|
19581
|
-
const m = `sid-${
|
19576
|
+
const m = `sid-${Mt(e)}`, y = `sid-${Mt(e)}-error`, { programId: h, programTheme: v, verificationResponse: M, viewModel: I } = r, E = ve(() => I.countryChoice.value), b = FS(v, E), x = Wt(I, M);
|
19582
19577
|
return /* @__PURE__ */ u.jsx(
|
19583
19578
|
os,
|
19584
19579
|
{
|
@@ -20230,11 +20225,11 @@ var Kj = function(e) {
|
|
20230
20225
|
}
|
20231
20226
|
return W.set(S, U), this;
|
20232
20227
|
};
|
20233
|
-
var
|
20234
|
-
return S && mn(S, U,
|
20228
|
+
var Zr, bt = (Zr = function(S, U) {
|
20229
|
+
return S && mn(S, U, Jr);
|
20235
20230
|
}, function(S, U) {
|
20236
20231
|
if (S == null) return S;
|
20237
|
-
if (!Ar(S)) return
|
20232
|
+
if (!Ar(S)) return Zr(S, U);
|
20238
20233
|
for (var W = S.length, Q = -1, xe = Object(S); ++Q < W && U(xe[Q], Q, xe) !== !1; ) ;
|
20239
20234
|
return S;
|
20240
20235
|
}), mn = /* @__PURE__ */ function(S) {
|
@@ -20258,7 +20253,7 @@ var Kj = function(e) {
|
|
20258
20253
|
var br = Dt(Te), kt = Dt(Be), Ct = "[object Array]", Pt = "[object Array]";
|
20259
20254
|
br || (Ct = (Ct = L(Te)) == o ? i : Ct), kt || (Pt = (Pt = L(Be)) == o ? i : Pt);
|
20260
20255
|
var Or = Ct == i && !ne(Te), ma = Pt == i && !ne(Be), gn = Ct == Pt;
|
20261
|
-
if (gn && !Or) return Je || (Je = new xt()), br || hs(Te) ? g(Te, Be, mt, ht, at, Je) : function(lt, tt, Ic, Vn, gs, ar,
|
20256
|
+
if (gn && !Or) return Je || (Je = new xt()), br || hs(Te) ? g(Te, Be, mt, ht, at, Je) : function(lt, tt, Ic, Vn, gs, ar, Qr) {
|
20262
20257
|
switch (Ic) {
|
20263
20258
|
case "[object DataView]":
|
20264
20259
|
if (lt.byteLength != tt.byteLength || lt.byteOffset != tt.byteOffset) return !1;
|
@@ -20279,11 +20274,11 @@ var Kj = function(e) {
|
|
20279
20274
|
case l:
|
20280
20275
|
var so = 2 & ar;
|
20281
20276
|
if (yn || (yn = $), lt.size != tt.size && !so) return !1;
|
20282
|
-
var ys =
|
20277
|
+
var ys = Qr.get(lt);
|
20283
20278
|
if (ys) return ys == tt;
|
20284
|
-
ar |= 1,
|
20285
|
-
var ha = g(yn(lt), yn(tt), Vn, gs, ar,
|
20286
|
-
return
|
20279
|
+
ar |= 1, Qr.set(lt, tt);
|
20280
|
+
var ha = g(yn(lt), yn(tt), Vn, gs, ar, Qr);
|
20281
|
+
return Qr.delete(lt), ha;
|
20287
20282
|
case "[object Symbol]":
|
20288
20283
|
if (ye) return ye.call(lt) == ye.call(tt);
|
20289
20284
|
}
|
@@ -20297,20 +20292,20 @@ var Kj = function(e) {
|
|
20297
20292
|
}
|
20298
20293
|
}
|
20299
20294
|
return gn ? (Je || (Je = new xt()), function(lt, tt, Ic, Vn, gs, ar) {
|
20300
|
-
var
|
20301
|
-
if (so != ys && !
|
20295
|
+
var Qr = 2 & gs, yn = Jr(lt), so = yn.length, ys = Jr(tt).length;
|
20296
|
+
if (so != ys && !Qr) return !1;
|
20302
20297
|
for (var ha = so; ha--; ) {
|
20303
20298
|
var vn = yn[ha];
|
20304
|
-
if (!(
|
20299
|
+
if (!(Qr ? vn in tt : z.call(tt, vn))) return !1;
|
20305
20300
|
}
|
20306
20301
|
var cp = ar.get(lt);
|
20307
20302
|
if (cp && ar.get(tt)) return cp == tt;
|
20308
20303
|
var vs = !0;
|
20309
20304
|
ar.set(lt, tt), ar.set(tt, lt);
|
20310
|
-
for (var Sc =
|
20305
|
+
for (var Sc = Qr; ++ha < so; ) {
|
20311
20306
|
vn = yn[ha];
|
20312
20307
|
var bs = lt[vn], Is = tt[vn];
|
20313
|
-
if (Vn) var up =
|
20308
|
+
if (Vn) var up = Qr ? Vn(Is, bs, vn, tt, lt, ar) : Vn(bs, Is, vn, lt, tt, ar);
|
20314
20309
|
if (!(up === void 0 ? bs === Is || Ic(bs, Is, Vn, gs, ar) : up)) {
|
20315
20310
|
vs = !1;
|
20316
20311
|
break;
|
@@ -20325,7 +20320,7 @@ var Kj = function(e) {
|
|
20325
20320
|
}(Te, Be, mt, ht, at, Je)) : !1;
|
20326
20321
|
}(S, U, Bn, W, Q, xe));
|
20327
20322
|
}
|
20328
|
-
function
|
20323
|
+
function Xr(S) {
|
20329
20324
|
return !(!Nr(S) || function(U) {
|
20330
20325
|
return !!K && K in U;
|
20331
20326
|
}(S)) && (fa(S) || ne(S) ? be : y).test(Re(S));
|
@@ -20351,7 +20346,7 @@ var Kj = function(e) {
|
|
20351
20346
|
};
|
20352
20347
|
}(S[0], S[1]) : function(Q) {
|
20353
20348
|
var xe = function(Te) {
|
20354
|
-
for (var Be =
|
20349
|
+
for (var Be = Jr(Te), mt = Be.length; mt--; ) {
|
20355
20350
|
var ht = Be[mt], at = Te[ht];
|
20356
20351
|
Be[mt] = [ht, at, ge(at)];
|
20357
20352
|
}
|
@@ -20431,7 +20426,7 @@ var Kj = function(e) {
|
|
20431
20426
|
var W = function(Q, xe) {
|
20432
20427
|
return Q == null ? void 0 : Q[xe];
|
20433
20428
|
}(S, U);
|
20434
|
-
return
|
20429
|
+
return Xr(W) ? W : void 0;
|
20435
20430
|
}
|
20436
20431
|
var L = function(S) {
|
20437
20432
|
return w.call(S);
|
@@ -20546,7 +20541,7 @@ var Kj = function(e) {
|
|
20546
20541
|
}(B) : function(S) {
|
20547
20542
|
return pa(S) && hn(S.length) && !!v[w.call(S)];
|
20548
20543
|
};
|
20549
|
-
function
|
20544
|
+
function Jr(S) {
|
20550
20545
|
return Ar(S) ? qt(S) : vc(S);
|
20551
20546
|
}
|
20552
20547
|
function bc(S) {
|
@@ -20856,9 +20851,9 @@ var Kj = function(e) {
|
|
20856
20851
|
var Ot = N.replace(/\D/g, "");
|
20857
20852
|
(!w.state.freezeSelection || Ee && Ee.dialCode.length > Ot.length) && (se = w.props.disableCountryGuess ? Ee : w.guessSelectedCountry(Ot.substring(0, 6), ye, pe, Ye) || Ee, Me = !1), he = w.formatNumber(Ot, se), se = se.dialCode ? se : Ee;
|
20858
20853
|
}
|
20859
|
-
var xt = C.target.selectionStart, qt = C.target.selectionStart, nr = w.state.formattedNumber,
|
20854
|
+
var xt = C.target.selectionStart, qt = C.target.selectionStart, nr = w.state.formattedNumber, Zr = he.length - nr.length;
|
20860
20855
|
w.setState({ formattedNumber: he, freezeSelection: Me, selectedCountry: se }, function() {
|
20861
|
-
|
20856
|
+
Zr > 0 && (qt -= Zr), he.charAt(he.length - 1) == ")" ? w.numberInputRef.setSelectionRange(he.length - 1, he.length - 1) : qt > 0 && nr.length >= he.length ? w.numberInputRef.setSelectionRange(qt, qt) : xt < nr.length && w.numberInputRef.setSelectionRange(xt, xt), J && J(he.replace(/[^0-9]+/g, ""), w.getCountryData(), C, he);
|
20862
20857
|
});
|
20863
20858
|
}
|
20864
20859
|
}, w.handleInputClick = function(C) {
|
@@ -20970,17 +20965,17 @@ var Kj = function(e) {
|
|
20970
20965
|
}, w.getCountryDropdownList = function() {
|
20971
20966
|
var C = w.state, N = C.preferredCountries, j = C.highlightCountryIndex, oe = C.showDropdown, J = C.searchValue, he = w.props, se = he.disableDropdown, Me = he.prefix, le = w.props, ye = le.enableSearch, De = le.searchNotFound, pe = le.disableSearchIcon, Ee = le.searchClass, Ye = le.searchStyle, Ot = le.searchPlaceholder, xt = le.autocompleteSearch, qt = w.getSearchFilteredCountries().map(function(bt, mn) {
|
20972
20967
|
var $n = j === mn, ao = V()({ country: !0, preferred: bt.iso2 === "us" || bt.iso2 === "gb", active: bt.iso2 === "us", highlight: $n }), Bn = "flag ".concat(bt.iso2);
|
20973
|
-
return v.a.createElement("li", Object.assign({ ref: function(
|
20974
|
-
return w["flag_no_".concat(mn)] =
|
20975
|
-
}, key: "flag_no_".concat(mn), "data-flag-key": "flag_no_".concat(mn), className: ao, "data-dial-code": "1", tabIndex: se ? "-1" : "0", "data-country-code": bt.iso2, onClick: function(
|
20976
|
-
return w.handleFlagItemClick(bt,
|
20968
|
+
return v.a.createElement("li", Object.assign({ ref: function(Xr) {
|
20969
|
+
return w["flag_no_".concat(mn)] = Xr;
|
20970
|
+
}, key: "flag_no_".concat(mn), "data-flag-key": "flag_no_".concat(mn), className: ao, "data-dial-code": "1", tabIndex: se ? "-1" : "0", "data-country-code": bt.iso2, onClick: function(Xr) {
|
20971
|
+
return w.handleFlagItemClick(bt, Xr);
|
20977
20972
|
}, role: "option" }, $n ? { "aria-selected": !0 } : {}), v.a.createElement("div", { className: Bn }), v.a.createElement("span", { className: "country-name" }, w.getDropdownCountryName(bt)), v.a.createElement("span", { className: "dial-code" }, bt.format ? w.formatNumber(bt.dialCode, bt) : Me + bt.dialCode));
|
20978
20973
|
}), nr = v.a.createElement("li", { key: "dashes", className: "divider" });
|
20979
20974
|
N.length > 0 && (!ye || ye && !J.trim()) && qt.splice(N.length, 0, nr);
|
20980
|
-
var
|
20975
|
+
var Zr = V()(n({ "country-list": !0, hide: !oe }, w.props.dropdownClass, !0));
|
20981
20976
|
return v.a.createElement("ul", { ref: function(bt) {
|
20982
20977
|
return !ye && bt && bt.focus(), w.dropdownRef = bt;
|
20983
|
-
}, className:
|
20978
|
+
}, className: Zr, style: w.props.dropdownStyle, role: "listbox", tabIndex: "0" }, ye && v.a.createElement("li", { className: V()(n({ search: !0 }, Ee, Ee)) }, !pe && v.a.createElement("span", { className: V()(n({ "search-emoji": !0 }, "".concat(Ee, "-emoji"), Ee)), role: "img", "aria-label": "Magnifying glass" }, "🔎"), v.a.createElement("input", { className: V()(n({ "search-box": !0 }, "".concat(Ee, "-box"), Ee)), style: Ye, type: "search", placeholder: Ot, autoFocus: !0, autoComplete: xt ? "on" : "off", value: J, onChange: w.handleSearchChange })), qt.length > 0 ? qt : v.a.createElement("li", { className: "no-entries-message" }, v.a.createElement("span", null, De)));
|
20984
20979
|
};
|
20985
20980
|
var be, me = new ae(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 = me.onlyCountries, _e = me.preferredCountries, Pe = me.hiddenAreaCodes, Fe = z.value ? z.value.replace(/\D/g, "") : "";
|
20986
20981
|
be = z.disableInitialCountryGuess ? 0 : Fe.length > 1 ? w.guessSelectedCountry(Fe.substring(0, 6), z.country, Se, Pe) || 0 : z.country && Se.find(function(C) {
|
@@ -21044,9 +21039,9 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21044
21039
|
}, d = (f) => {
|
21045
21040
|
(f.key === " " || f.key === "Enter") && (f.preventDefault(), c());
|
21046
21041
|
};
|
21047
|
-
return
|
21042
|
+
return St(() => {
|
21048
21043
|
Un("optIn", l.current);
|
21049
|
-
}),
|
21044
|
+
}), St(() => {
|
21050
21045
|
l.current && (l.current.checked = r);
|
21051
21046
|
}, [r]), /* @__PURE__ */ u.jsxs("div", { className: "sid-checkbox", children: [
|
21052
21047
|
/* @__PURE__ */ u.jsx(
|
@@ -21112,7 +21107,7 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21112
21107
|
), E = wt(null), b = "sid-phone-number-error", x = (B, O) => {
|
21113
21108
|
v || M(O.dialCode), B.slice(v.length) ? r(`+${B}`) : r("");
|
21114
21109
|
};
|
21115
|
-
return
|
21110
|
+
return St(() => {
|
21116
21111
|
E.current && Un("phoneNumber", E.current);
|
21117
21112
|
}), ((T = ie("phoneNumber")) == null ? void 0 : T.hidden) ? null : /* @__PURE__ */ u.jsxs("div", { className: "sid-field sid-phone-number", children: [
|
21118
21113
|
/* @__PURE__ */ u.jsx("div", { className: "sid-l-space-top-md" }),
|
@@ -21269,7 +21264,7 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21269
21264
|
verificationService: a,
|
21270
21265
|
disabled: o = !1
|
21271
21266
|
}) => {
|
21272
|
-
const s = "marketConsentValue", i = `sid-${
|
21267
|
+
const s = "marketConsentValue", i = `sid-${Mt(s)}-error`, l = ee.useCallback(
|
21273
21268
|
(f) => {
|
21274
21269
|
const p = "marketConsentRequired";
|
21275
21270
|
if (t && !f)
|
@@ -21553,14 +21548,14 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21553
21548
|
errorMessage: a,
|
21554
21549
|
disabled: o = !1
|
21555
21550
|
}) => {
|
21556
|
-
const s = `${e}Label`, i = `sid-${
|
21557
|
-
return /* @__PURE__ */ u.jsxs("div", { className: `sid-field sid-${
|
21551
|
+
const s = `${e}Label`, i = `sid-${Mt(s)}`, l = `sid-${Mt(s)}-error`, c = () => r(!t);
|
21552
|
+
return /* @__PURE__ */ u.jsxs("div", { className: `sid-field sid-${Mt(e)}`, children: [
|
21558
21553
|
/* @__PURE__ */ u.jsx("div", { className: "sid-l-space-top-md" }),
|
21559
21554
|
/* @__PURE__ */ u.jsxs("div", { className: "sid-checkbox-flex", children: [
|
21560
21555
|
/* @__PURE__ */ u.jsx(
|
21561
21556
|
np,
|
21562
21557
|
{
|
21563
|
-
id:
|
21558
|
+
id: Mt(e),
|
21564
21559
|
isErrored: !!a,
|
21565
21560
|
value: t,
|
21566
21561
|
onChange: c,
|
@@ -21597,7 +21592,7 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21597
21592
|
onKeyDown: c = void 0,
|
21598
21593
|
disabled: d = !1
|
21599
21594
|
}) => {
|
21600
|
-
const f = `${n}Label`, p = `sid-${
|
21595
|
+
const f = `${n}Label`, p = `sid-${Mt(f)}`, m = `sid-${Mt(n)}-error`;
|
21601
21596
|
return /* @__PURE__ */ u.jsx(
|
21602
21597
|
os,
|
21603
21598
|
{
|
@@ -21610,7 +21605,7 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21610
21605
|
ep,
|
21611
21606
|
{
|
21612
21607
|
fieldId: n,
|
21613
|
-
inputId: `sid-${
|
21608
|
+
inputId: `sid-${Mt(n)}`,
|
21614
21609
|
fieldLabelId: p,
|
21615
21610
|
isErrored: !!s,
|
21616
21611
|
options: t,
|
@@ -21635,7 +21630,7 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21635
21630
|
disabled: o = !1
|
21636
21631
|
}) => {
|
21637
21632
|
const s = wt(null);
|
21638
|
-
return
|
21633
|
+
return St(() => {
|
21639
21634
|
Un(e, s.current);
|
21640
21635
|
}), /* @__PURE__ */ u.jsxs("label", { className: "sid-radio__input sid-radio__input-label", children: [
|
21641
21636
|
/* @__PURE__ */ u.jsx(
|
@@ -21664,7 +21659,7 @@ const Yj = /* @__PURE__ */ Cr(Kj), Zj = ({
|
|
21664
21659
|
value: i,
|
21665
21660
|
disabled: l = !1
|
21666
21661
|
}) => {
|
21667
|
-
const c =
|
21662
|
+
const c = Mt(e), d = gS(e);
|
21668
21663
|
return /* @__PURE__ */ u.jsx(
|
21669
21664
|
os,
|
21670
21665
|
{
|
@@ -23047,13 +23042,13 @@ const PF = ({
|
|
23047
23042
|
const t = e.target instanceof HTMLInputElement ? e.target : void 0;
|
23048
23043
|
if (t && (t.id || t.name)) {
|
23049
23044
|
const r = {
|
23050
|
-
eventName:
|
23045
|
+
eventName: Et.FORM_PASTE,
|
23051
23046
|
params: {
|
23052
23047
|
id: t.id || t.name,
|
23053
23048
|
queryLength: e.clipboardData.getData("text").length
|
23054
23049
|
}
|
23055
23050
|
};
|
23056
|
-
|
23051
|
+
sn(r);
|
23057
23052
|
}
|
23058
23053
|
} catch (t) {
|
23059
23054
|
A.error(t);
|
@@ -23064,7 +23059,7 @@ const PF = ({
|
|
23064
23059
|
className: r,
|
23065
23060
|
children: n
|
23066
23061
|
}) => {
|
23067
|
-
const a = cU("font-size"), o =
|
23062
|
+
const a = cU("font-size"), o = Mt(e).replace(/^collect-/, ""), s = [`sid-${o}-container`, "sid-l-container", "sid-left-align"];
|
23068
23063
|
switch (r && s.push(r), a) {
|
23069
23064
|
case "14px":
|
23070
23065
|
s.push("_experiment_sid-font-md");
|
@@ -23167,22 +23162,22 @@ const PF = ({
|
|
23167
23162
|
const { userDidConvert: o, getTimeOnForm: s } = GF(
|
23168
23163
|
t.verificationResponse.segment
|
23169
23164
|
);
|
23170
|
-
|
23165
|
+
St(() => {
|
23171
23166
|
const y = {
|
23172
|
-
eventName:
|
23167
|
+
eventName: Et.COLLECT_STARTED,
|
23173
23168
|
params: {}
|
23174
23169
|
};
|
23175
|
-
|
23170
|
+
sn(y);
|
23176
23171
|
}, []);
|
23177
23172
|
const i = () => {
|
23178
23173
|
try {
|
23179
23174
|
const y = {
|
23180
|
-
eventName:
|
23175
|
+
eventName: Et.COLLECT_SUBMITTED,
|
23181
23176
|
params: {
|
23182
23177
|
[Er.EVENT_DURATION]: s().duration
|
23183
23178
|
}
|
23184
23179
|
};
|
23185
|
-
|
23180
|
+
sn(y);
|
23186
23181
|
} catch {
|
23187
23182
|
A.warn("Unable to measure time on form");
|
23188
23183
|
}
|
@@ -23835,7 +23830,7 @@ const G3 = ze(PM), W3 = {
|
|
23835
23830
|
CLOSE_BUTTON: "sid-modal__close-button",
|
23836
23831
|
CLOSE_TEXT: "sid-modal__close-text",
|
23837
23832
|
CLOSE_ICON: "sid-modal__close-icon"
|
23838
|
-
}, RM = "SheerID Verification Form",
|
23833
|
+
}, RM = "SheerID Verification Form", nn = {
|
23839
23834
|
CLASS_NAMES: JF,
|
23840
23835
|
DEFAULT_MOBILE_THRESHOLD_WIDTH: 620,
|
23841
23836
|
MODAL_OPACITY_TRANSITION_PERIOD: 300
|
@@ -23853,7 +23848,7 @@ const G3 = ze(PM), W3 = {
|
|
23853
23848
|
t.searchParams.has(a) || t.searchParams.set(a, n);
|
23854
23849
|
}), t.href;
|
23855
23850
|
}, NM = {
|
23856
|
-
className:
|
23851
|
+
className: nn.CLASS_NAMES.INLINE_IFRAME_CONTENT,
|
23857
23852
|
title: RM
|
23858
23853
|
}, e$ = (e) => {
|
23859
23854
|
if (typeof e != "function")
|
@@ -23987,33 +23982,33 @@ class op {
|
|
23987
23982
|
Ze(this, "closeButton");
|
23988
23983
|
Ze(this, "stopPropagation");
|
23989
23984
|
Ze(this, "popStateEventHandler", () => this.closeModal());
|
23990
|
-
const n = r.mobileThreshold ? r.mobileThreshold :
|
23985
|
+
const n = r.mobileThreshold ? r.mobileThreshold : nn.DEFAULT_MOBILE_THRESHOLD_WIDTH;
|
23991
23986
|
this.verificationUrl = AM(t), this.redirectOnMobile = r.mobileRedirect || !1, this.isMobileDevice = window.document.body.clientWidth <= Number(n), this.closeButtonText = r.closeButtonText ? r.closeButtonText : "", this.closeButton = null, this.stopPropagation = r.stopPropagation || !1, this.overlay = op.createOverlay(), this.wrapper = this.createWrapper(), this.addFocusListener();
|
23992
23987
|
}
|
23993
23988
|
createCloseBtn() {
|
23994
|
-
if (this.closeButton = document.createElement("button"), this.closeButton.classList.add(
|
23989
|
+
if (this.closeButton = document.createElement("button"), this.closeButton.classList.add(nn.CLASS_NAMES.CLOSE_BUTTON), this.closeButton.setAttribute("aria-label", "close"), this.closeButtonText) {
|
23995
23990
|
const r = document.createElement("div");
|
23996
|
-
r.classList.add(
|
23991
|
+
r.classList.add(nn.CLASS_NAMES.CLOSE_TEXT), r.innerHTML = this.closeButtonText, this.closeButton.appendChild(r);
|
23997
23992
|
}
|
23998
23993
|
const t = document.createElement("span");
|
23999
|
-
return t.classList.add(
|
23994
|
+
return t.classList.add(nn.CLASS_NAMES.CLOSE_ICON), t.setAttribute("role", "img"), this.closeButton.appendChild(t), this.closeButton.addEventListener("click", (r) => {
|
24000
23995
|
r.preventDefault(), this.stopPropagation && r.stopPropagation(), this.closeModal();
|
24001
23996
|
}), this.closeButton;
|
24002
23997
|
}
|
24003
23998
|
closeModal() {
|
24004
23999
|
window.removeEventListener("popstate", this.popStateEventHandler);
|
24005
|
-
const t =
|
24000
|
+
const t = nn.MODAL_OPACITY_TRANSITION_PERIOD;
|
24006
24001
|
Og(this.overlay, t), Og(this.wrapper, t), this.iframeInstance.cleanup();
|
24007
24002
|
}
|
24008
24003
|
static createOverlay() {
|
24009
24004
|
const t = document.createElement("div");
|
24010
|
-
return t.classList.add(
|
24005
|
+
return t.classList.add(nn.CLASS_NAMES.OVERLAY), t;
|
24011
24006
|
}
|
24012
24007
|
createWrapper() {
|
24013
24008
|
const t = document.createElement("div");
|
24014
|
-
t.classList.add(
|
24009
|
+
t.classList.add(nn.CLASS_NAMES.MODAL_WRAPPER), t.tabIndex = -1, t.setAttribute("role", "dialog"), t.appendChild(this.createCloseBtn()), this.iframeInstance = new Za(t, this.verificationUrl), this.iframeInstance.setInstallType("cdn_modal_iframe"), this.on = this.iframeInstance.on.bind(this.iframeInstance), this.once = this.iframeInstance.once.bind(this.iframeInstance);
|
24015
24010
|
const r = {
|
24016
|
-
className:
|
24011
|
+
className: nn.CLASS_NAMES.MODAL_IFRAME,
|
24017
24012
|
title: RM
|
24018
24013
|
};
|
24019
24014
|
return this.iframeInstance.createIframe(r), t.appendChild(this.iframeInstance.iframe), t;
|
@@ -27106,8 +27101,8 @@ export {
|
|
27106
27101
|
o3 as av,
|
27107
27102
|
_3 as aw,
|
27108
27103
|
Kg as ax,
|
27109
|
-
|
27110
|
-
|
27104
|
+
sn as ay,
|
27105
|
+
Et as az,
|
27111
27106
|
Z3 as b,
|
27112
27107
|
Sd as b$,
|
27113
27108
|
et as b0,
|
@@ -27224,7 +27219,7 @@ export {
|
|
27224
27219
|
k$ as cj,
|
27225
27220
|
Ud as ck,
|
27226
27221
|
G$ as cl,
|
27227
|
-
|
27222
|
+
on as cm,
|
27228
27223
|
fm as cn,
|
27229
27224
|
eP as co,
|
27230
27225
|
q$ as cp,
|
@@ -27302,7 +27297,7 @@ export {
|
|
27302
27297
|
Uy as dx,
|
27303
27298
|
OC as dy,
|
27304
27299
|
ml as dz,
|
27305
|
-
|
27300
|
+
Kr as e,
|
27306
27301
|
q3 as e0,
|
27307
27302
|
z$ as e1,
|
27308
27303
|
Dg as e2,
|