@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
package/_mysheerid-preview.js
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
5
5
|
*/
|
6
6
|
/**
|
7
|
-
* VERSION: 2.112.0-alpha.
|
8
|
-
* BUILD_TIMESTAMP:
|
9
|
-
* BUILD_DATE:
|
7
|
+
* VERSION: 2.112.0-alpha.6
|
8
|
+
* BUILD_TIMESTAMP: 1749741510961
|
9
|
+
* BUILD_DATE: Thu Jun 12 2025 15:18:30 GMT+0000 (Coordinated Universal Time)
|
10
10
|
* BUILD_COMMIT: f4ba2ded1f8d08fc71867122ea5facb3f85d0d30
|
11
11
|
*/
|
12
12
|
var dk = Object.defineProperty;
|
@@ -158,7 +158,7 @@ const hk = (e) => e && e.stack && e.message, Cd = (...e) => {
|
|
158
158
|
locale: Le(() => o.programTheme.intl.locale),
|
159
159
|
isTestMode: Le(() => o.programTheme.isTestMode),
|
160
160
|
openOrgSearchEnabled: Le(() => o.programTheme.openOrgSearchEnabled),
|
161
|
-
jslibVerActual: Le(() => "2.112.0-alpha.
|
161
|
+
jslibVerActual: Le(() => "2.112.0-alpha.6", "?"),
|
162
162
|
...r
|
163
163
|
};
|
164
164
|
}
|
@@ -404,7 +404,7 @@ const Py = (e) => {
|
|
404
404
|
"image/jpg",
|
405
405
|
"image/jpeg",
|
406
406
|
"application/pdf"
|
407
|
-
], NW = [".jpg", ".jpeg", ".png", ".pdf"], Bk = 3, Hk = "file", Sn = "mockStep", Bs = "mockSegment", Hs = "mockSubSegment", zs = "mockErrorId", Gs = "mockRewardCode", Ws = "mockRedirectUrl", Xi = "mockConsumerInfoState", Qi = "mockIdCheckLoopServiceType", Ji = "mockDocSelected", Ks = "mockPreviousStep", zk = "thirdPartyLoopProvider",
|
407
|
+
], NW = [".jpg", ".jpeg", ".png", ".pdf"], Bk = 3, Hk = "file", Sn = "mockStep", Bs = "mockSegment", Hs = "mockSubSegment", zs = "mockErrorId", Gs = "mockRewardCode", Ws = "mockRedirectUrl", Xi = "mockConsumerInfoState", Qi = "mockIdCheckLoopServiceType", Ji = "mockDocSelected", Ks = "mockPreviousStep", zk = "thirdPartyLoopProvider", Eo = "installPageUrl", hb = "installType", Gk = "layout", bE = "externalUserId", SE = 9, Wk = 1, Kk = "www.sheerid.com", qk = "SheerID", gb = "https://verify.sheerid.com/verification-support/feedback.html?token=", yb = "https://support.sheerid.com", Yk = 1e4, wE = 200, Zk = 6, Xk = [
|
408
408
|
"firstName",
|
409
409
|
"lastName",
|
410
410
|
"memberId",
|
@@ -588,7 +588,7 @@ function Kh(...e) {
|
|
588
588
|
}
|
589
589
|
var qh = /* @__PURE__ */ ((e) => (e.TRUE = "true", e.FALSE = "false", e))(qh || {});
|
590
590
|
const eA = ["sheerid.com"];
|
591
|
-
var
|
591
|
+
var Bt = /* @__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))(Bt || {}), ls = /* @__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))(ls || {}), bn = /* @__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))(bn || {});
|
592
592
|
function Nf(e, t, r) {
|
593
593
|
if (Ey())
|
594
594
|
return L.info("Not able to track");
|
@@ -598,7 +598,7 @@ function Nf(e, t, r) {
|
|
598
598
|
L.warn(`Failed ${e}:${t} event`, n);
|
599
599
|
}
|
600
600
|
}
|
601
|
-
const
|
601
|
+
const Ro = async (e) => {
|
602
602
|
try {
|
603
603
|
const r = { ...await oE() || {}, ...e.params };
|
604
604
|
Nf("event", e.eventName, r), fi() && window.NREUM.addPageAction(e.eventName, r);
|
@@ -1203,8 +1203,8 @@ const Be = () => ce, bA = (e) => {
|
|
1203
1203
|
`option "${Xi}" set to ${ce[Xi]}`
|
1204
1204
|
)), e.hasOwnProperty(Qi) && (ce[Qi] = e[Qi], L.info(
|
1205
1205
|
`option "${Qi}" set to ${ce[Qi]}`
|
1206
|
-
)), e.hasOwnProperty(
|
1207
|
-
`option "${
|
1206
|
+
)), e.hasOwnProperty(Eo) && (ce[Eo] = e[Eo], L.info(
|
1207
|
+
`option "${Eo}" set to ${ce[Eo]}`
|
1208
1208
|
)), e.hasOwnProperty(Ji) && (ce[Ji] = e[Ji], L.info(
|
1209
1209
|
`option "${Ji}" set to ${ce[Ji]}`
|
1210
1210
|
)), e.hasOwnProperty("mockResponse") && (ce.mockResponse = Ge(e.mockResponse), L.info('option "mockResponse" set to', ce.mockResponse)), e.hasOwnProperty("messages") && (ce.messagesWithLocale = { ...ce.messagesWithLocale, "en-US": e.messages }, L.warn(
|
@@ -2663,13 +2663,13 @@ These messages will override existing messages of the same key for "en-US" local
|
|
2663
2663
|
}, PE = () => `${Be().restApi.serviceUrl}${Be().restApi.resources.verification}`, CA = (e) => `${PE()}${e}`, xA = () => PE(), TA = (e, t = null) => {
|
2664
2664
|
const r = `${Be().restApi.serviceUrl}${Be().restApi.resources.program.base}${e}/${Be().restApi.resources.program.theme}`;
|
2665
2665
|
return t ? `${r}?locale=${t}` : `${r}`;
|
2666
|
-
}, PA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, RA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, RE = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, NA = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, kW = (e, t, r) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, NE = () => "2.112.0-alpha.
|
2666
|
+
}, PA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, RA = (e) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, RE = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, NA = (e, t) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, kW = (e, t, r) => `${Be().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, NE = () => "2.112.0-alpha.6", kA = () => window.location.href, kE = () => {
|
2667
2667
|
try {
|
2668
2668
|
const e = new URLSearchParams(window.location.search);
|
2669
|
-
if (e.get(
|
2670
|
-
return decodeURIComponent(e.get(
|
2671
|
-
if (Be()[
|
2672
|
-
return Be()[
|
2669
|
+
if (e.get(Eo))
|
2670
|
+
return decodeURIComponent(e.get(Eo));
|
2671
|
+
if (Be()[Eo])
|
2672
|
+
return Be()[Eo];
|
2673
2673
|
} catch (e) {
|
2674
2674
|
L.error(e, "Install Page URL");
|
2675
2675
|
}
|
@@ -2685,7 +2685,7 @@ These messages will override existing messages of the same key for "en-US" local
|
|
2685
2685
|
L.error(e, "getInstallType");
|
2686
2686
|
}
|
2687
2687
|
return window.sheerIdInstallType || "cdn_no_iframe";
|
2688
|
-
}, AW = () => `${Be().restApi.serviceUrl}rest/v2/help/verificationHelp`,
|
2688
|
+
}, AW = () => `${Be().restApi.serviceUrl}rest/v2/help/verificationHelp`, fo = (e) => {
|
2689
2689
|
try {
|
2690
2690
|
const t = new URLSearchParams(window.location.search);
|
2691
2691
|
if (t.get(e))
|
@@ -2695,7 +2695,7 @@ These messages will override existing messages of the same key for "en-US" local
|
|
2695
2695
|
} catch (t) {
|
2696
2696
|
L.error(t, "getQueryOrOption");
|
2697
2697
|
}
|
2698
|
-
}, OA = () => !!
|
2698
|
+
}, OA = () => !!fo("mockStep"), Eu = (e = void 0) => {
|
2699
2699
|
try {
|
2700
2700
|
const t = new URLSearchParams(window.location.search);
|
2701
2701
|
let r;
|
@@ -2704,13 +2704,13 @@ These messages will override existing messages of the same key for "en-US" local
|
|
2704
2704
|
} catch (t) {
|
2705
2705
|
L.error(t, "getRouteOverride");
|
2706
2706
|
}
|
2707
|
-
}, Rb = () =>
|
2707
|
+
}, Rb = () => fo(Bs), Nb = () => fo(Hs), DA = () => fo(zs), wo = () => fo(Ks), LA = () => {
|
2708
2708
|
try {
|
2709
2709
|
return new URLSearchParams(window.location.search).get(Sn) === Hl.loading || Be()[Sn] === Hl.loading;
|
2710
2710
|
} catch (e) {
|
2711
2711
|
return L.error(e, "isMockingLoading"), !1;
|
2712
2712
|
}
|
2713
|
-
}, FA = () =>
|
2713
|
+
}, FA = () => wo(), AE = () => fo(Gs), _E = () => fo(Ws), UA = (e) => {
|
2714
2714
|
const t = Ge(e), r = DA(), n = _E();
|
2715
2715
|
return r && (t.errorIds = [r]), n && (t.redirectUrl = n), t;
|
2716
2716
|
}, $A = (e) => {
|
@@ -4603,14 +4603,14 @@ async function BD(e, t, r) {
|
|
4603
4603
|
completeAuthentication: u
|
4604
4604
|
} = qe;
|
4605
4605
|
try {
|
4606
|
-
performance.clearMarks(
|
4607
|
-
eventName:
|
4606
|
+
performance.clearMarks(Bt.STEP_SUBMITTED), performance.mark(Bt.STEP_SUBMITTED), Ro({
|
4607
|
+
eventName: Bt.STEP_SUBMITTED,
|
4608
4608
|
params: {
|
4609
4609
|
step: e,
|
4610
4610
|
eventDuration: performance.measure(
|
4611
|
-
|
4612
|
-
|
4613
|
-
|
4611
|
+
Bt.STEP_SUBMITTED,
|
4612
|
+
Bt.STEP_SEEN,
|
4613
|
+
Bt.STEP_SUBMITTED
|
4614
4614
|
).duration
|
4615
4615
|
}
|
4616
4616
|
});
|
@@ -4636,14 +4636,14 @@ async function BD(e, t, r) {
|
|
4636
4636
|
);
|
4637
4637
|
}
|
4638
4638
|
try {
|
4639
|
-
performance.clearMarks(
|
4640
|
-
eventName:
|
4639
|
+
performance.clearMarks(Bt.STEP_ACCEPTED), performance.mark(Bt.STEP_ACCEPTED), Ro({
|
4640
|
+
eventName: Bt.STEP_ACCEPTED,
|
4641
4641
|
params: {
|
4642
4642
|
step: e,
|
4643
4643
|
eventDuration: performance.measure(
|
4644
|
-
|
4645
|
-
|
4646
|
-
|
4644
|
+
Bt.STEP_ACCEPTED,
|
4645
|
+
Bt.STEP_SEEN,
|
4646
|
+
Bt.STEP_ACCEPTED
|
4647
4647
|
).duration
|
4648
4648
|
}
|
4649
4649
|
});
|
@@ -4804,7 +4804,7 @@ const jy = (e) => (Ok(e), ca.on(e.name, e.callback), ZD()), XD = () => {
|
|
4804
4804
|
locale: a,
|
4805
4805
|
previousViewModel: t,
|
4806
4806
|
currentStep: r,
|
4807
|
-
externalUserId:
|
4807
|
+
externalUserId: fo(bE)
|
4808
4808
|
});
|
4809
4809
|
}
|
4810
4810
|
return n;
|
@@ -5303,11 +5303,11 @@ var uC = { exports: {} };
|
|
5303
5303
|
}, P = function(v) {
|
5304
5304
|
v(Wt());
|
5305
5305
|
}, Me = function(v) {
|
5306
|
-
v(
|
5306
|
+
v(Vt());
|
5307
5307
|
}, Se = function(v, _) {
|
5308
5308
|
if (!Kn())
|
5309
5309
|
return v("swf object not loaded");
|
5310
|
-
if (!
|
5310
|
+
if (!go())
|
5311
5311
|
return v("flash not installed");
|
5312
5312
|
if (!_.fonts.swfPath)
|
5313
5313
|
return v("missing options.fonts.swfPath");
|
@@ -6060,7 +6060,7 @@ var uC = { exports: {} };
|
|
6060
6060
|
return !1;
|
6061
6061
|
var oe = j.indexOf("win") < 0 && j.indexOf("linux") < 0 && j.indexOf("mac") < 0 && j.indexOf("iphone") < 0 && j.indexOf("ipad") < 0 && j.indexOf("ipod") < 0;
|
6062
6062
|
return oe !== (V === "Other") ? !0 : typeof navigator.plugins > "u" && V !== "Windows" && V !== "Windows Phone";
|
6063
|
-
},
|
6063
|
+
}, Vt = function() {
|
6064
6064
|
var v = navigator.userAgent.toLowerCase(), _ = navigator.productSub, j;
|
6065
6065
|
if (v.indexOf("edge/") >= 0 || v.indexOf("iemobile/") >= 0)
|
6066
6066
|
return !1;
|
@@ -6100,7 +6100,7 @@ var uC = { exports: {} };
|
|
6100
6100
|
return ("msWriteProfilerMark" in window) + ("msLaunchUri" in navigator) + ("msSaveBlob" in navigator) >= 2;
|
6101
6101
|
}, Kn = function() {
|
6102
6102
|
return typeof window.swfobject < "u";
|
6103
|
-
},
|
6103
|
+
}, go = function() {
|
6104
6104
|
return window.swfobject.hasFlashPlayerVersion("9.0.0");
|
6105
6105
|
}, Ua = function(v) {
|
6106
6106
|
var _ = document.createElement("div");
|
@@ -6472,7 +6472,7 @@ const TL = /* @__PURE__ */ Pr(xL), PL = [
|
|
6472
6472
|
"OTHER_HEALTH_WORKER"
|
6473
6473
|
], kL = ["HOME_BUYER", "OTHER_MOVER"];
|
6474
6474
|
let cS = {};
|
6475
|
-
const AL = (e) => cS[e] ? (L.log(`getOverridenValidator returning '${e}'`), cS[e]) : null,
|
6475
|
+
const AL = (e) => cS[e] ? (L.log(`getOverridenValidator returning '${e}'`), cS[e]) : null, To = 10, _L = 16, OL = 1900, DL = 3e3, dS = 50, km = 256, Am = 4096, LL = /^\+(?:[0-9] ?){6,14}[0-9]$/, FL = [
|
6476
6476
|
/^\+?0*\d{10,}(x[0-9]{0,5})?$/,
|
6477
6477
|
/(^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$)/
|
6478
6478
|
], UL = (e) => Object.keys(e).length > dS ? (L.error(`Invalid number of metadata keys (max ${dS})`, "metadata keys"), !1) : !0, $L = (e) => {
|
@@ -6690,13 +6690,13 @@ const AL = (e) => cS[e] ? (L.log(`getOverridenValidator returning '${e}'`), cS[e
|
|
6690
6690
|
if (e === void 0 || !/^(?:[a-zA-Z0-9]\s*){12}$|^$/.test(e))
|
6691
6691
|
return t;
|
6692
6692
|
}, bF = new RegExp("([\\p{Letter}\\p{Mark}\\p{Connector_Punctuation}\\p{Join_Control}]+)", "v"), hC = (e) => bF.test(e), rg = (e) => {
|
6693
|
-
const t = e.split("-"), r = parseInt(t[0],
|
6693
|
+
const t = e.split("-"), r = parseInt(t[0], To), n = parseInt(t[1], To), a = parseInt(t[2], To), o = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
6694
6694
|
return !(r < OL || r > DL || n <= 0 || n > 12 || ((r % 400 === 0 || r % 100 !== 0 && r % 4 === 0) && (o[1] = 29), a <= 0 || a > o[n - 1]));
|
6695
6695
|
}, ng = (e) => !!/^\d{4}[\-\s\/]\d{1,2}[\-\s\/]\d{1,2}$/.test(e), Hy = (e) => {
|
6696
6696
|
const t = /* @__PURE__ */ new Date();
|
6697
6697
|
return new Date(e) > t;
|
6698
6698
|
}, gC = (e, t = _L) => {
|
6699
|
-
const r = e.split("-"), n = parseInt(r[0],
|
6699
|
+
const r = e.split("-"), n = parseInt(r[0], To), a = parseInt(r[1], To), o = parseInt(r[2], To), s = (/* @__PURE__ */ new Date()).getFullYear(), i = (/* @__PURE__ */ new Date()).getMonth() + 1, l = (/* @__PURE__ */ new Date()).getDate();
|
6700
6700
|
if (s - n === t) {
|
6701
6701
|
if (i - a < 0 || i - a === 0 && l - o < 0)
|
6702
6702
|
return !0;
|
@@ -6704,7 +6704,7 @@ const AL = (e) => cS[e] ? (L.log(`getOverridenValidator returning '${e}'`), cS[e
|
|
6704
6704
|
return !0;
|
6705
6705
|
return !1;
|
6706
6706
|
}, SF = (e, t = 120) => {
|
6707
|
-
const r = e.split("-"), n = parseInt(r[0],
|
6707
|
+
const r = e.split("-"), n = parseInt(r[0], To), a = parseInt(r[1], To), o = parseInt(r[2], To), s = (/* @__PURE__ */ new Date()).getFullYear(), i = (/* @__PURE__ */ new Date()).getMonth() + 1, l = (/* @__PURE__ */ new Date()).getDate();
|
6708
6708
|
if (s - n === t) {
|
6709
6709
|
if (i - a > 0 || i - a === 0 && l - o > 0)
|
6710
6710
|
return !0;
|
@@ -6888,7 +6888,7 @@ const ws = (e, t) => {
|
|
6888
6888
|
locale: c,
|
6889
6889
|
country: S,
|
6890
6890
|
previousViewModel: g,
|
6891
|
-
externalUserId:
|
6891
|
+
externalUserId: fo(bE)
|
6892
6892
|
});
|
6893
6893
|
w = tL(w, u), AF(o, l) && (ca.emit("ON_VERIFICATION_STEP_CHANGE", l), o && o.currentStep === "sso" && l.currentStep !== "sso" && l.currentStep !== "pending" && vC()), u.threatMetrixEnabled && eL(l.verificationId), uD(l.verificationId), w && w.hasOwnProperty("metadata") && (w.metadata = {
|
6894
6894
|
...w.metadata,
|
@@ -9568,56 +9568,56 @@ function QS(e, t, r) {
|
|
9568
9568
|
if (!n) throw Error(de(169));
|
9569
9569
|
r ? (e = Dx(e, t, ps), n.__reactInternalMemoizedMergedChildContext = e, kt(Vr), kt(wr), xt(wr, e)) : kt(Vr), xt(Vr, r);
|
9570
9570
|
}
|
9571
|
-
var
|
9571
|
+
var Mo = null, Xf = !1, Zm = !1;
|
9572
9572
|
function Lx(e) {
|
9573
|
-
|
9573
|
+
Mo === null ? Mo = [e] : Mo.push(e);
|
9574
9574
|
}
|
9575
9575
|
function k$(e) {
|
9576
9576
|
Xf = !0, Lx(e);
|
9577
9577
|
}
|
9578
9578
|
function Aa() {
|
9579
|
-
if (!Zm &&
|
9579
|
+
if (!Zm && Mo !== null) {
|
9580
9580
|
Zm = !0;
|
9581
9581
|
var e = 0, t = mt;
|
9582
9582
|
try {
|
9583
|
-
var r =
|
9583
|
+
var r = Mo;
|
9584
9584
|
for (mt = 1; e < r.length; e++) {
|
9585
9585
|
var n = r[e];
|
9586
9586
|
do
|
9587
9587
|
n = n(!0);
|
9588
9588
|
while (n !== null);
|
9589
9589
|
}
|
9590
|
-
|
9590
|
+
Mo = null, Xf = !1;
|
9591
9591
|
} catch (a) {
|
9592
|
-
throw
|
9592
|
+
throw Mo !== null && (Mo = Mo.slice(e + 1)), ix(nv, Aa), a;
|
9593
9593
|
} finally {
|
9594
9594
|
mt = t, Zm = !1;
|
9595
9595
|
}
|
9596
9596
|
}
|
9597
9597
|
return null;
|
9598
9598
|
}
|
9599
|
-
var ai = [], si = 0, Wd = null, Kd = 0, wn = [], In = 0, ms = null,
|
9599
|
+
var ai = [], si = 0, Wd = null, Kd = 0, wn = [], In = 0, ms = null, Co = 1, xo = "";
|
9600
9600
|
function za(e, t) {
|
9601
9601
|
ai[si++] = Kd, ai[si++] = Wd, Wd = e, Kd = t;
|
9602
9602
|
}
|
9603
9603
|
function Fx(e, t, r) {
|
9604
|
-
wn[In++] =
|
9605
|
-
var n =
|
9606
|
-
e =
|
9604
|
+
wn[In++] = Co, wn[In++] = xo, wn[In++] = ms, ms = e;
|
9605
|
+
var n = Co;
|
9606
|
+
e = xo;
|
9607
9607
|
var a = 32 - Vn(n) - 1;
|
9608
9608
|
n &= ~(1 << a), r += 1;
|
9609
9609
|
var o = 32 - Vn(t) + a;
|
9610
9610
|
if (30 < o) {
|
9611
9611
|
var s = a - a % 5;
|
9612
|
-
o = (n & (1 << s) - 1).toString(32), n >>= s, a -= s,
|
9613
|
-
} else
|
9612
|
+
o = (n & (1 << s) - 1).toString(32), n >>= s, a -= s, Co = 1 << 32 - Vn(t) + a | r << a | n, xo = o + e;
|
9613
|
+
} else Co = 1 << o | r << a | n, xo = e;
|
9614
9614
|
}
|
9615
9615
|
function fv(e) {
|
9616
9616
|
e.return !== null && (za(e, 1), Fx(e, 1, 0));
|
9617
9617
|
}
|
9618
9618
|
function pv(e) {
|
9619
9619
|
for (; e === Wd; ) Wd = ai[--si], ai[si] = null, Kd = ai[--si], ai[si] = null;
|
9620
|
-
for (; e === ms; ) ms = wn[--In], wn[In] = null,
|
9620
|
+
for (; e === ms; ) ms = wn[--In], wn[In] = null, xo = wn[--In], wn[In] = null, Co = wn[--In], wn[In] = null;
|
9621
9621
|
}
|
9622
9622
|
var an = null, on = null, Ot = !1, Un = null;
|
9623
9623
|
function Ux(e, t) {
|
@@ -9632,7 +9632,7 @@ function JS(e, t) {
|
|
9632
9632
|
case 6:
|
9633
9633
|
return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, an = e, on = null, !0) : !1;
|
9634
9634
|
case 13:
|
9635
|
-
return t = t.nodeType !== 8 ? null : t, t !== null ? (r = ms !== null ? { id:
|
9635
|
+
return t = t.nodeType !== 8 ? null : t, t !== null ? (r = ms !== null ? { id: Co, overflow: xo } : null, e.memoizedState = { dehydrated: t, treeContext: r, retryLane: 1073741824 }, r = Mn(18, null, null, 0), r.stateNode = t, r.return = e, e.child = r, an = e, on = null, !0) : !1;
|
9636
9636
|
default:
|
9637
9637
|
return !1;
|
9638
9638
|
}
|
@@ -9964,7 +9964,7 @@ function bv(e) {
|
|
9964
9964
|
function Hx(e, t) {
|
9965
9965
|
e = e.updateQueue, t.updateQueue === e && (t.updateQueue = { baseState: e.baseState, firstBaseUpdate: e.firstBaseUpdate, lastBaseUpdate: e.lastBaseUpdate, shared: e.shared, effects: e.effects });
|
9966
9966
|
}
|
9967
|
-
function
|
9967
|
+
function Po(e, t) {
|
9968
9968
|
return { eventTime: e, lane: t, tag: 0, payload: null, callback: null, next: null };
|
9969
9969
|
}
|
9970
9970
|
function ha(e, t, r) {
|
@@ -10425,7 +10425,7 @@ var Jd = { readContext: Tn, useCallback: fr, useContext: fr, useEffect: fr, useI
|
|
10425
10425
|
}, useId: function() {
|
10426
10426
|
var e = to(), t = er.identifierPrefix;
|
10427
10427
|
if (Ot) {
|
10428
|
-
var r =
|
10428
|
+
var r = xo, n = Co;
|
10429
10429
|
r = (n & ~(1 << 32 - Vn(n) - 1)).toString(32) + r, t = ":" + t + "R" + r, r = lu++, 0 < r && (t += "H" + r.toString(32)), t += ":";
|
10430
10430
|
} else r = _$++, t = ":" + t + "r" + r.toString(32) + ":";
|
10431
10431
|
return e.memoizedState = t;
|
@@ -10480,15 +10480,15 @@ var Jf = { isMounted: function(e) {
|
|
10480
10480
|
return (e = e._reactInternals) ? Ms(e) === e : !1;
|
10481
10481
|
}, enqueueSetState: function(e, t, r) {
|
10482
10482
|
e = e._reactInternals;
|
10483
|
-
var n = Tr(), a = ya(e), o =
|
10483
|
+
var n = Tr(), a = ya(e), o = Po(n, a);
|
10484
10484
|
o.payload = t, r != null && (o.callback = r), t = ha(e, o, a), t !== null && (Bn(t, e, a, n), td(t, e, a));
|
10485
10485
|
}, enqueueReplaceState: function(e, t, r) {
|
10486
10486
|
e = e._reactInternals;
|
10487
|
-
var n = Tr(), a = ya(e), o =
|
10487
|
+
var n = Tr(), a = ya(e), o = Po(n, a);
|
10488
10488
|
o.tag = 1, o.payload = t, r != null && (o.callback = r), t = ha(e, o, a), t !== null && (Bn(t, e, a, n), td(t, e, a));
|
10489
10489
|
}, enqueueForceUpdate: function(e, t) {
|
10490
10490
|
e = e._reactInternals;
|
10491
|
-
var r = Tr(), n = ya(e), a =
|
10491
|
+
var r = Tr(), n = ya(e), a = Po(r, n);
|
10492
10492
|
a.tag = 2, t != null && (a.callback = t), t = ha(e, a, n), t !== null && (Bn(t, e, n, r), td(t, e, n));
|
10493
10493
|
} };
|
10494
10494
|
function sw(e, t, r, n, a, o, s) {
|
@@ -10535,14 +10535,14 @@ function Lg(e, t) {
|
|
10535
10535
|
}
|
10536
10536
|
var j$ = typeof WeakMap == "function" ? WeakMap : Map;
|
10537
10537
|
function d1(e, t, r) {
|
10538
|
-
r =
|
10538
|
+
r = Po(-1, r), r.tag = 3, r.payload = { element: null };
|
10539
10539
|
var n = t.value;
|
10540
10540
|
return r.callback = function() {
|
10541
10541
|
tf || (tf = !0, Wg = n), Lg(e, t);
|
10542
10542
|
}, r;
|
10543
10543
|
}
|
10544
10544
|
function f1(e, t, r) {
|
10545
|
-
r =
|
10545
|
+
r = Po(-1, r), r.tag = 3;
|
10546
10546
|
var n = e.type.getDerivedStateFromError;
|
10547
10547
|
if (typeof n == "function") {
|
10548
10548
|
var a = t.value;
|
@@ -10577,7 +10577,7 @@ function uw(e) {
|
|
10577
10577
|
return null;
|
10578
10578
|
}
|
10579
10579
|
function cw(e, t, r, n, a) {
|
10580
|
-
return e.mode & 1 ? (e.flags |= 65536, e.lanes = a, e) : (e === t ? e.flags |= 65536 : (e.flags |= 128, r.flags |= 131072, r.flags &= -52805, r.tag === 1 && (r.alternate === null ? r.tag = 17 : (t =
|
10580
|
+
return e.mode & 1 ? (e.flags |= 65536, e.lanes = a, e) : (e === t ? e.flags |= 65536 : (e.flags |= 128, r.flags |= 131072, r.flags &= -52805, r.tag === 1 && (r.alternate === null ? r.tag = 17 : (t = Po(-1, 1), t.tag = 2, ha(r, t, 1))), r.lanes |= 1), e);
|
10581
10581
|
}
|
10582
10582
|
var V$ = $o.ReactCurrentOwner, jr = !1;
|
10583
10583
|
function Cr(e, t, r, n) {
|
@@ -10736,7 +10736,7 @@ function B$(e, t, r, n, a, o, s) {
|
|
10736
10736
|
}
|
10737
10737
|
return Ov(), n = th(Error(de(421))), bc(e, t, s, n);
|
10738
10738
|
}
|
10739
|
-
return a.data === "$?" ? (t.flags |= 128, t.child = e.child, t = t2.bind(null, e), a._reactRetry = t, null) : (e = o.treeContext, on = ma(a.nextSibling), an = t, Ot = !0, Un = null, e !== null && (wn[In++] =
|
10739
|
+
return a.data === "$?" ? (t.flags |= 128, t.child = e.child, t = t2.bind(null, e), a._reactRetry = t, null) : (e = o.treeContext, on = ma(a.nextSibling), an = t, Ot = !0, Un = null, e !== null && (wn[In++] = Co, wn[In++] = xo, wn[In++] = ms, Co = e.id, xo = e.overflow, ms = t), t = Pv(t, n.children), t.flags |= 4096, t);
|
10740
10740
|
}
|
10741
10741
|
function hw(e, t, r) {
|
10742
10742
|
e.lanes |= t;
|
@@ -11201,7 +11201,7 @@ function li(e, t) {
|
|
11201
11201
|
if (r !== null) if (typeof r == "function") try {
|
11202
11202
|
r(null);
|
11203
11203
|
} catch (n) {
|
11204
|
-
|
11204
|
+
Ut(e, t, n);
|
11205
11205
|
}
|
11206
11206
|
else r.current = null;
|
11207
11207
|
}
|
@@ -11209,7 +11209,7 @@ function Bg(e, t, r) {
|
|
11209
11209
|
try {
|
11210
11210
|
r();
|
11211
11211
|
} catch (n) {
|
11212
|
-
|
11212
|
+
Ut(e, t, n);
|
11213
11213
|
}
|
11214
11214
|
}
|
11215
11215
|
var gw = !1;
|
@@ -11274,7 +11274,7 @@ function K$(e, t) {
|
|
11274
11274
|
throw Error(de(163));
|
11275
11275
|
}
|
11276
11276
|
} catch (w) {
|
11277
|
-
|
11277
|
+
Ut(t, t.return, w);
|
11278
11278
|
}
|
11279
11279
|
if (e = t.sibling, e !== null) {
|
11280
11280
|
e.return = t.return, Pe = e;
|
@@ -11392,7 +11392,7 @@ function E1(e, t, r) {
|
|
11392
11392
|
if (!br && (li(r, t), n = r.stateNode, typeof n.componentWillUnmount == "function")) try {
|
11393
11393
|
n.props = r.memoizedProps, n.state = r.memoizedState, n.componentWillUnmount();
|
11394
11394
|
} catch (i) {
|
11395
|
-
|
11395
|
+
Ut(r, t, i);
|
11396
11396
|
}
|
11397
11397
|
qo(e, t, r);
|
11398
11398
|
break;
|
@@ -11442,7 +11442,7 @@ function Dn(e, t) {
|
|
11442
11442
|
var l = a.alternate;
|
11443
11443
|
l !== null && (l.return = null), a.return = null;
|
11444
11444
|
} catch (u) {
|
11445
|
-
|
11445
|
+
Ut(a, t, u);
|
11446
11446
|
}
|
11447
11447
|
}
|
11448
11448
|
if (t.subtreeFlags & 12854) for (t = t.child; t !== null; ) C1(t, e), t = t.sibling;
|
@@ -11458,12 +11458,12 @@ function C1(e, t) {
|
|
11458
11458
|
try {
|
11459
11459
|
Al(3, e, e.return), ep(3, e);
|
11460
11460
|
} catch (h) {
|
11461
|
-
|
11461
|
+
Ut(e, e.return, h);
|
11462
11462
|
}
|
11463
11463
|
try {
|
11464
11464
|
Al(5, e, e.return);
|
11465
11465
|
} catch (h) {
|
11466
|
-
|
11466
|
+
Ut(e, e.return, h);
|
11467
11467
|
}
|
11468
11468
|
}
|
11469
11469
|
break;
|
@@ -11476,7 +11476,7 @@ function C1(e, t) {
|
|
11476
11476
|
try {
|
11477
11477
|
Zl(a, "");
|
11478
11478
|
} catch (h) {
|
11479
|
-
|
11479
|
+
Ut(e, e.return, h);
|
11480
11480
|
}
|
11481
11481
|
}
|
11482
11482
|
if (n & 4 && (a = e.stateNode, a != null)) {
|
@@ -11508,7 +11508,7 @@ function C1(e, t) {
|
|
11508
11508
|
}
|
11509
11509
|
a[au] = o;
|
11510
11510
|
} catch (h) {
|
11511
|
-
|
11511
|
+
Ut(e, e.return, h);
|
11512
11512
|
}
|
11513
11513
|
}
|
11514
11514
|
break;
|
@@ -11519,7 +11519,7 @@ function C1(e, t) {
|
|
11519
11519
|
try {
|
11520
11520
|
a.nodeValue = o;
|
11521
11521
|
} catch (h) {
|
11522
|
-
|
11522
|
+
Ut(e, e.return, h);
|
11523
11523
|
}
|
11524
11524
|
}
|
11525
11525
|
break;
|
@@ -11527,7 +11527,7 @@ function C1(e, t) {
|
|
11527
11527
|
if (Dn(t, e), Xn(e), n & 4 && r !== null && r.memoizedState.isDehydrated) try {
|
11528
11528
|
eu(t.containerInfo);
|
11529
11529
|
} catch (h) {
|
11530
|
-
|
11530
|
+
Ut(e, e.return, h);
|
11531
11531
|
}
|
11532
11532
|
break;
|
11533
11533
|
case 4:
|
@@ -11555,7 +11555,7 @@ function C1(e, t) {
|
|
11555
11555
|
try {
|
11556
11556
|
t = n, g.props = t.memoizedProps, g.state = t.memoizedState, g.componentWillUnmount();
|
11557
11557
|
} catch (h) {
|
11558
|
-
|
11558
|
+
Ut(n, r, h);
|
11559
11559
|
}
|
11560
11560
|
}
|
11561
11561
|
break;
|
@@ -11579,14 +11579,14 @@ function C1(e, t) {
|
|
11579
11579
|
try {
|
11580
11580
|
a = d.stateNode, u ? (o = a.style, typeof o.setProperty == "function" ? o.setProperty("display", "none", "important") : o.display = "none") : (i = d.stateNode, l = d.memoizedProps.style, s = l != null && l.hasOwnProperty("display") ? l.display : null, i.style.display = XC("display", s));
|
11581
11581
|
} catch (h) {
|
11582
|
-
|
11582
|
+
Ut(e, e.return, h);
|
11583
11583
|
}
|
11584
11584
|
}
|
11585
11585
|
} else if (d.tag === 6) {
|
11586
11586
|
if (c === null) try {
|
11587
11587
|
d.stateNode.nodeValue = u ? "" : d.memoizedProps;
|
11588
11588
|
} catch (h) {
|
11589
|
-
|
11589
|
+
Ut(e, e.return, h);
|
11590
11590
|
}
|
11591
11591
|
} else if ((d.tag !== 22 && d.tag !== 23 || d.memoizedState === null || d === e) && d.child !== null) {
|
11592
11592
|
d.child.return = d, d = d.child;
|
@@ -11643,7 +11643,7 @@ function Xn(e) {
|
|
11643
11643
|
throw Error(de(161));
|
11644
11644
|
}
|
11645
11645
|
} catch (l) {
|
11646
|
-
|
11646
|
+
Ut(e, e.return, l);
|
11647
11647
|
}
|
11648
11648
|
e.flags &= -3;
|
11649
11649
|
}
|
@@ -11751,7 +11751,7 @@ function bw(e) {
|
|
11751
11751
|
}
|
11752
11752
|
br || t.flags & 512 && Hg(t);
|
11753
11753
|
} catch (p) {
|
11754
|
-
|
11754
|
+
Ut(t, t.return, p);
|
11755
11755
|
}
|
11756
11756
|
}
|
11757
11757
|
if (t === e) {
|
@@ -11792,7 +11792,7 @@ function ww(e) {
|
|
11792
11792
|
try {
|
11793
11793
|
ep(4, t);
|
11794
11794
|
} catch (l) {
|
11795
|
-
|
11795
|
+
Ut(t, r, l);
|
11796
11796
|
}
|
11797
11797
|
break;
|
11798
11798
|
case 1:
|
@@ -11802,14 +11802,14 @@ function ww(e) {
|
|
11802
11802
|
try {
|
11803
11803
|
n.componentDidMount();
|
11804
11804
|
} catch (l) {
|
11805
|
-
|
11805
|
+
Ut(t, a, l);
|
11806
11806
|
}
|
11807
11807
|
}
|
11808
11808
|
var o = t.return;
|
11809
11809
|
try {
|
11810
11810
|
Hg(t);
|
11811
11811
|
} catch (l) {
|
11812
|
-
|
11812
|
+
Ut(t, o, l);
|
11813
11813
|
}
|
11814
11814
|
break;
|
11815
11815
|
case 5:
|
@@ -11817,11 +11817,11 @@ function ww(e) {
|
|
11817
11817
|
try {
|
11818
11818
|
Hg(t);
|
11819
11819
|
} catch (l) {
|
11820
|
-
|
11820
|
+
Ut(t, s, l);
|
11821
11821
|
}
|
11822
11822
|
}
|
11823
11823
|
} catch (l) {
|
11824
|
-
|
11824
|
+
Ut(t, t.return, l);
|
11825
11825
|
}
|
11826
11826
|
if (t === e) {
|
11827
11827
|
Pe = null;
|
@@ -11835,7 +11835,7 @@ function ww(e) {
|
|
11835
11835
|
Pe = t.return;
|
11836
11836
|
}
|
11837
11837
|
}
|
11838
|
-
var Y$ = Math.ceil, ef = $o.ReactCurrentDispatcher, Rv = $o.ReactCurrentOwner, Cn = $o.ReactCurrentBatchConfig, ut = 0, er = null, Gt = null, ir = 0, Qr = 0, ui = ka(0), Zt = 0, du = null, gs = 0, tp = 0, Nv = 0, _l = null, Ur = null, kv = 0, _i = 1 / 0,
|
11838
|
+
var Y$ = Math.ceil, ef = $o.ReactCurrentDispatcher, Rv = $o.ReactCurrentOwner, Cn = $o.ReactCurrentBatchConfig, ut = 0, er = null, Gt = null, ir = 0, Qr = 0, ui = ka(0), Zt = 0, du = null, gs = 0, tp = 0, Nv = 0, _l = null, Ur = null, kv = 0, _i = 1 / 0, Io = null, tf = !1, Wg = null, ga = null, wc = !1, sa = null, rf = 0, Ol = 0, Kg = null, ad = -1, sd = 0;
|
11839
11839
|
function Tr() {
|
11840
11840
|
return ut & 6 ? Ht() : ad !== -1 ? ad : ad = Ht();
|
11841
11841
|
}
|
@@ -11889,7 +11889,7 @@ function T1(e, t) {
|
|
11889
11889
|
var a = ut;
|
11890
11890
|
ut |= 2;
|
11891
11891
|
var o = R1();
|
11892
|
-
(er !== e || ir !== t) && (
|
11892
|
+
(er !== e || ir !== t) && (Io = null, _i = Ht() + 500, os(e, t));
|
11893
11893
|
do
|
11894
11894
|
try {
|
11895
11895
|
Q$();
|
@@ -11910,7 +11910,7 @@ function T1(e, t) {
|
|
11910
11910
|
case 1:
|
11911
11911
|
throw Error(de(345));
|
11912
11912
|
case 2:
|
11913
|
-
Ga(e, Ur,
|
11913
|
+
Ga(e, Ur, Io);
|
11914
11914
|
break;
|
11915
11915
|
case 3:
|
11916
11916
|
if (oa(e, n), (n & 130023424) === n && (t = kv + 500 - Ht(), 10 < t)) {
|
@@ -11919,10 +11919,10 @@ function T1(e, t) {
|
|
11919
11919
|
Tr(), e.pingedLanes |= e.suspendedLanes & a;
|
11920
11920
|
break;
|
11921
11921
|
}
|
11922
|
-
e.timeoutHandle = Pg(Ga.bind(null, e, Ur,
|
11922
|
+
e.timeoutHandle = Pg(Ga.bind(null, e, Ur, Io), t);
|
11923
11923
|
break;
|
11924
11924
|
}
|
11925
|
-
Ga(e, Ur,
|
11925
|
+
Ga(e, Ur, Io);
|
11926
11926
|
break;
|
11927
11927
|
case 4:
|
11928
11928
|
if (oa(e, n), (n & 4194240) === n) break;
|
@@ -11931,13 +11931,13 @@ function T1(e, t) {
|
|
11931
11931
|
o = 1 << s, s = t[s], s > a && (a = s), n &= ~o;
|
11932
11932
|
}
|
11933
11933
|
if (n = a, n = Ht() - n, n = (120 > n ? 120 : 480 > n ? 480 : 1080 > n ? 1080 : 1920 > n ? 1920 : 3e3 > n ? 3e3 : 4320 > n ? 4320 : 1960 * Y$(n / 1960)) - n, 10 < n) {
|
11934
|
-
e.timeoutHandle = Pg(Ga.bind(null, e, Ur,
|
11934
|
+
e.timeoutHandle = Pg(Ga.bind(null, e, Ur, Io), n);
|
11935
11935
|
break;
|
11936
11936
|
}
|
11937
|
-
Ga(e, Ur,
|
11937
|
+
Ga(e, Ur, Io);
|
11938
11938
|
break;
|
11939
11939
|
case 5:
|
11940
|
-
Ga(e, Ur,
|
11940
|
+
Ga(e, Ur, Io);
|
11941
11941
|
break;
|
11942
11942
|
default:
|
11943
11943
|
throw Error(de(329));
|
@@ -11997,7 +11997,7 @@ function Iw(e) {
|
|
11997
11997
|
}
|
11998
11998
|
if (r === 1) throw r = du, os(e, 0), oa(e, t), Hr(e, Ht()), r;
|
11999
11999
|
if (r === 6) throw Error(de(345));
|
12000
|
-
return e.finishedWork = e.current.alternate, e.finishedLanes = t, Ga(e, Ur,
|
12000
|
+
return e.finishedWork = e.current.alternate, e.finishedLanes = t, Ga(e, Ur, Io), Hr(e, Ht()), null;
|
12001
12001
|
}
|
12002
12002
|
function Av(e, t) {
|
12003
12003
|
var r = ut;
|
@@ -12155,7 +12155,7 @@ function nf(e, t) {
|
|
12155
12155
|
var r = ut;
|
12156
12156
|
ut |= 2;
|
12157
12157
|
var n = R1();
|
12158
|
-
(er !== e || ir !== t) && (
|
12158
|
+
(er !== e || ir !== t) && (Io = null, os(e, t));
|
12159
12159
|
do
|
12160
12160
|
try {
|
12161
12161
|
X$();
|
@@ -12320,7 +12320,7 @@ function Ii() {
|
|
12320
12320
|
ep(9, i);
|
12321
12321
|
}
|
12322
12322
|
} catch (M) {
|
12323
|
-
|
12323
|
+
Ut(i, i.return, M);
|
12324
12324
|
}
|
12325
12325
|
if (i === s) {
|
12326
12326
|
Pe = null;
|
@@ -12350,7 +12350,7 @@ function Ii() {
|
|
12350
12350
|
function Mw(e, t, r) {
|
12351
12351
|
t = Ai(r, t), t = d1(e, t, 1), e = ha(e, t, 1), t = Tr(), e !== null && (Ru(e, 1, t), Hr(e, t));
|
12352
12352
|
}
|
12353
|
-
function
|
12353
|
+
function Ut(e, t, r) {
|
12354
12354
|
if (e.tag === 3) Mw(e, e, r);
|
12355
12355
|
else for (; t !== null; ) {
|
12356
12356
|
if (t.tag === 3) {
|
@@ -12490,7 +12490,7 @@ _1 = function(e, t, r) {
|
|
12490
12490
|
for (var l = i.firstContext; l !== null; ) {
|
12491
12491
|
if (l.context === n) {
|
12492
12492
|
if (o.tag === 1) {
|
12493
|
-
l =
|
12493
|
+
l = Po(-1, r & -r), l.tag = 2;
|
12494
12494
|
var u = o.updateQueue;
|
12495
12495
|
if (u !== null) {
|
12496
12496
|
u = u.shared;
|
@@ -12658,11 +12658,11 @@ function D1(e) {
|
|
12658
12658
|
return t;
|
12659
12659
|
}
|
12660
12660
|
function L1(e, t, r, n, a, o, s, i, l) {
|
12661
|
-
return e = Lv(r, n, !0, e, a, o, s, i, l), e.context = D1(null), r = e.current, n = Tr(), a = ya(r), o =
|
12661
|
+
return e = Lv(r, n, !0, e, a, o, s, i, l), e.context = D1(null), r = e.current, n = Tr(), a = ya(r), o = Po(n, a), o.callback = t ?? null, ha(r, o, a), e.current.lanes = a, Ru(e, a, n), Hr(e, n), e;
|
12662
12662
|
}
|
12663
12663
|
function np(e, t, r, n) {
|
12664
12664
|
var a = t.current, o = Tr(), s = ya(a);
|
12665
|
-
return r = D1(r), t.context === null ? t.context = r : t.pendingContext = r, t =
|
12665
|
+
return r = D1(r), t.context === null ? t.context = r : t.pendingContext = r, t = Po(o, s), t.payload = { element: e }, n = n === void 0 ? null : n, n !== null && (t.callback = n), e = ha(a, t, s), e !== null && (Bn(e, a, s, o), td(e, a, s)), s;
|
12666
12666
|
}
|
12667
12667
|
function of(e) {
|
12668
12668
|
if (e = e.current, !e.child) return null;
|
@@ -13976,11 +13976,11 @@ const xj = function() {
|
|
13976
13976
|
return "\\";
|
13977
13977
|
}, He = "\\#", we = { type: "literal", value: "\\#", description: '"\\\\#"' }, ke = function() {
|
13978
13978
|
return "\\#";
|
13979
|
-
}, at = "\\{", Wt = { type: "literal", value: "\\{", description: '"\\\\{"' },
|
13979
|
+
}, at = "\\{", Wt = { type: "literal", value: "\\{", description: '"\\\\{"' }, Vt = function() {
|
13980
13980
|
return "{";
|
13981
13981
|
}, Xt = "\\}", Ir = { type: "literal", value: "\\}", description: '"\\\\}"' }, kn = function() {
|
13982
13982
|
return "}";
|
13983
|
-
}, Pt = "\\u", Kn = { type: "literal", value: "\\u", description: '"\\\\u"' },
|
13983
|
+
}, Pt = "\\u", Kn = { type: "literal", value: "\\u", description: '"\\\\u"' }, go = function(E) {
|
13984
13984
|
return String.fromCharCode(parseInt(E, 16));
|
13985
13985
|
}, Ua = function(E) {
|
13986
13986
|
return E.join("");
|
@@ -14049,10 +14049,10 @@ const xj = function() {
|
|
14049
14049
|
return "\\u" + ks(On);
|
14050
14050
|
});
|
14051
14051
|
}
|
14052
|
-
var qt = new Array(Ue.length),
|
14052
|
+
var qt = new Array(Ue.length), yo, _n, Go;
|
14053
14053
|
for (Go = 0; Go < Ue.length; Go++)
|
14054
14054
|
qt[Go] = Ue[Go].description;
|
14055
|
-
return
|
14055
|
+
return yo = Ue.length > 1 ? qt.slice(0, -1).join(", ") + " or " + qt[Ue.length - 1] : qt[0], _n = Xe ? '"' + ct(Xe) + '"' : "end of input", "Expected " + yo + " but " + _n + " found.";
|
14056
14056
|
}
|
14057
14057
|
return k !== null && ge(k), new t(
|
14058
14058
|
Te(k, Y),
|
@@ -14208,7 +14208,7 @@ const xj = function() {
|
|
14208
14208
|
}
|
14209
14209
|
function Ae() {
|
14210
14210
|
var E, k, Y, te, ge, Te, Ue, Xe;
|
14211
|
-
return Ee.test(n.charAt($)) ? (E = n.charAt($), $++) : (E = o, v === 0 && oe(me)), E === o && (E = $, n.substr($, 2) === Ne ? (k = Ne, $ += 2) : (k = o, v === 0 && oe(ve)), k !== o && (dt = E, k = xe()), E = k, E === o && (E = $, n.substr($, 2) === He ? (k = He, $ += 2) : (k = o, v === 0 && oe(we)), k !== o && (dt = E, k = ke()), E = k, E === o && (E = $, n.substr($, 2) === at ? (k = at, $ += 2) : (k = o, v === 0 && oe(Wt)), k !== o && (dt = E, k =
|
14211
|
+
return Ee.test(n.charAt($)) ? (E = n.charAt($), $++) : (E = o, v === 0 && oe(me)), E === o && (E = $, n.substr($, 2) === Ne ? (k = Ne, $ += 2) : (k = o, v === 0 && oe(ve)), k !== o && (dt = E, k = xe()), E = k, E === o && (E = $, n.substr($, 2) === He ? (k = He, $ += 2) : (k = o, v === 0 && oe(we)), k !== o && (dt = E, k = ke()), E = k, E === o && (E = $, n.substr($, 2) === at ? (k = at, $ += 2) : (k = o, v === 0 && oe(Wt)), k !== o && (dt = E, k = Vt()), E = k, E === o && (E = $, n.substr($, 2) === Xt ? (k = Xt, $ += 2) : (k = o, v === 0 && oe(Ir)), k !== o && (dt = E, k = kn()), E = k, E === o && (E = $, n.substr($, 2) === Pt ? (k = Pt, $ += 2) : (k = o, v === 0 && oe(Kn)), k !== o ? (Y = $, te = $, ge = ee(), ge !== o ? (Te = ee(), Te !== o ? (Ue = ee(), Ue !== o ? (Xe = ee(), Xe !== o ? (ge = [ge, Te, Ue, Xe], te = ge) : ($ = te, te = o)) : ($ = te, te = o)) : ($ = te, te = o)) : ($ = te, te = o), te !== o ? Y = n.substring(Y, $) : Y = te, Y !== o ? (dt = E, k = go(Y), E = k) : ($ = E, E = o)) : ($ = E, E = o)))))), E;
|
14212
14212
|
}
|
14213
14213
|
function _e() {
|
14214
14214
|
var E, k, Y;
|
@@ -14721,7 +14721,7 @@ var Fw = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? fun
|
|
14721
14721
|
return typeof e;
|
14722
14722
|
} : function(e) {
|
14723
14723
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
14724
|
-
},
|
14724
|
+
}, po = function(e, t) {
|
14725
14725
|
if (!(e instanceof t))
|
14726
14726
|
throw new TypeError("Cannot call a class as a function");
|
14727
14727
|
}, jo = /* @__PURE__ */ function() {
|
@@ -14791,7 +14791,7 @@ var Fw = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? fun
|
|
14791
14791
|
formatPlural: Zo,
|
14792
14792
|
formatMessage: Zo,
|
14793
14793
|
formatHTMLMessage: Zo
|
14794
|
-
},
|
14794
|
+
}, mo = Xj(xn({}, Yv, vT, {
|
14795
14795
|
formatters: Dl,
|
14796
14796
|
now: Zo
|
14797
14797
|
}));
|
@@ -14879,7 +14879,7 @@ function et(e) {
|
|
14879
14879
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = t.intlPropName, n = r === void 0 ? "intl" : r, a = t.withRef, o = a === void 0 ? !1 : a, s = function(i) {
|
14880
14880
|
Vo(l, i);
|
14881
14881
|
function l(u, c) {
|
14882
|
-
|
14882
|
+
po(this, l);
|
14883
14883
|
var d = Bo(this, (l.__proto__ || Object.getPrototypeOf(l)).call(this, u, c));
|
14884
14884
|
return _a(c), d;
|
14885
14885
|
}
|
@@ -14904,7 +14904,7 @@ function et(e) {
|
|
14904
14904
|
}]), l;
|
14905
14905
|
}(x.Component);
|
14906
14906
|
return s.displayName = "InjectIntl(" + i3(e) + ")", s.contextTypes = {
|
14907
|
-
intl:
|
14907
|
+
intl: mo
|
14908
14908
|
}, s.WrappedComponent = e, Zg(s, e);
|
14909
14909
|
}
|
14910
14910
|
function l3(e) {
|
@@ -14915,7 +14915,7 @@ function u3(e) {
|
|
14915
14915
|
}
|
14916
14916
|
var c3 = function e(t) {
|
14917
14917
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
14918
|
-
|
14918
|
+
po(this, e);
|
14919
14919
|
var n = r.style === "ordinal", a = u3(l3(t));
|
14920
14920
|
this.format = function(o) {
|
14921
14921
|
return a(o, n);
|
@@ -15044,7 +15044,7 @@ var w3 = Object.freeze({
|
|
15044
15044
|
Vo(t, e);
|
15045
15045
|
function t(r) {
|
15046
15046
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
15047
|
-
|
15047
|
+
po(this, t);
|
15048
15048
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15049
15049
|
Rp(typeof Intl < "u", "[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in. An `Intl` polyfill should be loaded.\nSee: http://formatjs.io/guides/runtime-environments/");
|
15050
15050
|
var o = n.intl, s = void 0;
|
@@ -15118,15 +15118,15 @@ var w3 = Object.freeze({
|
|
15118
15118
|
}(x.Component);
|
15119
15119
|
_u.displayName = "IntlProvider";
|
15120
15120
|
_u.contextTypes = {
|
15121
|
-
intl:
|
15121
|
+
intl: mo
|
15122
15122
|
};
|
15123
15123
|
_u.childContextTypes = {
|
15124
|
-
intl:
|
15124
|
+
intl: mo.isRequired
|
15125
15125
|
};
|
15126
15126
|
var ST = function(e) {
|
15127
15127
|
Vo(t, e);
|
15128
15128
|
function t(r, n) {
|
15129
|
-
|
15129
|
+
po(this, t);
|
15130
15130
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15131
15131
|
return _a(n), a;
|
15132
15132
|
}
|
@@ -15151,12 +15151,12 @@ var ST = function(e) {
|
|
15151
15151
|
}(x.Component);
|
15152
15152
|
ST.displayName = "FormattedDate";
|
15153
15153
|
ST.contextTypes = {
|
15154
|
-
intl:
|
15154
|
+
intl: mo
|
15155
15155
|
};
|
15156
15156
|
var wT = function(e) {
|
15157
15157
|
Vo(t, e);
|
15158
15158
|
function t(r, n) {
|
15159
|
-
|
15159
|
+
po(this, t);
|
15160
15160
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15161
15161
|
return _a(n), a;
|
15162
15162
|
}
|
@@ -15181,7 +15181,7 @@ var wT = function(e) {
|
|
15181
15181
|
}(x.Component);
|
15182
15182
|
wT.displayName = "FormattedTime";
|
15183
15183
|
wT.contextTypes = {
|
15184
|
-
intl:
|
15184
|
+
intl: mo
|
15185
15185
|
};
|
15186
15186
|
var E3 = 1e3, IT = 1e3 * 60, MT = 1e3 * 60 * 60, ET = 1e3 * 60 * 60 * 24, C3 = 2147483647;
|
15187
15187
|
function x3(e) {
|
@@ -15211,7 +15211,7 @@ function P3(e, t) {
|
|
15211
15211
|
var Xv = function(e) {
|
15212
15212
|
Vo(t, e);
|
15213
15213
|
function t(r, n) {
|
15214
|
-
|
15214
|
+
po(this, t);
|
15215
15215
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15216
15216
|
_a(n);
|
15217
15217
|
var o = isFinite(r.initialNow) ? Number(r.initialNow) : n.intl.now();
|
@@ -15272,7 +15272,7 @@ var Xv = function(e) {
|
|
15272
15272
|
}(x.Component);
|
15273
15273
|
Xv.displayName = "FormattedRelative";
|
15274
15274
|
Xv.contextTypes = {
|
15275
|
-
intl:
|
15275
|
+
intl: mo
|
15276
15276
|
};
|
15277
15277
|
Xv.defaultProps = {
|
15278
15278
|
updateInterval: 1e3 * 10
|
@@ -15280,7 +15280,7 @@ Xv.defaultProps = {
|
|
15280
15280
|
var CT = function(e) {
|
15281
15281
|
Vo(t, e);
|
15282
15282
|
function t(r, n) {
|
15283
|
-
|
15283
|
+
po(this, t);
|
15284
15284
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15285
15285
|
return _a(n), a;
|
15286
15286
|
}
|
@@ -15305,12 +15305,12 @@ var CT = function(e) {
|
|
15305
15305
|
}(x.Component);
|
15306
15306
|
CT.displayName = "FormattedNumber";
|
15307
15307
|
CT.contextTypes = {
|
15308
|
-
intl:
|
15308
|
+
intl: mo
|
15309
15309
|
};
|
15310
15310
|
var Qv = function(e) {
|
15311
15311
|
Vo(t, e);
|
15312
15312
|
function t(r, n) {
|
15313
|
-
|
15313
|
+
po(this, t);
|
15314
15314
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15315
15315
|
return _a(n), a;
|
15316
15316
|
}
|
@@ -15335,7 +15335,7 @@ var Qv = function(e) {
|
|
15335
15335
|
}(x.Component);
|
15336
15336
|
Qv.displayName = "FormattedPlural";
|
15337
15337
|
Qv.contextTypes = {
|
15338
|
-
intl:
|
15338
|
+
intl: mo
|
15339
15339
|
};
|
15340
15340
|
Qv.defaultProps = {
|
15341
15341
|
style: "cardinal"
|
@@ -15345,7 +15345,7 @@ var R3 = function(t, r) {
|
|
15345
15345
|
}, Jv = function(e) {
|
15346
15346
|
Vo(t, e);
|
15347
15347
|
function t(r, n) {
|
15348
|
-
|
15348
|
+
po(this, t);
|
15349
15349
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15350
15350
|
return r.defaultMessage || _a(n), a;
|
15351
15351
|
}
|
@@ -15392,7 +15392,7 @@ var R3 = function(t, r) {
|
|
15392
15392
|
}(x.Component);
|
15393
15393
|
Jv.displayName = "FormattedMessage";
|
15394
15394
|
Jv.contextTypes = {
|
15395
|
-
intl:
|
15395
|
+
intl: mo
|
15396
15396
|
};
|
15397
15397
|
Jv.defaultProps = {
|
15398
15398
|
values: {}
|
@@ -15400,7 +15400,7 @@ Jv.defaultProps = {
|
|
15400
15400
|
var B = function(e) {
|
15401
15401
|
Vo(t, e);
|
15402
15402
|
function t(r, n) {
|
15403
|
-
|
15403
|
+
po(this, t);
|
15404
15404
|
var a = Bo(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, r, n));
|
15405
15405
|
return _a(n), a;
|
15406
15406
|
}
|
@@ -15429,7 +15429,7 @@ var B = function(e) {
|
|
15429
15429
|
}(x.Component);
|
15430
15430
|
B.displayName = "FormattedHTMLMessage";
|
15431
15431
|
B.contextTypes = {
|
15432
|
-
intl:
|
15432
|
+
intl: mo
|
15433
15433
|
};
|
15434
15434
|
B.defaultProps = {
|
15435
15435
|
values: {}
|
@@ -15575,7 +15575,7 @@ function Ca(e) {
|
|
15575
15575
|
return t.prototype = new Error(), t.prototype.name = e, t.prototype.constructor = t, t;
|
15576
15576
|
}
|
15577
15577
|
const D3 = Ca("LaunchDarklyUnexpectedResponseError"), L3 = Ca("LaunchDarklyInvalidEnvironmentIdError"), F3 = Ca("LaunchDarklyInvalidUserError"), U3 = Ca("LaunchDarklyInvalidEventKeyError"), $3 = Ca("LaunchDarklyInvalidArgumentError"), j3 = Ca("LaunchDarklyFlagFetchError");
|
15578
|
-
for (var
|
15578
|
+
for (var $t = { LDUnexpectedResponseError: D3, LDInvalidEnvironmentIdError: L3, LDInvalidUserError: F3, LDInvalidEventKeyError: U3, LDInvalidArgumentError: $3, LDInvalidDataError: Ca("LaunchDarklyInvalidDataError"), LDFlagFetchError: j3, LDTimeoutError: Ca("LaunchDarklyTimeoutError"), isHttpErrorRecoverable: function(e) {
|
15579
15579
|
return !(e >= 400 && e < 500) || e === 400 || e === 408 || e === 429;
|
15580
15580
|
} }, V3 = function(e) {
|
15581
15581
|
var t = zw(e), r = t[0], n = t[1];
|
@@ -15767,7 +15767,7 @@ var Q3 = TT("v3", 48, function(e) {
|
|
15767
15767
|
return o;
|
15768
15768
|
}(e), 8 * e.length));
|
15769
15769
|
}), J3 = Q3;
|
15770
|
-
function
|
15770
|
+
function e4(e, t, r, n) {
|
15771
15771
|
switch (e) {
|
15772
15772
|
case 0:
|
15773
15773
|
return t & r ^ ~t & n;
|
@@ -15781,7 +15781,7 @@ function eV(e, t, r, n) {
|
|
15781
15781
|
function hh(e, t) {
|
15782
15782
|
return e << t | e >>> 32 - t;
|
15783
15783
|
}
|
15784
|
-
var
|
15784
|
+
var t4 = TT("v5", 80, function(e) {
|
15785
15785
|
var t = [1518500249, 1859775393, 2400959708, 3395469782], r = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
|
15786
15786
|
if (typeof e == "string") {
|
15787
15787
|
var n = unescape(encodeURIComponent(e));
|
@@ -15798,13 +15798,13 @@ var tV = TT("v5", 80, function(e) {
|
|
15798
15798
|
for (var p = new Uint32Array(80), m = 0; m < 16; ++m) p[m] = i[d][m];
|
15799
15799
|
for (var g = 16; g < 80; ++g) p[g] = hh(p[g - 3] ^ p[g - 8] ^ p[g - 14] ^ p[g - 16], 1);
|
15800
15800
|
for (var h = r[0], I = r[1], b = r[2], y = r[3], S = r[4], w = 0; w < 80; ++w) {
|
15801
|
-
var M = Math.floor(w / 20), N = hh(h, 5) +
|
15801
|
+
var M = Math.floor(w / 20), N = hh(h, 5) + e4(M, I, b, y) + S + t[M] + p[w] >>> 0;
|
15802
15802
|
S = y, y = b, b = hh(I, 30) >>> 0, I = h, h = N;
|
15803
15803
|
}
|
15804
15804
|
r[0] = r[0] + h >>> 0, r[1] = r[1] + I >>> 0, r[2] = r[2] + b >>> 0, r[3] = r[3] + y >>> 0, r[4] = r[4] + S >>> 0;
|
15805
15805
|
}
|
15806
15806
|
return [r[0] >> 24 & 255, r[0] >> 16 & 255, r[0] >> 8 & 255, 255 & r[0], r[1] >> 24 & 255, r[1] >> 16 & 255, r[1] >> 8 & 255, 255 & r[1], r[2] >> 24 & 255, r[2] >> 16 & 255, r[2] >> 8 & 255, 255 & r[2], r[3] >> 24 & 255, r[3] >> 16 & 255, r[3] >> 8 & 255, 255 & r[3], r[4] >> 24 & 255, r[4] >> 16 & 255, r[4] >> 8 & 255, 255 & r[4]];
|
15807
|
-
}),
|
15807
|
+
}), r4 = t4, t0 = Object.freeze({ __proto__: null, v1: function(e, t, r) {
|
15808
15808
|
var n = t && r || 0, a = t || new Array(16), o = (e = e || {}).node || Yw, s = e.clockseq !== void 0 ? e.clockseq : dh;
|
15809
15809
|
if (o == null || s == null) {
|
15810
15810
|
var i = e.random || (e.rng || qw)();
|
@@ -15827,7 +15827,7 @@ var tV = TT("v5", 80, function(e) {
|
|
15827
15827
|
return t;
|
15828
15828
|
}
|
15829
15829
|
return ud(n);
|
15830
|
-
}, v5:
|
15830
|
+
}, v5: r4, NIL: "00000000-0000-0000-0000-000000000000", version: function(e) {
|
15831
15831
|
if (!sf(e)) throw TypeError("Invalid UUID");
|
15832
15832
|
return parseInt(e.substr(14, 1), 16);
|
15833
15833
|
}, validate: sf, stringify: ud, parse: xT });
|
@@ -15919,7 +15919,7 @@ var Ze = { bootstrapInvalid: function() {
|
|
15919
15919
|
}, eventWithoutContext: function() {
|
15920
15920
|
return "Be sure to call `identify` in the LaunchDarkly client: https://docs.launchdarkly.com/sdk/features/identify#javascript";
|
15921
15921
|
}, httpErrorMessage: function(e, t, r) {
|
15922
|
-
return "Received error " + e + (e === 401 ? " (invalid SDK key)" : "") + " for " + t + " - " + (
|
15922
|
+
return "Received error " + e + (e === 401 ? " (invalid SDK key)" : "") + " for " + t + " - " + ($t.isHttpErrorRecoverable(e) ? r : "giving up permanently");
|
15923
15923
|
}, httpUnavailable: function() {
|
15924
15924
|
return "Cannot make HTTP requests in this environment." + Fs;
|
15925
15925
|
}, identifyDisabled: function() {
|
@@ -15945,15 +15945,15 @@ var Ze = { bootstrapInvalid: function() {
|
|
15945
15945
|
}, unknownOption: (e) => 'Ignoring unknown config option "' + e + '"', contextNotSpecified: function() {
|
15946
15946
|
return "No context specified." + Fs;
|
15947
15947
|
}, unrecoverableStreamError: (e) => `Error on stream connection ${Mc(e)}, giving up permanently`, wrongOptionType: (e, t, r) => 'Config option "' + e + '" should be of type ' + t + ", got " + r + ", using default value", wrongOptionTypeBoolean: (e, t) => 'Config option "' + e + '" should be a boolean, got ' + t + ", converting to boolean" };
|
15948
|
-
const { validateLogger:
|
15948
|
+
const { validateLogger: n4 } = r0, Xw = { baseUrl: { default: "https://app.launchdarkly.com" }, streamUrl: { default: "https://clientstream.launchdarkly.com" }, eventsUrl: { default: "https://events.launchdarkly.com" }, sendEvents: { default: !0 }, streaming: { type: "boolean" }, sendLDHeaders: { default: !0 }, requestHeaderTransform: { type: "function" }, sendEventsOnlyForVariation: { default: !1 }, useReport: { default: !1 }, evaluationReasons: { default: !1 }, eventCapacity: { default: 100, minimum: 1 }, flushInterval: { default: 2e3, minimum: 2e3 }, samplingInterval: { default: 0, minimum: 0 }, streamReconnectDelay: { default: 1e3, minimum: 0 }, allAttributesPrivate: { default: !1 }, privateAttributes: { default: [] }, bootstrap: { type: "string|object" }, diagnosticRecordingInterval: { default: 9e5, minimum: 2e3 }, diagnosticOptOut: { default: !1 }, wrapperName: { type: "string" }, wrapperVersion: { type: "string" }, stateProvider: { type: "object" }, application: { validator: function(e, t, r) {
|
15949
15949
|
const n = {};
|
15950
15950
|
return t.id && (n.id = Qw(`${e}.id`, t.id, r)), t.version && (n.version = Qw(`${e}.version`, t.version, r)), n;
|
15951
|
-
} }, inspectors: { default: [] } },
|
15951
|
+
} }, inspectors: { default: [] } }, o4 = /^(\w|\.|-)+$/;
|
15952
15952
|
function gh(e) {
|
15953
15953
|
return e && e.replace(/\/+$/, "");
|
15954
15954
|
}
|
15955
15955
|
function Qw(e, t, r) {
|
15956
|
-
if (typeof t == "string" && t.match(
|
15956
|
+
if (typeof t == "string" && t.match(o4)) {
|
15957
15957
|
if (!(t.length > 64)) return t;
|
15958
15958
|
r.warn(Ze.tagValueTooLong(e));
|
15959
15959
|
} else r.warn(Ze.invalidTagValue(e));
|
@@ -15962,7 +15962,7 @@ var n0 = { baseOptionDefs: Xw, validate: function(e, t, r, n) {
|
|
15962
15962
|
const a = Qe.extend({ logger: { default: n } }, Xw, r), o = {};
|
15963
15963
|
function s(l) {
|
15964
15964
|
Qe.onNextTick(() => {
|
15965
|
-
t && t.maybeReportError(new
|
15965
|
+
t && t.maybeReportError(new $t.LDInvalidArgumentError(l));
|
15966
15966
|
});
|
15967
15967
|
}
|
15968
15968
|
let i = Qe.extend({}, e || {});
|
@@ -16004,31 +16004,31 @@ var n0 = { baseOptionDefs: Xw, validate: function(e, t, r, n) {
|
|
16004
16004
|
}
|
16005
16005
|
}
|
16006
16006
|
}), u.baseUrl = gh(u.baseUrl), u.streamUrl = gh(u.streamUrl), u.eventsUrl = gh(u.eventsUrl), u;
|
16007
|
-
}(i),
|
16007
|
+
}(i), n4(i.logger), i;
|
16008
16008
|
}, getTags: function(e) {
|
16009
16009
|
const t = {};
|
16010
16010
|
return e && (e.application && e.application.id !== void 0 && e.application.id !== null && (t["application-id"] = [e.application.id]), e.application && e.application.version !== void 0 && e.application.id !== null && (t["application-version"] = [e.application.version])), t;
|
16011
16011
|
} };
|
16012
|
-
const { getLDUserAgentString:
|
16012
|
+
const { getLDUserAgentString: a4 } = Qe;
|
16013
16013
|
var o0 = { getLDHeaders: function(e, t) {
|
16014
16014
|
if (t && !t.sendLDHeaders) return {};
|
16015
16015
|
const r = {};
|
16016
|
-
r[e.userAgentHeaderName || "User-Agent"] =
|
16016
|
+
r[e.userAgentHeaderName || "User-Agent"] = a4(e), t && t.wrapperName && (r["X-LaunchDarkly-Wrapper"] = t.wrapperVersion ? t.wrapperName + "/" + t.wrapperVersion : t.wrapperName);
|
16017
16017
|
const n = n0.getTags(t), a = Object.keys(n);
|
16018
16018
|
return a.length && (r["x-launchdarkly-tags"] = a.sort().map((o) => Array.isArray(n[o]) ? n[o].sort().map((s) => `${o}/${s}`) : [`${o}/${n[o]}`]).reduce((o, s) => o.concat(s), []).join(" ")), r;
|
16019
16019
|
}, transformHeaders: function(e, t) {
|
16020
16020
|
return t && t.requestHeaderTransform ? t.requestHeaderTransform({ ...e }) : e;
|
16021
16021
|
} };
|
16022
|
-
const { v1:
|
16022
|
+
const { v1: s4 } = t0, { getLDHeaders: i4, transformHeaders: l4 } = o0;
|
16023
16023
|
var PT = function(e, t, r) {
|
16024
|
-
const n = Qe.extend({ "Content-Type": "application/json" },
|
16024
|
+
const n = Qe.extend({ "Content-Type": "application/json" }, i4(e, r)), a = {};
|
16025
16025
|
return a.sendEvents = (o, s, i) => {
|
16026
16026
|
if (!e.httpRequest) return Promise.resolve();
|
16027
|
-
const l = JSON.stringify(o), u = i ? null :
|
16027
|
+
const l = JSON.stringify(o), u = i ? null : s4();
|
16028
16028
|
return function c(d) {
|
16029
16029
|
const p = i ? n : Qe.extend({}, n, { "X-LaunchDarkly-Event-Schema": "4", "X-LaunchDarkly-Payload-ID": u });
|
16030
|
-
return e.httpRequest("POST", s,
|
16031
|
-
if (m) return m.status >= 400 &&
|
16030
|
+
return e.httpRequest("POST", s, l4(p, r), l).promise.then((m) => {
|
16031
|
+
if (m) return m.status >= 400 && $t.isHttpErrorRecoverable(m.status) && d ? c(!1) : function(g) {
|
16032
16032
|
const h = { status: g.status }, I = g.header("date");
|
16033
16033
|
if (I) {
|
16034
16034
|
const b = Date.parse(I);
|
@@ -16041,7 +16041,7 @@ var PT = function(e, t, r) {
|
|
16041
16041
|
});
|
16042
16042
|
}, a;
|
16043
16043
|
};
|
16044
|
-
const { commonBasicLogger:
|
16044
|
+
const { commonBasicLogger: u4 } = r0;
|
16045
16045
|
function Jw(e) {
|
16046
16046
|
return typeof e == "string" && e !== "kind" && e.match(/^(\w|\.|-)+$/);
|
16047
16047
|
}
|
@@ -16059,7 +16059,7 @@ var _p = { checkContext: function(e, t) {
|
|
16059
16059
|
return o && a;
|
16060
16060
|
}
|
16061
16061
|
return !1;
|
16062
|
-
}, getContextKeys: function(e, t =
|
16062
|
+
}, getContextKeys: function(e, t = u4()) {
|
16063
16063
|
if (!e) return;
|
16064
16064
|
const r = {}, { kind: n, key: a } = e;
|
16065
16065
|
switch (n) {
|
@@ -16084,8 +16084,8 @@ var _p = { checkContext: function(e, t) {
|
|
16084
16084
|
}, getContextKinds: function(e) {
|
16085
16085
|
return e ? e.kind === null || e.kind === void 0 ? ["user"] : e.kind !== "multi" ? [e.kind] : Object.keys(e).filter((t) => t !== "kind") : [];
|
16086
16086
|
} };
|
16087
|
-
const { getContextKinds:
|
16088
|
-
var
|
16087
|
+
const { getContextKinds: c4 } = _p;
|
16088
|
+
var d4 = function() {
|
16089
16089
|
const e = {};
|
16090
16090
|
let t = 0, r = 0, n = {}, a = {};
|
16091
16091
|
return e.summarizeEvent = (o) => {
|
@@ -16093,7 +16093,7 @@ var dV = function() {
|
|
16093
16093
|
const s = o.key + ":" + (o.variation !== null && o.variation !== void 0 ? o.variation : "") + ":" + (o.version !== null && o.version !== void 0 ? o.version : ""), i = n[s];
|
16094
16094
|
let l = a[o.key];
|
16095
16095
|
l || (l = /* @__PURE__ */ new Set(), a[o.key] = l), function(u) {
|
16096
|
-
return u.context ?
|
16096
|
+
return u.context ? c4(u.context) : u.contextKeys ? Object.keys(u.contextKeys) : [];
|
16097
16097
|
}(o).forEach((u) => l.add(u)), i ? i.count = i.count + 1 : n[s] = { count: 1, key: o.key, version: o.version, variation: o.variation, value: o.value, default: o.default }, (t === 0 || o.creationDate < t) && (t = o.creationDate), o.creationDate > r && (r = o.creationDate);
|
16098
16098
|
}
|
16099
16099
|
}, e.getSummary = () => {
|
@@ -16154,7 +16154,7 @@ var yh = { cloneExcluding: function(e, t) {
|
|
16154
16154
|
}
|
16155
16155
|
}
|
16156
16156
|
return { cloned: n, excluded: a.sort() };
|
16157
|
-
}, compare: rI, literalToReference: nI },
|
16157
|
+
}, compare: rI, literalToReference: nI }, f4 = function(e) {
|
16158
16158
|
const t = {}, r = e.allAttributesPrivate, n = e.privateAttributes || [], a = ["key", "kind", "_meta", "anonymous"], o = ["name", "ip", "firstName", "lastName", "email", "avatar", "country"], s = (i, l) => {
|
16159
16159
|
if (typeof i != "object" || i === null || Array.isArray(i)) return;
|
16160
16160
|
const { cloned: u, excluded: c } = yh.cloneExcluding(i, ((d, p) => (r || p && d.anonymous ? Object.keys(d) : [...n, ...d._meta && d._meta.privateAttributes || []]).filter((m) => !a.some((g) => yh.compare(m, g))))(i, l));
|
@@ -16174,16 +16174,16 @@ var yh = { cloneExcluding: function(e, t) {
|
|
16174
16174
|
return d;
|
16175
16175
|
})(i, l) : s(i, l), t;
|
16176
16176
|
};
|
16177
|
-
const { getContextKeys:
|
16178
|
-
var
|
16179
|
-
const s = {}, i = o || PT(e, r, t), l = Qe.appendUrlPath(t.eventsUrl, "/events/bulk/" + r), u =
|
16177
|
+
const { getContextKeys: p4 } = _p;
|
16178
|
+
var m4 = function(e, t, r, n = null, a = null, o = null) {
|
16179
|
+
const s = {}, i = o || PT(e, r, t), l = Qe.appendUrlPath(t.eventsUrl, "/events/bulk/" + r), u = d4(), c = f4(t), d = t.samplingInterval, p = t.eventCapacity, m = t.flushInterval, g = t.logger;
|
16180
16180
|
let h, I = [], b = 0, y = !1, S = !1;
|
16181
16181
|
function w() {
|
16182
16182
|
return d === 0 || Math.floor(Math.random() * d) === 0;
|
16183
16183
|
}
|
16184
16184
|
function M(T) {
|
16185
16185
|
const O = Qe.extend({}, T);
|
16186
|
-
return T.kind === "identify" ? O.context = c.filter(T.context) : T.kind === "feature" ? O.context = c.filter(T.context, !0) : (O.contextKeys =
|
16186
|
+
return T.kind === "identify" ? O.context = c.filter(T.context) : T.kind === "feature" ? O.context = c.filter(T.context, !0) : (O.contextKeys = p4(T.context, g), delete O.context), T.kind === "feature" && (delete O.trackEvents, delete O.debugEventsUntilDate), O;
|
16187
16187
|
}
|
16188
16188
|
function N(T) {
|
16189
16189
|
I.length < p ? (I.push(T), S = !1) : (S || (S = !0, g.warn(Ze.eventCapacityExceeded())), n && n.incrementDroppedEvents());
|
@@ -16200,8 +16200,8 @@ var mV = function(e, t, r, n = null, a = null, o = null) {
|
|
16200
16200
|
if (y) return Promise.resolve();
|
16201
16201
|
const T = I, O = u.getSummary();
|
16202
16202
|
return u.clearSummary(), O && (O.kind = "summary", T.push(O)), n && n.setEventsInLastBatch(T.length), T.length === 0 ? Promise.resolve() : (I = [], g.debug(Ze.debugPostingEvents(T.length)), i.sendEvents(T, l).then((A) => {
|
16203
|
-
A && (A.serverTime && (b = A.serverTime),
|
16204
|
-
a.maybeReportError(new
|
16203
|
+
A && (A.serverTime && (b = A.serverTime), $t.isHttpErrorRecoverable(A.status) || (y = !0), A.status >= 400 && Qe.onNextTick(() => {
|
16204
|
+
a.maybeReportError(new $t.LDUnexpectedResponseError(Ze.httpErrorMessage(A.status, "event posting", "some events were dropped")));
|
16205
16205
|
}));
|
16206
16206
|
}));
|
16207
16207
|
}, s.start = function() {
|
@@ -16212,7 +16212,7 @@ var mV = function(e, t, r, n = null, a = null, o = null) {
|
|
16212
16212
|
}, s.stop = function() {
|
16213
16213
|
clearTimeout(h);
|
16214
16214
|
}, s;
|
16215
|
-
},
|
16215
|
+
}, h4 = function(e) {
|
16216
16216
|
const t = {}, r = {};
|
16217
16217
|
return t.on = function(n, a, o) {
|
16218
16218
|
r[n] = r[n] || [], r[n] = r[n].concat({ handler: a, context: o });
|
@@ -16231,7 +16231,7 @@ var mV = function(e, t, r, n = null, a = null, o = null) {
|
|
16231
16231
|
}, t;
|
16232
16232
|
};
|
16233
16233
|
const Ec = "ready", vh = "initialized", bh = "failed";
|
16234
|
-
var
|
16234
|
+
var g4 = function(e) {
|
16235
16235
|
let t = !1, r = !1, n = null, a = null;
|
16236
16236
|
const o = new Promise((s) => {
|
16237
16237
|
const i = () => {
|
@@ -16252,7 +16252,7 @@ var gV = function(e) {
|
|
16252
16252
|
}, signalFailure: (s) => {
|
16253
16253
|
t || r || (r = !0, n = s, e.emit(bh, s), e.emit(Ec)), e.maybeReportError(s);
|
16254
16254
|
} };
|
16255
|
-
},
|
16255
|
+
}, y4 = function(e, t, r, n) {
|
16256
16256
|
const a = {};
|
16257
16257
|
function o() {
|
16258
16258
|
let s = "";
|
@@ -16275,7 +16275,7 @@ var gV = function(e) {
|
|
16275
16275
|
const i = Qe.extend({}, s, { $schema: 1 });
|
16276
16276
|
return e.set(o(), JSON.stringify(i));
|
16277
16277
|
}, a.clearFlags = () => e.clear(o()), a;
|
16278
|
-
},
|
16278
|
+
}, v4 = function(e, t) {
|
16279
16279
|
const r = {};
|
16280
16280
|
let n = !1;
|
16281
16281
|
const a = (o) => {
|
@@ -16295,9 +16295,9 @@ var gV = function(e) {
|
|
16295
16295
|
}) : s(!1);
|
16296
16296
|
}), r;
|
16297
16297
|
};
|
16298
|
-
const { appendUrlPath: oI, base64URLEncode:
|
16299
|
-
var
|
16300
|
-
const a = t.streamUrl, o = t.logger, s = {}, i = oI(a, "/eval/" + r), l = t.useReport, u = t.evaluationReasons, c = t.streamReconnectDelay, d =
|
16298
|
+
const { appendUrlPath: oI, base64URLEncode: b4, objectHasOwnProperty: S4 } = Qe, { getLDHeaders: w4, transformHeaders: I4 } = o0, { isHttpErrorRecoverable: M4 } = $t;
|
16299
|
+
var E4 = function(e, t, r, n) {
|
16300
|
+
const a = t.streamUrl, o = t.logger, s = {}, i = oI(a, "/eval/" + r), l = t.useReport, u = t.evaluationReasons, c = t.streamReconnectDelay, d = w4(e, t);
|
16301
16301
|
let p, m = !1, g = null, h = null, I = null, b = null, y = null, S = 0;
|
16302
16302
|
function w() {
|
16303
16303
|
const U = (re = function() {
|
@@ -16308,7 +16308,7 @@ var EV = function(e, t, r, n) {
|
|
16308
16308
|
return S += 1, U;
|
16309
16309
|
}
|
16310
16310
|
function M(U) {
|
16311
|
-
if (U.status && typeof U.status == "number" && !
|
16311
|
+
if (U.status && typeof U.status == "number" && !M4(U.status)) return O(), o.error(Ze.unrecoverableStreamError(U)), void (h && (clearTimeout(h), h = null));
|
16312
16312
|
const re = w();
|
16313
16313
|
m || (o.warn(Ze.streamError(U, re)), m = !0), A(!1), O(), N(re);
|
16314
16314
|
}
|
@@ -16321,8 +16321,8 @@ var EV = function(e, t, r, n) {
|
|
16321
16321
|
let re = "";
|
16322
16322
|
const ie = { headers: d, readTimeoutMillis: 3e5 };
|
16323
16323
|
if (e.eventSourceFactory) {
|
16324
|
-
b != null && (re = "h=" + b), l ? e.eventSourceAllowsReport ? (U = i, ie.method = "REPORT", ie.headers["Content-Type"] = "application/json", ie.body = JSON.stringify(I)) : (U = oI(a, "/ping/" + r), re = "") : U = i + "/" +
|
16325
|
-
for (const he in y)
|
16324
|
+
b != null && (re = "h=" + b), l ? e.eventSourceAllowsReport ? (U = i, ie.method = "REPORT", ie.headers["Content-Type"] = "application/json", ie.body = JSON.stringify(I)) : (U = oI(a, "/ping/" + r), re = "") : U = i + "/" + b4(JSON.stringify(I)), ie.headers = I4(ie.headers, t), u && (re = re + (re ? "&" : "") + "withReasons=true"), U = U + (re ? "?" : "") + re, O(), o.info(Ze.streamConnecting(U)), p = (/* @__PURE__ */ new Date()).getTime(), g = e.eventSourceFactory(U, ie);
|
16325
|
+
for (const he in y) S4(y, he) && g.addEventListener(he, y[he]);
|
16326
16326
|
g.onerror = M, g.onopen = () => {
|
16327
16327
|
S = 0;
|
16328
16328
|
};
|
@@ -16345,7 +16345,7 @@ var EV = function(e, t, r, n) {
|
|
16345
16345
|
}, s.isConnected = function() {
|
16346
16346
|
return !!(g && e.eventSourceIsActive && e.eventSourceIsActive(g));
|
16347
16347
|
}, s;
|
16348
|
-
},
|
16348
|
+
}, C4 = function(e) {
|
16349
16349
|
let t, r, n, a;
|
16350
16350
|
const o = { addPromise: (s, i) => {
|
16351
16351
|
t = s, r && r(), r = i, s.then((l) => {
|
@@ -16358,31 +16358,31 @@ var EV = function(e, t, r, n) {
|
|
16358
16358
|
n = s, a = i;
|
16359
16359
|
}), o;
|
16360
16360
|
};
|
16361
|
-
const { transformHeaders:
|
16362
|
-
var
|
16361
|
+
const { transformHeaders: x4, getLDHeaders: T4 } = o0, aI = "application/json";
|
16362
|
+
var P4 = function(e, t, r) {
|
16363
16363
|
const n = t.baseUrl, a = t.useReport, o = t.evaluationReasons, s = t.logger, i = {}, l = {};
|
16364
16364
|
function u(c, d) {
|
16365
16365
|
if (!e.httpRequest) return new Promise((b, y) => {
|
16366
|
-
y(new
|
16366
|
+
y(new $t.LDFlagFetchError(Ze.httpUnavailable()));
|
16367
16367
|
});
|
16368
|
-
const p = d ? "REPORT" : "GET", m =
|
16368
|
+
const p = d ? "REPORT" : "GET", m = T4(e, t);
|
16369
16369
|
d && (m["Content-Type"] = aI);
|
16370
16370
|
let g = l[c];
|
16371
|
-
g || (g =
|
16371
|
+
g || (g = C4(() => {
|
16372
16372
|
delete l[c];
|
16373
16373
|
}), l[c] = g);
|
16374
|
-
const h = e.httpRequest(p, c,
|
16374
|
+
const h = e.httpRequest(p, c, x4(m, t), d), I = h.promise.then((b) => {
|
16375
16375
|
if (b.status === 200) {
|
16376
16376
|
if (b.header("content-type") && b.header("content-type").substring(0, 16) === aI) return JSON.parse(b.body);
|
16377
16377
|
{
|
16378
16378
|
const y = Ze.invalidContentType(b.header("content-type") || "");
|
16379
|
-
return Promise.reject(new
|
16379
|
+
return Promise.reject(new $t.LDFlagFetchError(y));
|
16380
16380
|
}
|
16381
16381
|
}
|
16382
16382
|
return Promise.reject(function(y) {
|
16383
|
-
return y.status === 404 ? new
|
16383
|
+
return y.status === 404 ? new $t.LDInvalidEnvironmentIdError(Ze.environmentNotFound()) : new $t.LDFlagFetchError(Ze.errorFetchingFlags(y.statusText || String(y.status)));
|
16384
16384
|
}(b));
|
16385
|
-
}, (b) => Promise.reject(new
|
16385
|
+
}, (b) => Promise.reject(new $t.LDFlagFetchError(Ze.networkError(b))));
|
16386
16386
|
return g.addPromise(I, () => {
|
16387
16387
|
h.cancel && h.cancel();
|
16388
16388
|
}), g.resultPromise;
|
@@ -16393,7 +16393,7 @@ var PV = function(e, t, r) {
|
|
16393
16393
|
let p, m, g, h = "";
|
16394
16394
|
return a ? (m = [n, "/sdk/evalx/", r, "/context"].join(""), g = JSON.stringify(c)) : (p = Qe.base64URLEncode(JSON.stringify(c)), m = [n, "/sdk/evalx/", r, "/contexts/", p].join("")), d && (h = "h=" + d), o && (h = h + (h ? "&" : "") + "withReasons=true"), m = m + (h ? "?" : "") + h, s.debug(Ze.debugPolling(m)), u(m, g);
|
16395
16395
|
}, i;
|
16396
|
-
},
|
16396
|
+
}, R4 = function(e, t) {
|
16397
16397
|
const r = {};
|
16398
16398
|
let n;
|
16399
16399
|
return r.setContext = function(a) {
|
@@ -16402,8 +16402,8 @@ var PV = function(e, t, r) {
|
|
16402
16402
|
return n ? Qe.clone(n) : null;
|
16403
16403
|
}, r;
|
16404
16404
|
};
|
16405
|
-
const { v1:
|
16406
|
-
var
|
16405
|
+
const { v1: N4 } = t0, { getContextKinds: k4 } = _p;
|
16406
|
+
var A4 = function(e) {
|
16407
16407
|
function t(n) {
|
16408
16408
|
return n == null || n === "user" ? "ld:$anonUserId" : `ld:$contextKey:${n}`;
|
16409
16409
|
}
|
@@ -16413,26 +16413,26 @@ var AV = function(e) {
|
|
16413
16413
|
}(n).then((o) => {
|
16414
16414
|
if (o) return a.key = o, a;
|
16415
16415
|
{
|
16416
|
-
const s =
|
16416
|
+
const s = N4();
|
16417
16417
|
return a.key = s, function(i, l) {
|
16418
16418
|
return e.set(t(l), i);
|
16419
16419
|
}(s, n).then(() => a);
|
16420
16420
|
}
|
16421
|
-
}) : Promise.reject(new
|
16421
|
+
}) : Promise.reject(new $t.LDInvalidUserError(Ze.invalidContext()));
|
16422
16422
|
}
|
16423
16423
|
this.processContext = (n) => {
|
16424
|
-
if (!n) return Promise.reject(new
|
16424
|
+
if (!n) return Promise.reject(new $t.LDInvalidUserError(Ze.contextNotSpecified()));
|
16425
16425
|
const a = Qe.clone(n);
|
16426
16426
|
if (n.kind === "multi") {
|
16427
|
-
const o =
|
16427
|
+
const o = k4(a);
|
16428
16428
|
return Promise.all(o.map((s) => r(s, a[s]))).then(() => a);
|
16429
16429
|
}
|
16430
16430
|
return r(n.kind, a);
|
16431
16431
|
};
|
16432
16432
|
};
|
16433
|
-
const { v1:
|
16433
|
+
const { v1: _4 } = t0, { baseOptionDefs: Sh } = n0, { appendUrlPath: O4 } = Qe;
|
16434
16434
|
var wh = { DiagnosticId: function(e) {
|
16435
|
-
const t = { diagnosticId:
|
16435
|
+
const t = { diagnosticId: _4() };
|
16436
16436
|
return e && (t.sdkKeySuffix = e.length > 6 ? e.substring(e.length - 6) : e), t;
|
16437
16437
|
}, DiagnosticsAccumulator: function(e) {
|
16438
16438
|
let t, r, n, a;
|
@@ -16450,7 +16450,7 @@ var wh = { DiagnosticId: function(e) {
|
|
16450
16450
|
a.push(u);
|
16451
16451
|
}, reset: o };
|
16452
16452
|
}, DiagnosticsManager: function(e, t, r, n, a, o, s) {
|
16453
|
-
const i = !!e.diagnosticUseCombinedEvent, l = "ld:" + a + ":$diagnostics", u =
|
16453
|
+
const i = !!e.diagnosticUseCombinedEvent, l = "ld:" + a + ":$diagnostics", u = O4(o.eventsUrl, "/events/diagnostic/" + a), c = o.diagnosticRecordingInterval, d = r;
|
16454
16454
|
let p, m, g = !!o.streaming;
|
16455
16455
|
const h = {};
|
16456
16456
|
function I() {
|
@@ -16504,7 +16504,7 @@ var wh = { DiagnosticId: function(e) {
|
|
16504
16504
|
}, h.setStreaming = (M) => {
|
16505
16505
|
g = M;
|
16506
16506
|
}, h;
|
16507
|
-
} },
|
16507
|
+
} }, D4 = function(e, t) {
|
16508
16508
|
let r = !1;
|
16509
16509
|
const n = { type: e.type, name: e.name, synchronous: e.synchronous, method: (...a) => {
|
16510
16510
|
try {
|
@@ -16517,8 +16517,8 @@ var wh = { DiagnosticId: function(e) {
|
|
16517
16517
|
};
|
16518
16518
|
const { onNextTick: Cc } = Qe, Dr = { flagUsed: "flag-used", flagDetailsChanged: "flag-details-changed", flagDetailChanged: "flag-detail-changed", clientIdentityChanged: "client-identity-changed" };
|
16519
16519
|
Object.freeze(Dr);
|
16520
|
-
var
|
16521
|
-
const r = {}, n = { [Dr.flagUsed]: [], [Dr.flagDetailsChanged]: [], [Dr.flagDetailChanged]: [], [Dr.clientIdentityChanged]: [] }, a = { [Dr.flagUsed]: [], [Dr.flagDetailsChanged]: [], [Dr.flagDetailChanged]: [], [Dr.clientIdentityChanged]: [] }, o = e && e.map((s) =>
|
16520
|
+
var L4 = { InspectorTypes: Dr, InspectorManager: function(e, t) {
|
16521
|
+
const r = {}, n = { [Dr.flagUsed]: [], [Dr.flagDetailsChanged]: [], [Dr.flagDetailChanged]: [], [Dr.clientIdentityChanged]: [] }, a = { [Dr.flagUsed]: [], [Dr.flagDetailsChanged]: [], [Dr.flagDetailChanged]: [], [Dr.clientIdentityChanged]: [] }, o = e && e.map((s) => D4(s, t));
|
16522
16522
|
return o && o.forEach((s) => {
|
16523
16523
|
Object.prototype.hasOwnProperty.call(n, s.type) && !s.synchronous ? n[s.type].push(s) : Object.prototype.hasOwnProperty.call(a, s.type) && s.synchronous ? a[s.type].push(s) : t.warn(Ze.invalidInspector(s.type, s.name));
|
16524
16524
|
}), r.hasListeners = (s) => n[s] && n[s].length || a[s] && a[s].length, r.onFlagUsed = (s, i, l) => {
|
@@ -16543,27 +16543,27 @@ var LV = { InspectorTypes: Dr, InspectorManager: function(e, t) {
|
|
16543
16543
|
});
|
16544
16544
|
}, r;
|
16545
16545
|
} };
|
16546
|
-
const { LDTimeoutError:
|
16547
|
-
var
|
16546
|
+
const { LDTimeoutError: F4 } = $t;
|
16547
|
+
var U4 = function(e, t) {
|
16548
16548
|
return new Promise((r, n) => {
|
16549
16549
|
setTimeout(() => {
|
16550
|
-
n(new
|
16550
|
+
n(new F4(`${t} timed out after ${e} seconds.`));
|
16551
16551
|
}, 1e3 * e);
|
16552
16552
|
});
|
16553
16553
|
};
|
16554
|
-
const { commonBasicLogger: $
|
16554
|
+
const { commonBasicLogger: $4 } = r0, { checkContext: j4 } = _p, { InspectorTypes: xc, InspectorManager: V4 } = L4, Tc = "change", sI = "internal-change";
|
16555
16555
|
var NT = { initialize: function(e, t, r, n, a) {
|
16556
16556
|
const o = function() {
|
16557
|
-
return r && r.logger ? r.logger : a && a.logger && a.logger.default || $
|
16558
|
-
}(), s =
|
16557
|
+
return r && r.logger ? r.logger : a && a.logger && a.logger.default || $4("warn");
|
16558
|
+
}(), s = h4(o), i = g4(s), l = n0.validate(r, s, a, o), u = V4(l.inspectors, o), c = l.sendEvents;
|
16559
16559
|
let d = e, p = l.hash;
|
16560
|
-
const m =
|
16560
|
+
const m = v4(n.localStorage, o), g = PT(n, d, l), h = l.sendEvents && !l.diagnosticOptOut, I = h ? wh.DiagnosticId(d) : null, b = h ? wh.DiagnosticsAccumulator((/* @__PURE__ */ new Date()).getTime()) : null, y = h ? wh.DiagnosticsManager(n, m, b, g, d, l, I) : null, S = E4(n, l, d, b), w = l.eventProcessor || m4(n, l, d, b, s, g), M = P4(n, l, d);
|
16561
16561
|
let N, T, O, A = {}, U = l.streaming, re = !1, ie = !1, he = !0;
|
16562
|
-
const G = l.stateProvider, X =
|
16562
|
+
const G = l.stateProvider, X = R4(null, function(R) {
|
16563
16563
|
(function(D) {
|
16564
16564
|
G || D && W({ kind: "identify", context: D, creationDate: (/* @__PURE__ */ new Date()).getTime() });
|
16565
16565
|
})(R), u.hasListeners(xc.clientIdentityChanged) && u.onIdentityChanged(X.getContext());
|
16566
|
-
}), K = new
|
16566
|
+
}), K = new A4(m), ne = m.isEnabled() ? y4(m, d, p, X) : null;
|
16567
16567
|
function W(R) {
|
16568
16568
|
d && (G && G.enqueueEvent && G.enqueueEvent(R) || (R.context ? (he = !1, !c || ie || n.isDoNotTrack() || (o.debug(Ze.debugEnqueueingEvent(R.kind)), w.enqueue(R))) : he && (o.warn(Ze.eventWithoutContext()), he = !1)));
|
16569
16569
|
}
|
@@ -16578,7 +16578,7 @@ var NT = { initialize: function(e, t, r, n, a) {
|
|
16578
16578
|
Ne && (me.version = Ne.flagVersion ? Ne.flagVersion : Ne.version, me.trackEvents = Ne.trackEvents, me.debugEventsUntilDate = Ne.debugEventsUntilDate), (pe || Ne && Ne.trackReason) && D && (me.reason = D.reason), W(me);
|
16579
16579
|
}
|
16580
16580
|
function J(R) {
|
16581
|
-
return
|
16581
|
+
return j4(R, !1) ? Promise.resolve(R) : Promise.reject(new $t.LDInvalidUserError(Ze.invalidContext()));
|
16582
16582
|
}
|
16583
16583
|
function ae(R, D, z, pe, le, Ee) {
|
16584
16584
|
var ve;
|
@@ -16598,7 +16598,7 @@ var NT = { initialize: function(e, t, r, n, a) {
|
|
16598
16598
|
try {
|
16599
16599
|
return JSON.parse(D);
|
16600
16600
|
} catch {
|
16601
|
-
return void s.maybeReportError(new
|
16601
|
+
return void s.maybeReportError(new $t.LDInvalidDataError(Ze.invalidData()));
|
16602
16602
|
}
|
16603
16603
|
};
|
16604
16604
|
S.connect(X.getContext(), p, { ping: function() {
|
@@ -16607,7 +16607,7 @@ var NT = { initialize: function(e, t, r, n, a) {
|
|
16607
16607
|
M.fetchFlagSettings(D, p).then((z) => {
|
16608
16608
|
Qe.deepEquals(D, X.getContext()) && Se(z || {});
|
16609
16609
|
}).catch((z) => {
|
16610
|
-
s.maybeReportError(new
|
16610
|
+
s.maybeReportError(new $t.LDFlagFetchError(Ze.errorFetchingFlags(z)));
|
16611
16611
|
});
|
16612
16612
|
}, put: function(D) {
|
16613
16613
|
const z = R(D.data);
|
@@ -16680,12 +16680,12 @@ var NT = { initialize: function(e, t, r, n, a) {
|
|
16680
16680
|
});
|
16681
16681
|
} else (function() {
|
16682
16682
|
return e ? K.processContext(t).then(J).then((R) => (X.setContext(R), typeof l.bootstrap == "object" ? Fe() : N ? ne.loadFlags().then((D) => D == null ? (A = {}, M.fetchFlagSettings(X.getContext(), p).then((z) => Se(z || {})).then(Fe).catch((z) => {
|
16683
|
-
Ye(new
|
16683
|
+
Ye(new $t.LDFlagFetchError(Ze.errorFetchingFlags(z)));
|
16684
16684
|
})) : (A = D, Qe.onNextTick(Fe), M.fetchFlagSettings(X.getContext(), p).then((z) => Se(z)).catch((z) => s.maybeReportError(z)))) : M.fetchFlagSettings(X.getContext(), p).then((D) => {
|
16685
16685
|
A = D || {}, Z(), Fe();
|
16686
16686
|
}).catch((D) => {
|
16687
16687
|
A = {}, Ye(D);
|
16688
|
-
}))) : Promise.reject(new
|
16688
|
+
}))) : Promise.reject(new $t.LDInvalidEnvironmentIdError(Ze.environmentNotSpecified()));
|
16689
16689
|
})().catch(Ye);
|
16690
16690
|
function Ke(R) {
|
16691
16691
|
d = R.environment, X.setContext(R.context), A = { ...R.flags }, Qe.onNextTick(Fe);
|
@@ -16700,9 +16700,9 @@ var NT = { initialize: function(e, t, r, n, a) {
|
|
16700
16700
|
if (R != null) {
|
16701
16701
|
if (typeof R == "number") return function(D) {
|
16702
16702
|
D > 5 && o.warn("The waitForInitialization function was called with a timeout greater than 5 seconds. We recommend a timeout of 5 seconds or less.");
|
16703
|
-
const z = i.getInitializationPromise(), pe =
|
16703
|
+
const z = i.getInitializationPromise(), pe = U4(D, "waitForInitialization");
|
16704
16704
|
return Promise.race([pe, z]).catch((le) => {
|
16705
|
-
throw le instanceof
|
16705
|
+
throw le instanceof $t.LDTimeoutError && o.error(`waitForInitialization error: ${le}`), le;
|
16706
16706
|
});
|
16707
16707
|
}(R);
|
16708
16708
|
o.warn("The waitForInitialization method was provided with a non-numeric timeout.");
|
@@ -16723,7 +16723,7 @@ var NT = { initialize: function(e, t, r, n, a) {
|
|
16723
16723
|
}, variationDetail: function(R, D) {
|
16724
16724
|
return ae(R, D, !0, !0, !1, !0);
|
16725
16725
|
}, track: function(R, D, z) {
|
16726
|
-
if (typeof R != "string") return void s.maybeReportError(new
|
16726
|
+
if (typeof R != "string") return void s.maybeReportError(new $t.LDInvalidEventKeyError(Ze.unknownCustomEventKey(R)));
|
16727
16727
|
z !== void 0 && typeof z != "number" && o.warn(Ze.invalidMetricValue(typeof z)), n.customEventFilter && !n.customEventFilter(R) && o.warn(Ze.unknownCustomEventKey(R));
|
16728
16728
|
const pe = X.getContext(), le = { kind: "custom", key: R, context: pe, url: n.getCurrentUrl(), creationDate: (/* @__PURE__ */ new Date()).getTime() };
|
16729
16729
|
pe && pe.anonymous && (le.contextKind = pe.anonymous ? "anonymousUser" : "user"), D != null && (le.data = D), z != null && (le.metricValue = z), W(le);
|
@@ -16759,8 +16759,8 @@ var NT = { initialize: function(e, t, r, n, a) {
|
|
16759
16759
|
}, enqueueEvent: W, getFlagsInternal: function() {
|
16760
16760
|
return A;
|
16761
16761
|
}, getEnvironmentId: () => d, internalChangeEventName: sI };
|
16762
|
-
}, errors:
|
16763
|
-
function
|
16762
|
+
}, errors: $t }, B4 = NT.initialize, H4 = NT.errors;
|
16763
|
+
function z4(e, t, r) {
|
16764
16764
|
return (t = function(n) {
|
16765
16765
|
var a = function(o, s) {
|
16766
16766
|
if (typeof o != "object" || !o) return o;
|
@@ -16789,7 +16789,7 @@ function lI(e) {
|
|
16789
16789
|
for (var t = 1; t < arguments.length; t++) {
|
16790
16790
|
var r = arguments[t] != null ? arguments[t] : {};
|
16791
16791
|
t % 2 ? iI(Object(r), !0).forEach(function(n) {
|
16792
|
-
|
16792
|
+
z4(e, n, r[n]);
|
16793
16793
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : iI(Object(r)).forEach(function(n) {
|
16794
16794
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
16795
16795
|
});
|
@@ -16799,7 +16799,7 @@ function lI(e) {
|
|
16799
16799
|
var uI = { promise: Promise.resolve({ status: 200, header: function() {
|
16800
16800
|
return null;
|
16801
16801
|
}, body: null }) };
|
16802
|
-
function
|
16802
|
+
function G4(e, t, r, n, a) {
|
16803
16803
|
if (a && !function() {
|
16804
16804
|
var u = window.navigator && window.navigator.userAgent;
|
16805
16805
|
if (u) {
|
@@ -16834,7 +16834,7 @@ var Ih = (e) => {
|
|
16834
16834
|
if (typeof e != "string") throw new TypeError("Expected a string");
|
16835
16835
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
16836
16836
|
};
|
16837
|
-
function
|
16837
|
+
function W4(e, t, r, n) {
|
16838
16838
|
var a, o, s = ((e.kind === "substring" || e.kind === "regex") && n.includes("/") ? t : t.replace(n, "")).replace(r, "");
|
16839
16839
|
switch (e.kind) {
|
16840
16840
|
case "exact":
|
@@ -16855,7 +16855,7 @@ function WV(e, t, r, n) {
|
|
16855
16855
|
return a.test(o);
|
16856
16856
|
}
|
16857
16857
|
function cI(e, t) {
|
16858
|
-
for (var r = {}, n = null, a = [], o = 0; o < e.length; o++) for (var s = e[o], i = s.urls || [], l = 0; l < i.length; l++) if (
|
16858
|
+
for (var r = {}, n = null, a = [], o = 0; o < e.length; o++) for (var s = e[o], i = s.urls || [], l = 0; l < i.length; l++) if (W4(i[l], window.location.href, window.location.search, window.location.hash)) {
|
16859
16859
|
s.kind === "pageview" ? t("pageview", s) : (a.push(s), t("click_pageview", s));
|
16860
16860
|
break;
|
16861
16861
|
}
|
@@ -16871,7 +16871,7 @@ function cI(e, t) {
|
|
16871
16871
|
document.removeEventListener("click", n);
|
16872
16872
|
}, r;
|
16873
16873
|
}
|
16874
|
-
function
|
16874
|
+
function K4(e, t) {
|
16875
16875
|
var r, n;
|
16876
16876
|
function a() {
|
16877
16877
|
n && n.dispose(), r && r.length && (n = cI(r, o));
|
@@ -16893,18 +16893,18 @@ function KV(e, t) {
|
|
16893
16893
|
})(d, i), window.history && window.history.pushState ? window.addEventListener("popstate", d) : window.addEventListener("hashchange", d);
|
16894
16894
|
}(300, a)), t();
|
16895
16895
|
}).catch(function(s) {
|
16896
|
-
e.emitter.maybeReportError(new
|
16896
|
+
e.emitter.maybeReportError(new H4.LDUnexpectedResponseError((s && s.message, s.message))), t();
|
16897
16897
|
}), {};
|
16898
16898
|
}
|
16899
|
-
var Pc = "goalsReady",
|
16900
|
-
function
|
16899
|
+
var Pc = "goalsReady", q4 = { fetchGoals: { default: !0 }, hash: { type: "string" }, eventProcessor: { type: "object" }, eventUrlTransformer: { type: "function" }, disableSyncEventPost: { default: !1 } };
|
16900
|
+
function Y4(e, t) {
|
16901
16901
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = function(c) {
|
16902
16902
|
var d, p = { userAgentHeaderName: "X-LaunchDarkly-User-Agent", synchronousFlush: !1 };
|
16903
16903
|
if (window.XMLHttpRequest) {
|
16904
16904
|
var m = c && c.disableSyncEventPost;
|
16905
16905
|
p.httpRequest = function(b, y, S, w) {
|
16906
16906
|
var M = p.synchronousFlush & !m;
|
16907
|
-
return p.synchronousFlush = !1,
|
16907
|
+
return p.synchronousFlush = !1, G4(b, y, S, w, M);
|
16908
16908
|
};
|
16909
16909
|
}
|
16910
16910
|
p.httpAllowsPost = function() {
|
@@ -16946,14 +16946,14 @@ function YV(e, t) {
|
|
16946
16946
|
};
|
16947
16947
|
}
|
16948
16948
|
return p.userAgent = "JSClient", p.version = "3.5.0", p.diagnosticSdkData = { name: "js-client-sdk", version: "3.5.0" }, p.diagnosticPlatformData = { name: "JS" }, p.diagnosticUseCombinedEvent = !0, p;
|
16949
|
-
}(r), a =
|
16949
|
+
}(r), a = B4(e, t, r, n, q4), o = a.client, s = a.options, i = a.emitter, l = new Promise(function(c) {
|
16950
16950
|
var d = i.on(Pc, function() {
|
16951
16951
|
i.off(Pc, d), c();
|
16952
16952
|
});
|
16953
16953
|
});
|
16954
16954
|
o.waitUntilGoalsReady = function() {
|
16955
16955
|
return l;
|
16956
|
-
}, s.fetchGoals ?
|
16956
|
+
}, s.fetchGoals ? K4(a, function() {
|
16957
16957
|
return i.emit(Pc);
|
16958
16958
|
}) : i.emit(Pc), document.readyState !== "complete" ? window.addEventListener("load", a.start) : a.start();
|
16959
16959
|
var u = function() {
|
@@ -16964,14 +16964,14 @@ function YV(e, t) {
|
|
16964
16964
|
document.visibilityState === "hidden" && u();
|
16965
16965
|
}), window.addEventListener("pagehide", u), o;
|
16966
16966
|
}
|
16967
|
-
var
|
16967
|
+
var Z4 = "[object Symbol]", X4 = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Q4 = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Op = "\\ud800-\\udfff", kT = "\\u0300-\\u036f\\ufe20-\\ufe23", AT = "\\u20d0-\\u20f0", _T = "\\u2700-\\u27bf", OT = "a-z\\xdf-\\xf6\\xf8-\\xff", J4 = "\\xac\\xb1\\xd7\\xf7", eV = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", tV = "\\u2000-\\u206f", rV = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", DT = "A-Z\\xc0-\\xd6\\xd8-\\xde", LT = "\\ufe0e\\ufe0f", FT = J4 + eV + tV + rV, a0 = "['’]", nV = "[" + Op + "]", dI = "[" + FT + "]", lf = "[" + kT + AT + "]", UT = "\\d+", oV = "[" + _T + "]", $T = "[" + OT + "]", jT = "[^" + Op + FT + UT + _T + OT + DT + "]", Jg = "\\ud83c[\\udffb-\\udfff]", aV = "(?:" + lf + "|" + Jg + ")", VT = "[^" + Op + "]", s0 = "(?:\\ud83c[\\udde6-\\uddff]){2}", i0 = "[\\ud800-\\udbff][\\udc00-\\udfff]", Zs = "[" + DT + "]", BT = "\\u200d", fI = "(?:" + $T + "|" + jT + ")", sV = "(?:" + Zs + "|" + jT + ")", pI = "(?:" + a0 + "(?:d|ll|m|re|s|t|ve))?", mI = "(?:" + a0 + "(?:D|LL|M|RE|S|T|VE))?", HT = aV + "?", zT = "[" + LT + "]?", iV = "(?:" + BT + "(?:" + [VT, s0, i0].join("|") + ")" + zT + HT + ")*", GT = zT + HT + iV, lV = "(?:" + [oV, s0, i0].join("|") + ")" + GT, uV = "(?:" + [VT + lf + "?", lf, s0, i0, nV].join("|") + ")", cV = RegExp(a0, "g"), dV = RegExp(lf, "g"), fV = RegExp(Jg + "(?=" + Jg + ")|" + uV + GT, "g"), pV = RegExp([
|
16968
16968
|
Zs + "?" + $T + "+" + pI + "(?=" + [dI, Zs, "$"].join("|") + ")",
|
16969
|
-
|
16969
|
+
sV + "+" + mI + "(?=" + [dI, Zs + fI, "$"].join("|") + ")",
|
16970
16970
|
Zs + "?" + fI + "+" + pI,
|
16971
16971
|
Zs + "+" + mI,
|
16972
16972
|
UT,
|
16973
|
-
|
16974
|
-
].join("|"), "g"),
|
16973
|
+
lV
|
16974
|
+
].join("|"), "g"), mV = RegExp("[" + BT + Op + kT + AT + LT + "]"), hV = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, gV = {
|
16975
16975
|
// Latin-1 Supplement block.
|
16976
16976
|
À: "A",
|
16977
16977
|
Á: "A",
|
@@ -17164,102 +17164,102 @@ var ZV = "[object Symbol]", XV = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, QV
|
|
17164
17164
|
œ: "oe",
|
17165
17165
|
ʼn: "'n",
|
17166
17166
|
ſ: "ss"
|
17167
|
-
},
|
17168
|
-
function
|
17167
|
+
}, yV = typeof Ya == "object" && Ya && Ya.Object === Object && Ya, vV = typeof self == "object" && self && self.Object === Object && self, bV = yV || vV || Function("return this")();
|
17168
|
+
function SV(e, t, r, n) {
|
17169
17169
|
for (var a = -1, o = e ? e.length : 0; ++a < o; )
|
17170
17170
|
r = t(r, e[a], a, e);
|
17171
17171
|
return r;
|
17172
17172
|
}
|
17173
|
-
function
|
17173
|
+
function wV(e) {
|
17174
17174
|
return e.split("");
|
17175
17175
|
}
|
17176
|
-
function
|
17177
|
-
return e.match(
|
17176
|
+
function IV(e) {
|
17177
|
+
return e.match(X4) || [];
|
17178
17178
|
}
|
17179
|
-
function
|
17179
|
+
function MV(e) {
|
17180
17180
|
return function(t) {
|
17181
17181
|
return e == null ? void 0 : e[t];
|
17182
17182
|
};
|
17183
17183
|
}
|
17184
|
-
var
|
17184
|
+
var EV = MV(gV);
|
17185
17185
|
function WT(e) {
|
17186
|
-
return
|
17186
|
+
return mV.test(e);
|
17187
17187
|
}
|
17188
|
-
function
|
17189
|
-
return
|
17188
|
+
function CV(e) {
|
17189
|
+
return hV.test(e);
|
17190
17190
|
}
|
17191
|
-
function
|
17192
|
-
return WT(e) ?
|
17191
|
+
function xV(e) {
|
17192
|
+
return WT(e) ? TV(e) : wV(e);
|
17193
17193
|
}
|
17194
|
-
function
|
17195
|
-
return e.match(
|
17194
|
+
function TV(e) {
|
17195
|
+
return e.match(fV) || [];
|
17196
17196
|
}
|
17197
|
-
function
|
17198
|
-
return e.match(
|
17197
|
+
function PV(e) {
|
17198
|
+
return e.match(pV) || [];
|
17199
17199
|
}
|
17200
|
-
var
|
17201
|
-
function
|
17200
|
+
var RV = Object.prototype, NV = RV.toString, hI = bV.Symbol, gI = hI ? hI.prototype : void 0, yI = gI ? gI.toString : void 0;
|
17201
|
+
function kV(e, t, r) {
|
17202
17202
|
var n = -1, a = e.length;
|
17203
17203
|
t < 0 && (t = -t > a ? 0 : a + t), r = r > a ? a : r, r < 0 && (r += a), a = t > r ? 0 : r - t >>> 0, t >>>= 0;
|
17204
17204
|
for (var o = Array(a); ++n < a; )
|
17205
17205
|
o[n] = e[n + t];
|
17206
17206
|
return o;
|
17207
17207
|
}
|
17208
|
-
function
|
17208
|
+
function AV(e) {
|
17209
17209
|
if (typeof e == "string")
|
17210
17210
|
return e;
|
17211
|
-
if (
|
17211
|
+
if (FV(e))
|
17212
17212
|
return yI ? yI.call(e) : "";
|
17213
17213
|
var t = e + "";
|
17214
17214
|
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
17215
17215
|
}
|
17216
|
-
function
|
17216
|
+
function _V(e, t, r) {
|
17217
17217
|
var n = e.length;
|
17218
|
-
return r = r === void 0 ? n : r,
|
17218
|
+
return r = r === void 0 ? n : r, kV(e, t, r);
|
17219
17219
|
}
|
17220
|
-
function
|
17220
|
+
function OV(e) {
|
17221
17221
|
return function(t) {
|
17222
17222
|
t = Dp(t);
|
17223
|
-
var r = WT(t) ?
|
17223
|
+
var r = WT(t) ? xV(t) : void 0, n = r ? r[0] : t.charAt(0), a = r ? _V(r, 1).join("") : t.slice(1);
|
17224
17224
|
return n[e]() + a;
|
17225
17225
|
};
|
17226
17226
|
}
|
17227
|
-
function
|
17227
|
+
function DV(e) {
|
17228
17228
|
return function(t) {
|
17229
|
-
return
|
17229
|
+
return SV(BV(jV(t).replace(cV, "")), e, "");
|
17230
17230
|
};
|
17231
17231
|
}
|
17232
|
-
function
|
17232
|
+
function LV(e) {
|
17233
17233
|
return !!e && typeof e == "object";
|
17234
17234
|
}
|
17235
|
-
function
|
17236
|
-
return typeof e == "symbol" ||
|
17235
|
+
function FV(e) {
|
17236
|
+
return typeof e == "symbol" || LV(e) && NV.call(e) == Z4;
|
17237
17237
|
}
|
17238
17238
|
function Dp(e) {
|
17239
|
-
return e == null ? "" :
|
17239
|
+
return e == null ? "" : AV(e);
|
17240
17240
|
}
|
17241
|
-
var
|
17242
|
-
return t = t.toLowerCase(), e + (r ? $
|
17241
|
+
var UV = DV(function(e, t, r) {
|
17242
|
+
return t = t.toLowerCase(), e + (r ? $V(t) : t);
|
17243
17243
|
});
|
17244
|
-
function $
|
17245
|
-
return
|
17244
|
+
function $V(e) {
|
17245
|
+
return VV(Dp(e).toLowerCase());
|
17246
17246
|
}
|
17247
|
-
function
|
17248
|
-
return e = Dp(e), e && e.replace(
|
17247
|
+
function jV(e) {
|
17248
|
+
return e = Dp(e), e && e.replace(Q4, EV).replace(dV, "");
|
17249
17249
|
}
|
17250
|
-
var
|
17251
|
-
function
|
17252
|
-
return e = Dp(e), t = t, t === void 0 ?
|
17250
|
+
var VV = OV("toUpperCase");
|
17251
|
+
function BV(e, t, r) {
|
17252
|
+
return e = Dp(e), t = t, t === void 0 ? CV(e) ? PV(e) : IV(e) : e.match(t) || [];
|
17253
17253
|
}
|
17254
|
-
var
|
17255
|
-
const KT = /* @__PURE__ */ Pr(
|
17254
|
+
var HV = UV;
|
17255
|
+
const KT = /* @__PURE__ */ Pr(HV), zV = () => x.createContext({ flags: {}, flagKeyMap: {}, ldClient: void 0 }), Lp = { useCamelCaseFlagKeys: !0, sendEventsOnFlagRead: !0, reactContext: zV() }, Rc = (e) => {
|
17256
17256
|
var t;
|
17257
17257
|
return (t = e.context) != null ? t : e.user;
|
17258
17258
|
}, ey = (e) => {
|
17259
17259
|
const t = {};
|
17260
17260
|
for (const r in e) r.indexOf("$") !== 0 && (t[KT(r)] = e[r]);
|
17261
17261
|
return t;
|
17262
|
-
},
|
17262
|
+
}, GV = (e, t) => {
|
17263
17263
|
const r = {};
|
17264
17264
|
for (const n in e) t && t[n] === void 0 || (r[n] = e[n].current);
|
17265
17265
|
return r;
|
@@ -17279,12 +17279,12 @@ function Eh(e, t, r = Lp, n) {
|
|
17279
17279
|
}
|
17280
17280
|
return [u, c];
|
17281
17281
|
}(a) : [a];
|
17282
|
-
return { flags: r.sendEventsOnFlagRead ?
|
17282
|
+
return { flags: r.sendEventsOnFlagRead ? WV(e, s, i, o) : s, flagKeyMap: i };
|
17283
17283
|
}
|
17284
17284
|
function ty(e, t) {
|
17285
17285
|
return Object.prototype.hasOwnProperty.call(e, t);
|
17286
17286
|
}
|
17287
|
-
function
|
17287
|
+
function WV(e, t, r, n) {
|
17288
17288
|
return new Proxy(t, { get(a, o, s) {
|
17289
17289
|
const i = Reflect.get(a, o, s), l = n && ty(r, o) || ty(a, o);
|
17290
17290
|
if (typeof o == "symbol" || !l) return i;
|
@@ -17294,12 +17294,12 @@ function W4(e, t, r, n) {
|
|
17294
17294
|
} });
|
17295
17295
|
}
|
17296
17296
|
ey.camelCaseKeys = ey;
|
17297
|
-
const
|
17298
|
-
var
|
17299
|
-
for (var r in t || (t = {}))
|
17300
|
-
if (vI) for (var r of vI(t))
|
17297
|
+
const KV = { wrapperName: "react-client-sdk", wrapperVersion: "3.6.1", sendEventsOnlyForVariation: !0 };
|
17298
|
+
var qV = Object.defineProperty, YV = Object.defineProperties, ZV = Object.getOwnPropertyDescriptors, vI = Object.getOwnPropertySymbols, XV = Object.prototype.hasOwnProperty, QV = Object.prototype.propertyIsEnumerable, bI = (e, t, r) => t in e ? qV(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qr = (e, t) => {
|
17299
|
+
for (var r in t || (t = {})) XV.call(t, r) && bI(e, r, t[r]);
|
17300
|
+
if (vI) for (var r of vI(t)) QV.call(t, r) && bI(e, r, t[r]);
|
17301
17301
|
return e;
|
17302
|
-
}, dl = (e, t) =>
|
17302
|
+
}, dl = (e, t) => YV(e, ZV(t)), Ch = (e, t, r) => new Promise((n, a) => {
|
17303
17303
|
var o = (l) => {
|
17304
17304
|
try {
|
17305
17305
|
i(r.next(l));
|
@@ -17315,12 +17315,12 @@ var q4 = Object.defineProperty, Y4 = Object.defineProperties, Z4 = Object.getOwn
|
|
17315
17315
|
}, i = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
17316
17316
|
i((r = r.apply(e, t)).next());
|
17317
17317
|
});
|
17318
|
-
let
|
17318
|
+
let JV = class extends x.Component {
|
17319
17319
|
constructor(t) {
|
17320
17320
|
super(t), this.getReactOptions = () => qr(qr({}, Lp), this.props.reactOptions), this.subscribeToChanges = (n) => {
|
17321
17321
|
const { flags: a } = this.props;
|
17322
17322
|
n.on("change", (o) => {
|
17323
|
-
const s = this.getReactOptions(), i =
|
17323
|
+
const s = this.getReactOptions(), i = GV(o, a), l = qr(qr({}, this.state.unproxiedFlags), i);
|
17324
17324
|
Object.keys(i).length > 0 && this.setState((u) => qr(dl(qr({}, u), { unproxiedFlags: l }), Eh(n, l, s, a)));
|
17325
17325
|
});
|
17326
17326
|
}, this.onFailed = (n, a) => {
|
@@ -17337,7 +17337,7 @@ let J4 = class extends x.Component {
|
|
17337
17337
|
if (i) c = Mh(i, o);
|
17338
17338
|
else {
|
17339
17339
|
const d = (n = Rc(this.props)) != null ? n : { anonymous: !0, kind: "user" };
|
17340
|
-
i =
|
17340
|
+
i = Y4(a, d, qr(qr({}, KV), s));
|
17341
17341
|
try {
|
17342
17342
|
yield i.waitForInitialization(this.props.timeout), c = Mh(i, o);
|
17343
17343
|
} catch (p) {
|
@@ -17615,31 +17615,31 @@ function xr(e) {
|
|
17615
17615
|
return e;
|
17616
17616
|
}
|
17617
17617
|
var aB = /([A-Z])/g, sB = /^ms-/, ry = Array.isArray;
|
17618
|
-
function
|
17618
|
+
function bo(e, t) {
|
17619
17619
|
return { insertionMode: e, selectedValue: t };
|
17620
17620
|
}
|
17621
17621
|
function iB(e, t, r) {
|
17622
17622
|
switch (t) {
|
17623
17623
|
case "select":
|
17624
|
-
return
|
17624
|
+
return bo(1, r.value != null ? r.value : r.defaultValue);
|
17625
17625
|
case "svg":
|
17626
|
-
return
|
17626
|
+
return bo(2, null);
|
17627
17627
|
case "math":
|
17628
|
-
return
|
17628
|
+
return bo(3, null);
|
17629
17629
|
case "foreignObject":
|
17630
|
-
return
|
17630
|
+
return bo(1, null);
|
17631
17631
|
case "table":
|
17632
|
-
return
|
17632
|
+
return bo(4, null);
|
17633
17633
|
case "thead":
|
17634
17634
|
case "tbody":
|
17635
17635
|
case "tfoot":
|
17636
|
-
return
|
17636
|
+
return bo(5, null);
|
17637
17637
|
case "colgroup":
|
17638
|
-
return
|
17638
|
+
return bo(7, null);
|
17639
17639
|
case "tr":
|
17640
|
-
return
|
17640
|
+
return bo(6, null);
|
17641
17641
|
}
|
17642
|
-
return 4 <= e.insertionMode || e.insertionMode === 0 ?
|
17642
|
+
return 4 <= e.insertionMode || e.insertionMode === 0 ? bo(1, null) : e;
|
17643
17643
|
}
|
17644
17644
|
var EI = /* @__PURE__ */ new Map();
|
17645
17645
|
function QT(e, t, r) {
|
@@ -20166,12 +20166,7 @@ const fy = (e) => (t) => {
|
|
20166
20166
|
s,
|
20167
20167
|
a
|
20168
20168
|
);
|
20169
|
-
|
20170
|
-
eventName: Ut.INVALID_FORM_SUBMIT,
|
20171
|
-
params: {
|
20172
|
-
fieldValidationErrors: JSON.stringify(a)
|
20173
|
-
}
|
20174
|
-
}), x0(a, t), m6(i);
|
20169
|
+
x0(a, t), m6(i);
|
20175
20170
|
}
|
20176
20171
|
}, I6 = (e, t, r) => {
|
20177
20172
|
const n = r.formatHTMLMessage({
|
@@ -20343,7 +20338,7 @@ const fy = (e) => (t) => {
|
|
20343
20338
|
}
|
20344
20339
|
) }),
|
20345
20340
|
/* @__PURE__ */ f.jsx("div", { className: "sid-l-space-top-xl" })
|
20346
|
-
] }), _6 = A6,
|
20341
|
+
] }), _6 = A6, jt = (e) => e.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`), O6 = ({
|
20347
20342
|
id: e,
|
20348
20343
|
isErrored: t,
|
20349
20344
|
className: r = void 0,
|
@@ -20396,7 +20391,7 @@ Wp.defaultProps = {
|
|
20396
20391
|
isRequired: !0,
|
20397
20392
|
children: null
|
20398
20393
|
};
|
20399
|
-
const KP = (e) => `sid-${
|
20394
|
+
const KP = (e) => `sid-${jt(e)}-label`, L6 = (e) => `sid-${jt(e)}-error`, Du = ({
|
20400
20395
|
fieldId: e,
|
20401
20396
|
label: t,
|
20402
20397
|
errorMessage: r,
|
@@ -20406,7 +20401,7 @@ const KP = (e) => `sid-${Vt(e)}-label`, L6 = (e) => `sid-${Vt(e)}-error`, Du = (
|
|
20406
20401
|
explanation: s = void 0,
|
20407
20402
|
containerId: i = void 0
|
20408
20403
|
}) => {
|
20409
|
-
const l = KP(e), u = L6(e), c = i || `sid-${
|
20404
|
+
const l = KP(e), u = L6(e), c = i || `sid-${jt(e)}`;
|
20410
20405
|
return /* @__PURE__ */ f.jsxs("div", { className: `sid-field ${c}`, children: [
|
20411
20406
|
/* @__PURE__ */ f.jsx("div", { className: "sid-l-space-top-md" }),
|
20412
20407
|
/* @__PURE__ */ f.jsx(
|
@@ -20414,7 +20409,7 @@ const KP = (e) => `sid-${Vt(e)}-label`, L6 = (e) => `sid-${Vt(e)}-error`, Du = (
|
|
20414
20409
|
{
|
20415
20410
|
text: t,
|
20416
20411
|
isRequired: n,
|
20417
|
-
htmlForLabel: `sid-${
|
20412
|
+
htmlForLabel: `sid-${jt(e)}`,
|
20418
20413
|
id: l,
|
20419
20414
|
displayClasses: `${s ? "sid-field__label-with-explanation" : ""}${s && a ? " " : ""}${a ? "sid-h-screen-reader-only" : ""}`,
|
20420
20415
|
children: s && s
|
@@ -20435,7 +20430,7 @@ const KP = (e) => `sid-${Vt(e)}-label`, L6 = (e) => `sid-${Vt(e)}-error`, Du = (
|
|
20435
20430
|
explanation: l = "",
|
20436
20431
|
...u
|
20437
20432
|
}) => {
|
20438
|
-
const c = `sid-${
|
20433
|
+
const c = `sid-${jt(e)}-error`;
|
20439
20434
|
return /* @__PURE__ */ f.jsx(
|
20440
20435
|
Du,
|
20441
20436
|
{
|
@@ -20448,7 +20443,7 @@ const KP = (e) => `sid-${Vt(e)}-label`, L6 = (e) => `sid-${Vt(e)}-error`, Du = (
|
|
20448
20443
|
children: /* @__PURE__ */ f.jsx(
|
20449
20444
|
gu,
|
20450
20445
|
{
|
20451
|
-
id:
|
20446
|
+
id: jt(e),
|
20452
20447
|
value: t,
|
20453
20448
|
onChange: (d) => r(d.target.value),
|
20454
20449
|
placeholder: s ? n : "",
|
@@ -20811,7 +20806,7 @@ function XP(e, t) {
|
|
20811
20806
|
}
|
20812
20807
|
return a.cancel = n, a;
|
20813
20808
|
}
|
20814
|
-
function
|
20809
|
+
function So() {
|
20815
20810
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
20816
20811
|
t[r] = arguments[r];
|
20817
20812
|
return function(n) {
|
@@ -21466,7 +21461,7 @@ function is(e) {
|
|
21466
21461
|
var q, P = J === void 0 ? {} : J, Me = P.onMouseLeave, Se = P.refKey, Re = Se === void 0 ? "ref" : Se, ze = P.ref, $e = ci(P, gH), Ke = ae === void 0 ? {} : ae;
|
21467
21462
|
return Ke.suppressRefError, wt((q = {}, q[Re] = Lc(ze, function(Fe) {
|
21468
21463
|
m.current = Fe;
|
21469
|
-
}), q.id = y.menuId, q.role = "listbox", q["aria-labelledby"] = $e && $e["aria-label"] ? void 0 : "" + y.labelId, q.onMouseLeave =
|
21464
|
+
}), q.id = y.menuId, q.role = "listbox", q["aria-labelledby"] = $e && $e["aria-label"] ? void 0 : "" + y.labelId, q.onMouseLeave = So(Me, function() {
|
21470
21465
|
l({
|
21471
21466
|
type: nR
|
21472
21467
|
});
|
@@ -21492,9 +21487,9 @@ function is(e) {
|
|
21492
21487
|
};
|
21493
21488
|
return wt((ae = {}, ae[ze] = Lc($e, function(at) {
|
21494
21489
|
at && (g.current[y.getItemId(me)] = at);
|
21495
|
-
}), ae["aria-disabled"] = Ne, ae["aria-selected"] = me === pe.highlightedIndex, ae.id = y.getItemId(me), ae.role = "option", ae), !Ne && (q = {}, q[ve] =
|
21496
|
-
onMouseMove:
|
21497
|
-
onMouseDown:
|
21490
|
+
}), ae["aria-disabled"] = Ne, ae["aria-selected"] = me === pe.highlightedIndex, ae.id = y.getItemId(me), ae.role = "option", ae), !Ne && (q = {}, q[ve] = So(xe, we), q), {
|
21491
|
+
onMouseMove: So(Ke, He),
|
21492
|
+
onMouseDown: So(Fe, ke)
|
21498
21493
|
}, R);
|
21499
21494
|
}, [l, y, w, T, N]), he = x.useCallback(function(J) {
|
21500
21495
|
var ae, q = J === void 0 ? {} : J, P = q.onClick;
|
@@ -21507,7 +21502,7 @@ function is(e) {
|
|
21507
21502
|
return wt((ae = {}, ae[Se] = Lc(Re, function(Fe) {
|
21508
21503
|
I.current = Fe;
|
21509
21504
|
}), ae["aria-controls"] = y.menuId, ae["aria-expanded"] = $e.isOpen, ae.id = y.toggleButtonId, ae.tabIndex = -1, ae), !ze.disabled && wt({}, {
|
21510
|
-
onClick:
|
21505
|
+
onClick: So(P, Ke)
|
21511
21506
|
}), ze);
|
21512
21507
|
}, [l, w, y]), G = x.useCallback(function(J, ae) {
|
21513
21508
|
var q, P = J === void 0 ? {} : J, Me = P.onKeyDown, Se = P.onChange, Re = P.onInput, ze = P.onBlur;
|
@@ -21537,7 +21532,7 @@ function is(e) {
|
|
21537
21532
|
}, me = "onChange", Ne = {};
|
21538
21533
|
if (!tt.disabled) {
|
21539
21534
|
var ve;
|
21540
|
-
Ne = (ve = {}, ve[me] =
|
21535
|
+
Ne = (ve = {}, ve[me] = So(Se, Re, pe), ve.onKeyDown = So(Me, z), ve.onBlur = So(ze, le), ve.onClick = So($e, Ee), ve);
|
21541
21536
|
}
|
21542
21537
|
return wt((q = {}, q[Fe] = Lc(Ye, function(xe) {
|
21543
21538
|
h.current = xe;
|
@@ -22004,7 +21999,7 @@ const xH = ({
|
|
22004
21999
|
refId: h = "status",
|
22005
22000
|
suppressPlaceholder: I = !0
|
22006
22001
|
}) => {
|
22007
|
-
const b = `sid-${
|
22002
|
+
const b = `sid-${jt(e)}`, y = `sid-${jt(e)}-error`;
|
22008
22003
|
return /* @__PURE__ */ f.jsx(
|
22009
22004
|
Du,
|
22010
22005
|
{
|
@@ -22422,14 +22417,14 @@ const HH = 42, zH = 26, GH = ({
|
|
22422
22417
|
}
|
22423
22418
|
try {
|
22424
22419
|
const s = n || fl(r) || "", i = {
|
22425
|
-
eventName:
|
22420
|
+
eventName: Bt.ORGS_DISPLAYED,
|
22426
22421
|
params: {
|
22427
22422
|
queryLength: s.length,
|
22428
22423
|
eventDuration: Date.now() - a,
|
22429
22424
|
numberOfResults: o == null ? void 0 : o.length
|
22430
22425
|
}
|
22431
22426
|
};
|
22432
|
-
|
22427
|
+
Ro(i);
|
22433
22428
|
} catch (s) {
|
22434
22429
|
L.error(s);
|
22435
22430
|
}
|
@@ -22573,7 +22568,7 @@ const YH = gy, ZH = (e, t, r) => {
|
|
22573
22568
|
onSelectedItemChange: ({ selectedItem: K }) => {
|
22574
22569
|
try {
|
22575
22570
|
const ne = {
|
22576
|
-
eventName:
|
22571
|
+
eventName: Bt.ORG_SELECTED,
|
22577
22572
|
params: {
|
22578
22573
|
[bn.QUERY_LENGTH]: I.length,
|
22579
22574
|
[bn.NUMBER_REWORKS]: w,
|
@@ -22582,7 +22577,7 @@ const YH = gy, ZH = (e, t, r) => {
|
|
22582
22577
|
[bn.NUMBER_OF_RESULTS]: y.length
|
22583
22578
|
}
|
22584
22579
|
};
|
22585
|
-
|
22580
|
+
Ro(ne);
|
22586
22581
|
} catch (ne) {
|
22587
22582
|
L.error(ne);
|
22588
22583
|
}
|
@@ -22591,7 +22586,7 @@ const YH = gy, ZH = (e, t, r) => {
|
|
22591
22586
|
}), G = () => {
|
22592
22587
|
try {
|
22593
22588
|
const K = {
|
22594
|
-
eventName:
|
22589
|
+
eventName: Bt.ASR_SELECTED,
|
22595
22590
|
params: {
|
22596
22591
|
[bn.QUERY_LENGTH]: I.length,
|
22597
22592
|
[bn.NUMBER_REWORKS]: w,
|
@@ -22599,7 +22594,7 @@ const YH = gy, ZH = (e, t, r) => {
|
|
22599
22594
|
[bn.NUMBER_OF_RESULTS]: y.length
|
22600
22595
|
}
|
22601
22596
|
};
|
22602
|
-
|
22597
|
+
Ro(K);
|
22603
22598
|
} catch (K) {
|
22604
22599
|
L.error(K);
|
22605
22600
|
}
|
@@ -22655,7 +22650,7 @@ const YH = gy, ZH = (e, t, r) => {
|
|
22655
22650
|
urlAddSchoolForm: d,
|
22656
22651
|
disabled: p = !1
|
22657
22652
|
}) => {
|
22658
|
-
const m = `sid-${
|
22653
|
+
const m = `sid-${jt(e)}`, g = `sid-${jt(e)}-error`, { programId: h, programTheme: I, verificationResponse: b, viewModel: y } = r, S = Le(() => y.countryChoice.value), w = mR(I, S), M = Sr(y, b);
|
22659
22654
|
return /* @__PURE__ */ f.jsx(
|
22660
22655
|
Du,
|
22661
22656
|
{
|
@@ -23232,7 +23227,7 @@ var oz = function(e) {
|
|
23232
23227
|
var H = -1, ee = C ? C.length : 0;
|
23233
23228
|
for (this.__data__ = new at(); ++H < ee; ) this.add(C[H]);
|
23234
23229
|
}
|
23235
|
-
function
|
23230
|
+
function Vt(C) {
|
23236
23231
|
this.__data__ = new ke(C);
|
23237
23232
|
}
|
23238
23233
|
function Xt(C, H) {
|
@@ -23290,15 +23285,15 @@ var oz = function(e) {
|
|
23290
23285
|
return this.__data__.set(C, "__lodash_hash_undefined__"), this;
|
23291
23286
|
}, Wt.prototype.has = function(C) {
|
23292
23287
|
return this.__data__.has(C);
|
23293
|
-
},
|
23288
|
+
}, Vt.prototype.clear = function() {
|
23294
23289
|
this.__data__ = new ke();
|
23295
|
-
},
|
23290
|
+
}, Vt.prototype.delete = function(C) {
|
23296
23291
|
return this.__data__.delete(C);
|
23297
|
-
},
|
23292
|
+
}, Vt.prototype.get = function(C) {
|
23298
23293
|
return this.__data__.get(C);
|
23299
|
-
},
|
23294
|
+
}, Vt.prototype.has = function(C) {
|
23300
23295
|
return this.__data__.has(C);
|
23301
|
-
},
|
23296
|
+
}, Vt.prototype.set = function(C, H) {
|
23302
23297
|
var ee = this.__data__;
|
23303
23298
|
if (ee instanceof ke) {
|
23304
23299
|
var se = ee.__data__;
|
@@ -23323,7 +23318,7 @@ var oz = function(e) {
|
|
23323
23318
|
return H;
|
23324
23319
|
};
|
23325
23320
|
}();
|
23326
|
-
function
|
23321
|
+
function go(C, H) {
|
23327
23322
|
for (var ee = 0, se = (H = oe(H, C) ? [H] : Mr(H)).length; C != null && ee < se; ) C = C[vt(H[ee++])];
|
23328
23323
|
return ee && ee == se ? C : void 0;
|
23329
23324
|
}
|
@@ -23334,8 +23329,8 @@ var oz = function(e) {
|
|
23334
23329
|
return C === H || (C == null || H == null || !Wr(C) && !zo(H) ? C != C && H != H : function(_e, E, k, Y, te, ge) {
|
23335
23330
|
var Te = Kt(_e), Ue = Kt(E), Xe = "[object Array]", ct = "[object Array]";
|
23336
23331
|
Te || (Xe = (Xe = V(_e)) == o ? i : Xe), Ue || (ct = (ct = V(E)) == o ? i : ct);
|
23337
|
-
var qt = Xe == i && !ie(_e),
|
23338
|
-
if (_n && !qt) return ge || (ge = new
|
23332
|
+
var qt = Xe == i && !ie(_e), yo = ct == i && !ie(E), _n = Xe == ct;
|
23333
|
+
if (_n && !qt) return ge || (ge = new Vt()), Te || Ns(_e) ? v(_e, E, k, Y, te, ge) : function(bt, ft, dm, ja, qu, Kr, vo) {
|
23339
23334
|
switch (dm) {
|
23340
23335
|
case "[object DataView]":
|
23341
23336
|
if (bt.byteLength != ft.byteLength || bt.byteOffset != ft.byteOffset) return !1;
|
@@ -23356,38 +23351,38 @@ var oz = function(e) {
|
|
23356
23351
|
case l:
|
23357
23352
|
var Zi = 2 & Kr;
|
23358
23353
|
if (Wo || (Wo = G), bt.size != ft.size && !Zi) return !1;
|
23359
|
-
var Yu =
|
23354
|
+
var Yu = vo.get(bt);
|
23360
23355
|
if (Yu) return Yu == ft;
|
23361
|
-
Kr |= 1,
|
23362
|
-
var As = v(Wo(bt), Wo(ft), ja, qu, Kr,
|
23363
|
-
return
|
23356
|
+
Kr |= 1, vo.set(bt, ft);
|
23357
|
+
var As = v(Wo(bt), Wo(ft), ja, qu, Kr, vo);
|
23358
|
+
return vo.delete(bt), As;
|
23364
23359
|
case "[object Symbol]":
|
23365
23360
|
if (xe) return xe.call(bt) == xe.call(ft);
|
23366
23361
|
}
|
23367
23362
|
return !1;
|
23368
23363
|
}(_e, E, Xe, k, Y, te, ge);
|
23369
23364
|
if (!(2 & te)) {
|
23370
|
-
var Go = qt && q.call(_e, "__wrapped__"), Ku =
|
23365
|
+
var Go = qt && q.call(_e, "__wrapped__"), Ku = yo && q.call(E, "__wrapped__");
|
23371
23366
|
if (Go || Ku) {
|
23372
23367
|
var ks = Go ? _e.value() : _e, On = Ku ? E.value() : E;
|
23373
|
-
return ge || (ge = new
|
23368
|
+
return ge || (ge = new Vt()), k(ks, On, Y, te, ge);
|
23374
23369
|
}
|
23375
23370
|
}
|
23376
|
-
return _n ? (ge || (ge = new
|
23377
|
-
var
|
23378
|
-
if (Zi != Yu && !
|
23371
|
+
return _n ? (ge || (ge = new Vt()), function(bt, ft, dm, ja, qu, Kr) {
|
23372
|
+
var vo = 2 & qu, Wo = hn(bt), Zi = Wo.length, Yu = hn(ft).length;
|
23373
|
+
if (Zi != Yu && !vo) return !1;
|
23379
23374
|
for (var As = Zi; As--; ) {
|
23380
23375
|
var Ko = Wo[As];
|
23381
|
-
if (!(
|
23376
|
+
if (!(vo ? Ko in ft : q.call(ft, Ko))) return !1;
|
23382
23377
|
}
|
23383
23378
|
var cb = Kr.get(bt);
|
23384
23379
|
if (cb && Kr.get(ft)) return cb == ft;
|
23385
23380
|
var Zu = !0;
|
23386
23381
|
Kr.set(bt, ft), Kr.set(ft, bt);
|
23387
|
-
for (var fm =
|
23382
|
+
for (var fm = vo; ++As < Zi; ) {
|
23388
23383
|
Ko = Wo[As];
|
23389
23384
|
var Xu = bt[Ko], Qu = ft[Ko];
|
23390
|
-
if (ja) var db =
|
23385
|
+
if (ja) var db = vo ? ja(Qu, Xu, Ko, ft, bt, Kr) : ja(Xu, Qu, Ko, bt, ft, Kr);
|
23391
23386
|
if (!(db === void 0 ? Xu === Qu || dm(Xu, Qu, ja, qu, Kr) : db)) {
|
23392
23387
|
Zu = !1;
|
23393
23388
|
break;
|
@@ -23411,7 +23406,7 @@ var oz = function(e) {
|
|
23411
23406
|
return typeof C == "function" ? C : C == null ? $a : typeof C == "object" ? Kt(C) ? function(se, Ae) {
|
23412
23407
|
return oe(se) && Ce(Ae) ? je(vt(se), Ae) : function(_e) {
|
23413
23408
|
var E = function(k, Y, te) {
|
23414
|
-
var ge = k == null ? void 0 :
|
23409
|
+
var ge = k == null ? void 0 : go(k, Y);
|
23415
23410
|
return ge === void 0 ? te : ge;
|
23416
23411
|
}(_e, se);
|
23417
23412
|
return E === void 0 && E === Ae ? function(k, Y) {
|
@@ -23447,8 +23442,8 @@ var oz = function(e) {
|
|
23447
23442
|
if (Ue[2]) {
|
23448
23443
|
if (ct === void 0 && !(Xe in E)) return !1;
|
23449
23444
|
} else {
|
23450
|
-
var
|
23451
|
-
if (!(_n === void 0 ? $(qt, ct, te, 3,
|
23445
|
+
var yo = new Vt(), _n;
|
23446
|
+
if (!(_n === void 0 ? $(qt, ct, te, 3, yo) : _n)) return !1;
|
23452
23447
|
}
|
23453
23448
|
}
|
23454
23449
|
return !0;
|
@@ -23458,7 +23453,7 @@ var oz = function(e) {
|
|
23458
23453
|
return se == null ? void 0 : se[ee];
|
23459
23454
|
}) : /* @__PURE__ */ function(se) {
|
23460
23455
|
return function(Ae) {
|
23461
|
-
return
|
23456
|
+
return go(Ae, se);
|
23462
23457
|
};
|
23463
23458
|
}(H);
|
23464
23459
|
var H, ee;
|
@@ -23487,8 +23482,8 @@ var oz = function(e) {
|
|
23487
23482
|
break;
|
23488
23483
|
}
|
23489
23484
|
if (Ue) {
|
23490
|
-
if (!U(H, function(
|
23491
|
-
if (!Ue.has(_n) && (Xe ===
|
23485
|
+
if (!U(H, function(yo, _n) {
|
23486
|
+
if (!Ue.has(_n) && (Xe === yo || ee(Xe, yo, se, Ae, _e))) return Ue.add(_n);
|
23492
23487
|
})) {
|
23493
23488
|
Te = !1;
|
23494
23489
|
break;
|
@@ -23893,8 +23888,8 @@ var oz = function(e) {
|
|
23893
23888
|
var xe, He = N()(z, function(we, ke) {
|
23894
23889
|
if (we.remainingText.length === 0) return we;
|
23895
23890
|
if (ke !== ".") return { formattedText: we.formattedText + ke, remainingText: we.remainingText };
|
23896
|
-
var at, Wt = s(at = we.remainingText) || a(at) || i(),
|
23897
|
-
return { formattedText: we.formattedText +
|
23891
|
+
var at, Wt = s(at = we.remainingText) || a(at) || i(), Vt = Wt[0], Xt = Wt.slice(1);
|
23892
|
+
return { formattedText: we.formattedText + Vt, remainingText: Xt };
|
23898
23893
|
}, { formattedText: "", remainingText: R.split("") });
|
23899
23894
|
return (xe = Ne ? He.formattedText + He.remainingText.join("") : He.formattedText).includes("(") && !xe.includes(")") && (xe += ")"), xe;
|
23900
23895
|
}, P.cursorToEnd = function() {
|
@@ -23933,9 +23928,9 @@ var oz = function(e) {
|
|
23933
23928
|
var Wt = D.replace(/\D/g, "");
|
23934
23929
|
(!P.state.freezeSelection || ke && ke.dialCode.length > Wt.length) && (me = P.props.disableCountryGuess ? ke : P.guessSelectedCountry(Wt.substring(0, 6), xe, we, at) || ke, Ne = !1), Ee = P.formatNumber(Wt, me), me = me.dialCode ? me : ke;
|
23935
23930
|
}
|
23936
|
-
var
|
23931
|
+
var Vt = R.target.selectionStart, Xt = R.target.selectionStart, Ir = P.state.formattedNumber, kn = Ee.length - Ir.length;
|
23937
23932
|
P.setState({ formattedNumber: Ee, freezeSelection: Ne, selectedCountry: me }, function() {
|
23938
|
-
kn > 0 && (Xt -= kn), Ee.charAt(Ee.length - 1) == ")" ? P.numberInputRef.setSelectionRange(Ee.length - 1, Ee.length - 1) : Xt > 0 && Ir.length >= Ee.length ? P.numberInputRef.setSelectionRange(Xt, Xt) :
|
23933
|
+
kn > 0 && (Xt -= kn), Ee.charAt(Ee.length - 1) == ")" ? P.numberInputRef.setSelectionRange(Ee.length - 1, Ee.length - 1) : Xt > 0 && Ir.length >= Ee.length ? P.numberInputRef.setSelectionRange(Xt, Xt) : Vt < Ir.length && P.numberInputRef.setSelectionRange(Vt, Vt), le && le(Ee.replace(/[^0-9]+/g, ""), P.getCountryData(), R, Ee);
|
23939
23934
|
});
|
23940
23935
|
}
|
23941
23936
|
}, P.handleInputClick = function(R) {
|
@@ -24045,19 +24040,19 @@ var oz = function(e) {
|
|
24045
24040
|
}
|
24046
24041
|
return Ee;
|
24047
24042
|
}, P.getCountryDropdownList = function() {
|
24048
|
-
var R = P.state, D = R.preferredCountries, z = R.highlightCountryIndex, pe = R.showDropdown, le = R.searchValue, Ee = P.props, me = Ee.disableDropdown, Ne = Ee.prefix, ve = P.props, xe = ve.enableSearch, He = ve.searchNotFound, we = ve.disableSearchIcon, ke = ve.searchClass, at = ve.searchStyle, Wt = ve.searchPlaceholder,
|
24049
|
-
var
|
24043
|
+
var R = P.state, D = R.preferredCountries, z = R.highlightCountryIndex, pe = R.showDropdown, le = R.searchValue, Ee = P.props, me = Ee.disableDropdown, Ne = Ee.prefix, ve = P.props, xe = ve.enableSearch, He = ve.searchNotFound, we = ve.disableSearchIcon, ke = ve.searchClass, at = ve.searchStyle, Wt = ve.searchPlaceholder, Vt = ve.autocompleteSearch, Xt = P.getSearchFilteredCountries().map(function(Pt, Kn) {
|
24044
|
+
var go = z === Kn, Ua = U()({ country: !0, preferred: Pt.iso2 === "us" || Pt.iso2 === "gb", active: Pt.iso2 === "us", highlight: go }), $ = "flag ".concat(Pt.iso2);
|
24050
24045
|
return I.a.createElement("li", Object.assign({ ref: function(dt) {
|
24051
24046
|
return P["flag_no_".concat(Kn)] = dt;
|
24052
24047
|
}, key: "flag_no_".concat(Kn), "data-flag-key": "flag_no_".concat(Kn), className: Ua, "data-dial-code": "1", tabIndex: me ? "-1" : "0", "data-country-code": Pt.iso2, onClick: function(dt) {
|
24053
24048
|
return P.handleFlagItemClick(Pt, dt);
|
24054
|
-
}, role: "option" },
|
24049
|
+
}, role: "option" }, go ? { "aria-selected": !0 } : {}), I.a.createElement("div", { className: $ }), I.a.createElement("span", { className: "country-name" }, P.getDropdownCountryName(Pt)), I.a.createElement("span", { className: "dial-code" }, Pt.format ? P.formatNumber(Pt.dialCode, Pt) : Ne + Pt.dialCode));
|
24055
24050
|
}), Ir = I.a.createElement("li", { key: "dashes", className: "divider" });
|
24056
24051
|
D.length > 0 && (!xe || xe && !le.trim()) && Xt.splice(D.length, 0, Ir);
|
24057
24052
|
var kn = U()(n({ "country-list": !0, hide: !pe }, P.props.dropdownClass, !0));
|
24058
24053
|
return I.a.createElement("ul", { ref: function(Pt) {
|
24059
24054
|
return !xe && Pt && Pt.focus(), P.dropdownRef = Pt;
|
24060
|
-
}, className: kn, style: P.props.dropdownStyle, role: "listbox", tabIndex: "0" }, xe && I.a.createElement("li", { className: U()(n({ search: !0 }, ke, ke)) }, !we && I.a.createElement("span", { className: U()(n({ "search-emoji": !0 }, "".concat(ke, "-emoji"), ke)), role: "img", "aria-label": "Magnifying glass" }, "🔎"), I.a.createElement("input", { className: U()(n({ "search-box": !0 }, "".concat(ke, "-box"), ke)), style: at, type: "search", placeholder: Wt, autoFocus: !0, autoComplete:
|
24055
|
+
}, className: kn, style: P.props.dropdownStyle, role: "listbox", tabIndex: "0" }, xe && I.a.createElement("li", { className: U()(n({ search: !0 }, ke, ke)) }, !we && I.a.createElement("span", { className: U()(n({ "search-emoji": !0 }, "".concat(ke, "-emoji"), ke)), role: "img", "aria-label": "Magnifying glass" }, "🔎"), I.a.createElement("input", { className: U()(n({ "search-box": !0 }, "".concat(ke, "-box"), ke)), style: at, type: "search", placeholder: Wt, autoFocus: !0, autoComplete: Vt ? "on" : "off", value: le, onChange: P.handleSearchChange })), Xt.length > 0 ? Xt : I.a.createElement("li", { className: "no-entries-message" }, I.a.createElement("span", null, He)));
|
24061
24056
|
};
|
24062
24057
|
var Me, Se = new W(q.enableAreaCodes, q.enableTerritories, q.regions, q.onlyCountries, q.preferredCountries, q.excludeCountries, q.preserveOrder, q.masks, q.priority, q.areaCodes, q.localization, q.prefix, q.defaultMask, q.alwaysDefaultMask), Re = Se.onlyCountries, ze = Se.preferredCountries, $e = Se.hiddenAreaCodes, Ke = q.value ? q.value.replace(/\D/g, "") : "";
|
24063
24058
|
Me = q.disableInitialCountryGuess ? 0 : Ke.length > 1 ? P.guessSelectedCountry(Ke.substring(0, 6), q.country, Re, $e) || 0 : q.country && Re.find(function(R) {
|
@@ -24346,7 +24341,7 @@ const az = /* @__PURE__ */ Pr(oz), sz = ({
|
|
24346
24341
|
verificationService: a,
|
24347
24342
|
disabled: o = !1
|
24348
24343
|
}) => {
|
24349
|
-
const s = "marketConsentValue", i = `sid-${
|
24344
|
+
const s = "marketConsentValue", i = `sid-${jt(s)}-error`, l = ue.useCallback(
|
24350
24345
|
(d) => {
|
24351
24346
|
const p = "marketConsentRequired";
|
24352
24347
|
if (t && !d)
|
@@ -24632,14 +24627,14 @@ const mz = ({
|
|
24632
24627
|
errorMessage: a,
|
24633
24628
|
disabled: o = !1
|
24634
24629
|
}) => {
|
24635
|
-
const s = `${e}Label`, i = `sid-${
|
24636
|
-
return /* @__PURE__ */ f.jsxs("div", { className: `sid-field sid-${
|
24630
|
+
const s = `${e}Label`, i = `sid-${jt(s)}`, l = `sid-${jt(s)}-error`, u = () => r(!t);
|
24631
|
+
return /* @__PURE__ */ f.jsxs("div", { className: `sid-field sid-${jt(e)}`, children: [
|
24637
24632
|
/* @__PURE__ */ f.jsx("div", { className: "sid-l-space-top-md" }),
|
24638
24633
|
/* @__PURE__ */ f.jsxs("div", { className: "sid-checkbox-flex", children: [
|
24639
24634
|
/* @__PURE__ */ f.jsx(
|
24640
24635
|
Y0,
|
24641
24636
|
{
|
24642
|
-
id:
|
24637
|
+
id: jt(e),
|
24643
24638
|
isErrored: !!a,
|
24644
24639
|
value: t,
|
24645
24640
|
onChange: u,
|
@@ -24676,7 +24671,7 @@ const mz = ({
|
|
24676
24671
|
onKeyDown: u = void 0,
|
24677
24672
|
disabled: c = !1
|
24678
24673
|
}) => {
|
24679
|
-
const d = `${n}Label`, p = `sid-${
|
24674
|
+
const d = `${n}Label`, p = `sid-${jt(d)}`, m = `sid-${jt(n)}-error`;
|
24680
24675
|
return /* @__PURE__ */ f.jsx(
|
24681
24676
|
Du,
|
24682
24677
|
{
|
@@ -24689,7 +24684,7 @@ const mz = ({
|
|
24689
24684
|
W0,
|
24690
24685
|
{
|
24691
24686
|
fieldId: n,
|
24692
|
-
inputId: `sid-${
|
24687
|
+
inputId: `sid-${jt(n)}`,
|
24693
24688
|
fieldLabelId: p,
|
24694
24689
|
isErrored: !!s,
|
24695
24690
|
options: t,
|
@@ -24743,7 +24738,7 @@ const mz = ({
|
|
24743
24738
|
value: i,
|
24744
24739
|
disabled: l = !1
|
24745
24740
|
}) => {
|
24746
|
-
const u =
|
24741
|
+
const u = jt(e), c = KP(e);
|
24747
24742
|
return /* @__PURE__ */ f.jsx(
|
24748
24743
|
Du,
|
24749
24744
|
{
|
@@ -26514,7 +26509,7 @@ function sn(e) {
|
|
26514
26509
|
var t;
|
26515
26510
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
26516
26511
|
}
|
26517
|
-
function
|
26512
|
+
function ho(e) {
|
26518
26513
|
var t;
|
26519
26514
|
return (t = (RR(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
26520
26515
|
}
|
@@ -26524,7 +26519,7 @@ function RR(e) {
|
|
26524
26519
|
function Gn(e) {
|
26525
26520
|
return im() ? e instanceof Element || e instanceof sn(e).Element : !1;
|
26526
26521
|
}
|
26527
|
-
function
|
26522
|
+
function co(e) {
|
26528
26523
|
return im() ? e instanceof HTMLElement || e instanceof sn(e).HTMLElement : !1;
|
26529
26524
|
}
|
26530
26525
|
function $M(e) {
|
@@ -26557,7 +26552,7 @@ function eb(e) {
|
|
26557
26552
|
}
|
26558
26553
|
function e9(e) {
|
26559
26554
|
let t = Ra(e);
|
26560
|
-
for (;
|
26555
|
+
for (; co(t) && !Fi(t); ) {
|
26561
26556
|
if (eb(t))
|
26562
26557
|
return t;
|
26563
26558
|
if (lm(t))
|
@@ -26592,13 +26587,13 @@ function Ra(e) {
|
|
26592
26587
|
e.assignedSlot || // DOM Element detected.
|
26593
26588
|
e.parentNode || // ShadowRoot detected.
|
26594
26589
|
$M(e) && e.host || // Fallback.
|
26595
|
-
|
26590
|
+
ho(e)
|
26596
26591
|
);
|
26597
26592
|
return $M(t) ? t.host : t;
|
26598
26593
|
}
|
26599
26594
|
function NR(e) {
|
26600
26595
|
const t = Ra(e);
|
26601
|
-
return Fi(t) ? e.ownerDocument ? e.ownerDocument.body : e.body :
|
26596
|
+
return Fi(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : co(t) && Hu(t) ? t : NR(t);
|
26602
26597
|
}
|
26603
26598
|
function vu(e, t, r) {
|
26604
26599
|
var n;
|
@@ -26616,7 +26611,7 @@ function Sy(e) {
|
|
26616
26611
|
function kR(e) {
|
26617
26612
|
const t = Wn(e);
|
26618
26613
|
let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
|
26619
|
-
const a =
|
26614
|
+
const a = co(e), o = a ? e.offsetWidth : r, s = a ? e.offsetHeight : n, i = If(r) !== o || If(n) !== s;
|
26620
26615
|
return i && (r = o, n = s), {
|
26621
26616
|
width: r,
|
26622
26617
|
height: n,
|
@@ -26628,7 +26623,7 @@ function rb(e) {
|
|
26628
26623
|
}
|
26629
26624
|
function Mi(e) {
|
26630
26625
|
const t = rb(e);
|
26631
|
-
if (!
|
26626
|
+
if (!co(t))
|
26632
26627
|
return uo(1);
|
26633
26628
|
const r = t.getBoundingClientRect(), {
|
26634
26629
|
width: n,
|
@@ -26676,7 +26671,7 @@ function bs(e, t, r, n) {
|
|
26676
26671
|
}
|
26677
26672
|
function nb(e, t) {
|
26678
26673
|
const r = um(e).scrollLeft;
|
26679
|
-
return t ? t.left + r : bs(
|
26674
|
+
return t ? t.left + r : bs(ho(e)).left + r;
|
26680
26675
|
}
|
26681
26676
|
function _R(e, t, r) {
|
26682
26677
|
r === void 0 && (r = !1);
|
@@ -26696,15 +26691,15 @@ function n9(e) {
|
|
26696
26691
|
offsetParent: n,
|
26697
26692
|
strategy: a
|
26698
26693
|
} = e;
|
26699
|
-
const o = a === "fixed", s =
|
26694
|
+
const o = a === "fixed", s = ho(n), i = t ? lm(t.floating) : !1;
|
26700
26695
|
if (n === s || i && o)
|
26701
26696
|
return r;
|
26702
26697
|
let l = {
|
26703
26698
|
scrollLeft: 0,
|
26704
26699
|
scrollTop: 0
|
26705
26700
|
}, u = uo(1);
|
26706
|
-
const c = uo(0), d =
|
26707
|
-
if ((d || !d && !o) && ((qi(n) !== "body" || Hu(s)) && (l = um(n)),
|
26701
|
+
const c = uo(0), d = co(n);
|
26702
|
+
if ((d || !d && !o) && ((qi(n) !== "body" || Hu(s)) && (l = um(n)), co(n))) {
|
26708
26703
|
const m = bs(n);
|
26709
26704
|
u = Mi(n), c.x = m.x + n.clientLeft, c.y = m.y + n.clientTop;
|
26710
26705
|
}
|
@@ -26720,7 +26715,7 @@ function o9(e) {
|
|
26720
26715
|
return Array.from(e.getClientRects());
|
26721
26716
|
}
|
26722
26717
|
function a9(e) {
|
26723
|
-
const t =
|
26718
|
+
const t = ho(e), r = um(e), n = e.ownerDocument.body, a = nn(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), o = nn(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
|
26724
26719
|
let s = -r.scrollLeft + nb(e);
|
26725
26720
|
const i = -r.scrollTop;
|
26726
26721
|
return Wn(n).direction === "rtl" && (s += nn(t.clientWidth, n.clientWidth) - a), {
|
@@ -26731,7 +26726,7 @@ function a9(e) {
|
|
26731
26726
|
};
|
26732
26727
|
}
|
26733
26728
|
function s9(e, t) {
|
26734
|
-
const r = sn(e), n =
|
26729
|
+
const r = sn(e), n = ho(e), a = r.visualViewport;
|
26735
26730
|
let o = n.clientWidth, s = n.clientHeight, i = 0, l = 0;
|
26736
26731
|
if (a) {
|
26737
26732
|
o = a.width, s = a.height;
|
@@ -26746,7 +26741,7 @@ function s9(e, t) {
|
|
26746
26741
|
};
|
26747
26742
|
}
|
26748
26743
|
function i9(e, t) {
|
26749
|
-
const r = bs(e, !0, t === "fixed"), n = r.top + e.clientTop, a = r.left + e.clientLeft, o =
|
26744
|
+
const r = bs(e, !0, t === "fixed"), n = r.top + e.clientTop, a = r.left + e.clientLeft, o = co(e) ? Mi(e) : uo(1), s = e.clientWidth * o.x, i = e.clientHeight * o.y, l = a * o.x, u = n * o.y;
|
26750
26745
|
return {
|
26751
26746
|
width: s,
|
26752
26747
|
height: i,
|
@@ -26759,7 +26754,7 @@ function jM(e, t, r) {
|
|
26759
26754
|
if (t === "viewport")
|
26760
26755
|
n = s9(e, r);
|
26761
26756
|
else if (t === "document")
|
26762
|
-
n = a9(
|
26757
|
+
n = a9(ho(e));
|
26763
26758
|
else if (Gn(t))
|
26764
26759
|
n = i9(t, r);
|
26765
26760
|
else {
|
@@ -26819,7 +26814,7 @@ function c9(e) {
|
|
26819
26814
|
};
|
26820
26815
|
}
|
26821
26816
|
function d9(e, t, r) {
|
26822
|
-
const n =
|
26817
|
+
const n = co(t), a = ho(t), o = r === "fixed", s = bs(e, !0, o, t);
|
26823
26818
|
let i = {
|
26824
26819
|
scrollLeft: 0,
|
26825
26820
|
scrollTop: 0
|
@@ -26842,18 +26837,18 @@ function $h(e) {
|
|
26842
26837
|
return Wn(e).position === "static";
|
26843
26838
|
}
|
26844
26839
|
function VM(e, t) {
|
26845
|
-
if (!
|
26840
|
+
if (!co(e) || Wn(e).position === "fixed")
|
26846
26841
|
return null;
|
26847
26842
|
if (t)
|
26848
26843
|
return t(e);
|
26849
26844
|
let r = e.offsetParent;
|
26850
|
-
return
|
26845
|
+
return ho(e) === r && (r = r.ownerDocument.body), r;
|
26851
26846
|
}
|
26852
26847
|
function DR(e, t) {
|
26853
26848
|
const r = sn(e);
|
26854
26849
|
if (lm(e))
|
26855
26850
|
return r;
|
26856
|
-
if (!
|
26851
|
+
if (!co(e)) {
|
26857
26852
|
let a = Ra(e);
|
26858
26853
|
for (; a && !Fi(a); ) {
|
26859
26854
|
if (Gn(a) && !$h(a))
|
@@ -26884,7 +26879,7 @@ function p9(e) {
|
|
26884
26879
|
}
|
26885
26880
|
const m9 = {
|
26886
26881
|
convertOffsetParentRelativeRectToViewportRelativeRect: n9,
|
26887
|
-
getDocumentElement:
|
26882
|
+
getDocumentElement: ho,
|
26888
26883
|
getClippingRect: u9,
|
26889
26884
|
getOffsetParent: DR,
|
26890
26885
|
getElementRects: f9,
|
@@ -26899,7 +26894,7 @@ function LR(e, t) {
|
|
26899
26894
|
}
|
26900
26895
|
function h9(e, t) {
|
26901
26896
|
let r = null, n;
|
26902
|
-
const a =
|
26897
|
+
const a = ho(e);
|
26903
26898
|
function o() {
|
26904
26899
|
var i;
|
26905
26900
|
clearTimeout(n), (i = r) == null || i.disconnect(), r = null;
|
@@ -28700,13 +28695,13 @@ const q7 = ({ message: e, trigger: t, initialVisibility: r = !1 }) => /* @__PURE
|
|
28700
28695
|
const t = e.target instanceof HTMLInputElement ? e.target : void 0;
|
28701
28696
|
if (t && (t.id || t.name)) {
|
28702
28697
|
const r = {
|
28703
|
-
eventName:
|
28698
|
+
eventName: Bt.FORM_PASTE,
|
28704
28699
|
params: {
|
28705
28700
|
id: t.id || t.name,
|
28706
28701
|
queryLength: e.clipboardData.getData("text").length
|
28707
28702
|
}
|
28708
28703
|
};
|
28709
|
-
|
28704
|
+
Ro(r);
|
28710
28705
|
}
|
28711
28706
|
} catch (t) {
|
28712
28707
|
L.error(t);
|
@@ -28717,7 +28712,7 @@ const q7 = ({ message: e, trigger: t, initialVisibility: r = !1 }) => /* @__PURE
|
|
28717
28712
|
className: r,
|
28718
28713
|
children: n
|
28719
28714
|
}) => {
|
28720
|
-
const a = Tz("font-size"), o =
|
28715
|
+
const a = Tz("font-size"), o = jt(e).replace(/^collect-/, ""), s = [`sid-${o}-container`, "sid-l-container", "sid-left-align"];
|
28721
28716
|
switch (r && s.push(r), a) {
|
28722
28717
|
case "14px":
|
28723
28718
|
s.push("_experiment_sid-font-md");
|
@@ -28822,20 +28817,20 @@ const q7 = ({ message: e, trigger: t, initialVisibility: r = !1 }) => /* @__PURE
|
|
28822
28817
|
);
|
28823
28818
|
x.useEffect(() => {
|
28824
28819
|
const g = {
|
28825
|
-
eventName:
|
28820
|
+
eventName: Bt.COLLECT_STARTED,
|
28826
28821
|
params: {}
|
28827
28822
|
};
|
28828
|
-
|
28823
|
+
Ro(g);
|
28829
28824
|
}, []);
|
28830
28825
|
const i = () => {
|
28831
28826
|
try {
|
28832
28827
|
const g = {
|
28833
|
-
eventName:
|
28828
|
+
eventName: Bt.COLLECT_SUBMITTED,
|
28834
28829
|
params: {
|
28835
28830
|
[bn.EVENT_DURATION]: s().duration
|
28836
28831
|
}
|
28837
28832
|
};
|
28838
|
-
|
28833
|
+
Ro(g);
|
28839
28834
|
} catch {
|
28840
28835
|
L.warn("Unable to measure time on form");
|
28841
28836
|
}
|
@@ -32276,7 +32271,7 @@ const ik = ({
|
|
32276
32271
|
cancelButtonType: n = "primary"
|
32277
32272
|
/* PRIMARY */
|
32278
32273
|
}) => {
|
32279
|
-
const { programId: a } = e, o = e.viewModel, s = e.previousViewModel || void 0, i = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: u } = e.verificationResponse, c = Eu(), d =
|
32274
|
+
const { programId: a } = e, o = e.viewModel, s = e.previousViewModel || void 0, i = e.verificationResponse, l = e.previousVerificationResponse || void 0, { verificationId: u } = e.verificationResponse, c = Eu(), d = jt(t);
|
32280
32275
|
let p;
|
32281
32276
|
const m = /* @__PURE__ */ f.jsx(
|
32282
32277
|
vs,
|
@@ -32376,7 +32371,7 @@ const ik = ({
|
|
32376
32371
|
cancelSingleSignOn: n,
|
32377
32372
|
cancelButtonType: a = bu.PRIMARY
|
32378
32373
|
}) => {
|
32379
|
-
const o =
|
32374
|
+
const o = jt(e);
|
32380
32375
|
return /* @__PURE__ */ f.jsxs("div", { className: "sid-header sid-l-horz-center", children: [
|
32381
32376
|
/* @__PURE__ */ f.jsx("div", { className: "sid-pending-logo-container sid-l-horz-center", children: r }),
|
32382
32377
|
/* @__PURE__ */ f.jsx(Da, { align: "center", children: t.title }),
|
@@ -32488,7 +32483,7 @@ const ik = ({
|
|
32488
32483
|
cancelThirdPartyLoop: r,
|
32489
32484
|
isMockingPreviousStepThirdPartyLoop: n
|
32490
32485
|
}) => {
|
32491
|
-
const a = n ?
|
32486
|
+
const a = n ? fo(zk) : t == null ? void 0 : t.thirdPartyLoopProvider, o = lk[a] || void 0;
|
32492
32487
|
return o ? /* @__PURE__ */ f.jsx(
|
32493
32488
|
lb,
|
32494
32489
|
{
|
@@ -32500,7 +32495,7 @@ const ik = ({
|
|
32500
32495
|
}
|
32501
32496
|
) : /* @__PURE__ */ f.jsx(uk, { logo: e });
|
32502
32497
|
}, HG = BG, zG = 5e3, GG = 2e4, WG = 5e3, KG = (e, t, r, n, a, o, s, i) => (e || !t && !r && !n) && !a && !o && !s && !i, qG = ({ verificationService: e, intl: t }) => {
|
32503
|
-
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 = Eu(), u =
|
32498
|
+
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 = Eu(), u = wo() && wo() === qe.sso, c = wo() && wo() === qe.thirdPartyLoop, d = wo() && wo() === qe.idCheckLoop, p = wo() && wo() === qe.docUpload, m = () => !!(o && o.currentStep === qe.sso), g = () => !!(o && o.currentStep === qe.thirdPartyLoop), h = () => !!(o && o.currentStep === qe.idCheckLoop), [I, b] = ue.useState(
|
32504
32499
|
KG(
|
32505
32500
|
Be().mockStep === "pending",
|
32506
32501
|
m(),
|
@@ -32762,8 +32757,8 @@ const ik = ({
|
|
32762
32757
|
}, []), ue.useEffect(() => {
|
32763
32758
|
if (!["pending", "error"].includes(e))
|
32764
32759
|
try {
|
32765
|
-
performance.mark(
|
32766
|
-
eventName:
|
32760
|
+
performance.mark(Bt.STEP_SEEN), Ro({
|
32761
|
+
eventName: Bt.STEP_SEEN,
|
32767
32762
|
params: {
|
32768
32763
|
step: e
|
32769
32764
|
}
|
@@ -33144,7 +33139,7 @@ const cW = (e, t) => ({
|
|
33144
33139
|
kind: "program",
|
33145
33140
|
key: e
|
33146
33141
|
}), hW = ({ programId: e, children: t }) => /* @__PURE__ */ f.jsx(
|
33147
|
-
|
33142
|
+
JV,
|
33148
33143
|
{
|
33149
33144
|
clientSideID: "6530161f9ff41712a2eef741",
|
33150
33145
|
context: mW(e),
|
@@ -33304,9 +33299,9 @@ export {
|
|
33304
33299
|
qW as aC,
|
33305
33300
|
iG as aD,
|
33306
33301
|
qD as aE,
|
33307
|
-
|
33302
|
+
Eo as aF,
|
33308
33303
|
hb as aG,
|
33309
|
-
|
33304
|
+
fo as aH,
|
33310
33305
|
Xi as aI,
|
33311
33306
|
Sr as aJ,
|
33312
33307
|
BW as aK,
|
@@ -33339,8 +33334,8 @@ export {
|
|
33339
33334
|
FW as ak,
|
33340
33335
|
Rk as al,
|
33341
33336
|
aK as am,
|
33342
|
-
|
33343
|
-
|
33337
|
+
Ro as an,
|
33338
|
+
Bt as ao,
|
33344
33339
|
AW as ap,
|
33345
33340
|
$f as aq,
|
33346
33341
|
fS as ar,
|