ethyca-fides 2.57.1b8__py2.py3-none-any.whl → 2.57.1b9__py2.py3-none-any.whl
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.
- {ethyca_fides-2.57.1b8.dist-info → ethyca_fides-2.57.1b9.dist-info}/METADATA +1 -1
- {ethyca_fides-2.57.1b8.dist-info → ethyca_fides-2.57.1b9.dist-info}/RECORD +214 -209
- fides/_version.py +3 -3
- fides/api/models/attachment.py +5 -5
- fides/api/service/storage/s3.py +119 -59
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/chunks/1100-053fc6b76c65a00f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{1150-d4a5eef84e70de22.js → 1150-035a721a04f4451e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/1376-5cea5ef9362215e8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{2397-c6d0dcb3b921555f.js → 2397-ee53235fb21b5e97.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{255-bf1797f78249d090.js → 255-7db55b0e3a0f9dea.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/2fbcc6de-a6c61724c327e9fa.js +8 -0
- fides/ui-build/static/admin/_next/static/chunks/{3086-d099019708303444.js → 3086-b5054ec2c75700b9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3320-317483e6c10bae51.js → 3320-5dd62a256ecfc9c3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{355-6a87b50acf54e985.js → 355-8a77c9a1cd027f2e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/3615-5e2d062d684b8fa1.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3855-4d5d936a58a0dd5f.js → 3855-b6b7865dedd7bc2a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3872-2b2bf5ebd4b0a70f.js → 3872-4e053c20d546f027.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3662-6a0cafa3023aa7a2.js → 4060-8d165e1236ea521a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{4481-f2f57e7a75a90e79.js → 4481-142e5a922d5a5548.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{4723-1a785d558dfb6441.js → 4723-0a3c5e2ce143a7d0.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5258-a05dcab2f9315dab.js → 5258-0658dc2274df6832.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/5277-e8a036319456127f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{5480-c6c1fb87006e471a.js → 5480-f49696df5e8ae500.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{5487-509639439bf9fb46.js → 5487-3ad50d21cdbc9209.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/570-c99f07161bd339cd.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{5826-e3970cd9440be33b.js → 5826-e5dcb4e68cfe6289.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/5973-9c58e4cce2f343a8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{605-c782df008a0ff167.js → 605-e692e9cfea2e2cb8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/6060-cb1ab5be7067bf7b.js +4 -0
- fides/ui-build/static/admin/_next/static/chunks/{6315-daf94fa7520fb253.js → 6315-fa1519cdf080f42d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6372-41afe1e6a9181cc7.js → 6372-ca9c12ac8902365b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/6527-0eed08abe252a918.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/678d4732-50255cc09048e643.js +2 -0
- fides/ui-build/static/admin/_next/static/chunks/{6853-7f95c36e396d3fb8.js → 6853-8941824350c3c1a8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6954-f7daf613febc36ef.js → 6954-3b887fb444f9228c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7088.0e7c92a7cbb57562.js → 7088.eb76fca286e5f2e6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7434-3d4a0beb84ec57f7.js → 7434-e6fc02c2dd852991.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7751-130668529ab1d0b6.js → 7751-a8f31c062d4cb09d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{79-1c326c00cf111c00.js → 79-f9b948ebb186900f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{7980-91800d54c5964ba3.js → 7980-4bd08957448dea32.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/7c79804f.7a7112aece470725.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{8433-b2a96b825124b596.js → 8433-b3008ecaf9834e7f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{8499-34620330ecf2ac53.js → 8499-43606100edf42fdf.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/8702-d1c8296f9f6afc10.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{5908-532dfbc9d930f635.js → 9014-eeae6f581158e645.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{9046-e7b9a3fd010b01ad.js → 9046-04bd7becea207cb1.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/905-8ab919e7b274ed50.js +8 -0
- fides/ui-build/static/admin/_next/static/chunks/9187-851756440f79cd75.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9282-2bfbdca45e84e810.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9327-2cba327d10586683.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{9392.97b2e3327dceb7c9.js → 9392.da35a8e778812d91.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/9676.f297a1347ac09c56.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9767-1a23925d2cb27b51.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{9999-8600f6f495a80b38.js → 9999-637e0e5341f15f4a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/e3251fe7-5777b5d778e6fffa.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/main-24f422f93845a596.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{main-app-2650f704701c6a7b.js → main-app-94a0711202e08b15.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{404-8e0baa6e128803ab.js → 404-b202c0d8f6fc75c3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/_app-44256886387d7e3e.js +923 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{manual-5593bb1b6de0473d.js → manual-c2705210ce986109.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{multiple-6a7208eee5e588fb.js → multiple-ba975134a85588f8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{add-systems-a33f82e79cb09478.js → add-systems-d258f0c25fa020bf.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{ant-poc-39267961e03be6c5.js → ant-poc-b9932971a479f3a7.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/{add-vendors-ba0c5fa9764cbd89.js → add-vendors-b34e5324461d0c87.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure-723cc3d4f5740ea6.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{[id]-c02510104f9e503a.js → [id]-cf51752eb0902233.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{new-e96415629f3b4223.js → new-be194737b41ccec9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-experience-ed38f18c095141fe.js → privacy-experience-c946b33b0322b8ad.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-66827da90b8a2d1e.js → [id]-72251b48e2e03a1e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{new-13d48f980bf707e5.js → new-9611dd42856d6062.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-notices-7339b3cdf5d4da32.js → privacy-notices-ea57f9d6ad17e957.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{properties-b5b3196eba90246a.js → properties-e5748812ba055a56.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{reporting-38b8ec1a221610ff.js → reporting-ae66e1a7e146a4de.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{consent-df2388d953c85c2a.js → consent-39d65f13cc8f1cf8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/{[resourceUrn]-5e851b9f27bda8a4.js → [resourceUrn]-ac033a16f043e6f9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/{[projectUrn]-9f9112b22fdfb32a.js → [projectUrn]-a29850536c85d4b8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{projects-ddca867936c89a72.js → projects-c44ce244122e96d5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources/{[resourceUrn]-85e3d6f1b2afd3e7.js → [resourceUrn]-71e26d262afcaea5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{resources-9831226436d884b5.js → resources-305555b74c357bf2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{data-catalog-1a3bb713fc7bc298.js → data-catalog-900004e402c31797.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/{[systemId]-5892ca5d93ea6165.js → [systemId]-5182d356672a3b02.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/{[monitorId]-5c37c3ad1c3cfba5.js → [monitorId]-7c74373a4d666a3d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-02439d3aeecfb4b9.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{activity-a0749240265da17d.js → activity-11b3ce9f61d9bfe9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/detection/{[resourceUrn]-68122dbf449a11b4.js → [resourceUrn]-054ca46a782e99a5.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{detection-0ceaf3c555e84714.js → detection-b75dd3e4306ac18e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/discovery/{[resourceUrn]-22c27fe0f898ad2a.js → [resourceUrn]-1da20aeb6fc995e4.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{discovery-8f2b102e19b0b8f2.js → discovery-cad50b0cc6d1050c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{datamap-819ac99e7a56465a.js → datamap-8cb714cdd44ac40e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-d79551d4c64c398c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]-7e5df4a0de7540bb.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{[datasetId]-aaedf8f2a849c97f.js → [datasetId]-6ba18f92ba561114.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/new-803c1b577ab17ae3.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset-fa743ddc7f89d76b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-9bb953098f68f1ee.js → [id]-bbe1ca2793798e6b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-cdcf42d4cb24b45a.js → new-abc17fef69cd951b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-a78a73b65929853a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/fides-js-docs-80b241bf6cddb72e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{index-1072281d6cfe8295.js → index-bfaacdb55a5a6c9f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/{[id]-108945832a7edd7d.js → [id]-d4329043219fed9b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{integrations-e96e959d10afebea.js → integrations-adb6aced3bdb4899.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging/{[id]-268918d8c1dfe82a.js → [id]-ad02e019b2467958.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging/{add-template-cd75949bee7497b6.js → add-template-f9693cb6a0b7ded8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging-1e60754abec1ee6b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{[id]-d1f4178b8a7e2145.js → [id]-fe765154315782cf.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/messaging-f5f7a8069909ef24.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-9f7eaad05e5b9292.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{configure-37e800a20e654064.js → configure-2987edc77388e85a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{privacy-requests-729fa8ed0f10bc8e.js → privacy-requests-d85c0d16ba09ba35.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/{[id]-92145503c4d2d75e.js → [id]-94e2faa73dd6a3e6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/{add-property-ab94805694ebd35c.js → add-property-630a6a3dd6502ba6.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{properties-5e623dcd92418638.js → properties-20ca2f963906674b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-afedc48ef4e7f858.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{about-175d39bdd74f148c.js → about-a49d0f84cf0cf05e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-89524101b7279f6e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{custom-fields-1262d596c0cdcd81.js → custom-fields-52d030b1db2ca1b9.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domain-records-f0c6e6034d37dbcf.js → domain-records-fa42d8f18df44927.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domains-24cba38685dc872c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{email-templates-6ee49492a7769f89.js → email-templates-6fd6071e2009b8f2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{locations-deb754d42982562b.js → locations-66c757325cb58467.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{organization-f45920358a405167.js → organization-a08693d0d1e10bc8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{regulations-f9e97decfe56b018.js → regulations-c6c239996cfa6ae8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/test-datasets-151571cff4e85894.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-44f7fbfee9cf9267.js → [id]-d3ea9034461511cd.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{systems-4d6a17a7a24aca97.js → systems-abd68fc5ddde5482.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{taxonomy-46f47c04a01319cf.js → taxonomy-16b4d75c49276add.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/{[id]-5b752ba934baee94.js → [id]-78eaf933f755bfe8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{user-management-4fbb29cf0a611aae.js → user-management-6c9ad62479a7d03e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{webpack-815e3c35038201da.js → webpack-2c7ccac5843c4d8e.js} +1 -1
- fides/ui-build/static/admin/_next/static/css/{dd9922a434d21e22.css → 113d823fe71f6af0.css} +1 -1
- fides/ui-build/static/admin/_next/static/css/ab65b8cc3144bfc8.css +1 -0
- fides/ui-build/static/admin/_next/static/yhm3LM_VFpK2KeFRFEQyN/_buildManifest.js +1 -0
- fides/ui-build/static/admin/_next/static/yhm3LM_VFpK2KeFRFEQyN/_ssgManifest.js +1 -0
- fides/ui-build/static/admin/add-systems/manual.html +1 -1
- fides/ui-build/static/admin/add-systems/multiple.html +1 -1
- fides/ui-build/static/admin/add-systems.html +1 -1
- fides/ui-build/static/admin/ant-poc.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
- fides/ui-build/static/admin/data-discovery/activity.html +1 -1
- fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/detection.html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
- fides/ui-build/static/admin/datamap.html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
- fides/ui-build/static/admin/dataset/new.html +1 -1
- fides/ui-build/static/admin/dataset.html +1 -1
- fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
- fides/ui-build/static/admin/datastore-connection/new.html +1 -1
- fides/ui-build/static/admin/datastore-connection.html +1 -1
- fides/ui-build/static/admin/index.html +1 -1
- fides/ui-build/static/admin/integrations/[id].html +1 -1
- fides/ui-build/static/admin/integrations.html +1 -1
- fides/ui-build/static/admin/lib/fides-ext-gpp.js +1 -1
- fides/ui-build/static/admin/lib/fides-headless.js +1 -1
- fides/ui-build/static/admin/lib/fides-tcf.js +3 -3
- fides/ui-build/static/admin/lib/fides.js +2 -2
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/messaging/[id].html +1 -1
- fides/ui-build/static/admin/messaging/add-template.html +1 -1
- fides/ui-build/static/admin/messaging.html +1 -1
- fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/messaging.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
- fides/ui-build/static/admin/privacy-requests.html +1 -1
- fides/ui-build/static/admin/properties/[id].html +1 -1
- fides/ui-build/static/admin/properties/add-property.html +1 -1
- fides/ui-build/static/admin/properties.html +1 -1
- fides/ui-build/static/admin/reporting/datamap.html +1 -1
- fides/ui-build/static/admin/settings/about.html +1 -1
- fides/ui-build/static/admin/settings/consent.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields.html +1 -1
- fides/ui-build/static/admin/settings/domain-records.html +1 -1
- fides/ui-build/static/admin/settings/domains.html +1 -1
- fides/ui-build/static/admin/settings/email-templates.html +1 -1
- fides/ui-build/static/admin/settings/locations.html +1 -1
- fides/ui-build/static/admin/settings/organization.html +1 -1
- fides/ui-build/static/admin/settings/regulations.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id].html +1 -1
- fides/ui-build/static/admin/systems.html +1 -1
- fides/ui-build/static/admin/taxonomy.html +1 -1
- fides/ui-build/static/admin/user-management/new.html +1 -1
- fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
- fides/ui-build/static/admin/user-management.html +1 -1
- fides/ui-build/static/admin/_next/static/chunks/1376-c177d8d0c60b1166.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1995-0e4fc4f7b44ed72b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2780-8328de94968d05e4.js +0 -4
- fides/ui-build/static/admin/_next/static/chunks/3005-373de16453ed7eea.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3967-845c902667e47c4f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3e38ba78-4487e45fd4ed2479.js +0 -2
- fides/ui-build/static/admin/_next/static/chunks/4833-a85bd5d25ebc40c4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5246-ac8b0fcb44b00af7.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5960-8895f51b30c35798.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6362-72451aeb32815d26.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7495-2f5c8dfba2eabb4f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7958-d2bc63e1be612f36.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7c79804f.26834f883d5ad770.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/8837-cf26e5ca1ae5aaf5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9282-6ee061da1eb51d65.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9676.f4d5977a5f148797.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/main-ce7f38a12ea8c223.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/_app-e53d13729068a001.js +0 -909
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure-1af99ffa7a507e86.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-4fac7e0a54eebc32.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-259d4a94861afe2b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]-25283f5bcac8fa73.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/new-45016545c099e183.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset-5ddd3cd7d29e89c0.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-61adfcd5f7f69101.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging-5a161e167c251519.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/messaging-c3e234ad95e6e213.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-347e203faa31716f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-710839776b9995ce.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-ff6edba56dfec090.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domains-ad368857e86fe01b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/test-datasets-ae133b6e8e1107f2.js +0 -1
- fides/ui-build/static/admin/_next/static/lO31cDp9wEzsNdiUnl8It/_buildManifest.js +0 -1
- fides/ui-build/static/admin/_next/static/lO31cDp9wEzsNdiUnl8It/_ssgManifest.js +0 -1
- {ethyca_fides-2.57.1b8.dist-info → ethyca_fides-2.57.1b9.dist-info}/LICENSE +0 -0
- {ethyca_fides-2.57.1b8.dist-info → ethyca_fides-2.57.1b9.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.57.1b8.dist-info → ethyca_fides-2.57.1b9.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.57.1b8.dist-info → ethyca_fides-2.57.1b9.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/user-management/{new-d6717378b42982d5.js → new-be690621a944bfe2.js} +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9187],{6446:function(u){u.exports=function(u,n,t,r){var f=-1,e=null==u?0:u.length;for(r&&e&&(t=u[++f]);++f<e;)t=n(t,u[f],f,u);return t}},40585:function(u){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;u.exports=function(u){return u.match(n)||[]}},52033:function(u,n,t){var r=t(26194),f=t(26789)(r);u.exports=f},49819:function(u,n,t){var r=t(18911)();u.exports=r},26194:function(u,n,t){var r=t(49819),f=t(50098);u.exports=function(u,n){return u&&r(u,n,f)}},17646:function(u){u.exports=function(u){return function(n){return null==u?void 0:u[n]}}},26789:function(u,n,t){var r=t(80068);u.exports=function(u,n){return function(t,f){if(null==t)return t;if(!r(t))return u(t,f);for(var e=t.length,o=n?e:-1,i=Object(t);(n?o--:++o<e)&&!1!==f(i[o],o,i););return t}}},18911:function(u){u.exports=function(u){return function(n,t,r){for(var f=-1,e=Object(n),o=r(n),i=o.length;i--;){var a=o[u?i:++f];if(!1===t(e[a],a,e))break}return n}}},68267:function(u,n,t){var r=t(6446),f=t(69689),e=t(93254),o=RegExp("['’]","g");u.exports=function(u){return function(n){return r(e(f(n).replace(o,"")),u,"")}}},4248:function(u,n,t){var r=t(17646)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});u.exports=r},73909:function(u){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;u.exports=function(u){return n.test(u)}},97025:function(u){var n="\ud800-\udfff",t="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",f="A-Z\\xc0-\\xd6\\xd8-\\xde",e="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="['’]",i="["+e+"]",a="["+r+"]",c="[^"+n+e+"\\d+"+t+r+f+"]",x="(?:\ud83c[\udde6-\uddff]){2}",d="[\ud800-\udbff][\udc00-\udfff]",s="["+f+"]",v="(?:"+a+"|"+c+")",p="(?:"+o+"(?:d|ll|m|re|s|t|ve))?",l="(?:"+o+"(?:D|LL|M|RE|S|T|VE))?",h="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",g="[\\ufe0e\\ufe0f]?",E="(?:\\u200d(?:"+["[^"+n+"]",x,d].join("|")+")"+g+h+")*",b="(?:"+["["+t+"]",x,d].join("|")+")"+(g+h+E),A=RegExp([s+"?"+a+"+"+p+"(?="+[i,s,"$"].join("|")+")","(?:"+s+"|"+c+")+"+l+"(?="+[i,s+v,"$"].join("|")+")",s+"?"+v+"+"+p,s+"+"+l,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",b].join("|"),"g");u.exports=function(u){return u.match(A)||[]}},66726:function(u,n,t){var r=t(11611),f=t(82846),e=t(91936),o=Math.max,i=Math.min;u.exports=function(u,n,t){var a,c,x,d,s,v,p=0,l=!1,h=!1,g=!0;if("function"!=typeof u)throw TypeError("Expected a function");function E(n){var t=a,r=c;return a=c=void 0,p=n,d=u.apply(r,t)}function b(u){var t=u-v,r=u-p;return void 0===v||t>=n||t<0||h&&r>=x}function A(){var u,t,r,e=f();if(b(e))return m(e);s=setTimeout(A,(u=e-v,t=e-p,r=n-u,h?i(r,x-t):r))}function m(u){return(s=void 0,g&&a)?E(u):(a=c=void 0,d)}function T(){var u,t=f(),r=b(t);if(a=arguments,c=this,v=t,r){if(void 0===s)return p=u=v,s=setTimeout(A,n),l?E(u):d;if(h)return clearTimeout(s),s=setTimeout(A,n),E(v)}return void 0===s&&(s=setTimeout(A,n)),d}return n=e(n)||0,r(t)&&(l=!!t.leading,x=(h="maxWait"in t)?o(e(t.maxWait)||0,n):x,g="trailing"in t?!!t.trailing:g),T.cancel=function(){void 0!==s&&clearTimeout(s),p=0,a=v=c=s=void 0},T.flush=function(){return void 0===s?d:m(f())},T}},69689:function(u,n,t){var r=t(4248),f=t(65567),e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");u.exports=function(u){return(u=f(u))&&u.replace(e,r).replace(o,"")}},82846:function(u,n,t){var r=t(77400);u.exports=function(){return r.Date.now()}},93254:function(u,n,t){var r=t(40585),f=t(73909),e=t(65567),o=t(97025);u.exports=function(u,n,t){return(u=e(u),void 0===(n=t?void 0:n))?f(u)?o(u):r(u):u.match(n)||[]}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9282],{77213:function(e,t,n){n.d(t,{Z:function(){return f}});var r=n(24246),i=n(77181),o=n(88038),l=n.n(o),s=n(86677);n(27378);var a=n(25980),u=n(90867),c=n(77830),d=()=>{let e=(0,s.useRouter)();return(0,r.jsx)(i.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,r.jsxs)(i.xuv,{children:[(0,r.jsxs)(i.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,r.jsx)(i.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,r.jsx)(i.wpx,{onClick:()=>{e.push(c.fz)},children:"Configure"})]}),(0,r.jsxs)(i.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},f=e=>{let{children:t,title:n,padded:o=!0,mainProps:c}=e,f=(0,a.hz)(),p=(0,s.useRouter)(),g="/privacy-requests"===p.pathname||"/datastore-connection"===p.pathname,x=!(f.flags.privacyRequestsConfiguration&&g),{data:v}=(0,u.JE)(void 0,{skip:x}),{data:b}=(0,u.PW)(void 0,{skip:x}),m=f.flags.privacyRequestsConfiguration&&(!v||!b)&&g;return(0,r.jsxs)(i.kCb,{"data-testid":n,direction:"column",h:"100vh",children:[(0,r.jsxs)(l(),{children:[(0,r.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,r.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,r.jsxs)(i.kCb,{as:"main",direction:"column",py:o?6:0,px:o?10:0,h:o?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...c,children:[m?(0,r.jsx)(d,{}):null,t]})]})}},51472:function(e,t,n){var r=n(24246),i=n(77181),o=n(47397),l=n(7078),s=n(18397),a=n(11055),u=n(27378),c=n(40324),d=n(91613);let f=e=>{let{item:t,label:n,draggable:s,onDeleteItem:a,tooltip:u,onRowClick:c,maxH:f=10,rowTestId:p}=e,g=(0,o.o)();return(0,r.jsx)(l.e,{value:t,dragListener:!1,dragControls:g,children:(0,r.jsxs)(i.kCb,{direction:"row",gap:2,maxH:f,w:"full",px:2,align:"center",role:"group",className:"group",borderY:"1px",my:"-1px",borderColor:"gray.200",_hover:c?{bgColor:"gray.100"}:void 0,bgColor:"white",position:"relative",children:[s&&(0,r.jsx)(i.VVU,{onPointerDown:e=>g.start(e),cursor:"grab"}),(0,r.jsxs)(i.kCb,{direction:"row",gap:2,p:2,align:"center",w:"full",cursor:c?"pointer":"auto",onClick:()=>{c&&c(t)},overflow:"clip","data-testid":p,children:[(0,r.jsx)(i.xvT,{fontSize:"sm",userSelect:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",children:n}),u?(0,r.jsx)(d.Z,{label:u}):null]}),a&&(0,r.jsx)(i.wpx,{"aria-label":"Delete",onClick:()=>a(t),icon:(0,r.jsx)(i.pJl,{boxSize:3}),size:"small",className:"invisible absolute right-2 bg-white group-hover:visible"})]})})},p=e=>{let{label:t,options:n,onOptionSelected:o,baseTestId:l}=e,[s,a]=(0,u.useState)(!1),[c,d]=(0,u.useState)(void 0);return s?(0,r.jsx)(i.xuv,{w:"full",children:(0,r.jsx)(i.WPr,{labelInValue:!0,placeholder:"Select...",filterOption:(e,t)=>{var n;return(null!==(n=null==t?void 0:t.label)&&void 0!==n?n:"").toLowerCase().includes(e.toLowerCase())},value:c,options:n,onChange:e=>{o(e),a(!1),d(void 0)},className:"w-full","data-testid":"select-".concat(l)})}):(0,r.jsx)(i.wpx,{onClick:()=>a(!0),"data-testid":"add-".concat(l),block:!0,icon:(0,r.jsx)(i.jBn,{boxSize:4}),iconPosition:"end",children:t})};t.Z=e=>{let{label:t,tooltip:n,draggable:o,addButtonLabel:l,allItems:u,idField:g,nameField:x=g,values:v,setValues:b,canDeleteItem:m,getTooltip:h,onRowClick:j,selectOnAdd:w,getItemLabel:y,createNewValue:C,maxHeight:k=36,baseTestId:S}=e,L=e=>e instanceof Object&&g&&g in e?e[g]:e,R=u.every(e=>"string"==typeof e)?u.filter(e=>v.every(t=>t!==e)):u.filter(e=>v.every(t=>L(t)!==L(e))),_=e=>{b(v.filter(t=>t!==e).slice())},A=null!=y?y:e=>e instanceof Object&&g&&g in e?x&&x in e?e[x]:e[g]:e,D=e=>{let t=e instanceof Object&&g&&g in e?e[g]:e;return{label:A(e),value:t}},O=e=>u.every(e=>"string"==typeof e)?e.value:u.find(t=>t[g]===e.value),z=e=>{let t=C?C(e):O(e);b([t,...v.slice()]),w&&j&&j(t)},E={border:"1px",borderColor:"gray.200",borderRadius:"md",w:"full",maxH:"8.5rem",overflowY:"auto"},I=o?(0,r.jsx)(i.xuv,{as:s.E.div,layoutScroll:!0,...E,children:(0,r.jsx)(a.M,{values:v,onReorder:e=>b(e.slice()),children:v.map(e=>{let t=L(e);return(0,r.jsx)(f,{item:e,label:A(e),onDeleteItem:!m||m&&m(e)?_:void 0,onRowClick:j,draggable:!0,maxH:k,rowTestId:"".concat(S,"-row-").concat(t),tooltip:h&&h(e)?h(e):void 0},t)})})}):(0,r.jsx)(i.xuv,{...E,children:(0,r.jsx)(i.aVo,{children:v.map(e=>{let t=L(e);return(0,r.jsx)(f,{item:e,label:A(e),onRowClick:j,onDeleteItem:_,tooltip:h&&h(e)?h(e):void 0,maxH:k,rowTestId:"".concat(S,"-row-").concat(t)},t)})})});return v.length?(0,r.jsxs)(i.kCb,{align:"start",direction:"column",w:"full",gap:4,children:[t?(0,r.jsx)(c.__,{htmlFor:"test",fontSize:"xs",my:0,mr:1,children:t}):null,n?(0,r.jsx)(d.Z,{label:n}):null,I,R.length?(0,r.jsx)(p,{label:null!=l?l:"Add new",options:R.map(e=>D(e)),onOptionSelected:z,baseTestId:S}):null]}):(0,r.jsx)(p,{label:null!=l?l:"Add new",options:R.map(e=>D(e)),onOptionSelected:z,baseTestId:S})}},812:function(e,t,n){n.d(t,{D4:function(){return o.D4},MM:function(){return f},Ot:function(){return u},c6:function(){return i},cj:function(){return g},e$:function(){return s},fn:function(){return a},iC:function(){return p},nU:function(){return d},tB:function(){return c}});var r,i,o=n(19043);let l="An unexpected error occurred. Please try again.",s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;if((0,o.Bw)(e)){if((0,o.hE)(e.data))return e.data.detail;if((0,o.cz)(e.data)){var n;let t=null===(n=e.data.detail)||void 0===n?void 0:n[0];return"".concat(null==t?void 0:t.msg,": ").concat(null==t?void 0:t.loc)}if(409===e.status&&(0,o.Dy)(e.data)||404===e.status&&(0,o.XD)(e.data))return"".concat(e.data.detail.error," (").concat(e.data.detail.fides_key,")")}return t};function a(e){return"object"==typeof e&&null!=e&&"status"in e}function u(e){return"object"==typeof e&&null!=e&&"data"in e&&"string"==typeof e.data.detail}function c(e){return"object"==typeof e&&null!=e&&"data"in e&&Array.isArray(e.data.detail)}let d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{status:500,message:l};if((0,o.oK)(e))return{status:e.originalStatus,message:e.data};if((0,o.Bw)(e)){let{status:n}=e;return{status:n,message:s(e,t.message)}}return t},f=e=>Object.entries(e).map(e=>({value:e[1],label:e[1]}));(r=i||(i={})).GVL="gvl",r.AC="gacp",r.COMPASS="compass";let p={gvl:{label:"GVL",fullName:"Global Vendor List"},gacp:{label:"AC",fullName:"Google Additional Consent List"},compass:{label:"",fullName:""}},g=e=>{let t=e.split(".")[0];return"gacp"===t?"gacp":"gvl"===t?"gvl":"compass"}},46628:function(e,t,n){n.d(t,{MA:function(){return s},Vo:function(){return u},t5:function(){return a}});var r=n(24246),i=n(77181);let o=e=>{let{children:t,title:n="Success"}=e;return(0,r.jsxs)(i.xvT,{"data-testid":"toast-success-msg",children:[(0,r.jsxs)("strong",{children:[n,":"]})," ",t]})},l=e=>{let{children:t}=e;return(0,r.jsxs)(i.xvT,{"data-testid":"toast-error-msg",children:[(0,r.jsx)("strong",{children:"Error:"})," ",t]})},s={variant:"subtle",position:"top",description:"",duration:5e3,status:"success",isClosable:!0},a=(e,t)=>{let n=(0,r.jsx)(o,{title:t,children:e});return{...s,description:n}},u=e=>{let t=(0,r.jsx)(l,{children:e});return{...s,description:t,status:"error"}}},19043:function(e,t,n){n.d(t,{Bw:function(){return l},D4:function(){return i},Dy:function(){return a},XD:function(){return u},cz:function(){return c},hE:function(){return s},oK:function(){return o}});var r=n(76649);let i=e=>"error"in e,o=e=>(0,r.Ln)({status:"string"},e)&&"PARSING_ERROR"===e.status,l=e=>(0,r.Ln)({status:"number",data:{}},e),s=e=>(0,r.Ln)({detail:"string"},e),a=e=>(0,r.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),u=e=>(0,r.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),c=e=>(0,r.Ln)({detail:[{loc:["string","number"],msg:"string",type:"string"}]},e)}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9327],{77213:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(24246),i=r(77181),l=r(88038),a=r.n(l),o=r(86677);r(27378);var s=r(25980),u=r(90867),d=r(77830),c=()=>{let e=(0,o.useRouter)();return(0,n.jsx)(i.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,n.jsxs)(i.xuv,{children:[(0,n.jsxs)(i.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,n.jsx)(i.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,n.jsx)(i.wpx,{onClick:()=>{e.push(d.fz)},children:"Configure"})]}),(0,n.jsxs)(i.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},p=e=>{let{children:t,title:r,padded:l=!0,mainProps:d}=e,p=(0,s.hz)(),f=(0,o.useRouter)(),h="/privacy-requests"===f.pathname||"/datastore-connection"===f.pathname,m=!(p.flags.privacyRequestsConfiguration&&h),{data:b}=(0,u.JE)(void 0,{skip:m}),{data:g}=(0,u.PW)(void 0,{skip:m}),y=p.flags.privacyRequestsConfiguration&&(!b||!g)&&h;return(0,n.jsxs)(i.kCb,{"data-testid":r,direction:"column",h:"100vh",children:[(0,n.jsxs)(a(),{children:[(0,n.jsxs)("title",{children:["Fides Admin UI - ",r]}),(0,n.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,n.jsxs)(i.kCb,{as:"main",direction:"column",py:l?6:0,px:l?10:0,h:l?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...d,children:[y?(0,n.jsx)(c,{}):null,t]})]})}},58754:function(e,t,r){"use strict";var n=r(24246),i=r(77181),l=r(70788);t.Z=e=>{let{heading:t,breadcrumbItems:r,isSticky:a=!0,children:o,rightContent:s,style:u,...d}=e;return(0,n.jsxs)("div",{...d,style:a?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...u}:{paddingBottom:"24px",...u},children:[(0,n.jsxs)(i.jqI,{justify:"space-between",children:["string"==typeof t?(0,n.jsx)(i.X6q,{className:r||o?"pb-4":void 0,fontSize:"2xl","data-testid":"page-heading",children:t}):t,s&&(0,n.jsx)("div",{"data-testid":"page-header-right-content",children:s})]}),!!r&&(0,n.jsx)(l.m,{className:o?"pb-4":void 0,items:r,"data-testid":"page-breadcrumb"}),o]})}},70788:function(e,t,r){"use strict";r.d(t,{m:function(){return u}});var n=r(24246),i=r(77181),l=r(79894),a=r.n(l),o=r(27378);let{Text:s}=i.AntTypography,u=e=>{let{items:t,...r}=e,l=(0,o.useMemo)(()=>null==t?void 0:t.map((e,r)=>{let l=r===t.length-1,o={...e},u=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,n.jsx)(s,{style:{color:"inherit",maxWidth:l?void 0:400},ellipsis:!l,children:o.title})),u)?o.title=(0,n.jsx)(i.wpx,{type:"text",size:"small",icon:o.icon,onClick:o.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:o.title}):(o.icon&&(o.title=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"anticon align-text-bottom",children:o.icon}),o.title]})),o.href&&o.title&&(o.title=(0,n.jsx)(a(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[t]);return(0,n.jsx)(i.zrq,{items:l,...r})}},41207:function(e,t,r){"use strict";r.d(t,{F:function(){return a},M:function(){return l}});var n=r(76649),i=r(65218);let l=r.n(i)()(()=>r.e(7088).then(r.bind(r,57088)).then(e=>e.default),{loadableGenerated:{webpack:()=>[57088]},ssr:!1}),a=e=>(0,n.Ln)({name:"string"},e)&&"YAMLException"===e.name},76737:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},noSSR:function(){return a}});let n=r(51538);r(24246),r(27378);let i=n._(r(21887));function l(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function o(e,t){let r=i.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let o=(n={...n,...t}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=o?o().then(l):Promise.resolve(l(()=>null))}):(delete n.webpack,delete n.modules,a(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},28438:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(51538)._(r(27378)).default.createContext(null)},21887:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let n=r(51538)._(r(27378)),i=r(28438),l=[],a=[],o=!1;function s(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),l=null;function s(){if(!l){let t=new u(e,r);l={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return l.promise()}if(!o){let e=r.webpack?r.webpack():r.modules;e&&a.push(t=>{for(let r of e)if(t.includes(r))return s()})}function d(e,t){!function(){s();let e=n.default.useContext(i.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let a=n.default.useSyncExternalStore(l.subscribe,l.getCurrentValue,l.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:l.retry}),[]),n.default.useMemo(()=>{var t;return a.loading||a.error?n.default.createElement(r.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:l.retry}):a.loaded?n.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return d.preload=()=>s(),d.displayName="LoadableComponent",n.default.forwardRef(d)}(s,e)}function c(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return c(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{c(l).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(o=!0,t());c(a,e).then(r,r)})),window.__NEXT_PRELOADREADY=d.preloadReady;let p=d},65218:function(e,t,r){e.exports=r(76737)}}]);
|
@@ -1 +1 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9392],{72011:function(e,t,r){var n;n=function(e){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=3)}([function(e,t,r){"use strict";var n=r(4),a=r(1),i=r(2),o={addUnnecessaryBendpoints:"de.cau.cs.kieler.klay.layered.unnecessaryBendpoints",alignment:"de.cau.cs.kieler.alignment",aspectRatio:"de.cau.cs.kieler.aspectRatio",borderSpacing:"borderSpacing",compactComponents:"de.cau.cs.kieler.klay.layered.components.compact",compactionStrategy:"de.cau.cs.kieler.klay.layered.nodeplace.compactionStrategy",contentAlignment:"de.cau.cs.kieler.klay.layered.contentAlignment",crossingMinimization:"de.cau.cs.kieler.klay.layered.crossMin",cycleBreaking:"de.cau.cs.kieler.klay.layered.cycleBreaking",debugMode:"de.cau.cs.kieler.debugMode",direction:"de.cau.cs.kieler.direction",edgeLabelSideSelection:"de.cau.cs.kieler.klay.layered.edgeLabelSideSelection",edgeRouting:"de.cau.cs.kieler.edgeRouting",edgeSpacingFactor:"de.cau.cs.kieler.klay.layered.edgeSpacingFactor",feedbackEdges:"de.cau.cs.kieler.klay.layered.feedBackEdges",fixedAlignment:"de.cau.cs.kieler.klay.layered.fixedAlignment",greedySwitchCrossingMinimization:"de.cau.cs.kieler.klay.layered.greedySwitch",hierarchyHandling:"de.cau.cs.kieler.hierarchyHandling",inLayerSpacingFactor:"de.cau.cs.kieler.klay.layered.inLayerSpacingFactor",interactiveReferencePoint:"de.cau.cs.kieler.klay.layered.interactiveReferencePoint",layerConstraint:"de.cau.cs.kieler.klay.layered.layerConstraint",layoutHierarchy:"de.cau.cs.kieler.layoutHierarchy",linearSegmentsDeflectionDampening:"de.cau.cs.kieler.klay.layered.linearSegmentsDeflectionDampening",mergeEdges:"de.cau.cs.kieler.klay.layered.mergeEdges",mergeHierarchyCrossingEdges:"de.cau.cs.kieler.klay.layered.mergeHierarchyEdges",noLayout:"de.cau.cs.kieler.noLayout",nodeLabelPlacement:"de.cau.cs.kieler.nodeLabelPlacement",nodeLayering:"de.cau.cs.kieler.klay.layered.nodeLayering",nodePlacement:"de.cau.cs.kieler.klay.layered.nodePlace",portAlignment:"de.cau.cs.kieler.portAlignment",portAlignmentEastern:"de.cau.cs.kieler.portAlignment.east",portAlignmentNorth:"de.cau.cs.kieler.portAlignment.north",portAlignmentSouth:"de.cau.cs.kieler.portAlignment.south",portAlignmentWest:"de.cau.cs.kieler.portAlignment.west",portConstraints:"de.cau.cs.kieler.portConstraints",portLabelPlacement:"de.cau.cs.kieler.portLabelPlacement",portOffset:"de.cau.cs.kieler.offset",portSide:"de.cau.cs.kieler.portSide",portSpacing:"de.cau.cs.kieler.portSpacing",postCompaction:"de.cau.cs.kieler.klay.layered.postCompaction",priority:"de.cau.cs.kieler.priority",randomizationSeed:"de.cau.cs.kieler.randomSeed",routeSelfLoopInside:"de.cau.cs.kieler.selfLoopInside",separateConnectedComponents:"de.cau.cs.kieler.separateConnComp",sizeConstraint:"de.cau.cs.kieler.sizeConstraint",sizeOptions:"de.cau.cs.kieler.sizeOptions",spacing:"de.cau.cs.kieler.spacing",splineSelfLoopPlacement:"de.cau.cs.kieler.klay.layered.splines.selfLoopPlacement",thoroughness:"de.cau.cs.kieler.klay.layered.thoroughness",wideNodesOnMultipleLayers:"de.cau.cs.kieler.klay.layered.wideNodesOnMultipleLayers"},s=function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var a=t[n],i=o[a],s=e[a];r[i]=s}return r},c={interactiveReferencePoint:"CENTER"},l=function(e){for(var t=e.parent(),r=e.scratch("klay"),n={x:r.x,y:r.y};t.nonempty();){var a=t.scratch("klay");n.x+=a.x,n.y+=a.y,t=t.parent()}return n},d=function(e,t){var r=e.layoutDimensions(t),n=e.numericStyle("padding"),a={_cyEle:e,id:e.id(),padding:{top:n,left:n,bottom:n,right:n}};return e.isParent()||(a.width=r.w,a.height=r.h),e.scratch("klay",a),a},u=function(e,t){var r={_cyEle:e,id:e.id(),source:e.data("source"),target:e.data("target"),properties:{}},n=t.priority(e);return null!=n&&(r.properties.priority=n),e.scratch("klay",r),r},g=function(e,t,r){for(var n=[],a=[],i={},o={id:"root",children:[],edges:[]},s=0;s<e.length;s++){var c=e[s],l=d(c,r);n.push(l),i[c.id()]=l}for(var g=0;g<t.length;g++){var p=t[g],y=u(p,r);a.push(y),i[p.id()]=y}for(var m=0;m<n.length;m++){var k=n[m],f=k._cyEle;if(f.isChild()){var h=i[f.parent().id()];(h.children=h.children||[]).push(k)}else o.children.push(k)}for(var b=0;b<a.length;b++){var S=a[b],v=S._cyEle;v.source().parent(),v.target().parent(),o.edges.push(S)}return o};function p(e){var t=e.klay;this.options=a({},i,e),this.options.klay=a({},i.klay,t,c)}p.prototype.run=function(){var e=this.options,t=e.eles,r=t.nodes(),a=g(r,t.edges(),e);return n.layout({graph:a,options:s(e.klay),success:function(){},error:function(e){throw e}}),r.filter(function(e){return!e.isParent()}).layoutPositions(this,e,l),this},p.prototype.stop=function(){return this},p.prototype.destroy=function(){return this},e.exports=p},function(e,t,r){"use strict";e.exports=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.filter(function(e){return null!=e}).forEach(function(t){Object.keys(t).forEach(function(r){return e[r]=t[r]})}),e}},function(e,t,r){"use strict";e.exports={nodeDimensionsIncludeLabels:!1,fit:!0,padding:20,animate:!1,animateFilter:function(e,t){return!0},animationDuration:500,animationEasing:void 0,transform:function(e,t){return t},ready:void 0,stop:void 0,klay:{addUnnecessaryBendpoints:!1,aspectRatio:1.6,borderSpacing:20,compactComponents:!1,crossingMinimization:"LAYER_SWEEP",cycleBreaking:"GREEDY",direction:"UNDEFINED",edgeRouting:"ORTHOGONAL",edgeSpacingFactor:.5,feedbackEdges:!1,fixedAlignment:"NONE",inLayerSpacingFactor:1,layoutHierarchy:!1,linearSegmentsDeflectionDampening:.3,mergeEdges:!1,mergeHierarchyCrossingEdges:!0,nodeLayering:"NETWORK_SIMPLEX",nodePlacement:"BRANDES_KOEPF",randomizationSeed:1,routeSelfLoopInside:!1,separateConnectedComponents:!0,spacing:20,thoroughness:7},priority:function(e){return null}}},function(e,t,r){"use strict";var n=r(0),a=function(e){e&&e("layout","klay",n)};"undefined"!=typeof cytoscape&&a(cytoscape),e.exports=a},function(t,r){t.exports=e}])},e.exports=n(r(73552))},19392:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return b}});var n=r(24246),a=r(56351),i=r(27378),o=r(76573),s=r(72011),c=r.n(s),l=r(3124),d=r.n(l),u=r(65218),g=r.n(u),p=r(54349);let y=g()(()=>r.e(7062).then(r.bind(r,37062)),{loadableGenerated:{webpack:()=>[37062]},ssr:!1});o.Z.use(c()),o.Z.warnings(!1);let m=e=>{let{data:t}=e,r=(0,i.useMemo)(()=>[...t.nodes.map(e=>({data:{label:e.name,...e},grabbable:!1,classes:"center-center multiline-auto outline"})),...t.links.map(e=>({data:{source:e.source,target:e.target}}))],[t.links,t.nodes]),n=(0,i.useMemo)(()=>({name:"klay",nodeDimensionsIncludeLabels:!0,klay:{thoroughness:20,borderSpacing:100,direction:"DOWN",edgeRouting:"SPLINES",edgeSpacingFactor:1.3}}),[]),a=d().FIDESUI_NEUTRAL_50;return{elements:r,layoutConfig:n,styleSheet:(0,i.useMemo)(()=>[{selector:"node[label]",style:{label:"data(label)"}},{selector:"node",style:{shape:"ellipse",width:"45px",height:"45px",backgroundColor:a}},{selector:"edge[label]",style:{label:"data(label)",width:3}},{selector:"edge",style:{"curve-style":"bezier","target-arrow-shape":"triangle","line-color":"#888","target-arrow-color":"#888",opacity:.5}},{selector:"node",style:{"background-image":"/images/DatabaseIcon.svg"}},{selector:"node:selected",style:{"background-image":"/images/SelectedDatabaseIcon.svg"}},{selector:".center-center",style:{"text-valign":"center","text-halign":"right"}},{selector:".multiline-auto",style:{"text-wrap":"wrap","text-max-width":"40"}},{selector:".outline",style:{color:"#8d91b4","text-outline-color":"#fff","text-outline-width":1}}],[a]),backgroundColor:a}};var k=i.memo(e=>{let{data:t,setSelectedSystemId:r}=e,{elements:o,layoutConfig:s,styleSheet:c,backgroundColor:l}=m({data:t}),d=(0,i.useContext)(p.Y),[u,g]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=e=>{r(e.target._private.data.id)};return d.current&&(d.current.on("click","node",e),d.current.on("layoutstop",()=>{d.current&&(d.current.maxZoom(2.5),d.current.fit(),d.current.maxZoom(100))})),()=>{d.current&&d.current.off("click","node",e)}},[d.current,r]),(0,i.useEffect)(()=>()=>{d.current=void 0},[d]),(0,i.useEffect)(()=>{if(u){var e,t,r,n;null===(e=d.current)||void 0===e||e.layout(s).stop(),null===(t=d.current)||void 0===t||t.layout(s).removeAllListeners(),null===(r=d.current)||void 0===r||r.layout(s),null===(n=d.current)||void 0===n||n.layout(s).run()}},[u,o,d,s]),(0,n.jsx)(a.xuv,{boxSize:"100%","data-testid":"cytoscape-graph",position:"absolute",children:(0,n.jsx)(a.xuv,{boxSize:"100%",bgColor:"gray.50",children:(0,n.jsx)(y,{cy:e=>{u||(g(!0),d.current=e)},elements:o,style:{height:"100%",width:"100%",backgroundColor:l},stylesheet:c,wheelSensitivity:.085,layout:s})})})}),f=r(99811);let h=e=>{let t=(0,i.useMemo)(()=>new Set(null==e?void 0:e.map(e=>e.original["system.fides_key"])),[e]),r=(0,i.useMemo)(()=>e.reduce((e,t)=>{let r=t.original["system.fides_key"];return e[r]||(e[r]={name:t.original["system.name"],description:t.original["system.description"],ingress:t.original["system.ingress"]?t.original["system.ingress"].split(", "):[],egress:t.original["system.egress"]?t.original["system.egress"].split(", "):[],id:t.original["system.fides_key"]}),e},{}),[e]);return{data:(0,i.useMemo)(()=>{let e=[],t=new Set([]);return r&&(e=Object.values(r)).map(e=>[...e.ingress.filter(e=>r[e]).map(t=>({source:t,target:e.id})),...e.egress.filter(e=>r[e]).map(t=>({source:e.id,target:t}))]).flatMap(e=>e).forEach(e=>t.add(JSON.stringify(e))),{nodes:e,links:Array.from(t).map(e=>JSON.parse(e))}},[r]),highlightedNodes:t}};var b=e=>{let{setSelectedSystemId:t}=e,{tableInstance:r}=(0,i.useContext)(f.Z);if(!r)return null;let{rows:o}=r.getRowModel(),{data:s}=h(o);return(0,n.jsx)(a.xuv,{boxSize:"100%",minHeight:"600px",position:"relative",children:(0,n.jsx)(k,{data:s,setSelectedSystemId:t})})}}}]);
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9392],{72011:function(e,t,r){var n;n=function(e){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=3)}([function(e,t,r){"use strict";var n=r(4),a=r(1),i=r(2),o={addUnnecessaryBendpoints:"de.cau.cs.kieler.klay.layered.unnecessaryBendpoints",alignment:"de.cau.cs.kieler.alignment",aspectRatio:"de.cau.cs.kieler.aspectRatio",borderSpacing:"borderSpacing",compactComponents:"de.cau.cs.kieler.klay.layered.components.compact",compactionStrategy:"de.cau.cs.kieler.klay.layered.nodeplace.compactionStrategy",contentAlignment:"de.cau.cs.kieler.klay.layered.contentAlignment",crossingMinimization:"de.cau.cs.kieler.klay.layered.crossMin",cycleBreaking:"de.cau.cs.kieler.klay.layered.cycleBreaking",debugMode:"de.cau.cs.kieler.debugMode",direction:"de.cau.cs.kieler.direction",edgeLabelSideSelection:"de.cau.cs.kieler.klay.layered.edgeLabelSideSelection",edgeRouting:"de.cau.cs.kieler.edgeRouting",edgeSpacingFactor:"de.cau.cs.kieler.klay.layered.edgeSpacingFactor",feedbackEdges:"de.cau.cs.kieler.klay.layered.feedBackEdges",fixedAlignment:"de.cau.cs.kieler.klay.layered.fixedAlignment",greedySwitchCrossingMinimization:"de.cau.cs.kieler.klay.layered.greedySwitch",hierarchyHandling:"de.cau.cs.kieler.hierarchyHandling",inLayerSpacingFactor:"de.cau.cs.kieler.klay.layered.inLayerSpacingFactor",interactiveReferencePoint:"de.cau.cs.kieler.klay.layered.interactiveReferencePoint",layerConstraint:"de.cau.cs.kieler.klay.layered.layerConstraint",layoutHierarchy:"de.cau.cs.kieler.layoutHierarchy",linearSegmentsDeflectionDampening:"de.cau.cs.kieler.klay.layered.linearSegmentsDeflectionDampening",mergeEdges:"de.cau.cs.kieler.klay.layered.mergeEdges",mergeHierarchyCrossingEdges:"de.cau.cs.kieler.klay.layered.mergeHierarchyEdges",noLayout:"de.cau.cs.kieler.noLayout",nodeLabelPlacement:"de.cau.cs.kieler.nodeLabelPlacement",nodeLayering:"de.cau.cs.kieler.klay.layered.nodeLayering",nodePlacement:"de.cau.cs.kieler.klay.layered.nodePlace",portAlignment:"de.cau.cs.kieler.portAlignment",portAlignmentEastern:"de.cau.cs.kieler.portAlignment.east",portAlignmentNorth:"de.cau.cs.kieler.portAlignment.north",portAlignmentSouth:"de.cau.cs.kieler.portAlignment.south",portAlignmentWest:"de.cau.cs.kieler.portAlignment.west",portConstraints:"de.cau.cs.kieler.portConstraints",portLabelPlacement:"de.cau.cs.kieler.portLabelPlacement",portOffset:"de.cau.cs.kieler.offset",portSide:"de.cau.cs.kieler.portSide",portSpacing:"de.cau.cs.kieler.portSpacing",postCompaction:"de.cau.cs.kieler.klay.layered.postCompaction",priority:"de.cau.cs.kieler.priority",randomizationSeed:"de.cau.cs.kieler.randomSeed",routeSelfLoopInside:"de.cau.cs.kieler.selfLoopInside",separateConnectedComponents:"de.cau.cs.kieler.separateConnComp",sizeConstraint:"de.cau.cs.kieler.sizeConstraint",sizeOptions:"de.cau.cs.kieler.sizeOptions",spacing:"de.cau.cs.kieler.spacing",splineSelfLoopPlacement:"de.cau.cs.kieler.klay.layered.splines.selfLoopPlacement",thoroughness:"de.cau.cs.kieler.klay.layered.thoroughness",wideNodesOnMultipleLayers:"de.cau.cs.kieler.klay.layered.wideNodesOnMultipleLayers"},s=function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var a=t[n],i=o[a],s=e[a];r[i]=s}return r},c={interactiveReferencePoint:"CENTER"},l=function(e){for(var t=e.parent(),r=e.scratch("klay"),n={x:r.x,y:r.y};t.nonempty();){var a=t.scratch("klay");n.x+=a.x,n.y+=a.y,t=t.parent()}return n},d=function(e,t){var r=e.layoutDimensions(t),n=e.numericStyle("padding"),a={_cyEle:e,id:e.id(),padding:{top:n,left:n,bottom:n,right:n}};return e.isParent()||(a.width=r.w,a.height=r.h),e.scratch("klay",a),a},u=function(e,t){var r={_cyEle:e,id:e.id(),source:e.data("source"),target:e.data("target"),properties:{}},n=t.priority(e);return null!=n&&(r.properties.priority=n),e.scratch("klay",r),r},g=function(e,t,r){for(var n=[],a=[],i={},o={id:"root",children:[],edges:[]},s=0;s<e.length;s++){var c=e[s],l=d(c,r);n.push(l),i[c.id()]=l}for(var g=0;g<t.length;g++){var p=t[g],y=u(p,r);a.push(y),i[p.id()]=y}for(var m=0;m<n.length;m++){var k=n[m],f=k._cyEle;if(f.isChild()){var h=i[f.parent().id()];(h.children=h.children||[]).push(k)}else o.children.push(k)}for(var b=0;b<a.length;b++){var S=a[b],v=S._cyEle;v.source().parent(),v.target().parent(),o.edges.push(S)}return o};function p(e){var t=e.klay;this.options=a({},i,e),this.options.klay=a({},i.klay,t,c)}p.prototype.run=function(){var e=this.options,t=e.eles,r=t.nodes(),a=g(r,t.edges(),e);return n.layout({graph:a,options:s(e.klay),success:function(){},error:function(e){throw e}}),r.filter(function(e){return!e.isParent()}).layoutPositions(this,e,l),this},p.prototype.stop=function(){return this},p.prototype.destroy=function(){return this},e.exports=p},function(e,t,r){"use strict";e.exports=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.filter(function(e){return null!=e}).forEach(function(t){Object.keys(t).forEach(function(r){return e[r]=t[r]})}),e}},function(e,t,r){"use strict";e.exports={nodeDimensionsIncludeLabels:!1,fit:!0,padding:20,animate:!1,animateFilter:function(e,t){return!0},animationDuration:500,animationEasing:void 0,transform:function(e,t){return t},ready:void 0,stop:void 0,klay:{addUnnecessaryBendpoints:!1,aspectRatio:1.6,borderSpacing:20,compactComponents:!1,crossingMinimization:"LAYER_SWEEP",cycleBreaking:"GREEDY",direction:"UNDEFINED",edgeRouting:"ORTHOGONAL",edgeSpacingFactor:.5,feedbackEdges:!1,fixedAlignment:"NONE",inLayerSpacingFactor:1,layoutHierarchy:!1,linearSegmentsDeflectionDampening:.3,mergeEdges:!1,mergeHierarchyCrossingEdges:!0,nodeLayering:"NETWORK_SIMPLEX",nodePlacement:"BRANDES_KOEPF",randomizationSeed:1,routeSelfLoopInside:!1,separateConnectedComponents:!0,spacing:20,thoroughness:7},priority:function(e){return null}}},function(e,t,r){"use strict";var n=r(0),a=function(e){e&&e("layout","klay",n)};"undefined"!=typeof cytoscape&&a(cytoscape),e.exports=a},function(t,r){t.exports=e}])},e.exports=n(r(73552))},19392:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return b}});var n=r(24246),a=r(77181),i=r(27378),o=r(76573),s=r(72011),c=r.n(s),l=r(3124),d=r.n(l),u=r(65218),g=r.n(u),p=r(54349);let y=g()(()=>r.e(7062).then(r.bind(r,37062)),{loadableGenerated:{webpack:()=>[37062]},ssr:!1});o.Z.use(c()),o.Z.warnings(!1);let m=e=>{let{data:t}=e,r=(0,i.useMemo)(()=>[...t.nodes.map(e=>({data:{label:e.name,...e},grabbable:!1,classes:"center-center multiline-auto outline"})),...t.links.map(e=>({data:{source:e.source,target:e.target}}))],[t.links,t.nodes]),n=(0,i.useMemo)(()=>({name:"klay",nodeDimensionsIncludeLabels:!0,klay:{thoroughness:20,borderSpacing:100,direction:"DOWN",edgeRouting:"SPLINES",edgeSpacingFactor:1.3}}),[]),a=d().FIDESUI_NEUTRAL_50;return{elements:r,layoutConfig:n,styleSheet:(0,i.useMemo)(()=>[{selector:"node[label]",style:{label:"data(label)"}},{selector:"node",style:{shape:"ellipse",width:"45px",height:"45px",backgroundColor:a}},{selector:"edge[label]",style:{label:"data(label)",width:3}},{selector:"edge",style:{"curve-style":"bezier","target-arrow-shape":"triangle","line-color":"#888","target-arrow-color":"#888",opacity:.5}},{selector:"node",style:{"background-image":"/images/DatabaseIcon.svg"}},{selector:"node:selected",style:{"background-image":"/images/SelectedDatabaseIcon.svg"}},{selector:".center-center",style:{"text-valign":"center","text-halign":"right"}},{selector:".multiline-auto",style:{"text-wrap":"wrap","text-max-width":"40"}},{selector:".outline",style:{color:"#8d91b4","text-outline-color":"#fff","text-outline-width":1}}],[a]),backgroundColor:a}};var k=i.memo(e=>{let{data:t,setSelectedSystemId:r}=e,{elements:o,layoutConfig:s,styleSheet:c,backgroundColor:l}=m({data:t}),d=(0,i.useContext)(p.Y),[u,g]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=e=>{r(e.target._private.data.id)};return d.current&&(d.current.on("click","node",e),d.current.on("layoutstop",()=>{d.current&&(d.current.maxZoom(2.5),d.current.fit(),d.current.maxZoom(100))})),()=>{d.current&&d.current.off("click","node",e)}},[d.current,r]),(0,i.useEffect)(()=>()=>{d.current=void 0},[d]),(0,i.useEffect)(()=>{if(u){var e,t,r,n;null===(e=d.current)||void 0===e||e.layout(s).stop(),null===(t=d.current)||void 0===t||t.layout(s).removeAllListeners(),null===(r=d.current)||void 0===r||r.layout(s),null===(n=d.current)||void 0===n||n.layout(s).run()}},[u,o,d,s]),(0,n.jsx)(a.xuv,{boxSize:"100%","data-testid":"cytoscape-graph",position:"absolute",children:(0,n.jsx)(a.xuv,{boxSize:"100%",bgColor:"gray.50",children:(0,n.jsx)(y,{cy:e=>{u||(g(!0),d.current=e)},elements:o,style:{height:"100%",width:"100%",backgroundColor:l},stylesheet:c,wheelSensitivity:.085,layout:s})})})}),f=r(99811);let h=e=>{let t=(0,i.useMemo)(()=>new Set(null==e?void 0:e.map(e=>e.original["system.fides_key"])),[e]),r=(0,i.useMemo)(()=>e.reduce((e,t)=>{let r=t.original["system.fides_key"];return e[r]||(e[r]={name:t.original["system.name"],description:t.original["system.description"],ingress:t.original["system.ingress"]?t.original["system.ingress"].split(", "):[],egress:t.original["system.egress"]?t.original["system.egress"].split(", "):[],id:t.original["system.fides_key"]}),e},{}),[e]);return{data:(0,i.useMemo)(()=>{let e=[],t=new Set([]);return r&&(e=Object.values(r)).map(e=>[...e.ingress.filter(e=>r[e]).map(t=>({source:t,target:e.id})),...e.egress.filter(e=>r[e]).map(t=>({source:e.id,target:t}))]).flatMap(e=>e).forEach(e=>t.add(JSON.stringify(e))),{nodes:e,links:Array.from(t).map(e=>JSON.parse(e))}},[r]),highlightedNodes:t}};var b=e=>{let{setSelectedSystemId:t}=e,{tableInstance:r}=(0,i.useContext)(f.Z);if(!r)return null;let{rows:o}=r.getRowModel(),{data:s}=h(o);return(0,n.jsx)(a.xuv,{boxSize:"100%",minHeight:"600px",position:"relative",children:(0,n.jsx)(k,{data:s,setSelectedSystemId:t})})}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9676],{59676:function(e,i,r){r.r(i),r.d(i,{default:function(){return j}});var t=r(24246),s=r(77181),n=r(16134),a=r(27378),l=r(812),o=r(14047),d=r(90867);let u=(0,s.Gpc)((e,i)=>{let{handleBlur:r,subjectRequest:u}=e,c=(0,n.T)(),[f,m]=(0,a.useState)(!1),{errorAlert:h,successAlert:x}=(0,o.V)(),{errorRequests:p}=(0,n.C)(d.fe),[g]=(0,d.JD)(),[j]=(0,d.Fq)(),y=async()=>{m(!0);let e=await g(p);(0,l.D4)(e)?(c((0,d.uT)({checkAll:!1,errorRequests:[]})),h((0,l.e$)(e.error),"DSR batch automation has failed due to the following:",{duration:null})):(e.data.failed.length>0&&h((0,t.jsxs)(s.xuv,{children:["DSR automation has failed for"," ",(0,t.jsx)(s.xvT,{as:"span",fontWeight:"semibold",children:e.data.failed.length})," ","privacy request(s). Please review the event log for further details."]}),void 0,{containerStyle:{maxWidth:"max-content"},duration:null}),e.data.succeeded.length>0&&x("Privacy request(s) are now being reprocessed.")),m(!1)},v=async()=>{if(!u)return;m(!0);let e=await j(u);(0,l.D4)(e)?h((0,l.e$)(e.error),"DSR automation has failed for this privacy request due to the following:",{duration:null}):x("Privacy request is now being reprocessed."),m(!1),r&&r(i)};return(0,t.jsx)(s.wpx,{disabled:f,loading:f,onClick:u?v:y,ref:i,size:"small",icon:(0,t.jsx)(s.AyE,{}),children:"Reprocess"})});var c=r(34090),f=r(55484);let m=/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i,h=e=>m.test(e),x=(0,s.Gpc)((e,i)=>{let{isRequired:r=!1,...n}=e,{emails:l}=n.form.values,[o,d]=(0,a.useState)(""),u=e=>l.includes(e),c=e=>{e.map(e=>e.trim()).filter(e=>h(e)&&!u(e)).forEach(e=>n.push(e)),d("")};return(0,t.jsxs)(s.NIc,{alignItems:"baseline",display:"inline-flex",isInvalid:!!n.form.errors[n.name],isRequired:r,children:[(0,t.jsx)(s.lXp,{fontSize:"md",htmlFor:"email",children:"Email"}),(0,t.jsxs)(s.gCW,{align:"flex-start",w:"inherit",children:[(0,t.jsx)(s.IIB,{autoComplete:"off",placeholder:"Type or paste email addresses separated by commas and press `Enter` or `Tab`...",onChange:e=>{d(e.target.value)},onKeyDown:e=>{["Enter","Tab",","].includes(e.key)&&(e.preventDefault(),c([o]))},onPaste:e=>{e.preventDefault(),c(e.clipboardData.getData("text").split(","))},ref:i,size:"sm",type:"email",value:o}),(0,t.jsx)(s.J1D,{children:n.form.errors[n.name]}),l.length>0&&(0,t.jsx)(s.Eq9,{spacing:1,mb:3,pt:"8px",children:l.map((e,i)=>(0,t.jsxs)(s.Vp9,{borderRadius:"full",backgroundColor:"primary.400",color:"white",size:"sm",variant:"solid",children:[(0,t.jsx)(s.Sn0,{children:e}),(0,t.jsx)(s.SD9,{onClick:()=>{n.remove(i)}})]},e))})]})]})}),p=f.Ry().shape({emails:f.IX(f.Z_()).when(["notify"],{is:!0,then:()=>f.IX(f.Z_()).min(1,"Must enter at least one valid email").label("Email")}),notify:f.O7(),minErrorCount:f.Rx().required()});var g=()=>{let{isOpen:e,onOpen:i,onClose:r}=(0,s.qY0)(),[n,u]=(0,a.useState)({emails:[],notify:!1,minErrorCount:1}),f=(0,a.useRef)(null),{errorAlert:m,successAlert:h}=(0,o.V)(),[g,j]=(0,a.useState)(!0),{data:y}=(0,d.tE)(void 0,{skip:g}),[v]=(0,d.SC)(),C=async(e,i)=>{i.setSubmitting(!0);let t=await v({email_addresses:e.emails,notify_after_failures:e.notify?e.minErrorCount:0});(0,l.D4)(t)?m((0,l.e$)(t.error),"Configure alerts and notifications has failed to save due to the following:"):h("Configure alerts and notifications saved successfully."),i.setSubmitting(!1),r()};return(0,a.useEffect)(()=>{e&&j(!1),y&&u({emails:y.email_addresses,notify:0!==y.notify_after_failures,minErrorCount:y.notify_after_failures})},[y,e]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.wpx,{onClick:i,title:"Configure alerts","aria-label":"Configure alerts",icon:(0,t.jsx)(s.Dkj,{})}),(0,t.jsx)(c.J9,{enableReinitialize:!0,initialValues:n,onSubmit:C,validationSchema:p,children:i=>(0,t.jsxs)(s.dys,{isOpen:e,placement:"right",initialFocusRef:f,onClose:()=>{i.resetForm(),r()},size:"lg",children:[(0,t.jsx)(s.P1B,{}),(0,t.jsxs)(s.scA,{color:"gray.900",children:[(0,t.jsx)(s.cCv,{}),(0,t.jsxs)(s.OXI,{color:"gray.900",children:[(0,t.jsx)(s.xvT,{fontSize:"2xl",fontWeight:"normal",mb:4,children:"Configure alerts and notifications"}),(0,t.jsx)(s.xuv,{mt:"26px",children:(0,t.jsx)(s.xvT,{fontSize:"md",fontWeight:"normal",children:"Setup your alerts to send you a notification when there are any processing failures. You can also setup a threshold for connector failures for Fides to notify you after X amount of failures have occurred."})})]}),(0,t.jsx)(s.Ng0,{mt:"20px",children:(0,t.jsxs)(c.l0,{id:"configure-alerts-form",noValidate:!0,children:[(0,t.jsx)(s.xvT,{fontSize:"md",children:"Contact details"}),(0,t.jsxs)(s.gCW,{align:"stretch",gap:"29px",mt:"14px",children:[(0,t.jsx)(s.Ugi,{children:(0,t.jsx)(c.F2,{name:"emails",render:e=>(0,t.jsx)(x,{...e,isRequired:i.values.notify,ref:f})})}),(0,t.jsx)(s.Ugi,{children:(0,t.jsx)(c.gN,{id:"notify",name:"notify",children:e=>{let{field:r}=e;return(0,t.jsxs)(s.NIc,{alignItems:"center",display:"flex",mt:"45px",children:[(0,t.jsx)(s.lXp,{fontSize:"md",mb:"0",children:"Notify me immediately if there are any DSR processing errors"}),(0,t.jsx)(s.rAg,{checked:i.values.notify,onChange:(e,t)=>{r.onChange(t),i.setFieldValue(r.name,e),i.setFieldValue("minErrorCount",1),e||setTimeout(()=>{i.setFieldTouched("emails",!1)},0)}})]})}})})]}),(0,t.jsx)(s.xvT,{color:"#757575",fontSize:"sm",mt:"11px",children:"If selected, then Fides will notify you by your chosen method of communication every time the system encounters a data subject request processing error. You can turn this off anytime and setup a more suitable notification method below if you wish."}),i.values.notify&&(0,t.jsx)(s.Ugi,{mt:"34px",children:(0,t.jsx)(c.gN,{id:"minErrorCount",name:"minErrorCount",children:e=>{let{field:r,meta:n}=e;return(0,t.jsxs)(s.NIc,{alignItems:"center",display:"flex",isInvalid:!!(n.error&&n.touched),isRequired:!0,children:[(0,t.jsx)(s.xvT,{children:"Notify me after"}),(0,t.jsxs)(s.Y2U,{allowMouseWheel:!0,color:"gray.700",defaultValue:i.values.minErrorCount||1,min:1,ml:"8px",mr:"8px",onChange:(e,r)=>{i.setFieldValue("minErrorCount",r)},size:"sm",w:"80px",children:[(0,t.jsx)(s.zuI,{...r}),(0,t.jsxs)(s.FiK,{children:[(0,t.jsx)(s.WQu,{}),(0,t.jsx)(s.Y_d,{})]})]}),(0,t.jsx)(s.xvT,{children:"DSR processing errors "})]})}})})]})}),(0,t.jsx)(s.zeN,{justifyContent:"flex-start",children:(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(s.wpx,{onClick:()=>{i.resetForm(),r()},children:"Cancel"}),(0,t.jsx)(s.wpx,{form:"configure-alerts-form",disabled:i.isSubmitting,loading:i.isSubmitting,htmlType:"submit",children:"Save"})]})})]})]})})]})},j=()=>{let{errorRequests:e}=(0,n.C)(d.fe);return(0,t.jsxs)(s.kCb,{gap:4,children:[(null==e?void 0:e.length)>0&&(0,t.jsx)(u,{}),(0,t.jsx)(g,{})]})}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9767],{7617:function(e,t,i){i.d(t,{q:function(){return a}});var n=i(24246),r=i(77181);let a=e=>{let{label:t,isDisabled:i,...a}=e;return(0,n.jsx)(r.OK9,{"data-testid":"tab-".concat(t),_selected:{fontWeight:"600",color:"complimentary.500",borderColor:"complimentary.500"},fontSize:a.fontSize,fontWeight:"500",color:"gray.500",isDisabled:i||!1,children:t})};t.Z=e=>{let{data:t,border:i="partial",...s}=e;return(0,n.jsxs)(r.mQc,{colorScheme:"complimentary",...s,children:[(0,n.jsx)(r.tdY,{width:"partial"===i?"max-content":void 0,children:t.map(e=>(0,n.jsx)(a,{label:e.label,isDisabled:e.isDisabled,fontSize:s.fontSize},e.label))}),(0,n.jsx)(r.nPR,{children:t.map(e=>(0,n.jsx)(r.x45,{px:0,"data-testid":"tab-panel-".concat(e.label),children:e.content},e.label))})]})}},97181:function(e,t,i){i.d(t,{d:function(){return d}});var n=i(24246),r=i(77181),a=i(34090),s=i(27378),l=i(91613),o=i(40324);let d=e=>{let{name:t,label:i,labelProps:d,tooltip:c,isRequired:u,layout:h="inline",...x}=e,[p,m,{setValue:f}]=(0,a.U$)(t),g=!!(m.touched&&m.error),[v,j]=(0,s.useState)("");p.value||"tags"!==x.mode&&"multiple"!==x.mode||(p.value=[]),"tags"===x.mode&&"string"==typeof p.value&&(p.value=[p.value]);let y="tags"===x.mode?(e,t)=>e?e.value!==v||p.value.includes(v)?x.optionRender?x.optionRender(e,t):e.label:'Create "'.concat(v,'"'):void 0:x.optionRender||void 0,b=e=>{j(e),x.onSearch&&x.onSearch(e)},C=(e,t)=>{f(e),x.onChange&&x.onChange(e,t)};return"inline"===h?(0,n.jsx)(r.NIc,{isInvalid:g,isRequired:u,children:(0,n.jsxs)(r.rjZ,{templateColumns:i?"1fr 3fr":"1fr",children:[i?(0,n.jsx)(o.__,{htmlFor:x.id||t,...d,children:i}):null,(0,n.jsxs)(r.jqI,{align:"center",children:[(0,n.jsxs)(r.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,n.jsx)(r.WPr,{...p,id:x.id||t,"data-testid":"controlled-select-".concat(p.name),...x,optionRender:y,onSearch:"tags"===x.mode?b:void 0,onChange:C,value:p.value||void 0,status:g?"error":void 0}),(0,n.jsx)(o.Bc,{isInvalid:g,message:m.error,fieldName:p.name})]}),c?(0,n.jsx)(l.Z,{label:c}):null]})]})}):(0,n.jsx)(r.NIc,{isInvalid:g,isRequired:u,children:(0,n.jsxs)(r.gCW,{alignItems:"start",children:[(0,n.jsxs)(r.jqI,{align:"center",children:[i?(0,n.jsx)(o.__,{htmlFor:x.id||t,fontSize:"xs",my:0,mr:1,...d,children:i}):null,c?(0,n.jsx)(l.Z,{label:c}):null]}),(0,n.jsx)(r.WPr,{...p,id:x.id||t,"data-testid":"controlled-select-".concat(p.name),...x,optionRender:y,onSearch:"tags"===x.mode?b:void 0,onChange:C,value:p.value||void 0,status:g?"error":void 0}),(0,n.jsx)(o.Bc,{isInvalid:g,message:m.error,fieldName:p.name})]})})}},812:function(e,t,i){i.d(t,{D4:function(){return a.D4},MM:function(){return h},Ot:function(){return d},c6:function(){return r},cj:function(){return p},e$:function(){return l},fn:function(){return o},iC:function(){return x},nU:function(){return u},tB:function(){return c}});var n,r,a=i(19043);let s="An unexpected error occurred. Please try again.",l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;if((0,a.Bw)(e)){if((0,a.hE)(e.data))return e.data.detail;if((0,a.cz)(e.data)){var i;let t=null===(i=e.data.detail)||void 0===i?void 0:i[0];return"".concat(null==t?void 0:t.msg,": ").concat(null==t?void 0:t.loc)}if(409===e.status&&(0,a.Dy)(e.data)||404===e.status&&(0,a.XD)(e.data))return"".concat(e.data.detail.error," (").concat(e.data.detail.fides_key,")")}return t};function o(e){return"object"==typeof e&&null!=e&&"status"in e}function d(e){return"object"==typeof e&&null!=e&&"data"in e&&"string"==typeof e.data.detail}function c(e){return"object"==typeof e&&null!=e&&"data"in e&&Array.isArray(e.data.detail)}let u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{status:500,message:s};if((0,a.oK)(e))return{status:e.originalStatus,message:e.data};if((0,a.Bw)(e)){let{status:i}=e;return{status:i,message:l(e,t.message)}}return t},h=e=>Object.entries(e).map(e=>({value:e[1],label:e[1]}));(n=r||(r={})).GVL="gvl",n.AC="gacp",n.COMPASS="compass";let x={gvl:{label:"GVL",fullName:"Global Vendor List"},gacp:{label:"AC",fullName:"Google Additional Consent List"},compass:{label:"",fullName:""}},p=e=>{let t=e.split(".")[0];return"gacp"===t?"gacp":"gvl"===t?"gvl":"compass"}},14047:function(e,t,i){i.d(t,{H:function(){return a},V:function(){return n.V}});var n=i(84306),r=i(812);let a=()=>{let{errorAlert:e}=(0,n.V)();return{handleError:t=>{let i="An unexpected error occurred. Please try again.";(0,r.Ot)(t)?i=t.data.detail:(0,r.tB)(t)&&(i=t.data.detail[0].msg),e(i)}}}},84306:function(e,t,i){i.d(t,{V:function(){return a}});var n=i(24246),r=i(77181);let a=()=>{let e=(0,r.pmc)();return{errorAlert:(t,i,a)=>{let s={...a,position:(null==a?void 0:a.position)||"top",render:e=>{let{onClose:a}=e;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"error","data-testid":"error-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:t})]}),(0,n.jsx)(r.PZ7,{onClick:a,position:"relative",right:0,size:"sm",top:-1})]})}};(null==a?void 0:a.id)&&e.isActive(a.id)?e.update(a.id,s):e(s)},successAlert:(t,i,a)=>{let s={...a,position:(null==a?void 0:a.position)||"top",render:e=>{let{onClose:a}=e;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"success",variant:"subtle","data-testid":"success-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:t})]}),(0,n.jsx)(r.PZ7,{onClick:a,position:"relative",right:0,size:"sm",top:-1})]})}};(null==a?void 0:a.id)&&e.isActive(a.id)?e.update(a.id,s):e(s)}}}},39715:function(e,t,i){var n=i(24246),r=i(77181);i(27378),t.Z=e=>{let{isEmptyState:t,yamlError:i}=e;return(0,n.jsx)(r.Rg9,{in:!0,children:(0,n.jsxs)(r.xuv,{w:"fit-content",bg:"white",p:3,borderRadius:3,children:[(0,n.jsxs)(r.Ugi,{children:[(0,n.jsx)(r.X6q,{as:"h5",color:"gray.700",size:"xs",children:"YAML"}),(0,n.jsx)(r.Vp9,{colorScheme:"red",size:"sm",variant:"solid",children:"Error"})]}),(0,n.jsx)(r.xuv,{bg:"red.50",border:"1px solid",borderColor:"red.300",color:"red.300",mt:"16px",borderRadius:"6px",children:(0,n.jsxs)(r.Ugi,{alignItems:"flex-start",margin:["14px","17px","14px","17px"],children:[(0,n.jsx)(r.f9v,{}),t&&(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(r.X6q,{as:"h5",color:"red.500",fontWeight:"semibold",size:"xs",children:"Error message:"}),(0,n.jsx)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:"Yaml system is required"})]}),i&&(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(r.X6q,{as:"h5",color:"red.500",fontWeight:"semibold",size:"xs",children:"Error message:"}),(0,n.jsx)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:i.message}),(0,n.jsx)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:i.reason}),(0,n.jsxs)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:["Ln ",(0,n.jsx)("b",{children:i.mark.line}),", Col"," ",(0,n.jsx)("b",{children:i.mark.column}),", Pos"," ",(0,n.jsx)("b",{children:i.mark.position})]})]})]})})]})})}},41337:function(e,t,i){var n=i(24246),r=i(77181);i(27378);var a=i(21702),s=i(14746);let l=e=>void 0!==e.connection_type,o=e=>void 0!==e.encoded_icon;t.Z=e=>{let{data:t,...i}=e;return(0,n.jsx)(r.Eep,{boxSize:"32px",objectFit:"cover",src:(()=>{let e;if(o(t)&&t.encoded_icon)return"data:image/svg+xml;base64,".concat(t.encoded_icon);if(l(t))e=[...s.iW].find(e=>{var i,n;let[r]=e;return t.connection_type.toString()!==a.Rj.SAAS&&t.connection_type.toString()===r||t.connection_type.toString()===a.Rj.SAAS&&(null===(n=t.saas_config)||void 0===n?void 0:null===(i=n.type)||void 0===i?void 0:i.toString())===r.toString()});else if(o(t)){let{identifier:i}=t;e=[...s.iW].find(e=>{let[t]=e;return t.toLowerCase()===i.toLowerCase()})}return e?s.Ny+e[1]:s.VD})(),fallbackSrc:s.VD,alt:(()=>{if(l(t)){var e;return null!==(e=t.name)&&void 0!==e?e:t.key}return o(t)?t.human_readable:t})(),...i})}},1226:function(e,t,i){var n=i(24246);i(27378);var r=i(77213);t.Z=e=>{let{children:t}=e;return(0,n.jsx)(r.Z,{title:"Connections",children:t})}},11274:function(e,t,i){i.d(t,{s:function(){return F}});var n=i(24246),r=i(96356),a=i(77181),s=i(86677),l=i(27378),o=i(16134),d=i(77830),c=i(21702),u=i(14047),h=i(84306),x=i(14207),p=i(16125),m=i(34090);let f=(e,t)=>{let i={...e};return Object.entries(t.properties).forEach(t=>{let[n,r]=t;if("integer"===r.type){let t=r.default?Number(r.default):e[n];i[n]=t||0}else{var a;let t=null!==(a=r.default)&&void 0!==a?a:e[n];i[n]=null!=t?t:null}}),i},g="#/definitions/FidesDatasetReference";var v=e=>{let{data:t,defaultValues:i,isSubmitting:s=!1,onSaveClick:d,onTestConnectionClick:h,testButtonLabel:p="Test integration"}=e,v=(0,l.useRef)(!1),{handleError:j}=(0,u.H)(),{connection:y,connectionOption:b}=(0,o.C)(r.ZZ),[C,_]=(0,x.h2)(),k=e=>{let t;return(void 0===e||""===e)&&(t="Connection Identifier is required"),e&&(0,a.kEn)(e)&&(t="Connection Identifier must be an alphanumeric value"),t},S=(e,t,i)=>{let n;return(void 0===t||""===t)&&(n="".concat(e," is required")),i===g&&(t.includes(".")?t.split(".").length<3&&(n="Dataset reference must include at least three parts"):n="Dataset reference must be dot delimited"),n},w=(e,t)=>(0,n.jsx)(a.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:e,minWidth:"150px",children:t}),I=e=>{var t;if((null===(t=e.allOf)||void 0===t?void 0:t[0].$ref)===g)return"Enter dataset.collection.field"},z=(e,i)=>{var r;return(0,n.jsx)(m.gN,{id:e,name:e,validate:(null!==(r=t.required)&&void 0!==r&&!!r.includes(e)||"integer"===i.type)&&(e=>{var t;return S(i.title,e,null===(t=i.allOf)||void 0===t?void 0:t[0].$ref)}),children:r=>{var s;let{field:l,form:o}=r;return(0,n.jsxs)(a.NIc,{display:"flex",isRequired:null===(s=t.required)||void 0===s?void 0:s.includes(e),isInvalid:o.errors[e]&&o.touched[e],children:[w(e,i.title),(0,n.jsxs)(a.gCW,{align:"flex-start",w:"inherit",children:["integer"!==i.type&&(0,n.jsx)(a.IIB,{...l,value:l.value||"",placeholder:I(i),autoComplete:"off",color:"gray.700",size:"sm"}),"integer"===i.type&&(0,n.jsxs)(a.Y2U,{allowMouseWheel:!0,color:"gray.700",defaultValue:0,min:0,size:"sm",children:[(0,n.jsx)(a.zuI,{...l,autoComplete:"off"}),(0,n.jsxs)(a.FiK,{children:[(0,n.jsx)(a.WQu,{}),(0,n.jsx)(a.Y_d,{})]})]}),(0,n.jsx)(a.J1D,{children:o.errors[e]})]}),(0,n.jsx)(a.ua7,{"aria-label":i.description,hasArrow:!0,label:i.description,placement:"right-start",openDelay:500,children:(0,n.jsx)(a.kCb,{alignItems:"center",h:"32px",visibility:i.description?"visible":"hidden",children:(0,n.jsx)(a.ITP,{marginLeft:"8px",_hover:{cursor:"pointer"}})})})]})}},e)},R=async()=>{try{await C(y.key).unwrap()}catch(e){j(e)}};return(0,l.useEffect)(()=>(v.current=!0,_.isSuccess&&h(_),()=>{v.current=!1}),[h,_]),(0,n.jsx)(m.J9,{enableReinitialize:!0,initialValues:(()=>{let e={...i};if(null==y?void 0:y.key){var n,r;e.name=null!==(r=y.name)&&void 0!==r?r:"",e.description=y.description,e.instance_key=y.connection_type===c.Rj.SAAS?null===(n=y.saas_config)||void 0===n?void 0:n.fides_key:y.key}return f(e,t)})(),onSubmit:(e,i)=>{let n={...e};Object.keys(t.properties).forEach(i=>{var r;if((null===(r=t.properties[i].allOf)||void 0===r?void 0:r[0].$ref)===g){let t=e[i].split(".");n[i]={dataset:t.shift(),field:t.join("."),direction:"from"}}}),d(n,i)},validateOnBlur:!1,validateOnChange:!1,children:e=>(0,n.jsx)(m.l0,{noValidate:!0,children:(0,n.jsxs)(a.gCW,{align:"stretch",gap:"16px",children:[(0,n.jsx)(m.gN,{id:"name",name:"name",validate:e=>S("Name",e),children:t=>{let{field:i}=t;return(0,n.jsxs)(a.NIc,{display:"flex",isRequired:!0,isInvalid:e.errors.name&&e.touched.name,children:[w("name","Name"),(0,n.jsxs)(a.gCW,{align:"flex-start",w:"inherit",children:[(0,n.jsx)(a.IIB,{...i,autoComplete:"off",autoFocus:!0,color:"gray.700",placeholder:"Enter a friendly name for your new ".concat(b.human_readable," connection"),size:"sm","data-testid":"input-name"}),(0,n.jsx)(a.J1D,{children:e.errors.name})]}),(0,n.jsx)(a.kCb,{alignItems:"center",h:"32px",visibility:"hidden",children:(0,n.jsx)(a.ITP,{marginLeft:"8px"})})]})}}),(0,n.jsx)(m.gN,{id:"description",name:"description",children:e=>{let{field:t}=e;return(0,n.jsxs)(a.NIc,{display:"flex",children:[w("description","Description"),(0,n.jsx)(a.gxH,{...t,color:"gray.700",placeholder:"Enter a description for your new ".concat(b.human_readable," connection"),resize:"none",size:"sm",value:t.value||""}),(0,n.jsx)(a.kCb,{alignItems:"center",h:"32px",visibility:"hidden",children:(0,n.jsx)(a.ITP,{marginLeft:"8px"})})]})}}),(0,n.jsx)(m.gN,{id:"instance_key",name:"instance_key",validate:k,children:t=>{let{field:i}=t;return(0,n.jsxs)(a.NIc,{display:"flex",isRequired:!0,isInvalid:e.errors.instance_key&&e.touched.instance_key,children:[w("instance_key","Connection Identifier"),(0,n.jsxs)(a.gCW,{align:"flex-start",w:"inherit",children:[(0,n.jsx)(a.IIB,{...i,autoComplete:"off",color:"gray.700",isDisabled:!!(null==y?void 0:y.key),placeholder:"A unique identifier for your new ".concat(b.human_readable," connection"),size:"sm"}),(0,n.jsx)(a.J1D,{children:e.errors.instance_key})]}),(0,n.jsx)(a.ua7,{"aria-label":"The fides_key will allow fidesops to associate dataset field references appropriately. Must be a unique alphanumeric value with no spaces (underscores allowed) to represent this connection.",hasArrow:!0,label:"The fides_key will allow fidesops to associate dataset field references appropriately. Must be a unique alphanumeric value with no spaces (underscores allowed) to represent this connection.",placement:"right-start",openDelay:500,children:(0,n.jsx)(a.kCb,{alignItems:"center",h:"32px",children:(0,n.jsx)(a.ITP,{marginLeft:"8px",_hover:{cursor:"pointer"}})})})]})}}),Object.entries(t.properties).map(e=>{let[t,i]=e;return"advanced_settings"===t?null:z(t,i)}),(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(a.wpx,{disabled:!(null==y?void 0:y.key),loading:_.isLoading||_.isFetching,onClick:R,"data-testid":"test-connection-button",children:p}),(0,n.jsx)(a.wpx,{htmlType:"submit",type:"primary",disabled:s,loading:s,children:"Save"})]})]})})})},j=i(3968);let y=e=>{let{onConnectionCreated:t,data:i}=e,a=(0,p.I0)(),{errorAlert:s,successAlert:d}=(0,h.V)(),{handleError:m}=(0,u.H)(),[f,g]=(0,l.useState)(!1),{connection:v,connectionOption:y}=(0,o.C)(r.ZZ),[b]=(0,x.pH)(),[C]=(0,x.Du)();return{isSubmitting:f,handleSubmit:async e=>{try{var l;g(!0);let o={access:c.uv.WRITE,connection_type:null==y?void 0:y.identifier,description:e.description,disabled:!1,key:(0,j.E)(e.instance_key),name:e.name},u=await b(o).unwrap();if((null===(l=u.failed)||void 0===l?void 0:l.length)>0)s(u.failed[0].message);else{let l={connection_key:u.succeeded[0].key,secrets:{}};Object.entries(i.properties).forEach(t=>{l.secrets[t[0]]=e[t[0]]});let o=await C(l).unwrap();"failed"===o.test_status?s((0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("b",{children:"Message:"})," ",o.msg,(0,n.jsx)("br",{}),(0,n.jsx)("b",{children:"Failure Reason:"})," ",o.failure_reason]})):(a((0,r.lm)(u.succeeded[0])),d("Connector successfully ".concat((null==v?void 0:v.key)?"updated":"added","!")),(null==v?void 0:v.key)||!t||t())}}catch(e){m(e)}finally{g(!1)}},connectionOption:y}},b=e=>{let{data:t,onConnectionCreated:i,onTestConnectionClick:r}=e,{isSubmitting:s,handleSubmit:l,connectionOption:o}=y({onConnectionCreated:i,data:t});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.xuv,{color:"gray.700",fontSize:"14px",h:"80px",children:["Connect to your ",o.human_readable," environment by providing the information below. Once you have saved the form, you may test the integration to confirm that it's working correctly."]}),(0,n.jsx)(v,{data:t,defaultValues:{description:"",instance_key:"",name:""},isSubmitting:s,onSaveClick:l,onTestConnectionClick:r})]})},C={description:"",instance_key:"",name:""},_=e=>{let{data:t,onConnectionCreated:i,onTestEmail:r}=e,{connectionOption:s,isSubmitting:l,handleSubmit:o}=y({onConnectionCreated:i,data:t});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.xuv,{color:"gray.700",fontSize:"14px",h:"80px",children:["Configure your ",s.human_readable," connector by providing the connector name, description and a test email address. Once you have saved the details, you can click test email to check the format of the email."]}),(0,n.jsx)(v,{data:t,defaultValues:C,isSubmitting:l,onSaveClick:e=>{o(e)},onTestConnectionClick:r,testButtonLabel:"Test email"})]})};var k=i(55484),S=i(27259),w=i(67762),I=e=>{let{defaultValues:t,isSubmitting:i=!1,onSaveClick:l}=e,c=(0,s.useRouter)(),{connection:u,connectionOption:h}=(0,o.C)(r.ZZ);return(0,n.jsx)(m.J9,{initialValues:(()=>{if(null==u?void 0:u.key){var e;t.name=null!==(e=u.name)&&void 0!==e?e:"",t.description=u.description}return t})(),onSubmit:(e,t)=>{l(e,t)},validateOnBlur:!1,validateOnChange:!1,validationSchema:k.Ry().shape({name:k.Z_().required("Name is required")}),children:(0,n.jsx)(m.l0,{noValidate:!0,children:(0,n.jsxs)(a.gCW,{align:"stretch",gap:"16px",children:[(0,n.jsx)(S.Z,{autoFocus:!0,disabled:!!(null==u?void 0:u.key),isRequired:!0,label:"Name",name:"name",placeholder:"Enter a friendly name for your new ".concat(h.human_readable," connection")}),(0,n.jsx)(S.Z,{label:"Description",name:"description",placeholder:"Enter a description for your new ".concat(h.human_readable," connection"),type:"textarea"}),(0,n.jsx)(w.h,{isSubmitting:i,onCancelClick:()=>{c.push(d.JR)}})]})})})};let z=e=>{let{onConnectionCreated:t}=e,i=(0,p.I0)(),{errorAlert:s,successAlert:d}=(0,h.V)(),{handleError:m}=(0,u.H)(),[f,g]=(0,l.useState)(!1),{connection:v,connectionOption:j}=(0,o.C)(r.ZZ),[y]=(0,x.pH)(),b=async(e,n)=>{try{var a;g(!0);let n={access:c.uv.WRITE,connection_type:null==j?void 0:j.identifier,description:e.description,disabled:!1,name:e.name,key:null==v?void 0:v.key},l=await y(n).unwrap();(null===(a=l.failed)||void 0===a?void 0:a.length)>0?s(l.failed[0].message):(i((0,r.lm)(l.succeeded[0])),d("Connector successfully ".concat((null==v?void 0:v.key)?"updated":"added","!")),(null==v?void 0:v.key)||!t||t())}catch(e){m(e)}finally{g(!1)}};return(0,n.jsxs)(a.gCW,{align:"stretch",gap:"16px",children:[(0,n.jsxs)(a.xuv,{color:"gray.700",fontSize:"14px",children:["To begin setting up your new ",j.human_readable," ","connector you must first assign a name to the connector and a description.",(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),"Once you have completed this section you can then progress onto"," ",(0,n.jsx)(a.xvT,{display:"inline-block",fontWeight:"700",children:"DSR customization"})," ","using the menu on the left hand side."]}),(0,n.jsx)(I,{defaultValues:{description:"",name:""},isSubmitting:f,onSaveClick:b})]})},R=e=>{let{data:t,onConnectionCreated:i,onTestConnectionClick:s}=e,d=(0,p.I0)(),{errorAlert:m,successAlert:f}=(0,h.V)(),{handleError:g}=(0,u.H)(),[y,b]=(0,l.useState)(!1),{connection:C,connectionOption:_}=(0,o.C)(r.ZZ),[k]=(0,x.pL)(),[S]=(0,x.pH)(),[w]=(0,x.Du)(),I=async(e,a)=>{try{if(b(!0),C){var s;let i={access:c.uv.WRITE,connection_type:C.connection_type,description:e.description,disabled:!1,key:C.key,name:e.name},a=await S(i).unwrap();if((null===(s=a.failed)||void 0===s?void 0:s.length)>0)m(a.failed[0].message);else{d((0,r.lm)(a.succeeded[0]));let i={connection_key:C.key,secrets:{}};Object.entries(t.properties).forEach(t=>{i.secrets[t[0]]=e[t[0]]});let s=await w(i).unwrap();"failed"===s.test_status?m((0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("b",{children:"Message:"})," ",s.msg,(0,n.jsx)("br",{}),(0,n.jsx)("b",{children:"Failure Reason:"})," ",s.failure_reason]})):f("Connector successfully updated!")}}else{let n={description:e.description,name:e.name,instance_key:(0,j.E)(e.instance_key),saas_connector_type:_.identifier,secrets:{}};Object.entries(t.properties).forEach(t=>{n.secrets[t[0]]=e[t[0]]});let a=await k(n).unwrap();d((0,r.lm)(a.connection)),f("Connector successfully added!"),null==i||i()}}catch(e){g(e)}finally{b(!1)}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.xuv,{color:"gray.700",fontSize:"14px",h:"80px",children:["Connect to your ",_.human_readable," environment by providing the information below. Once you have saved the form, you may test the integration to confirm that it's working correctly."]}),(0,n.jsx)(v,{data:t,defaultValues:{description:"",instance_key:"",name:""},isSubmitting:y,onSaveClick:I,onTestConnectionClick:s})]})};var Z=i(16394);let W=e=>{var t,i;let{response:s}=e,{connectionOption:l}=(0,o.C)(r.ZZ);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.izJ,{color:"gray.100"}),(0,n.jsxs)(a.gCW,{align:"flex-start",mt:"16px",children:[(null===(t=s.data)||void 0===t?void 0:t.test_status)==="succeeded"&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.Ugi,{children:[(0,n.jsxs)(a.X6q,{as:"h5",color:"gray.700",size:"xs",children:["Successfully connected to ",l.human_readable]}),(0,n.jsx)(a.Vp9,{colorScheme:"green",size:"sm",variant:"solid",children:"Success"})]}),(0,n.jsx)(a.xvT,{color:"gray.500",fontSize:"sm",mt:"12px !important",children:(0,Z.p6)(s.fulfilledTimeStamp)}),(0,n.jsx)(a.xuv,{bg:"green.100",border:"1px solid",borderColor:"green.300",color:"green.700",mt:"16px",borderRadius:"6px",children:(0,n.jsxs)(a.Ugi,{alignItems:"flex-start",margin:["14px","17px","14px","17px"],children:[(0,n.jsx)(a.StI,{}),(0,n.jsxs)(a.xuv,{children:[(0,n.jsx)(a.X6q,{as:"h5",color:"green.500",fontWeight:"semibold",size:"xs",children:"Success message:"}),(0,n.jsx)(a.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:s.data.msg})]})]})})]}),(null===(i=s.data)||void 0===i?void 0:i.test_status)==="failed"&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.Ugi,{children:[(0,n.jsxs)(a.X6q,{as:"h5",color:"gray.700",size:"xs",children:["Output error to ",l.human_readable]}),(0,n.jsx)(a.Vp9,{colorScheme:"red",size:"sm",variant:"solid",children:"Error"})]}),(0,n.jsx)(a.xvT,{color:"gray.500",fontSize:"sm",mt:"12px !important",children:(0,Z.p6)(s.fulfilledTimeStamp)}),(0,n.jsx)(a.xuv,{bg:"red.50",border:"1px solid",borderColor:"red.300",color:"red.300",mt:"16px",borderRadius:"6px",children:(0,n.jsxs)(a.Ugi,{alignItems:"flex-start",margin:["14px","17px","14px","17px"],children:[(0,n.jsx)(a.f9v,{}),(0,n.jsxs)(a.xuv,{children:[(0,n.jsx)(a.X6q,{as:"h5",color:"red.500",fontWeight:"semibold",size:"xs",children:"Error message:"}),(0,n.jsx)(a.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:s.data.failure_reason}),(0,n.jsx)(a.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:s.data.msg})]})]})})]})]})]})},F=e=>{let{onConnectionCreated:t}=e,i=(0,s.useRouter)(),{connectionOption:u}=(0,o.C)(r.ZZ),h=u&&u.type===c.Zi.MANUAL,{data:x,isFetching:p,isLoading:m,isSuccess:f}=(0,r.n3)(u.identifier,{skip:h}),[g,v]=(0,l.useState)(),j=e=>{v(e)},y=(0,l.useCallback)(()=>{i.push(d.JR)},[i]),C=(0,l.useCallback)(()=>{switch(null==u?void 0:u.type){case c.Zi.DATABASE:if(f&&x)return(0,n.jsx)(b,{data:x,onConnectionCreated:t,onTestConnectionClick:j});break;case c.Zi.MANUAL:return(0,n.jsx)(z,{onConnectionCreated:t});case c.Zi.SAAS:if(f&&x)return(0,n.jsx)(R,{data:x,onConnectionCreated:t,onTestConnectionClick:j});break;case c.Zi.EMAIL:if(f&&x)return(0,n.jsx)(_,{data:x,onConnectionCreated:y,onTestEmail:j})}},[null==u?void 0:u.type,x,f,t,y]);return(0,n.jsxs)(a.kCb,{gap:"97px",children:[(0,n.jsxs)(a.gCW,{w:"579px",gap:"16px",align:"stretch",children:[(p||m)&&(0,n.jsx)(a.M5Y,{children:(0,n.jsx)(a.$jN,{})}),C()]}),g&&(0,n.jsxs)(a.Rg9,{in:!0,children:[" ",(0,n.jsx)(a.xuv,{mt:"16px",maxW:"528px",w:"fit-content",children:(0,n.jsx)(W,{response:g})})]})]})}},38212:function(e,t,i){i.d(t,{Z:function(){return y}});var n=i(24246),r=i(14047),a=i(96356),s=i(14207),l=i(77181),o=i(86677),d=i(27378),c=i(16134),u=i(812),h=i(77830),x=i(41966),p=i(84306),m=i(66527),f=i(41207),g=i(39715),v=e=>{let{data:t=[],isSubmitting:i=!1,onSubmit:r,onCancel:a,disabled:s}=e,o=(0,d.useRef)(null),{errorAlert:c}=(0,p.V)(),u=t.length>0?m.ZP.dump(t):void 0,[h,v]=(0,d.useState)(void 0),[j,y]=(0,d.useState)(!1),[b,C]=(0,d.useState)(!u),_=(0,l.qY0)(),{data:k}=(0,x.NR)(),[S,w]=(0,d.useState)([]),I=e=>{m.ZP.load(e,{json:!0}),v(void 0)},z=()=>{let e=o.current.getValue();r(m.ZP.load(e,{json:!0})),w([])};return(0,n.jsxs)(l.kCb,{gap:"97px",children:[(0,n.jsxs)(l.gCW,{align:"stretch",w:"800px",children:[(0,n.jsx)(f.M,{defaultLanguage:"yaml",defaultValue:u,height:"calc(100vh - 526px)",onChange:e=>{try{y(!0),I(e),C(!!(!e||""===e.trim()))}catch(e){(0,f.F)(e)?v(e):c("Could not parse the supplied YAML")}},onMount:(e,t)=>{o.current=e,o.current.focus()},options:{fontFamily:"Menlo",fontSize:13,minimap:{enabled:!0},readOnly:s},theme:"light"}),(0,n.jsxs)(l.Ugi,{justifyContent:"flex-end",pr:6,children:[a&&(0,n.jsx)(l.wpx,{onClick:a,children:"Cancel"}),(0,n.jsx)(l.wpx,{type:"primary",disabled:s||b||!!h||i,loading:i,onClick:()=>{if(k&&k.length){let e=o.current.getValue(),t=k.filter(t=>e.includes("fides_key: ".concat(t.fides_key,"\n"))).map(e=>e.fides_key);if(w(t),t.length){_.onOpen();return}}z()},htmlType:"submit","data-testid":"save-yaml-btn",children:"Save"})]})]}),j&&(b||h)&&(0,n.jsx)(g.Z,{isEmptyState:b,yamlError:h}),(0,n.jsx)(l.cVQ,{isOpen:_.isOpen,onClose:_.onClose,onConfirm:()=>{z(),_.onClose()},title:"Overwrite dataset",message:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l.xvT,{children:["You are about to overwrite the dataset",S.length>1?"s":""," ",S.map((e,t)=>{let i=t===S.length-1;return(0,n.jsxs)(d.Fragment,{children:[(0,n.jsx)(l.xvT,{color:"complimentary.500",as:"span",fontWeight:"bold",children:e}),i?".":", "]},e)})]}),(0,n.jsx)(l.xvT,{children:"Are you sure you would like to continue?"})]})})]})};let j=e=>{let{children:t,...i}=e;return(0,n.jsx)(l.xvT,{color:"gray.700",fontSize:"14px",...i,children:t})};var y=()=>{let e=(0,o.useRouter)(),{errorAlert:t,successAlert:i}=(0,r.V)(),{handleError:p}=(0,r.H)(),[m,f]=(0,d.useState)(!1),{connection:g}=(0,c.C)(a.ZZ),{data:y,isFetching:b,isLoading:C,isSuccess:_}=(0,s.Eg)(g.key),[k]=(0,s.Lz)(),[S]=(0,x.EG)(),{data:w,isLoading:I,error:z}=(0,x.NR)(),[R,Z]=(0,d.useState)(void 0);(0,d.useEffect)(()=>{y&&y.items.length&&Z(y.items[0].ctl_dataset.fides_key)},[y]);let W=async n=>{var r;let a={connection_key:null==g?void 0:g.key,dataset_pairs:n},s=await k(a).unwrap();(null===(r=s.failed)||void 0===r?void 0:r.length)>0?t(s.failed[0].message):i("Dataset successfully updated!"),e.push(h.JR)},F=async()=>{if(R)try{let e=R;y&&y.items.length&&(e=y.items[0].fides_key);let t=[{fides_key:e,ctl_dataset_fides_key:R}];W(t)}catch(e){p(e)}},A=async e=>{try{f(!0);let i=Array.isArray(e)?e:[e],n=await S(i);if((0,u.D4)(n)){let e=(0,u.e$)(n.error);t(e);return}let r=i.map(e=>({fides_key:e.fides_key,ctl_dataset_fides_key:e.fides_key}));if(y&&y.items.length){let{items:e}=y;r=e.map((e,t)=>({fides_key:e.fides_key,ctl_dataset_fides_key:i[t].fides_key}))}W(r)}catch(e){p(e)}finally{f(!1)}},T=""!==R&&void 0!==R;if(b||C||I&&!z)return(0,n.jsx)(l.M5Y,{children:(0,n.jsx)(l.$jN,{})});let L=w&&w.length;return(0,n.jsxs)(l.gCW,{alignItems:"left",gap:4,children:[z&&(0,n.jsx)(j,{color:"red",children:"There was a problem loading existing datasets, please try again."}),(0,n.jsxs)(l.gCW,{alignItems:"flex-start",children:[L&&(0,n.jsx)("div",{children:(0,n.jsx)(l.gCW,{alignSelf:"start",gap:4,children:(0,n.jsxs)(l.xuv,{"data-testid":"dataset-selector-section",children:[(0,n.jsx)(j,{mb:4,children:"Choose a dataset to associate with this connector."}),(0,n.jsxs)(l.Ugi,{children:[(0,n.jsx)(l.WPr,{allowClear:!0,options:w.map(e=>({label:e.fides_key,value:e.fides_key})),className:"w-full",placeholder:"Select",onChange:e=>Z(e),value:R,"data-testid":"dataset-selector"}),(0,n.jsx)(l.wpx,{onClick:F,type:"primary",className:"self-start",disabled:!T,"data-testid":"save-dataset-link-btn",children:"Save"})]})]})})}),L&&_&&(null==y?void 0:y.items)&&(0,n.jsx)(l.htM,{plain:!0,children:"or"}),_&&(null==y?void 0:y.items)&&(0,n.jsxs)(l.xuv,{"data-testid":"yaml-editor-section",children:[(0,n.jsx)(j,{mb:4,children:"View your dataset YAML below!"}),(0,n.jsx)(v,{data:y.items.map(e=>e.ctl_dataset),isSubmitting:m,onSubmit:A,disabled:T})]})]})]})}},27259:function(e,t,i){var n=i(24246),r=i(77181),a=i(34090);t.Z=e=>{let{disabled:t=!1,displayHelpIcon:i=!0,helpIconVisibility:s=!1,isRequired:l=!1,label:o,placeholder:d,type:c="text",...u}=e,{id:h,autoFocus:x}=u,[p,m]=(0,a.U$)(u);return(0,n.jsxs)(r.NIc,{display:"flex",isRequired:l,isInvalid:!!(m.error&&m.touched),children:[o&&(0,n.jsx)(r.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:h,minWidth:"150px",children:o}),(0,n.jsxs)(r.gCW,{align:"flex-start",w:"inherit",children:["number"===c&&(0,n.jsxs)(r.Y2U,{allowMouseWheel:!0,color:"gray.700",defaultValue:0,min:0,size:"sm",children:[(0,n.jsx)(r.zuI,{...p,autoComplete:"off",autoFocus:x}),(0,n.jsxs)(r.FiK,{children:[(0,n.jsx)(r.WQu,{}),(0,n.jsx)(r.Y_d,{})]})]}),"text"===c&&(0,n.jsx)(r.IIB,{...p,autoComplete:"off",autoFocus:x,color:"gray.700",isDisabled:t,placeholder:d,size:"sm"}),"textarea"===c&&(0,n.jsx)(r.gxH,{...p,autoComplete:"off",autoFocus:x,color:"gray.700",placeholder:d,resize:"none",size:"sm",value:p.value||""}),(0,n.jsx)(r.J1D,{children:m.error})]}),i&&(0,n.jsx)(r.kCb,{alignContent:"center",h:"32px",visibility:s?"visible":"hidden",children:(0,n.jsx)(r.ITP,{marginLeft:"8px",_hover:{cursor:"pointer"}})})]})}},3968:function(e,t,i){i.d(t,{E:function(){return n},S:function(){return r}});let n=e=>e.toLowerCase().replace(/ |\./g,"_"),r=(e,t)=>{let i="".concat(window.location.origin+t,"&key=").concat(e);window.location.href.toLowerCase()!==i.toLowerCase()&&window.history.replaceState(null,"",i)}},67762:function(e,t,i){i.d(t,{h:function(){return a}});var n=i(24246),r=i(77181);i(27378);let a=e=>{let{isSubmitting:t=!1,onCancelClick:i}=e;return(0,n.jsxs)(r.hE2,{size:"sm",spacing:"8px",variant:"outline",children:[(0,n.jsx)(r.zxk,{onClick:i,variant:"outline",children:"Cancel"}),(0,n.jsx)(r.zxk,{bg:"primary.800",color:"white",isDisabled:t,isLoading:t,loadingText:"Submitting",size:"sm",variant:"solid",type:"submit",_active:{bg:"primary.500"},_disabled:{opacity:"inherit"},_hover:{bg:"primary.400"},children:"Save"})]})}},50881:function(e,t,i){i.d(t,{Z:function(){return y}});var n=i(24246),r=i(14047),a=i(96356),s=i(14207),l=i(77181),o=i(86677),d=i(27378),c=i(16134),u=i(77830),h=i(34090),x=i(55484),p=i(97181),m=i(57072),f=i(39864),g=i(27259),v=i(67762),j=e=>{let{data:t=[],isSubmitting:i=!1,onSaveClick:a}=e,{isLoading:s}=(0,m.MO)(),d=(0,c.C)(f.qb),j=(0,o.useRouter)(),{errorAlert:y}=(0,r.V)(),b=()=>{j.push(u.JR)};return s?null:(0,n.jsx)(h.J9,{enableReinitialize:!0,initialValues:{fields:t.length>0?t:[{pii_field:"",dsr_package_label:"",data_categories:[]}]},onSubmit:(e,t)=>{if(new Set(e.fields.map(e=>e.pii_field)).size<e.fields.length){y("PII Field must be unique");return}a(e,t)},validateOnBlur:!1,validateOnChange:!1,validationSchema:x.Ry({fields:x.IX().of(x.Ry().shape({pii_field:x.Z_().required("PII Field is required").min(1,"PII Field must have at least one character").max(200,"PII Field has a maximum of 200 characters").label("PII Field"),dsr_package_label:x.Z_().required("DSR Package Label is required").min(1,"DSR Package Label must have at least one character").max(200,"DSR Package Label has a maximum of 200 characters").label("DSR Package Label"),data_categories:x.IX(x.Z_()).label("Data Categories")}))}),children:e=>(0,n.jsx)(h.l0,{style:{marginTop:0},noValidate:!0,children:(0,n.jsx)(l.gCW,{align:"stretch",children:(0,n.jsx)(h.F2,{name:"fields",render:t=>{let{fields:r}=e.values;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l.Ugi,{color:"gray.900",flex:"1",fontSize:"14px",fontWeight:"semibold",lineHeight:"20px",mb:"6px",spacing:"24px",children:[(0,n.jsx)(l.xuv,{w:"416px",children:"PII Field"}),(0,n.jsx)(l.xuv,{w:"416px",children:"DSR Package Label"}),(0,n.jsx)(l.xuv,{w:"416px",children:"Data Categories"}),(0,n.jsx)(l.xuv,{visibility:"hidden",children:(0,n.jsx)(l.lr0,{})})]}),(0,n.jsx)(l.xuv,{children:r&&r.length>0?r.map((e,i)=>(0,n.jsxs)(l.Ugi,{mt:i>0?"12px":void 0,spacing:"24px",align:"flex-start",children:[(0,n.jsx)(l.xuv,{minH:"57px",w:"416px",children:(0,n.jsx)(g.Z,{autoFocus:0===i,displayHelpIcon:!1,isRequired:!0,name:"fields.".concat(i,".pii_field")})}),(0,n.jsx)(l.xuv,{minH:"57px",w:"416px",children:(0,n.jsx)(g.Z,{displayHelpIcon:!1,isRequired:!0,name:"fields.".concat(i,".dsr_package_label")})}),(0,n.jsx)(l.xuv,{minH:"57px",w:"416px",children:(0,n.jsx)(p.d,{name:"fields.".concat(i,".data_categories"),options:d.map(e=>({value:e.fides_key,label:e.fides_key})),isRequired:!0,mode:"multiple"})}),(0,n.jsx)(l.xuv,{h:"57px",visibility:i>0?"visible":"hidden",children:(0,n.jsx)(l.lr0,{onClick:()=>t.remove(i),_hover:{cursor:"pointer"}})})]},i)):null}),(0,n.jsx)(l.xvT,{color:"complimentary.500",fontWeight:"medium",fontSize:"sm",mb:"24px !important",mt:"24px !important",onClick:()=>{t.push({pii_field:"",dsr_package_label:"",data_categories:[]})},_hover:{cursor:"pointer"},children:"Add new PII field"}),(0,n.jsx)(v.h,{isSubmitting:i,onCancelClick:b})]})}})})})})},y=()=>{let e=(0,d.useRef)(!1),t=(0,o.useRouter)(),{successAlert:i}=(0,r.V)(),{handleError:h}=(0,r.H)(),[x,p]=(0,d.useState)(!1),[m,f]=(0,d.useState)([]),{connection:g}=(0,c.C)(a.ZZ),{data:v,isFetching:y,isLoading:b,isSuccess:C}=(0,s.QV)(g.key),[_]=(0,s.jF)(),[k]=(0,s._d)(),S=async(e,n)=>{try{p(!0);let n={connection_key:null==g?void 0:g.key,body:{...e}};m.length>0?await k(n).unwrap():await _(n).unwrap(),i("DSR customization ".concat(m.length>0?"updated":"added","!")),t.push(u.JR)}catch(e){h(e)}finally{p(!1)}};return(0,d.useEffect)(()=>(e.current=!0,C&&v&&f(v.fields),()=>{e.current=!1}),[v,C]),(0,n.jsxs)(l.gCW,{align:"stretch",gap:"16px",children:[(0,n.jsx)(l.xuv,{color:"gray.700",fontSize:"14px",w:"572px",children:"Customize your PII fields to create a friendly label name for your privacy request packages. This “Package Label” is the label your user will see in their downloaded package."}),(y||b)&&(0,n.jsx)(l.M5Y,{children:(0,n.jsx)(l.$jN,{})}),e.current&&!b?(0,n.jsx)(j,{data:m,isSubmitting:x,onSaveClick:S}):null]})}},19043:function(e,t,i){i.d(t,{Bw:function(){return s},D4:function(){return r},Dy:function(){return o},XD:function(){return d},cz:function(){return c},hE:function(){return l},oK:function(){return a}});var n=i(76649);let r=e=>"error"in e,a=e=>(0,n.Ln)({status:"string"},e)&&"PARSING_ERROR"===e.status,s=e=>(0,n.Ln)({status:"number",data:{}},e),l=e=>(0,n.Ln)({detail:"string"},e),o=e=>(0,n.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),d=e=>(0,n.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),c=e=>(0,n.Ln)({detail:[{loc:["string","number"],msg:"string",type:"string"}]},e)},76649:function(e,t,i){i.d(t,{Ln:function(){return n}});let n=(e,t)=>a(e,t),r=Symbol("SOME"),a=(e,t)=>"string"==typeof e?e===typeof t:Array.isArray(e)?r in e?e.some(e=>a(e,t)):!!Array.isArray(t)&&(0===e.length||t.every(t=>e.some(e=>a(e,t)))):"object"==typeof t&&null!==t&&Object.entries(e).every(([e,i])=>a(i,t[e]));class s{static narrow(e){return new s(t=>n(e,t))}constructor(e){this.NF=void 0,this.NF=e}satisfied(e){return this.NF(e)}build(e){return e}and(e){let t=this.NF,i=e instanceof s?e.NF:e instanceof Function?e:t=>n(e,t);return new s(e=>t(e)&&i(e))}}new s(e=>!0)}}]);
|
@@ -1 +1 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9999],{74833:function(t,e,i){var n=i(56127),r=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(r,""):t}},56127:function(t){var e=/\s/;t.exports=function(t){for(var i=t.length;i--&&e.test(t.charAt(i)););return i}},66726:function(t,e,i){var n=i(11611),r=i(82846),o=i(91936),s=Math.max,a=Math.min;t.exports=function(t,e,i){var l,c,d,u,x,p,f=0,h=!1,m=!1,v=!0;if("function"!=typeof t)throw TypeError("Expected a function");function j(e){var i=l,n=c;return l=c=void 0,f=e,u=t.apply(n,i)}function g(t){var i=t-p,n=t-f;return void 0===p||i>=e||i<0||m&&n>=d}function C(){var t,i,n,o=r();if(g(o))return b(o);x=setTimeout(C,(t=o-p,i=o-f,n=e-t,m?a(n,d-i):n))}function b(t){return(x=void 0,v&&l)?j(t):(l=c=void 0,u)}function I(){var t,i=r(),n=g(i);if(l=arguments,c=this,p=i,n){if(void 0===x)return f=t=p,x=setTimeout(C,e),h?j(t):u;if(m)return clearTimeout(x),x=setTimeout(C,e),j(p)}return void 0===x&&(x=setTimeout(C,e)),u}return e=o(e)||0,n(i)&&(h=!!i.leading,d=(m="maxWait"in i)?s(o(i.maxWait)||0,e):d,v="trailing"in i?!!i.trailing:v),I.cancel=function(){void 0!==x&&clearTimeout(x),f=0,l=p=c=x=void 0},I.flush=function(){return void 0===x?u:b(r())},I}},82846:function(t,e,i){var n=i(77400);t.exports=function(){return n.Date.now()}},91936:function(t,e,i){var n=i(74833),r=i(11611),o=i(55193),s=0/0,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return s;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var i=l.test(t);return i||c.test(t)?d(t.slice(2),i?2:8):a.test(t)?s:+t}},35287:function(t,e,i){"use strict";var n=i(24246),r=i(
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9999],{74833:function(t,e,i){var n=i(56127),r=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(r,""):t}},56127:function(t){var e=/\s/;t.exports=function(t){for(var i=t.length;i--&&e.test(t.charAt(i)););return i}},66726:function(t,e,i){var n=i(11611),r=i(82846),o=i(91936),s=Math.max,a=Math.min;t.exports=function(t,e,i){var l,c,d,u,x,p,f=0,h=!1,m=!1,v=!0;if("function"!=typeof t)throw TypeError("Expected a function");function j(e){var i=l,n=c;return l=c=void 0,f=e,u=t.apply(n,i)}function g(t){var i=t-p,n=t-f;return void 0===p||i>=e||i<0||m&&n>=d}function C(){var t,i,n,o=r();if(g(o))return b(o);x=setTimeout(C,(t=o-p,i=o-f,n=e-t,m?a(n,d-i):n))}function b(t){return(x=void 0,v&&l)?j(t):(l=c=void 0,u)}function I(){var t,i=r(),n=g(i);if(l=arguments,c=this,p=i,n){if(void 0===x)return f=t=p,x=setTimeout(C,e),h?j(t):u;if(m)return clearTimeout(x),x=setTimeout(C,e),j(p)}return void 0===x&&(x=setTimeout(C,e)),u}return e=o(e)||0,n(i)&&(h=!!i.leading,d=(m="maxWait"in i)?s(o(i.maxWait)||0,e):d,v="trailing"in i?!!i.trailing:v),I.cancel=function(){void 0!==x&&clearTimeout(x),f=0,l=p=c=x=void 0},I.flush=function(){return void 0===x?u:b(r())},I}},82846:function(t,e,i){var n=i(77400);t.exports=function(){return n.Date.now()}},91936:function(t,e,i){var n=i(74833),r=i(11611),o=i(55193),s=0/0,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return s;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var i=l.test(t);return i||c.test(t)?d(t.slice(2),i?2:8):a.test(t)?s:+t}},35287:function(t,e,i){"use strict";var n=i(24246),r=i(77181),o=i(88038),s=i.n(o);i(27378),e.Z=t=>{let{children:e,title:i,mainProps:o}=t;return(0,n.jsxs)(r.kCb,{"data-testid":i,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,n.jsxs)(s(),{children:[(0,n.jsxs)("title",{children:["Fides Admin UI - ",i]}),(0,n.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,n.jsx)(r.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...o,children:e})]})}},58754:function(t,e,i){"use strict";var n=i(24246),r=i(77181),o=i(70788);e.Z=t=>{let{heading:e,breadcrumbItems:i,isSticky:s=!0,children:a,rightContent:l,style:c,...d}=t;return(0,n.jsxs)("div",{...d,style:s?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,n.jsxs)(r.jqI,{justify:"space-between",children:["string"==typeof e?(0,n.jsx)(r.X6q,{className:i||a?"pb-4":void 0,fontSize:"2xl","data-testid":"page-heading",children:e}):e,l&&(0,n.jsx)("div",{"data-testid":"page-header-right-content",children:l})]}),!!i&&(0,n.jsx)(o.m,{className:a?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),a]})}},14047:function(t,e,i){"use strict";i.d(e,{H:function(){return o},V:function(){return n.V}});var n=i(84306),r=i(812);let o=()=>{let{errorAlert:t}=(0,n.V)();return{handleError:e=>{let i="An unexpected error occurred. Please try again.";(0,r.Ot)(e)?i=e.data.detail:(0,r.tB)(e)&&(i=e.data.detail[0].msg),t(i)}}}},84306:function(t,e,i){"use strict";i.d(e,{V:function(){return o}});var n=i(24246),r=i(77181);let o=()=>{let t=(0,r.pmc)();return{errorAlert:(e,i,o)=>{let s={...o,position:(null==o?void 0:o.position)||"top",render:t=>{let{onClose:o}=t;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"error","data-testid":"error-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:e})]}),(0,n.jsx)(r.PZ7,{onClick:o,position:"relative",right:0,size:"sm",top:-1})]})}};(null==o?void 0:o.id)&&t.isActive(o.id)?t.update(o.id,s):t(s)},successAlert:(e,i,o)=>{let s={...o,position:(null==o?void 0:o.position)||"top",render:t=>{let{onClose:o}=t;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"success",variant:"subtle","data-testid":"success-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:e})]}),(0,n.jsx)(r.PZ7,{onClick:o,position:"relative",right:0,size:"sm",top:-1})]})}};(null==o?void 0:o.id)&&t.isActive(o.id)?t.update(o.id,s):t(s)}}}},70788:function(t,e,i){"use strict";i.d(e,{m:function(){return c}});var n=i(24246),r=i(77181),o=i(79894),s=i.n(o),a=i(27378);let{Text:l}=r.AntTypography,c=t=>{let{items:e,...i}=t,o=(0,a.useMemo)(()=>null==e?void 0:e.map((t,i)=>{let o=i===e.length-1,a={...t},c=a.onClick&&!a.href;return("string"==typeof a.title&&(a.title=(0,n.jsx)(l,{style:{color:"inherit",maxWidth:o?void 0:400},ellipsis:!o,children:a.title})),c)?a.title=(0,n.jsx)(r.wpx,{type:"text",size:"small",icon:a.icon,onClick:a.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:a.title}):(a.icon&&(a.title=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"anticon align-text-bottom",children:a.icon}),a.title]})),a.href&&a.title&&(a.title=(0,n.jsx)(s(),{href:a.href,className:"ant-breadcrumb-link",children:a.title}),delete a.href)),a}),[e]);return(0,n.jsx)(r.zrq,{items:o,...i})}},57454:function(t,e,i){"use strict";i.d(e,{M:function(){return l}});var n=i(24246),r=i(66726),o=i.n(r),s=i(27378),a=i(86780);let l=t=>{let{value:e,onChange:i}=t,[r,l]=(0,s.useState)(e),c=o()(i,500),d=(0,s.useCallback)(t=>{l(t),c(t)},[]);return(0,n.jsx)(a.Z,{search:r,onChange:d,onClear:()=>{l(""),i("")}})}},56839:function(t,e,i){"use strict";i.d(e,{dK:function(){return d},Rv:function(){return p},$P:function(){return x},zj:function(){return f},Kr:function(){return h},q1:function(){return u},QL:function(){return m}});var n=i(24246),r=i(77181);let o=(0,r.IUT)({displayName:"CircleIcon",viewBox:"0 0 200 200",path:(0,n.jsx)("path",{fill:"currentColor",d:"M 100, 100 m -75, 0 a 75,75 0 1,0 150,0 a 75,75 0 1,0 -150,0"})}),s=(0,r.IUT)({displayName:"RightDownArrowIcon",viewBox:"0 0 8 8",path:(0,n.jsx)("path",{fill:"currentColor",d:"M7.23192 8H8V7.23192V1.85539V1.08731H6.46385V1.85539V5.37654L1.62976 0.544855L1.08731 0L0 1.08731L0.542454 1.62976L5.37654 6.46385H1.85539H1.08731V8H1.85539H7.23192Z"})}),a=(0,r.IUT)({displayName:"RightUpArrowIcon",viewBox:"0 0 8 8",path:(0,n.jsx)("path",{fill:"currentColor",d:"M7.23192 0H8V0.768077V6.14461V6.91269H6.46385V6.14461V2.62346L1.62976 7.45515L1.08731 8L0 6.91269L0.542454 6.37024L5.37654 1.53615H1.85539H1.08731V0H1.85539H7.23192Z"})}),l=(0,r.IUT)({displayName:"TagIcon",viewBox:"0 0 9 10",path:(0,n.jsx)("path",{fill:"currentColor",d:"M0 0.5V5L4.5 9.5L9 5L4.5 0.5H0ZM2.25 2.10714C2.4205 2.10714 2.58401 2.17487 2.70457 2.29543C2.82513 2.41599 2.89286 2.5795 2.89286 2.75C2.89286 2.9205 2.82513 3.08401 2.70457 3.20457C2.58401 3.32513 2.4205 3.39286 2.25 3.39286C2.0795 3.39286 1.91599 3.32513 1.79543 3.20457C1.67487 3.08401 1.60714 2.9205 1.60714 2.75C1.60714 2.5795 1.67487 2.41599 1.79543 2.29543C1.91599 2.17487 2.0795 2.10714 2.25 2.10714Z"})});var c=i(28278);let d=()=>(0,n.jsx)(a,{color:"green.400",boxSize:2,mr:2,"data-testid":"add-icon"}),u=()=>(0,n.jsx)(s,{color:"red.400",boxSize:2,mr:2,"data-testid":"remove-icon"}),x=()=>(0,n.jsx)(l,{color:"orange.400",boxSize:3,mr:1,"data-testid":"classify-icon"}),p=()=>(0,n.jsx)(o,{color:"blue.400",boxSize:2,mr:2,"data-testid":"change-icon"}),f=()=>(0,n.jsx)(o,{color:"green.400",boxSize:2,mr:2,"data-testid":"monitored-icon"}),h=()=>(0,n.jsx)(o,{color:"red.400",boxSize:2,mr:2,"data-testid":"muted-icon"}),m={[c.E.ADDITION]:(0,n.jsx)(d,{}),[c.E.REMOVAL]:(0,n.jsx)(u,{}),[c.E.CLASSIFICATION]:(0,n.jsx)(x,{}),[c.E.CHANGE]:(0,n.jsx)(p,{}),[c.E.MONITORED]:(0,n.jsx)(f,{}),[c.E.MUTED]:(0,n.jsx)(h,{}),[c.E.IN_PROGRESS]:(0,n.jsx)(()=>(0,n.jsx)(o,{color:"orange.400",boxSize:2,mr:2,"data-testid":"in-progress-icon"}),{}),[c.E.NONE]:null}},28278:function(t,e,i){"use strict";var n,r;i.d(e,{E:function(){return n}}),(r=n||(n={})).ADDITION="Addition",r.CHANGE="Change",r.REMOVAL="Removal",r.CLASSIFICATION="Classification",r.IN_PROGRESS="Classifying",r.MONITORED="Monitoring",r.MUTED="Unmonitored",r.NONE="--"}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4917],{34051:function(t,r,e){e.r(r),e.d(r,{Collection:function(){return D},Iterable:function(){return eF},List:function(){return rF},Map:function(){return rq},OrderedMap:function(){return r8},OrderedSet:function(){return eT},PairSorting:function(){return eB},Range:function(){return em},Record:function(){return eP},Repeat:function(){return eV},Seq:function(){return $},Set:function(){return el},Stack:function(){return ei},fromJS:function(){return eY},get:function(){return t8},getIn:function(){return ew},has:function(){return t4},hasIn:function(){return eS},hash:function(){return tg},is:function(){return tl},isAssociative:function(){return M},isCollection:function(){return I},isImmutable:function(){return C},isIndexed:function(){return j},isKeyed:function(){return E},isList:function(){return rX},isMap:function(){return th},isOrdered:function(){return B},isOrderedMap:function(){return tp},isOrderedSet:function(){return ef},isPlainObject:function(){return t3},isRecord:function(){return K},isSeq:function(){return U},isSet:function(){return ec},isStack:function(){return en},isValueObject:function(){return t_},merge:function(){return r_},mergeDeep:function(){return rv},mergeDeepWith:function(){return ry},mergeWith:function(){return rl},remove:function(){return rt},removeIn:function(){return ro},set:function(){return rr},setIn:function(){return rn},update:function(){return rs},updateIn:function(){return re},version:function(){return eX}});var n,i,o,u,s,a,c,f,h,p="delete",_={};function l(){return{value:!1}}function v(t){t&&(t.value=!0)}function y(){}function d(t){return void 0===t.size&&(t.size=t.__iterate(m)),t.size}function g(t,r){if("number"!=typeof r){var e=r>>>0;if(""+e!==r||4294967295===e)return NaN;r=e}return r<0?d(t)+r:r}function m(){return!0}function w(t,r,e){return(0===t&&!S(t)||void 0!==e&&t<=-e)&&(void 0===r||void 0!==e&&r>=e)}function z(t,r,e){return void 0===t?e:S(t)?r===1/0?r:0|Math.max(0,r+t):void 0===r||r===t?t:0|Math.min(r,t)}function S(t){return t<0||0===t&&1/t==-1/0}var b="@@__IMMUTABLE_ITERABLE__@@";function I(t){return!!(t&&t[b])}var O="@@__IMMUTABLE_KEYED__@@";function E(t){return!!(t&&t[O])}var q="@@__IMMUTABLE_INDEXED__@@";function j(t){return!!(t&&t[q])}function M(t){return E(t)||j(t)}var D=function(t){return I(t)?t:$(t)},k=function(t){function r(t){return E(t)?t:tt(t)}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r}(D),A=function(t){function r(t){return j(t)?t:tr(t)}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r}(D),x=function(t){function r(t){return I(t)&&!M(t)?t:te(t)}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r}(D);D.Keyed=k,D.Indexed=A,D.Set=x;var R="@@__IMMUTABLE_SEQ__@@";function U(t){return!!(t&&t[R])}var T="@@__IMMUTABLE_RECORD__@@";function K(t){return!!(t&&t[T])}function C(t){return I(t)||K(t)}var L="@@__IMMUTABLE_ORDERED__@@";function B(t){return!!(t&&t[L])}var P="function"==typeof Symbol&&Symbol.iterator,W="@@iterator",N=P||W,H=function(t){this.next=t};function J(t,r,e,n){var i=0===t?r:1===t?e:[r,e];return n?n.value=i:n={value:i,done:!1},n}function V(){return{value:void 0,done:!0}}function Y(t){return!!Array.isArray(t)||!!F(t)}function Q(t){return t&&"function"==typeof t.next}function X(t){var r=F(t);return r&&r.call(t)}function F(t){var r=t&&(P&&t[P]||t[W]);if("function"==typeof r)return r}H.prototype.toString=function(){return"[Iterator]"},H.KEYS=0,H.VALUES=1,H.ENTRIES=2,H.prototype.inspect=H.prototype.toSource=function(){return this.toString()},H.prototype[N]=function(){return this};var G=Object.prototype.hasOwnProperty;function Z(t){return!!Array.isArray(t)||"string"==typeof t||t&&"object"==typeof t&&Number.isInteger(t.length)&&t.length>=0&&(0===t.length?1===Object.keys(t).length:t.hasOwnProperty(t.length-1))}var $=function(t){function r(t){return null==t?tu():C(t)?t.toSeq():function(t){var r,e,n=tc(t);if(n)return(r=F(t))&&r===t.entries?n.fromEntrySeq():(e=F(t))&&e===t.keys?n.toSetSeq():n;if("object"==typeof t)return new ti(t);throw TypeError("Expected Array or collection object of values, or keyed object: "+t)}(t)}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.toSeq=function(){return this},r.prototype.toString=function(){return this.__toString("Seq {","}")},r.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},r.prototype.__iterate=function(t,r){var e=this._cache;if(e){for(var n=e.length,i=0;i!==n;){var o=e[r?n-++i:i++];if(!1===t(o[1],o[0],this))break}return i}return this.__iterateUncached(t,r)},r.prototype.__iterator=function(t,r){var e=this._cache;if(e){var n=e.length,i=0;return new H(function(){if(i===n)return V();var o=e[r?n-++i:i++];return J(t,o[0],o[1])})}return this.__iteratorUncached(t,r)},r}(D),tt=function(t){function r(t){return null==t?tu().toKeyedSeq():I(t)?E(t)?t.toSeq():t.fromEntrySeq():K(t)?t.toSeq():ts(t)}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.toKeyedSeq=function(){return this},r}($),tr=function(t){function r(t){return null==t?tu():I(t)?E(t)?t.entrySeq():t.toIndexedSeq():K(t)?t.toSeq().entrySeq():ta(t)}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.of=function(){return r(arguments)},r.prototype.toIndexedSeq=function(){return this},r.prototype.toString=function(){return this.__toString("Seq [","]")},r}($),te=function(t){function r(t){return(I(t)&&!M(t)?t:tr(t)).toSetSeq()}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.of=function(){return r(arguments)},r.prototype.toSetSeq=function(){return this},r}($);$.isSeq=U,$.Keyed=tt,$.Set=te,$.Indexed=tr,$.prototype[R]=!0;var tn=function(t){function r(t){this._array=t,this.size=t.length}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.get=function(t,r){return this.has(t)?this._array[g(this,t)]:r},r.prototype.__iterate=function(t,r){for(var e=this._array,n=e.length,i=0;i!==n;){var o=r?n-++i:i++;if(!1===t(e[o],o,this))break}return i},r.prototype.__iterator=function(t,r){var e=this._array,n=e.length,i=0;return new H(function(){if(i===n)return V();var o=r?n-++i:i++;return J(t,o,e[o])})},r}(tr),ti=function(t){function r(t){var r=Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[]);this._object=t,this._keys=r,this.size=r.length}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.get=function(t,r){return void 0===r||this.has(t)?this._object[t]:r},r.prototype.has=function(t){return G.call(this._object,t)},r.prototype.__iterate=function(t,r){for(var e=this._object,n=this._keys,i=n.length,o=0;o!==i;){var u=n[r?i-++o:o++];if(!1===t(e[u],u,this))break}return o},r.prototype.__iterator=function(t,r){var e=this._object,n=this._keys,i=n.length,o=0;return new H(function(){if(o===i)return V();var u=n[r?i-++o:o++];return J(t,u,e[u])})},r}(tt);ti.prototype[L]=!0;var to=function(t){function r(t){this._collection=t,this.size=t.length||t.size}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.__iterateUncached=function(t,r){if(r)return this.cacheResult().__iterate(t,r);var e,n=X(this._collection),i=0;if(Q(n))for(;!(e=n.next()).done&&!1!==t(e.value,i++,this););return i},r.prototype.__iteratorUncached=function(t,r){if(r)return this.cacheResult().__iterator(t,r);var e=X(this._collection);if(!Q(e))return new H(V);var n=0;return new H(function(){var r=e.next();return r.done?r:J(t,n++,r.value)})},r}(tr);function tu(){return n||(n=new tn([]))}function ts(t){var r=tc(t);if(r)return r.fromEntrySeq();if("object"==typeof t)return new ti(t);throw TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+t)}function ta(t){var r=tc(t);if(r)return r;throw TypeError("Expected Array or collection object of values: "+t)}function tc(t){return Z(t)?new tn(t):Y(t)?new to(t):void 0}var tf="@@__IMMUTABLE_MAP__@@";function th(t){return!!(t&&t[tf])}function tp(t){return th(t)&&B(t)}function t_(t){return!!(t&&"function"==typeof t.equals&&"function"==typeof t.hashCode)}function tl(t,r){if(t===r||t!=t&&r!=r)return!0;if(!t||!r)return!1;if("function"==typeof t.valueOf&&"function"==typeof r.valueOf){if((t=t.valueOf())===(r=r.valueOf())||t!=t&&r!=r)return!0;if(!t||!r)return!1}return!!(t_(t)&&t_(r)&&t.equals(r))}var tv="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,r){var e=65535&(t|=0),n=65535&(r|=0);return e*n+((t>>>16)*n+e*(r>>>16)<<16>>>0)|0};function ty(t){return t>>>1&1073741824|3221225471&t}var td=Object.prototype.valueOf;function tg(t){if(null==t)return tm(t);if("function"==typeof t.hashCode)return ty(t.hashCode(t));var r,e,n=t.valueOf!==td&&"function"==typeof t.valueOf?t.valueOf(t):t;if(null==n)return tm(n);switch(typeof n){case"boolean":return n?1108378657:1108378656;case"number":return function(t){if(t!=t||t===1/0)return 0;var r=0|t;for(r!==t&&(r^=4294967295*t);t>4294967295;)t/=4294967295,r^=t;return ty(r)}(n);case"string":return n.length>tj?(void 0===(r=tk[n])&&(r=tw(n),tD===tM&&(tD=0,tk={}),tD++,tk[n]=r),r):tw(n);case"object":case"function":return function(t){var r;if(tI&&void 0!==(r=i.get(t))||void 0!==(r=t[tq])||!tS&&(void 0!==(r=t.propertyIsEnumerable&&t.propertyIsEnumerable[tq])||void 0!==(r=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t))))return r;if(r=tb(),tI)i.set(t,r);else if(void 0!==tz&&!1===tz(t))throw Error("Non-extensible objects are not allowed as keys.");else if(tS)Object.defineProperty(t,tq,{enumerable:!1,configurable:!1,writable:!1,value:r});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[tq]=r;else if(void 0!==t.nodeType)t[tq]=r;else throw Error("Unable to set a non-enumerable property on object.");return r}(n);case"symbol":return void 0!==(e=tO[n])||(e=tb(),tO[n]=e),e;default:if("function"==typeof n.toString)return tw(n.toString());throw Error("Value type "+typeof n+" cannot be hashed.")}}function tm(t){return null===t?1108378658:1108378659}function tw(t){for(var r=0,e=0;e<t.length;e++)r=31*r+t.charCodeAt(e)|0;return ty(r)}var tz=Object.isExtensible,tS=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();function tb(){var t=++tE;return 1073741824&tE&&(tE=0),t}var tI="function"==typeof WeakMap;tI&&(i=new WeakMap);var tO=Object.create(null),tE=0,tq="__immutablehash__";"function"==typeof Symbol&&(tq=Symbol(tq));var tj=16,tM=255,tD=0,tk={},tA=function(t){function r(t,r){this._iter=t,this._useKeys=r,this.size=t.size}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.get=function(t,r){return this._iter.get(t,r)},r.prototype.has=function(t){return this._iter.has(t)},r.prototype.valueSeq=function(){return this._iter.valueSeq()},r.prototype.reverse=function(){var t=this,r=tC(this,!0);return this._useKeys||(r.valueSeq=function(){return t._iter.toSeq().reverse()}),r},r.prototype.map=function(t,r){var e=this,n=tK(this,t,r);return this._useKeys||(n.valueSeq=function(){return e._iter.toSeq().map(t,r)}),n},r.prototype.__iterate=function(t,r){var e=this;return this._iter.__iterate(function(r,n){return t(r,n,e)},r)},r.prototype.__iterator=function(t,r){return this._iter.__iterator(t,r)},r}(tt);tA.prototype[L]=!0;var tx=function(t){function r(t){this._iter=t,this.size=t.size}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.includes=function(t){return this._iter.includes(t)},r.prototype.__iterate=function(t,r){var e=this,n=0;return r&&d(this),this._iter.__iterate(function(i){return t(i,r?e.size-++n:n++,e)},r)},r.prototype.__iterator=function(t,r){var e=this,n=this._iter.__iterator(1,r),i=0;return r&&d(this),new H(function(){var o=n.next();return o.done?o:J(t,r?e.size-++i:i++,o.value,o)})},r}(tr),tR=function(t){function r(t){this._iter=t,this.size=t.size}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.has=function(t){return this._iter.includes(t)},r.prototype.__iterate=function(t,r){var e=this;return this._iter.__iterate(function(r){return t(r,r,e)},r)},r.prototype.__iterator=function(t,r){var e=this._iter.__iterator(1,r);return new H(function(){var r=e.next();return r.done?r:J(t,r.value,r.value,r)})},r}(te),tU=function(t){function r(t){this._iter=t,this.size=t.size}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.entrySeq=function(){return this._iter.toSeq()},r.prototype.__iterate=function(t,r){var e=this;return this._iter.__iterate(function(r){if(r){tQ(r);var n=I(r);return t(n?r.get(1):r[1],n?r.get(0):r[0],e)}},r)},r.prototype.__iterator=function(t,r){var e=this._iter.__iterator(1,r);return new H(function(){for(;;){var r=e.next();if(r.done)return r;var n=r.value;if(n){tQ(n);var i=I(n);return J(t,i?n.get(0):n[0],i?n.get(1):n[1],r)}}})},r}(tt);function tT(t){var r=tF(t);return r._iter=t,r.size=t.size,r.flip=function(){return t},r.reverse=function(){var r=t.reverse.apply(this);return r.flip=function(){return t.reverse()},r},r.has=function(r){return t.includes(r)},r.includes=function(r){return t.has(r)},r.cacheResult=tG,r.__iterateUncached=function(r,e){var n=this;return t.__iterate(function(t,e){return!1!==r(e,t,n)},e)},r.__iteratorUncached=function(r,e){if(2===r){var n=t.__iterator(r,e);return new H(function(){var t=n.next();if(!t.done){var r=t.value[0];t.value[0]=t.value[1],t.value[1]=r}return t})}return t.__iterator(1===r?0:1,e)},r}function tK(t,r,e){var n=tF(t);return n.size=t.size,n.has=function(r){return t.has(r)},n.get=function(n,i){var o=t.get(n,_);return o===_?i:r.call(e,o,n,t)},n.__iterateUncached=function(n,i){var o=this;return t.__iterate(function(t,i,u){return!1!==n(r.call(e,t,i,u),i,o)},i)},n.__iteratorUncached=function(n,i){var o=t.__iterator(2,i);return new H(function(){var i=o.next();if(i.done)return i;var u=i.value,s=u[0];return J(n,s,r.call(e,u[1],s,t),i)})},n}function tC(t,r){var e=this,n=tF(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var r=tT(t);return r.reverse=function(){return t.flip()},r}),n.get=function(e,n){return t.get(r?e:-1-e,n)},n.has=function(e){return t.has(r?e:-1-e)},n.includes=function(r){return t.includes(r)},n.cacheResult=tG,n.__iterate=function(e,n){var i=this,o=0;return n&&d(t),t.__iterate(function(t,u){return e(t,r?u:n?i.size-++o:o++,i)},!n)},n.__iterator=function(n,i){var o=0;i&&d(t);var u=t.__iterator(2,!i);return new H(function(){var t=u.next();if(t.done)return t;var s=t.value;return J(n,r?s[0]:i?e.size-++o:o++,s[1],t)})},n}function tL(t,r,e,n){var i=tF(t);return n&&(i.has=function(n){var i=t.get(n,_);return i!==_&&!!r.call(e,i,n,t)},i.get=function(n,i){var o=t.get(n,_);return o!==_&&r.call(e,o,n,t)?o:i}),i.__iterateUncached=function(i,o){var u=this,s=0;return t.__iterate(function(t,o,a){if(r.call(e,t,o,a))return s++,i(t,n?o:s-1,u)},o),s},i.__iteratorUncached=function(i,o){var u=t.__iterator(2,o),s=0;return new H(function(){for(;;){var o=u.next();if(o.done)return o;var a=o.value,c=a[0],f=a[1];if(r.call(e,f,c,t))return J(i,n?c:s++,f,o)}})},i}function tB(t,r,e,n){var i,o=t.size;if(w(r,e,o))return t;if(void 0===o&&(r<0||e<0))return tB(t.toSeq().cacheResult(),r,e,n);var u=z(r,o,0),s=z(e,o,o)-u;s==s&&(i=s<0?0:s);var a=tF(t);return a.size=0===i?i:t.size&&i||void 0,!n&&U(t)&&i>=0&&(a.get=function(r,e){return(r=g(this,r))>=0&&r<i?t.get(r+u,e):e}),a.__iterateUncached=function(r,e){var o=this;if(0===i)return 0;if(e)return this.cacheResult().__iterate(r,e);var s=0,a=!0,c=0;return t.__iterate(function(t,e){if(!(a&&(a=s++<u)))return c++,!1!==r(t,n?e:c-1,o)&&c!==i}),c},a.__iteratorUncached=function(r,e){if(0!==i&&e)return this.cacheResult().__iterator(r,e);if(0===i)return new H(V);var o=t.__iterator(r,e),s=0,a=0;return new H(function(){for(;s++<u;)o.next();if(++a>i)return V();var t=o.next();return n||1===r||t.done?t:0===r?J(r,a-1,void 0,t):J(r,a-1,t.value[1],t)})},a}function tP(t,r,e,n){var i=tF(t);return i.__iterateUncached=function(i,o){var u=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,a=0;return t.__iterate(function(t,o,c){if(!(s&&(s=r.call(e,t,o,c))))return a++,i(t,n?o:a-1,u)}),a},i.__iteratorUncached=function(i,o){var u=this;if(o)return this.cacheResult().__iterator(i,o);var s=t.__iterator(2,o),a=!0,c=0;return new H(function(){do{if((t=s.next()).done){if(n||1===i)return t;if(0===i)return J(i,c++,void 0,t);return J(i,c++,t.value[1],t)}var t,o,f,h=t.value;o=h[0],f=h[1],a&&(a=r.call(e,f,o,u))}while(a);return 2===i?t:J(i,o,f,t)})},i}function tW(t,r,e){var n=tF(t);return n.__iterateUncached=function(i,o){if(o)return this.cacheResult().__iterate(i,o);var u=0,s=!1;return function t(a,c){a.__iterate(function(o,a){return(!r||c<r)&&I(o)?t(o,c+1):(u++,!1===i(o,e?a:u-1,n)&&(s=!0)),!s},o)}(t,0),u},n.__iteratorUncached=function(n,i){if(i)return this.cacheResult().__iterator(n,i);var o=t.__iterator(n,i),u=[],s=0;return new H(function(){for(;o;){var t=o.next();if(!1!==t.done){o=u.pop();continue}var a=t.value;if(2===n&&(a=a[1]),!((!r||u.length<r)&&I(a)))return e?t:J(n,s++,a,t);u.push(o),o=a.__iterator(n,i)}return V()})},n}function tN(t,r,e){r||(r=tZ);var n=E(t),i=0,o=t.toSeq().map(function(r,n){return[n,r,i++,e?e(r,n,t):r]}).valueSeq().toArray();return o.sort(function(t,e){return r(t[3],e[3])||t[2]-e[2]}).forEach(n?function(t,r){o[r].length=2}:function(t,r){o[r]=t[1]}),n?tt(o):j(t)?tr(o):te(o)}function tH(t,r,e){if(r||(r=tZ),e){var n=t.toSeq().map(function(r,n){return[r,e(r,n,t)]}).reduce(function(t,e){return tJ(r,t[1],e[1])?e:t});return n&&n[0]}return t.reduce(function(t,e){return tJ(r,t,e)?e:t})}function tJ(t,r,e){var n=t(e,r);return 0===n&&e!==r&&(null==e||e!=e)||n>0}function tV(t,r,e,n){var i=tF(t),o=new tn(e).map(function(t){return t.size});return i.size=n?o.max():o.min(),i.__iterate=function(t,r){for(var e,n=this.__iterator(1,r),i=0;!(e=n.next()).done&&!1!==t(e.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=e.map(function(t){return t=D(t),X(i?t.reverse():t)}),u=0,s=!1;return new H(function(){var e;return(s||(e=o.map(function(t){return t.next()}),s=n?e.every(function(t){return t.done}):e.some(function(t){return t.done})),s)?V():J(t,u++,r.apply(null,e.map(function(t){return t.value})))})},i}function tY(t,r){return t===r?t:U(t)?r:t.constructor(r)}function tQ(t){if(t!==Object(t))throw TypeError("Expected [K, V] tuple: "+t)}function tX(t){return E(t)?k:j(t)?A:x}function tF(t){return Object.create((E(t)?tt:j(t)?tr:te).prototype)}function tG(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):$.prototype.cacheResult.call(this)}function tZ(t,r){return void 0===t&&void 0===r?0:void 0===t?1:void 0===r?-1:t>r?1:t<r?-1:0}function t$(t,r){r=r||0;for(var e=Math.max(0,t.length-r),n=Array(e),i=0;i<e;i++)n[i]=t[i+r];return n}function t0(t,r){if(!t)throw Error(r)}function t1(t){t0(t!==1/0,"Cannot perform this action with an infinite size.")}function t2(t){if(Z(t)&&"string"!=typeof t)return t;if(B(t))return t.toArray();throw TypeError("Invalid keyPath: expected Ordered Collection or Array: "+t)}tx.prototype.cacheResult=tA.prototype.cacheResult=tR.prototype.cacheResult=tU.prototype.cacheResult=tG;var t5=Object.prototype.toString;function t3(t){if(!t||"object"!=typeof t||"[object Object]"!==t5.call(t))return!1;var r=Object.getPrototypeOf(t);if(null===r)return!0;for(var e=r,n=Object.getPrototypeOf(r);null!==n;)n=Object.getPrototypeOf(e=n);return e===r}function t6(t){return"object"==typeof t&&(C(t)||Array.isArray(t)||t3(t))}function t9(t){try{return"string"==typeof t?JSON.stringify(t):String(t)}catch(r){return JSON.stringify(t)}}function t4(t,r){return C(t)?t.has(r):t6(t)&&G.call(t,r)}function t8(t,r,e){return C(t)?t.get(r,e):t4(t,r)?"function"==typeof t.get?t.get(r):t[r]:e}function t7(t){if(Array.isArray(t))return t$(t);var r={};for(var e in t)G.call(t,e)&&(r[e]=t[e]);return r}function rt(t,r){if(!t6(t))throw TypeError("Cannot update non-data-structure value: "+t);if(C(t)){if(!t.remove)throw TypeError("Cannot update immutable value without .remove() method: "+t);return t.remove(r)}if(!G.call(t,r))return t;var e=t7(t);return Array.isArray(e)?e.splice(r,1):delete e[r],e}function rr(t,r,e){if(!t6(t))throw TypeError("Cannot update non-data-structure value: "+t);if(C(t)){if(!t.set)throw TypeError("Cannot update immutable value without .set() method: "+t);return t.set(r,e)}if(G.call(t,r)&&e===t[r])return t;var n=t7(t);return n[r]=e,n}function re(t,r,e,n){n||(n=e,e=void 0);var i=function t(r,e,n,i,o,u){var s=e===_;if(i===n.length){var a=s?o:e,c=u(a);return c===a?e:c}if(!s&&!t6(e))throw TypeError("Cannot update within non-data-structure value in path ["+n.slice(0,i).map(t9)+"]: "+e);var f=n[i],h=s?_:t8(e,f,_),p=t(h===_?r:C(h),h,n,i+1,o,u);return p===h?e:p===_?rt(e,f):rr(s?r?rC():{}:e,f,p)}(C(t),t,t2(r),0,e,n);return i===_?e:i}function rn(t,r,e){return re(t,r,_,function(){return e})}function ri(t,r){return rn(this,t,r)}function ro(t,r){return re(t,r,function(){return _})}function ru(t){return ro(this,t)}function rs(t,r,e,n){return re(t,[r],e,n)}function ra(t,r,e){return 1==arguments.length?t(this):rs(this,t,r,e)}function rc(t,r,e){return re(this,t,r,e)}function rf(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];return rp(this,t)}function rh(t){for(var r=[],e=arguments.length-1;e-- >0;)r[e]=arguments[e+1];if("function"!=typeof t)throw TypeError("Invalid merger function: "+t);return rp(this,r,t)}function rp(t,r,e){for(var n=[],i=0;i<r.length;i++){var o=k(r[i]);0!==o.size&&n.push(o)}return 0===n.length?t:0!==t.toSeq().size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(r,n){rs(t,n,_,function(t){return t===_?r:e(t,r,n)})}:function(r,e){t.set(e,r)},i=0;i<n.length;i++)n[i].forEach(r)}):t.constructor(n[0])}function r_(t){for(var r=[],e=arguments.length-1;e-- >0;)r[e]=arguments[e+1];return rg(t,r)}function rl(t,r){for(var e=[],n=arguments.length-2;n-- >0;)e[n]=arguments[n+2];return rg(r,e,t)}function rv(t){for(var r=[],e=arguments.length-1;e-- >0;)r[e]=arguments[e+1];return rd(t,r)}function ry(t,r){for(var e=[],n=arguments.length-2;n-- >0;)e[n]=arguments[n+2];return rd(r,e,t)}function rd(t,r,e){return rg(t,r,function t(r,n,i){var o,u;return t6(r)&&t6(n)&&(o=$(r),u=$(n),j(o)===j(u)&&E(o)===E(u))?rg(r,[n],t):e?e(r,n,i):n})}function rg(t,r,e){if(!t6(t))throw TypeError("Cannot merge into non-data-structure value: "+t);if(C(t))return"function"==typeof e&&t.mergeWith?t.mergeWith.apply(t,[e].concat(r)):t.merge?t.merge.apply(t,r):t.concat.apply(t,r);for(var n=Array.isArray(t),i=t,o=n?A:k,u=n?function(r){i===t&&(i=t7(i)),i.push(r)}:function(r,n){var o=G.call(i,n),u=o&&e?e(i[n],r,n):r;o&&u===i[n]||(i===t&&(i=t7(i)),i[n]=u)},s=0;s<r.length;s++)o(r[s]).forEach(u);return i}function rm(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];return rd(this,t)}function rw(t){for(var r=[],e=arguments.length-1;e-- >0;)r[e]=arguments[e+1];return rd(this,r,t)}function rz(t){for(var r=[],e=arguments.length-1;e-- >0;)r[e]=arguments[e+1];return re(this,t,rC(),function(t){return rg(t,r)})}function rS(t){for(var r=[],e=arguments.length-1;e-- >0;)r[e]=arguments[e+1];return re(this,t,rC(),function(t){return rd(t,r)})}function rb(t){var r=this.asMutable();return t(r),r.wasAltered()?r.__ensureOwner(this.__ownerID):this}function rI(){return this.__ownerID?this:this.__ensureOwner(new y)}function rO(){return this.__ensureOwner()}function rE(){return this.__altered}var rq=function(t){function r(r){return null==r?rC():th(r)&&!B(r)?r:rC().withMutations(function(e){var n=t(r);t1(n.size),n.forEach(function(t,r){return e.set(r,t)})})}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return this.__toString("Map {","}")},r.prototype.get=function(t,r){return this._root?this._root.get(0,void 0,t,r):r},r.prototype.set=function(t,r){return rL(this,t,r)},r.prototype.remove=function(t){return rL(this,t,_)},r.prototype.deleteAll=function(t){var r=D(t);return 0===r.size?this:this.withMutations(function(t){r.forEach(function(r){return t.remove(r)})})},r.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):rC()},r.prototype.sort=function(t){return r8(tN(this,t))},r.prototype.sortBy=function(t,r){return r8(tN(this,r,t))},r.prototype.map=function(t,r){var e=this;return this.withMutations(function(n){n.forEach(function(i,o){n.set(o,t.call(r,i,o,e))})})},r.prototype.__iterator=function(t,r){return new rR(this,t,r)},r.prototype.__iterate=function(t,r){var e=this,n=0;return this._root&&this._root.iterate(function(r){return n++,t(r[1],r[0],e)},r),n},r.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?rK(this.size,this._root,t,this.__hash):0===this.size?rC():(this.__ownerID=t,this.__altered=!1,this)},r}(k);rq.isMap=th;var rj=rq.prototype;rj[tf]=!0,rj[p]=rj.remove,rj.removeAll=rj.deleteAll,rj.setIn=ri,rj.removeIn=rj.deleteIn=ru,rj.update=ra,rj.updateIn=rc,rj.merge=rj.concat=rf,rj.mergeWith=rh,rj.mergeDeep=rm,rj.mergeDeepWith=rw,rj.mergeIn=rz,rj.mergeDeepIn=rS,rj.withMutations=rb,rj.wasAltered=rE,rj.asImmutable=rO,rj["@@transducer/init"]=rj.asMutable=rI,rj["@@transducer/step"]=function(t,r){return t.set(r[0],r[1])},rj["@@transducer/result"]=function(t){return t.asImmutable()};var rM=function(t,r){this.ownerID=t,this.entries=r};rM.prototype.get=function(t,r,e,n){for(var i=this.entries,o=0,u=i.length;o<u;o++)if(tl(e,i[o][0]))return i[o][1];return n},rM.prototype.update=function(t,r,e,n,i,o,u){for(var s=i===_,a=this.entries,c=0,f=a.length;c<f&&!tl(n,a[c][0]);c++);var h=c<f;if(h?a[c][1]===i:s)return this;if(v(u),(s||!h)&&v(o),!s||1!==a.length){if(!h&&!s&&a.length>=rJ)return function(t,r,e,n){t||(t=new y);for(var i=new rx(t,tg(e),[e,n]),o=0;o<r.length;o++){var u=r[o];i=i.update(t,0,void 0,u[0],u[1])}return i}(t,a,n,i);var p=t&&t===this.ownerID,l=p?a:t$(a);return(h?s?c===f-1?l.pop():l[c]=l.pop():l[c]=[n,i]:l.push([n,i]),p)?(this.entries=l,this):new rM(t,l)}};var rD=function(t,r,e){this.ownerID=t,this.bitmap=r,this.nodes=e};rD.prototype.get=function(t,r,e,n){void 0===r&&(r=tg(e));var i=1<<((0===t?r:r>>>t)&31),o=this.bitmap;return(o&i)==0?n:this.nodes[rN(o&i-1)].get(t+5,r,e,n)},rD.prototype.update=function(t,r,e,n,i,o,u){void 0===e&&(e=tg(n));var s=(0===r?e:e>>>r)&31,a=1<<s,c=this.bitmap,f=(c&a)!=0;if(!f&&i===_)return this;var h=rN(c&a-1),p=this.nodes,l=f?p[h]:void 0,v=rB(l,t,r+5,e,n,i,o,u);if(v===l)return this;if(!f&&v&&p.length>=rV)return function(t,r,e,n,i){for(var o=0,u=Array(32),s=0;0!==e;s++,e>>>=1)u[s]=1&e?r[o++]:void 0;return u[n]=i,new rk(t,o+1,u)}(t,p,c,s,v);if(f&&!v&&2===p.length&&rP(p[1^h]))return p[1^h];if(f&&v&&1===p.length&&rP(v))return v;var y=t&&t===this.ownerID,d=f?v?c:c^a:c|a,g=f?v?rH(p,h,v,y):function(t,r,e){var n=t.length-1;if(e&&r===n)return t.pop(),t;for(var i=Array(n),o=0,u=0;u<n;u++)u===r&&(o=1),i[u]=t[u+o];return i}(p,h,y):function(t,r,e,n){var i=t.length+1;if(n&&r+1===i)return t[r]=e,t;for(var o=Array(i),u=0,s=0;s<i;s++)s===r?(o[s]=e,u=-1):o[s]=t[s+u];return o}(p,h,v,y);return y?(this.bitmap=d,this.nodes=g,this):new rD(t,d,g)};var rk=function(t,r,e){this.ownerID=t,this.count=r,this.nodes=e};rk.prototype.get=function(t,r,e,n){void 0===r&&(r=tg(e));var i=(0===t?r:r>>>t)&31,o=this.nodes[i];return o?o.get(t+5,r,e,n):n},rk.prototype.update=function(t,r,e,n,i,o,u){void 0===e&&(e=tg(n));var s=(0===r?e:e>>>r)&31,a=i===_,c=this.nodes,f=c[s];if(a&&!f)return this;var h=rB(f,t,r+5,e,n,i,o,u);if(h===f)return this;var p=this.count;if(f){if(!h&&--p<rY)return function(t,r,e,n){for(var i=0,o=0,u=Array(e),s=0,a=1,c=r.length;s<c;s++,a<<=1){var f=r[s];void 0!==f&&s!==n&&(i|=a,u[o++]=f)}return new rD(t,i,u)}(t,c,p,s)}else p++;var l=t&&t===this.ownerID,v=rH(c,s,h,l);return l?(this.count=p,this.nodes=v,this):new rk(t,p,v)};var rA=function(t,r,e){this.ownerID=t,this.keyHash=r,this.entries=e};rA.prototype.get=function(t,r,e,n){for(var i=this.entries,o=0,u=i.length;o<u;o++)if(tl(e,i[o][0]))return i[o][1];return n},rA.prototype.update=function(t,r,e,n,i,o,u){void 0===e&&(e=tg(n));var s=i===_;if(e!==this.keyHash)return s?this:(v(u),v(o),rW(this,t,r,e,[n,i]));for(var a=this.entries,c=0,f=a.length;c<f&&!tl(n,a[c][0]);c++);var h=c<f;if(h?a[c][1]===i:s)return this;if(v(u),(s||!h)&&v(o),s&&2===f)return new rx(t,this.keyHash,a[1^c]);var p=t&&t===this.ownerID,l=p?a:t$(a);return(h?s?c===f-1?l.pop():l[c]=l.pop():l[c]=[n,i]:l.push([n,i]),p)?(this.entries=l,this):new rA(t,this.keyHash,l)};var rx=function(t,r,e){this.ownerID=t,this.keyHash=r,this.entry=e};rx.prototype.get=function(t,r,e,n){return tl(e,this.entry[0])?this.entry[1]:n},rx.prototype.update=function(t,r,e,n,i,o,u){var s=i===_,a=tl(n,this.entry[0]);if(a?i===this.entry[1]:s)return this;if(v(u),s){v(o);return}return a?t&&t===this.ownerID?(this.entry[1]=i,this):new rx(t,this.keyHash,[n,i]):(v(o),rW(this,t,r,tg(n),[n,i]))},rM.prototype.iterate=rA.prototype.iterate=function(t,r){for(var e=this.entries,n=0,i=e.length-1;n<=i;n++)if(!1===t(e[r?i-n:n]))return!1},rD.prototype.iterate=rk.prototype.iterate=function(t,r){for(var e=this.nodes,n=0,i=e.length-1;n<=i;n++){var o=e[r?i-n:n];if(o&&!1===o.iterate(t,r))return!1}},rx.prototype.iterate=function(t,r){return t(this.entry)};var rR=function(t){function r(t,r,e){this._type=r,this._reverse=e,this._stack=t._root&&rT(t._root)}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.next=function(){for(var t=this._type,r=this._stack;r;){var e=r.node,n=r.index++,i=void 0;if(e.entry){if(0===n)return rU(t,e.entry)}else if(e.entries){if(n<=(i=e.entries.length-1))return rU(t,e.entries[this._reverse?i-n:n])}else if(n<=(i=e.nodes.length-1)){var o=e.nodes[this._reverse?i-n:n];if(o){if(o.entry)return rU(t,o.entry);r=this._stack=rT(o,r)}continue}r=this._stack=this._stack.__prev}return V()},r}(H);function rU(t,r){return J(t,r[0],r[1])}function rT(t,r){return{node:t,index:0,__prev:r}}function rK(t,r,e,n){var i=Object.create(rj);return i.size=t,i._root=r,i.__ownerID=e,i.__hash=n,i.__altered=!1,i}function rC(){return o||(o=rK(0))}function rL(t,r,e){if(t._root){var n,i,o=l(),u=l();if(n=rB(t._root,t.__ownerID,0,void 0,r,e,o,u),!u.value)return t;i=t.size+(o.value?e===_?-1:1:0)}else{if(e===_)return t;i=1,n=new rM(t.__ownerID,[[r,e]])}return t.__ownerID?(t.size=i,t._root=n,t.__hash=void 0,t.__altered=!0,t):n?rK(i,n):rC()}function rB(t,r,e,n,i,o,u,s){return t?t.update(r,e,n,i,o,u,s):o===_?t:(v(s),v(u),new rx(r,n,[i,o]))}function rP(t){return t.constructor===rx||t.constructor===rA}function rW(t,r,e,n,i){if(t.keyHash===n)return new rA(r,n,[t.entry,i]);var o,u=(0===e?t.keyHash:t.keyHash>>>e)&31,s=(0===e?n:n>>>e)&31,a=u===s?[rW(t,r,e+5,n,i)]:(o=new rx(r,n,i),u<s?[t,o]:[o,t]);return new rD(r,1<<u|1<<s,a)}function rN(t){return t-=t>>1&1431655765,t=(t=(858993459&t)+(t>>2&858993459))+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function rH(t,r,e,n){var i=n?t:t$(t);return i[r]=e,i}var rJ=8,rV=16,rY=8,rQ="@@__IMMUTABLE_LIST__@@";function rX(t){return!!(t&&t[rQ])}var rF=function(t){function r(r){var e=r2();if(null==r)return e;if(rX(r))return r;var n=t(r),i=n.size;return 0===i?e:(t1(i),i>0&&i<32)?r1(0,i,5,null,new rZ(n.toArray())):e.withMutations(function(t){t.setSize(i),n.forEach(function(r,e){return t.set(e,r)})})}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.of=function(){return this(arguments)},r.prototype.toString=function(){return this.__toString("List [","]")},r.prototype.get=function(t,r){if((t=g(this,t))>=0&&t<this.size){var e=r6(this,t+=this._origin);return e&&e.array[31&t]}return r},r.prototype.set=function(t,r){return function(t,r,e){if((r=g(t,r))!=r)return t;if(r>=t.size||r<0)return t.withMutations(function(t){r<0?r9(t,r).set(0,e):r9(t,0,r+1).set(r,e)});r+=t._origin;var n=t._tail,i=t._root,o=l();return(r>=r4(t._capacity)?n=r5(n,t.__ownerID,0,r,e,o):i=r5(i,t.__ownerID,t._level,r,e,o),o.value)?t.__ownerID?(t._root=i,t._tail=n,t.__hash=void 0,t.__altered=!0,t):r1(t._origin,t._capacity,t._level,i,n):t}(this,t,r)},r.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},r.prototype.insert=function(t,r){return this.splice(t,0,r)},r.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):r2()},r.prototype.push=function(){var t=arguments,r=this.size;return this.withMutations(function(e){r9(e,0,r+t.length);for(var n=0;n<t.length;n++)e.set(r+n,t[n])})},r.prototype.pop=function(){return r9(this,0,-1)},r.prototype.unshift=function(){var t=arguments;return this.withMutations(function(r){r9(r,-t.length);for(var e=0;e<t.length;e++)r.set(e,t[e])})},r.prototype.shift=function(){return r9(this,1)},r.prototype.concat=function(){for(var r=arguments,e=[],n=0;n<arguments.length;n++){var i=r[n],o=t("string"!=typeof i&&Y(i)?i:[i]);0!==o.size&&e.push(o)}return 0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){e.forEach(function(r){return r.forEach(function(r){return t.push(r)})})}):this.constructor(e[0])},r.prototype.setSize=function(t){return r9(this,0,t)},r.prototype.map=function(t,r){var e=this;return this.withMutations(function(n){for(var i=0;i<e.size;i++)n.set(i,t.call(r,n.get(i),i,e))})},r.prototype.slice=function(t,r){var e=this.size;return w(t,r,e)?this:r9(this,z(t,e,0),z(r,e,e))},r.prototype.__iterator=function(t,r){var e=r?this.size:0,n=r0(this,r);return new H(function(){var i=n();return i===r$?V():J(t,r?--e:e++,i)})},r.prototype.__iterate=function(t,r){for(var e,n=r?this.size:0,i=r0(this,r);(e=i())!==r$&&!1!==t(e,r?--n:n++,this););return n},r.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?r1(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):0===this.size?r2():(this.__ownerID=t,this.__altered=!1,this)},r}(A);rF.isList=rX;var rG=rF.prototype;rG[rQ]=!0,rG[p]=rG.remove,rG.merge=rG.concat,rG.setIn=ri,rG.deleteIn=rG.removeIn=ru,rG.update=ra,rG.updateIn=rc,rG.mergeIn=rz,rG.mergeDeepIn=rS,rG.withMutations=rb,rG.wasAltered=rE,rG.asImmutable=rO,rG["@@transducer/init"]=rG.asMutable=rI,rG["@@transducer/step"]=function(t,r){return t.push(r)},rG["@@transducer/result"]=function(t){return t.asImmutable()};var rZ=function(t,r){this.array=t,this.ownerID=r};rZ.prototype.removeBefore=function(t,r,e){if((e&(1<<r+5)-1)==0||0===this.array.length)return this;var n,i=e>>>r&31;if(i>=this.array.length)return new rZ([],t);var o=0===i;if(r>0){var u=this.array[i];if((n=u&&u.removeBefore(t,r-5,e))===u&&o)return this}if(o&&!n)return this;var s=r3(this,t);if(!o)for(var a=0;a<i;a++)s.array[a]=void 0;return n&&(s.array[i]=n),s},rZ.prototype.removeAfter=function(t,r,e){if(e===(r?1<<r+5:32)||0===this.array.length)return this;var n,i=e-1>>>r&31;if(i>=this.array.length)return this;if(r>0){var o=this.array[i];if((n=o&&o.removeAfter(t,r-5,e))===o&&i===this.array.length-1)return this}var u=r3(this,t);return u.array.splice(i+1),n&&(u.array[i]=n),u};var r$={};function r0(t,r){var e=t._origin,n=t._capacity,i=r4(n),o=t._tail;return function t(u,s,a){var c,f,h,p,_,l,v;return 0===s?(c=a===i?o&&o.array:u&&u.array,f=a>e?0:e-a,(h=n-a)>32&&(h=32),function(){if(f===h)return r$;var t=r?--h:f++;return c&&c[t]}):(_=u&&u.array,l=a>e?0:e-a>>s,(v=(n-a>>s)+1)>32&&(v=32),function(){for(;;){if(p){var e=p();if(e!==r$)return e;p=null}if(l===v)return r$;var n=r?--v:l++;p=t(_&&_[n],s-5,a+(n<<s))}})}(t._root,t._level,0)}function r1(t,r,e,n,i,o,u){var s=Object.create(rG);return s.size=r-t,s._origin=t,s._capacity=r,s._level=e,s._root=n,s._tail=i,s.__ownerID=o,s.__hash=u,s.__altered=!1,s}function r2(){return r1(0,0,5)}function r5(t,r,e,n,i,o){var u,s=n>>>e&31,a=t&&s<t.array.length;if(!a&&void 0===i)return t;if(e>0){var c=t&&t.array[s],f=r5(c,r,e-5,n,i,o);return f===c?t:((u=r3(t,r)).array[s]=f,u)}return a&&t.array[s]===i?t:(o&&v(o),u=r3(t,r),void 0===i&&s===u.array.length-1?u.array.pop():u.array[s]=i,u)}function r3(t,r){return r&&t&&r===t.ownerID?t:new rZ(t?t.array.slice():[],r)}function r6(t,r){if(r>=r4(t._capacity))return t._tail;if(r<1<<t._level+5){for(var e=t._root,n=t._level;e&&n>0;)e=e.array[r>>>n&31],n-=5;return e}}function r9(t,r,e){void 0!==r&&(r|=0),void 0!==e&&(e|=0);var n=t.__ownerID||new y,i=t._origin,o=t._capacity,u=i+r,s=void 0===e?o:e<0?o+e:i+e;if(u===i&&s===o)return t;if(u>=s)return t.clear();for(var a=t._level,c=t._root,f=0;u+f<0;)c=new rZ(c&&c.array.length?[void 0,c]:[],n),a+=5,f+=1<<a;f&&(u+=f,i+=f,s+=f,o+=f);for(var h=r4(o),p=r4(s);p>=1<<a+5;)c=new rZ(c&&c.array.length?[c]:[],n),a+=5;var _=t._tail,l=p<h?r6(t,s-1):p>h?new rZ([],n):_;if(_&&p>h&&u<o&&_.array.length){for(var v=c=r3(c,n),d=a;d>5;d-=5){var g=h>>>d&31;v=v.array[g]=r3(v.array[g],n)}v.array[h>>>5&31]=_}if(s<o&&(l=l&&l.removeAfter(n,0,s)),u>=p)u-=p,s-=p,a=5,c=null,l=l&&l.removeBefore(n,0,u);else if(u>i||p<h){for(f=0;c;){var m=u>>>a&31;if(m!==p>>>a&31)break;m&&(f+=(1<<a)*m),a-=5,c=c.array[m]}c&&u>i&&(c=c.removeBefore(n,a,u-f)),c&&p<h&&(c=c.removeAfter(n,a,p-f)),f&&(u-=f,s-=f)}return t.__ownerID?(t.size=s-u,t._origin=u,t._capacity=s,t._level=a,t._root=c,t._tail=l,t.__hash=void 0,t.__altered=!0,t):r1(u,s,a,c,l)}function r4(t){return t<32?0:t-1>>>5<<5}var r8=function(t){function r(t){return null==t?et():tp(t)?t:et().withMutations(function(r){var e=k(t);t1(e.size),e.forEach(function(t,e){return r.set(e,t)})})}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.of=function(){return this(arguments)},r.prototype.toString=function(){return this.__toString("OrderedMap {","}")},r.prototype.get=function(t,r){var e=this._map.get(t);return void 0!==e?this._list.get(e)[1]:r},r.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):et()},r.prototype.set=function(t,r){return er(this,t,r)},r.prototype.remove=function(t){return er(this,t,_)},r.prototype.__iterate=function(t,r){var e=this;return this._list.__iterate(function(r){return r&&t(r[1],r[0],e)},r)},r.prototype.__iterator=function(t,r){return this._list.fromEntrySeq().__iterator(t,r)},r.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var r=this._map.__ensureOwner(t),e=this._list.__ensureOwner(t);return t?r7(r,e,t,this.__hash):0===this.size?et():(this.__ownerID=t,this.__altered=!1,this._map=r,this._list=e,this)},r}(rq);function r7(t,r,e,n){var i=Object.create(r8.prototype);return i.size=t?t.size:0,i._map=t,i._list=r,i.__ownerID=e,i.__hash=n,i.__altered=!1,i}function et(){return u||(u=r7(rC(),r2()))}function er(t,r,e){var n,i,o=t._map,u=t._list,s=o.get(r),a=void 0!==s;if(e===_){if(!a)return t;u.size>=32&&u.size>=2*o.size?(n=(i=u.filter(function(t,r){return void 0!==t&&s!==r})).toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(n.__ownerID=i.__ownerID=t.__ownerID)):(n=o.remove(r),i=s===u.size-1?u.pop():u.set(s,void 0))}else if(a){if(e===u.get(s)[1])return t;n=o,i=u.set(s,[r,e])}else n=o.set(r,u.size),i=u.set(u.size,[r,e]);return t.__ownerID?(t.size=n.size,t._map=n,t._list=i,t.__hash=void 0,t.__altered=!0,t):r7(n,i)}r8.isOrderedMap=tp,r8.prototype[L]=!0,r8.prototype[p]=r8.prototype.remove;var ee="@@__IMMUTABLE_STACK__@@";function en(t){return!!(t&&t[ee])}var ei=function(t){function r(t){return null==t?es():en(t)?t:es().pushAll(t)}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.of=function(){return this(arguments)},r.prototype.toString=function(){return this.__toString("Stack [","]")},r.prototype.get=function(t,r){var e=this._head;for(t=g(this,t);e&&t--;)e=e.next;return e?e.value:r},r.prototype.peek=function(){return this._head&&this._head.value},r.prototype.push=function(){var t=arguments;if(0==arguments.length)return this;for(var r=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:t[n],next:e};return this.__ownerID?(this.size=r,this._head=e,this.__hash=void 0,this.__altered=!0,this):eu(r,e)},r.prototype.pushAll=function(r){if(0===(r=t(r)).size)return this;if(0===this.size&&en(r))return r;t1(r.size);var e=this.size,n=this._head;return(r.__iterate(function(t){e++,n={value:t,next:n}},!0),this.__ownerID)?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):eu(e,n)},r.prototype.pop=function(){return this.slice(1)},r.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):es()},r.prototype.slice=function(r,e){if(w(r,e,this.size))return this;var n,i=z(r,this.size,0);if(z(e,n=this.size,n)!==this.size)return t.prototype.slice.call(this,r,e);for(var o=this.size-i,u=this._head;i--;)u=u.next;return this.__ownerID?(this.size=o,this._head=u,this.__hash=void 0,this.__altered=!0,this):eu(o,u)},r.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?eu(this.size,this._head,t,this.__hash):0===this.size?es():(this.__ownerID=t,this.__altered=!1,this)},r.prototype.__iterate=function(t,r){var e=this;if(r)return new tn(this.toArray()).__iterate(function(r,n){return t(r,n,e)},r);for(var n=0,i=this._head;i&&!1!==t(i.value,n++,this);)i=i.next;return n},r.prototype.__iterator=function(t,r){if(r)return new tn(this.toArray()).__iterator(t,r);var e=0,n=this._head;return new H(function(){if(n){var r=n.value;return n=n.next,J(t,e++,r)}return V()})},r}(A);ei.isStack=en;var eo=ei.prototype;function eu(t,r,e,n){var i=Object.create(eo);return i.size=t,i._head=r,i.__ownerID=e,i.__hash=n,i.__altered=!1,i}function es(){return s||(s=eu(0))}eo[ee]=!0,eo.shift=eo.pop,eo.unshift=eo.push,eo.unshiftAll=eo.pushAll,eo.withMutations=rb,eo.wasAltered=rE,eo.asImmutable=rO,eo["@@transducer/init"]=eo.asMutable=rI,eo["@@transducer/step"]=function(t,r){return t.unshift(r)},eo["@@transducer/result"]=function(t){return t.asImmutable()};var ea="@@__IMMUTABLE_SET__@@";function ec(t){return!!(t&&t[ea])}function ef(t){return ec(t)&&B(t)}function eh(t,r){if(t===r)return!0;if(!I(r)||void 0!==t.size&&void 0!==r.size&&t.size!==r.size||void 0!==t.__hash&&void 0!==r.__hash&&t.__hash!==r.__hash||E(t)!==E(r)||j(t)!==j(r)||B(t)!==B(r))return!1;if(0===t.size&&0===r.size)return!0;var e=!M(t);if(B(t)){var n=t.entries();return r.every(function(t,r){var i=n.next().value;return i&&tl(i[1],t)&&(e||tl(i[0],r))})&&n.next().done}var i=!1;if(void 0===t.size){if(void 0===r.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=r,r=o}}var u=!0,s=r.__iterate(function(r,n){if(e?!t.has(r):i?!tl(r,t.get(n,_)):!tl(t.get(n,_),r))return u=!1,!1});return u&&t.size===s}function ep(t,r){var e=function(e){t.prototype[e]=r[e]};return Object.keys(r).forEach(e),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(r).forEach(e),t}function e_(t){if(!t||"object"!=typeof t)return t;if(!I(t)){if(!t6(t))return t;t=$(t)}if(E(t)){var r={};return t.__iterate(function(t,e){r[e]=e_(t)}),r}var e=[];return t.__iterate(function(t){e.push(e_(t))}),e}var el=function(t){function r(r){return null==r?eg():ec(r)&&!B(r)?r:eg().withMutations(function(e){var n=t(r);t1(n.size),n.forEach(function(t){return e.add(t)})})}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.of=function(){return this(arguments)},r.fromKeys=function(t){return this(k(t).keySeq())},r.intersect=function(t){return(t=D(t).toArray()).length?ev.intersect.apply(r(t.pop()),t):eg()},r.union=function(t){return(t=D(t).toArray()).length?ev.union.apply(r(t.pop()),t):eg()},r.prototype.toString=function(){return this.__toString("Set {","}")},r.prototype.has=function(t){return this._map.has(t)},r.prototype.add=function(t){return ey(this,this._map.set(t,t))},r.prototype.remove=function(t){return ey(this,this._map.remove(t))},r.prototype.clear=function(){return ey(this,this._map.clear())},r.prototype.map=function(t,r){var e=this,n=!1,i=ey(this,this._map.mapEntries(function(i){var o=i[1],u=t.call(r,o,o,e);return u!==o&&(n=!0),[u,u]},r));return n?i:this},r.prototype.union=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];return 0===(r=r.filter(function(t){return 0!==t.size})).length?this:0!==this.size||this.__ownerID||1!==r.length?this.withMutations(function(e){for(var n=0;n<r.length;n++)"string"==typeof r[n]?e.add(r[n]):t(r[n]).forEach(function(t){return e.add(t)})}):this.constructor(r[0])},r.prototype.intersect=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(0===r.length)return this;r=r.map(function(r){return t(r)});var n=[];return this.forEach(function(t){r.every(function(r){return r.includes(t)})||n.push(t)}),this.withMutations(function(t){n.forEach(function(r){t.remove(r)})})},r.prototype.subtract=function(){for(var r=[],e=arguments.length;e--;)r[e]=arguments[e];if(0===r.length)return this;r=r.map(function(r){return t(r)});var n=[];return this.forEach(function(t){r.some(function(r){return r.includes(t)})&&n.push(t)}),this.withMutations(function(t){n.forEach(function(r){t.remove(r)})})},r.prototype.sort=function(t){return eT(tN(this,t))},r.prototype.sortBy=function(t,r){return eT(tN(this,r,t))},r.prototype.wasAltered=function(){return this._map.wasAltered()},r.prototype.__iterate=function(t,r){var e=this;return this._map.__iterate(function(r){return t(r,r,e)},r)},r.prototype.__iterator=function(t,r){return this._map.__iterator(t,r)},r.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var r=this._map.__ensureOwner(t);return t?this.__make(r,t):0===this.size?this.__empty():(this.__ownerID=t,this._map=r,this)},r}(x);el.isSet=ec;var ev=el.prototype;function ey(t,r){return t.__ownerID?(t.size=r.size,t._map=r,t):r===t._map?t:0===r.size?t.__empty():t.__make(r)}function ed(t,r){var e=Object.create(ev);return e.size=t?t.size:0,e._map=t,e.__ownerID=r,e}function eg(){return a||(a=ed(rC()))}ev[ea]=!0,ev[p]=ev.remove,ev.merge=ev.concat=ev.union,ev.withMutations=rb,ev.asImmutable=rO,ev["@@transducer/init"]=ev.asMutable=rI,ev["@@transducer/step"]=function(t,r){return t.add(r)},ev["@@transducer/result"]=function(t){return t.asImmutable()},ev.__empty=eg,ev.__make=ed;var em=function(t){function r(t,e,n){if(void 0===n&&(n=1),!(this instanceof r))return new r(t,e,n);if(t0(0!==n,"Cannot step a Range by 0"),t0(void 0!==t,"You must define a start value when using Range"),t0(void 0!==e,"You must define an end value when using Range"),n=Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(c)return c;c=this}}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},r.prototype.get=function(t,r){return this.has(t)?this._start+g(this,t)*this._step:r},r.prototype.includes=function(t){var r=(t-this._start)/this._step;return r>=0&&r<this.size&&r===Math.floor(r)},r.prototype.slice=function(t,e){var n;return w(t,e,this.size)?this:(t=z(t,this.size,0),(e=z(e,n=this.size,n))<=t)?new r(0,0):new r(this.get(t,this._end),this.get(e,this._end),this._step)},r.prototype.indexOf=function(t){var r=t-this._start;if(r%this._step==0){var e=r/this._step;if(e>=0&&e<this.size)return e}return -1},r.prototype.lastIndexOf=function(t){return this.indexOf(t)},r.prototype.__iterate=function(t,r){for(var e=this.size,n=this._step,i=r?this._start+(e-1)*n:this._start,o=0;o!==e&&!1!==t(i,r?e-++o:o++,this);)i+=r?-n:n;return o},r.prototype.__iterator=function(t,r){var e=this.size,n=this._step,i=r?this._start+(e-1)*n:this._start,o=0;return new H(function(){if(o===e)return V();var u=i;return i+=r?-n:n,J(t,r?e-++o:o++,u)})},r.prototype.equals=function(t){return t instanceof r?this._start===t._start&&this._end===t._end&&this._step===t._step:eh(this,t)},r}(tr);function ew(t,r,e){for(var n=t2(r),i=0;i!==n.length;)if((t=t8(t,n[i++],_))===_)return e;return t}function ez(t,r){return ew(this,t,r)}function eS(t,r){return ew(t,r,_)!==_}function eb(){t1(this.size);var t={};return this.__iterate(function(r,e){t[e]=r}),t}D.Iterator=H,ep(D,{toArray:function(){t1(this.size);var t=Array(this.size||0),r=E(this),e=0;return this.__iterate(function(n,i){t[e++]=r?[i,n]:n}),t},toIndexedSeq:function(){return new tx(this)},toJS:function(){return e_(this)},toKeyedSeq:function(){return new tA(this,!0)},toMap:function(){return rq(this.toKeyedSeq())},toObject:eb,toOrderedMap:function(){return r8(this.toKeyedSeq())},toOrderedSet:function(){return eT(E(this)?this.valueSeq():this)},toSet:function(){return el(E(this)?this.valueSeq():this)},toSetSeq:function(){return new tR(this)},toSeq:function(){return j(this)?this.toIndexedSeq():E(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return ei(E(this)?this.valueSeq():this)},toList:function(){return rF(E(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(t,r){return 0===this.size?t+r:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+r},concat:function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];return tY(this,function(t,r){var e=E(t),n=[t].concat(r).map(function(t){return I(t)?e&&(t=k(t)):t=e?ts(t):ta(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===n.length)return t;if(1===n.length){var i=n[0];if(i===t||e&&E(i)||j(t)&&j(i))return i}var o=new tn(n);return e?o=o.toKeyedSeq():j(t)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=n.reduce(function(t,r){if(void 0!==t){var e=r.size;if(void 0!==e)return t+e}},0),o}(this,t))},includes:function(t){return this.some(function(r){return tl(r,t)})},entries:function(){return this.__iterator(2)},every:function(t,r){t1(this.size);var e=!0;return this.__iterate(function(n,i,o){if(!t.call(r,n,i,o))return e=!1,!1}),e},filter:function(t,r){return tY(this,tL(this,t,r,!0))},partition:function(t,r){return function(t,r,e){var n=E(t),i=[[],[]];t.__iterate(function(o,u){i[r.call(e,o,u,t)?1:0].push(n?[u,o]:o)});var o=tX(t);return i.map(function(r){return tY(t,o(r))})}(this,t,r)},find:function(t,r,e){var n=this.findEntry(t,r);return n?n[1]:e},forEach:function(t,r){return t1(this.size),this.__iterate(r?t.bind(r):t)},join:function(t){t1(this.size),t=void 0!==t?""+t:",";var r="",e=!0;return this.__iterate(function(n){e?e=!1:r+=t,r+=null!=n?n.toString():""}),r},keys:function(){return this.__iterator(0)},map:function(t,r){return tY(this,tK(this,t,r))},reduce:function(t,r,e){return ej(this,t,r,e,arguments.length<2,!1)},reduceRight:function(t,r,e){return ej(this,t,r,e,arguments.length<2,!0)},reverse:function(){return tY(this,tC(this,!0))},slice:function(t,r){return tY(this,tB(this,t,r,!0))},some:function(t,r){t1(this.size);var e=!1;return this.__iterate(function(n,i,o){if(t.call(r,n,i,o))return e=!0,!1}),e},sort:function(t){return tY(this,tN(this,t))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,r){return d(t?this.toSeq().filter(t,r):this)},countBy:function(t,r){var e,n;return e=this,n=rq().asMutable(),e.__iterate(function(i,o){n.update(t.call(r,i,o,e),0,function(t){return t+1})}),n.asImmutable()},equals:function(t){return eh(this,t)},entrySeq:function(){var t=this;if(t._cache)return new tn(t._cache);var r=t.toSeq().map(eD).toIndexedSeq();return r.fromEntrySeq=function(){return t.toSeq()},r},filterNot:function(t,r){return this.filter(ek(t),r)},findEntry:function(t,r,e){var n=e;return this.__iterate(function(e,i,o){if(t.call(r,e,i,o))return n=[i,e],!1}),n},findKey:function(t,r){var e=this.findEntry(t,r);return e&&e[0]},findLast:function(t,r,e){return this.toKeyedSeq().reverse().find(t,r,e)},findLastEntry:function(t,r,e){return this.toKeyedSeq().reverse().findEntry(t,r,e)},findLastKey:function(t,r){return this.toKeyedSeq().reverse().findKey(t,r)},first:function(t){return this.find(m,null,t)},flatMap:function(t,r){var e,n;return tY(this,(e=this,n=tX(e),e.toSeq().map(function(i,o){return n(t.call(r,i,o,e))}).flatten(!0)))},flatten:function(t){return tY(this,tW(this,t,!0))},fromEntrySeq:function(){return new tU(this)},get:function(t,r){return this.find(function(r,e){return tl(e,t)},void 0,r)},getIn:ez,groupBy:function(t,r){return function(t,r,e){var n=E(t),i=(B(t)?r8():rq()).asMutable();t.__iterate(function(o,u){i.update(r.call(e,o,u,t),function(t){return(t=t||[]).push(n?[u,o]:o),t})});var o=tX(t);return i.map(function(r){return tY(t,o(r))}).asImmutable()}(this,t,r)},has:function(t){return this.get(t,_)!==_},hasIn:function(t){return eS(this,t)},isSubset:function(t){return t="function"==typeof t.includes?t:D(t),this.every(function(r){return t.includes(r)})},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:D(t)).isSubset(this)},keyOf:function(t){return this.findKey(function(r){return tl(r,t)})},keySeq:function(){return this.toSeq().map(eM).toIndexedSeq()},last:function(t){return this.toSeq().reverse().first(t)},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return tH(this,t)},maxBy:function(t,r){return tH(this,r,t)},min:function(t){return tH(this,t?eA(t):eR)},minBy:function(t,r){return tH(this,r?eA(r):eR,t)},rest:function(){return this.slice(1)},skip:function(t){return 0===t?this:this.slice(Math.max(0,t))},skipLast:function(t){return 0===t?this:this.slice(0,-Math.max(0,t))},skipWhile:function(t,r){return tY(this,tP(this,t,r,!0))},skipUntil:function(t,r){return this.skipWhile(ek(t),r)},sortBy:function(t,r){return tY(this,tN(this,r,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return this.slice(-Math.max(0,t))},takeWhile:function(t,r){var e,n;return tY(this,(e=this,(n=tF(e)).__iterateUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterate(n,i);var u=0;return e.__iterate(function(e,i,s){return t.call(r,e,i,s)&&++u&&n(e,i,o)}),u},n.__iteratorUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterator(n,i);var u=e.__iterator(2,i),s=!0;return new H(function(){if(!s)return V();var e=u.next();if(e.done)return e;var i=e.value,a=i[0],c=i[1];return t.call(r,c,a,o)?2===n?e:J(n,a,c,e):(s=!1,V())})},n))},takeUntil:function(t,r){return this.takeWhile(ek(t),r)},update:function(t){return t(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var r,e,n=B(t),i=E(t),o=n?1:0;return t.__iterate(i?n?function(t,r){o=31*o+eU(tg(t),tg(r))|0}:function(t,r){o=o+eU(tg(t),tg(r))|0}:n?function(t){o=31*o+tg(t)|0}:function(t){o=o+tg(t)|0}),r=t.size,e=tv(e=o,3432918353),e=tv(e<<15|e>>>-15,461845907),e=((e=tv(e<<13|e>>>-13,5))+3864292196|0)^r,e=tv(e^e>>>16,2246822507),e=ty((e=tv(e^e>>>13,3266489909))^e>>>16)}(this))}});var eI=D.prototype;eI[b]=!0,eI[N]=eI.values,eI.toJSON=eI.toArray,eI.__toStringMapper=t9,eI.inspect=eI.toSource=function(){return this.toString()},eI.chain=eI.flatMap,eI.contains=eI.includes,ep(k,{flip:function(){return tY(this,tT(this))},mapEntries:function(t,r){var e=this,n=0;return tY(this,this.toSeq().map(function(i,o){return t.call(r,[o,i],n++,e)}).fromEntrySeq())},mapKeys:function(t,r){var e=this;return tY(this,this.toSeq().flip().map(function(n,i){return t.call(r,n,i,e)}).flip())}});var eO=k.prototype;eO[O]=!0,eO[N]=eI.entries,eO.toJSON=eb,eO.__toStringMapper=function(t,r){return t9(r)+": "+t9(t)},ep(A,{toKeyedSeq:function(){return new tA(this,!1)},filter:function(t,r){return tY(this,tL(this,t,r,!1))},findIndex:function(t,r){var e=this.findEntry(t,r);return e?e[0]:-1},indexOf:function(t){var r=this.keyOf(t);return void 0===r?-1:r},lastIndexOf:function(t){var r=this.lastKeyOf(t);return void 0===r?-1:r},reverse:function(){return tY(this,tC(this,!1))},slice:function(t,r){return tY(this,tB(this,t,r,!1))},splice:function(t,r){var e=arguments.length;if(r=Math.max(r||0,0),0===e||2===e&&!r)return this;t=z(t,t<0?this.count():this.size,0);var n=this.slice(0,t);return tY(this,1===e?n:n.concat(t$(arguments,2),this.slice(t+r)))},findLastIndex:function(t,r){var e=this.findLastEntry(t,r);return e?e[0]:-1},first:function(t){return this.get(0,t)},flatten:function(t){return tY(this,tW(this,t,!1))},get:function(t,r){return(t=g(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?r:this.find(function(r,e){return e===t},void 0,r)},has:function(t){return(t=g(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){var r,e;return tY(this,(r=this,(e=tF(r)).size=r.size&&2*r.size-1,e.__iterateUncached=function(e,n){var i=this,o=0;return r.__iterate(function(r){return(!o||!1!==e(t,o++,i))&&!1!==e(r,o++,i)},n),o},e.__iteratorUncached=function(e,n){var i,o=r.__iterator(1,n),u=0;return new H(function(){return(!i||u%2)&&(i=o.next()).done?i:u%2?J(e,u++,t):J(e,u++,i.value,i)})},e))},interleave:function(){var t=[this].concat(t$(arguments)),r=tV(this.toSeq(),tr.of,t),e=r.flatten(!0);return r.size&&(e.size=r.size*t.length),tY(this,e)},keySeq:function(){return em(0,this.size)},last:function(t){return this.get(-1,t)},skipWhile:function(t,r){return tY(this,tP(this,t,r,!1))},zip:function(){var t=[this].concat(t$(arguments));return tY(this,tV(this,ex,t))},zipAll:function(){var t=[this].concat(t$(arguments));return tY(this,tV(this,ex,t,!0))},zipWith:function(t){var r=t$(arguments);return r[0]=this,tY(this,tV(this,t,r))}});var eE=A.prototype;eE[q]=!0,eE[L]=!0,ep(x,{get:function(t,r){return this.has(t)?t:r},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}});var eq=x.prototype;function ej(t,r,e,n,i,o){return t1(t.size),t.__iterate(function(t,o,u){i?(i=!1,e=t):e=r.call(n,e,t,o,u)},o),e}function eM(t,r){return r}function eD(t,r){return[r,t]}function ek(t){return function(){return!t.apply(this,arguments)}}function eA(t){return function(){return-t.apply(this,arguments)}}function ex(){return t$(arguments)}function eR(t,r){return t<r?1:t>r?-1:0}function eU(t,r){return t^r+2654435769+(t<<6)+(t>>2)|0}eq.has=eI.includes,eq.contains=eq.includes,eq.keys=eq.values,ep(tt,eO),ep(tr,eE),ep(te,eq);var eT=function(t){function r(t){return null==t?eL():ef(t)?t:eL().withMutations(function(r){var e=x(t);t1(e.size),e.forEach(function(t){return r.add(t)})})}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.of=function(){return this(arguments)},r.fromKeys=function(t){return this(k(t).keySeq())},r.prototype.toString=function(){return this.__toString("OrderedSet {","}")},r}(el);eT.isOrderedSet=ef;var eK=eT.prototype;function eC(t,r){var e=Object.create(eK);return e.size=t?t.size:0,e._map=t,e.__ownerID=r,e}function eL(){return f||(f=eC(et()))}eK[L]=!0,eK.zip=eE.zip,eK.zipWith=eE.zipWith,eK.zipAll=eE.zipAll,eK.__empty=eL,eK.__make=eC;var eB={LeftThenRight:-1,RightThenLeft:1},eP=function(t,r){!function(t){if(K(t))throw Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(C(t))throw Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===t||"object"!=typeof t)throw Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(t);var e,n=function(o){var u=this;if(o instanceof n)return o;if(!(this instanceof n))return new n(o);if(!e){e=!0;var s=Object.keys(t),a=i._indices={};i._name=r,i._keys=s,i._defaultValues=t;for(var c=0;c<s.length;c++){var f=s[c];a[f]=c,i[f]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+eH(this)+' with property "'+f+'" since that property name is part of the Record API.'):function(t,r){try{Object.defineProperty(t,r,{get:function(){return this.get(r)},set:function(t){t0(this.__ownerID,"Cannot set on an immutable record."),this.set(r,t)}})}catch(t){}}(i,f)}}return this.__ownerID=void 0,this._values=rF().withMutations(function(t){t.setSize(u._keys.length),k(o).forEach(function(r,e){t.set(u._indices[e],r===u._defaultValues[e]?void 0:r)})}),this},i=n.prototype=Object.create(eW);return i.constructor=n,r&&(n.displayName=r),n};eP.prototype.toString=function(){for(var t,r=eH(this)+" { ",e=this._keys,n=0,i=e.length;n!==i;n++)t=e[n],r+=(n?", ":"")+t+": "+t9(this.get(t));return r+" }"},eP.prototype.equals=function(t){return this===t||K(t)&&eJ(this).equals(eJ(t))},eP.prototype.hashCode=function(){return eJ(this).hashCode()},eP.prototype.has=function(t){return this._indices.hasOwnProperty(t)},eP.prototype.get=function(t,r){if(!this.has(t))return r;var e=this._indices[t],n=this._values.get(e);return void 0===n?this._defaultValues[t]:n},eP.prototype.set=function(t,r){if(this.has(t)){var e=this._values.set(this._indices[t],r===this._defaultValues[t]?void 0:r);if(e!==this._values&&!this.__ownerID)return eN(this,e)}return this},eP.prototype.remove=function(t){return this.set(t)},eP.prototype.clear=function(){var t=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:eN(this,t)},eP.prototype.wasAltered=function(){return this._values.wasAltered()},eP.prototype.toSeq=function(){return eJ(this)},eP.prototype.toJS=function(){return e_(this)},eP.prototype.entries=function(){return this.__iterator(2)},eP.prototype.__iterator=function(t,r){return eJ(this).__iterator(t,r)},eP.prototype.__iterate=function(t,r){return eJ(this).__iterate(t,r)},eP.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var r=this._values.__ensureOwner(t);return t?eN(this,r,t):(this.__ownerID=t,this._values=r,this)},eP.isRecord=K,eP.getDescriptiveName=eH;var eW=eP.prototype;function eN(t,r,e){var n=Object.create(Object.getPrototypeOf(t));return n._values=r,n.__ownerID=e,n}function eH(t){return t.constructor.displayName||t.constructor.name||"Record"}function eJ(t){return ts(t._keys.map(function(r){return[r,t.get(r)]}))}eW[T]=!0,eW[p]=eW.remove,eW.deleteIn=eW.removeIn=ru,eW.getIn=ez,eW.hasIn=eI.hasIn,eW.merge=rf,eW.mergeWith=rh,eW.mergeIn=rz,eW.mergeDeep=rm,eW.mergeDeepWith=rw,eW.mergeDeepIn=rS,eW.setIn=ri,eW.update=ra,eW.updateIn=rc,eW.withMutations=rb,eW.asMutable=rI,eW.asImmutable=rO,eW[N]=eW.entries,eW.toJSON=eW.toObject=eI.toObject,eW.inspect=eW.toSource=function(){return this.toString()};var eV=function(t){function r(t,e){if(!(this instanceof r))return new r(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(h)return h;h=this}}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},r.prototype.get=function(t,r){return this.has(t)?this._value:r},r.prototype.includes=function(t){return tl(this._value,t)},r.prototype.slice=function(t,e){var n=this.size;return w(t,e,n)?this:new r(this._value,z(e,n,n)-z(t,n,0))},r.prototype.reverse=function(){return this},r.prototype.indexOf=function(t){return tl(this._value,t)?0:-1},r.prototype.lastIndexOf=function(t){return tl(this._value,t)?this.size:-1},r.prototype.__iterate=function(t,r){for(var e=this.size,n=0;n!==e&&!1!==t(this._value,r?e-++n:n++,this););return n},r.prototype.__iterator=function(t,r){var e=this,n=this.size,i=0;return new H(function(){return i===n?V():J(t,r?n-++i:i++,e._value)})},r.prototype.equals=function(t){return t instanceof r?tl(this._value,t._value):eh(this,t)},r}(tr);function eY(t,r){return function t(r,e,n,i,o,u){if("string"!=typeof n&&!C(n)&&(Z(n)||Y(n)||t3(n))){if(~r.indexOf(n))throw TypeError("Cannot convert circular structure to Immutable");r.push(n),o&&""!==i&&o.push(i);var s=e.call(u,i,$(n).map(function(i,u){return t(r,e,i,u,o,n)}),o&&o.slice());return r.pop(),o&&o.pop(),s}return n}([],r||eQ,t,"",r&&r.length>2?[]:void 0,{"":t})}function eQ(t,r){return j(r)?r.toList():E(r)?r.toMap():r.toSet()}var eX="5.0.3",eF=D}}]);
|