@sheerid/jslib-nightly 2.113.0-alpha.0 → 2.113.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +271 -271
- 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 +4 -4
- package/jslib.js +4 -4
- package/lib/{EmailLoopPending-CDvXBLwm.js → EmailLoopPending-DKKkBdOK.js} +4 -4
- package/lib/{EmailLoopPending-CDvXBLwm.js.map → EmailLoopPending-DKKkBdOK.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-H9w53uDB.js → LicensedProfessionalOrganizationComponent-qWxHChRw.js} +4 -4
- package/lib/{LicensedProfessionalOrganizationComponent-H9w53uDB.js.map → LicensedProfessionalOrganizationComponent-qWxHChRw.js.map} +1 -1
- package/lib/Onfido-AyvUk6wg.js +3 -3
- package/lib/StepCollectMilitaryStatusComponent-qBowsGgF.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-DRROyvH5.js.map → StepCollectMilitaryStatusComponent-qBowsGgF.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-CNFYYWIB.js → StepIDCheckLoopOnfido-D69pgq51.js} +4 -4
- package/lib/{StepIDCheckLoopOnfido-CNFYYWIB.js.map → StepIDCheckLoopOnfido-D69pgq51.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-BepNk6Gr.js → StepIDCheckLoopRegula-DRGcQpSY.js} +4 -4
- package/lib/{StepIDCheckLoopRegula-BepNk6Gr.js.map → StepIDCheckLoopRegula-DRGcQpSY.js.map} +1 -1
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-BO_LBRwo.js → StepInactiveMilitaryPersonalInfoComponent-DISERpNx.js} +5 -5
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-BO_LBRwo.js.map → StepInactiveMilitaryPersonalInfoComponent-DISERpNx.js.map} +1 -1
- package/lib/{VerificationApiUtils-BRTuXm1B.js → VerificationApiUtils-BhF_r9u5.js} +4 -4
- package/lib/{VerificationApiUtils-BRTuXm1B.js.map → VerificationApiUtils-BhF_r9u5.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-B9qAIX4x.js → es6-8tce2iJv.js} +216 -216
- package/lib/{es6-B9qAIX4x.js.map → es6-8tce2iJv.js.map} +1 -1
- 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-DN0MUiTN.js → index-B3jp_Q_6.js} +4 -4
- package/lib/{index-DN0MUiTN.js.map → index-B3jp_Q_6.js.map} +1 -1
- package/lib/{index-D0Yty3Kd.js → index-B6h1vbNm.js} +4 -4
- package/lib/{index-D0Yty3Kd.js.map → index-B6h1vbNm.js.map} +1 -1
- package/lib/{index-D61N1Jyq.js → index-BVv6mxGM.js} +5 -5
- package/lib/{index-D61N1Jyq.js.map → index-BVv6mxGM.js.map} +1 -1
- package/lib/{index-D80FuDeb.js → index-BZoH_ioN.js} +5 -5
- package/lib/{index-D80FuDeb.js.map → index-BZoH_ioN.js.map} +1 -1
- package/lib/{index-DnZbkXyk.js → index-Bplk-9do.js} +4 -4
- package/lib/{index-DnZbkXyk.js.map → index-Bplk-9do.js.map} +1 -1
- package/lib/{index-CGU27x9g.js → index-BtN4x2tx.js} +4 -4
- package/lib/{index-CGU27x9g.js.map → index-BtN4x2tx.js.map} +1 -1
- package/lib/{index-B_B3i9Pn.js → index-C5bOYPXe.js} +4 -4
- package/lib/{index-B_B3i9Pn.js.map → index-C5bOYPXe.js.map} +1 -1
- package/lib/{index-DVfzhcnQ.js → index-CIYFhNn_.js} +5 -5
- package/lib/{index-DVfzhcnQ.js.map → index-CIYFhNn_.js.map} +1 -1
- package/lib/index-CXIuKrS_.js +11 -0
- package/lib/index-CXIuKrS_.js.map +1 -0
- package/lib/index-CbsrCxFd.js +11 -0
- package/lib/index-CbsrCxFd.js.map +1 -0
- package/lib/{index-DL4_VnMC.js → index-CjBlsJHA.js} +6 -6
- package/lib/{index-DL4_VnMC.js.map → index-CjBlsJHA.js.map} +1 -1
- package/lib/{index-B6sR8La4.js → index-Cwxr6ygG.js} +4 -4
- package/lib/{index-B6sR8La4.js.map → index-Cwxr6ygG.js.map} +1 -1
- package/lib/{index-V4Ce6ja4.js → index-Cy1mVQ8p.js} +5 -5
- package/lib/{index-V4Ce6ja4.js.map → index-Cy1mVQ8p.js.map} +1 -1
- package/lib/{index-OFvhK0tQ.js → index-D0Uh91rh.js} +4 -4
- package/lib/{index-OFvhK0tQ.js.map → index-D0Uh91rh.js.map} +1 -1
- package/lib/{index-485dLkVR.js → index-DGryH-LC.js} +6 -6
- package/lib/{index-485dLkVR.js.map → index-DGryH-LC.js.map} +1 -1
- package/lib/index-DIkWpujR.js +3 -3
- package/lib/{index-Ba7VG1-x.js → index-DIkwKjWl.js} +4 -4
- package/lib/{index-Ba7VG1-x.js.map → index-DIkwKjWl.js.map} +1 -1
- package/lib/{index-DiC9gEz8.js → index-DQAvkNEL.js} +4 -4
- package/lib/{index-DiC9gEz8.js.map → index-DQAvkNEL.js.map} +1 -1
- package/lib/{index-GN0bBJB5.js → index-Dfw5S4a1.js} +5 -5
- package/lib/{index-GN0bBJB5.js.map → index-Dfw5S4a1.js.map} +1 -1
- package/lib/{index-Bs_Zeni2.js → index-DjglyHXb.js} +5 -5
- package/lib/{index-Bs_Zeni2.js.map → index-DjglyHXb.js.map} +1 -1
- package/lib/{index-MMI4ImqT.js → index-DriwZwk-.js} +4 -4
- package/lib/{index-MMI4ImqT.js.map → index-DriwZwk-.js.map} +1 -1
- package/lib/{index-Cijb2NkO.js → index-H977kfvI.js} +5 -5
- package/lib/{index-Cijb2NkO.js.map → index-H977kfvI.js.map} +1 -1
- package/lib/index-o3yHGfcj.js +11 -0
- package/lib/index-o3yHGfcj.js.map +1 -0
- package/lib/index-uZefsV9q.js +11 -0
- package/lib/index-uZefsV9q.js.map +1 -0
- 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-Df4fm8kA.js → useCollectFieldsEndpoint-QjRwyO2M.js} +5 -5
- package/lib/{useCollectFieldsEndpoint-Df4fm8kA.js.map → useCollectFieldsEndpoint-QjRwyO2M.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-BOHCZCqy.js → useEmailFirstExperiment-D-t9nCie.js} +4 -4
- package/lib/{useEmailFirstExperiment-BOHCZCqy.js.map → useEmailFirstExperiment-D-t9nCie.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 +4 -4
- package/sheerid.js +271 -271
- package/sheerid.js.map +1 -1
- package/src/components/FormInputs/Typeahead/TypeaheadClearButton/TypeaheadClearButtonComponent.d.ts +2 -2
- package/types-reference.zip +0 -0
- package/lib/StepCollectMilitaryStatusComponent-DRROyvH5.js +0 -11
- package/lib/index-B7vWda54.js +0 -11
- package/lib/index-B7vWda54.js.map +0 -1
- package/lib/index-BfLH0Ewz.js +0 -11
- package/lib/index-BfLH0Ewz.js.map +0 -1
- package/lib/index-Bu52dUKa.js +0 -11
- package/lib/index-Bu52dUKa.js.map +0 -1
- package/lib/index-M7ft39-8.js +0 -11
- package/lib/index-M7ft39-8.js.map +0 -1
package/sheerid.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.113.0-alpha.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE:
|
3
|
+
* VERSION: 2.113.0-alpha.2
|
4
|
+
* BUILD_TIMESTAMP: 1750698354412
|
5
|
+
* BUILD_DATE: Mon Jun 23 2025 17:05:54 GMT+0000 (Coordinated Universal Time)
|
6
6
|
* BUILD_COMMIT: 896154e79f58fffa6d52f3ed37f2db760a63df88
|
7
7
|
*/
|
8
8
|
var Mk = Object.defineProperty;
|
@@ -322,7 +322,7 @@ var f = nE.exports, mE = { exports: {} }, cn = {}, hE = { exports: {} }, gE = {}
|
|
322
322
|
var ue = W[0], Y = W.pop();
|
323
323
|
if (Y !== ue) {
|
324
324
|
W[0] = Y;
|
325
|
-
e: for (var J = 0, ee = W.length,
|
325
|
+
e: for (var J = 0, ee = W.length, Q = ee >>> 1; J < Q; ) {
|
326
326
|
var K = 2 * (J + 1) - 1, P = W[K], Me = K + 1, Se = W[Me];
|
327
327
|
if (0 > a(P, Y)) Me < ee && 0 > a(Se, P) ? (W[J] = Se, W[Me] = Y, J = Me) : (W[J] = P, W[K] = Y, J = K);
|
328
328
|
else if (Me < ee && 0 > a(Se, Y)) W[J] = Se, W[Me] = Y, J = Me;
|
@@ -357,7 +357,7 @@ var f = nE.exports, mE = { exports: {} }, cn = {}, hE = { exports: {} }, gE = {}
|
|
357
357
|
}
|
358
358
|
}
|
359
359
|
function w(W) {
|
360
|
-
if (h = !1, S(W), !g) if (r(l) !== null) g = !0,
|
360
|
+
if (h = !1, S(W), !g) if (r(l) !== null) g = !0, X(M);
|
361
361
|
else {
|
362
362
|
var ue = r(u);
|
363
363
|
ue !== null && oe(w, ue.startTime - W);
|
@@ -376,12 +376,12 @@ var f = nE.exports, mE = { exports: {} }, cn = {}, hE = { exports: {} }, gE = {}
|
|
376
376
|
} else n(l);
|
377
377
|
d = r(l);
|
378
378
|
}
|
379
|
-
if (d !== null) var
|
379
|
+
if (d !== null) var Q = !0;
|
380
380
|
else {
|
381
381
|
var K = r(u);
|
382
|
-
K !== null && oe(w, K.startTime - ue),
|
382
|
+
K !== null && oe(w, K.startTime - ue), Q = !1;
|
383
383
|
}
|
384
|
-
return
|
384
|
+
return Q;
|
385
385
|
} finally {
|
386
386
|
d = null, p = Y, m = !1;
|
387
387
|
}
|
@@ -407,14 +407,14 @@ var f = nE.exports, mE = { exports: {} }, cn = {}, hE = { exports: {} }, gE = {}
|
|
407
407
|
y(se);
|
408
408
|
};
|
409
409
|
else if (typeof MessageChannel < "u") {
|
410
|
-
var G = new MessageChannel(),
|
410
|
+
var G = new MessageChannel(), Z = G.port2;
|
411
411
|
G.port1.onmessage = se, he = function() {
|
412
|
-
|
412
|
+
Z.postMessage(null);
|
413
413
|
};
|
414
414
|
} else he = function() {
|
415
415
|
I(se, 0);
|
416
416
|
};
|
417
|
-
function
|
417
|
+
function X(W) {
|
418
418
|
T = W, N || (N = !0, he());
|
419
419
|
}
|
420
420
|
function oe(W, ue) {
|
@@ -425,7 +425,7 @@ var f = nE.exports, mE = { exports: {} }, cn = {}, hE = { exports: {} }, gE = {}
|
|
425
425
|
e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(W) {
|
426
426
|
W.callback = null;
|
427
427
|
}, e.unstable_continueExecution = function() {
|
428
|
-
g || m || (g = !0,
|
428
|
+
g || m || (g = !0, X(M));
|
429
429
|
}, e.unstable_forceFrameRate = function(W) {
|
430
430
|
0 > W || 125 < W ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : A = 0 < W ? Math.floor(1e3 / W) : 5;
|
431
431
|
}, e.unstable_getCurrentPriorityLevel = function() {
|
@@ -487,7 +487,7 @@ var f = nE.exports, mE = { exports: {} }, cn = {}, hE = { exports: {} }, gE = {}
|
|
487
487
|
default:
|
488
488
|
ee = 5e3;
|
489
489
|
}
|
490
|
-
return ee = Y + ee, W = { id: c++, callback: ue, priorityLevel: W, startTime: Y, expirationTime: ee, sortIndex: -1 }, Y > J ? (W.sortIndex = Y, t(u, W), r(l) === null && W === r(u) && (h ? (b(O), O = -1) : h = !0, oe(w, Y - J))) : (W.sortIndex = ee, t(l, W), g || m || (g = !0,
|
490
|
+
return ee = Y + ee, W = { id: c++, callback: ue, priorityLevel: W, startTime: Y, expirationTime: ee, sortIndex: -1 }, Y > J ? (W.sortIndex = Y, t(u, W), r(l) === null && W === r(u) && (h ? (b(O), O = -1) : h = !0, oe(w, Y - J))) : (W.sortIndex = ee, t(l, W), g || m || (g = !0, X(M))), W;
|
491
491
|
}, e.unstable_shouldYield = te, e.unstable_wrapCallback = function(W) {
|
492
492
|
var ue = p;
|
493
493
|
return function() {
|
@@ -5787,7 +5787,7 @@ const J_ = (e) => e && e.stack && e.message, tf = (...e) => {
|
|
5787
5787
|
locale: De(() => o.programTheme.intl.locale),
|
5788
5788
|
isTestMode: De(() => o.programTheme.isTestMode),
|
5789
5789
|
openOrgSearchEnabled: De(() => o.programTheme.openOrgSearchEnabled),
|
5790
|
-
jslibVerActual: De(() => "2.113.0-alpha.
|
5790
|
+
jslibVerActual: De(() => "2.113.0-alpha.2", "?"),
|
5791
5791
|
...r
|
5792
5792
|
};
|
5793
5793
|
}
|
@@ -6741,21 +6741,21 @@ function PD(e, t, r, {
|
|
6741
6741
|
} = T, Ye = ci(T, wD);
|
6742
6742
|
return [T.context, Ue, Ye];
|
6743
6743
|
}, [T]), te = x.useMemo(() => O && O.Consumer && // @ts-ignore
|
6744
|
-
uD.isContextConsumer(/* @__PURE__ */ x.createElement(O.Consumer, null)) ? O : c, [O, c]), se = x.useContext(te), he = !!T.store && !!T.store.getState && !!T.store.dispatch, G = !!se && !!se.store,
|
6744
|
+
uD.isContextConsumer(/* @__PURE__ */ x.createElement(O.Consumer, null)) ? O : c, [O, c]), se = x.useContext(te), he = !!T.store && !!T.store.getState && !!T.store.dispatch, G = !!se && !!se.store, Z = he ? T.store : se.store, X = G ? se.getServerState : Z.getState, oe = x.useMemo(() => fD(Z.dispatch, S), [Z]), [W, ue] = x.useMemo(() => {
|
6745
6745
|
if (!g) return MD;
|
6746
|
-
const Ue = qx(
|
6746
|
+
const Ue = qx(Z, he ? void 0 : se.subscription), Ye = Ue.notifyNestedSubs.bind(Ue);
|
6747
6747
|
return [Ue, Ye];
|
6748
|
-
}, [
|
6748
|
+
}, [Z, he, se]), Y = x.useMemo(() => he ? se : wt({}, se, {
|
6749
6749
|
subscription: W
|
6750
|
-
}), [he, se, W]), J = x.useRef(), ee = x.useRef(U),
|
6750
|
+
}), [he, se, W]), J = x.useRef(), ee = x.useRef(U), Q = x.useRef(), K = x.useRef(!1);
|
6751
6751
|
x.useRef(!1);
|
6752
6752
|
const P = x.useRef(!1), Me = x.useRef();
|
6753
6753
|
nf(() => (P.current = !0, () => {
|
6754
6754
|
P.current = !1;
|
6755
6755
|
}), []);
|
6756
|
-
const Se = x.useMemo(() => () =>
|
6756
|
+
const Se = x.useMemo(() => () => Q.current && U === ee.current ? Q.current : oe(Z.getState(), U), [Z, U]), Re = x.useMemo(() => (Ye) => W ? xD(
|
6757
6757
|
g,
|
6758
|
-
|
6758
|
+
Z,
|
6759
6759
|
W,
|
6760
6760
|
// @ts-ignore
|
6761
6761
|
oe,
|
@@ -6763,12 +6763,12 @@ function PD(e, t, r, {
|
|
6763
6763
|
J,
|
6764
6764
|
K,
|
6765
6765
|
P,
|
6766
|
-
|
6766
|
+
Q,
|
6767
6767
|
ue,
|
6768
6768
|
Ye
|
6769
6769
|
) : () => {
|
6770
6770
|
}, [W]);
|
6771
|
-
ED(CD, [ee, J, K, U,
|
6771
|
+
ED(CD, [ee, J, K, U, Q, ue]);
|
6772
6772
|
let ze;
|
6773
6773
|
try {
|
6774
6774
|
ze = Yx(
|
@@ -6777,7 +6777,7 @@ function PD(e, t, r, {
|
|
6777
6777
|
// TODO This is incredibly hacky. We've already processed the store update and calculated new child props,
|
6778
6778
|
// TODO and we're just passing that through so it triggers a re-render for us rather than relying on `uSES`.
|
6779
6779
|
Se,
|
6780
|
-
|
6780
|
+
X ? () => oe(X(), U) : Se
|
6781
6781
|
);
|
6782
6782
|
} catch (Ue) {
|
6783
6783
|
throw Me.current && (Ue.message += `
|
@@ -6787,7 +6787,7 @@ ${Me.current.stack}
|
|
6787
6787
|
`), Ue;
|
6788
6788
|
}
|
6789
6789
|
nf(() => {
|
6790
|
-
Me.current = void 0,
|
6790
|
+
Me.current = void 0, Q.current = void 0, J.current = ze;
|
6791
6791
|
});
|
6792
6792
|
const je = x.useMemo(() => (
|
6793
6793
|
// @ts-ignore
|
@@ -7050,7 +7050,7 @@ const LD = function() {
|
|
7050
7050
|
options: E.options,
|
7051
7051
|
location: j()
|
7052
7052
|
};
|
7053
|
-
}, G = "selectordinal",
|
7053
|
+
}, G = "selectordinal", Z = { type: "literal", value: "selectordinal", description: '"selectordinal"' }, X = function(E) {
|
7054
7054
|
return {
|
7055
7055
|
type: E.type,
|
7056
7056
|
ordinal: !0,
|
@@ -7071,7 +7071,7 @@ const LD = function() {
|
|
7071
7071
|
value: k,
|
7072
7072
|
location: j()
|
7073
7073
|
};
|
7074
|
-
},
|
7074
|
+
}, Q = "offset:", K = { type: "literal", value: "offset:", description: '"offset:"' }, P = function(E) {
|
7075
7075
|
return E;
|
7076
7076
|
}, Me = function(E, k) {
|
7077
7077
|
return {
|
@@ -7228,7 +7228,7 @@ const LD = function() {
|
|
7228
7228
|
}
|
7229
7229
|
function qn() {
|
7230
7230
|
var E, k, q, ne, ge, Te;
|
7231
|
-
return E = $, n.substr($, 13) === G ? (k = G, $ += 13) : (k = o, v === 0 && ae(
|
7231
|
+
return E = $, n.substr($, 13) === G ? (k = G, $ += 13) : (k = o, v === 0 && ae(Z)), k !== o ? (q = C(), q !== o ? (n.charCodeAt($) === 44 ? (ne = h, $++) : (ne = o, v === 0 && ae(I)), ne !== o ? (ge = C(), ge !== o ? (Te = hn(), Te !== o ? (dt = E, k = X(Te), E = k) : ($ = E, E = o)) : ($ = E, E = o)) : ($ = E, E = o)) : ($ = E, E = o)) : ($ = E, E = o), E;
|
7232
7232
|
}
|
7233
7233
|
function Wr() {
|
7234
7234
|
var E, k, q, ne, ge, Te, $e;
|
@@ -7262,7 +7262,7 @@ const LD = function() {
|
|
7262
7262
|
}
|
7263
7263
|
function Ns() {
|
7264
7264
|
var E, k, q, ne;
|
7265
|
-
return E = $, n.substr($, 7) ===
|
7265
|
+
return E = $, n.substr($, 7) === Q ? (k = Q, $ += 7) : (k = o, v === 0 && ae(K)), k !== o ? (q = C(), q !== o ? (ne = ie(), ne !== o ? (dt = E, k = P(ne), E = k) : ($ = E, E = o)) : ($ = E, E = o)) : ($ = E, E = o), E;
|
7266
7266
|
}
|
7267
7267
|
function hn() {
|
7268
7268
|
var E, k, q, ne, ge;
|
@@ -8744,9 +8744,9 @@ var T1 = { exports: {} };
|
|
8744
8744
|
}));
|
8745
8745
|
}
|
8746
8746
|
if (I)
|
8747
|
-
for (var
|
8748
|
-
var
|
8749
|
-
G && G.enumerable || (T[
|
8747
|
+
for (var Z = Object.getOwnPropertyNames(M), U = 0; U < Z.length; U++) {
|
8748
|
+
var X = Z[U], G = Object.getOwnPropertyDescriptor(M, X);
|
8749
|
+
G && G.enumerable || (T[X] = w(M[X], N - 1), Object.defineProperty(T, X, {
|
8750
8750
|
enumerable: !1
|
8751
8751
|
}));
|
8752
8752
|
}
|
@@ -9539,7 +9539,7 @@ These messages will override existing messages of the same key for "en-US" local
|
|
9539
9539
|
] }), L1 = () => `${Le().restApi.serviceUrl}${Le().restApi.resources.verification}`, kF = (e) => `${L1()}${e}`, AF = () => L1(), _F = (e, t = null) => {
|
9540
9540
|
const r = `${Le().restApi.serviceUrl}${Le().restApi.resources.program.base}${e}/${Le().restApi.resources.program.theme}`;
|
9541
9541
|
return t ? `${r}?locale=${t}` : `${r}`;
|
9542
|
-
}, OF = (e) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, DF = (e) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, F1 = (e, t) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, LF = (e, t) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, BW = (e, t, r) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, U1 = () => "2.113.0-alpha.
|
9542
|
+
}, OF = (e) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`, DF = (e) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`, F1 = (e, t) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`, LF = (e, t) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/step/idCheckLoop/getDocumentTypesForCountries?countries=${t}`, BW = (e, t, r) => `${Le().restApi.serviceUrl}rest/v2/verification/${e}/barcode?rewardKey=${t}&symbology=${r}`, U1 = () => "2.113.0-alpha.2", FF = () => window.location.href, $1 = () => {
|
9543
9543
|
try {
|
9544
9544
|
const e = new URLSearchParams(window.location.search);
|
9545
9545
|
if (e.get(Co))
|
@@ -13569,9 +13569,9 @@ var yT = { exports: {} };
|
|
13569
13569
|
v(z(_));
|
13570
13570
|
}, G = function(v) {
|
13571
13571
|
v(!!window.HTMLElement.prototype.addBehavior);
|
13572
|
-
},
|
13572
|
+
}, Z = function(v) {
|
13573
13573
|
v(!!window.openDatabase);
|
13574
|
-
},
|
13574
|
+
}, X = function(v, _) {
|
13575
13575
|
v(le(_));
|
13576
13576
|
}, oe = function(v, _) {
|
13577
13577
|
v(Ee(_));
|
@@ -13597,7 +13597,7 @@ var yT = { exports: {} };
|
|
13597
13597
|
v();
|
13598
13598
|
}, ee = function(v) {
|
13599
13599
|
v(we());
|
13600
|
-
},
|
13600
|
+
}, Q = function(v) {
|
13601
13601
|
v(ke());
|
13602
13602
|
}, K = function(v) {
|
13603
13603
|
v(at());
|
@@ -14441,8 +14441,8 @@ var yT = { exports: {} };
|
|
14441
14441
|
{ key: "localStorage", getData: se },
|
14442
14442
|
{ key: "indexedDb", getData: he },
|
14443
14443
|
{ key: "addBehavior", getData: G },
|
14444
|
-
{ key: "openDatabase", getData:
|
14445
|
-
{ key: "cpuClass", getData:
|
14444
|
+
{ key: "openDatabase", getData: Z },
|
14445
|
+
{ key: "cpuClass", getData: X },
|
14446
14446
|
{ key: "platform", getData: oe },
|
14447
14447
|
{ key: "doNotTrack", getData: W },
|
14448
14448
|
{ key: "plugins", getData: ze },
|
@@ -14450,7 +14450,7 @@ var yT = { exports: {} };
|
|
14450
14450
|
{ key: "webgl", getData: Y },
|
14451
14451
|
{ key: "webglVendorAndRenderer", getData: J },
|
14452
14452
|
{ key: "adBlock", getData: ee },
|
14453
|
-
{ key: "hasLiedLanguages", getData:
|
14453
|
+
{ key: "hasLiedLanguages", getData: Q },
|
14454
14454
|
{ key: "hasLiedResolution", getData: K },
|
14455
14455
|
{ key: "hasLiedOs", getData: P },
|
14456
14456
|
{ key: "hasLiedBrowser", getData: Me },
|
@@ -16378,11 +16378,11 @@ var jT = { initialize: function(e, t, r, n, a) {
|
|
16378
16378
|
let d = e, p = l.hash;
|
16379
16379
|
const m = EV(n.localStorage, o), g = UT(n, d, l), h = l.sendEvents && !l.diagnosticOptOut, I = h ? xh.DiagnosticId(d) : null, b = h ? xh.DiagnosticsAccumulator((/* @__PURE__ */ new Date()).getTime()) : null, y = h ? xh.DiagnosticsManager(n, m, b, g, d, l, I) : null, S = NV(n, l, d, b), w = l.eventProcessor || SV(n, l, d, b, s, g), M = OV(n, l, d);
|
16380
16380
|
let N, T, O, A = {}, U = l.streaming, te = !1, se = !1, he = !0;
|
16381
|
-
const G = l.stateProvider,
|
16381
|
+
const G = l.stateProvider, Z = DV(null, function(R) {
|
16382
16382
|
(function(D) {
|
16383
16383
|
G || D && W({ kind: "identify", context: D, creationDate: (/* @__PURE__ */ new Date()).getTime() });
|
16384
|
-
})(R), u.hasListeners(Nc.clientIdentityChanged) && u.onIdentityChanged(
|
16385
|
-
}),
|
16384
|
+
})(R), u.hasListeners(Nc.clientIdentityChanged) && u.onIdentityChanged(Z.getContext());
|
16385
|
+
}), X = new UV(m), oe = m.isEnabled() ? MV(m, d, p, Z) : null;
|
16386
16386
|
function W(R) {
|
16387
16387
|
d && (G && G.enqueueEvent && G.enqueueEvent(R) || (R.context ? (he = !1, !c || se || n.isDoNotTrack() || (o.debug(Ze.debugEnqueueingEvent(R.kind)), w.enqueue(R))) : he && (o.warn(Ze.eventWithoutContext()), he = !1)));
|
16388
16388
|
}
|
@@ -16393,26 +16393,26 @@ var jT = { initialize: function(e, t, r, n, a) {
|
|
16393
16393
|
u.hasListeners(Nc.flagDetailsChanged) && u.onFlags(Object.entries(A).map(([R, D]) => ({ key: R, detail: K(D) })).reduce((R, D) => (R[D.key] = D.detail, R), {}));
|
16394
16394
|
}
|
16395
16395
|
function J(R, D, z, pe) {
|
16396
|
-
const le =
|
16396
|
+
const le = Z.getContext(), Ee = /* @__PURE__ */ new Date(), me = { kind: "feature", key: R, context: le, value: D ? D.value : null, variation: D ? D.variationIndex : null, default: z, creationDate: Ee.getTime() }, Ne = A[R];
|
16397
16397
|
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);
|
16398
16398
|
}
|
16399
16399
|
function ee(R) {
|
16400
16400
|
return WV(R, !1) ? Promise.resolve(R) : Promise.reject(new jt.LDInvalidUserError(Ze.invalidContext()));
|
16401
16401
|
}
|
16402
|
-
function
|
16402
|
+
function Q(R, D, z, pe, le, Ee) {
|
16403
16403
|
var ve;
|
16404
16404
|
let me, Ne;
|
16405
16405
|
return A && Qe.objectHasOwnProperty(A, R) && A[R] && !A[R].deleted ? (Ne = A[R], me = K(Ne), Ne.value !== null && Ne.value !== void 0 || (me.value = D)) : me = { value: D, variationIndex: null, reason: { kind: "ERROR", errorKind: "FLAG_NOT_FOUND" } }, z && (le || ((ve = Ne == null ? void 0 : Ne.prerequisites) == null || ve.forEach((xe) => {
|
16406
|
-
|
16406
|
+
Q(xe, void 0, z, !1, !1, !1);
|
16407
16407
|
})), J(R, me, D, pe)), !le && Ee && function(xe, He) {
|
16408
|
-
u.hasListeners(Nc.flagUsed) && u.onFlagUsed(xe, He,
|
16408
|
+
u.hasListeners(Nc.flagUsed) && u.onFlagUsed(xe, He, Z.getContext());
|
16409
16409
|
}(R, me), me;
|
16410
16410
|
}
|
16411
16411
|
function K(R) {
|
16412
16412
|
return { value: R.value, variationIndex: R.variation === void 0 ? null : R.variation, reason: R.reason || null };
|
16413
16413
|
}
|
16414
16414
|
function P() {
|
16415
|
-
if (T = !0, !
|
16415
|
+
if (T = !0, !Z.getContext()) return;
|
16416
16416
|
const R = (D) => {
|
16417
16417
|
try {
|
16418
16418
|
return JSON.parse(D);
|
@@ -16420,11 +16420,11 @@ var jT = { initialize: function(e, t, r, n, a) {
|
|
16420
16420
|
return void s.maybeReportError(new jt.LDInvalidDataError(Ze.invalidData()));
|
16421
16421
|
}
|
16422
16422
|
};
|
16423
|
-
S.connect(
|
16423
|
+
S.connect(Z.getContext(), p, { ping: function() {
|
16424
16424
|
o.debug(Ze.debugStreamPing());
|
16425
|
-
const D =
|
16425
|
+
const D = Z.getContext();
|
16426
16426
|
M.fetchFlagSettings(D, p).then((z) => {
|
16427
|
-
Qe.deepEquals(D,
|
16427
|
+
Qe.deepEquals(D, Z.getContext()) && Se(z || {});
|
16428
16428
|
}).catch((z) => {
|
16429
16429
|
s.maybeReportError(new jt.LDFlagFetchError(Ze.errorFetchingFlags(z)));
|
16430
16430
|
});
|
@@ -16495,19 +16495,19 @@ var jT = { initialize: function(e, t, r, n, a) {
|
|
16495
16495
|
}(l.bootstrap)), G) {
|
16496
16496
|
const R = G.getInitialState();
|
16497
16497
|
R ? Ke(R) : G.on("init", Ke), G.on("update", function(D) {
|
16498
|
-
D.context &&
|
16498
|
+
D.context && Z.setContext(D.context), D.flags && Se(D.flags);
|
16499
16499
|
});
|
16500
16500
|
} else (function() {
|
16501
|
-
return e ?
|
16501
|
+
return e ? X.processContext(t).then(ee).then((R) => (Z.setContext(R), typeof l.bootstrap == "object" ? Ue() : N ? oe.loadFlags().then((D) => D == null ? (A = {}, M.fetchFlagSettings(Z.getContext(), p).then((z) => Se(z || {})).then(Ue).catch((z) => {
|
16502
16502
|
Ye(new jt.LDFlagFetchError(Ze.errorFetchingFlags(z)));
|
16503
|
-
})) : (A = D, Qe.onNextTick(Ue), M.fetchFlagSettings(
|
16503
|
+
})) : (A = D, Qe.onNextTick(Ue), M.fetchFlagSettings(Z.getContext(), p).then((z) => Se(z)).catch((z) => s.maybeReportError(z)))) : M.fetchFlagSettings(Z.getContext(), p).then((D) => {
|
16504
16504
|
A = D || {}, Y(), Ue();
|
16505
16505
|
}).catch((D) => {
|
16506
16506
|
A = {}, Ye(D);
|
16507
16507
|
}))) : Promise.reject(new jt.LDInvalidEnvironmentIdError(Ze.environmentNotSpecified()));
|
16508
16508
|
})().catch(Ye);
|
16509
16509
|
function Ke(R) {
|
16510
|
-
d = R.environment,
|
16510
|
+
d = R.environment, Z.setContext(R.context), A = { ...R.flags }, Qe.onNextTick(Ue);
|
16511
16511
|
}
|
16512
16512
|
function Ue() {
|
16513
16513
|
o.info(Ze.clientInitialized()), te = !0, ze(), i.signalSuccess();
|
@@ -16531,20 +16531,20 @@ var jT = { initialize: function(e, t, r, n, a) {
|
|
16531
16531
|
if (se) return Qe.wrapPromiseCallback(Promise.resolve({}), z);
|
16532
16532
|
if (G) return o.warn(Ze.identifyDisabled()), Qe.wrapPromiseCallback(Promise.resolve(Qe.transformVersionedValuesToValues(A)), z);
|
16533
16533
|
const pe = N && oe ? oe.clearFlags() : Promise.resolve();
|
16534
|
-
return Qe.wrapPromiseCallback(pe.then(() =>
|
16534
|
+
return Qe.wrapPromiseCallback(pe.then(() => X.processContext(R)).then(ee).then((le) => M.fetchFlagSettings(le, D).then((Ee) => {
|
16535
16535
|
const me = Qe.transformVersionedValuesToValues(Ee);
|
16536
|
-
return
|
16536
|
+
return Z.setContext(le), p = D, Ee ? Se(Ee).then(() => me) : me;
|
16537
16537
|
})).then((le) => (T && P(), le)).catch((le) => (s.maybeReportError(le), Promise.reject(le))), z);
|
16538
16538
|
}, getContext: function() {
|
16539
|
-
return
|
16539
|
+
return Z.getContext();
|
16540
16540
|
}, variation: function(R, D) {
|
16541
|
-
return
|
16541
|
+
return Q(R, D, !0, !1, !1, !0).value;
|
16542
16542
|
}, variationDetail: function(R, D) {
|
16543
|
-
return
|
16543
|
+
return Q(R, D, !0, !0, !1, !0);
|
16544
16544
|
}, track: function(R, D, z) {
|
16545
16545
|
if (typeof R != "string") return void s.maybeReportError(new jt.LDInvalidEventKeyError(Ze.unknownCustomEventKey(R)));
|
16546
16546
|
z !== void 0 && typeof z != "number" && o.warn(Ze.invalidMetricValue(typeof z)), n.customEventFilter && !n.customEventFilter(R) && o.warn(Ze.unknownCustomEventKey(R));
|
16547
|
-
const pe =
|
16547
|
+
const pe = Z.getContext(), le = { kind: "custom", key: R, context: pe, url: n.getCurrentUrl(), creationDate: (/* @__PURE__ */ new Date()).getTime() };
|
16548
16548
|
pe && pe.anonymous && (le.contextKind = pe.anonymous ? "anonymousUser" : "user"), D != null && (le.data = D), z != null && (le.metricValue = z), W(le);
|
16549
16549
|
}, on: function(R, D, z) {
|
16550
16550
|
je(R) ? (O = !0, te && ze(), s.on(R, D, z)) : s.on(...arguments);
|
@@ -16563,7 +16563,7 @@ var jT = { initialize: function(e, t, r, n, a) {
|
|
16563
16563
|
}, allFlags: function() {
|
16564
16564
|
const R = {};
|
16565
16565
|
if (!A) return R;
|
16566
|
-
for (const D in A) Qe.objectHasOwnProperty(A, D) && !A[D].deleted && (R[D] =
|
16566
|
+
for (const D in A) Qe.objectHasOwnProperty(A, D) && !A[D].deleted && (R[D] = Q(D, null, !l.sendEventsOnlyForVariation, !1, !0, !1).value);
|
16567
16567
|
return R;
|
16568
16568
|
}, close: function(R) {
|
16569
16569
|
if (se) return Qe.wrapPromiseCallback(Promise.resolve(), R);
|
@@ -16573,7 +16573,7 @@ var jT = { initialize: function(e, t, r, n, a) {
|
|
16573
16573
|
if (Me(), y && y.stop(), c) return w.stop(), w.flush();
|
16574
16574
|
}).then(D).catch(D);
|
16575
16575
|
return Qe.wrapPromiseCallback(z, R);
|
16576
|
-
} }, options: l, emitter: s, ident:
|
16576
|
+
} }, options: l, emitter: s, ident: Z, logger: o, requestor: M, start: function() {
|
16577
16577
|
c && (y && y.start(), w.start());
|
16578
16578
|
}, enqueueEvent: W, getFlagsInternal: function() {
|
16579
16579
|
return A;
|
@@ -20696,16 +20696,16 @@ const vM = (e) => typeof e == "object" && e != null && e.nodeType === 1, bM = (e
|
|
20696
20696
|
let U = S - T, te = s === "center" ? N + y / 2 - A + O : s === "end" ? w + O : N - A;
|
20697
20697
|
const se = [];
|
20698
20698
|
for (let he = 0; he < d.length; he++) {
|
20699
|
-
const G = d[he], { height:
|
20699
|
+
const G = d[he], { height: Z, width: X, top: oe, right: W, bottom: ue, left: Y } = G.getBoundingClientRect();
|
20700
20700
|
if (S >= 0 && N >= 0 && M <= g && w <= m && (G === c && !$c(G) || S >= oe && M <= ue && N >= Y && w <= W)) return se;
|
20701
|
-
const J = getComputedStyle(G), ee = parseInt(J.borderLeftWidth, 10),
|
20701
|
+
const J = getComputedStyle(G), ee = parseInt(J.borderLeftWidth, 10), Q = parseInt(J.borderTopWidth, 10), K = parseInt(J.borderRightWidth, 10), P = parseInt(J.borderBottomWidth, 10);
|
20702
20702
|
let Me = 0, Se = 0;
|
20703
|
-
const Re = "offsetWidth" in G ? G.offsetWidth - G.clientWidth - ee - K : 0, ze = "offsetHeight" in G ? G.offsetHeight - G.clientHeight -
|
20704
|
-
if (c === G) Me = jc(I, I + g, g,
|
20703
|
+
const Re = "offsetWidth" in G ? G.offsetWidth - G.clientWidth - ee - K : 0, ze = "offsetHeight" in G ? G.offsetHeight - G.clientHeight - Q - P : 0, je = "offsetWidth" in G ? G.offsetWidth === 0 ? 0 : X / G.offsetWidth : 0, Ke = "offsetHeight" in G ? G.offsetHeight === 0 ? 0 : Z / G.offsetHeight : 0;
|
20704
|
+
if (c === G) Me = jc(I, I + g, g, Q, P, I + U, I + U + b, b), Se = s === "start" ? te : s === "center" ? te - m / 2 : s === "end" ? te - m : jc(h, h + m, m, ee, K, h + te, h + te + y, y), Me = Math.max(0, Me + I), Se = Math.max(0, Se + h);
|
20705
20705
|
else {
|
20706
|
-
Me = jc(oe, ue,
|
20706
|
+
Me = jc(oe, ue, Z, Q, P + ze, U, U + b, b), Se = s === "start" ? te - Y - ee : s === "center" ? te - (Y + X / 2) + Re / 2 : s === "end" ? te - W + K + Re : jc(Y, W, X, ee, K + Re, te, te + y, y);
|
20707
20707
|
const { scrollLeft: Ue, scrollTop: Ye } = G;
|
20708
|
-
Me = Ke === 0 ? 0 : Math.max(0, Math.min(Ye + Me / Ke, G.scrollHeight -
|
20708
|
+
Me = Ke === 0 ? 0 : Math.max(0, Math.min(Ye + Me / Ke, G.scrollHeight - Z / Ke + ze)), Se = je === 0 ? 0 : Math.max(0, Math.min(Ue + Se / je, G.scrollWidth - X / je + Re)), U += Ye - Me, te += Ue - Se;
|
20709
20709
|
}
|
20710
20710
|
se.push({ el: G, top: Me, left: Se });
|
20711
20711
|
}
|
@@ -21475,47 +21475,47 @@ function ls(e) {
|
|
21475
21475
|
}, [u, a]);
|
21476
21476
|
var A = x.useMemo(function() {
|
21477
21477
|
return {
|
21478
|
-
ArrowDown: function(
|
21479
|
-
|
21478
|
+
ArrowDown: function(Q) {
|
21479
|
+
Q.preventDefault(), l({
|
21480
21480
|
type: V0,
|
21481
|
-
altKey:
|
21481
|
+
altKey: Q.altKey
|
21482
21482
|
});
|
21483
21483
|
},
|
21484
|
-
ArrowUp: function(
|
21485
|
-
|
21484
|
+
ArrowUp: function(Q) {
|
21485
|
+
Q.preventDefault(), l({
|
21486
21486
|
type: B0,
|
21487
|
-
altKey:
|
21487
|
+
altKey: Q.altKey
|
21488
21488
|
});
|
21489
21489
|
},
|
21490
|
-
Home: function(
|
21491
|
-
w.current.state.isOpen && (
|
21490
|
+
Home: function(Q) {
|
21491
|
+
w.current.state.isOpen && (Q.preventDefault(), l({
|
21492
21492
|
type: z0
|
21493
21493
|
}));
|
21494
21494
|
},
|
21495
|
-
End: function(
|
21496
|
-
w.current.state.isOpen && (
|
21495
|
+
End: function(Q) {
|
21496
|
+
w.current.state.isOpen && (Q.preventDefault(), l({
|
21497
21497
|
type: G0
|
21498
21498
|
}));
|
21499
21499
|
},
|
21500
|
-
Escape: function(
|
21500
|
+
Escape: function(Q) {
|
21501
21501
|
var K = w.current.state;
|
21502
|
-
(K.isOpen || K.inputValue || K.selectedItem || K.highlightedIndex > -1) && (
|
21502
|
+
(K.isOpen || K.inputValue || K.selectedItem || K.highlightedIndex > -1) && (Q.preventDefault(), l({
|
21503
21503
|
type: H0
|
21504
21504
|
}));
|
21505
21505
|
},
|
21506
|
-
Enter: function(
|
21506
|
+
Enter: function(Q) {
|
21507
21507
|
var K = w.current.state;
|
21508
|
-
!K.isOpen ||
|
21508
|
+
!K.isOpen || Q.which === 229 || (Q.preventDefault(), l({
|
21509
21509
|
type: q0
|
21510
21510
|
}));
|
21511
21511
|
},
|
21512
|
-
PageUp: function(
|
21513
|
-
w.current.state.isOpen && (
|
21512
|
+
PageUp: function(Q) {
|
21513
|
+
w.current.state.isOpen && (Q.preventDefault(), l({
|
21514
21514
|
type: W0
|
21515
21515
|
}));
|
21516
21516
|
},
|
21517
|
-
PageDown: function(
|
21518
|
-
w.current.state.isOpen && (
|
21517
|
+
PageDown: function(Q) {
|
21518
|
+
w.current.state.isOpen && (Q.preventDefault(), l({
|
21519
21519
|
type: K0
|
21520
21520
|
}));
|
21521
21521
|
}
|
@@ -21525,8 +21525,8 @@ function ls(e) {
|
|
21525
21525
|
id: y.labelId,
|
21526
21526
|
htmlFor: y.inputId
|
21527
21527
|
}, ee);
|
21528
|
-
}, [y]), te = x.useCallback(function(ee,
|
21529
|
-
var K, P = ee === void 0 ? {} : ee, Me = P.onMouseLeave, Se = P.refKey, Re = Se === void 0 ? "ref" : Se, ze = P.ref, je = ci(P, NH), Ke =
|
21528
|
+
}, [y]), te = x.useCallback(function(ee, Q) {
|
21529
|
+
var K, P = ee === void 0 ? {} : ee, Me = P.onMouseLeave, Se = P.refKey, Re = Se === void 0 ? "ref" : Se, ze = P.ref, je = ci(P, NH), Ke = Q === void 0 ? {} : Q;
|
21530
21530
|
return Ke.suppressRefError, wt((K = {}, K[Re] = Vc(ze, function(Ue) {
|
21531
21531
|
m.current = Ue;
|
21532
21532
|
}), K.id = y.menuId, K.role = "listbox", K["aria-labelledby"] = je && je["aria-label"] ? void 0 : "" + y.labelId, K.onMouseLeave = wo(Me, function() {
|
@@ -21535,7 +21535,7 @@ function ls(e) {
|
|
21535
21535
|
});
|
21536
21536
|
}), K), je);
|
21537
21537
|
}, [l, O, y]), se = x.useCallback(function(ee) {
|
21538
|
-
var
|
21538
|
+
var Q, K, P = ee === void 0 ? {} : ee, Me = P.item, Se = P.index, Re = P.refKey, ze = Re === void 0 ? "ref" : Re, je = P.ref, Ke = P.onMouseMove, Ue = P.onMouseDown, Ye = P.onClick;
|
21539
21539
|
P.onPress;
|
21540
21540
|
var tt = P.disabled, R = ci(P, kH);
|
21541
21541
|
tt !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');
|
@@ -21553,29 +21553,29 @@ function ls(e) {
|
|
21553
21553
|
}, ke = function(Wt) {
|
21554
21554
|
return Wt.preventDefault();
|
21555
21555
|
};
|
21556
|
-
return wt((
|
21556
|
+
return wt((Q = {}, Q[ze] = Vc(je, function(at) {
|
21557
21557
|
at && (g.current[y.getItemId(me)] = at);
|
21558
|
-
}),
|
21558
|
+
}), Q["aria-disabled"] = Ne, Q["aria-selected"] = me === pe.highlightedIndex, Q.id = y.getItemId(me), Q.role = "option", Q), !Ne && (K = {}, K[ve] = wo(xe, we), K), {
|
21559
21559
|
onMouseMove: wo(Ke, He),
|
21560
21560
|
onMouseDown: wo(Ue, ke)
|
21561
21561
|
}, R);
|
21562
21562
|
}, [l, y, w, T, N]), he = x.useCallback(function(ee) {
|
21563
|
-
var
|
21563
|
+
var Q, K = ee === void 0 ? {} : ee, P = K.onClick;
|
21564
21564
|
K.onPress;
|
21565
21565
|
var Me = K.refKey, Se = Me === void 0 ? "ref" : Me, Re = K.ref, ze = ci(K, AH), je = w.current.state, Ke = function() {
|
21566
21566
|
l({
|
21567
21567
|
type: gR
|
21568
21568
|
});
|
21569
21569
|
};
|
21570
|
-
return wt((
|
21570
|
+
return wt((Q = {}, Q[Se] = Vc(Re, function(Ue) {
|
21571
21571
|
I.current = Ue;
|
21572
|
-
}),
|
21572
|
+
}), Q["aria-controls"] = y.menuId, Q["aria-expanded"] = je.isOpen, Q.id = y.toggleButtonId, Q.tabIndex = -1, Q), !ze.disabled && wt({}, {
|
21573
21573
|
onClick: wo(P, Ke)
|
21574
21574
|
}), ze);
|
21575
|
-
}, [l, w, y]), G = x.useCallback(function(ee,
|
21575
|
+
}, [l, w, y]), G = x.useCallback(function(ee, Q) {
|
21576
21576
|
var K, P = ee === void 0 ? {} : ee, Me = P.onKeyDown, Se = P.onChange, Re = P.onInput, ze = P.onBlur;
|
21577
21577
|
P.onChangeText;
|
21578
|
-
var je = P.onClick, Ke = P.refKey, Ue = Ke === void 0 ? "ref" : Ke, Ye = P.ref, tt = ci(P, _H), R =
|
21578
|
+
var je = P.onClick, Ke = P.refKey, Ue = Ke === void 0 ? "ref" : Ke, Ye = P.ref, tt = ci(P, _H), R = Q === void 0 ? {} : Q;
|
21579
21579
|
R.suppressRefError;
|
21580
21580
|
var D = w.current.state, z = function(He) {
|
21581
21581
|
var we = iH(He);
|
@@ -21605,11 +21605,11 @@ function ls(e) {
|
|
21605
21605
|
return wt((K = {}, K[Ue] = Vc(Ye, function(xe) {
|
21606
21606
|
h.current = xe;
|
21607
21607
|
}), K["aria-activedescendant"] = D.isOpen && D.highlightedIndex > -1 ? y.getItemId(D.highlightedIndex) : "", K["aria-autocomplete"] = "list", K["aria-controls"] = y.menuId, K["aria-expanded"] = D.isOpen, K["aria-labelledby"] = tt && tt["aria-label"] ? void 0 : y.labelId, K.autoComplete = "off", K.id = y.inputId, K.role = "combobox", K.value = D.inputValue, K), Ne, tt);
|
21608
|
-
}, [l, y, a, A, w, T, O]),
|
21608
|
+
}, [l, y, a, A, w, T, O]), Z = x.useCallback(function() {
|
21609
21609
|
l({
|
21610
21610
|
type: yR
|
21611
21611
|
});
|
21612
|
-
}, [l]),
|
21612
|
+
}, [l]), X = x.useCallback(function() {
|
21613
21613
|
l({
|
21614
21614
|
type: bR
|
21615
21615
|
});
|
@@ -21645,9 +21645,9 @@ function ls(e) {
|
|
21645
21645
|
getInputProps: G,
|
21646
21646
|
getToggleButtonProps: he,
|
21647
21647
|
// actions.
|
21648
|
-
toggleMenu:
|
21648
|
+
toggleMenu: Z,
|
21649
21649
|
openMenu: oe,
|
21650
|
-
closeMenu:
|
21650
|
+
closeMenu: X,
|
21651
21651
|
setHighlightedIndex: W,
|
21652
21652
|
setInputValue: Y,
|
21653
21653
|
selectItem: ue,
|
@@ -21765,15 +21765,15 @@ const OH = ({
|
|
21765
21765
|
} = ls({
|
21766
21766
|
id: t,
|
21767
21767
|
items: M,
|
21768
|
-
onInputValueChange({ inputValue:
|
21769
|
-
w(
|
21768
|
+
onInputValueChange({ inputValue: Z }) {
|
21769
|
+
w(Z);
|
21770
21770
|
},
|
21771
|
-
onSelectedItemChange: ({ selectedItem:
|
21771
|
+
onSelectedItemChange: ({ selectedItem: Z }) => l(Z),
|
21772
21772
|
itemToString: EM,
|
21773
21773
|
selectedItem: d && d.value && d.label ? d : void 0,
|
21774
21774
|
defaultHighlightedIndex: 0
|
21775
|
-
}), he = (
|
21776
|
-
typeof i == "function" && i(
|
21775
|
+
}), he = (Z) => {
|
21776
|
+
typeof i == "function" && i(Z);
|
21777
21777
|
}, G = x.useRef(null);
|
21778
21778
|
return x.useEffect(() => {
|
21779
21779
|
Cs(n, G.current);
|
@@ -21783,7 +21783,7 @@ const OH = ({
|
|
21783
21783
|
{
|
21784
21784
|
...N({
|
21785
21785
|
ref: G,
|
21786
|
-
onKeyDown: (
|
21786
|
+
onKeyDown: (Z) => he(Z),
|
21787
21787
|
"aria-labelledby": a
|
21788
21788
|
}),
|
21789
21789
|
autoFocus: p,
|
@@ -21873,29 +21873,29 @@ const jH = ({
|
|
21873
21873
|
{ value: "10", label: t.formatHTMLMessage({ id: "dateTime.october", defaultMessage: "October" }) },
|
21874
21874
|
{ value: "11", label: t.formatHTMLMessage({ id: "dateTime.november", defaultMessage: "November" }) },
|
21875
21875
|
{ value: "12", label: t.formatHTMLMessage({ id: "dateTime.december", defaultMessage: "December" }) }
|
21876
|
-
], M = (
|
21877
|
-
if (M(b,
|
21876
|
+
], M = (X, oe, W) => (!W || W === "") && (!oe || oe === "") && (!X || X === ""), N = (X) => {
|
21877
|
+
if (M(b, X, S)) {
|
21878
21878
|
e("");
|
21879
21879
|
return;
|
21880
21880
|
}
|
21881
|
-
(
|
21882
|
-
const oe = Number.parseInt(
|
21883
|
-
typeof oe == "number" && oe >= 1 && oe <= 12 ? e(`${b}-${Zo(
|
21884
|
-
}, T = (
|
21885
|
-
if (M(b, y,
|
21881
|
+
(X === "" || X === null) && e(`${b}--${S}`);
|
21882
|
+
const oe = Number.parseInt(X, 10);
|
21883
|
+
typeof oe == "number" && oe >= 1 && oe <= 12 ? e(`${b}-${Zo(X)}-${Zo(S)}`) : L.warn(`Value '${oe}' is an invalid month`);
|
21884
|
+
}, T = (X) => {
|
21885
|
+
if (M(b, y, X)) {
|
21886
21886
|
e("");
|
21887
21887
|
return;
|
21888
21888
|
}
|
21889
|
-
|
21890
|
-
const oe = Number.parseInt(
|
21889
|
+
X === "" && e(`${b}-${y}-`);
|
21890
|
+
const oe = Number.parseInt(X, 10);
|
21891
21891
|
typeof oe == "number" && oe >= 1 && oe <= 31 ? e(`${b}-${Zo(y)}-${Zo(oe)}`) : L.warn(`Value '${oe}' is an invalid day`);
|
21892
|
-
}, O = (
|
21893
|
-
if (M(
|
21892
|
+
}, O = (X) => {
|
21893
|
+
if (M(X, y, S)) {
|
21894
21894
|
e("");
|
21895
21895
|
return;
|
21896
21896
|
}
|
21897
|
-
|
21898
|
-
const oe = Number.parseInt(
|
21897
|
+
X === "" && e(`-${y}-${S}`);
|
21898
|
+
const oe = Number.parseInt(X, 10);
|
21899
21899
|
typeof oe == "number" && oe >= 1 ? e(`${oe}-${Zo(y)}-${Zo(S)}`) : L.warn(`Value '${oe}' is an invalid year`);
|
21900
21900
|
}, A = () => {
|
21901
21901
|
e(!S && !y && !b ? "" : `${b}-${Zo(y)}-${Zo(S)}`);
|
@@ -21909,8 +21909,8 @@ const jH = ({
|
|
21909
21909
|
ariaDescribedBy: r ? h : "",
|
21910
21910
|
isErrored: r,
|
21911
21911
|
options: w,
|
21912
|
-
onChange: (
|
21913
|
-
N(
|
21912
|
+
onChange: (X) => {
|
21913
|
+
N(X ? X.value : null);
|
21914
21914
|
},
|
21915
21915
|
placeholder: t.formatHTMLMessage({ id: "dateTime.month", defaultMessage: "Month" }),
|
21916
21916
|
suppressPlaceholder: !1,
|
@@ -21929,7 +21929,7 @@ const jH = ({
|
|
21929
21929
|
min: 1,
|
21930
21930
|
max: 31,
|
21931
21931
|
name: `${g}-day`,
|
21932
|
-
onChange: (
|
21932
|
+
onChange: (X) => T(X.target.value),
|
21933
21933
|
onBlur: A,
|
21934
21934
|
pattern: "\\d*",
|
21935
21935
|
placeholder: t.formatHTMLMessage({ id: "dateTime.day", defaultMessage: "Day" }),
|
@@ -21943,7 +21943,7 @@ const jH = ({
|
|
21943
21943
|
disabled: p,
|
21944
21944
|
autoComplete: m ? `${m}-day` : void 0
|
21945
21945
|
}
|
21946
|
-
),
|
21946
|
+
), Z = /* @__PURE__ */ f.jsx(
|
21947
21947
|
Su,
|
21948
21948
|
{
|
21949
21949
|
className: `${g}__year sid-date__year sid-text-input sid-text-input--required ${r ? "sid-text-input--error" : ""}`,
|
@@ -21960,7 +21960,7 @@ const jH = ({
|
|
21960
21960
|
"aria-labelledby": g,
|
21961
21961
|
"aria-required": n,
|
21962
21962
|
refId: `${l}Year`,
|
21963
|
-
onChange: (
|
21963
|
+
onChange: (X) => O(X.target.value),
|
21964
21964
|
onBlur: A,
|
21965
21965
|
disabled: p,
|
21966
21966
|
autoComplete: m ? `${m}-year` : void 0
|
@@ -21987,7 +21987,7 @@ const jH = ({
|
|
21987
21987
|
he,
|
21988
21988
|
G
|
21989
21989
|
] }),
|
21990
|
-
|
21990
|
+
Z
|
21991
21991
|
] }),
|
21992
21992
|
r && se
|
21993
21993
|
] });
|
@@ -22598,12 +22598,12 @@ const uz = Ey, cz = (e, t, r) => {
|
|
22598
22598
|
id: void 0,
|
22599
22599
|
name: ""
|
22600
22600
|
}));
|
22601
|
-
}, dz = ({
|
22601
|
+
}, dz = ({ onMouseDown: e, disabled: t }) => /* @__PURE__ */ f.jsx(
|
22602
22602
|
"button",
|
22603
22603
|
{
|
22604
22604
|
disabled: t,
|
22605
22605
|
type: "button",
|
22606
|
-
|
22606
|
+
onMouseDown: e,
|
22607
22607
|
className: "sid-input-clear-button",
|
22608
22608
|
"aria-label": "clear text",
|
22609
22609
|
children: /* @__PURE__ */ f.jsx(
|
@@ -22639,13 +22639,13 @@ const uz = Ey, cz = (e, t, r) => {
|
|
22639
22639
|
}) => {
|
22640
22640
|
const [I, b] = x.useState(""), [y, S] = x.useState([]), [w, M] = x.useState(0), [N, T] = x.useState(0), [O, A] = x.useState(!1), [U, te] = x.useState(!0);
|
22641
22641
|
Jf(e);
|
22642
|
-
const se = (
|
22642
|
+
const se = (Q) => Q ? Q.name : "", { isOpen: he, highlightedIndex: G, getMenuProps: Z, getItemProps: X, getInputProps: oe } = ls({
|
22643
22643
|
itemToString: se,
|
22644
22644
|
id: l,
|
22645
22645
|
items: y,
|
22646
|
-
onStateChange: (
|
22647
|
-
onInputValueChange: (
|
22648
|
-
const K =
|
22646
|
+
onStateChange: (Q) => cz(Q, e, u),
|
22647
|
+
onInputValueChange: (Q) => {
|
22648
|
+
const K = Q.inputValue;
|
22649
22649
|
te(!K);
|
22650
22650
|
try {
|
22651
22651
|
N === 0 && T(Date.now()), K.length < I.length && M(w + 1);
|
@@ -22655,14 +22655,14 @@ const uz = Ey, cz = (e, t, r) => {
|
|
22655
22655
|
b(K);
|
22656
22656
|
},
|
22657
22657
|
selectedItem: i,
|
22658
|
-
onSelectedItemChange: ({ selectedItem:
|
22658
|
+
onSelectedItemChange: ({ selectedItem: Q }) => {
|
22659
22659
|
try {
|
22660
22660
|
const K = {
|
22661
22661
|
eventName: Ut.ORG_SELECTED,
|
22662
22662
|
params: {
|
22663
22663
|
[bn.QUERY_LENGTH]: I.length,
|
22664
22664
|
[bn.NUMBER_REWORKS]: w,
|
22665
|
-
[bn.SELECTED_RESULT_RANK]: y.findIndex((P) => P.id ===
|
22665
|
+
[bn.SELECTED_RESULT_RANK]: y.findIndex((P) => P.id === Q.id) + 1,
|
22666
22666
|
[bn.EVENT_DURATION]: Date.now() - N,
|
22667
22667
|
[bn.NUMBER_OF_RESULTS]: y.length
|
22668
22668
|
}
|
@@ -22671,11 +22671,11 @@ const uz = Ey, cz = (e, t, r) => {
|
|
22671
22671
|
} catch (K) {
|
22672
22672
|
L.error(K);
|
22673
22673
|
}
|
22674
|
-
T(0), M(0), e(
|
22674
|
+
T(0), M(0), e(Q);
|
22675
22675
|
}
|
22676
22676
|
}), W = () => {
|
22677
22677
|
try {
|
22678
|
-
const
|
22678
|
+
const Q = {
|
22679
22679
|
eventName: Ut.ASR_SELECTED,
|
22680
22680
|
params: {
|
22681
22681
|
[bn.QUERY_LENGTH]: I.length,
|
@@ -22684,30 +22684,32 @@ const uz = Ey, cz = (e, t, r) => {
|
|
22684
22684
|
[bn.NUMBER_OF_RESULTS]: y.length
|
22685
22685
|
}
|
22686
22686
|
};
|
22687
|
-
co(
|
22688
|
-
} catch (
|
22689
|
-
L.error(
|
22687
|
+
co(Q);
|
22688
|
+
} catch (Q) {
|
22689
|
+
L.error(Q);
|
22690
22690
|
}
|
22691
22691
|
}, ue = x.useRef(null);
|
22692
22692
|
x.useEffect(() => {
|
22693
|
-
Cs("organization", ue.current);
|
22693
|
+
Cs("organization", ue.current), O && ue.current.focus();
|
22694
22694
|
});
|
22695
|
-
const Y = (
|
22696
|
-
A(!0),
|
22697
|
-
}, J = (
|
22698
|
-
|
22695
|
+
const Y = (Q) => {
|
22696
|
+
A(!0), Q.currentTarget.value ? te(!1) : te(!0);
|
22697
|
+
}, J = () => {
|
22698
|
+
A(!1);
|
22699
22699
|
}, ee = () => {
|
22700
22700
|
b(""), e({
|
22701
22701
|
id: void 0,
|
22702
22702
|
name: ""
|
22703
|
-
})
|
22703
|
+
});
|
22704
22704
|
};
|
22705
22705
|
return /* @__PURE__ */ f.jsxs("div", { className: "sid-organization-list", children: [
|
22706
22706
|
/* @__PURE__ */ f.jsx(
|
22707
22707
|
"input",
|
22708
22708
|
{
|
22709
22709
|
...oe({
|
22710
|
-
ref: ue
|
22710
|
+
ref: ue,
|
22711
|
+
onFocus: (Q) => Y(Q),
|
22712
|
+
onBlur: () => J()
|
22711
22713
|
}),
|
22712
22714
|
className: `sid-l-full-width sid-hidden-placeholder sid-text-input ${r}`,
|
22713
22715
|
disabled: a,
|
@@ -22717,21 +22719,19 @@ const uz = Ey, cz = (e, t, r) => {
|
|
22717
22719
|
"aria-controls": "sid-org-list-menu",
|
22718
22720
|
"aria-describedby": h,
|
22719
22721
|
"aria-invalid": g,
|
22720
|
-
"aria-labelledby": `${l}-label
|
22721
|
-
onFocus: (Z) => Y(Z),
|
22722
|
-
onBlur: (Z) => J(Z)
|
22722
|
+
"aria-labelledby": `${l}-label`
|
22723
22723
|
}
|
22724
22724
|
),
|
22725
|
-
O ? /* @__PURE__ */ f.jsx(fz, { disabled: U,
|
22726
|
-
/* @__PURE__ */ f.jsx("div", { ...
|
22725
|
+
O ? /* @__PURE__ */ f.jsx(fz, { disabled: U, onMouseDown: ee }) : null,
|
22726
|
+
/* @__PURE__ */ f.jsx("div", { ...Z(), children: he && I ? /* @__PURE__ */ f.jsx(
|
22727
22727
|
uz,
|
22728
22728
|
{
|
22729
22729
|
countryCode: n,
|
22730
|
-
getItemProps:
|
22730
|
+
getItemProps: X,
|
22731
22731
|
highlightedIndex: G,
|
22732
22732
|
itemToString: se,
|
22733
22733
|
minimumSearchValueLength: o,
|
22734
|
-
onLoaded: (
|
22734
|
+
onLoaded: (Q) => S(Q),
|
22735
22735
|
programId: t,
|
22736
22736
|
orgSearchUrl: c,
|
22737
22737
|
locale: p,
|
@@ -23081,109 +23081,109 @@ var Sz = function(e) {
|
|
23081
23081
|
(function(n) {
|
23082
23082
|
var a = /^\[object .+?Constructor\]$/, o = typeof n == "object" && n && n.Object === Object && n, s = typeof self == "object" && self && self.Object === Object && self, i = o || s || Function("return this")(), l, u = Array.prototype, c = Function.prototype, d = Object.prototype, p = i["__core-js_shared__"], m = (l = /[^.]+$/.exec(p && p.keys && p.keys.IE_PROTO || "")) ? "Symbol(src)_1." + l : "", g = c.toString, h = d.hasOwnProperty, I = d.toString, b = RegExp("^" + g.call(h).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), y = u.splice, S = te(i, "Map"), w = te(Object, "create");
|
23083
23083
|
function M(G) {
|
23084
|
-
var
|
23085
|
-
for (this.clear(); ++
|
23086
|
-
var oe = G[
|
23084
|
+
var Z = -1, X = G ? G.length : 0;
|
23085
|
+
for (this.clear(); ++Z < X; ) {
|
23086
|
+
var oe = G[Z];
|
23087
23087
|
this.set(oe[0], oe[1]);
|
23088
23088
|
}
|
23089
23089
|
}
|
23090
23090
|
function N(G) {
|
23091
|
-
var
|
23092
|
-
for (this.clear(); ++
|
23093
|
-
var oe = G[
|
23091
|
+
var Z = -1, X = G ? G.length : 0;
|
23092
|
+
for (this.clear(); ++Z < X; ) {
|
23093
|
+
var oe = G[Z];
|
23094
23094
|
this.set(oe[0], oe[1]);
|
23095
23095
|
}
|
23096
23096
|
}
|
23097
23097
|
function T(G) {
|
23098
|
-
var
|
23099
|
-
for (this.clear(); ++
|
23100
|
-
var oe = G[
|
23098
|
+
var Z = -1, X = G ? G.length : 0;
|
23099
|
+
for (this.clear(); ++Z < X; ) {
|
23100
|
+
var oe = G[Z];
|
23101
23101
|
this.set(oe[0], oe[1]);
|
23102
23102
|
}
|
23103
23103
|
}
|
23104
|
-
function O(G,
|
23105
|
-
for (var
|
23104
|
+
function O(G, Z) {
|
23105
|
+
for (var X, oe, W = G.length; W--; ) if ((X = G[W][0]) === (oe = Z) || X != X && oe != oe) return W;
|
23106
23106
|
return -1;
|
23107
23107
|
}
|
23108
23108
|
function A(G) {
|
23109
|
-
return !(!he(G) || (
|
23110
|
-
var oe = he(
|
23109
|
+
return !(!he(G) || (Z = G, m && m in Z)) && (function(X) {
|
23110
|
+
var oe = he(X) ? I.call(X) : "";
|
23111
23111
|
return oe == "[object Function]" || oe == "[object GeneratorFunction]";
|
23112
|
-
}(G) || function(
|
23112
|
+
}(G) || function(X) {
|
23113
23113
|
var oe = !1;
|
23114
|
-
if (
|
23115
|
-
oe = !!(
|
23114
|
+
if (X != null && typeof X.toString != "function") try {
|
23115
|
+
oe = !!(X + "");
|
23116
23116
|
} catch {
|
23117
23117
|
}
|
23118
23118
|
return oe;
|
23119
|
-
}(G) ? b : a).test(function(
|
23120
|
-
if (
|
23119
|
+
}(G) ? b : a).test(function(X) {
|
23120
|
+
if (X != null) {
|
23121
23121
|
try {
|
23122
|
-
return g.call(
|
23122
|
+
return g.call(X);
|
23123
23123
|
} catch {
|
23124
23124
|
}
|
23125
23125
|
try {
|
23126
|
-
return
|
23126
|
+
return X + "";
|
23127
23127
|
} catch {
|
23128
23128
|
}
|
23129
23129
|
}
|
23130
23130
|
return "";
|
23131
23131
|
}(G));
|
23132
|
-
var
|
23132
|
+
var Z;
|
23133
23133
|
}
|
23134
|
-
function U(G,
|
23135
|
-
var
|
23136
|
-
return ((oe = typeof (
|
23134
|
+
function U(G, Z) {
|
23135
|
+
var X, oe, W = G.__data__;
|
23136
|
+
return ((oe = typeof (X = Z)) == "string" || oe == "number" || oe == "symbol" || oe == "boolean" ? X !== "__proto__" : X === null) ? W[typeof Z == "string" ? "string" : "hash"] : W.map;
|
23137
23137
|
}
|
23138
|
-
function te(G,
|
23139
|
-
var
|
23138
|
+
function te(G, Z) {
|
23139
|
+
var X = function(oe, W) {
|
23140
23140
|
return oe == null ? void 0 : oe[W];
|
23141
|
-
}(G,
|
23142
|
-
return A(
|
23141
|
+
}(G, Z);
|
23142
|
+
return A(X) ? X : void 0;
|
23143
23143
|
}
|
23144
|
-
function se(G,
|
23145
|
-
if (typeof G != "function" ||
|
23146
|
-
var
|
23147
|
-
var oe = arguments, W =
|
23144
|
+
function se(G, Z) {
|
23145
|
+
if (typeof G != "function" || Z && typeof Z != "function") throw new TypeError("Expected a function");
|
23146
|
+
var X = function() {
|
23147
|
+
var oe = arguments, W = Z ? Z.apply(this, oe) : oe[0], ue = X.cache;
|
23148
23148
|
if (ue.has(W)) return ue.get(W);
|
23149
23149
|
var Y = G.apply(this, oe);
|
23150
|
-
return
|
23150
|
+
return X.cache = ue.set(W, Y), Y;
|
23151
23151
|
};
|
23152
|
-
return
|
23152
|
+
return X.cache = new (se.Cache || T)(), X;
|
23153
23153
|
}
|
23154
23154
|
function he(G) {
|
23155
|
-
var
|
23156
|
-
return !!G && (
|
23155
|
+
var Z = typeof G;
|
23156
|
+
return !!G && (Z == "object" || Z == "function");
|
23157
23157
|
}
|
23158
23158
|
M.prototype.clear = function() {
|
23159
23159
|
this.__data__ = w ? w(null) : {};
|
23160
23160
|
}, M.prototype.delete = function(G) {
|
23161
23161
|
return this.has(G) && delete this.__data__[G];
|
23162
23162
|
}, M.prototype.get = function(G) {
|
23163
|
-
var
|
23163
|
+
var Z = this.__data__;
|
23164
23164
|
if (w) {
|
23165
|
-
var
|
23166
|
-
return
|
23165
|
+
var X = Z[G];
|
23166
|
+
return X === "__lodash_hash_undefined__" ? void 0 : X;
|
23167
23167
|
}
|
23168
|
-
return h.call(
|
23168
|
+
return h.call(Z, G) ? Z[G] : void 0;
|
23169
23169
|
}, M.prototype.has = function(G) {
|
23170
|
-
var
|
23171
|
-
return w ?
|
23172
|
-
}, M.prototype.set = function(G,
|
23173
|
-
return this.__data__[G] = w &&
|
23170
|
+
var Z = this.__data__;
|
23171
|
+
return w ? Z[G] !== void 0 : h.call(Z, G);
|
23172
|
+
}, M.prototype.set = function(G, Z) {
|
23173
|
+
return this.__data__[G] = w && Z === void 0 ? "__lodash_hash_undefined__" : Z, this;
|
23174
23174
|
}, N.prototype.clear = function() {
|
23175
23175
|
this.__data__ = [];
|
23176
23176
|
}, N.prototype.delete = function(G) {
|
23177
|
-
var
|
23178
|
-
return !(
|
23177
|
+
var Z = this.__data__, X = O(Z, G);
|
23178
|
+
return !(X < 0) && (X == Z.length - 1 ? Z.pop() : y.call(Z, X, 1), !0);
|
23179
23179
|
}, N.prototype.get = function(G) {
|
23180
|
-
var
|
23181
|
-
return
|
23180
|
+
var Z = this.__data__, X = O(Z, G);
|
23181
|
+
return X < 0 ? void 0 : Z[X][1];
|
23182
23182
|
}, N.prototype.has = function(G) {
|
23183
23183
|
return O(this.__data__, G) > -1;
|
23184
|
-
}, N.prototype.set = function(G,
|
23185
|
-
var
|
23186
|
-
return oe < 0 ?
|
23184
|
+
}, N.prototype.set = function(G, Z) {
|
23185
|
+
var X = this.__data__, oe = O(X, G);
|
23186
|
+
return oe < 0 ? X.push([G, Z]) : X[oe][1] = Z, this;
|
23187
23187
|
}, T.prototype.clear = function() {
|
23188
23188
|
this.__data__ = { hash: new M(), map: new (S || N)(), string: new M() };
|
23189
23189
|
}, T.prototype.delete = function(G) {
|
@@ -23192,8 +23192,8 @@ var Sz = function(e) {
|
|
23192
23192
|
return U(this, G).get(G);
|
23193
23193
|
}, T.prototype.has = function(G) {
|
23194
23194
|
return U(this, G).has(G);
|
23195
|
-
}, T.prototype.set = function(G,
|
23196
|
-
return U(this, G).set(G,
|
23195
|
+
}, T.prototype.set = function(G, Z) {
|
23196
|
+
return U(this, G).set(G, Z), this;
|
23197
23197
|
}, se.Cache = T, e.exports = se;
|
23198
23198
|
}).call(this, r(3));
|
23199
23199
|
}, function(e, t, r) {
|
@@ -23224,12 +23224,12 @@ var Sz = function(e) {
|
|
23224
23224
|
e.exports = function(y, S, w) {
|
23225
23225
|
var M, N, T, O, A, U, te = 0, se = !1, he = !1, G = !0;
|
23226
23226
|
if (typeof y != "function") throw new TypeError("Expected a function");
|
23227
|
-
function
|
23228
|
-
var ee = M,
|
23229
|
-
return M = N = void 0, te = J, O = y.apply(
|
23227
|
+
function Z(J) {
|
23228
|
+
var ee = M, Q = N;
|
23229
|
+
return M = N = void 0, te = J, O = y.apply(Q, ee);
|
23230
23230
|
}
|
23231
|
-
function
|
23232
|
-
return te = J, A = setTimeout(W, S), se ?
|
23231
|
+
function X(J) {
|
23232
|
+
return te = J, A = setTimeout(W, S), se ? Z(J) : O;
|
23233
23233
|
}
|
23234
23234
|
function oe(J) {
|
23235
23235
|
var ee = J - U;
|
@@ -23239,18 +23239,18 @@ var Sz = function(e) {
|
|
23239
23239
|
var J = h();
|
23240
23240
|
if (oe(J)) return ue(J);
|
23241
23241
|
A = setTimeout(W, function(ee) {
|
23242
|
-
var
|
23243
|
-
return he ? g(
|
23242
|
+
var Q = S - (ee - U);
|
23243
|
+
return he ? g(Q, T - (ee - te)) : Q;
|
23244
23244
|
}(J));
|
23245
23245
|
}
|
23246
23246
|
function ue(J) {
|
23247
|
-
return A = void 0, G && M ?
|
23247
|
+
return A = void 0, G && M ? Z(J) : (M = N = void 0, O);
|
23248
23248
|
}
|
23249
23249
|
function Y() {
|
23250
23250
|
var J = h(), ee = oe(J);
|
23251
23251
|
if (M = arguments, N = this, U = J, ee) {
|
23252
|
-
if (A === void 0) return
|
23253
|
-
if (he) return A = setTimeout(W, S),
|
23252
|
+
if (A === void 0) return X(U);
|
23253
|
+
if (he) return A = setTimeout(W, S), Z(U);
|
23254
23254
|
}
|
23255
23255
|
return A === void 0 && (A = setTimeout(W, S)), O;
|
23256
23256
|
}
|
@@ -23305,8 +23305,8 @@ var Sz = function(e) {
|
|
23305
23305
|
re[++H] = ie;
|
23306
23306
|
}), re;
|
23307
23307
|
}
|
23308
|
-
var
|
23309
|
-
return
|
23308
|
+
var Z, X, oe, W = Array.prototype, ue = Function.prototype, Y = Object.prototype, J = S["__core-js_shared__"], ee = (Z = /[^.]+$/.exec(J && J.keys && J.keys.IE_PROTO || "")) ? "Symbol(src)_1." + Z : "", Q = ue.toString, K = Y.hasOwnProperty, P = Y.toString, Me = RegExp("^" + Q.call(K).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), Se = S.Symbol, Re = S.Uint8Array, ze = Y.propertyIsEnumerable, je = W.splice, Ke = (X = Object.keys, oe = Object, function(C) {
|
23309
|
+
return X(oe(C));
|
23310
23310
|
}), Ue = j(S, "DataView"), Ye = j(S, "Map"), tt = j(S, "Promise"), R = j(S, "Set"), D = j(S, "WeakMap"), z = j(Object, "create"), pe = Be(Ue), le = Be(Ye), Ee = Be(tt), me = Be(R), Ne = Be(D), ve = Se ? Se.prototype : void 0, xe = ve ? ve.valueOf : void 0, He = ve ? ve.toString : void 0;
|
23311
23311
|
function we(C) {
|
23312
23312
|
var H = -1, re = C ? C.length : 0;
|
@@ -23667,7 +23667,7 @@ var Sz = function(e) {
|
|
23667
23667
|
function Be(C) {
|
23668
23668
|
if (C != null) {
|
23669
23669
|
try {
|
23670
|
-
return
|
23670
|
+
return Q.call(C);
|
23671
23671
|
} catch {
|
23672
23672
|
}
|
23673
23673
|
try {
|
@@ -23758,8 +23758,8 @@ var Sz = function(e) {
|
|
23758
23758
|
function o(Y) {
|
23759
23759
|
return function(J) {
|
23760
23760
|
if (Array.isArray(J)) {
|
23761
|
-
for (var ee = 0,
|
23762
|
-
return
|
23761
|
+
for (var ee = 0, Q = new Array(J.length); ee < J.length; ee++) Q[ee] = J[ee];
|
23762
|
+
return Q;
|
23763
23763
|
}
|
23764
23764
|
}(Y) || a(Y) || function() {
|
23765
23765
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
@@ -23776,8 +23776,8 @@ var Sz = function(e) {
|
|
23776
23776
|
}
|
23777
23777
|
function u(Y, J) {
|
23778
23778
|
for (var ee = 0; ee < J.length; ee++) {
|
23779
|
-
var
|
23780
|
-
|
23779
|
+
var Q = J[ee];
|
23780
|
+
Q.enumerable = Q.enumerable || !1, Q.configurable = !0, "value" in Q && (Q.writable = !0), Object.defineProperty(Y, Q.key, Q);
|
23781
23781
|
}
|
23782
23782
|
}
|
23783
23783
|
function c(Y) {
|
@@ -23804,18 +23804,18 @@ var Sz = function(e) {
|
|
23804
23804
|
})(Y);
|
23805
23805
|
}
|
23806
23806
|
function g(Y, J) {
|
23807
|
-
return (g = Object.setPrototypeOf || function(ee,
|
23808
|
-
return ee.__proto__ =
|
23807
|
+
return (g = Object.setPrototypeOf || function(ee, Q) {
|
23808
|
+
return ee.__proto__ = Q, ee;
|
23809
23809
|
})(Y, J);
|
23810
23810
|
}
|
23811
23811
|
r.r(t);
|
23812
23812
|
var h = r(0), I = r.n(h), b = r(5), y = r.n(b), S = r(4), w = r.n(S), M = r(6), N = r.n(M), T = r(2), O = r.n(T), A = r(1), U = r.n(A);
|
23813
23813
|
r(8);
|
23814
23814
|
function te(Y, J) {
|
23815
|
-
return s(Y) || function(ee,
|
23815
|
+
return s(Y) || function(ee, Q) {
|
23816
23816
|
var K = [], P = !0, Me = !1, Se = void 0;
|
23817
23817
|
try {
|
23818
|
-
for (var Re, ze = ee[Symbol.iterator](); !(P = (Re = ze.next()).done) && (K.push(Re.value), !
|
23818
|
+
for (var Re, ze = ee[Symbol.iterator](); !(P = (Re = ze.next()).done) && (K.push(Re.value), !Q || K.length !== Q); P = !0) ;
|
23819
23819
|
} catch (je) {
|
23820
23820
|
Me = !0, Se = je;
|
23821
23821
|
} finally {
|
@@ -23829,13 +23829,13 @@ var Sz = function(e) {
|
|
23829
23829
|
}(Y, J) || i();
|
23830
23830
|
}
|
23831
23831
|
var se = [["Afghanistan", ["asia"], "af", "93"], ["Albania", ["europe"], "al", "355"], ["Algeria", ["africa", "north-africa"], "dz", "213"], ["Andorra", ["europe"], "ad", "376"], ["Angola", ["africa"], "ao", "244"], ["Antigua and Barbuda", ["america", "carribean"], "ag", "1268"], ["Argentina", ["america", "south-america"], "ar", "54", "(..) ........", 0, ["11", "221", "223", "261", "264", "2652", "280", "2905", "291", "2920", "2966", "299", "341", "342", "343", "351", "376", "379", "381", "3833", "385", "387", "388"]], ["Armenia", ["asia", "ex-ussr"], "am", "374", ".. ......"], ["Aruba", ["america", "carribean"], "aw", "297"], ["Australia", ["oceania"], "au", "61", "(..) .... ....", 0, ["2", "3", "4", "7", "8", "02", "03", "04", "07", "08"]], ["Austria", ["europe", "eu-union"], "at", "43"], ["Azerbaijan", ["asia", "ex-ussr"], "az", "994", "(..) ... .. .."], ["Bahamas", ["america", "carribean"], "bs", "1242"], ["Bahrain", ["middle-east"], "bh", "973"], ["Bangladesh", ["asia"], "bd", "880"], ["Barbados", ["america", "carribean"], "bb", "1246"], ["Belarus", ["europe", "ex-ussr"], "by", "375", "(..) ... .. .."], ["Belgium", ["europe", "eu-union"], "be", "32", "... .. .. .."], ["Belize", ["america", "central-america"], "bz", "501"], ["Benin", ["africa"], "bj", "229"], ["Bhutan", ["asia"], "bt", "975"], ["Bolivia", ["america", "south-america"], "bo", "591"], ["Bosnia and Herzegovina", ["europe", "ex-yugos"], "ba", "387"], ["Botswana", ["africa"], "bw", "267"], ["Brazil", ["america", "south-america"], "br", "55", "(..) ........."], ["British Indian Ocean Territory", ["asia"], "io", "246"], ["Brunei", ["asia"], "bn", "673"], ["Bulgaria", ["europe", "eu-union"], "bg", "359"], ["Burkina Faso", ["africa"], "bf", "226"], ["Burundi", ["africa"], "bi", "257"], ["Cambodia", ["asia"], "kh", "855"], ["Cameroon", ["africa"], "cm", "237"], ["Canada", ["america", "north-america"], "ca", "1", "(...) ...-....", 1, ["204", "226", "236", "249", "250", "289", "306", "343", "365", "387", "403", "416", "418", "431", "437", "438", "450", "506", "514", "519", "548", "579", "581", "587", "604", "613", "639", "647", "672", "705", "709", "742", "778", "780", "782", "807", "819", "825", "867", "873", "902", "905"]], ["Cape Verde", ["africa"], "cv", "238"], ["Caribbean Netherlands", ["america", "carribean"], "bq", "599", "", 1], ["Central African Republic", ["africa"], "cf", "236"], ["Chad", ["africa"], "td", "235"], ["Chile", ["america", "south-america"], "cl", "56"], ["China", ["asia"], "cn", "86", "..-........."], ["Colombia", ["america", "south-america"], "co", "57", "... ... ...."], ["Comoros", ["africa"], "km", "269"], ["Congo", ["africa"], "cd", "243"], ["Congo", ["africa"], "cg", "242"], ["Costa Rica", ["america", "central-america"], "cr", "506", "....-...."], ["Côte d’Ivoire", ["africa"], "ci", "225", ".. .. .. .."], ["Croatia", ["europe", "eu-union", "ex-yugos"], "hr", "385"], ["Cuba", ["america", "carribean"], "cu", "53"], ["Curaçao", ["america", "carribean"], "cw", "599", "", 0], ["Cyprus", ["europe", "eu-union"], "cy", "357", ".. ......"], ["Czech Republic", ["europe", "eu-union"], "cz", "420", "... ... ..."], ["Denmark", ["europe", "eu-union", "baltic"], "dk", "45", ".. .. .. .."], ["Djibouti", ["africa"], "dj", "253"], ["Dominica", ["america", "carribean"], "dm", "1767"], ["Dominican Republic", ["america", "carribean"], "do", "1", "", 2, ["809", "829", "849"]], ["Ecuador", ["america", "south-america"], "ec", "593"], ["Egypt", ["africa", "north-africa"], "eg", "20"], ["El Salvador", ["america", "central-america"], "sv", "503", "....-...."], ["Equatorial Guinea", ["africa"], "gq", "240"], ["Eritrea", ["africa"], "er", "291"], ["Estonia", ["europe", "eu-union", "ex-ussr", "baltic"], "ee", "372", ".... ......"], ["Ethiopia", ["africa"], "et", "251"], ["Fiji", ["oceania"], "fj", "679"], ["Finland", ["europe", "eu-union", "baltic"], "fi", "358", ".. ... .. .."], ["France", ["europe", "eu-union"], "fr", "33", ". .. .. .. .."], ["French Guiana", ["america", "south-america"], "gf", "594"], ["French Polynesia", ["oceania"], "pf", "689"], ["Gabon", ["africa"], "ga", "241"], ["Gambia", ["africa"], "gm", "220"], ["Georgia", ["asia", "ex-ussr"], "ge", "995"], ["Germany", ["europe", "eu-union", "baltic"], "de", "49", ".... ........"], ["Ghana", ["africa"], "gh", "233"], ["Greece", ["europe", "eu-union"], "gr", "30"], ["Grenada", ["america", "carribean"], "gd", "1473"], ["Guadeloupe", ["america", "carribean"], "gp", "590", "", 0], ["Guam", ["oceania"], "gu", "1671"], ["Guatemala", ["america", "central-america"], "gt", "502", "....-...."], ["Guinea", ["africa"], "gn", "224"], ["Guinea-Bissau", ["africa"], "gw", "245"], ["Guyana", ["america", "south-america"], "gy", "592"], ["Haiti", ["america", "carribean"], "ht", "509", "....-...."], ["Honduras", ["america", "central-america"], "hn", "504"], ["Hong Kong", ["asia"], "hk", "852", ".... ...."], ["Hungary", ["europe", "eu-union"], "hu", "36"], ["Iceland", ["europe"], "is", "354", "... ...."], ["India", ["asia"], "in", "91", ".....-....."], ["Indonesia", ["asia"], "id", "62"], ["Iran", ["middle-east"], "ir", "98", "... ... ...."], ["Iraq", ["middle-east"], "iq", "964"], ["Ireland", ["europe", "eu-union"], "ie", "353", ".. ......."], ["Israel", ["middle-east"], "il", "972", "... ... ...."], ["Italy", ["europe", "eu-union"], "it", "39", "... .......", 0], ["Jamaica", ["america", "carribean"], "jm", "1876"], ["Japan", ["asia"], "jp", "81", ".. .... ...."], ["Jordan", ["middle-east"], "jo", "962"], ["Kazakhstan", ["asia", "ex-ussr"], "kz", "7", "... ...-..-..", 1, ["310", "311", "312", "313", "315", "318", "321", "324", "325", "326", "327", "336", "7172", "73622"]], ["Kenya", ["africa"], "ke", "254"], ["Kiribati", ["oceania"], "ki", "686"], ["Kosovo", ["europe", "ex-yugos"], "xk", "383"], ["Kuwait", ["middle-east"], "kw", "965"], ["Kyrgyzstan", ["asia", "ex-ussr"], "kg", "996", "... ... ..."], ["Laos", ["asia"], "la", "856"], ["Latvia", ["europe", "eu-union", "ex-ussr", "baltic"], "lv", "371", ".. ... ..."], ["Lebanon", ["middle-east"], "lb", "961"], ["Lesotho", ["africa"], "ls", "266"], ["Liberia", ["africa"], "lr", "231"], ["Libya", ["africa", "north-africa"], "ly", "218"], ["Liechtenstein", ["europe"], "li", "423"], ["Lithuania", ["europe", "eu-union", "ex-ussr", "baltic"], "lt", "370"], ["Luxembourg", ["europe", "eu-union"], "lu", "352"], ["Macau", ["asia"], "mo", "853"], ["Macedonia", ["europe", "ex-yugos"], "mk", "389"], ["Madagascar", ["africa"], "mg", "261"], ["Malawi", ["africa"], "mw", "265"], ["Malaysia", ["asia"], "my", "60", "..-....-...."], ["Maldives", ["asia"], "mv", "960"], ["Mali", ["africa"], "ml", "223"], ["Malta", ["europe", "eu-union"], "mt", "356"], ["Marshall Islands", ["oceania"], "mh", "692"], ["Martinique", ["america", "carribean"], "mq", "596"], ["Mauritania", ["africa"], "mr", "222"], ["Mauritius", ["africa"], "mu", "230"], ["Mexico", ["america", "central-america"], "mx", "52", "... ... ....", 0, ["55", "81", "33", "656", "664", "998", "774", "229"]], ["Micronesia", ["oceania"], "fm", "691"], ["Moldova", ["europe"], "md", "373", "(..) ..-..-.."], ["Monaco", ["europe"], "mc", "377"], ["Mongolia", ["asia"], "mn", "976"], ["Montenegro", ["europe", "ex-yugos"], "me", "382"], ["Morocco", ["africa", "north-africa"], "ma", "212"], ["Mozambique", ["africa"], "mz", "258"], ["Myanmar", ["asia"], "mm", "95"], ["Namibia", ["africa"], "na", "264"], ["Nauru", ["africa"], "nr", "674"], ["Nepal", ["asia"], "np", "977"], ["Netherlands", ["europe", "eu-union"], "nl", "31", ".. ........"], ["New Caledonia", ["oceania"], "nc", "687"], ["New Zealand", ["oceania"], "nz", "64", "...-...-...."], ["Nicaragua", ["america", "central-america"], "ni", "505"], ["Niger", ["africa"], "ne", "227"], ["Nigeria", ["africa"], "ng", "234"], ["North Korea", ["asia"], "kp", "850"], ["Norway", ["europe", "baltic"], "no", "47", "... .. ..."], ["Oman", ["middle-east"], "om", "968"], ["Pakistan", ["asia"], "pk", "92", "...-......."], ["Palau", ["oceania"], "pw", "680"], ["Palestine", ["middle-east"], "ps", "970"], ["Panama", ["america", "central-america"], "pa", "507"], ["Papua New Guinea", ["oceania"], "pg", "675"], ["Paraguay", ["america", "south-america"], "py", "595"], ["Peru", ["america", "south-america"], "pe", "51"], ["Philippines", ["asia"], "ph", "63", ".... ......."], ["Poland", ["europe", "eu-union", "baltic"], "pl", "48", "...-...-..."], ["Portugal", ["europe", "eu-union"], "pt", "351"], ["Puerto Rico", ["america", "carribean"], "pr", "1", "", 3, ["787", "939"]], ["Qatar", ["middle-east"], "qa", "974"], ["Réunion", ["africa"], "re", "262"], ["Romania", ["europe", "eu-union"], "ro", "40"], ["Russia", ["europe", "asia", "ex-ussr", "baltic"], "ru", "7", "(...) ...-..-..", 0], ["Rwanda", ["africa"], "rw", "250"], ["Saint Kitts and Nevis", ["america", "carribean"], "kn", "1869"], ["Saint Lucia", ["america", "carribean"], "lc", "1758"], ["Saint Vincent and the Grenadines", ["america", "carribean"], "vc", "1784"], ["Samoa", ["oceania"], "ws", "685"], ["San Marino", ["europe"], "sm", "378"], ["São Tomé and Príncipe", ["africa"], "st", "239"], ["Saudi Arabia", ["middle-east"], "sa", "966"], ["Senegal", ["africa"], "sn", "221"], ["Serbia", ["europe", "ex-yugos"], "rs", "381"], ["Seychelles", ["africa"], "sc", "248"], ["Sierra Leone", ["africa"], "sl", "232"], ["Singapore", ["asia"], "sg", "65", "....-...."], ["Slovakia", ["europe", "eu-union"], "sk", "421"], ["Slovenia", ["europe", "eu-union", "ex-yugos"], "si", "386"], ["Solomon Islands", ["oceania"], "sb", "677"], ["Somalia", ["africa"], "so", "252"], ["South Africa", ["africa"], "za", "27"], ["South Korea", ["asia"], "kr", "82", "... .... ...."], ["South Sudan", ["africa", "north-africa"], "ss", "211"], ["Spain", ["europe", "eu-union"], "es", "34", "... ... ..."], ["Sri Lanka", ["asia"], "lk", "94"], ["Sudan", ["africa"], "sd", "249"], ["Suriname", ["america", "south-america"], "sr", "597"], ["Swaziland", ["africa"], "sz", "268"], ["Sweden", ["europe", "eu-union", "baltic"], "se", "46", "(...) ...-..."], ["Switzerland", ["europe"], "ch", "41", ".. ... .. .."], ["Syria", ["middle-east"], "sy", "963"], ["Taiwan", ["asia"], "tw", "886"], ["Tajikistan", ["asia", "ex-ussr"], "tj", "992"], ["Tanzania", ["africa"], "tz", "255"], ["Thailand", ["asia"], "th", "66"], ["Timor-Leste", ["asia"], "tl", "670"], ["Togo", ["africa"], "tg", "228"], ["Tonga", ["oceania"], "to", "676"], ["Trinidad and Tobago", ["america", "carribean"], "tt", "1868"], ["Tunisia", ["africa", "north-africa"], "tn", "216"], ["Turkey", ["europe"], "tr", "90", "... ... .. .."], ["Turkmenistan", ["asia", "ex-ussr"], "tm", "993"], ["Tuvalu", ["asia"], "tv", "688"], ["Uganda", ["africa"], "ug", "256"], ["Ukraine", ["europe", "ex-ussr"], "ua", "380", "(..) ... .. .."], ["United Arab Emirates", ["middle-east"], "ae", "971"], ["United Kingdom", ["europe", "eu-union"], "gb", "44", ".... ......"], ["United States", ["america", "north-america"], "us", "1", "(...) ...-....", 0, ["907", "205", "251", "256", "334", "479", "501", "870", "480", "520", "602", "623", "928", "209", "213", "310", "323", "408", "415", "510", "530", "559", "562", "619", "626", "650", "661", "707", "714", "760", "805", "818", "831", "858", "909", "916", "925", "949", "951", "303", "719", "970", "203", "860", "202", "302", "239", "305", "321", "352", "386", "407", "561", "727", "772", "813", "850", "863", "904", "941", "954", "229", "404", "478", "706", "770", "912", "808", "319", "515", "563", "641", "712", "208", "217", "309", "312", "618", "630", "708", "773", "815", "847", "219", "260", "317", "574", "765", "812", "316", "620", "785", "913", "270", "502", "606", "859", "225", "318", "337", "504", "985", "413", "508", "617", "781", "978", "301", "410", "207", "231", "248", "269", "313", "517", "586", "616", "734", "810", "906", "989", "218", "320", "507", "612", "651", "763", "952", "314", "417", "573", "636", "660", "816", "228", "601", "662", "406", "252", "336", "704", "828", "910", "919", "701", "308", "402", "603", "201", "609", "732", "856", "908", "973", "505", "575", "702", "775", "212", "315", "516", "518", "585", "607", "631", "716", "718", "845", "914", "216", "330", "419", "440", "513", "614", "740", "937", "405", "580", "918", "503", "541", "215", "412", "570", "610", "717", "724", "814", "401", "803", "843", "864", "605", "423", "615", "731", "865", "901", "931", "210", "214", "254", "281", "325", "361", "409", "432", "512", "713", "806", "817", "830", "903", "915", "936", "940", "956", "972", "979", "435", "801", "276", "434", "540", "703", "757", "804", "802", "206", "253", "360", "425", "509", "262", "414", "608", "715", "920", "304", "307"]], ["Uruguay", ["america", "south-america"], "uy", "598"], ["Uzbekistan", ["asia", "ex-ussr"], "uz", "998", ".. ... .. .."], ["Vanuatu", ["oceania"], "vu", "678"], ["Vatican City", ["europe"], "va", "39", ".. .... ....", 1], ["Venezuela", ["america", "south-america"], "ve", "58"], ["Vietnam", ["asia"], "vn", "84"], ["Yemen", ["middle-east"], "ye", "967"], ["Zambia", ["africa"], "zm", "260"], ["Zimbabwe", ["africa"], "zw", "263"]], he = [["American Samoa", ["oceania"], "as", "1684"], ["Anguilla", ["america", "carribean"], "ai", "1264"], ["Bermuda", ["america", "north-america"], "bm", "1441"], ["British Virgin Islands", ["america", "carribean"], "vg", "1284"], ["Cayman Islands", ["america", "carribean"], "ky", "1345"], ["Cook Islands", ["oceania"], "ck", "682"], ["Falkland Islands", ["america", "south-america"], "fk", "500"], ["Faroe Islands", ["europe"], "fo", "298"], ["Gibraltar", ["europe"], "gi", "350"], ["Greenland", ["america"], "gl", "299"], ["Jersey", ["europe", "eu-union"], "je", "44", ".... ......"], ["Montserrat", ["america", "carribean"], "ms", "1664"], ["Niue", ["asia"], "nu", "683"], ["Norfolk Island", ["oceania"], "nf", "672"], ["Northern Mariana Islands", ["oceania"], "mp", "1670"], ["Saint Barthélemy", ["america", "carribean"], "bl", "590", "", 1], ["Saint Helena", ["africa"], "sh", "290"], ["Saint Martin", ["america", "carribean"], "mf", "590", "", 2], ["Saint Pierre and Miquelon", ["america", "north-america"], "pm", "508"], ["Sint Maarten", ["america", "carribean"], "sx", "1721"], ["Tokelau", ["oceania"], "tk", "690"], ["Turks and Caicos Islands", ["america", "carribean"], "tc", "1649"], ["U.S. Virgin Islands", ["america", "carribean"], "vi", "1340"], ["Wallis and Futuna", ["oceania"], "wf", "681"]];
|
23832
|
-
function G(Y, J, ee,
|
23833
|
-
return !ee || K ? Y + "".padEnd(J.length, ".") + " " +
|
23832
|
+
function G(Y, J, ee, Q, K) {
|
23833
|
+
return !ee || K ? Y + "".padEnd(J.length, ".") + " " + Q : Y + "".padEnd(J.length, ".") + " " + ee;
|
23834
23834
|
}
|
23835
|
-
function
|
23835
|
+
function Z(Y, J, ee, Q, K) {
|
23836
23836
|
var P, Me, Se = [];
|
23837
23837
|
return Me = J === !0, [(P = []).concat.apply(P, o(Y.map(function(Re) {
|
23838
|
-
var ze = { name: Re[0], regions: Re[1], iso2: Re[2], countryCode: Re[3], dialCode: Re[3], format: G(ee, Re[3], Re[4],
|
23838
|
+
var ze = { name: Re[0], regions: Re[1], iso2: Re[2], countryCode: Re[3], dialCode: Re[3], format: G(ee, Re[3], Re[4], Q, K), priority: Re[5] || 0 }, je = [];
|
23839
23839
|
return Re[6] && Re[6].map(function(Ke) {
|
23840
23840
|
var Ue = function(Ye) {
|
23841
23841
|
for (var tt = 1; tt < arguments.length; tt++) {
|
@@ -23852,11 +23852,11 @@ var Sz = function(e) {
|
|
23852
23852
|
}), je.length > 0 ? (ze.mainCode = !0, Me || J.constructor.name === "Array" && J.includes(Re[2]) ? (ze.hasAreaCodes = !0, [ze].concat(je)) : (Se = Se.concat(je), [ze])) : [ze];
|
23853
23853
|
}))), Se];
|
23854
23854
|
}
|
23855
|
-
function
|
23855
|
+
function X(Y, J, ee, Q) {
|
23856
23856
|
if (ee !== null) {
|
23857
23857
|
var K = Object.keys(ee), P = Object.values(ee);
|
23858
23858
|
K.forEach(function(Me, Se) {
|
23859
|
-
if (
|
23859
|
+
if (Q) return Y.push([Me, P[Se]]);
|
23860
23860
|
var Re = Y.findIndex(function(je) {
|
23861
23861
|
return je[0] === Me;
|
23862
23862
|
});
|
@@ -23869,15 +23869,15 @@ var Sz = function(e) {
|
|
23869
23869
|
}
|
23870
23870
|
function oe(Y, J) {
|
23871
23871
|
return J.length === 0 ? Y : Y.map(function(ee) {
|
23872
|
-
var
|
23872
|
+
var Q = J.findIndex(function(P) {
|
23873
23873
|
return P[0] === ee[2];
|
23874
23874
|
});
|
23875
|
-
if (
|
23876
|
-
var K = J[
|
23875
|
+
if (Q === -1) return ee;
|
23876
|
+
var K = J[Q];
|
23877
23877
|
return K[1] && (ee[4] = K[1]), K[3] && (ee[5] = K[3]), K[2] && (ee[6] = K[2]), ee;
|
23878
23878
|
});
|
23879
23879
|
}
|
23880
|
-
var W = function Y(J, ee,
|
23880
|
+
var W = function Y(J, ee, Q, K, P, Me, Se, Re, ze, je, Ke, Ue, Ye, tt) {
|
23881
23881
|
l(this, Y), this.filterRegions = function(ve, xe) {
|
23882
23882
|
if (typeof ve == "string") {
|
23883
23883
|
var He = ve;
|
@@ -23932,13 +23932,13 @@ var Sz = function(e) {
|
|
23932
23932
|
};
|
23933
23933
|
var R = function(ve, xe, He) {
|
23934
23934
|
var we = [];
|
23935
|
-
return
|
23936
|
-
}(Re, ze, je), D = oe(JSON.parse(JSON.stringify(se)), R), z = oe(JSON.parse(JSON.stringify(he)), R), pe = te(
|
23935
|
+
return X(we, 1, ve, !0), X(we, 3, xe), X(we, 2, He), we;
|
23936
|
+
}(Re, ze, je), D = oe(JSON.parse(JSON.stringify(se)), R), z = oe(JSON.parse(JSON.stringify(he)), R), pe = te(Z(D, J, Ue, Ye, tt), 2), le = pe[0], Ee = pe[1];
|
23937
23937
|
if (ee) {
|
23938
|
-
var me = te(
|
23938
|
+
var me = te(Z(z, J, Ue, Ye, tt), 2), Ne = me[0];
|
23939
23939
|
me[1], le = this.sortTerritories(Ne, le);
|
23940
23940
|
}
|
23941
|
-
|
23941
|
+
Q && (le = this.filterRegions(Q, le)), this.onlyCountries = this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(K, le, Se.includes("onlyCountries")), Me), Ke, Se.includes("onlyCountries")), this.preferredCountries = P.length === 0 ? [] : this.localizeCountries(this.getFilteredCountryList(P, le, Se.includes("preferredCountries")), Ke, Se.includes("preferredCountries")), this.hiddenAreaCodes = this.excludeCountries(this.getFilteredCountryList(K, Ee), Me);
|
23942
23942
|
}, ue = function(Y) {
|
23943
23943
|
function J(K) {
|
23944
23944
|
var P;
|
@@ -24171,11 +24171,11 @@ var Sz = function(e) {
|
|
24171
24171
|
});
|
24172
24172
|
return P.state = { showDropdown: K.showDropdown, formattedNumber: Ue, onlyCountries: Re, preferredCountries: ze, hiddenAreaCodes: je, selectedCountry: Me, highlightCountryIndex: tt, queryString: "", freezeSelection: !1, debouncedQueryStingSearcher: y()(P.searchCountry, 250), searchValue: "" }, P;
|
24173
24173
|
}
|
24174
|
-
var ee,
|
24174
|
+
var ee, Q;
|
24175
24175
|
return function(K, P) {
|
24176
24176
|
if (typeof P != "function" && P !== null) throw new TypeError("Super expression must either be null or a function");
|
24177
24177
|
K.prototype = Object.create(P && P.prototype, { constructor: { value: K, writable: !0, configurable: !0 } }), P && g(K, P);
|
24178
|
-
}(J, Y), ee = J, (
|
24178
|
+
}(J, Y), ee = J, (Q = [{ key: "componentDidMount", value: function() {
|
24179
24179
|
document.addEventListener && this.props.enableClickOutside && document.addEventListener("mousedown", this.handleClickOutside), this.props.onMount && this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g, ""), this.getCountryData(), this.state.formattedNumber);
|
24180
24180
|
} }, { key: "componentWillUnmount", value: function() {
|
24181
24181
|
document.removeEventListener && this.props.enableClickOutside && document.removeEventListener("mousedown", this.handleClickOutside);
|
@@ -24204,7 +24204,7 @@ var Sz = function(e) {
|
|
24204
24204
|
} })), I.a.createElement("div", { className: He, style: this.props.buttonStyle, ref: function(ke) {
|
24205
24205
|
return Se.dropdownContainerRef = ke;
|
24206
24206
|
} }, D ? I.a.createElement("div", { className: xe }, D) : I.a.createElement("div", { onClick: R ? void 0 : this.handleFlagDropdownClick, className: xe, title: je ? "".concat(je.localName || je.name, ": + ").concat(je.dialCode) : "", tabIndex: R ? "-1" : "0", role: "button", "aria-haspopup": "listbox", "aria-expanded": !!Ke || void 0 }, I.a.createElement("div", { className: we }, !R && I.a.createElement("div", { className: Ne }))), Ke && this.getCountryDropdownList()));
|
24207
|
-
} }]) && u(ee.prototype,
|
24207
|
+
} }]) && u(ee.prototype, Q), J;
|
24208
24208
|
}(I.a.Component);
|
24209
24209
|
ue.defaultProps = { country: "", value: "", onlyCountries: [], preferredCountries: [], excludeCountries: [], placeholder: "1 (702) 123-4567", searchPlaceholder: "search", searchNotFound: "No entries to show", flagsImagePath: "./flags.png", disabled: !1, containerStyle: {}, inputStyle: {}, buttonStyle: {}, dropdownStyle: {}, searchStyle: {}, containerClass: "", inputClass: "", buttonClass: "", dropdownClass: "", searchClass: "", className: "", autoFormat: !0, enableAreaCodes: !1, enableTerritories: !1, disableCountryCode: !1, disableDropdown: !1, enableLongNumbers: !1, countryCodeEditable: !0, enableSearch: !1, disableSearchIcon: !1, disableInitialCountryGuess: !1, disableCountryGuess: !1, regions: "", inputProps: {}, localization: {}, masks: null, priority: null, areaCodes: null, preserveOrder: [], defaultMask: "... ... ... ... ..", alwaysDefaultMask: !1, prefix: "+", copyNumbersOnly: !0, renderStringAsFlag: "", autocompleteSearch: !1, jumpCursorToEnd: !0, enableAreaCodeStretch: !1, enableClickOutside: !0, showDropdown: !1, isValid: !0, defaultErrorMessage: "", specialLabel: "Phone", onEnterKeyPress: null, keys: { UP: 38, DOWN: 40, RIGHT: 39, LEFT: 37, ENTER: 13, ESC: 27, PLUS: 43, A: 65, Z: 90, SPACE: 32, TAB: 9 } }, t.default = ue;
|
24210
24210
|
}]);
|
@@ -26271,17 +26271,17 @@ const i9 = (e) => ({
|
|
26271
26271
|
}, m = ib(a), g = sb(m), h = await s.getDimensions(u), I = m === "y", b = I ? "top" : "left", y = I ? "bottom" : "right", S = I ? "clientHeight" : "clientWidth", w = o.reference[g] + o.reference[m] - p[m] - o.floating[g], M = p[m] - o.reference[m], N = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
|
26272
26272
|
let T = N ? N[S] : 0;
|
26273
26273
|
(!T || !await (s.isElement == null ? void 0 : s.isElement(N))) && (T = i.floating[S] || o.floating[g]);
|
26274
|
-
const O = w / 2 - M / 2, A = T / 2 - h[g] / 2 - 1, U = Pa(d[b], A), te = Pa(d[y], A), se = U, he = T - h[g] - te, G = T / 2 - h[g] / 2 + O,
|
26274
|
+
const O = w / 2 - M / 2, A = T / 2 - h[g] / 2 - 1, U = Pa(d[b], A), te = Pa(d[y], A), se = U, he = T - h[g] - te, G = T / 2 - h[g] / 2 + O, Z = xy(se, G, he), X = !l.arrow && Yi(a) != null && G !== Z && o.reference[g] / 2 - (G < se ? U : te) - h[g] / 2 < 0, oe = X ? G < se ? G - se : G - he : 0;
|
26275
26275
|
return {
|
26276
26276
|
[m]: p[m] + oe,
|
26277
26277
|
data: {
|
26278
|
-
[m]:
|
26279
|
-
centerOffset: G -
|
26280
|
-
...
|
26278
|
+
[m]: Z,
|
26279
|
+
centerOffset: G - Z - oe,
|
26280
|
+
...X && {
|
26281
26281
|
alignmentOffset: oe
|
26282
26282
|
}
|
26283
26283
|
},
|
26284
|
-
reset:
|
26284
|
+
reset: X
|
26285
26285
|
};
|
26286
26286
|
}
|
26287
26287
|
}), l9 = function(e) {
|
@@ -26321,19 +26321,19 @@ const i9 = (e) => ({
|
|
26321
26321
|
overflows: A
|
26322
26322
|
}], !A.every((G) => G <= 0)) {
|
26323
26323
|
var te, se;
|
26324
|
-
const G = (((te = o.flip) == null ? void 0 : te.index) || 0) + 1,
|
26325
|
-
if (
|
26324
|
+
const G = (((te = o.flip) == null ? void 0 : te.index) || 0) + 1, Z = T[G];
|
26325
|
+
if (Z)
|
26326
26326
|
return {
|
26327
26327
|
data: {
|
26328
26328
|
index: G,
|
26329
26329
|
overflows: U
|
26330
26330
|
},
|
26331
26331
|
reset: {
|
26332
|
-
placement:
|
26332
|
+
placement: Z
|
26333
26333
|
}
|
26334
26334
|
};
|
26335
|
-
let
|
26336
|
-
if (!
|
26335
|
+
let X = (se = U.filter((oe) => oe.overflows[0] <= 0).sort((oe, W) => oe.overflows[1] - W.overflows[1])[0]) == null ? void 0 : se.placement;
|
26336
|
+
if (!X)
|
26337
26337
|
switch (m) {
|
26338
26338
|
case "bestFit": {
|
26339
26339
|
var he;
|
@@ -26346,17 +26346,17 @@ const i9 = (e) => ({
|
|
26346
26346
|
}
|
26347
26347
|
return !0;
|
26348
26348
|
}).map((W) => [W.placement, W.overflows.filter((ue) => ue > 0).reduce((ue, Y) => ue + Y, 0)]).sort((W, ue) => W[1] - ue[1])[0]) == null ? void 0 : he[0];
|
26349
|
-
oe && (
|
26349
|
+
oe && (X = oe);
|
26350
26350
|
break;
|
26351
26351
|
}
|
26352
26352
|
case "initialPlacement":
|
26353
|
-
|
26353
|
+
X = i;
|
26354
26354
|
break;
|
26355
26355
|
}
|
26356
|
-
if (a !==
|
26356
|
+
if (a !== X)
|
26357
26357
|
return {
|
26358
26358
|
reset: {
|
26359
|
-
placement:
|
26359
|
+
placement: X
|
26360
26360
|
}
|
26361
26361
|
};
|
26362
26362
|
}
|
@@ -27202,12 +27202,12 @@ function j9(e) {
|
|
27202
27202
|
he();
|
27203
27203
|
}
|
27204
27204
|
}, [w, M, he, U, A]);
|
27205
|
-
const
|
27205
|
+
const Z = x.useMemo(() => ({
|
27206
27206
|
reference: N,
|
27207
27207
|
floating: T,
|
27208
27208
|
setReference: y,
|
27209
27209
|
setFloating: S
|
27210
|
-
}), [y, S]),
|
27210
|
+
}), [y, S]), X = x.useMemo(() => ({
|
27211
27211
|
reference: w,
|
27212
27212
|
floating: M
|
27213
27213
|
}), [w, M]), oe = x.useMemo(() => {
|
@@ -27216,13 +27216,13 @@ function j9(e) {
|
|
27216
27216
|
left: 0,
|
27217
27217
|
top: 0
|
27218
27218
|
};
|
27219
|
-
if (!
|
27219
|
+
if (!X.floating)
|
27220
27220
|
return W;
|
27221
|
-
const ue = KM(
|
27221
|
+
const ue = KM(X.floating, c.x), Y = KM(X.floating, c.y);
|
27222
27222
|
return i ? {
|
27223
27223
|
...W,
|
27224
27224
|
transform: "translate(" + ue + "px, " + Y + "px)",
|
27225
|
-
...qR(
|
27225
|
+
...qR(X.floating) >= 1.5 && {
|
27226
27226
|
willChange: "transform"
|
27227
27227
|
}
|
27228
27228
|
} : {
|
@@ -27230,14 +27230,14 @@ function j9(e) {
|
|
27230
27230
|
left: ue,
|
27231
27231
|
top: Y
|
27232
27232
|
};
|
27233
|
-
}, [r, i,
|
27233
|
+
}, [r, i, X.floating, c.x, c.y]);
|
27234
27234
|
return x.useMemo(() => ({
|
27235
27235
|
...c,
|
27236
27236
|
update: he,
|
27237
|
-
refs:
|
27238
|
-
elements:
|
27237
|
+
refs: Z,
|
27238
|
+
elements: X,
|
27239
27239
|
floatingStyles: oe
|
27240
|
-
}), [c, he,
|
27240
|
+
}), [c, he, Z, X, oe]);
|
27241
27241
|
}
|
27242
27242
|
const V9 = (e) => {
|
27243
27243
|
function t(r) {
|
@@ -27358,7 +27358,7 @@ var pb = "PopperContent", [J9, e7] = ZR(pb), rN = x.forwardRef(
|
|
27358
27358
|
boundary: te.filter(r7),
|
27359
27359
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
27360
27360
|
altBoundary: se
|
27361
|
-
}, { refs: G, floatingStyles:
|
27361
|
+
}, { refs: G, floatingStyles: Z, placement: X, isPositioned: oe, middlewareData: W } = j9({
|
27362
27362
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
27363
27363
|
strategy: "fixed",
|
27364
27364
|
placement: A,
|
@@ -27388,11 +27388,11 @@ var pb = "PopperContent", [J9, e7] = ZR(pb), rN = x.forwardRef(
|
|
27388
27388
|
n7({ arrowWidth: T, arrowHeight: O }),
|
27389
27389
|
p && K9({ strategy: "referenceHidden", ...he })
|
27390
27390
|
]
|
27391
|
-
}), [ue, Y] = aN(
|
27391
|
+
}), [ue, Y] = aN(X), J = Ta(g);
|
27392
27392
|
Fi(() => {
|
27393
27393
|
oe && (J == null || J());
|
27394
27394
|
}, [oe, J]);
|
27395
|
-
const ee = (Se = W.arrow) == null ? void 0 : Se.x,
|
27395
|
+
const ee = (Se = W.arrow) == null ? void 0 : Se.x, Q = (Re = W.arrow) == null ? void 0 : Re.y, K = ((ze = W.arrow) == null ? void 0 : ze.centerOffset) !== 0, [P, Me] = x.useState();
|
27396
27396
|
return Fi(() => {
|
27397
27397
|
b && Me(window.getComputedStyle(b).zIndex);
|
27398
27398
|
}, [b]), /* @__PURE__ */ f.jsx(
|
@@ -27401,8 +27401,8 @@ var pb = "PopperContent", [J9, e7] = ZR(pb), rN = x.forwardRef(
|
|
27401
27401
|
ref: G.setFloating,
|
27402
27402
|
"data-radix-popper-content-wrapper": "",
|
27403
27403
|
style: {
|
27404
|
-
...
|
27405
|
-
transform: oe ?
|
27404
|
+
...Z,
|
27405
|
+
transform: oe ? Z.transform : "translate(0, -200%)",
|
27406
27406
|
// keep off the page when measuring
|
27407
27407
|
minWidth: "max-content",
|
27408
27408
|
zIndex: P,
|
@@ -27426,7 +27426,7 @@ var pb = "PopperContent", [J9, e7] = ZR(pb), rN = x.forwardRef(
|
|
27426
27426
|
placedSide: ue,
|
27427
27427
|
onArrowChange: M,
|
27428
27428
|
arrowX: ee,
|
27429
|
-
arrowY:
|
27429
|
+
arrowY: Q,
|
27430
27430
|
shouldHideArrow: K,
|
27431
27431
|
children: /* @__PURE__ */ f.jsx(
|
27432
27432
|
Ua.div,
|