@clickview/lite 0.25.0 → 0.25.1
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/.eslintrc.json +2 -2
- package/dist/bundles.json +1 -1
- package/dist/scripts/{1200-a6f398c740-lite.chunk.js → 1200-24f7d81a3e-lite.chunk.js} +1 -1
- package/dist/scripts/{1592-c696b63a52-lite.chunk.js → 1592-24f22211b4-lite.chunk.js} +1 -1
- package/dist/scripts/{1672-eb6f7a7c37-lite.chunk.js → 1672-6e7b2de488-lite.chunk.js} +1 -1
- package/dist/scripts/{2097-66aad0b2ec-lite.chunk.js → 2097-d9696e2dbc-lite.chunk.js} +1 -1
- package/dist/scripts/3533-2f719c9ba1-lite.chunk.js +1 -0
- package/dist/scripts/{3645-572a86efe5-lite.chunk.js → 3645-c4b6d25668-lite.chunk.js} +1 -1
- package/dist/scripts/{3667-ae719dc193-lite.chunk.js → 3667-d194d30365-lite.chunk.js} +1 -1
- package/dist/scripts/{4617-2ee079518a-lite.chunk.js → 4617-7ce1c796c2-lite.chunk.js} +1 -1
- package/dist/scripts/{4691-e92fff6b13-lite.chunk.js → 4691-126038272f-lite.chunk.js} +1 -1
- package/dist/scripts/{5622-df70c2e4d8-lite.chunk.js → 5622-548a92a2e4-lite.chunk.js} +1 -1
- package/dist/scripts/6285-aa8e98c9e9-lite.chunk.js +1 -0
- package/dist/scripts/{6736-cffe5aabea-lite.chunk.js → 6736-326f546fb8-lite.chunk.js} +1 -1
- package/dist/scripts/{6801-fc80a100b8-lite.chunk.js → 6801-ed1b790c00-lite.chunk.js} +1 -1
- package/dist/scripts/{7221-ab85d16be5-lite.chunk.js → 7221-f474cc63dd-lite.chunk.js} +1 -1
- package/dist/scripts/7318-2fb789e6d5-lite.chunk.js +1 -1
- package/dist/scripts/7338-1ed24967e2-lite.chunk.js +1 -0
- package/dist/scripts/7818-c41bf70fc3-lite.chunk.js +1 -0
- package/dist/scripts/{8323-0dac88a1c4-lite.chunk.js → 8323-3ffbedb5bf-lite.chunk.js} +1 -1
- package/dist/scripts/{862-1493e77233-lite.chunk.js → 862-d0e4b75ffa-lite.chunk.js} +1 -1
- package/dist/scripts/{8681-0629128300-lite.chunk.js → 8681-0ce42b0460-lite.chunk.js} +1 -1
- package/dist/scripts/{9428-37d616a4ba-lite.chunk.js → 9428-63f031caf2-lite.chunk.js} +1 -1
- package/dist/scripts/{9478-f95ce2c8f9-lite.chunk.js → 9478-c910516183-lite.chunk.js} +1 -1
- package/dist/scripts/{9961-c4c4beec52-lite.chunk.js → 9961-9b2e96ca49-lite.chunk.js} +1 -1
- package/dist/scripts/bundle-31e832cc92.min.js +2 -0
- package/jest.config.js +11 -11
- package/package.json +62 -62
- package/typings/libs/CVEvents.d.ts +12 -12
- package/typings/libs/CVLanguages.d.ts +24 -24
- package/typings/libs/backbone.validation.d.ts +99 -99
- package/typings/libs/cloneDeep.d.ts +4 -4
- package/typings/libs/cookiesjs.d.ts +25 -25
- package/typings/libs/draft-convert.d.ts +3 -3
- package/typings/libs/google-api.d.ts +93 -93
- package/typings/libs/intersection-observer.d.ts +82 -82
- package/typings/libs/microsoft-teams.d.ts +2 -2
- package/typings/libs/react-table-config.d.ts +138 -138
- package/typings/libs/trackjs.d.ts +2 -2
- package/typings/libs/videojs-contrib-quality-levels.d.ts +28 -28
- package/typings/utils/imports.d.ts +13 -13
- package/dist/scripts/3533-46dc3472a1-lite.chunk.js +0 -1
- package/dist/scripts/6285-0aa671a189-lite.chunk.js +0 -1
- package/dist/scripts/6381-f82b7cf11c-lite.chunk.js +0 -1
- package/dist/scripts/7939-d7fc07e19b-lite.chunk.js +0 -1
- package/dist/scripts/bundle-596ac32e5b.min.js +0 -2
- /package/dist/css/{6381-lite-e7bdc675ac.chunk.css → 7818-lite-e7bdc675ac.chunk.css} +0 -0
- /package/dist/scripts/{1200-a6f398c740-lite.chunk.js.LICENSE.txt → 1200-24f7d81a3e-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1301-d12fe4100c-lite.chunk.js → 1301-60e044d3f6-lite.chunk.js} +0 -0
- /package/dist/scripts/{1324-9b93062a18-lite.chunk.js → 1324-e98193e3f2-lite.chunk.js} +0 -0
- /package/dist/scripts/{1341-1d126e4d81-lite.chunk.js → 1341-8598b45ad3-lite.chunk.js} +0 -0
- /package/dist/scripts/{1351-d541a802d3-lite.chunk.js → 1351-ba2b9149d5-lite.chunk.js} +0 -0
- /package/dist/scripts/{1453-92a6a27dc4-lite.chunk.js → 1453-96ade8023f-lite.chunk.js} +0 -0
- /package/dist/scripts/{1468-6b7516da29-lite.chunk.js → 1468-6834509551-lite.chunk.js} +0 -0
- /package/dist/scripts/{1518-da76a39f2b-lite.chunk.js → 1518-a7da7a4a51-lite.chunk.js} +0 -0
- /package/dist/scripts/{1592-c696b63a52-lite.chunk.js.LICENSE.txt → 1592-24f22211b4-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1672-eb6f7a7c37-lite.chunk.js.LICENSE.txt → 1672-6e7b2de488-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1725-4e92f58b9d-lite.chunk.js → 1725-24fbd4f850-lite.chunk.js} +0 -0
- /package/dist/scripts/{189-21a10ea24b-lite.chunk.js → 189-a7cbc90799-lite.chunk.js} +0 -0
- /package/dist/scripts/{1891-90ee6260fb-lite.chunk.js → 1891-0720cadd72-lite.chunk.js} +0 -0
- /package/dist/scripts/{1924-ac80bc2a14-lite.chunk.js → 1924-e040d7f655-lite.chunk.js} +0 -0
- /package/dist/scripts/{2097-66aad0b2ec-lite.chunk.js.LICENSE.txt → 2097-d9696e2dbc-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{2229-4452e6e7f0-lite.chunk.js → 2229-7227ffd514-lite.chunk.js} +0 -0
- /package/dist/scripts/{227-4629d0203c-lite.chunk.js → 227-74577cc104-lite.chunk.js} +0 -0
- /package/dist/scripts/{2279-0a5ff3aa08-lite.chunk.js → 2279-32b0d69ef0-lite.chunk.js} +0 -0
- /package/dist/scripts/{2452-4a1c9e0123-lite.chunk.js → 2452-f1ccaff72b-lite.chunk.js} +0 -0
- /package/dist/scripts/{2512-284b6d3c60-lite.chunk.js → 2512-bb270efafe-lite.chunk.js} +0 -0
- /package/dist/scripts/{2608-c3012904f1-lite.chunk.js → 2608-2585e171c0-lite.chunk.js} +0 -0
- /package/dist/scripts/{2883-65715e3509-lite.chunk.js → 2883-2a751fe6b3-lite.chunk.js} +0 -0
- /package/dist/scripts/{2891-63e65de141-lite.chunk.js → 2891-9e5e26c8f4-lite.chunk.js} +0 -0
- /package/dist/scripts/{2966-0c0bfe06c3-lite.chunk.js → 2966-388683bcd6-lite.chunk.js} +0 -0
- /package/dist/scripts/{3007-ff224c6b4a-lite.chunk.js → 3007-67c669974c-lite.chunk.js} +0 -0
- /package/dist/scripts/{3020-2ba9f82a47-lite.chunk.js → 3020-32e560bee9-lite.chunk.js} +0 -0
- /package/dist/scripts/{3108-6dd48542e7-lite.chunk.js → 3108-26e520def9-lite.chunk.js} +0 -0
- /package/dist/scripts/{3135-591c86bf7e-lite.chunk.js → 3135-881a934f91-lite.chunk.js} +0 -0
- /package/dist/scripts/{3171-7a9504a852-lite.chunk.js → 3171-7ad002d155-lite.chunk.js} +0 -0
- /package/dist/scripts/{3200-d7f1b51fcd-lite.chunk.js → 3200-56a8b7ed84-lite.chunk.js} +0 -0
- /package/dist/scripts/{3216-251b8fbeae-lite.chunk.js → 3216-eec0d3f176-lite.chunk.js} +0 -0
- /package/dist/scripts/{3285-2b1e62d6c8-lite.chunk.js → 3285-d24a2cada1-lite.chunk.js} +0 -0
- /package/dist/scripts/{3468-e3a8589a83-lite.chunk.js → 3468-4184ab6da2-lite.chunk.js} +0 -0
- /package/dist/scripts/{3594-f3cc8f5129-lite.chunk.js → 3594-25c70f8234-lite.chunk.js} +0 -0
- /package/dist/scripts/{3645-572a86efe5-lite.chunk.js.LICENSE.txt → 3645-c4b6d25668-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{3667-ae719dc193-lite.chunk.js.LICENSE.txt → 3667-d194d30365-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{3754-d6b6bcf82d-lite.chunk.js → 3754-a48334c733-lite.chunk.js} +0 -0
- /package/dist/scripts/{3787-c4316adb83-lite.chunk.js → 3787-32f3253adf-lite.chunk.js} +0 -0
- /package/dist/scripts/{389-f594d7dc39-lite.chunk.js → 389-7d32d43138-lite.chunk.js} +0 -0
- /package/dist/scripts/{3952-2f0a18bb38-lite.chunk.js → 3952-15bb5076b6-lite.chunk.js} +0 -0
- /package/dist/scripts/{4113-c97dca2842-lite.chunk.js → 4113-bbe0a84f27-lite.chunk.js} +0 -0
- /package/dist/scripts/{4182-55931e55e9-lite.chunk.js → 4182-1031f69a05-lite.chunk.js} +0 -0
- /package/dist/scripts/{4332-f0ede6c5c9-lite.chunk.js → 4332-8acfa82a43-lite.chunk.js} +0 -0
- /package/dist/scripts/{4380-7578e72c04-lite.chunk.js → 4380-5fa3db4048-lite.chunk.js} +0 -0
- /package/dist/scripts/{4541-b4892876c5-lite.chunk.js → 4541-ceaf7c21d9-lite.chunk.js} +0 -0
- /package/dist/scripts/{455-6024297acb-lite.chunk.js → 455-aa4e644191-lite.chunk.js} +0 -0
- /package/dist/scripts/{4632-deb9589e38-lite.chunk.js → 4632-f152503c8a-lite.chunk.js} +0 -0
- /package/dist/scripts/{4690-9e14a0919a-lite.chunk.js → 4690-336ab1884e-lite.chunk.js} +0 -0
- /package/dist/scripts/{4691-e92fff6b13-lite.chunk.js.LICENSE.txt → 4691-126038272f-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{482-7a049e5c64-lite.chunk.js → 482-01ae97c495-lite.chunk.js} +0 -0
- /package/dist/scripts/{4893-1b487b763c-lite.chunk.js → 4893-ab6fa2f373-lite.chunk.js} +0 -0
- /package/dist/scripts/{4898-132bd9a5d3-lite.chunk.js → 4898-378efc7d2f-lite.chunk.js} +0 -0
- /package/dist/scripts/{5143-4938e95932-lite.chunk.js → 5143-fb2823c2b7-lite.chunk.js} +0 -0
- /package/dist/scripts/{5347-9babbb5f99-lite.chunk.js → 5347-a861c646cc-lite.chunk.js} +0 -0
- /package/dist/scripts/{5606-153b1552e1-lite.chunk.js → 5606-37e298bfb4-lite.chunk.js} +0 -0
- /package/dist/scripts/{5622-df70c2e4d8-lite.chunk.js.LICENSE.txt → 5622-548a92a2e4-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{5877-f2fa601cb0-lite.chunk.js → 5877-3a56acd8bf-lite.chunk.js} +0 -0
- /package/dist/scripts/{5914-83f14d2f25-lite.chunk.js → 5914-7c936ecffb-lite.chunk.js} +0 -0
- /package/dist/scripts/{5929-2a5e740cc7-lite.chunk.js → 5929-6148f4f40c-lite.chunk.js} +0 -0
- /package/dist/scripts/{5974-d27435fa0c-lite.chunk.js → 5974-303622f9e6-lite.chunk.js} +0 -0
- /package/dist/scripts/{614-c763ddc10d-lite.chunk.js → 614-d5f537378d-lite.chunk.js} +0 -0
- /package/dist/scripts/{6158-13d2600fe2-lite.chunk.js → 6158-9ce2556fbf-lite.chunk.js} +0 -0
- /package/dist/scripts/{6186-70572e79ca-lite.chunk.js → 6186-05954cf461-lite.chunk.js} +0 -0
- /package/dist/scripts/{6230-9f18aee4c5-lite.chunk.js → 6230-79a1f184a5-lite.chunk.js} +0 -0
- /package/dist/scripts/{6274-77e1da657d-lite.chunk.js → 6274-f40aea9191-lite.chunk.js} +0 -0
- /package/dist/scripts/{6290-816af4c22e-lite.chunk.js → 6290-1518235544-lite.chunk.js} +0 -0
- /package/dist/scripts/{6302-01982ba99c-lite.chunk.js → 6302-522a99b56c-lite.chunk.js} +0 -0
- /package/dist/scripts/{6325-8f75c4c6e3-lite.chunk.js → 6325-d597f213d1-lite.chunk.js} +0 -0
- /package/dist/scripts/{6368-0177013655-lite.chunk.js → 6368-e26bcc5b2c-lite.chunk.js} +0 -0
- /package/dist/scripts/{6370-83fc0b220b-lite.chunk.js → 6370-3f5eace052-lite.chunk.js} +0 -0
- /package/dist/scripts/{6427-be33bb125b-lite.chunk.js → 6427-2d1d8f5a2e-lite.chunk.js} +0 -0
- /package/dist/scripts/{6450-11cdf0c405-lite.chunk.js → 6450-78e74f7202-lite.chunk.js} +0 -0
- /package/dist/scripts/{6465-046937c195-lite.chunk.js → 6465-790119a36e-lite.chunk.js} +0 -0
- /package/dist/scripts/{6477-00aed143b6-lite.chunk.js → 6477-f942858ba2-lite.chunk.js} +0 -0
- /package/dist/scripts/{6480-869e4680bb-lite.chunk.js → 6480-d58303f72c-lite.chunk.js} +0 -0
- /package/dist/scripts/{6493-331029d2a9-lite.chunk.js → 6493-ae21e8927f-lite.chunk.js} +0 -0
- /package/dist/scripts/{6578-a417e4a31e-lite.chunk.js → 6578-3d08e29e91-lite.chunk.js} +0 -0
- /package/dist/scripts/{6604-6efe5b290b-lite.chunk.js → 6604-9d51729e51-lite.chunk.js} +0 -0
- /package/dist/scripts/{6725-4681caad1e-lite.chunk.js → 6725-6a02a8aa52-lite.chunk.js} +0 -0
- /package/dist/scripts/{6736-cffe5aabea-lite.chunk.js.LICENSE.txt → 6736-326f546fb8-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6821-c2c09e0258-lite.chunk.js → 6821-aa942da9f9-lite.chunk.js} +0 -0
- /package/dist/scripts/{6873-4b14b86a51-lite.chunk.js → 6873-336d25fe83-lite.chunk.js} +0 -0
- /package/dist/scripts/{6884-2f4ddfd0e1-lite.chunk.js → 6884-181c455de3-lite.chunk.js} +0 -0
- /package/dist/scripts/{7045-882c8445fc-lite.chunk.js → 7045-655270d34b-lite.chunk.js} +0 -0
- /package/dist/scripts/{7056-8d38822c22-lite.chunk.js → 7056-813094b13e-lite.chunk.js} +0 -0
- /package/dist/scripts/{7115-6628a56f8e-lite.chunk.js → 7115-938ebdb87e-lite.chunk.js} +0 -0
- /package/dist/scripts/{7128-011ae9bfc9-lite.chunk.js → 7128-c78fe17b03-lite.chunk.js} +0 -0
- /package/dist/scripts/{714-9a9233a165-lite.chunk.js → 714-4a76ebb3dd-lite.chunk.js} +0 -0
- /package/dist/scripts/{7172-ec35d03d18-lite.chunk.js → 7172-1f31cf542d-lite.chunk.js} +0 -0
- /package/dist/scripts/{7178-18fc8d8e2b-lite.chunk.js → 7178-c16b898c4b-lite.chunk.js} +0 -0
- /package/dist/scripts/{7201-ab1af5ded2-lite.chunk.js → 7201-499b8d534f-lite.chunk.js} +0 -0
- /package/dist/scripts/{7221-ab85d16be5-lite.chunk.js.LICENSE.txt → 7221-f474cc63dd-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7506-09a70fbf9f-lite.chunk.js → 7506-68ed3f4e65-lite.chunk.js} +0 -0
- /package/dist/scripts/{7510-beeed4b9c9-lite.chunk.js → 7510-c8dca44ece-lite.chunk.js} +0 -0
- /package/dist/scripts/{7708-ad01335580-lite.chunk.js → 7708-23d793f3dd-lite.chunk.js} +0 -0
- /package/dist/scripts/{7767-344dd935b6-lite.chunk.js → 7767-9268c4a683-lite.chunk.js} +0 -0
- /package/dist/scripts/{7855-1a9fc7604a-lite.chunk.js → 7855-57800672f3-lite.chunk.js} +0 -0
- /package/dist/scripts/{7925-088d8201ec-lite.chunk.js → 7925-1ed74c737d-lite.chunk.js} +0 -0
- /package/dist/scripts/{7954-65a6a51e46-lite.chunk.js → 7954-9c4b7b9e41-lite.chunk.js} +0 -0
- /package/dist/scripts/{7966-186e34627a-lite.chunk.js → 7966-02c7c80ac1-lite.chunk.js} +0 -0
- /package/dist/scripts/{8025-775d616671-lite.chunk.js → 8025-05b2146624-lite.chunk.js} +0 -0
- /package/dist/scripts/{8038-9812f4b940-lite.chunk.js → 8038-2be681e61a-lite.chunk.js} +0 -0
- /package/dist/scripts/{8046-787309872c-lite.chunk.js → 8046-799f379c70-lite.chunk.js} +0 -0
- /package/dist/scripts/{8056-d967c4ec71-lite.chunk.js → 8056-4476ad4eb5-lite.chunk.js} +0 -0
- /package/dist/scripts/{8082-b97f607a0b-lite.chunk.js → 8082-70126abd26-lite.chunk.js} +0 -0
- /package/dist/scripts/{8114-12abea85e8-lite.chunk.js → 8114-fab7b94633-lite.chunk.js} +0 -0
- /package/dist/scripts/{823-497e142884-lite.chunk.js → 823-068473fb9c-lite.chunk.js} +0 -0
- /package/dist/scripts/{8252-4d30c82ba9-lite.chunk.js → 8252-b305f3dde8-lite.chunk.js} +0 -0
- /package/dist/scripts/{8300-49709fbd7a-lite.chunk.js → 8300-a09e213c8e-lite.chunk.js} +0 -0
- /package/dist/scripts/{8323-0dac88a1c4-lite.chunk.js.LICENSE.txt → 8323-3ffbedb5bf-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8466-3c9e7c601d-lite.chunk.js → 8466-153f30f63a-lite.chunk.js} +0 -0
- /package/dist/scripts/{8564-683d60e0f4-lite.chunk.js → 8564-8329268c13-lite.chunk.js} +0 -0
- /package/dist/scripts/{8573-fd6d95a74d-lite.chunk.js → 8573-3c69027e40-lite.chunk.js} +0 -0
- /package/dist/scripts/{862-1493e77233-lite.chunk.js.LICENSE.txt → 862-d0e4b75ffa-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8681-0629128300-lite.chunk.js.LICENSE.txt → 8681-0ce42b0460-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8779-4942783e86-lite.chunk.js → 8779-36c7415cf6-lite.chunk.js} +0 -0
- /package/dist/scripts/{8789-4f687e8d18-lite.chunk.js → 8789-f564c156ee-lite.chunk.js} +0 -0
- /package/dist/scripts/{8816-af3b26a394-lite.chunk.js → 8816-683aee9ef2-lite.chunk.js} +0 -0
- /package/dist/scripts/{8944-067bb6956e-lite.chunk.js → 8944-9f55b32981-lite.chunk.js} +0 -0
- /package/dist/scripts/{8955-c9c450fbd9-lite.chunk.js → 8955-60682c0ba8-lite.chunk.js} +0 -0
- /package/dist/scripts/{9060-383a7c915a-lite.chunk.js → 9060-0fee904b02-lite.chunk.js} +0 -0
- /package/dist/scripts/{9133-2608671a39-lite.chunk.js → 9133-6d32b1d3d1-lite.chunk.js} +0 -0
- /package/dist/scripts/{9150-07c6fe1623-lite.chunk.js → 9150-87fdc9b964-lite.chunk.js} +0 -0
- /package/dist/scripts/{9226-a0a3c6de00-lite.chunk.js → 9226-769882cac8-lite.chunk.js} +0 -0
- /package/dist/scripts/{9242-d8c79f1dc2-lite.chunk.js → 9242-207a851dbd-lite.chunk.js} +0 -0
- /package/dist/scripts/{9428-37d616a4ba-lite.chunk.js.LICENSE.txt → 9428-63f031caf2-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9455-72327d9c81-lite.chunk.js → 9455-5a11fb14ae-lite.chunk.js} +0 -0
- /package/dist/scripts/{9478-f95ce2c8f9-lite.chunk.js.LICENSE.txt → 9478-c910516183-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9483-4da818b5d3-lite.chunk.js → 9483-cc903e423f-lite.chunk.js} +0 -0
- /package/dist/scripts/{9556-3f22a0a3a6-lite.chunk.js → 9556-2f7651a084-lite.chunk.js} +0 -0
- /package/dist/scripts/{9588-38f79e71d2-lite.chunk.js → 9588-472ef54c3f-lite.chunk.js} +0 -0
- /package/dist/scripts/{9590-4cc6bb88c9-lite.chunk.js → 9590-36f54fad9a-lite.chunk.js} +0 -0
- /package/dist/scripts/{9686-60bbe6df0e-lite.chunk.js → 9686-1271937a80-lite.chunk.js} +0 -0
- /package/dist/scripts/{9863-422648d985-lite.chunk.js → 9863-486a7b8941-lite.chunk.js} +0 -0
- /package/dist/scripts/{9897-b71da1b51a-lite.chunk.js → 9897-bc532bc4c5-lite.chunk.js} +0 -0
- /package/dist/scripts/{9905-771a1a107b-lite.chunk.js → 9905-fbcb0a1423-lite.chunk.js} +0 -0
- /package/dist/scripts/{bundle-596ac32e5b.min.js.LICENSE.txt → bundle-31e832cc92.min.js.LICENSE.txt} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import videojs from 'video.js';
|
|
2
|
-
|
|
3
|
-
declare module 'video.js' {
|
|
4
|
-
export interface VideoJsPlayer {
|
|
5
|
-
qualityLevels(): QualityLevelList;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
declare module 'videojs-contrib-quality-levels' {
|
|
10
|
-
export interface QualityLevelList extends videojs.EventTarget {
|
|
11
|
-
[id: string]: QualityLevel;
|
|
12
|
-
selectedIndex: number;
|
|
13
|
-
length: number;
|
|
14
|
-
addQualityLevel(representation: Representation): QualityLevel;
|
|
15
|
-
removeQualityLevel(qualityLevel: QualityLevel): QualityLevel;
|
|
16
|
-
getQualityLevelById(id: string): QualityLevel;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface QualityLevel {
|
|
20
|
-
id: string;
|
|
21
|
-
label: string;
|
|
22
|
-
enabled: boolean;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface Representation {
|
|
26
|
-
id: string;
|
|
27
|
-
enabled(enabled: boolean): boolean;
|
|
28
|
-
}
|
|
1
|
+
import videojs from 'video.js';
|
|
2
|
+
|
|
3
|
+
declare module 'video.js' {
|
|
4
|
+
export interface VideoJsPlayer {
|
|
5
|
+
qualityLevels(): QualityLevelList;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare module 'videojs-contrib-quality-levels' {
|
|
10
|
+
export interface QualityLevelList extends videojs.EventTarget {
|
|
11
|
+
[id: string]: QualityLevel;
|
|
12
|
+
selectedIndex: number;
|
|
13
|
+
length: number;
|
|
14
|
+
addQualityLevel(representation: Representation): QualityLevel;
|
|
15
|
+
removeQualityLevel(qualityLevel: QualityLevel): QualityLevel;
|
|
16
|
+
getQualityLevelById(id: string): QualityLevel;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface QualityLevel {
|
|
20
|
+
id: string;
|
|
21
|
+
label: string;
|
|
22
|
+
enabled: boolean;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface Representation {
|
|
26
|
+
id: string;
|
|
27
|
+
enabled(enabled: boolean): boolean;
|
|
28
|
+
}
|
|
29
29
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Define our templates as a module so that we can use
|
|
3
|
-
* import statements just the same as we do for other
|
|
4
|
-
* ts/js code.
|
|
5
|
-
*/
|
|
6
|
-
declare module '*.handlebars';
|
|
7
|
-
declare module '*.hbs';
|
|
8
|
-
declare module '*.scss';
|
|
9
|
-
declare module '*.svg';
|
|
10
|
-
|
|
11
|
-
declare module '*.json' {
|
|
12
|
-
export const value: any;
|
|
13
|
-
export default value;
|
|
1
|
+
/**
|
|
2
|
+
* Define our templates as a module so that we can use
|
|
3
|
+
* import statements just the same as we do for other
|
|
4
|
+
* ts/js code.
|
|
5
|
+
*/
|
|
6
|
+
declare module '*.handlebars';
|
|
7
|
+
declare module '*.hbs';
|
|
8
|
+
declare module '*.scss';
|
|
9
|
+
declare module '*.svg';
|
|
10
|
+
|
|
11
|
+
declare module '*.json' {
|
|
12
|
+
export const value: any;
|
|
13
|
+
export default value;
|
|
14
14
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[3533],{70197:(e,r,t)=>{var a;t.d(r,{q:()=>a}),function(e){e.YearGroupValues="yearGroupValues",e.Status="status"}(a||(a={}))},39872:(e,r,t)=>{t.d(r,{N:()=>g});var a,n,s=t(97395),o=t(99940),u=t(54610),c=t(39739);!function(e){e.Content="content",e.OnlineContent="online_content",e.User="user",e.Customer="customer",e.Tag="tag",e.Organisation="organisation",e.Channel="channel"}(a||(a={})),function(e){e.TermsGroupBy="terms-group-by"}(n||(n={}));var i=t(70197);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function d(e,r,t){return(r=function(e){var r=function(e,r){if("object"!==l(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!==l(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===l(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function y(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,a=new Array(r);t<r;t++)a[t]=e[t];return a}var g={getUsers:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,u={query:c.P.buildGetUsersQuery(r,t)};a&&(u.cursor=a);var i="school:users:".concat(e,":").concat(r);return i+=Object.keys(u).map((function(e){return u[e]})).join(":"),{url:s._.urlBuilder("{gateway}/v1/customers/".concat(e,"/users"),u),key:i,success:n,error:o}},getUser:function(e){return{url:"{gateway}/v1/users/".concat(e,"?query=avatar"),key:"school:users:".concat(e)}},bulkRemoveUsers:function(e,r,t,a){var n,s=["school:users","search:users","search:aggregation"];return(null===(n=e.userIds)||void 0===n?void 0:n.length)&&e.userIds.forEach((function(e){return s.push("school:users:".concat(e))})),{url:"{gateway}/v1/users/delete",key:"remove:school:users",invalidationKeys:s,type:o.k.POST,data:e,success:r,error:t,always:a}},createUsers:function(e,r,t,a,n){return{url:"{gateway}/v1/users",key:"create:users",data:e,type:o.k.POST,invalidationKeys:["school:users","user:count"],success:t,error:a,always:n,normalize:!1}},updateUser:function(e,r,t,a,n){var s=["school:users:".concat(e.userId)];return r.toString()===e.userId.toString()&&s.push("currentuser"),{url:"{gateway}/v1/users",key:"edit:user",type:o.k.PUT,data:e,invalidationKeys:["search:aggregation"],success:t,error:a,always:n}},searchUsers:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,u=c.P.buildSearchParams(e,r,t);a&&(u.cursor=a);var i="search:users:".concat(a);return i+=Object.keys(u).sort().map((function(e){return u[e]})).join(":"),{url:s._.urlBuilder("{gateway}/v1/search/users",u),key:i,success:n,error:o}},getSearchUserIds:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0,o=c.P.buildSearchParams(e,r,t),u="search:user:ids";return u+=Object.keys(o).sort().map((function(e){return o[e]})).join(":"),{url:s._.urlBuilder("{gateway}/v1/search/user/ids",o),key:u,normalize:!1,success:a,error:n}},getSearchAggregation:function(e){var r=e.userId,t=e.customerId,s=e.userType,u=e.queryParams,l=void 0===u?{}:u,d=e.userIds,y=e.field,g=c.P.buildSearchFiltersObject(t,s,l),p="search:aggregation:".concat(r,":").concat(t,":").concat(y,":");p+=Object.keys(g).sort().map((function(e){return g[e]})).join(":"),p+=":"+d.join(":");var v={indices:["user"],searchType:a.User,isLearner:!1,type:n.TermsGroupBy,userId:r.toString(),customerId:t.toString(),data:{field:y},idFilters:d,filters:g};return{url:"{gateway}/v1/search/aggregation",type:o.k.POST,key:p,data:v,normalize:!1,formatData:function(e){var r=e.termCount;return y!==i.q.Status?r:Object.keys(r).reduce((function(e,t){return e[t.charAt(0).toUpperCase()+t.slice(1)]=r[t],e}),{})}}},bulkToggleActivation:function(e,r,t,a,n){return{url:"{gateway}/v1/users/status",key:"update:users:status",type:o.k.PUT,data:e,success:t,error:a,always:n,invalidationKeys:["school:users:".concat(e.customerId,":").concat(r)].concat((s=e.users.map((function(e){return"school:users:".concat(e.userId)})),function(e){if(Array.isArray(e))return y(e)}(s)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,r){if(e){if("string"==typeof e)return y(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?y(e,r):void 0}}(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),["search:aggregation"])};var s},bulkValidate:function(e,r,t,a,n){return{url:"{gateway}/v1/users/validate",type:o.k.POST,key:"validate:users",data:e,success:t,error:a,always:n,normalize:!1,formatData:function(e){return e.failedResults.map((function(e){return{errorCodes:e.errorCodes,users:[e.user]}}))}}},yearGroups:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/year-groups?query={orderby:value}"),key:"yeargroups:".concat(e)}},updateAvatar:function(e,r,t,a){return{url:"{gateway}/v1/users/me/avatar",key:"update:avatar",type:o.k.PUT,invalidationKeys:["currentuser","school:users:".concat(r)],data:{fileId:e,fileIdType:u.z9.ImageAPIv2},success:t,error:a}},deleteAvatar:function(e,r,t,a){return{url:"{gateway}/v1/users/me/avatar/".concat(e),key:"delete:avatar",type:o.k.DELETE,updateState:{keys:["school:users:".concat(r),"currentuser"],updateData:function(e){var t,a=e["school:users:".concat(r)],n=e.currentuser;return a.avatar=null,n.avatar=null,d(t={},"school:users:".concat(r),a),d(t,"currentuser",n),t}},success:t,error:a}},changeEmail:function(e,r,t,a){return{url:"{gateway}/v1/users/me/email",key:"change:email",type:o.k.PUT,data:{email:e},success:r,error:t,always:a}},changePassword:function(e,r,t,a){return{url:"{gateway}/v1/users/me/password",key:"change:password",type:o.k.PUT,data:{currentPassword:e.currentPassword,newPassword:e.newPassword},success:r,error:t,always:a}},changeUserPassword:function(e,r,t,a,n,s,u){return{url:"{gateway}/v1/users/admin/change-password",key:"change:password:".concat(r,":").concat(e),type:o.k.PUT,data:{userId:e,newPassword:t,changeOnNextLogin:a},success:n,error:s,always:u}},resendActivationEmail:function(e,r,t){return{url:"{gateway}/v1/users/admin/activation",key:"send:activation:email",type:o.k.POST,data:{userId:e},success:r,error:t}},sendPasswordResetEmail:function(e,r,t,a){return{url:"{gateway}/v1/users/admin/account-reminder",key:"send:password:reset:email",type:o.k.POST,data:{userIds:[e],customerId:r},success:t,error:a}},resendVerificationEmail:function(e,r,t,a){return{url:"{gateway}/v1/users/admin/email-verification",key:"send:verification:email",type:o.k.POST,data:{userId:e,customerId:r},success:t,error:a}},exportList:function(e,r,t,a){return{url:s._.urlBuilder("{gateway}/v1/customers/".concat(e,"/users/report"),{userType:r}),key:"export:users:".concat(r),type:o.k.GET,formatData:function(e){return"data:text/csv;charset=utf-8,".concat(e)},success:t,error:a,invalidationKeys:["export:users:".concat(r)],normalize:!1}},userCount:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=c.P.buildSearchParams(e,r,t),n="search:user:count";return n+=Object.keys(a).sort().map((function(e){return a[e]})).join(":"),{url:s._.urlBuilder("{gateway}/v1/search/user/count",a),key:n,normalize:!1}},authenticationMethods:function(e){return{url:s._.urlBuilder("{gateway}/v1/users/authentication-methods",{id:e}),key:"login:methods:".concat(e.sort().join(":")),normalizeOptions:{idAttribute:"userId"}}},getIdentityProviders:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/identity-providers"),key:"identity:providers:".concat(e),normalize:!1}},getSsoMappings:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/sso-year-group-mappings"),key:"sso:year:group:mappings:".concat(e),normalize:!1}},updateSsoMappings:function(e,r){return{url:"{gateway}/v1/customers/".concat(e,"/sso-year-group-mappings"),key:"sso:year:group:mappings:".concat(e,":update"),type:o.k.POST,invalidationKeys:"sso:year:group:mappings:".concat(e),data:r}},joinRequests:function(){return{url:"{gateway}/v1/customers/join-requests?status=pending",key:"join:requests",normalize:!1}},resolveJoinRequest:function(e,r){return{url:"{gateway}/v1/customers/join-requests/".concat(e),key:"resolve:join:request",type:o.k.PUT,data:{status:r},normalize:!1,invalidationKeys:["join:requests"]}}}},30027:(e,r,t)=>{t.r(r),t.d(r,{ChangePasswordView:()=>S});var a=t(1024),n=t.n(a),s=t(20354),o=t(23481),u=t(9111),c=t(82644),i=t(69883),l=t(68670),d=t(83345),y="userManager.changePasswordSsoWarning";function g(){return n().createElement("div",{className:"alert alert-warning"},n().createElement(d.x,{namespace:y,phrase:"ssoWarning"}))}var p=t(16715),v=t(39872),m=t(31949),f=t(706),h=t(39739),w=t(55452),k=t(76881),P=o.T.encloseNamespace("userManager.changePassword"),b={newPassword:"",confirmPassword:"",changeOnNextLogin:!0};function S(e){var r,t,a=s.a.useBasicFetch(m.N.currentUser()),o=s.a.useBasicFetch(v.N.getUser(e.userId)),d=s.a.useBasicFetch(a.data&&f.F.getCustomerSecuritySettings(a.data.customerId)),y=null===(r=o.data)||void 0===r?void 0:r.userType,S=null===(t=o.data)||void 0===t?void 0:t.role,I=s.a.useGetFetchAsync(),T=(0,i.Z)(),j=h.P.getMinimumPasswordLength(d.data,y,S),O=!!d.data&&!!o.data;return n().createElement(u.G,{title:P("title"),closePopup:e.closePopup,showLoadingSpinner:!O},!!O&&w.l.hasSso(o.data)&&n().createElement(g,null),n().createElement(c.n,{initialValues:b,onSubmit:function(r){var t=v.N.changeUserPassword(e.userId,y,r.newPassword,r.changeOnNextLogin);I(t).then((function(){return T.success(P("success"))})).catch((function(){return T.error(P("error"))})).finally(e.closePopup)},validationSchema:(0,p.U)(j)},O&&n().createElement(l.p,{onClickCancel:e.closePopup,submitVariant:"dark",buttonContainerClass:"border-top d-flex justify-content-end align-items-center pt-3 px-3 mx-n3",showChangeOnNextLogin:y===k.Y.Learner,hideCurrentPassword:!0})))}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[6285],{64767:(e,t,n)=>{n.r(t),n.d(t,{BulkUserActionsResetPasswordActionDetailsView:()=>C});var r=n(1024),a=n.n(r),s=n(20354),i=n(31949),o=n(58703),l=n(92802),u=n(2948),c=n(83345),d=n(38143),m=n(82644),f=n(68670),p=n(16715),h=n(96728);function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var g="userManager.bulkUserActionsResetPasswordActionDetails",w={newPassword:"",confirmPassword:"",changeOnNextLogin:!0};function y(e){var t=(0,l.u6)();return a().useEffect((function(){var n,r;e.onUpdate(null===(n=t.values)||void 0===n?void 0:n.newPassword,null===(r=t.values)||void 0===r?void 0:r.changeOnNextLogin,t.isValid&&t.dirty)}),[t.isValid,t.values]),a().createElement(f.p,{inputWidthClass:"w-50",hideButtons:!0,hideCurrentPassword:!0,showChangeOnNextLogin:!0})}function b(e){var t,n,r=(t=(0,u.D)(d.g.BULK_USER_ACTIONS),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,s,i,o=[],l=!0,u=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=s.call(n)).done)&&(o.push(r.value),o.length!==t);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return o}}(t,n)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1],s=a().useContext(h.e),i=s.disableNext,o=s.setDisableNext;return a().useEffect((function(){o(!0)}),[]),a().useEffect((function(){r("subAction","resetPassword")}),[]),a().createElement(a().Fragment,null,a().createElement("h2",{className:"h4 mb-3"},a().createElement(c.x,{namespace:g,phrase:"heading"})),a().createElement("p",null,a().createElement(c.x,{namespace:g,phrase:"info",options:{smartCount:e.totalUsers}})),a().createElement("div",{className:"px-2 pt-2 border rounded mb-2 pb-0"},a().createElement("ul",{className:"mt-2 pl-3 ml-1"},a().createElement("li",null,a().createElement(c.x,{namespace:g,phrase:"ssoWarning"}))),a().createElement(m.n,{initialValues:w,onSubmit:function(){},validationSchema:(0,p.U)(e.minPasswordLength)},a().createElement(y,{onUpdate:function(e,t,n){n&&i&&o(!1),n||i||o(!0),r("password",e),r("changeOnNextLogin",t)}}))))}var E=n(88323),x=n(18087),A=n(706),S=n(39739),U=n(86613);function C(e){var t=(0,E.h)(e.userType),n=t.users,r=t.count,l=(0,x.Y)(e.userType),u=s.a.useBasicFetch(i.N.currentUser()),c=s.a.useBasicFetch(u.data&&A.F.getCustomerSecuritySettings(u.data.customerId)),d=S.P.getMinimumPasswordLength(c.data,e.userType,U.i.User);return a().createElement(o.d,{appLinks:l,userType:e.userType,users:n,currentStep:"action-details",userCount:r,loaded:!0},a().createElement(b,{minPasswordLength:d,totalUsers:r,appLinks:l}))}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[6381],{68670:(e,t,r)=>{r.d(t,{p:()=>d});var n=r(1024),a=r.n(n),o=r(92802),s=r(23481),i=r(38365),c=r(83345),l=r(23201),u="shared.changePasswordForm",m=s.T.encloseNamespace(u);function d(e){var t=(0,o.u6)();return a().createElement(o.l0,null,!e.hideCurrentPassword&&a().createElement(i.W,{className:e.inputWidthClass,name:"currentPassword",label:m("currentPassword"),placeholder:m("currentPasswordPlaceholder"),type:"password",autoComplete:"current-password",showRequiredStar:!0}),a().createElement(i.W,{className:e.inputWidthClass,name:"newPassword",label:m("newPassword"),placeholder:m("newPasswordPlaceholder"),type:"password",autoComplete:"new-password",showRequiredStar:!0}),a().createElement(i.W,{className:e.inputWidthClass,name:"confirmPassword",label:m("confirmPassword"),placeholder:m("confirmPasswordPlaceholder"),type:"password",autoComplete:"off",showRequiredStar:!0}),e.showChangeOnNextLogin&&a().createElement(i.W,{id:"changeOnNextLogin",name:"changeOnNextLogin",label:m("changeOnNextLogin"),type:"checkbox",checked:t.values.changeOnNextLogin,checkboxLabelFontWeight:"normal"}),!e.hideButtons&&a().createElement("div",{className:e.buttonContainerClass},!e.hideCancelButton&&!!e.onClickCancel&&a().createElement("button",{type:"button",className:"btn btn-link mr-2 ".concat("lg"===e.buttonSize?"btn-lg":""),onClick:e.onClickCancel},a().createElement(c.x,{namespace:u,phrase:"cancel"})),a().createElement(l.A,{isNew:!1,submitText:e.submitText||m("save"),variant:e.submitVariant,size:e.buttonSize})))}d.defaultProps={submitVariant:"outline-dark",buttonContainerClass:"btn-container d-flex justify-content-end align-items-center",inputWidthClass:"w-100"}},49935:(e,t,r)=>{r.d(t,{Oo:()=>m,b2:()=>d});var n=r(1024),a=r(8493),o=r(5859),s=r(86764),i=r(3747),c=r(83914),l=r(58130),u=function(e){var t=e.breadcrumb,r=t.name,o=t.appLink,s=t.active,i=e.withBackIcon;return n.createElement("li",{className:"breadcrumb-item".concat(s?" active":"")},s?n.createElement("strong",null,r):n.createElement(a.F,{appLink:o},i&&n.createElement(c.x,{svgName:l.vn.ChevronLeft,size:c.S.Small}),n.createElement("span",{className:i?"ml-2":""},r)))},m=function(e){var t=e.breadcrumbs,r=(0,i.a)(s.r.XS),a=null==t?void 0:t.length;return!a||r&&a<2?n.createElement(n.Fragment,null):r?n.createElement("ol",{className:"breadcrumb m-0 p-0"},n.createElement(u,{breadcrumb:t[a-2],withBackIcon:!0})):n.createElement("ol",{className:"breadcrumb m-0 p-0"},t.map((function(e,t){return n.createElement(u,{key:t,breadcrumb:e})})))},d=n.memo((function(e){var t=e.numItems,r=void 0===t?3:t;return(0,i.a)(s.r.XS)?n.createElement("div",{className:"partial-loading-background",style:{height:"1.3125rem",width:"6rem"}}):n.createElement("nav",{"aria-label":"breadcrumb"},n.createElement("ol",{className:"breadcrumb m-0 p-0"},o.u.getPartialLoadingItems({numItems:r}).map((function(e,t){var r=e.width;return n.createElement("li",{key:t,className:"breadcrumb-item"},n.createElement("span",{className:"d-inline-block partial-loading-background",style:{width:r},dangerouslySetInnerHTML:{__html:" "}}))}))))}))},23201:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(1024),a=r(92802),o=r(33936),s=r(83345),i=r(2102),c="shared.formButtons";function l(e){var t=(0,a.u6)(),r=(0,o.l)(t);return n.createElement(i.m,{variant:e.variant||"primary",type:"submit",disabled:!r,size:e.size,className:e.className?e.className:"",showSpinner:t.isSubmitting},e.submitText?n.createElement(n.Fragment,null,e.submitText):n.createElement(s.x,{namespace:c,phrase:e.isNew?"create":"save"}))}},38365:(e,t,r)=>{r.d(t,{n:()=>w,W:()=>E});var n=r(1024),a=r(92802),o=r(99910),s=r(1048),i=r(79014),c=r(73814),l=r(8493),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r};function m(e){var t=e.label,r=e.checkboxLabelClassName,a=e.checkboxLabelFontWeight,s=e.className,i=u(e,["label","checkboxLabelClassName","checkboxLabelFontWeight","className"]);return n.createElement(o.Form.Group,null,n.createElement("div",{className:"custom-control custom-checkbox ".concat(s)},n.createElement(w,Object.assign({className:"custom-control-input"},i)),n.createElement(o.Form.Label,{className:"custom-control-label cursor-pointer ".concat("normal"===a?"font-weight-normal":""," \n ").concat(r),htmlFor:i.id},t),e.checkboxAppLink&&e.checkboxAppLinkText&&n.createElement(n.Fragment,null,n.createElement("span",null," "),n.createElement(l.F,{appLink:e.checkboxAppLink,className:"info-link"},e.checkboxAppLinkText))))}var d=r(83914),p=r(58130),f=r(83345);function y(e){var t=(0,a.u6)().values[e.fieldName];return"string"!=typeof t?n.createElement(n.Fragment,null):n.createElement("div",{className:"float-right text-muted font-weight-normal"},t.length,"/",e.limit," characters")}const g={revealPassword:"jCfI0",passwordInput:"RBJnf",passwordContainer:"d78lK",passwordContainerDisabled:"asbVo",infoTooltip:"wzyOG"};function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var v=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r},b="shared.formField";function w(e){var t,r,o=e.children,c=v(e,["children"]),l=(t=n.useState(e.type),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,s,i=[],c=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw a}}return i}}(t,r)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],m=l[1],f=i.q.isFunction(o)?function(e){return o(e)}:n.Children.count(o)?o:null;if("password"!==c.type)return n.createElement(a.gN,Object.assign({},s.t.omit(c,["formSize"])),f);var y="position-relative ".concat(g.passwordContainer);return c.className&&(y+=" ".concat(c.className)),c.disabled&&(y+=" ".concat(g.passwordContainerDisabled)),n.createElement("div",{className:y},n.createElement(a.gN,Object.assign({},s.t.omit(c,["formSize","type","className"]),{type:u,className:"".concat(g.passwordInput," border-0 w-100 h-100 outline-none rounded")}),f),"password"===c.type&&n.createElement(d.x,{svgName:"password"===u?p.vn.VisibleOn:p.vn.VisibleOff,className:"svg-container cursor-pointer ".concat(g.revealPassword),onClick:function(){m("password"===u?"text":"password")}}))}function E(e){var t=e.label,r=e.className,i=e.showCharacterCounter,l=e.showRequiredStar,u=e.infoTooltip,h=e.infoTooltipPlacement,E=e.infoText,S=e.formSize,k=e.showOptionalLabel,P=v(e,["label","className","showCharacterCounter","showRequiredStar","infoTooltip","infoTooltipPlacement","infoText","formSize","showOptionalLabel"]),O=(0,a.u6)(),N=O.errors,C=O.touched,x=function(){};if("checkbox"===P.type){var j=s.t.omit(e,["formSize"]);return e.disabled&&(j.onChange=x),n.createElement(m,Object.assign({},j))}var I=Object.assign(Object.assign({},P),{className:c.w.getCustomFormControlClassName(N,C,P.name,S,r)});return e.disabled&&(I.onChange=x),n.createElement(o.Form.Group,null,!!t&&n.createElement(o.Form.Label,{htmlFor:P.id,className:"d-flex align-items-center"},t,l&&n.createElement("span",{className:"text-danger"},"*"),u&&n.createElement(d.x,{className:"svg-container text-muted ".concat(g.infoTooltip),svgName:p.vn.Info,title:u,tooltipPlacement:h,tooltipSpanHack:!0}),k&&n.createElement("span",{className:"text-muted"}," ",n.createElement(f.x,{namespace:b,phrase:"optional"})),!!i&&!!P.maxLength&&n.createElement("div",{className:"ml-auto"},n.createElement(y,{fieldName:P.name,limit:P.maxLength}))),n.createElement(w,Object.assign({},I)),!!E&&n.createElement(o.Form.Text,{className:"text-muted"},E),n.createElement(a.Bc,{name:P.name},(function(e){return n.createElement(o.Form.Control.Feedback,{type:"invalid"},e)})))}w.defaultProps={autoComplete:"off"},E.defaultProps={autoComplete:"off",infoTooltipPlacement:"top"}},82644:(e,t,r)=>{r.d(t,{b:()=>u,n:()=>l});var n=r(1024),a=r(92802),o=r(79014),s=r(1048);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r};function l(e){var t=e.castInitialValues,r=e.castValuesOnSubmit,l=e.initialValues,u=e.onSubmit,m=c(e,["castInitialValues","castValuesOnSubmit","initialValues","onSubmit"]),d=t&&e.validationSchema?e.validationSchema.cast(function(e){if(!e)return{};var t=s.t.deepClone(e);return function e(r){Object.keys(t).forEach((function(n){t.hasOwnProperty(n)&&(s.t.isObject(r[n])?e(r[n]):null===t[n]&&delete t[n])}))}(t),t}(l)):l,p={allowInitialSubmit:e.allowInitialSubmit};return n.createElement(a.J9,Object.assign({enableReinitialize:!0},m,{initialValues:d,onSubmit:function(t,n){var a=n.setSubmitting,o=n.resetForm,s=n.setFieldError,c=r&&e.validationSchema?e.validationSchema.cast(t):t;u(c,(function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(r.reset&&o(),r.errors)for(var n=0,c=Object.entries(r.errors);n<c.length;n++){var l=(e=c[n],t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,s,i=[],c=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=l[0],m=l[1];s(u,m)}a(!1)}))},initialStatus:p}),o.q.isFunction(e.children)?function(t){return e.children(t)}:n.Children.count(e.children)?e.children:null)}function u(){return(0,a.u6)()}l.defaultProps={castInitialValues:!0,castValuesOnSubmit:!0}},70197:(e,t,r)=>{var n;r.d(t,{q:()=>n}),function(e){e.YearGroupValues="yearGroupValues",e.Status="status"}(n||(n={}))},73814:(e,t,r)=>{r.d(t,{w:()=>a});var n=r(92802),a={getCustomFormControlClassName:function(e,t,r,a,o){var s="form-control";return"sm"===a&&(s+=" form-control-sm"),"lg"===a&&(s+=" form-control-lg"),(0,n.u9)(t,r)&&(0,n.u9)(e,r)&&(s+=" is-invalid"),o&&(s+=" ".concat(o)),s}}},5859:(e,t,r)=>{function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{u:()=>o});var a={numItems:5,minWidth:50,maxWidth:100},o={getPartialLoadingItems:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Object.assign(Object.assign({},a),t);return(e=Array(r.numItems),function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(){return{width:"".concat(Math.max(Math.floor(Math.random()*r.maxWidth),r.minWidth),"px")}}))}}},81803:(e,t,r)=>{r.d(t,{d:()=>y});var n=r(1024),a=r.n(n),o=r(81886),s=r(23481),i=r(49935),c=r(22902),l=r(97291),u=r(14070),m=r(96368);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var p="settings.settingsLayout",f=function(e){var t=(0,c.T)().hasPermissions,r=(0,m.e)();if(e)return t(e);var n=o.Q.AppLinkHelper.getCurrentAppLink();return n.application!==l.O.SETTINGS||r.some((function(e){return e.modules.some((function(e){return"appLink"in e&&e.appLink.action===n.action}))}))};function y(e){var t=f(e.requiredPermissions);if(a().useEffect((function(){t||o.Q.AppLinkHelper.trigger({application:l.O.SETTINGS,action:u.e.Settings.HOME},{replace:!0})}),[t]),!t)return a().createElement(a().Fragment,null);var r,n=e.breadcrumbs.map((function(t,r){return{name:t,appLink:{application:l.O.SETTINGS,action:u.e.Settings.HOME},active:r===e.breadcrumbs.length-1}}));return a().createElement("div",{className:"px-3"},a().createElement("h1",{className:"h2"},e.heading),a().createElement("div",{className:"pb-3"},a().createElement(i.Oo,{breadcrumbs:[{name:s.T.getPhrase(p,"settingsBreadcrumb"),appLink:{application:l.O.SETTINGS,action:u.e.Settings.HOME}}].concat((r=n,function(e){if(Array.isArray(e))return d(e)}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))})),e.description&&a().createElement(a().Fragment,null,a().createElement("p",null,e.description),a().createElement("hr",null)),e.children)}},706:(e,t,r)=>{r.d(t,{F:()=>a});var n=r(99940),a={getCustomerSecuritySettings:function(e,t,r){return{url:"{gateway}/v1/customers/".concat(e,"/settings/security"),key:"customers:security:settings",normalize:!1,success:t,error:r}},setCustomerSecuritySettings:function(e,t,r,a){return{url:"{gateway}/v1/customers/".concat(e,"/settings/security"),key:"update:security:settings",invalidationKeys:"customers:security:settings",type:n.k.PUT,normalize:!1,data:t,success:r,error:a}}}},26381:(e,t,r)=>{r.r(t),r.d(t,{AccountSettingsView:()=>W});var n=r(1024),a=r.n(n),o=r(58566),s=r(20354),i=r(23481),c=r(31949),l=r(69883),u=r(3747),m=r(86764),d=r(39739),p=r(49985),f=r(65858),y=r(39872),g=r(92802),h=r(83345),v=r(82644),b=r(38365),w=r(23201),E=r(5173),S="settings.emailSettings",k=(0,E.Ry)().shape({email:(0,E.Z_)().required((function(){return i.T.getPhrase(S,"emailRequired")})).email((function(){return i.T.getPhrase(S,"emailInvalid")})).trim().default("")}),P=r(86794);function O(){return a().createElement(P.b,null,a().createElement("svg",{viewBox:"0 0 24 24"},a().createElement("path",{d:"M10.407 12.368l-1.22-1.22a.49.49 0 0 0-.698.004l-.583.583a.494.494 0 0 0-.004.697l2.135 2.135c.107.108.25.154.388.142a.488.488 0 0 0 .352-.143l4.362-4.362a.494.494 0 0 0-.004-.698l-.582-.582a.495.495 0 0 0-.698-.004l-3.448 3.448zm7.922-.37l1.437 1.406c.208.194.277.437.208.728a.716.716 0 0 1-.541.531l-1.957.5.551 1.936a.671.671 0 0 1-.197.729.671.671 0 0 1-.73.198l-1.935-.552-.5 1.957a.716.716 0 0 1-.53.541 1.28 1.28 0 0 1-.199.021.686.686 0 0 1-.53-.229L12 18.328l-1.405 1.436c-.195.208-.437.278-.729.208a.696.696 0 0 1-.53-.541l-.5-1.957-1.937.552a.671.671 0 0 1-.728-.198.671.671 0 0 1-.198-.729l.551-1.936-1.957-.5a.716.716 0 0 1-.54-.53c-.07-.292 0-.535.207-.73l1.437-1.405-1.437-1.405c-.208-.194-.277-.437-.208-.729a.716.716 0 0 1 .541-.53l1.957-.5-.551-1.936a.671.671 0 0 1 .198-.73.671.671 0 0 1 .728-.197l1.936.552.5-1.957a.675.675 0 0 1 .531-.531.671.671 0 0 1 .729.198L12 5.68l1.405-1.447a.697.697 0 0 1 .73-.198c.284.07.46.246.53.53l.5 1.958L17.1 5.97a.671.671 0 0 1 .729.198.671.671 0 0 1 .197.729l-.551 1.936 1.957.5a.715.715 0 0 1 .541.53c.07.292 0 .535-.208.73l-1.437 1.404z"})))}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var C="settings.emailSettings",x=i.T.encloseNamespace(C);function j(e){var t,r,n=(0,u.a)(m.r.MDDown),o=(t=a().useState(!n),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,s,i=[],c=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw a}}return i}}(t,r)||function(e,t){if(e){if("string"==typeof e)return N(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=o[0],i=o[1],c=e.currentUser.emailVerified;return a().useEffect((function(){n||s||i(!0)}),[n,s]),a().createElement(h.D.Provider,{value:C},a().createElement("h2",{className:"h4 d-flex align-items-center"},a().createElement(h.x,{phrase:"heading"}),c&&a().createElement("span",{className:"font-size-normal font-weight-500 text-primary d-flex align-items-center mb-0 ml-2"},a().createElement(h.x,{phrase:"verified"}),a().createElement(O,null))),c&&a().createElement("p",null,a().createElement(h.x,{phrase:"info",options:{email:e.currentUser.email}})),s?a().createElement(v.n,{initialValues:{email:e.currentUser.email||""},onSubmit:e.onChangeEmail,validationSchema:k},a().createElement(g.l0,null,a().createElement(b.W,{className:"w-75",name:"email",placeholder:x("emailPlaceholder"),autoComplete:"email"}),a().createElement("div",{className:"d-flex justify-content-end w-75 ".concat(n?"ml-n2":"")},n&&a().createElement("button",{type:"button",className:"btn btn-link mr-2",onClick:function(){return i(!1)}},a().createElement(h.x,{phrase:"cancel"})),a().createElement(w.A,{isNew:!1,submitText:x(c?"updateEmail":"verifyEmail"),variant:c?"outline-dark":"dark"})))):a().createElement(a().Fragment,null,a().createElement("div",{className:"d-flex"},a().createElement("button",{className:"btn btn-outline-dark mr-2",onClick:function(){return i(!0)}},a().createElement(h.x,{phrase:"change"})))),a().createElement("p",{className:"mb-0 mt-2"},a().createElement(h.x,{phrase:"note"})))}var I=r(68670),T=i.T.encloseNamespace("settings.passwordSettings"),A=function(e){return(0,E.Ry)().shape({currentPassword:(0,E.Z_)().required((function(){return T("currentPasswordRequired")})).trim().default(""),newPassword:(0,E.Z_)().required((function(){return T("newPasswordRequired")})).min(e,(function(){return T("newPasswordMinLength",{minLen:e})})).trim().default(""),confirmPassword:(0,E.Z_)().required((function(){return T("confirmPasswordRequired")})).oneOf([(0,E.iH)("newPassword"),null],(function(){return T("passwordsDontMatch")})).trim().default("")})};function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var U="settings.passwordSettings",F={currentPassword:"",newPassword:"",confirmPassword:""};function q(e){var t,r,n=(0,u.a)(m.r.MDDown),o=(t=a().useState(!n),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,s,i=[],c=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(i.push(n.value),i.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw a}}return i}}(t,r)||function(e,t){if(e){if("string"==typeof e)return L(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=o[0],c=o[1];return a().useEffect((function(){n||s||c(!0)}),[n,s]),a().createElement(h.D.Provider,{value:U},a().createElement("h2",{className:"h4"},a().createElement(h.x,{phrase:"heading"})),s?a().createElement(a().Fragment,null,a().createElement("p",null,a().createElement(h.x,{phrase:"info"})),a().createElement(v.n,{initialValues:F,onSubmit:function(t,r){e.onChangePassword(t,r,(function(){return r({reset:!0})}))},validationSchema:A(e.minPasswordLength)},a().createElement(I.p,{onClickCancel:function(){return c(!1)},hideCancelButton:!n,submitText:i.T.getPhrase(U,"savePassword"),buttonContainerClass:n?"d-flex justify-content-end ml-n2 w-75":"d-flex justify-content-end w-75",inputWidthClass:"w-75"}))):a().createElement("button",{className:"btn btn-outline-dark ",onClick:function(){return c(!0)}},a().createElement(h.x,{phrase:"change"})))}const z={partialLabel:"aKssR",partialInfo:"ZrKZk",partialInput:"Lvn15",partialSubmit:"TActD",partialNote:"pqp7j"};function M(){return a().createElement("div",{className:"w-50"},a().createElement("div",{className:"partial-loading-background mb-2 ".concat(z.partialLabel)}),a().createElement("div",{className:"partial-loading-background ".concat(z.partialInfo)}),a().createElement("div",{className:"form-group"},a().createElement("div",{className:"partial-loading-background ".concat(z.partialInput)})),a().createElement("div",{className:"partial-loading-background ".concat(z.partialSubmit)}),a().createElement("div",{className:"partial-loading-background mt-2 ".concat(z.partialNote)}))}var V=r(81803),R=r(706),B=i.T.encloseNamespace("settings.accountSettings");function W(){var e,t=(0,o.useDispatch)(),r=(0,l.Z)(),n=(0,u.a)(m.r.MDDown),i=s.a.useBasicFetch(c.N.currentUser()),g=s.a.useBasicFetch(i.data&&y.N.getUser(i.data.id)),h=s.a.useBasicFetch(i.data&&R.F.getCustomerSecuritySettings(i.data.customerId)),v=d.P.getMinimumPasswordLength(h.data,null===(e=g.data)||void 0===e?void 0:e.userType,i.data.role);return a().createElement(V.d,{heading:B("heading"),breadcrumbs:[B("breadcrumb")]},a().createElement("div",{className:n?"w-100":"w-50"},i.data?a().createElement(j,{currentUser:i.data,onChangeEmail:function(e,n){s.a.fetch(t,y.N.changeEmail(e.email,(function(){p.k.logUserAction({id:i.data.id,oldEmail:i.data.email,newEmail:e.email},{actionType:f.UserAction.VerifyEmail,entity:f.EntityType.User,location:f.LocationContext.Settings,workflowPhase:f.WorkflowPhase.Start}),r.success(B("changeEmailRequestSuccess",{email:e.email,escapeText:!0}))}),(function(){r.error(B("changeEmailRequestError"))}),n))}}):a().createElement(M,null)),a().createElement("hr",null),a().createElement("div",{className:n?"w-100":"w-50"},h.data&&a().createElement(q,{onChangePassword:function(e,n,a){s.a.fetch(t,y.N.changePassword(e,(function(){p.k.logUserAction({id:i.data.id,oldPassword:e.currentPassword,newPassword:e.newPassword},{actionType:f.UserAction.ChangePassword,entity:f.EntityType.User,location:f.LocationContext.Settings,workflowPhase:f.WorkflowPhase.Complete}),r.success(B("changePasswordSuccess")),a()}),(function(e){var t=e.responseJSON;"user.password-too-short"===t.errorCode?r.error(B("changePasswordRequirementsError")):"user.invalid-password"===t.errorCode?r.error(B("changePasswordInvalid")):"user.same-password"===t.errorCode?r.error("changePasswordSame"):"user.locked-out"===t.errorCode?r.error("changePasswordLockedOut"):r.error(B("changePasswordError"))}),n))},minPasswordLength:v})))}},39872:(e,t,r)=>{r.d(t,{N:()=>p});var n,a,o=r(97395),s=r(99940),i=r(54610),c=r(39739);!function(e){e.Content="content",e.OnlineContent="online_content",e.User="user",e.Customer="customer",e.Tag="tag",e.Organisation="organisation",e.Channel="channel"}(n||(n={})),function(e){e.TermsGroupBy="terms-group-by"}(a||(a={}));var l=r(70197);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function m(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===u(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var p={getUsers:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,i={query:c.P.buildGetUsersQuery(t,r)};n&&(i.cursor=n);var l="school:users:".concat(e,":").concat(t);return l+=Object.keys(i).map((function(e){return i[e]})).join(":"),{url:o._.urlBuilder("{gateway}/v1/customers/".concat(e,"/users"),i),key:l,success:a,error:s}},getUser:function(e){return{url:"{gateway}/v1/users/".concat(e,"?query=avatar"),key:"school:users:".concat(e)}},bulkRemoveUsers:function(e,t,r,n){var a,o=["school:users","search:users","search:aggregation"];return(null===(a=e.userIds)||void 0===a?void 0:a.length)&&e.userIds.forEach((function(e){return o.push("school:users:".concat(e))})),{url:"{gateway}/v1/users/delete",key:"remove:school:users",invalidationKeys:o,type:s.k.POST,data:e,success:t,error:r,always:n}},createUsers:function(e,t,r,n,a){return{url:"{gateway}/v1/users",key:"create:users",data:e,type:s.k.POST,invalidationKeys:["school:users","user:count"],success:r,error:n,always:a,normalize:!1}},updateUser:function(e,t,r,n,a){var o=["school:users:".concat(e.userId)];return t.toString()===e.userId.toString()&&o.push("currentuser"),{url:"{gateway}/v1/users",key:"edit:user",type:s.k.PUT,data:e,invalidationKeys:["search:aggregation"],success:r,error:n,always:a}},searchUsers:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0,i=c.P.buildSearchParams(e,t,r);n&&(i.cursor=n);var l="search:users:".concat(n);return l+=Object.keys(i).sort().map((function(e){return i[e]})).join(":"),{url:o._.urlBuilder("{gateway}/v1/search/users",i),key:l,success:a,error:s}},getSearchUserIds:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,s=c.P.buildSearchParams(e,t,r),i="search:user:ids";return i+=Object.keys(s).sort().map((function(e){return s[e]})).join(":"),{url:o._.urlBuilder("{gateway}/v1/search/user/ids",s),key:i,normalize:!1,success:n,error:a}},getSearchAggregation:function(e){var t=e.userId,r=e.customerId,o=e.userType,i=e.queryParams,u=void 0===i?{}:i,m=e.userIds,d=e.field,p=c.P.buildSearchFiltersObject(r,o,u),f="search:aggregation:".concat(t,":").concat(r,":").concat(d,":");f+=Object.keys(p).sort().map((function(e){return p[e]})).join(":"),f+=":"+m.join(":");var y={indices:["user"],searchType:n.User,isLearner:!1,type:a.TermsGroupBy,userId:t.toString(),customerId:r.toString(),data:{field:d},idFilters:m,filters:p};return{url:"{gateway}/v1/search/aggregation",type:s.k.POST,key:f,data:y,normalize:!1,formatData:function(e){var t=e.termCount;return d!==l.q.Status?t:Object.keys(t).reduce((function(e,r){return e[r.charAt(0).toUpperCase()+r.slice(1)]=t[r],e}),{})}}},bulkToggleActivation:function(e,t,r,n,a){return{url:"{gateway}/v1/users/status",key:"update:users:status",type:s.k.PUT,data:e,success:r,error:n,always:a,invalidationKeys:["school:users:".concat(e.customerId,":").concat(t)].concat((o=e.users.map((function(e){return"school:users:".concat(e.userId)})),function(e){if(Array.isArray(e))return d(e)}(o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),["search:aggregation"])};var o},bulkValidate:function(e,t,r,n,a){return{url:"{gateway}/v1/users/validate",type:s.k.POST,key:"validate:users",data:e,success:r,error:n,always:a,normalize:!1,formatData:function(e){return e.failedResults.map((function(e){return{errorCodes:e.errorCodes,users:[e.user]}}))}}},yearGroups:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/year-groups?query={orderby:value}"),key:"yeargroups:".concat(e)}},updateAvatar:function(e,t,r,n){return{url:"{gateway}/v1/users/me/avatar",key:"update:avatar",type:s.k.PUT,invalidationKeys:["currentuser","school:users:".concat(t)],data:{fileId:e,fileIdType:i.z9.ImageAPIv2},success:r,error:n}},deleteAvatar:function(e,t,r,n){return{url:"{gateway}/v1/users/me/avatar/".concat(e),key:"delete:avatar",type:s.k.DELETE,updateState:{keys:["school:users:".concat(t),"currentuser"],updateData:function(e){var r,n=e["school:users:".concat(t)],a=e.currentuser;return n.avatar=null,a.avatar=null,m(r={},"school:users:".concat(t),n),m(r,"currentuser",a),r}},success:r,error:n}},changeEmail:function(e,t,r,n){return{url:"{gateway}/v1/users/me/email",key:"change:email",type:s.k.PUT,data:{email:e},success:t,error:r,always:n}},changePassword:function(e,t,r,n){return{url:"{gateway}/v1/users/me/password",key:"change:password",type:s.k.PUT,data:{currentPassword:e.currentPassword,newPassword:e.newPassword},success:t,error:r,always:n}},changeUserPassword:function(e,t,r,n,a,o,i){return{url:"{gateway}/v1/users/admin/change-password",key:"change:password:".concat(t,":").concat(e),type:s.k.PUT,data:{userId:e,newPassword:r,changeOnNextLogin:n},success:a,error:o,always:i}},resendActivationEmail:function(e,t,r){return{url:"{gateway}/v1/users/admin/activation",key:"send:activation:email",type:s.k.POST,data:{userId:e},success:t,error:r}},sendPasswordResetEmail:function(e,t,r,n){return{url:"{gateway}/v1/users/admin/account-reminder",key:"send:password:reset:email",type:s.k.POST,data:{userIds:[e],customerId:t},success:r,error:n}},resendVerificationEmail:function(e,t,r,n){return{url:"{gateway}/v1/users/admin/email-verification",key:"send:verification:email",type:s.k.POST,data:{userId:e,customerId:t},success:r,error:n}},exportList:function(e,t,r,n){return{url:o._.urlBuilder("{gateway}/v1/customers/".concat(e,"/users/report"),{userType:t}),key:"export:users:".concat(t),type:s.k.GET,formatData:function(e){return"data:text/csv;charset=utf-8,".concat(e)},success:r,error:n,invalidationKeys:["export:users:".concat(t)],normalize:!1}},userCount:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=c.P.buildSearchParams(e,t,r),a="search:user:count";return a+=Object.keys(n).sort().map((function(e){return n[e]})).join(":"),{url:o._.urlBuilder("{gateway}/v1/search/user/count",n),key:a,normalize:!1}},authenticationMethods:function(e){return{url:o._.urlBuilder("{gateway}/v1/users/authentication-methods",{id:e}),key:"login:methods:".concat(e.sort().join(":")),normalizeOptions:{idAttribute:"userId"}}},getIdentityProviders:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/identity-providers"),key:"identity:providers:".concat(e),normalize:!1}},getSsoMappings:function(e){return{url:"{gateway}/v1/customers/".concat(e,"/sso-year-group-mappings"),key:"sso:year:group:mappings:".concat(e),normalize:!1}},updateSsoMappings:function(e,t){return{url:"{gateway}/v1/customers/".concat(e,"/sso-year-group-mappings"),key:"sso:year:group:mappings:".concat(e,":update"),type:s.k.POST,invalidationKeys:"sso:year:group:mappings:".concat(e),data:t}},joinRequests:function(){return{url:"{gateway}/v1/customers/join-requests?status=pending",key:"join:requests",normalize:!1}},resolveJoinRequest:function(e,t){return{url:"{gateway}/v1/customers/join-requests/".concat(e),key:"resolve:join:request",type:s.k.PUT,data:{status:t},normalize:!1,invalidationKeys:["join:requests"]}}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[7939],{68670:(e,t,n)=>{n.d(t,{p:()=>d});var r=n(1024),a=n.n(r),o=n(92802),l=n(23481),i=n(38365),s=n(83345),c=n(23201),u="shared.changePasswordForm",m=l.T.encloseNamespace(u);function d(e){var t=(0,o.u6)();return a().createElement(o.l0,null,!e.hideCurrentPassword&&a().createElement(i.W,{className:e.inputWidthClass,name:"currentPassword",label:m("currentPassword"),placeholder:m("currentPasswordPlaceholder"),type:"password",autoComplete:"current-password",showRequiredStar:!0}),a().createElement(i.W,{className:e.inputWidthClass,name:"newPassword",label:m("newPassword"),placeholder:m("newPasswordPlaceholder"),type:"password",autoComplete:"new-password",showRequiredStar:!0}),a().createElement(i.W,{className:e.inputWidthClass,name:"confirmPassword",label:m("confirmPassword"),placeholder:m("confirmPasswordPlaceholder"),type:"password",autoComplete:"off",showRequiredStar:!0}),e.showChangeOnNextLogin&&a().createElement(i.W,{id:"changeOnNextLogin",name:"changeOnNextLogin",label:m("changeOnNextLogin"),type:"checkbox",checked:t.values.changeOnNextLogin,checkboxLabelFontWeight:"normal"}),!e.hideButtons&&a().createElement("div",{className:e.buttonContainerClass},!e.hideCancelButton&&!!e.onClickCancel&&a().createElement("button",{type:"button",className:"btn btn-link mr-2 ".concat("lg"===e.buttonSize?"btn-lg":""),onClick:e.onClickCancel},a().createElement(s.x,{namespace:u,phrase:"cancel"})),a().createElement(c.A,{isNew:!1,submitText:e.submitText||m("save"),variant:e.submitVariant,size:e.buttonSize})))}d.defaultProps={submitVariant:"outline-dark",buttonContainerClass:"btn-container d-flex justify-content-end align-items-center",inputWidthClass:"w-100"}},16715:(e,t,n)=>{n.d(t,{U:()=>o});var r=n(5173),a=n(23481).T.encloseNamespace("userManager.validation"),o=function(e){return(0,r.Ry)().shape({newPassword:(0,r.Z_)().required((function(){return a("newPasswordRequired")})).min(e,(function(){return a("newPasswordMinLength",{minLen:e})})).trim().default(""),confirmPassword:(0,r.Z_)().required((function(){return a("confirmPasswordRequired")})).oneOf([(0,r.iH)("newPassword"),null],(function(){return a("passwordsDontMatch")})).trim().default("")})}},23201:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(1024),a=n(92802),o=n(33936),l=n(83345),i=n(2102),s="shared.formButtons";function c(e){var t=(0,a.u6)(),n=(0,o.l)(t);return r.createElement(i.m,{variant:e.variant||"primary",type:"submit",disabled:!n,size:e.size,className:e.className?e.className:"",showSpinner:t.isSubmitting},e.submitText?r.createElement(r.Fragment,null,e.submitText):r.createElement(l.x,{namespace:s,phrase:e.isNew?"create":"save"}))}},38365:(e,t,n)=>{n.d(t,{n:()=>v,W:()=>O});var r=n(1024),a=n(92802),o=n(99910),l=n(1048),i=n(79014),s=n(73814),c=n(8493),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function m(e){var t=e.label,n=e.checkboxLabelClassName,a=e.checkboxLabelFontWeight,l=e.className,i=u(e,["label","checkboxLabelClassName","checkboxLabelFontWeight","className"]);return r.createElement(o.Form.Group,null,r.createElement("div",{className:"custom-control custom-checkbox ".concat(l)},r.createElement(v,Object.assign({className:"custom-control-input"},i)),r.createElement(o.Form.Label,{className:"custom-control-label cursor-pointer ".concat("normal"===a?"font-weight-normal":""," \n ").concat(n),htmlFor:i.id},t),e.checkboxAppLink&&e.checkboxAppLinkText&&r.createElement(r.Fragment,null,r.createElement("span",null," "),r.createElement(c.F,{appLink:e.checkboxAppLink,className:"info-link"},e.checkboxAppLinkText))))}var d=n(83914),f=n(58130),p=n(83345);function b(e){var t=(0,a.u6)().values[e.fieldName];return"string"!=typeof t?r.createElement(r.Fragment,null):r.createElement("div",{className:"float-right text-muted font-weight-normal"},t.length,"/",e.limit," characters")}const h={revealPassword:"jCfI0",passwordInput:"RBJnf",passwordContainer:"d78lK",passwordContainerDisabled:"asbVo",infoTooltip:"wzyOG"};function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},g="shared.formField";function v(e){var t,n,o=e.children,s=w(e,["children"]),c=(t=r.useState(e.type),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,l,i=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(i.push(r.value),i.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(t,n)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=c[0],m=c[1],p=i.q.isFunction(o)?function(e){return o(e)}:r.Children.count(o)?o:null;if("password"!==s.type)return r.createElement(a.gN,Object.assign({},l.t.omit(s,["formSize"])),p);var b="position-relative ".concat(h.passwordContainer);return s.className&&(b+=" ".concat(s.className)),s.disabled&&(b+=" ".concat(h.passwordContainerDisabled)),r.createElement("div",{className:b},r.createElement(a.gN,Object.assign({},l.t.omit(s,["formSize","type","className"]),{type:u,className:"".concat(h.passwordInput," border-0 w-100 h-100 outline-none rounded")}),p),"password"===s.type&&r.createElement(d.x,{svgName:"password"===u?f.vn.VisibleOn:f.vn.VisibleOff,className:"svg-container cursor-pointer ".concat(h.revealPassword),onClick:function(){m("password"===u?"text":"password")}}))}function O(e){var t=e.label,n=e.className,i=e.showCharacterCounter,c=e.showRequiredStar,u=e.infoTooltip,y=e.infoTooltipPlacement,O=e.infoText,C=e.formSize,S=e.showOptionalLabel,x=w(e,["label","className","showCharacterCounter","showRequiredStar","infoTooltip","infoTooltipPlacement","infoText","formSize","showOptionalLabel"]),N=(0,a.u6)(),E=N.errors,P=N.touched,k=function(){};if("checkbox"===x.type){var j=l.t.omit(e,["formSize"]);return e.disabled&&(j.onChange=k),r.createElement(m,Object.assign({},j))}var F=Object.assign(Object.assign({},x),{className:s.w.getCustomFormControlClassName(E,P,x.name,C,n)});return e.disabled&&(F.onChange=k),r.createElement(o.Form.Group,null,!!t&&r.createElement(o.Form.Label,{htmlFor:x.id,className:"d-flex align-items-center"},t,c&&r.createElement("span",{className:"text-danger"},"*"),u&&r.createElement(d.x,{className:"svg-container text-muted ".concat(h.infoTooltip),svgName:f.vn.Info,title:u,tooltipPlacement:y,tooltipSpanHack:!0}),S&&r.createElement("span",{className:"text-muted"}," ",r.createElement(p.x,{namespace:g,phrase:"optional"})),!!i&&!!x.maxLength&&r.createElement("div",{className:"ml-auto"},r.createElement(b,{fieldName:x.name,limit:x.maxLength}))),r.createElement(v,Object.assign({},F)),!!O&&r.createElement(o.Form.Text,{className:"text-muted"},O),r.createElement(a.Bc,{name:x.name},(function(e){return r.createElement(o.Form.Control.Feedback,{type:"invalid"},e)})))}v.defaultProps={autoComplete:"off"},O.defaultProps={autoComplete:"off",infoTooltipPlacement:"top"}},82644:(e,t,n)=>{n.d(t,{b:()=>u,n:()=>c});var r=n(1024),a=n(92802),o=n(79014),l=n(1048);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function c(e){var t=e.castInitialValues,n=e.castValuesOnSubmit,c=e.initialValues,u=e.onSubmit,m=s(e,["castInitialValues","castValuesOnSubmit","initialValues","onSubmit"]),d=t&&e.validationSchema?e.validationSchema.cast(function(e){if(!e)return{};var t=l.t.deepClone(e);return function e(n){Object.keys(t).forEach((function(r){t.hasOwnProperty(r)&&(l.t.isObject(n[r])?e(n[r]):null===t[r]&&delete t[r])}))}(t),t}(c)):c,f={allowInitialSubmit:e.allowInitialSubmit};return r.createElement(a.J9,Object.assign({enableReinitialize:!0},m,{initialValues:d,onSubmit:function(t,r){var a=r.setSubmitting,o=r.resetForm,l=r.setFieldError,s=n&&e.validationSchema?e.validationSchema.cast(t):t;u(s,(function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(n.reset&&o(),n.errors)for(var r=0,s=Object.entries(n.errors);r<s.length;r++){var c=(e=s[r],t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,l,i=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(i.push(r.value),i.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{if(!s&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(c)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=c[0],m=c[1];l(u,m)}a(!1)}))},initialStatus:f}),o.q.isFunction(e.children)?function(t){return e.children(t)}:r.Children.count(e.children)?e.children:null)}function u(){return(0,a.u6)()}c.defaultProps={castInitialValues:!0,castValuesOnSubmit:!0}},73814:(e,t,n)=>{n.d(t,{w:()=>a});var r=n(92802),a={getCustomFormControlClassName:function(e,t,n,a,o){var l="form-control";return"sm"===a&&(l+=" form-control-sm"),"lg"===a&&(l+=" form-control-lg"),(0,r.u9)(t,n)&&(0,r.u9)(e,n)&&(l+=" is-invalid"),o&&(l+=" ".concat(o)),l}}},706:(e,t,n)=>{n.d(t,{F:()=>a});var r=n(99940),a={getCustomerSecuritySettings:function(e,t,n){return{url:"{gateway}/v1/customers/".concat(e,"/settings/security"),key:"customers:security:settings",normalize:!1,success:t,error:n}},setCustomerSecuritySettings:function(e,t,n,a){return{url:"{gateway}/v1/customers/".concat(e,"/settings/security"),key:"update:security:settings",invalidationKeys:"customers:security:settings",type:r.k.PUT,normalize:!1,data:t,success:n,error:a}}}}}]);
|