ethyca-fides 2.66.2rc0__py2.py3-none-any.whl → 2.66.3b0__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.

Potentially problematic release.


This version of ethyca-fides might be problematic. Click here for more details.

Files changed (282) hide show
  1. {ethyca_fides-2.66.2rc0.dist-info → ethyca_fides-2.66.3b0.dist-info}/METADATA +1 -1
  2. {ethyca_fides-2.66.2rc0.dist-info → ethyca_fides-2.66.3b0.dist-info}/RECORD +270 -259
  3. fides/_version.py +3 -3
  4. fides/api/alembic/migrations/versions/7e9a2b52f498_adding_masking_secrets.py +60 -0
  5. fides/api/alembic/migrations/versions/a7065df4dcf1_add_finalized_fields_to_privacy_request.py +65 -0
  6. fides/api/alembic/migrations/versions/d0031087eacb_create_manualtaskconditionaldependency_.py +106 -0
  7. fides/api/api/v1/endpoints/dataset_config_endpoints.py +13 -5
  8. fides/api/api/v1/endpoints/drp_endpoints.py +7 -1
  9. fides/api/api/v1/endpoints/privacy_request_endpoints.py +44 -1
  10. fides/api/api/v1/endpoints/user_endpoints.py +83 -7
  11. fides/api/app_setup.py +3 -2
  12. fides/api/common_exceptions.py +4 -0
  13. fides/api/db/base.py +1 -0
  14. fides/api/db/database.py +1 -1
  15. fides/api/graph/execution.py +30 -0
  16. fides/api/graph/traversal.py +1 -1
  17. fides/api/models/manual_task/__init__.py +2 -0
  18. fides/api/models/manual_task/conditional_dependency.py +144 -0
  19. fides/api/models/{manual_task.py → manual_task/manual_task.py} +10 -0
  20. fides/api/models/masking_secret.py +72 -0
  21. fides/api/models/policy.py +23 -0
  22. fides/api/models/privacy_request/execution_log.py +1 -0
  23. fides/api/models/privacy_request/privacy_request.py +31 -13
  24. fides/api/oauth/roles.py +2 -0
  25. fides/api/schemas/application_config.py +11 -1
  26. fides/api/schemas/masking/masking_secrets.py +1 -1
  27. fides/api/schemas/policy.py +1 -0
  28. fides/api/schemas/privacy_request.py +5 -0
  29. fides/api/service/connectors/base_connector.py +1 -0
  30. fides/api/service/connectors/bigquery_connector.py +67 -19
  31. fides/api/service/connectors/dynamodb_connector.py +2 -1
  32. fides/api/service/connectors/fides_connector.py +1 -0
  33. fides/api/service/connectors/http_connector.py +1 -0
  34. fides/api/service/connectors/manual_task_connector.py +1 -0
  35. fides/api/service/connectors/manual_webhook_connector.py +2 -1
  36. fides/api/service/connectors/mongodb_connector.py +1 -0
  37. fides/api/service/connectors/okta_connector.py +1 -0
  38. fides/api/service/connectors/query_configs/bigquery_query_config.py +91 -32
  39. fides/api/service/connectors/rds_mysql_connector.py +1 -0
  40. fides/api/service/connectors/rds_postgres_connector.py +1 -0
  41. fides/api/service/connectors/s3_connector.py +1 -0
  42. fides/api/service/connectors/saas_connector.py +1 -0
  43. fides/api/service/connectors/scylla_connector.py +1 -0
  44. fides/api/service/connectors/sql_connector.py +36 -4
  45. fides/api/service/connectors/website_connector.py +1 -0
  46. fides/api/service/privacy_request/request_runner_service.py +142 -53
  47. fides/api/service/privacy_request/request_service.py +1 -22
  48. fides/api/task/conditional_dependencies/__init__.py +0 -0
  49. fides/api/task/conditional_dependencies/evaluator.py +109 -0
  50. fides/api/task/conditional_dependencies/schemas.py +54 -0
  51. fides/api/task/create_request_tasks.py +1 -1
  52. fides/api/task/deprecated_graph_task.py +24 -6
  53. fides/api/task/execute_request_tasks.py +89 -12
  54. fides/api/task/filter_results.py +1 -1
  55. fides/api/task/graph_task.py +38 -3
  56. fides/api/task/manual/manual_task_address.py +46 -0
  57. fides/api/task/manual/manual_task_graph_task.py +118 -126
  58. fides/api/task/manual/manual_task_utils.py +52 -105
  59. fides/api/util/cache.py +5 -0
  60. fides/api/util/encryption/secrets_util.py +48 -18
  61. fides/common/api/scope_registry.py +3 -0
  62. fides/common/api/v1/urn_registry.py +1 -1
  63. fides/config/execution_settings.py +4 -0
  64. fides/config/utils.py +1 -0
  65. fides/service/privacy_request/privacy_request_service.py +6 -1
  66. fides/ui-build/static/admin/404.html +1 -1
  67. fides/ui-build/static/admin/_next/static/chunks/1817-6f35f58cd08b04ae.js +1 -0
  68. fides/ui-build/static/admin/_next/static/chunks/{203-5a663f465ba26bb4.js → 203-4e777c324a01dbec.js} +1 -1
  69. fides/ui-build/static/admin/_next/static/chunks/431-ade3e312fac3430b.js +1 -0
  70. fides/ui-build/static/admin/_next/static/chunks/6780-a00c87739acc004d.js +1 -0
  71. fides/ui-build/static/admin/_next/static/chunks/{796-329a5f823ec258a5.js → 796-3bdda2a7868464af.js} +1 -1
  72. fides/ui-build/static/admin/_next/static/chunks/8237-55049f8f5fd5e058.js +1 -0
  73. fides/ui-build/static/admin/_next/static/chunks/pages/{_app-39ccb07327c2c5d5.js → _app-f2c3d287bac00395.js} +56 -56
  74. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-71579a199158952e.js +1 -0
  75. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-7d3115059503b904.js +1 -0
  76. fides/ui-build/static/admin/_next/static/chunks/pages/{integrations-e2d5d7e2a5265e68.js → integrations-f10a7dcf7541c865.js} +1 -1
  77. fides/ui-build/static/admin/_next/static/chunks/pages/poc/{table-migration-69ad86b7a8a9a115.js → table-migration-05616e2ae20ff4f8.js} +1 -1
  78. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-c73497fc333c324d.js +1 -0
  79. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/messaging-7498d1d5974a78b0.js +1 -0
  80. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-2d3a2d967767a131.js +1 -0
  81. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-6a9068df48bdee05.js +1 -0
  82. fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/[id]-fe58cebba358119d.js +1 -0
  83. fides/ui-build/static/admin/_next/static/css/{5bfb2473e5701527.css → 23cf870196941c9a.css} +1 -1
  84. fides/ui-build/static/admin/_next/static/css/79e296c724c1568c.css +1 -0
  85. fides/ui-build/static/admin/_next/static/css/{94965f224bc991e9.css → 8bc1833f1fa53ff0.css} +1 -1
  86. fides/ui-build/static/admin/_next/static/hKDMNIRKgB86FSDpiOjHn/_buildManifest.js +1 -0
  87. fides/ui-build/static/admin/add-systems/manual.html +1 -1
  88. fides/ui-build/static/admin/add-systems/multiple.html +1 -1
  89. fides/ui-build/static/admin/add-systems.html +1 -1
  90. fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
  91. fides/ui-build/static/admin/consent/configure.html +1 -1
  92. fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
  93. fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
  94. fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
  95. fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
  96. fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
  97. fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
  98. fides/ui-build/static/admin/consent/properties.html +1 -1
  99. fides/ui-build/static/admin/consent/reporting.html +1 -1
  100. fides/ui-build/static/admin/consent.html +1 -1
  101. fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
  102. fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
  103. fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
  104. fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
  105. fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
  106. fides/ui-build/static/admin/data-catalog.html +1 -1
  107. fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
  108. fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
  109. fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
  110. fides/ui-build/static/admin/data-discovery/activity.html +1 -1
  111. fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
  112. fides/ui-build/static/admin/data-discovery/detection.html +1 -1
  113. fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
  114. fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
  115. fides/ui-build/static/admin/datamap.html +1 -1
  116. fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
  117. fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
  118. fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
  119. fides/ui-build/static/admin/dataset/new.html +1 -1
  120. fides/ui-build/static/admin/dataset.html +1 -1
  121. fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
  122. fides/ui-build/static/admin/datastore-connection/new.html +1 -1
  123. fides/ui-build/static/admin/datastore-connection.html +1 -1
  124. fides/ui-build/static/admin/index.html +1 -1
  125. fides/ui-build/static/admin/integrations/[id].html +1 -1
  126. fides/ui-build/static/admin/integrations.html +1 -1
  127. fides/ui-build/static/admin/lib/fides-ext-gpp.js +1 -1
  128. fides/ui-build/static/admin/lib/fides-headless.js +1 -1
  129. fides/ui-build/static/admin/lib/fides-preview.js +1 -1
  130. fides/ui-build/static/admin/lib/fides-tcf.js +3 -3
  131. fides/ui-build/static/admin/lib/fides.js +3 -3
  132. fides/ui-build/static/admin/login/[provider].html +1 -1
  133. fides/ui-build/static/admin/login.html +1 -1
  134. fides/ui-build/static/admin/messaging/[id].html +1 -1
  135. fides/ui-build/static/admin/messaging/add-template.html +1 -1
  136. fides/ui-build/static/admin/messaging.html +1 -1
  137. fides/ui-build/static/admin/poc/ant-components.html +1 -1
  138. fides/ui-build/static/admin/poc/form-experiments/AntForm.html +1 -1
  139. fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html +1 -1
  140. fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html +1 -1
  141. fides/ui-build/static/admin/poc/form-experiments/FormikField.html +1 -1
  142. fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html +1 -1
  143. fides/ui-build/static/admin/poc/forms.html +1 -1
  144. fides/ui-build/static/admin/poc/table-migration.html +1 -1
  145. fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
  146. fides/ui-build/static/admin/privacy-requests/configure/messaging.html +1 -1
  147. fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
  148. fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
  149. fides/ui-build/static/admin/privacy-requests.html +1 -1
  150. fides/ui-build/static/admin/properties/[id].html +1 -1
  151. fides/ui-build/static/admin/properties/add-property.html +1 -1
  152. fides/ui-build/static/admin/properties.html +1 -1
  153. fides/ui-build/static/admin/reporting/datamap.html +1 -1
  154. fides/ui-build/static/admin/settings/about/alpha.html +1 -1
  155. fides/ui-build/static/admin/settings/about.html +1 -1
  156. fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html +1 -1
  157. fides/ui-build/static/admin/settings/consent.html +1 -1
  158. fides/ui-build/static/admin/settings/custom-fields.html +1 -1
  159. fides/ui-build/static/admin/settings/domain-records.html +1 -1
  160. fides/ui-build/static/admin/settings/domains.html +1 -1
  161. fides/ui-build/static/admin/settings/email-templates.html +1 -1
  162. fides/ui-build/static/admin/settings/locations.html +1 -1
  163. fides/ui-build/static/admin/settings/organization.html +1 -1
  164. fides/ui-build/static/admin/settings/regulations.html +1 -1
  165. fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
  166. fides/ui-build/static/admin/systems/configure/[id].html +1 -1
  167. fides/ui-build/static/admin/systems.html +1 -1
  168. fides/ui-build/static/admin/taxonomy.html +1 -1
  169. fides/ui-build/static/admin/user-management/new.html +1 -1
  170. fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
  171. fides/ui-build/static/admin/user-management.html +1 -1
  172. fides/ui-build/static/admin/_next/static/8108ANFxs99VY7KZ_Xev2/_buildManifest.js +0 -1
  173. fides/ui-build/static/admin/_next/static/chunks/1817-e601e737e3cc7a0e.js +0 -1
  174. fides/ui-build/static/admin/_next/static/chunks/431-34f0b91c26f8d9ab.js +0 -1
  175. fides/ui-build/static/admin/_next/static/chunks/6780-e3d40aa17a4bf2e9.js +0 -1
  176. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-2265ecb899d45fbc.js +0 -1
  177. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-5d522637871ac6c8.js +0 -1
  178. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-32600543eb7b584f.js +0 -1
  179. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/messaging-10ce53ea356f8bad.js +0 -1
  180. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-5501bbb129fee9c4.js +0 -1
  181. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-cbe4c8f9096b6543.js +0 -1
  182. fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/[id]-ff5738706da07801.js +0 -1
  183. fides/ui-build/static/admin/_next/static/css/2cadb5f62dcd7c2b.css +0 -1
  184. {ethyca_fides-2.66.2rc0.dist-info → ethyca_fides-2.66.3b0.dist-info}/WHEEL +0 -0
  185. {ethyca_fides-2.66.2rc0.dist-info → ethyca_fides-2.66.3b0.dist-info}/entry_points.txt +0 -0
  186. {ethyca_fides-2.66.2rc0.dist-info → ethyca_fides-2.66.3b0.dist-info}/licenses/LICENSE +0 -0
  187. {ethyca_fides-2.66.2rc0.dist-info → ethyca_fides-2.66.3b0.dist-info}/top_level.txt +0 -0
  188. /fides/ui-build/static/admin/_next/static/chunks/{2921-455e6357b74d2f76.js → 2921-86f1547ac40a5cdf.js} +0 -0
  189. /fides/ui-build/static/admin/_next/static/chunks/{3450-0ba194991d0cca88.js → 3450-1cc2bb07ed142203.js} +0 -0
  190. /fides/ui-build/static/admin/_next/static/chunks/{3855-e172870d3e21b0dd.js → 3855-e2fa6db53d32c3de.js} +0 -0
  191. /fides/ui-build/static/admin/_next/static/chunks/{3872-46cebf7ec1b31a2b.js → 3872-84b7e380b88b4454.js} +0 -0
  192. /fides/ui-build/static/admin/_next/static/chunks/{3923-6cc911dafccc5f63.js → 3923-13a6b4da2d51bf8f.js} +0 -0
  193. /fides/ui-build/static/admin/_next/static/chunks/{401-1b529d5800aa1f3a.js → 401-3cc1fee61494e3bd.js} +0 -0
  194. /fides/ui-build/static/admin/_next/static/chunks/{409-a257e14acebcd73b.js → 409-45a125437261580c.js} +0 -0
  195. /fides/ui-build/static/admin/_next/static/chunks/{4121-2bc09fc4ddbfe5cb.js → 4121-f50675521dfee6eb.js} +0 -0
  196. /fides/ui-build/static/admin/_next/static/chunks/{4230-60100f7ef3ddcde1.js → 4230-840c287045c88b34.js} +0 -0
  197. /fides/ui-build/static/admin/_next/static/chunks/{4608-bbb7bf511a05c3c2.js → 4608-a8e3100e2806dbff.js} +0 -0
  198. /fides/ui-build/static/admin/_next/static/chunks/{5309-b2c4803370634ff8.js → 5309-1172322bf91b5d57.js} +0 -0
  199. /fides/ui-build/static/admin/_next/static/chunks/{5574-b13021775a15bfd2.js → 5574-9312f97b637d9ee2.js} +0 -0
  200. /fides/ui-build/static/admin/_next/static/chunks/{6084-7178ff6ea6822475.js → 6084-5d7598b7bcb548cf.js} +0 -0
  201. /fides/ui-build/static/admin/_next/static/chunks/{6662-507be5d46e5b719b.js → 6662-efb2cf74641647f2.js} +0 -0
  202. /fides/ui-build/static/admin/_next/static/chunks/{6853-2ad3e08fe6f9f5f2.js → 6853-4f8bf6558f8c6a46.js} +0 -0
  203. /fides/ui-build/static/admin/_next/static/chunks/{6882-6af16fef26c21e06.js → 6882-586b84aeb02d5830.js} +0 -0
  204. /fides/ui-build/static/admin/_next/static/chunks/{6954-bb875d9ac89f6030.js → 6954-34e062e4bffc7e71.js} +0 -0
  205. /fides/ui-build/static/admin/_next/static/chunks/{7476-281ee9a8286556f3.js → 7476-d206c11823c91088.js} +0 -0
  206. /fides/ui-build/static/admin/_next/static/chunks/{7630-9aac73191ed5ed13.js → 7630-b1c93688013ef013.js} +0 -0
  207. /fides/ui-build/static/admin/_next/static/chunks/{787-fb41002f797eb2df.js → 787-cbe2d0bfb513d90a.js} +0 -0
  208. /fides/ui-build/static/admin/_next/static/chunks/{79-7e87aff851423d4a.js → 79-3db1941d274f40c7.js} +0 -0
  209. /fides/ui-build/static/admin/_next/static/chunks/{9046-5c4c22c375de25b1.js → 9046-c8233981762585b4.js} +0 -0
  210. /fides/ui-build/static/admin/_next/static/chunks/{9226-746771d47dff6266.js → 9226-72ad691ca57b83ef.js} +0 -0
  211. /fides/ui-build/static/admin/_next/static/chunks/{9826-111aaee8bd8dbd09.js → 9826-3c578665c6d3b21d.js} +0 -0
  212. /fides/ui-build/static/admin/_next/static/chunks/{9951-9b753ad7c3f51bdf.js → 9951-595d0f1588215081.js} +0 -0
  213. /fides/ui-build/static/admin/_next/static/chunks/pages/{404-aece2c920ea14514.js → 404-2d803dab6a00f353.js} +0 -0
  214. /fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{manual-98777246bec9dc2a.js → manual-acb59f8b5e97512a.js} +0 -0
  215. /fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{multiple-dc75dc6e37e52f05.js → multiple-8ff7f37913ad736a.js} +0 -0
  216. /fides/ui-build/static/admin/_next/static/chunks/pages/{add-systems-a71c0aff4e0e6535.js → add-systems-0943633a8e422695.js} +0 -0
  217. /fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/{add-vendors-24d226b5a8de5c74.js → add-vendors-d00c9034cdeb0236.js} +0 -0
  218. /fides/ui-build/static/admin/_next/static/chunks/pages/consent/{configure-6a8ef51138ac926a.js → configure-0e1ca0f4c8e7f4da.js} +0 -0
  219. /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{[id]-1edf582ba3cd3bbb.js → [id]-fc3a011154a2e1de.js} +0 -0
  220. /fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-experience-685771e5f7196d87.js → privacy-experience-09d4408014bcfe1c.js} +0 -0
  221. /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-6ccedc70dc447089.js → [id]-d67542783ef5ddac.js} +0 -0
  222. /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{new-944bca1cc57985b5.js → new-3f20e8a316bb3d5b.js} +0 -0
  223. /fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-notices-84f4bd14ce8673bc.js → privacy-notices-23e9dcd4590312d2.js} +0 -0
  224. /fides/ui-build/static/admin/_next/static/chunks/pages/consent/{properties-6f86ab63a08a6528.js → properties-057cad65e7414a44.js} +0 -0
  225. /fides/ui-build/static/admin/_next/static/chunks/pages/consent/{reporting-afdbd4665657cfa1.js → reporting-8f891957c8944137.js} +0 -0
  226. /fides/ui-build/static/admin/_next/static/chunks/pages/{consent-73d3cbf68f7c3a31.js → consent-e17c56eec8d91371.js} +0 -0
  227. /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/{[resourceUrn]-11d52f1570759c4d.js → [resourceUrn]-99c9092d65c94807.js} +0 -0
  228. /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/{[projectUrn]-6ba9e160dae64695.js → [projectUrn]-80a6cc8e8573514a.js} +0 -0
  229. /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{projects-32eac8bbd217615a.js → projects-774fecea22ba8852.js} +0 -0
  230. /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources/{[resourceUrn]-b83afa5565d0c84e.js → [resourceUrn]-f6bd6aff389cb9fe.js} +0 -0
  231. /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{resources-7648bbd4f6711e4d.js → resources-6c3714ee97a718c1.js} +0 -0
  232. /fides/ui-build/static/admin/_next/static/chunks/pages/{data-catalog-6f630d42ac9fb6b4.js → data-catalog-8a7f9285da66b965.js} +0 -0
  233. /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{action-center-9ddb52ebb7ac4c71.js → action-center-85e140788e251272.js} +0 -0
  234. /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{activity-9aa744d56cdacb0d.js → activity-5af9381f02b2aff6.js} +0 -0
  235. /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/detection/{[resourceUrn]-393e20924c83373e.js → [resourceUrn]-31e6c54794a9883e.js} +0 -0
  236. /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{detection-8733807dad4bc96e.js → detection-2822a423a7ad0550.js} +0 -0
  237. /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/discovery/{[resourceUrn]-14bd7500362ff224.js → [resourceUrn]-6421ce247549c5d6.js} +0 -0
  238. /fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{discovery-9e7dfd5a6acc2e8f.js → discovery-3eac407ac5181a3c.js} +0 -0
  239. /fides/ui-build/static/admin/_next/static/chunks/pages/{datamap-7674b97d655c193b.js → datamap-d2b275d83089820d.js} +0 -0
  240. /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/{[...subfieldNames]-c0d2bfd465df20e0.js → [...subfieldNames]-1c98bd0959d9570a.js} +0 -0
  241. /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/{[collectionName]-28280a8a39a6e37c.js → [collectionName]-e548cabda7da32c9.js} +0 -0
  242. /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{[datasetId]-006b695e5af5ef24.js → [datasetId]-a8e8b5f4ee7af86c.js} +0 -0
  243. /fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{new-82fb246d87e58ebd.js → new-513c862c3a707735.js} +0 -0
  244. /fides/ui-build/static/admin/_next/static/chunks/pages/{dataset-20165c31ab1bc7cf.js → dataset-747b7a13289f1cd7.js} +0 -0
  245. /fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-b4a6bcc87d126840.js → [id]-3d22525b3c327b2e.js} +0 -0
  246. /fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-f95d7b0bbfc58f5a.js → new-d2cad97495e86adb.js} +0 -0
  247. /fides/ui-build/static/admin/_next/static/chunks/pages/{datastore-connection-c391c6fad56eec48.js → datastore-connection-0f29b47402292070.js} +0 -0
  248. /fides/ui-build/static/admin/_next/static/chunks/pages/{index-1919aab9e5834b51.js → index-12ac3e317fc86f21.js} +0 -0
  249. /fides/ui-build/static/admin/_next/static/chunks/pages/integrations/{[id]-0a58aee2d1e7fa01.js → [id]-f9c0eac932188593.js} +0 -0
  250. /fides/ui-build/static/admin/_next/static/chunks/pages/messaging/{[id]-53fecfb9dd6a1e0c.js → [id]-5627d0d0668077f9.js} +0 -0
  251. /fides/ui-build/static/admin/_next/static/chunks/pages/messaging/{add-template-76b01cec5fde10a9.js → add-template-feca66ad5c5fe54a.js} +0 -0
  252. /fides/ui-build/static/admin/_next/static/chunks/pages/{messaging-5094ffea13f32ed9.js → messaging-c1bd3e7adbe8d2d3.js} +0 -0
  253. /fides/ui-build/static/admin/_next/static/chunks/pages/poc/{ant-components-5c08e8447c45ce44.js → ant-components-64a322d01aae5ca7.js} +0 -0
  254. /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{AntForm-06ad5f34585480aa.js → AntForm-8bca16a7726e7eb2.js} +0 -0
  255. /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikAntFormItem-6f071c2bc9446cb0.js → FormikAntFormItem-b0f246fc3b67ebf7.js} +0 -0
  256. /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikControlled-efcc38c58991ac9e.js → FormikControlled-1a0852b090bfc392.js} +0 -0
  257. /fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/{FormikField-430ba5c979abfb7c.js → FormikField-11f3de1b45e36583.js} +0 -0
  258. /fides/ui-build/static/admin/_next/static/chunks/pages/poc/{forms-5c561880bf131afb.js → forms-1b73a1c2b6c6285f.js} +0 -0
  259. /fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{configure-d888a69a3bbe040e.js → configure-e551a860ec727802.js} +0 -0
  260. /fides/ui-build/static/admin/_next/static/chunks/pages/properties/{[id]-d3d8e3d7583ec635.js → [id]-dd99183f93763ae4.js} +0 -0
  261. /fides/ui-build/static/admin/_next/static/chunks/pages/properties/{add-property-1af10ed303815d46.js → add-property-0bdbc1fcbf553b8f.js} +0 -0
  262. /fides/ui-build/static/admin/_next/static/chunks/pages/{properties-cebc0dc186be499a.js → properties-e959378bb32b6b73.js} +0 -0
  263. /fides/ui-build/static/admin/_next/static/chunks/pages/reporting/{datamap-e130c0197362e8f3.js → datamap-2a98bd257edd8f47.js} +0 -0
  264. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/about/{alpha-5e1322de868d615e.js → alpha-8f98a4895e74725e.js} +0 -0
  265. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{about-241f95e372b65d0f.js → about-8155a35a62fdb5ae.js} +0 -0
  266. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/{[purpose_id]-fc201657f4a782c7.js → [purpose_id]-668d74c041d74650.js} +0 -0
  267. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{consent-c2d39cba8396ef3a.js → consent-a989532a12c40dcf.js} +0 -0
  268. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{custom-fields-d992103cc55901ae.js → custom-fields-45bea76ff7eda3cb.js} +0 -0
  269. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domain-records-41242f805599feda.js → domain-records-51333dbd21cb37c8.js} +0 -0
  270. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domains-2e885f74c92f669c.js → domains-bde86e5f6c09da5a.js} +0 -0
  271. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{email-templates-ff112655ad5f41e5.js → email-templates-4f9a5cc8bea7725b.js} +0 -0
  272. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{locations-023e1895552817de.js → locations-6946e78a5d43e654.js} +0 -0
  273. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{organization-ac403c0886b20e20.js → organization-55a10e01dffc8039.js} +0 -0
  274. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{regulations-86062a18e081a52a.js → regulations-102efd9199e87124.js} +0 -0
  275. /fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/{test-datasets-7a3396ac819c7904.js → test-datasets-f91f22cf96566ed4.js} +0 -0
  276. /fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-8314a819837f5b2a.js → [id]-d4a57ea18935dd70.js} +0 -0
  277. /fides/ui-build/static/admin/_next/static/chunks/pages/{systems-21f423a7c417aa9d.js → systems-648a0ff4920579ce.js} +0 -0
  278. /fides/ui-build/static/admin/_next/static/chunks/pages/{taxonomy-6387fcc8cce872eb.js → taxonomy-0b9d1a24188f65a9.js} +0 -0
  279. /fides/ui-build/static/admin/_next/static/chunks/pages/user-management/{new-a2524414e968f862.js → new-bc4eb541906781e6.js} +0 -0
  280. /fides/ui-build/static/admin/_next/static/chunks/pages/{user-management-173ac3a1ed2b05a6.js → user-management-45bfa04e45a7d13f.js} +0 -0
  281. /fides/ui-build/static/admin/_next/static/chunks/{webpack-ff0cd6bff75588da.js → webpack-63a0c45b150a1037.js} +0 -0
  282. /fides/ui-build/static/admin/_next/static/{8108ANFxs99VY7KZ_Xev2 → hKDMNIRKgB86FSDpiOjHn}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/2cadb5f62dcd7c2b.css" as="style"/><link rel="stylesheet" href="/_next/static/css/2cadb5f62dcd7c2b.css" data-n-g=""/><link rel="preload" href="/_next/static/css/304c6f148886a8d4.css" as="style"/><link rel="stylesheet" href="/_next/static/css/304c6f148886a8d4.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-ff0cd6bff75588da.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-39ccb07327c2c5d5.js" defer=""></script><script src="/_next/static/chunks/2858-0b44609b6be7850b.js" defer=""></script><script src="/_next/static/chunks/2866-a73888c17a195cbe.js" defer=""></script><script src="/_next/static/chunks/9278-9b1b5970f0702668.js" defer=""></script><script src="/_next/static/chunks/699-8ca44b0de9fa20f0.js" defer=""></script><script src="/_next/static/chunks/5277-e8a036319456127f.js" defer=""></script><script src="/_next/static/chunks/409-a257e14acebcd73b.js" defer=""></script><script src="/_next/static/chunks/401-1b529d5800aa1f3a.js" defer=""></script><script src="/_next/static/chunks/9951-9b753ad7c3f51bdf.js" defer=""></script><script src="/_next/static/chunks/6780-e3d40aa17a4bf2e9.js" defer=""></script><script src="/_next/static/chunks/3450-0ba194991d0cca88.js" defer=""></script><script src="/_next/static/chunks/pages/systems/configure/%5Bid%5D-8314a819837f5b2a.js" defer=""></script><script src="/_next/static/8108ANFxs99VY7KZ_Xev2/_buildManifest.js" defer=""></script><script src="/_next/static/8108ANFxs99VY7KZ_Xev2/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/systems/configure/[id]","query":{},"buildId":"8108ANFxs99VY7KZ_Xev2","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/79e296c724c1568c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/79e296c724c1568c.css" data-n-g=""/><link rel="preload" href="/_next/static/css/304c6f148886a8d4.css" as="style"/><link rel="stylesheet" href="/_next/static/css/304c6f148886a8d4.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-63a0c45b150a1037.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-f2c3d287bac00395.js" defer=""></script><script src="/_next/static/chunks/2858-0b44609b6be7850b.js" defer=""></script><script src="/_next/static/chunks/2866-a73888c17a195cbe.js" defer=""></script><script src="/_next/static/chunks/9278-9b1b5970f0702668.js" defer=""></script><script src="/_next/static/chunks/699-8ca44b0de9fa20f0.js" defer=""></script><script src="/_next/static/chunks/5277-e8a036319456127f.js" defer=""></script><script src="/_next/static/chunks/409-45a125437261580c.js" defer=""></script><script src="/_next/static/chunks/401-3cc1fee61494e3bd.js" defer=""></script><script src="/_next/static/chunks/9951-595d0f1588215081.js" defer=""></script><script src="/_next/static/chunks/6780-a00c87739acc004d.js" defer=""></script><script src="/_next/static/chunks/3450-1cc2bb07ed142203.js" defer=""></script><script src="/_next/static/chunks/pages/systems/configure/%5Bid%5D-d4a57ea18935dd70.js" defer=""></script><script src="/_next/static/hKDMNIRKgB86FSDpiOjHn/_buildManifest.js" defer=""></script><script src="/_next/static/hKDMNIRKgB86FSDpiOjHn/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/systems/configure/[id]","query":{},"buildId":"hKDMNIRKgB86FSDpiOjHn","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/2cadb5f62dcd7c2b.css" as="style"/><link rel="stylesheet" href="/_next/static/css/2cadb5f62dcd7c2b.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-ff0cd6bff75588da.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-39ccb07327c2c5d5.js" defer=""></script><script src="/_next/static/chunks/pages/systems-21f423a7c417aa9d.js" defer=""></script><script src="/_next/static/8108ANFxs99VY7KZ_Xev2/_buildManifest.js" defer=""></script><script src="/_next/static/8108ANFxs99VY7KZ_Xev2/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/systems","query":{},"buildId":"8108ANFxs99VY7KZ_Xev2","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/79e296c724c1568c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/79e296c724c1568c.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-63a0c45b150a1037.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-f2c3d287bac00395.js" defer=""></script><script src="/_next/static/chunks/pages/systems-648a0ff4920579ce.js" defer=""></script><script src="/_next/static/hKDMNIRKgB86FSDpiOjHn/_buildManifest.js" defer=""></script><script src="/_next/static/hKDMNIRKgB86FSDpiOjHn/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/systems","query":{},"buildId":"hKDMNIRKgB86FSDpiOjHn","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/2cadb5f62dcd7c2b.css" as="style"/><link rel="stylesheet" href="/_next/static/css/2cadb5f62dcd7c2b.css" data-n-g=""/><link rel="preload" href="/_next/static/css/34a7eb08b86ddb57.css" as="style"/><link rel="stylesheet" href="/_next/static/css/34a7eb08b86ddb57.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-ff0cd6bff75588da.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-39ccb07327c2c5d5.js" defer=""></script><script src="/_next/static/chunks/678d4732-50255cc09048e643.js" defer=""></script><script src="/_next/static/chunks/2858-0b44609b6be7850b.js" defer=""></script><script src="/_next/static/chunks/2866-a73888c17a195cbe.js" defer=""></script><script src="/_next/static/chunks/9278-9b1b5970f0702668.js" defer=""></script><script src="/_next/static/chunks/3662-f6a1ddca5ee42076.js" defer=""></script><script src="/_next/static/chunks/570-c99f07161bd339cd.js" defer=""></script><script src="/_next/static/chunks/pages/taxonomy-6387fcc8cce872eb.js" defer=""></script><script src="/_next/static/8108ANFxs99VY7KZ_Xev2/_buildManifest.js" defer=""></script><script src="/_next/static/8108ANFxs99VY7KZ_Xev2/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/taxonomy","query":{},"buildId":"8108ANFxs99VY7KZ_Xev2","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/79e296c724c1568c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/79e296c724c1568c.css" data-n-g=""/><link rel="preload" href="/_next/static/css/34a7eb08b86ddb57.css" as="style"/><link rel="stylesheet" href="/_next/static/css/34a7eb08b86ddb57.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-63a0c45b150a1037.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-f2c3d287bac00395.js" defer=""></script><script src="/_next/static/chunks/678d4732-50255cc09048e643.js" defer=""></script><script src="/_next/static/chunks/2858-0b44609b6be7850b.js" defer=""></script><script src="/_next/static/chunks/2866-a73888c17a195cbe.js" defer=""></script><script src="/_next/static/chunks/9278-9b1b5970f0702668.js" defer=""></script><script src="/_next/static/chunks/3662-f6a1ddca5ee42076.js" defer=""></script><script src="/_next/static/chunks/570-c99f07161bd339cd.js" defer=""></script><script src="/_next/static/chunks/pages/taxonomy-0b9d1a24188f65a9.js" defer=""></script><script src="/_next/static/hKDMNIRKgB86FSDpiOjHn/_buildManifest.js" defer=""></script><script src="/_next/static/hKDMNIRKgB86FSDpiOjHn/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/taxonomy","query":{},"buildId":"hKDMNIRKgB86FSDpiOjHn","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/2cadb5f62dcd7c2b.css" as="style"/><link rel="stylesheet" href="/_next/static/css/2cadb5f62dcd7c2b.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-ff0cd6bff75588da.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-39ccb07327c2c5d5.js" defer=""></script><script src="/_next/static/chunks/7476-281ee9a8286556f3.js" defer=""></script><script src="/_next/static/chunks/4121-2bc09fc4ddbfe5cb.js" defer=""></script><script src="/_next/static/chunks/pages/user-management/new-a2524414e968f862.js" defer=""></script><script src="/_next/static/8108ANFxs99VY7KZ_Xev2/_buildManifest.js" defer=""></script><script src="/_next/static/8108ANFxs99VY7KZ_Xev2/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/user-management/new","query":{},"buildId":"8108ANFxs99VY7KZ_Xev2","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/79e296c724c1568c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/79e296c724c1568c.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-63a0c45b150a1037.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-f2c3d287bac00395.js" defer=""></script><script src="/_next/static/chunks/7476-d206c11823c91088.js" defer=""></script><script src="/_next/static/chunks/4121-f50675521dfee6eb.js" defer=""></script><script src="/_next/static/chunks/pages/user-management/new-bc4eb541906781e6.js" defer=""></script><script src="/_next/static/hKDMNIRKgB86FSDpiOjHn/_buildManifest.js" defer=""></script><script src="/_next/static/hKDMNIRKgB86FSDpiOjHn/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/user-management/new","query":{},"buildId":"hKDMNIRKgB86FSDpiOjHn","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/2cadb5f62dcd7c2b.css" as="style"/><link rel="stylesheet" href="/_next/static/css/2cadb5f62dcd7c2b.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-ff0cd6bff75588da.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-39ccb07327c2c5d5.js" defer=""></script><script src="/_next/static/chunks/7476-281ee9a8286556f3.js" defer=""></script><script src="/_next/static/chunks/4121-2bc09fc4ddbfe5cb.js" defer=""></script><script src="/_next/static/chunks/pages/user-management/profile/%5Bid%5D-ff5738706da07801.js" defer=""></script><script src="/_next/static/8108ANFxs99VY7KZ_Xev2/_buildManifest.js" defer=""></script><script src="/_next/static/8108ANFxs99VY7KZ_Xev2/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/user-management/profile/[id]","query":{},"buildId":"8108ANFxs99VY7KZ_Xev2","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/79e296c724c1568c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/79e296c724c1568c.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-63a0c45b150a1037.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-f2c3d287bac00395.js" defer=""></script><script src="/_next/static/chunks/7476-d206c11823c91088.js" defer=""></script><script src="/_next/static/chunks/4121-f50675521dfee6eb.js" defer=""></script><script src="/_next/static/chunks/pages/user-management/profile/%5Bid%5D-fe58cebba358119d.js" defer=""></script><script src="/_next/static/hKDMNIRKgB86FSDpiOjHn/_buildManifest.js" defer=""></script><script src="/_next/static/hKDMNIRKgB86FSDpiOjHn/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/user-management/profile/[id]","query":{},"buildId":"hKDMNIRKgB86FSDpiOjHn","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/2cadb5f62dcd7c2b.css" as="style"/><link rel="stylesheet" href="/_next/static/css/2cadb5f62dcd7c2b.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-ff0cd6bff75588da.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-39ccb07327c2c5d5.js" defer=""></script><script src="/_next/static/chunks/7476-281ee9a8286556f3.js" defer=""></script><script src="/_next/static/chunks/pages/user-management-173ac3a1ed2b05a6.js" defer=""></script><script src="/_next/static/8108ANFxs99VY7KZ_Xev2/_buildManifest.js" defer=""></script><script src="/_next/static/8108ANFxs99VY7KZ_Xev2/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/user-management","query":{},"buildId":"8108ANFxs99VY7KZ_Xev2","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/79e296c724c1568c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/79e296c724c1568c.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-63a0c45b150a1037.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-f2c3d287bac00395.js" defer=""></script><script src="/_next/static/chunks/7476-d206c11823c91088.js" defer=""></script><script src="/_next/static/chunks/pages/user-management-45bfa04e45a7d13f.js" defer=""></script><script src="/_next/static/hKDMNIRKgB86FSDpiOjHn/_buildManifest.js" defer=""></script><script src="/_next/static/hKDMNIRKgB86FSDpiOjHn/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/user-management","query":{},"buildId":"hKDMNIRKgB86FSDpiOjHn","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +0,0 @@
1
- self.__BUILD_MANIFEST=function(s,e,t,a,c,n,i,d,o,r,p,u,g,f,m,b,j,k,h,y,l,v,I,F,x,_,U,w,q,N,A,S,B,C,z,D,E,L,M,T,P,G,H,J,K,O){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[l,"static/chunks/pages/index-1919aab9e5834b51.js"],"/404":["static/chunks/pages/404-aece2c920ea14514.js"],"/_error":["static/chunks/pages/_error-bede3a8288930dcf.js"],"/add-systems":[l,"static/chunks/pages/add-systems-a71c0aff4e0e6535.js"],"/add-systems/manual":[s,e,t,c,p,a,i,u,b,v,I,"static/chunks/pages/add-systems/manual-98777246bec9dc2a.js"],"/add-systems/multiple":[i,g,F,"static/chunks/pages/add-systems/multiple-dc75dc6e37e52f05.js"],"/consent":["static/chunks/pages/consent-73d3cbf68f7c3a31.js"],"/consent/configure":[i,g,"static/chunks/pages/consent/configure-6a8ef51138ac926a.js"],"/consent/configure/add-vendors":[i,g,F,"static/chunks/pages/consent/configure/add-vendors-24d226b5a8de5c74.js"],"/consent/privacy-experience":[p,x,"static/chunks/pages/consent/privacy-experience-685771e5f7196d87.js"],"/consent/privacy-experience/new":[s,e,d,_,f,U,"static/chunks/pages/consent/privacy-experience/new-06bb3b0bf097fcdb.js"],"/consent/privacy-experience/[id]":[s,e,d,_,f,U,"static/chunks/pages/consent/privacy-experience/[id]-1edf582ba3cd3bbb.js"],"/consent/privacy-notices":[x,"static/chunks/pages/consent/privacy-notices-84f4bd14ce8673bc.js"],"/consent/privacy-notices/new":[s,e,d,w,f,q,"static/chunks/pages/consent/privacy-notices/new-944bca1cc57985b5.js"],"/consent/privacy-notices/[id]":[s,e,d,w,f,q,"static/chunks/pages/consent/privacy-notices/[id]-6ccedc70dc447089.js"],"/consent/properties":[N,"static/chunks/pages/consent/properties-6f86ab63a08a6528.js"],"/consent/reporting":[s,"static/chunks/pages/consent/reporting-afdbd4665657cfa1.js"],"/data-catalog":[s,e,t,a,"static/css/95ac327e5d70148d.css","static/chunks/pages/data-catalog-6f630d42ac9fb6b4.js"],"/data-catalog/[systemId]/projects":[s,e,t,a,j,n,"static/chunks/pages/data-catalog/[systemId]/projects-32eac8bbd217615a.js"],"/data-catalog/[systemId]/projects/[projectUrn]":[A,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-6ba9e160dae64695.js"],"/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]":[s,e,t,a,j,S,n,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-11d52f1570759c4d.js"],"/data-catalog/[systemId]/resources":[A,"static/chunks/pages/data-catalog/[systemId]/resources-7648bbd4f6711e4d.js"],"/data-catalog/[systemId]/resources/[resourceUrn]":[s,e,t,a,j,S,n,"static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-b83afa5565d0c84e.js"],"/data-discovery/action-center":["static/chunks/pages/data-discovery/action-center-9ddb52ebb7ac4c71.js"],"/data-discovery/action-center/[monitorId]":[s,e,t,k,"static/chunks/pages/data-discovery/action-center/[monitorId]-5d522637871ac6c8.js"],"/data-discovery/action-center/[monitorId]/[systemId]":[s,e,t,a,i,b,"static/css/5bfb2473e5701527.css","static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-2265ecb899d45fbc.js"],"/data-discovery/activity":[r,"static/chunks/pages/data-discovery/activity-9aa744d56cdacb0d.js"],"/data-discovery/detection":[r,B,"static/chunks/pages/data-discovery/detection-8733807dad4bc96e.js"],"/data-discovery/detection/[resourceUrn]":[r,B,"static/chunks/pages/data-discovery/detection/[resourceUrn]-393e20924c83373e.js"],"/data-discovery/discovery":[s,e,t,a,r,C,n,"static/chunks/pages/data-discovery/discovery-9e7dfd5a6acc2e8f.js"],"/data-discovery/discovery/[resourceUrn]":[s,e,t,a,r,C,n,"static/chunks/pages/data-discovery/discovery/[resourceUrn]-14bd7500362ff224.js"],"/datamap":["static/chunks/255-7db55b0e3a0f9dea.js",u,z,"static/chunks/pages/datamap-7674b97d655c193b.js"],"/dataset":[o,m,"static/chunks/pages/dataset-20165c31ab1bc7cf.js"],"/dataset/new":[o,m,"static/chunks/pages/dataset/new-82fb246d87e58ebd.js"],"/dataset/[datasetId]":["static/chunks/9729-fcf6ff4e3534e4a8.js",h,"static/chunks/pages/dataset/[datasetId]-006b695e5af5ef24.js"],"/dataset/[datasetId]/[collectionName]":[s,e,t,c,a,h,n,"static/chunks/pages/dataset/[datasetId]/[collectionName]-28280a8a39a6e37c.js"],"/dataset/[datasetId]/[collectionName]/[...subfieldNames]":[s,e,t,c,a,h,n,"static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-c0d2bfd465df20e0.js"],"/datastore-connection":["static/css/5f393dea1c0d031c.css","static/chunks/pages/datastore-connection-c391c6fad56eec48.js"],"/datastore-connection/new":[s,c,o,p,D,m,E,"static/chunks/pages/datastore-connection/new-f95d7b0bbfc58f5a.js"],"/datastore-connection/[id]":[s,c,o,D,m,E,"static/chunks/pages/datastore-connection/[id]-b4a6bcc87d126840.js"],"/fides-js-docs":["static/chunks/2fbcc6de-a6c61724c327e9fa.js","static/chunks/e3251fe7-5777b5d778e6fffa.js",s,e,t,c,o,L,"static/css/ab65b8cc3144bfc8.css","static/chunks/905-ffdbd0b14167e8bd.js","static/chunks/pages/fides-js-docs-5d8fd1af75f19e2f.js"],"/integrations":[s,e,t,c,d,M,T,n,"static/chunks/pages/integrations-e2d5d7e2a5265e68.js"],"/integrations/[id]":[s,e,t,c,d,M,T,n,"static/chunks/pages/integrations/[id]-0a58aee2d1e7fa01.js"],"/login":["static/chunks/pages/login-0cb0eb44bf2dd24c.js"],"/login/[provider]":["static/chunks/pages/login/[provider]-c58beef131c3a82d.js"],"/messaging":[s,e,t,"static/chunks/pages/messaging-5094ffea13f32ed9.js"],"/messaging/add-template":[P,"static/chunks/pages/messaging/add-template-76b01cec5fde10a9.js"],"/messaging/[id]":[P,"static/chunks/pages/messaging/[id]-53fecfb9dd6a1e0c.js"],"/poc/ant-components":["static/chunks/pages/poc/ant-components-5c08e8447c45ce44.js"],"/poc/form-experiments/AntForm":["static/chunks/pages/poc/form-experiments/AntForm-06ad5f34585480aa.js"],"/poc/form-experiments/FormikAntFormItem":["static/chunks/pages/poc/form-experiments/FormikAntFormItem-6f071c2bc9446cb0.js"],"/poc/form-experiments/FormikControlled":["static/chunks/pages/poc/form-experiments/FormikControlled-efcc38c58991ac9e.js"],"/poc/form-experiments/FormikField":["static/chunks/pages/poc/form-experiments/FormikField-430ba5c979abfb7c.js"],"/poc/form-experiments/FormikSpreadField":[G,"static/chunks/pages/poc/form-experiments/FormikSpreadField-af097d661f6abcf4.js"],"/poc/forms":[G,"static/chunks/pages/poc/forms-5c561880bf131afb.js"],"/poc/table-migration":[i,g,"static/chunks/pages/poc/table-migration-69ad86b7a8a9a115.js"],"/privacy-requests":[s,e,H,"static/chunks/pages/privacy-requests-cbe4c8f9096b6543.js"],"/privacy-requests/configure":["static/chunks/pages/privacy-requests/configure-d888a69a3bbe040e.js"],"/privacy-requests/configure/messaging":["static/chunks/pages/privacy-requests/configure/messaging-10ce53ea356f8bad.js"],"/privacy-requests/configure/storage":["static/chunks/pages/privacy-requests/configure/storage-5501bbb129fee9c4.js"],"/privacy-requests/[id]":[H,"static/css/94965f224bc991e9.css","static/chunks/pages/privacy-requests/[id]-32600543eb7b584f.js"],"/properties":[N,"static/chunks/pages/properties-cebc0dc186be499a.js"],"/properties/add-property":[J,"static/chunks/pages/properties/add-property-1af10ed303815d46.js"],"/properties/[id]":[J,"static/chunks/pages/properties/[id]-d3d8e3d7583ec635.js"],"/reporting/datamap":[s,e,t,L,u,z,"static/chunks/pages/reporting/datamap-e130c0197362e8f3.js"],"/settings/about":["static/chunks/pages/settings/about-241f95e372b65d0f.js"],"/settings/about/alpha":["static/chunks/pages/settings/about/alpha-5e1322de868d615e.js"],"/settings/consent":["static/chunks/pages/settings/consent-c2d39cba8396ef3a.js"],"/settings/consent/[configuration_id]/[purpose_id]":["static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-fc201657f4a782c7.js"],"/settings/custom-fields":["static/chunks/pages/settings/custom-fields-d992103cc55901ae.js"],"/settings/domain-records":["static/chunks/pages/settings/domain-records-41242f805599feda.js"],"/settings/domains":["static/chunks/pages/settings/domains-2e885f74c92f669c.js"],"/settings/email-templates":["static/chunks/pages/settings/email-templates-ff112655ad5f41e5.js"],"/settings/locations":[K,k,"static/chunks/pages/settings/locations-023e1895552817de.js"],"/settings/organization":["static/chunks/pages/settings/organization-ac403c0886b20e20.js"],"/settings/regulations":[K,k,"static/chunks/pages/settings/regulations-86062a18e081a52a.js"],"/systems":["static/chunks/pages/systems-21f423a7c417aa9d.js"],"/systems/configure/[id]":[s,e,t,c,p,a,i,u,b,v,I,"static/chunks/pages/systems/configure/[id]-8314a819837f5b2a.js"],"/systems/configure/[id]/test-datasets":[o,"static/chunks/pages/systems/configure/[id]/test-datasets-7a3396ac819c7904.js"],"/taxonomy":["static/chunks/678d4732-50255cc09048e643.js",s,e,t,d,"static/chunks/570-c99f07161bd339cd.js","static/css/34a7eb08b86ddb57.css","static/chunks/pages/taxonomy-6387fcc8cce872eb.js"],"/user-management":[y,"static/chunks/pages/user-management-173ac3a1ed2b05a6.js"],"/user-management/new":[y,O,"static/chunks/pages/user-management/new-a2524414e968f862.js"],"/user-management/profile/[id]":[y,O,"static/chunks/pages/user-management/profile/[id]-ff5738706da07801.js"],sortedPages:["/","/404","/_app","/_error","/add-systems","/add-systems/manual","/add-systems/multiple","/consent","/consent/configure","/consent/configure/add-vendors","/consent/privacy-experience","/consent/privacy-experience/new","/consent/privacy-experience/[id]","/consent/privacy-notices","/consent/privacy-notices/new","/consent/privacy-notices/[id]","/consent/properties","/consent/reporting","/data-catalog","/data-catalog/[systemId]/projects","/data-catalog/[systemId]/projects/[projectUrn]","/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]","/data-catalog/[systemId]/resources","/data-catalog/[systemId]/resources/[resourceUrn]","/data-discovery/action-center","/data-discovery/action-center/[monitorId]","/data-discovery/action-center/[monitorId]/[systemId]","/data-discovery/activity","/data-discovery/detection","/data-discovery/detection/[resourceUrn]","/data-discovery/discovery","/data-discovery/discovery/[resourceUrn]","/datamap","/dataset","/dataset/new","/dataset/[datasetId]","/dataset/[datasetId]/[collectionName]","/dataset/[datasetId]/[collectionName]/[...subfieldNames]","/datastore-connection","/datastore-connection/new","/datastore-connection/[id]","/fides-js-docs","/integrations","/integrations/[id]","/login","/login/[provider]","/messaging","/messaging/add-template","/messaging/[id]","/poc/ant-components","/poc/form-experiments/AntForm","/poc/form-experiments/FormikAntFormItem","/poc/form-experiments/FormikControlled","/poc/form-experiments/FormikField","/poc/form-experiments/FormikSpreadField","/poc/forms","/poc/table-migration","/privacy-requests","/privacy-requests/configure","/privacy-requests/configure/messaging","/privacy-requests/configure/storage","/privacy-requests/[id]","/properties","/properties/add-property","/properties/[id]","/reporting/datamap","/settings/about","/settings/about/alpha","/settings/consent","/settings/consent/[configuration_id]/[purpose_id]","/settings/custom-fields","/settings/domain-records","/settings/domains","/settings/email-templates","/settings/locations","/settings/organization","/settings/regulations","/systems","/systems/configure/[id]","/systems/configure/[id]/test-datasets","/taxonomy","/user-management","/user-management/new","/user-management/profile/[id]"]}}("static/chunks/2858-0b44609b6be7850b.js","static/chunks/2866-a73888c17a195cbe.js","static/chunks/9278-9b1b5970f0702668.js","static/chunks/409-a257e14acebcd73b.js","static/chunks/699-8ca44b0de9fa20f0.js","static/css/d2d4e9a6923e6730.css","static/chunks/401-1b529d5800aa1f3a.js","static/chunks/3662-f6a1ddca5ee42076.js","static/chunks/6527-0eed08abe252a918.js","static/chunks/431-34f0b91c26f8d9ab.js","static/chunks/5277-e8a036319456127f.js","static/chunks/9951-9b753ad7c3f51bdf.js","static/chunks/3923-6cc911dafccc5f63.js","static/chunks/6084-7178ff6ea6822475.js","static/chunks/5574-b13021775a15bfd2.js","static/chunks/6780-e3d40aa17a4bf2e9.js","static/chunks/6882-6af16fef26c21e06.js","static/css/10994e916bc9a00a.css","static/chunks/9226-746771d47dff6266.js","static/chunks/7476-281ee9a8286556f3.js","static/css/972dc7eef106ee7c.css","static/chunks/3450-0ba194991d0cca88.js","static/css/304c6f148886a8d4.css","static/chunks/796-329a5f823ec258a5.js","static/chunks/6853-2ad3e08fe6f9f5f2.js","static/chunks/9014-eeae6f581158e645.js","static/chunks/1817-e601e737e3cc7a0e.js","static/chunks/3615-5e2d062d684b8fa1.js","static/chunks/6954-bb875d9ac89f6030.js","static/chunks/79-7e87aff851423d4a.js","static/chunks/3872-46cebf7ec1b31a2b.js","static/chunks/3855-e172870d3e21b0dd.js","static/chunks/5309-b2c4803370634ff8.js","static/chunks/9046-5c4c22c375de25b1.js","static/chunks/4230-60100f7ef3ddcde1.js","static/chunks/1807-3beab149351d5ded.js","static/chunks/4608-bbb7bf511a05c3c2.js","static/chunks/2599-6c4d22e75028d8b6.js","static/chunks/1316-6cc72a45ebf7ff81.js","static/chunks/6662-507be5d46e5b719b.js","static/chunks/7630-9aac73191ed5ed13.js","static/chunks/2921-455e6357b74d2f76.js","static/chunks/203-5a663f465ba26bb4.js","static/chunks/787-fb41002f797eb2df.js","static/chunks/9826-111aaee8bd8dbd09.js","static/chunks/4121-2bc09fc4ddbfe5cb.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1817],{11817:function(e,n,i){i.d(n,{Z:function(){return U}});var t=i(24246),o=i(13577),a=i(34090),l=i(86677),r=i(27378),s=i(55484),d=i(16134),c=i(812);let p=(0,o.IUT)({displayName:"DesktopIcon",viewBox:"0 0 24 24",path:(0,t.jsx)("path",{fill:"currentColor",d:"M20.5556 4.05556H3.44444C3.10833 4.05556 2.83333 4.33056 2.83333 4.66667V12H21.1667V4.66667C21.1667 4.33056 20.8917 4.05556 20.5556 4.05556ZM23 12V13.8333V15.6667C23 17.0149 21.9038 18.1111 20.5556 18.1111H14.9142L15.2198 19.9445H17.1944C17.7024 19.9445 18.1111 20.3531 18.1111 20.8611C18.1111 21.3691 17.7024 21.7778 17.1944 21.7778H14.4444H9.55556H6.80556C6.29757 21.7778 5.88889 21.3691 5.88889 20.8611C5.88889 20.3531 6.29757 19.9445 6.80556 19.9445H8.78021L9.08576 18.1111H3.44444C2.09618 18.1111 1 17.0149 1 15.6667V13.8333V12V4.66667C1 3.31841 2.09618 2.22223 3.44444 2.22223H20.5556C21.9038 2.22223 23 3.31841 23 4.66667V12ZM2.83333 13.8333V15.6667C2.83333 16.0028 3.10833 16.2778 3.44444 16.2778H10.1476C10.159 16.2778 10.1705 16.2778 10.1781 16.2778H13.8142C13.8257 16.2778 13.8372 16.2778 13.8448 16.2778H20.5556C20.8917 16.2778 21.1667 16.0028 21.1667 15.6667V13.8333H2.83333ZM10.6365 19.9445H13.3597L13.0542 18.1111H10.942L10.6365 19.9445Z"})}),u=(0,o.IUT)({displayName:"MobileIcon",viewBox:"0 0 24 24",path:(0,t.jsx)("path",{fill:"currentColor",d:"M6.5 20.25C6.5 20.6281 6.80938 20.9375 7.1875 20.9375H16.8125C17.1906 20.9375 17.5 20.6281 17.5 20.25V16.8125H6.5V20.25ZM6.5 14.75H17.5V3.75C17.5 3.37188 17.1906 3.0625 16.8125 3.0625H7.1875C6.80938 3.0625 6.5 3.37188 6.5 3.75V14.75ZM4.4375 3.75C4.4375 2.2332 5.6707 1 7.1875 1H16.8125C18.3293 1 19.5625 2.2332 19.5625 3.75V20.25C19.5625 21.7668 18.3293 23 16.8125 23H7.1875C5.6707 23 4.4375 21.7668 4.4375 20.25V3.75ZM12 17.8438C12.2735 17.8438 12.5358 17.9524 12.7292 18.1458C12.9226 18.3392 13.0312 18.6015 13.0312 18.875C13.0312 19.1485 12.9226 19.4108 12.7292 19.6042C12.5358 19.7976 12.2735 19.9062 12 19.9062C11.7265 19.9062 11.4642 19.7976 11.2708 19.6042C11.0774 19.4108 10.9688 19.1485 10.9688 18.875C10.9688 18.6015 11.0774 18.3392 11.2708 18.1458C11.4642 17.9524 11.7265 17.8438 12 17.8438Z"})});var v=i(77830),m=i(46628),_=i(7426),f=i(60325);let b={language:{label:"Language",validation:s.Z_()},title:{label:"Title",validation:s.Z_()},description:{label:"Description",validation:s.Z_()},accept_button_label:{label:"Accept button label",validation:s.Z_()},reject_button_label:{label:"Reject button label",validation:s.Z_()},save_button_label:{label:"Save button label",validation:s.Z_()},acknowledge_button_label:{label:"Acknowledge button label",validation:s.Z_()},privacy_policy_url:{label:"Privacy policy URL",validation:s.Z_().url()},privacy_preferences_link_label:{label:"Privacy preferences link label",validation:s.Z_()},banner_title:{label:"Banner title",validation:s.Z_()},banner_description:{label:"Banner description",validation:s.Z_()},purpose_header:{label:"Purpose header",validation:s.Z_()},privacy_policy_link_label:{label:"Privacy policy link label",validation:s.Z_()},modal_link_label:{label:"Modal link label",validation:s.Z_()},is_default:{label:"Default language",validation:s.O7()}};var g=i(34334),y=i(13083),x=i.n(y),h=i(43218),w=i.n(h),C=i(52253),j=i(32885),V=i(73825);let k={language:V.eU.EN,accept_button_label:"Accept",acknowledge_button_label:"OK",banner_description:"",banner_title:"",purpose_header:"",description:"Description",privacy_policy_link_label:"",privacy_policy_url:"",modal_link_label:"",privacy_preferences_link_label:"Privacy preferences",reject_button_label:"Reject All",save_button_label:"Save",title:"Manage your consent preferences",is_default:!0},A=e=>({...k,...e.translations?e.translations[0]:{}}),O=(e,n)=>{var i,t,o,a;let l={options:{allowHTMLDescription:!0,base64Cookie:!1,debug:!1,fidesApiUrl:"http://localhost:8080/api/v1",fidesClearCookie:!0,fidesDisableSaveApi:!0,fidesDisableNoticesServedApi:!0,fidesJsBaseUrl:"",fidesLocale:null===(t=e.translations)||void 0===t?void 0:null===(i=t[0])||void 0===i?void 0:i.language,fidesString:null,geolocationApiUrl:"",isGeolocationEnabled:!1,isOverlayEnabled:!0,isPrefetchEnabled:!1,modalLinkId:null,overlayParentId:C.Vk,preventDismissal:null!==(a=e.dismissable)&&void 0!==a&&a,privacyCenterUrl:"http://localhost:3000",showFidesBrandLink:!0},experience:{available_locales:null===(o=e.translations)||void 0===o?void 0:o.map(e=>e.language),component:e.component,experience_config:{allow_language_selection:!0,auto_detect_language:!0,auto_subdomain_cookie_deletion:!0,component:e.component,disabled:!1,dismissable:e.dismissable,id:"pri_222",is_default:!0,language:"en",layer1_button_options:V.Of.OPT_IN_OPT_OUT,properties:[],regions:["us_ca"],show_layer1_notices:!1,translations:[A(e)]},id:"pri_111",privacy_notices:n,region:"us_ca"},geolocation:{country:"US",location:"US-CA",region:"CA"}};return e.component===V.re.TCF_OVERLAY&&(l.options.fidesTcfGdprApplies=!0,l.options.tcf_enabled=!0,l.geolocation={location:"eea",country:"eea"},l.experience.experience_config.regions=["eea"],l.experience={...l.experience,region:"eea",minimal_tcf:!0,gvl:{vendors:{}},tcf_purpose_names:["Store and/or access information on a device","Use limited data to select advertising","Create profiles for personalised advertising","Use profiles to select personalised advertising","Create profiles to personalise content","Use profiles to select personalised content","Measure advertising performance","Measure content performance","Understand audiences through statistics or combinations of data from different sources","Develop and improve services","Use limited data to select content"]},l.options.apiOptions={getPrivacyExperienceFn:async()=>l.experience}),l},E=e=>{let{language:n,is_default:i,...t}=k,o=Object.keys(t).map(n=>{let i=e[n];return{[n]:void 0!==i?i:k[n]}}).reduce((e,n)=>({...e,...n}),{});return{language:e.language,is_default:e.is_default,...o}},T=(e,n,i)=>e?e.map(e=>i.find(n=>(null==n?void 0:n.id)===e)).map(e=>n===V.re.TCF_OVERLAY&&void 0!==e?{...e,translations:[{language:"en",text:null==e?void 0:e.name}]}:e).filter(e=>void 0!==e):[];var L=i(74022),Z=i(32222);let N=e=>{let{title:n,description:i}=e;return(0,t.jsx)(o.jqI,{className:"h-full items-center justify-center",children:(0,t.jsxs)(o.jqI,{className:"items-center gap-2 rounded-md p-6",style:{backgroundColor:L.Z.colors.white,boxShadow:L.Z.shadows.md,maxWidth:512},vertical:!0,"data-testid":"no-preview-notice",children:[(0,t.jsx)(o.xvT,{fontSize:"lg",fontWeight:"500",align:"center",children:n}),(0,t.jsx)(o.xvT,{color:"gray.500",align:"center",children:i})]})})};var P=e=>{var n,i;let{allPrivacyNotices:s,initialValues:d,translation:c,isMobilePreview:p}=e,u=(0,l.useRouter)().pathname.includes("/new"),{values:v}=(0,a.u6)(),[m,_]=(0,r.useState)([]),[f,b]=(0,r.useState)(!1),[g,y]=(0,r.useState)(),h=[V.re.BANNER_AND_MODAL,V.re.MODAL,V.re.TCF_OVERLAY].includes(v.component),{data:k}=(0,j.de)({pageIndex:1,pageSize:1}),A=(0,r.useMemo)(()=>(null==k?void 0:k.total)||0,[null==k?void 0:k.total]);(0,r.useEffect)(()=>{var e,n;return h&&f&&window.FidesPreview&&v.component&&((null===(e=v.privacy_notice_ids)||void 0===e?void 0:e.length)||v.component===V.re.TCF_OVERLAY)?v.component===V.re.TCF_OVERLAY?(window.FidesPreview("tcf"),y("tcf")):(window.FidesPreview("standard"),y("standard")):window.FidesPreview&&(null===(n=window.FidesPreview)||void 0===n||n.cleanup()),()=>{var e;null===(e=window.FidesPreview)||void 0===e||e.cleanup()}},[v.component,f,h,null===(n=v.privacy_notice_ids)||void 0===n?void 0:n.length,u]),(0,r.useEffect)(()=>{d&&v.component&&s&&(v.privacy_notice_ids?_(T(v.privacy_notice_ids,v.component,s)):_([]))},[v.privacy_notice_ids,s,v.component,d]);let L=(0,r.useMemo)(()=>v.component?O({...d,component:v.component},m):null,[d,m,v.component]);(0,r.useEffect)(()=>{var e,n,i,t;if(!h||!f||!window.FidesPreview||!window.Fides||!(null===(e=v.privacy_notice_ids)||void 0===e?void 0:e.length)&&v.component!==V.re.TCF_OVERLAY)return;v.component===V.re.MODAL&&(L.experience.experience_config.component=V.re.MODAL);let o=null===(n=v.translations)||void 0===n?void 0:n.find(e=>e.language===(null==c?void 0:c.language));(null===(i=v.translations)||void 0===i?void 0:i.length)&&(o?(L.experience.available_locales=[...L.experience.available_locales||[],o.language],L.experience.experience_config.translations[0]=E(o),L.options.fidesLocale=o.language):v.translations&&(L.experience.experience_config.translations[0]=E(v.translations[0]),L.options.fidesLocale=v.translations[0].language)),L.experience.experience_config.show_layer1_notices=!!(null===(t=v.privacy_notice_ids)||void 0===t?void 0:t.length)&&!!v.show_layer1_notices,L.experience.experience_config.layer1_button_options=(v.component===V.re.BANNER_AND_MODAL||v.component===V.re.TCF_OVERLAY)&&v.layer1_button_options?v.layer1_button_options:V.Of.OPT_IN_OPT_OUT,L.options.preventDismissal=!v.dismissable,L.experience.vendor_count=A,L.experience.experience_config.component=v.component,window.Fides.init(L)},[c,L,s,h,A,f,g,v.privacy_notice_ids,v.component,v.translations,v.show_layer1_notices,v.layer1_button_options,v.dismissable,d,m]);let P=document.getElementById("fides-modal");return(P&&P.removeAttribute("tabindex"),v.component)?h?(null===(i=v.privacy_notice_ids)||void 0===i?void 0:i.length)||v.component===V.re.TCF_OVERLAY?(0,t.jsxs)(o.jqI,{className:"size-full items-center justify-center overflow-scroll",children:[(0,t.jsx)(x(),{id:"4b2ec2183c5a567e",dynamic:[C.Vk,v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""],children:"div#fides-overlay{z-index:5000!important}div#".concat(C.Vk,"{width:100%;padding-top:45px;").concat(v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""," margin: auto;pointer-events:none}div#fides-banner-container{position:static!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;transition:none!important}div#fides-banner-container.fides-banner-hidden{display:none}.fides-modal-container{background-color:unset!important;position:static!important;display:none!important}.fides-modal-overlay{background-color:inherit!important;position:static!important;display:none!important}div.fides-modal-content{position:relative!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;left:initial!important;top:initial!important}div.fides-modal-footer{width:unset}")}),h?(0,t.jsx)("style",{children:"div#fides-modal {\n display: flex !important;\n justify-content: center;\n background-color: unset;\n ".concat(v.component===V.re.BANNER_AND_MODAL||v.component===V.re.TCF_OVERLAY?"padding-bottom: 3rem;":"","\n }")}):null,p?(0,t.jsx)("style",{children:"\n div#fides-overlay-wrapper {\n max-width: 400px;\n margin: auto;\n }\n div.fides-modal-button-group {\n flex-direction: column !important;\n }\n div#fides-banner {\n padding: 24px;\n width: 100%;\n }\n\n div#fides-banner-description {\n margin-bottom: 0px;\n }\n\n div#fides-banner-inner div#fides-button-group {\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n padding-top: 24px;\n }\n\n .fides-banner-button-group {\n flex-direction: column;\n width: 100%;\n }\n\n button.fides-banner-button {\n margin: 0px;\n width: 100%;\n }\n\n div#fides-banner-inner-container {\n display: flex;\n flex-direction: column;\n max-height: 50vh;\n overflow-y: auto;\n scrollbar-gutter: stable;\n }\n\n div#fides-privacy-policy-link {\n order: 1;\n width: 100%;\n }\n .fides-modal-footer {\n max-width: 100%;\n }\n .fides-banner-secondary-actions {\n flex-direction: column-reverse;\n gap: 12px;\n }\n "}):(0,t.jsx)("style",{children:"\n div#fides-banner {\n width: 60%;\n }\n @media (min-width: 768px) {\n div#fides-banner {\n width: 100%;\n }\n }\n @media (min-width: 1155px) {\n div#fides-banner {\n width: 90%;\n }\n }\n @media (min-width: 1440px) {\n div#fides-banner {\n width: 60%;\n }\n }\n "}),(0,t.jsx)(w(),{id:"fides-js-script",src:"/lib/fides-preview.js",onReady:()=>{b(!0)}}),(0,t.jsx)("div",{id:C.Vk,className:x().dynamic([["4b2ec2183c5a567e",[C.Vk,v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""]]])},v.component)]}):(0,t.jsx)(N,{title:"No privacy notices added",description:'To view a preview of this experience, add a privacy notice under "Privacy Notices" to the left.'}):(0,t.jsx)(N,{title:"".concat(Z.J.get(v.component)," preview not available"),description:"There is no preview available for ".concat(Z.J.get(v.component),". You can edit the available settings\n and languages to the left.")}):(0,t.jsx)(N,{title:"No privacy experience type selected",description:"Please select a privacy experience type to preview."})},D=i(94315),M=i(5331),R=i(16277),F=i(71922),H=i(31883);let S=e=>{let n=(0,f.y3)(e),i={};return Object.entries(n).forEach(e=>{let[n,t]=e;if(t.included){let e=b[n];i[n]=t.required?e.validation.required().label(e.label):e.validation.nullable().label(e.label)}}),s.Ry().shape(i)},B=e=>{let{componentType:n}=e;return S(n)},I=s.Ry().shape({name:s.Z_().required().label("Experience name"),component:s.Z_().required().label("Experience type"),translations:s.IX().when("component",(e,n)=>{let[i]=e;return n.of(B({componentType:i}))})});var U=e=>{var n;let{passedInExperience:i,passedInTranslations:s}=e,[b]=(0,D.mJ)(),[y]=(0,D.$d)(),x=(0,o.pmc)(),[h,w]=(0,r.useState)(!1),C=(0,l.useRouter)(),{data:j}=(0,_.tB)({api_set:!1}),V=null==j?void 0:null===(n=j.plus_consent_settings)||void 0===n?void 0:n.enable_translations,k=(0,d.C)(g.Zp),A=(0,d.C)(g.G1);(0,g.Ah)({page:k,size:A});let O=(0,d.C)(g.fJ),E=(0,d.C)(F.sX),T=i?{...f.DD,...(0,f.Uv)(i)}:f.DD,L=async e=>{var n,t;let o;e.privacy_notice_ids=null===(n=e.privacy_notice_ids)||void 0===n?void 0:n.filter(e=>"tcf_purposes_placeholder"!==e),T.tcf_configuration_id&&!e.tcf_configuration_id&&(e.tcf_configuration_id=null);let a={...e,disabled:null===(t=null==i?void 0:i.disabled)||void 0===t||t,allow_language_selection:e.translations&&e.translations.length>1};if(i){let{component:e,...n}=a;o=await y({...n,id:i.id})}else o=await b(a);(0,H.D4)(o)?x((0,m.Vo)((0,c.e$)(o.error))):(x((0,m.t5)("Privacy experience successfully ".concat(i?"updated":"created"))),C.push(v.w0))},[Z,N]=(0,r.useState)(void 0),[S,B]=(0,r.useState)(!1);return(0,t.jsx)(a.J9,{initialValues:T,enableReinitialize:!0,onSubmit:L,validationSchema:I,children:(0,t.jsx)(a.l0,{style:{height:"100vh"},children:(0,t.jsxs)(o.jqI,{className:"size-full","data-testid":"privacy-experience-detail-page",children:[Z?(0,t.jsx)(R.Z,{translation:Z,translationsEnabled:V,isOOB:S,onReturnToMainForm:()=>{N(void 0),B(!1)}}):(0,t.jsx)(M.d0,{allPrivacyNotices:E,translationsEnabled:V,onSelectTranslation:e=>{N({...e,name:(0,f.Go)(e,O)})},onCreateTranslation:e=>{let n=null==s?void 0:s.find(n=>n.language===e);return n&&B(!0),null!=n?n:{language:e,is_default:!1}}}),(0,t.jsxs)(o.jqI,{vertical:!0,className:"w-full overflow-y-hidden",style:{backgroundColor:o.rSc.colors.gray[50]},children:[(0,t.jsxs)(o.jqI,{className:"flex-row items-center p-4",style:{backgroundColor:o.rSc.colors.white,borderBottom:"1px solid ".concat(o.rSc.colors.gray[100])},children:[(0,t.jsx)(o.xvT,{fontSize:"md",fontWeight:"semibold",children:"PREVIEW"}),(0,t.jsx)(o.LZC,{}),(0,t.jsxs)(o.y02.Group,{onChange:e=>w(e.target.value),defaultValue:!1,children:[(0,t.jsx)(o.y02.Button,{value:!0,title:"View mobile preview",children:(0,t.jsx)(u,{})}),(0,t.jsx)(o.y02.Button,{value:!1,title:"View desktop preview",children:(0,t.jsx)(p,{})})]})]}),(0,t.jsx)(P,{allPrivacyNotices:E,initialValues:T,translation:Z,isMobilePreview:h})]})]})})})}},32222:function(e,n,i){i.d(n,{J:function(){return t}});let t=new Map([["overlay","Overlay"],["privacy_center","Privacy center"],["tcf_overlay","TCF overlay"],["modal","Modal"],["banner_and_modal","Banner and modal"],["headless","Headless"]])},31883:function(e,n,i){i.d(n,{Bw:function(){return t.Bw},D4:function(){return t.D4}});var t=i(19043)}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[431],{66726:function(t,e,i){var n=i(11611),r=i(82846),s=i(91936),o=Math.max,l=Math.min;t.exports=function(t,e,i){var a,c,u,d,f,x,v=0,h=!1,I=!1,j=!0;if("function"!=typeof t)throw TypeError("Expected a function");function E(e){var i=a,n=c;return a=c=void 0,v=e,d=t.apply(n,i)}function p(t){var i=t-x,n=t-v;return void 0===x||i>=e||i<0||I&&n>=u}function L(){var t,i,n,s=r();if(p(s))return m(s);f=setTimeout(L,(t=s-x,i=s-v,n=e-t,I?l(n,u-i):n))}function m(t){return(f=void 0,j&&a)?E(t):(a=c=void 0,d)}function C(){var t,i=r(),n=p(i);if(a=arguments,c=this,x=i,n){if(void 0===f)return v=t=x,f=setTimeout(L,e),h?E(t):d;if(I)return clearTimeout(f),f=setTimeout(L,e),E(x)}return void 0===f&&(f=setTimeout(L,e)),d}return e=s(e)||0,n(i)&&(h=!!i.leading,u=(I="maxWait"in i)?o(s(i.maxWait)||0,e):u,j="trailing"in i?!!i.trailing:j),C.cancel=function(){void 0!==f&&clearTimeout(f),v=0,a=x=c=f=void 0},C.flush=function(){return void 0===f?d:m(r())},C}},82846:function(t,e,i){var n=i(77400);t.exports=function(){return n.Date.now()}},30952:function(t,e,i){"use strict";i.d(e,{f:function(){return a}});var n=i(24246),r=i(66726),s=i.n(r),o=i(27378),l=i(26917);let a=t=>{let{value:e,onChange:i,placeholder:r,...a}=t,[c,u]=(0,o.useState)(e),d=s()(i,500),f=(0,o.useCallback)(t=>{u(t),d(t)},[]);return(0,n.jsx)(l.Z,{value:c,onChange:f,onClear:()=>{u(""),i("")},placeholder:r,...a})}},35287:function(t,e,i){"use strict";var n=i(24246),r=i(13577),s=i(88038),o=i.n(s);i(27378),e.Z=t=>{let{children:e,title:i,mainProps:s}=t;return(0,n.jsxs)(r.kCb,{"data-testid":i,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,n.jsxs)(o(),{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,...s,children:e})]})}},14047:function(t,e,i){"use strict";i.d(e,{H:function(){return s},V:function(){return n.V}});var n=i(84306),r=i(812);let s=()=>{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 s}});var n=i(24246),r=i(13577);let s=()=>{let t=(0,r.pmc)();return{errorAlert:(e,i,s)=>{let o={...s,position:(null==s?void 0:s.position)||"top",render:t=>{let{onClose:s}=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:s,position:"relative",right:0,size:"sm",top:-1})]})}};(null==s?void 0:s.id)&&t.isActive(s.id)?t.update(s.id,o):t(o)},successAlert:(e,i,s)=>{let o={...s,position:(null==s?void 0:s.position)||"top",render:t=>{let{onClose:s}=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:s,position:"relative",right:0,size:"sm",top:-1})]})}};(null==s?void 0:s.id)&&t.isActive(s.id)?t.update(s.id,o):t(o)}}}},79494:function(t,e,i){"use strict";var n=i(24246),r=i(13577);e.Z=t=>{let{title:e,icon:i,type:s,...o}=t;return(0,n.jsx)(r.wpx,{size:"small",type:s,"data-testid":"action-".concat(e),icon:i,iconPosition:"start",...o,children:e})}},38347:function(t,e,i){"use strict";var n=i(24246),r=i(13577),s=i(56839);e.Z=()=>(0,n.jsxs)(r.J2e,{isLazy:!0,trigger:"hover",children:[(0,n.jsx)(r.xol,{children:(0,n.jsx)(r.UOT,{color:"gray.400"})}),(0,n.jsxs)(r.yky,{bgColor:"gray.800",color:"white",fontSize:"sm",w:"auto",border:"none",children:[(0,n.jsx)(r.Ytg,{fontWeight:"semibold",border:"none",pb:0,children:"Activity legend:"}),(0,n.jsx)(r.QHN,{bgColor:"gray.800"}),(0,n.jsx)(r.baG,{border:"none",children:(0,n.jsxs)(r.MIq,{columns:2,spacing:2,children:[(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.Rv,{})," Change detected"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.$P,{})," Data labeled"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.zj,{})," Monitoring"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.dK,{})," Addition detected"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.Kr,{})," Unmonitored"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(s.q1,{})," Removal detected"]})]})})]})]})},47182:function(t,e,i){"use strict";var n=i(86677),r=i(77830);e.Z=()=>{let t=(0,n.useRouter)();return{monitorId:t.query.monitorId,resourceUrn:t.query.resourceUrn,navigateToDetectionResults:e=>{let{resourceUrn:i,filterTab:n}=e;t.push({pathname:r.dS,query:{resourceUrn:i},hash:n})},navigateToDiscoveryResults:e=>{let{resourceUrn:i,filterTab:n}=e;t.push({pathname:r.Sj,query:{resourceUrn:i},hash:n})}}}},56839:function(t,e,i){"use strict";i.d(e,{dK:function(){return u},Rv:function(){return x},$P:function(){return f},zj:function(){return v},Kr:function(){return h},q1:function(){return d},QL:function(){return I}});var n=i(24246),r=i(13577);let s=(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"})}),o=(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"})}),l=(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"})}),a=(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 u=()=>(0,n.jsx)(l,{color:"green.400",boxSize:2,mr:2,"data-testid":"add-icon"}),d=()=>(0,n.jsx)(o,{color:"red.400",boxSize:2,mr:2,"data-testid":"remove-icon"}),f=()=>(0,n.jsx)(a,{color:"orange.400",boxSize:3,mr:1,"data-testid":"classify-icon"}),x=()=>(0,n.jsx)(s,{color:"blue.400",boxSize:2.5,mb:"2px",mr:"6px","data-testid":"change-icon"}),v=()=>(0,n.jsx)(s,{color:"green.400",boxSize:2,mr:2,"data-testid":"monitored-icon"}),h=()=>(0,n.jsx)(s,{color:"red.400",boxSize:2,mr:2,"data-testid":"muted-icon"}),I={[c.E.ADDITION]:(0,n.jsx)(u,{}),[c.E.REMOVAL]:(0,n.jsx)(d,{}),[c.E.CLASSIFICATION]:(0,n.jsx)(f,{}),[c.E.CHANGE]:(0,n.jsx)(x,{}),[c.E.MONITORED]:(0,n.jsx)(v,{}),[c.E.MUTED]:(0,n.jsx)(h,{}),[c.E.IN_PROGRESS]:(0,n.jsx)(()=>(0,n.jsx)(s,{color:"orange.400",boxSize:2,mr:2,"data-testid":"in-progress-icon"}),{}),[c.E.NONE]:null}},87667:function(t,e,i){"use strict";var n=i(24246),r=i(13577),s=i(56839),o=i(20449),l=i(98559),a=i(80356);e.Z=t=>{let{result:e,changeTypeOverride:i}=t,c=null!=i?i:(0,o.Z)(e);return(0,n.jsxs)(r.kCb,{alignItems:"center",height:"100%",children:[(0,n.jsx)(r.esZ,{title:c,children:(0,n.jsx)("span",{children:s.QL[c]})}),(0,n.jsx)(r.xvT,{fontSize:"xs",lineHeight:4,fontWeight:(0,a.Z)(e)?"semibold":"normal",overflow:"hidden",textOverflow:"ellipsis",children:(0,l.Z)(e)})]})}},50169:function(t,e,i){"use strict";var n=i(24246),r=i(47935),s=i(28278),o=i(20449);let l={[s.E.MUTED]:{color:"marble",label:"Unmonitored"},[s.E.MONITORED]:{color:"success",label:"Monitoring"},[s.E.IN_PROGRESS]:{color:"info",label:"Classifying"}};e.Z=t=>{var e,i,s,a,c;let{result:u,changeTypeOverride:d}=t;if(null===(e=u.user_assigned_data_categories)||void 0===e?void 0:e.length)return(0,n.jsx)(r.A4,{color:"success",value:"Reviewed"});let f=null!=d?d:(0,o.Z)(u);return(0,n.jsx)(r.A4,{color:null!==(a=null===(i=l[f])||void 0===i?void 0:i.color)&&void 0!==a?a:"warning",value:null!==(c=null===(s=l[f])||void 0===s?void 0:s.label)&&void 0!==c?c:"Pending review"})}},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="--"},74241:function(t,e){"use strict";e.Z=t=>{let e=t.split(".");return e.length>1?e[1]:""}},20449:function(t,e,i){"use strict";var n=i(28278),r=i(73825);e.Z=t=>t.diff_status===r.LL.ADDITION?n.E.ADDITION:t.diff_status===r.LL.REMOVAL?n.E.REMOVAL:t.diff_status===r.LL.CLASSIFYING||t.diff_status===r.LL.CLASSIFICATION_QUEUED?n.E.IN_PROGRESS:t.diff_status===r.LL.CLASSIFICATION_ADDITION||t.diff_status===r.LL.CLASSIFICATION_UPDATE?n.E.CLASSIFICATION:t.child_diff_statuses?t.child_diff_statuses[r.LL.CLASSIFYING]||t.child_diff_statuses[r.LL.CLASSIFICATION_QUEUED]?n.E.IN_PROGRESS:t.child_diff_statuses[r.LL.CLASSIFICATION_ADDITION]||t.child_diff_statuses[r.LL.CLASSIFICATION_UPDATE]?n.E.CLASSIFICATION:t.child_diff_statuses[r.LL.ADDITION]||t.child_diff_statuses[r.LL.REMOVAL]?n.E.CHANGE:t.diff_status===r.LL.MONITORED?n.E.MONITORED:t.diff_status===r.LL.MUTED?n.E.MUTED:n.E.NONE:n.E.NONE},7940:function(t,e,i){"use strict";i.d(e,{G:function(){return r}});var n=i(73825);let r=t=>{var e,i,r;return t?t.resource_type?t.resource_type:(null===(e=t.schemas)||void 0===e?void 0:e.length)?n.D$.DATABASE:(null===(i=t.tables)||void 0===i?void 0:i.length)?n.D$.SCHEMA:(null===(r=t.fields)||void 0===r?void 0:r.length)?n.D$.TABLE:n.D$.FIELD:void 0}},98559:function(t,e){"use strict";e.Z=t=>{let{name:e,urn:i,monitor_config_id:n,database_name:r,schema_name:s,table_name:o,top_level_field_name:l,top_level_field_urn:a}=t;if(!l)return e;let c=i.split(".");return a?i.replace("".concat(a).concat("."),""):([n,r,s,o,l].forEach(t=>{if(t){let e=c.indexOf(t);e>-1&&c.splice(e,1)}}),c.join("."))}},80285:function(t,e){"use strict";e.Z=t=>t.urn},36168:function(t,e){"use strict";e.Z=t=>{var e;return!!t.parent_table_urn&&null!==(e=t.sub_field_urns)&&void 0!==e&&!!e.length&&!t.top_level_field_name}},80356:function(t,e,i){"use strict";var n=i(7940),r=i(36168),s=i(73825);e.Z=t=>(0,n.G)(t)!==s.D$.FIELD||(0,r.Z)(t)}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6780],{66726:function(a,e,n){var i=n(11611),t=n(82846),s=n(91936),r=Math.max,o=Math.min;a.exports=function(a,e,n){var _,l,F,d,u,c,m=0,h=!1,S=!1,y=!0;if("function"!=typeof a)throw TypeError("Expected a function");function C(e){var n=_,i=l;return _=l=void 0,m=e,d=a.apply(i,n)}function g(a){var n=a-c,i=a-m;return void 0===c||n>=e||n<0||S&&i>=F}function p(){var a,n,i,s=t();if(g(s))return f(s);u=setTimeout(p,(a=s-c,n=s-m,i=e-a,S?o(i,F-n):i))}function f(a){return(u=void 0,y&&_)?C(a):(_=l=void 0,d)}function v(){var a,n=t(),i=g(n);if(_=arguments,l=this,c=n,i){if(void 0===u)return m=a=c,u=setTimeout(p,e),h?C(a):d;if(S)return clearTimeout(u),u=setTimeout(p,e),C(c)}return void 0===u&&(u=setTimeout(p,e)),d}return e=s(e)||0,i(n)&&(h=!!n.leading,F=(S="maxWait"in n)?r(s(n.maxWait)||0,e):F,y="trailing"in n?!!n.trailing:y),v.cancel=function(){void 0!==u&&clearTimeout(u),m=0,_=c=l=u=void 0},v.flush=function(){return void 0===u?d:f(t())},v}},82846:function(a,e,n){var i=n(77400);a.exports=function(){return i.Date.now()}},30952:function(a,e,n){"use strict";n.d(e,{f:function(){return _}});var i=n(24246),t=n(66726),s=n.n(t),r=n(27378),o=n(26917);let _=a=>{let{value:e,onChange:n,placeholder:t,..._}=a,[l,F]=(0,r.useState)(e),d=s()(n,500),u=(0,r.useCallback)(a=>{F(a),d(a)},[]);return(0,i.jsx)(o.Z,{value:l,onChange:u,onClear:()=>{F(""),n("")},placeholder:t,..._})}},26089:function(a,e,n){"use strict";var i=n(24246),t=n(13577),s=n(99830),r=n.n(s);e.Z=a=>{let{onClick:e,children:n}=a;return(0,i.jsx)(t.wpx,{onClick:e,type:"link",role:"link",size:"small",className:r().toastLink,children:n})}},29850:function(a,e,n){"use strict";n.d(e,{R:function(){return F}});var i=n(24246),t=n(13577),s=n(27378),r=n(65450);let o=a=>{let{children:e,className:n,style:s,...r}=a;return(0,i.jsx)(t.wpx,{...r,type:"text",className:"w-full justify-start ".concat(n),style:{fontWeight:600,padding:"var(--ant-select-option-padding)",backgroundColor:"var(--ant-select-option-selected-bg)",...s},children:e})};var _=n(16394);let l=(a,e)=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o,{onClick:e,"data-testid":"add-new-system",id:"add-new-system",children:"Add new system +"}),a]}),F=a=>{var e;let{onAddSystem:n,...o}=a,[F,d]=(0,s.useState)(),{data:u,isFetching:c}=(0,r.xF)({page:1,size:25,search:F||void 0}),m=null==u?void 0:null===(e=u.items)||void 0===e?void 0:e.map(a=>({value:a.fides_key,label:a.name})),h=(0,s.useCallback)(a=>{(null==a?void 0:a.length)>1&&d(a),(null==a?void 0:a.length)===0&&d(void 0)},[d]),S=(0,s.useMemo)(()=>(0,_.Ds)(h,300),[h]);return(0,i.jsx)(t.WPr,{placeholder:"Search...","aria-label":"Search for a system to select",dropdownStyle:{minWidth:"500px"},dropdownRender:n?a=>l(a,n):void 0,"data-testid":"system-select",...o,filterOption:!1,options:m,onSearch:S,loading:o.loading||c})}},8411:function(a,e,n){"use strict";n.d(e,{NA:function(){return s},Z8:function(){return t}});var i=n(73825);let t={[i._F.ER]:"Eritrea",[i._F.DJ]:"Djibouti",[i._F.MR]:"Mauritania",[i._F.NA]:"Namibia",[i._F.GH]:"Ghana",[i._F.SS]:"South Sudan",[i._F.SC]:"Seychelles",[i._F.IO]:"British Indian Ocean Territory",[i._F.GQ]:"Equatorial Guinea",[i._F.AO]:"Angola",[i._F.CG]:"Republic of the Congo",[i._F.BW]:"Botswana",[i._F.BI]:"Burundi",[i._F.DZ]:"Algeria",[i._F.TD]:"Chad",[i._F.NG]:"Nigeria",[i._F.TZ]:"Tanzania",[i._F.EH]:"Western Sahara",[i._F.SN]:"Senegal",[i._F.LR]:"Liberia",[i._F.ZA]:"South Africa",[i._F.CV]:"Cape Verde",[i._F.GM]:"Gambia",[i._F.SD]:"Sudan",[i._F.KM]:"Comoros",[i._F.SZ]:"Eswatini",[i._F.UG]:"Uganda",[i._F.MG]:"Madagascar",[i._F.RW]:"Rwanda",[i._F.CD]:"DR Congo",[i._F.CM]:"Cameroon",[i._F.SH]:"Saint Helena, Ascension and Tristan da Cunha",[i._F.TG]:"Togo",[i._F.MU]:"Mauritius",[i._F.NE]:"Niger",[i._F.BJ]:"Benin",[i._F.EG]:"Egypt",[i._F.LS]:"Lesotho",[i._F.ET]:"Ethiopia",[i._F.MA]:"Morocco",[i._F.YT]:"Mayotte",[i._F.BF]:"Burkina Faso",[i._F.RE]:"R\xe9union",[i._F.ST]:"S\xe3o Tom\xe9 and Pr\xedncipe",[i._F.CF]:"Central African Republic",[i._F.MZ]:"Mozambique",[i._F.MW]:"Malawi",[i._F.ML]:"Mali",[i._F.ZM]:"Zambia",[i._F.LY]:"Libya",[i._F.GW]:"Guinea-Bissau",[i._F.SO]:"Somalia",[i._F.KE]:"Kenya",[i._F.GN]:"Guinea",[i._F.ZW]:"Zimbabwe",[i._F.TN]:"Tunisia",[i._F.SL]:"Sierra Leone",[i._F.GA]:"Gabon",[i._F.CI]:"Ivory Coast",[i._F.JO]:"Jordan",[i._F.PK]:"Pakistan",[i._F.KP]:"North Korea",[i._F.MO]:"Macau",[i._F.AM]:"Armenia",[i._F.SY]:"Syria",[i._F.TJ]:"Tajikistan",[i._F.SA]:"Saudi Arabia",[i._F.KR]:"South Korea",[i._F.NP]:"Nepal",[i._F.PH]:"Philippines",[i._F.IQ]:"Iraq",[i._F.LB]:"Lebanon",[i._F.MN]:"Mongolia",[i._F.PS]:"Palestine",[i._F.YE]:"Yemen",[i._F.JP]:"Japan",[i._F.KZ]:"Kazakhstan",[i._F.LK]:"Sri Lanka",[i._F.MM]:"Myanmar",[i._F.KG]:"Kyrgyzstan",[i._F.CN]:"China",[i._F.AF]:"Afghanistan",[i._F.OM]:"Oman",[i._F.IN]:"India",[i._F.LA]:"Laos",[i._F.UZ]:"Uzbekistan",[i._F.MV]:"Maldives",[i._F.ID]:"Indonesia",[i._F.VN]:"Vietnam",[i._F.MY]:"Malaysia",[i._F.TW]:"Taiwan",[i._F.KH]:"Cambodia",[i._F.AE]:"United Arab Emirates",[i._F.HK]:"Hong Kong",[i._F.GE]:"Georgia (Country)",[i._F.BD]:"Bangladesh",[i._F.KW]:"Kuwait",[i._F.TM]:"Turkmenistan",[i._F.QA]:"Qatar",[i._F.BH]:"Bahrain",[i._F.BN]:"Brunei",[i._F.TH]:"Thailand",[i._F.BT]:"Bhutan",[i._F.SG]:"Singapore",[i._F.IL]:"Israel",[i._F.AZ]:"Azerbaijan",[i._F.TL]:"Timor-Leste",[i._F.IR]:"Iran",[i._F.TR]:"Turkey",[i._F.MK]:"North Macedonia",[i._F.IE]:"Ireland",[i._F.DK]:"Denmark",[i._F.SK]:"Slovakia",[i._F.MD]:"Moldova",[i._F.AX]:"\xc5land Islands",[i._F.PL]:"Poland",[i._F.BA]:"Bosnia and Herzegovina",[i._F.SM]:"San Marino",[i._F.CZ]:"Czechia",[i._F.EE]:"Estonia",[i._F.XK]:"Kosovo",[i._F.FO]:"Faroe Islands",[i._F.SJ]:"Svalbard and Jan Mayen",[i._F.GG]:"Guernsey",[i._F.FR]:"France",[i._F.NL]:"Netherlands",[i._F.FI]:"Finland",[i._F.PT]:"Portugal",[i._F.DE]:"Germany",[i._F.MT]:"Malta",[i._F.JE]:"Jersey",[i._F.IS]:"Iceland",[i._F.ES]:"Spain",[i._F.GI]:"Gibraltar",[i._F.NO]:"Norway",[i._F.CY]:"Cyprus",[i._F.RS]:"Serbia",[i._F.LT]:"Lithuania",[i._F.MC]:"Monaco",[i._F.LU]:"Luxembourg",[i._F.UA]:"Ukraine",[i._F.IM]:"Isle of Man",[i._F.RO]:"Romania",[i._F.BE]:"Belgium",[i._F.SE]:"Sweden",[i._F.ME]:"Montenegro",[i._F.LV]:"Latvia",[i._F.VA]:"Vatican City",[i._F.AT]:"Austria",[i._F.AL]:"Albania",[i._F.LI]:"Liechtenstein",[i._F.GR]:"Greece",[i._F.IT]:"Italy",[i._F.AD]:"Andorra",[i._F.GB]:"United Kingdom",[i._F.RU]:"Russia",[i._F.SI]:"Slovenia",[i._F.BY]:"Belarus",[i._F.CH]:"Switzerland",[i._F.HU]:"Hungary",[i._F.BG]:"Bulgaria",[i._F.HR]:"Croatia",[i._F.TC]:"Turks and Caicos Islands",[i._F.CW]:"Cura\xe7ao",[i._F.GP]:"Guadeloupe",[i._F.UM]:"United States Minor Outlying Islands",[i._F.GT]:"Guatemala",[i._F.PM]:"Saint Pierre and Miquelon",[i._F.BQ]:"Caribbean Netherlands",[i._F.GL]:"Greenland",[i._F.SX]:"Sint Maarten",[i._F.PA]:"Panama",[i._F.AW]:"Aruba",[i._F.MQ]:"Martinique",[i._F.AG]:"Antigua and Barbuda",[i._F.BM]:"Bermuda",[i._F.CU]:"Cuba",[i._F.GD]:"Grenada",[i._F.NI]:"Nicaragua",[i._F.LC]:"Saint Lucia",[i._F.KN]:"Saint Kitts and Nevis",[i._F.DO]:"Dominican Republic",[i._F.VC]:"Saint Vincent and the Grenadines",[i._F.BZ]:"Belize",[i._F.HT]:"Haiti",[i._F.JM]:"Jamaica",[i._F.BS]:"Bahamas",[i._F.MX]:"Mexico",[i._F.MF]:"Saint Martin",[i._F.SV]:"El Salvador",[i._F.BL]:"Saint Barth\xe9lemy",[i._F.AI]:"Anguilla",[i._F.MS]:"Montserrat",[i._F.VG]:"British Virgin Islands",[i._F.BB]:"Barbados",[i._F.HN]:"Honduras",[i._F.KY]:"Cayman Islands",[i._F.DM]:"Dominica",[i._F.TT]:"Trinidad and Tobago",[i._F.CR]:"Costa Rica",[i._F.SR]:"Suriname",[i._F.CX]:"Christmas Island",[i._F.WS]:"Samoa",[i._F.PF]:"French Polynesia",[i._F.AS]:"American Samoa",[i._F.NC]:"New Caledonia",[i._F.TK]:"Tokelau",[i._F.PW]:"Palau",[i._F.KI]:"Kiribati",[i._F.VU]:"Vanuatu",[i._F.PN]:"Pitcairn Islands",[i._F.CK]:"Cook Islands",[i._F.FJ]:"Fiji",[i._F.PG]:"Papua New Guinea",[i._F.MP]:"Northern Mariana Islands",[i._F.NU]:"Niue",[i._F.TV]:"Tuvalu",[i._F.NF]:"Norfolk Island",[i._F.TO]:"Tonga",[i._F.FM]:"Micronesia",[i._F.SB]:"Solomon Islands",[i._F.NR]:"Nauru",[i._F.WF]:"Wallis and Futuna",[i._F.GU]:"Guam",[i._F.AU]:"Australia",[i._F.NZ]:"New Zealand",[i._F.MH]:"Marshall Islands",[i._F.CC]:"Cocos (Keeling) Islands",[i._F.VE]:"Venezuela",[i._F.PY]:"Paraguay",[i._F.BR]:"Brazil",[i._F.CO]:"Colombia",[i._F.PE]:"Peru",[i._F.CL]:"Chile",[i._F.UY]:"Uruguay",[i._F.AR]:"Argentina",[i._F.GY]:"Guyana",[i._F.BO]:"Bolivia",[i._F.GF]:"French Guiana",[i._F.EC]:"Ecuador",[i._F.FK]:"Falkland Islands",[i._F.US_AL]:"Alabama",[i._F.US_AK]:"Alaska",[i._F.US_AZ]:"Arizona",[i._F.US_AR]:"Arkansas",[i._F.US_CA]:"California",[i._F.US_CO]:"Colorado",[i._F.US_CT]:"Connecticut",[i._F.US_DE]:"Delaware",[i._F.US_DC]:"District of Columbia (DC)",[i._F.US_FL]:"Florida",[i._F.US_GA]:"Georgia",[i._F.US_HI]:"Hawaii",[i._F.US_ID]:"Idaho",[i._F.US_IL]:"Illinois",[i._F.US_IN]:"Indiana",[i._F.US_IA]:"Iowa",[i._F.US_KS]:"Kansas",[i._F.US_KY]:"Kentucky",[i._F.US_LA]:"Louisiana",[i._F.US_ME]:"Maine",[i._F.US_MD]:"Maryland",[i._F.US_MA]:"Massachusetts",[i._F.US_MI]:"Michigan",[i._F.US_MN]:"Minnesota",[i._F.US_MS]:"Mississippi",[i._F.US_MO]:"Missouri",[i._F.US_MT]:"Montana",[i._F.US_NE]:"Nebraska",[i._F.US_NV]:"Nevada",[i._F.US_NH]:"New Hampshire",[i._F.US_NJ]:"New Jersey",[i._F.US_NM]:"New Mexico",[i._F.US_NY]:"New York",[i._F.US_NC]:"North Carolina",[i._F.US_ND]:"North Dakota",[i._F.US_OH]:"Ohio",[i._F.US_OK]:"Oklahoma",[i._F.US_OR]:"Oregon",[i._F.US_PA]:"Pennsylvania",[i._F.US_PR]:"Puerto Rico",[i._F.US_RI]:"Rhode Island",[i._F.US_SC]:"South Carolina",[i._F.US_SD]:"South Dakota",[i._F.US_TN]:"Tennessee",[i._F.US_TX]:"Texas",[i._F.US_UT]:"Utah",[i._F.US_VA]:"Virginia",[i._F.US_VI]:"United States Virgin Islands",[i._F.US_VT]:"Vermont",[i._F.US_WA]:"Washington",[i._F.US_WV]:"West Virginia",[i._F.US_WI]:"Wisconsin",[i._F.US_WY]:"Wyoming",[i._F.CA_AB]:"Alberta",[i._F.CA_BC]:"British Columbia",[i._F.CA_MB]:"Manitoba",[i._F.CA_NB]:"New Brunswick",[i._F.CA_NL]:"Newfoundland and Labrador",[i._F.CA_NS]:"Nova Scotia",[i._F.CA_ON]:"Ontario",[i._F.CA_PE]:"Prince Edward Island",[i._F.CA_QC]:"Quebec",[i._F.CA_SK]:"Saskatchewan",[i._F.CA_NT]:"Northwest Territories",[i._F.CA_NU]:"Nunavut",[i._F.CA_YT]:"Yukon",[i._F.CA]:"Canada",[i._F.US]:"United States",[i._F.MEXICO_CENTRAL_AMERICA]:"Mexico and Central America",[i._F.CARIBBEAN]:"Caribbean",[i._F.EEA]:"European Economic Area (EEA)",[i._F.NON_EEA]:"Non European Economic Area",[i._F.GLOBAL]:"Global"},s=new Map(Object.entries(t));Object.entries(t).map(a=>({value:a[0],label:a[1]}))},14908:function(a,e,n){"use strict";var i=n(86677),t=n(27378);let s=a=>a.startsWith("#")?a.slice(1):a;e.Z=a=>{let{tabKeys:e,initialTab:n}=a,r=(0,i.useRouter)(),o=r.asPath.split("#")[1]||e[0],[_,l]=(0,t.useState)(o);return(0,t.useEffect)(()=>{n&&e.includes(n)&&l(n)},[n,e,r.isReady]),{activeTab:_,onTabChange:(0,t.useCallback)(async a=>{if(!e.includes(a)){l(e[0]),await r.replace({pathname:r.pathname,query:r.query,hash:void 0});return}l(a),r.isReady&&await r.replace({pathname:r.pathname,query:r.query,hash:s(a)},void 0,{shallow:!0})},[r,e])}}},77685:function(a,e,n){"use strict";n.d(e,{i:function(){return M}});var i=n(24246),t=n(13577),s=n(34090),r=n(27378),o=n(55484),_=n(16134),l=n(25980),F=n(97181),d=n(40324),u=n(812),c=n(14047),m=n(45938),h=n(8133),S=n(33335),y=n(32885),C=n(57865),g=n(93237),p=n(65450),f=n(36345);let{Text:v}=t.AntTypography,b={name:"",vendor_id:void 0,description:"",tags:[]},M=a=>{let{onSuccessfulSubmit:e,toastOnSuccess:n,...M}=a,[A,N]=(0,r.useState)(!1),U=(0,_.T)(),{tcf:I,dictionaryService:x}=(0,l.hz)(),{isLoading:T}=(0,y.Rd)(void 0,{skip:!x}),j=(0,_.C)(y.o),w=(0,_.C)(C.gU),[B]=(0,p.in)(),[E]=(0,y.Qk)(),[k]=(0,p.f7)(),{successAlert:G,errorAlert:L}=(0,c.V)(),{setSuggestions:R,setLockedForGVL:P}=C.dictSuggestionsSlice.actions,K=(0,r.useRef)(null),D=(0,r.useMemo)(()=>o.Ry().shape({name:o.Z_().required().label("System name").test("is-unique","",async(a,e)=>{let{data:n}=await B({page:1,size:10,search:a});return!((null==n?void 0:n.items)||[]).filter(e=>e.name===a).some(e=>e.name===a)||e.createError({message:'You already have a system called "'.concat(a,'". Please specify a unique name for this system.')})})}),[B]),O=a=>{if(x){if(!a){U(R("hiding")),U(P(!1));return}U(R("showing")),I&&(0,u.cj)(a)===u.c6.GVL?U(P(!0)):U(P(!1))}},W=()=>{M.onClose(),U(R("initial")),U(P(!1))},V=async a=>{if(N(!0),a.vendor_id){let i=await E([a.vendor_id]);if((0,u.D4)(i))L((0,u.e$)(i.error));else{let{data:a}=i,t=a.systems[0];null==e||e(t.fides_key,t.name),n&&G("".concat(a.name," has been added to your system inventory."))}}else{let i={...a,fides_key:(0,S.E)(a.name),system_type:"",body:"",privacy_declarations:[]},t=await k(i);if((0,u.D4)(t))L((0,u.e$)(t.error));else{let{fides_key:i,name:s}=t.data;null==e||e(i,s),n&&G("".concat(a.name," has been added to your system inventory."))}W()}N(!1)};return(0,i.jsx)(h.Z,{title:"Add New System",...M,onClose:W,children:(0,i.jsx)(s.J9,{initialValues:b,onSubmit:V,validationSchema:D,innerRef:K,children:a=>{let{dirty:e,isValid:n}=a;return(0,i.jsxs)(s.l0,{children:[(0,i.jsx)(m.Gt,{id:"new-system-modal",name:"Add New System"}),(0,i.jsxs)(t.jqI,{vertical:!0,gap:20,className:"pb-6 pt-4",children:[(0,i.jsx)(v,{children:"Fides will add this system to your inventory and configure it for consent using the categories of consent listed below. Optionally, you can check if this system is listed within the Fides compass library by selecting the compass icon below."}),x?(0,i.jsx)(f.Z,{label:"System name",options:j,onVendorSelected:O,isCreate:!0,lockedForGVL:w,isLoading:T}):(0,i.jsx)(d.j0,{id:"name",name:"name",label:"System name",tooltip:"Give the system a unique, and relevant name for reporting purposes. e.g. “Email Data Warehouse”",variant:"stacked",isRequired:!0}),(0,i.jsx)(g.Sv,{id:"description",name:"description",label:"Description",tooltip:"What services does this system perform?",disabled:w}),(0,i.jsx)(F.d,{mode:"tags",id:"tags",name:"tags",label:"System Tags",options:[],layout:"stacked",tooltip:"Are there any tags to associate with this system?",disabled:w})]}),(0,i.jsxs)(t.jqI,{justify:"space-between",children:[(0,i.jsx)(t.wpx,{htmlType:"reset",onClick:W,disabled:T||!e||!n,"data-testid":"cancel-btn",children:"Cancel"}),(0,i.jsx)(t.wpx,{htmlType:"submit",type:"primary",disabled:T||!e||!n,loading:A,"data-testid":"save-btn",children:"Save"})]})]})}})})}},93237:function(a,e,n){"use strict";n.d(e,{Sv:function(){return m},Yb:function(){return c},dQ:function(){return h},lm:function(){return S}});var i=n(24246),t=n(13577),s=n(34090),r=n(27378),o=n(16134),_=n(40324),l=n(46238),F=n(32885),d=n(57865);let u=(a,e,n)=>{var i,t;let[_,l,{setValue:u,setTouched:c}]=(0,s.U$)({name:a,type:n||void 0}),m=!!(l.touched&&l.error),{error:h}=l,S={..._,value:null!==(i=_.value)&&void 0!==i?i:""},[y,C]=(0,r.useState)(null!==(t=S.value)&&void 0!==t?t:""),{values:g}=(0,s.u6)(),{vendor_id:p}=g,f=(0,o.C)((0,F.$e)(p||"")),v=(0,o.C)(d.bN),b=(0,r.useRef)();return(0,r.useEffect)(()=>{"showing"===v&&C(S.value)},[v,C]),(0,r.useEffect)(()=>{if("showing"===v&&f){let n=e?e(f):f[a];S.value!==n&&(u(n),setTimeout(()=>{var a;c(!0),null===(a=b.current)||void 0===a||a.blur()},300))}},[v,u,f,b.current]),(0,r.useEffect)(()=>{"hiding"===v&&u(y)},[v,u,y]),{field:S,isInvalid:m,isShowingSuggestions:v,error:h,inputRef:b}},c=a=>{let{label:e,tooltip:n,disabled:s,isRequired:r=!1,dictField:o,name:F,placeholder:d,id:c}=a,{field:m,isInvalid:h,isShowingSuggestions:S,error:y,inputRef:C}=u(F,o);return(0,i.jsx)(t.NIc,{isInvalid:h,isRequired:r,children:(0,i.jsxs)(t.gCW,{alignItems:"start",children:[(0,i.jsxs)(t.kCb,{alignItems:"center",children:[(0,i.jsx)(_.__,{htmlFor:c||F,fontSize:"xs",my:0,mr:1,children:e}),(0,i.jsx)(l.b,{label:n})]}),(0,i.jsx)(_.oi,{...m,ref:C,isRequired:r,isDisabled:s,"data-testid":"input-".concat(m.name),placeholder:d,isPassword:!1,color:"showing"===S?"complimentary.500":"gray.800"}),(0,i.jsx)(_.Bc,{isInvalid:h,message:y,fieldName:m.name})]})})},m=a=>{let{label:e,tooltip:n,disabled:s,isRequired:r=!1,dictField:o,name:F,id:d}=a,{field:c,isInvalid:m,isShowingSuggestions:h,error:S}=u(F,o);return(0,i.jsx)(t.NIc,{isInvalid:m,isRequired:r,children:(0,i.jsxs)(t.gCW,{alignItems:"start",children:[(0,i.jsxs)(t.kCb,{alignItems:"center",children:[(0,i.jsx)(_.__,{htmlFor:d||F,fontSize:"xs",my:0,mr:1,children:e}),(0,i.jsx)(l.b,{label:n})]}),(0,i.jsx)(t.gxH,{...c,size:"sm","data-testid":"input-".concat(c.name),focusBorderColor:"primary.600",color:"showing"===h?"complimentary.500":"gray.800",isDisabled:s}),(0,i.jsx)(_.Bc,{isInvalid:m,message:S,fieldName:c.name})]})})},h=a=>{let{label:e,tooltip:n,dictField:r,name:o,id:F,disabled:d}=a,{field:c,isInvalid:m,error:h}=u(o,r,"checkbox");return(0,i.jsxs)(t.NIc,{isInvalid:m,width:"full",children:[(0,i.jsxs)(t.xuv,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[(0,i.jsxs)(t.Ugi,{spacing:1,children:[(0,i.jsx)(_.__,{htmlFor:F||o,fontSize:"xs",my:0,mr:0,children:e}),(0,i.jsx)(l.b,{label:n})]}),(0,i.jsx)(t.Ugi,{children:(0,i.jsx)(s.gN,{name:c.name,children:a=>{let{form:{setFieldValue:e}}=a;return(0,i.jsx)(t.rAg,{checked:c.checked,onChange:a=>{e(c.name,a)},disabled:d,className:"mr-2","data-testid":"input-".concat(c.name),size:"small"})}})})]}),(0,i.jsx)(_.Bc,{isInvalid:m,message:h,fieldName:c.name})]})},S=a=>{let{label:e,tooltip:n,dictField:r,name:o,id:F,disabled:d}=a,{field:c,isInvalid:m,error:h,isShowingSuggestions:S}=u(o,r,"numeric"),{setFieldValue:y}=(0,s.u6)();return(0,i.jsxs)(t.NIc,{isInvalid:m,width:"full",children:[(0,i.jsxs)(t.xuv,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[(0,i.jsxs)(t.Ugi,{spacing:1,children:[(0,i.jsx)(_.__,{htmlFor:F||o,fontSize:"xs",my:0,mr:0,children:e}),(0,i.jsx)(l.b,{label:n})]}),(0,i.jsx)(t.Ugi,{children:(0,i.jsxs)(t.Y2U,{value:c.value,name:c.name,size:"xs",onBlur:c.onBlur,onChange:a=>{y(c.name,a)},w:"100%",colorScheme:"terracotta",inputMode:"numeric","data-testid":"input-".concat(c.name),color:"showing"===S?"complimentary.500":"gray.800",focusBorderColor:"primary.600",isDisabled:d,children:[(0,i.jsx)(t.zuI,{}),(0,i.jsxs)(t.FiK,{children:[(0,i.jsx)(t.WQu,{}),(0,i.jsx)(t.Y_d,{})]})]})})]}),(0,i.jsx)(_.Bc,{isInvalid:m,message:h,fieldName:c.name})]})}},99830:function(a){a.exports={toastLink:"ToastLink_toastLink__OLSeq"}}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4154],{58095:function(e,t,s){var n=s(8817);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},21796:function(e){e.exports=function(e,t,s){for(var n=-1,r=null==e?0:e.length;++n<r;)if(s(t,e[n]))return!0;return!1}},8817:function(e,t,s){var n=s(95372),r=s(1129),a=s(58263);e.exports=function(e,t,s){return t==t?a(e,t,s):n(e,r,s)}},1129:function(e){e.exports=function(e){return e!=e}},92198:function(e,t,s){var n=s(52485),r=s(58095),a=s(21796),o=s(65581),i=s(47111),l=s(43735);e.exports=function(e,t,s){var d=-1,c=r,u=e.length,g=!0,m=[],h=m;if(s)g=!1,c=a;else if(u>=200){var v=t?null:i(e);if(v)return l(v);g=!1,c=o,h=new n}else h=t?[]:m;e:for(;++d<u;){var y=e[d],p=t?t(y):y;if(y=s||0!==y?y:0,g&&p==p){for(var f=h.length;f--;)if(h[f]===p)continue e;t&&h.push(p),m.push(y)}else c(h,p,s)||(h!==m&&h.push(p),m.push(y))}return m}},47111:function(e,t,s){var n=s(46151),r=s(50344),a=s(43735),o=n&&1/a(new n([,-0]))[1]==1/0?function(e){return new n(e)}:r;e.exports=o},58263:function(e){e.exports=function(e,t,s){for(var n=s-1,r=e.length;++n<r;)if(e[n]===t)return n;return -1}},50344:function(e){e.exports=function(){}},83766:function(e,t,s){var n=s(92198);e.exports=function(e){return e&&e.length?n(e):[]}},25654:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-discovery/action-center/[monitorId]/[systemId]",function(){return s(56514)}])},35287:function(e,t,s){"use strict";var n=s(24246),r=s(13577),a=s(88038),o=s.n(a);s(27378),t.Z=e=>{let{children:t,title:s,mainProps:a}=e;return(0,n.jsxs)(r.kCb,{"data-testid":s,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,n.jsxs)(o(),{children:[(0,n.jsxs)("title",{children:["Fides Admin UI - ",s]}),(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,...a,children:t})]})}},14047:function(e,t,s){"use strict";s.d(t,{H:function(){return a},V:function(){return n.V}});var n=s(84306),r=s(812);let a=()=>{let{errorAlert:e}=(0,n.V)();return{handleError:t=>{let s="An unexpected error occurred. Please try again.";(0,r.Ot)(t)?s=t.data.detail:(0,r.tB)(t)&&(s=t.data.detail[0].msg),e(s)}}}},84306:function(e,t,s){"use strict";s.d(t,{V:function(){return a}});var n=s(24246),r=s(13577);let a=()=>{let e=(0,r.pmc)();return{errorAlert:(t,s,a)=>{let o={...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:[s&&(0,n.jsx)(r.CdC,{children:s}),(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,o):e(o)},successAlert:(t,s,a)=>{let o={...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:[s&&(0,n.jsx)(r.CdC,{children:s}),(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,o):e(o)}}}},45938:function(e,t,s){"use strict";s.d(t,{Gt:function(){return g},eB:function(){return m},oI:function(){return u}});var n=s(24246),r=s(34090),a=s(27378),o=s(16134),i=s(38602),l=s(58452);let d=(0,a.createRef)(),c=(0,a.createRef)(),u=()=>{let e=(0,o.T)(),t=(0,o.C)(i.DB),s=(0,a.useCallback)(()=>{c.current=void 0,d.current=void 0},[]),n=(0,a.useCallback)(()=>{e((0,i.Mr)()),c.current&&(c.current(!0),s())},[e,s]),r=(0,a.useCallback)(()=>{e((0,i.Mr)()),c.current&&(c.current(!1),s())},[e,s]);return{attemptAction:(0,a.useCallback)(()=>t?(e((0,i.h7)()),d.current||(d.current=new Promise(e=>{c.current=e})),d.current):Promise.resolve(!0),[t,e]),onConfirm:n,onClose:r}},g=e=>{let{id:t,name:s}=e,{dirty:n}=(0,r.u6)(),l=(0,o.T)();return(0,a.useEffect)(()=>(l((0,i.Zu)({id:t,name:s})),()=>{l((0,i.dz)({id:t}))}),[l,t,s]),(0,a.useEffect)(()=>{l((0,i.$p)({id:t,isDirty:n}))},[n,l,t]),null},m=()=>{let{onConfirm:e,onClose:t}=u(),s=(0,o.C)(i.uv);return(0,n.jsx)(l.Z,{isOpen:s,onClose:t,onConfirm:e,isCentered:!0,title:"Unsaved Changes",message:"You have unsaved changes"})}},54762:function(e,t,s){"use strict";s.d(t,{l:function(){return i}});var n=s(24246),r=s(13577),a=s(62165),o=s(73825);let i=e=>{let{consentStatus:t}=e,{flags:s}=(0,a.hz)(),{assetConsentStatusLabels:i}=s;return i&&(null==t?void 0:t.status)===o.pF.ALERT?(0,n.jsx)(r.esZ,{title:null==t?void 0:t.message,"data-testid":"discovery-status-icon-alert-tooltip",children:(0,n.jsx)("div",{className:"mb-px","data-testid":"discovery-status-icon-alert",children:(0,n.jsx)(r.PJP.OdJ,{style:{color:"var(--fidesui-error)"}})})}):null}},9320:function(e,t,s){"use strict";s.d(t,{_:function(){return a}});var n=s(24246),r=s(26089);let a=(e,t)=>(0,n.jsxs)(n.Fragment,{children:[e," ",t&&(0,n.jsx)(r.Z,{onClick:t,children:"View"})]})},37059:function(e,t,s){"use strict";s.d(t,{Ak:function(){return v},EY:function(){return u},Tj:function(){return m},Ud:function(){return o},Vr:function(){return y},WJ:function(){return l},mi:function(){return p},nP:function(){return c},nS:function(){return g},rs:function(){return d},sX:function(){return h},wi:function(){return i}});var n=s(78780),r=s(16394),a=s(73825);let{useGetAggregateMonitorResultsQuery:o,useGetDiscoveredSystemAggregateQuery:i,useGetDiscoveredAssetsQuery:l,useAddMonitorResultSystemsMutation:d,useIgnoreMonitorResultSystemsMutation:c,useAddMonitorResultAssetsMutation:u,useIgnoreMonitorResultAssetsMutation:g,useRestoreMonitorResultAssetsMutation:m,useUpdateAssetsSystemMutation:h,useUpdateAssetsDataUseMutation:v,useUpdateAssetsMutation:y,useGetConsentBreakdownQuery:p}=n.u.injectEndpoints({endpoints:e=>({getAggregateMonitorResults:e.query({query:e=>{let{page:t=1,size:s=20,search:n}=e;return{url:"/plus/discovery-monitor/aggregate-results",params:{page:t,size:s,search:n,diff_status:"addition"}}},providesTags:["Discovery Monitor Results"]}),getDiscoveredSystemAggregate:e.query({query:e=>{let{key:t,page:s=1,size:n=20,search:r,diff_status:a}=e;return{url:"/plus/discovery-monitor/system-aggregate-results",params:{monitor_config_id:t,page:s,size:n,search:r,diff_status:a}}},providesTags:["Discovery Monitor Results"]}),getDiscoveredAssets:e.query({query:e=>{let{key:t,system:s,page:n=1,size:a=20,search:o,diff_status:i,sort_by:l=["consent_aggregated","urn"],sort_asc:d=!0}=e;return{url:"/plus/discovery-monitor/".concat(t,"/results?").concat((0,r.du)(Array.isArray(l)?l:[l],"sort_by")),params:{resolved_system_id:s,page:n,size:a,search:o,diff_status:i,sort_asc:d}}},providesTags:()=>["Discovery Monitor Results"]}),addMonitorResultSystems:e.mutation({query:e=>{let{monitor_config_key:t,resolved_system_ids:s}=e,n=(0,r.du)(s,"resolved_system_ids");return{method:"POST",url:"/plus/discovery-monitor/".concat(t,"/promote?").concat(n)}},invalidatesTags:["Discovery Monitor Results"]}),ignoreMonitorResultSystems:e.mutation({query:e=>{let{monitor_config_key:t,resolved_system_ids:s}=e,n=(0,r.du)(s,"resolved_system_ids");return{method:"POST",url:"/plus/discovery-monitor/".concat(t,"/mute?").concat(n)}},invalidatesTags:["Discovery Monitor Results"]}),addMonitorResultAssets:e.mutation({query:e=>{var t;let s=new URLSearchParams;return null===(t=e.urnList)||void 0===t||t.forEach(e=>s.append("staged_resource_urns",e)),{method:"POST",url:"/plus/discovery-monitor/promote?".concat(s)}},invalidatesTags:["Discovery Monitor Results"]}),ignoreMonitorResultAssets:e.mutation({query:e=>{var t;let s=new URLSearchParams;return null===(t=e.urnList)||void 0===t||t.forEach(e=>s.append("staged_resource_urns",e)),{method:"POST",url:"/plus/discovery-monitor/mute?".concat(s)}},invalidatesTags:["Discovery Monitor Results"]}),restoreMonitorResultAssets:e.mutation({query:e=>{var t;let s=new URLSearchParams({status_to_set:a.LL.ADDITION});return null===(t=e.urnList)||void 0===t||t.forEach(e=>s.append("staged_resource_urns",e)),{method:"POST",url:"/plus/discovery-monitor/un-mute?".concat(s)}},invalidatesTags:["Discovery Monitor Results"]}),updateAssetsSystem:e.mutation({query:e=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(e.monitorId,"/results"),body:e.urnList.map(t=>({urn:t,user_assigned_system_key:e.systemKey}))}),invalidatesTags:["Discovery Monitor Results","System Assets"]}),updateAssetsDataUse:e.mutation({query:e=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(e.monitorId,"/results"),body:e.urnList.map(t=>({urn:t,user_assigned_data_uses:e.dataUses}))}),invalidatesTags:["Discovery Monitor Results"]}),updateAssets:e.mutation({query:e=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(e.monitorId,"/results"),body:e.assets}),invalidatesTags:["Discovery Monitor Results"]}),getConsentBreakdown:e.query({query:e=>{let{stagedResourceUrn:t,status:s,page:n=1,size:r=20}=e;return{url:"/plus/discovery-monitor/staged_resource/".concat(encodeURIComponent(t),"/consent"),params:{status:s,page:n,size:r}}}})})})},88708:function(e,t,s){"use strict";s.d(t,{A:function(){return r}});var n,r,a=s(27378),o=s(14908),i=s(73825);(n=r||(r={})).ATTENTION_REQUIRED="attention-required",n.RECENT_ACTIVITY="recent-activity",n.IGNORED="ignored",t.Z=e=>{let{activeTab:t,onTabChange:s}=(0,o.Z)({tabKeys:Object.values(r)}),n=(0,a.useMemo)(()=>[{label:"Attention required",params:{diff_status:[i.LL.ADDITION],system:e},hash:"attention-required"},{label:"Recent activity",params:{diff_status:[i.LL.MONITORED]},hash:"recent-activity"},{label:"Ignored",params:{diff_status:[i.LL.MUTED],system:e},hash:"ignored"}],[e]),{diff_status:l,system:d}=(0,a.useMemo)(()=>{var e;return null!==(e=n.find(e=>e.hash===t))&&void 0!==e?e:n[0]},[n,t]).params,c=(0,a.useMemo)(()=>l.includes(i.LL.MONITORED),[l]);return{filterTabs:n,activeTab:t,onTabChange:s,activeParams:(0,a.useMemo)(()=>e?{diff_status:l,system:d}:{diff_status:l},[e,l,d]),actionsDisabled:c}}},78238:function(e,t,s){"use strict";s.d(t,{g:function(){return n}});let n=["essential","functional.service.improve","personalize","analytics","marketing.advertising.first_party.targeted","marketing.advertising.third_party.targeted"];t.Z=e=>n.includes(e)},56514:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return Y}});var n=s(24246),r=s(86677),a=s(27378),o=s(35287),i=s(77830),l=s(58754),d=s(59003),c=s(92222),u=s(13577),g=s(83766),m=s.n(g),h=s(812),v=s(47935),y=s(46628),p=s(73825),f=s(30952),x=s(37059),j=s(8133),_=s(79283),w=s(34929),b=s(78238),C=e=>{let{selectedTaxonomies:t,...s}=e,{getDataUseDisplayNameProps:r,getDataUses:a}=(0,w.Z)(),o=a().filter(e=>e.active&&b.g.includes(e.fides_key)).map(e=>{let{name:t,primaryName:s}=r(e.fides_key);return{value:e.fides_key,name:t,primaryName:s,description:e.description||""}});return(0,n.jsx)(_.l,{options:o,...s})};let{Text:k}=u.AntTypography;var S=e=>{let{onSave:t,isSaving:s,onClose:r,...o}=e,[i,l]=(0,a.useState)([]),d=()=>{l([]),r()};return(0,n.jsxs)(j.Z,{title:"Add consent category",...o,onClose:d,children:[(0,n.jsxs)(u.jqI,{vertical:!0,gap:20,className:"pb-6 pt-4",children:[(0,n.jsx)(k,{children:"Assign consent categories to selected assets. This configures the system for consent management. Consent categories apply to both individual assets and the system."}),(0,n.jsx)(C,{mode:"tags",selectedTaxonomies:i,onSelect:(e,t)=>l([...i,t.value]),variant:"outlined"})]}),(0,n.jsxs)(u.jqI,{justify:"space-between",children:[(0,n.jsx)(u.wpx,{htmlType:"reset",onClick:d,"data-testid":"cancel-btn",children:"Cancel"}),(0,n.jsx)(u.wpx,{htmlType:"submit",type:"primary",disabled:!i.length,loading:s,onClick:()=>{t(i),d()},"data-testid":"save-btn",children:"Save"})]})]})},T=s(29850),R=s(77685);let{Text:A}=u.AntTypography,I=e=>{let{onSave:t,isSaving:s,...r}=e,[o,i]=(0,a.useState)(),[l,d]=(0,a.useState)(!1),c=(0,a.useCallback)(e=>{e.preventDefault(),d(!0)},[]),g=()=>{d(!1)},m=()=>{i(void 0),r.onClose()};return(0,n.jsxs)(j.Z,{title:"Assign system",...r,onClose:m,children:[(0,n.jsxs)(u.jqI,{vertical:!0,gap:20,className:"pb-6 pt-4",children:[(0,n.jsx)(A,{children:"Assign a system to the selected assets. If no system exists, select 'Add new system' to create one."}),(0,n.jsx)(T.R,{placeholder:"Search or select...",onSelect:(e,t)=>{i(t)},onAddSystem:c,value:o})]})," ",(0,n.jsxs)(u.jqI,{justify:"space-between",children:[(0,n.jsx)(u.wpx,{htmlType:"reset",onClick:m,"data-testid":"cancel-btn",children:"Cancel"}),(0,n.jsx)(u.wpx,{htmlType:"submit",type:"primary",disabled:!o,loading:s,onClick:()=>{t(o),m()},"data-testid":"save-btn",children:"Save"})]}),l&&(0,n.jsx)(R.i,{isOpen:!0,onClose:g,onSuccessfulSubmit:(e,t)=>{g(),i({label:t,value:e})},toastOnSuccess:!0})]})};var D=s(8411);let{Paragraph:P,Text:L,Link:E}=u.AntTypography,M=e=>{var t,s,r;let{isOpen:o,stagedResource:i,status:l,onCancel:d,onDownload:c}=e,[g,m]=(0,a.useState)(1),[h,y]=(0,a.useState)(v.W3[0]),{data:p,isFetching:f,isError:j}=(0,x.mi)({stagedResourceUrn:i.urn,status:l,page:g,size:h}),{items:_,total:w}=(0,a.useMemo)(()=>p||{items:[],total:0,pages:0,filterOptions:{assigned_users:[],systems:[]}},[p]);return(0,n.jsx)(u.$zI,{title:"Consent discovery",width:768,open:o,onCancel:d,footer:[(0,n.jsx)(u.wpx,{onClick:d,children:"Cancel"},"cancel"),!!c&&(0,n.jsx)(u.wpx,{type:"primary",onClick:c,children:"Download"},"download")],"data-testid":"consent-breakdown-modal",children:(0,n.jsxs)(u.jqI,{vertical:!0,className:"gap-6","data-testid":"consent-breakdown-modal-content",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(P,{children:"View all instances where this asset was detected without consent, organized by location and page. Use this to investigate potential compliance issues."}),(0,n.jsxs)(P,{children:[(0,n.jsx)(L,{strong:!0,children:"Asset name:"})," ",null!==(t=i.name)&&void 0!==t?t:(0,n.jsx)(L,{italic:!0,children:"Unknown"}),","," ",(0,n.jsx)(L,{strong:!0,children:"System:"})," ",null!==(s=i.system)&&void 0!==s?s:(0,n.jsx)(L,{italic:!0,children:"Unassigned"}),","," ",(0,n.jsx)(L,{strong:!0,children:"Domain:"})," ",null!==(r=i.domain)&&void 0!==r?r:(0,n.jsx)(L,{italic:!0,children:"Unknown"})]})]}),j?(0,n.jsx)(u.DUx,{type:"error",message:"Error fetching data",description:"Please try again later.",showIcon:!0}):(0,n.jsx)(u.V5H,{columns:[{title:"Location",dataIndex:"location",key:"location",render:e=>{var t;return null!==(t=D.Z8[e])&&void 0!==t?t:e}},{title:"Page",dataIndex:"page",key:"page",render:e=>(0,n.jsx)(E,{href:e,target:"_blank",rel:"noopener noreferrer",children:e})}],dataSource:_,pagination:!!w&&(g>1||h>v.W3[0])&&{current:g,pageSize:h,total:w||0,showSizeChanger:!0,pageSizeOptions:v.W3,showTotal:(e,t)=>"".concat(t[0],"-").concat(t[1]," of ").concat(e," items"),onChange:(e,t)=>{m(e),t!==h&&(y(t),m(1))}},loading:f,"data-testid":"consent-breakdown-modal-table"})]})})};var N=s(88708),O=s(62165),U=s(72625),Z=s(54762),z=s(9320);let V=e=>{let{asset:t,onTabChange:s}=e,[a,{isLoading:o}]=(0,x.EY)(),[l,{isLoading:d}]=(0,x.nS)(),[c,{isLoading:g}]=(0,x.Tj)(),m=(0,u.pmc)(),v=(0,r.useRouter)(),f=o||d||g,{urn:j,name:_,resource_type:w,diff_status:b,system_key:C,user_assigned_system_key:k}=t,S=async()=>{let e=await a({urnList:[j]});if((0,h.D4)(e))m((0,y.Vo)((0,h.e$)(e.error)));else{let e=k||C,t="".concat(i.So,"/configure/").concat(e,"#assets");m((0,y.t5)((0,z._)("".concat(w,' "').concat(_,'" has been added to the system inventory.'),e?()=>v.push(t):void 0)))}},T=async()=>{let e=await l({urnList:[j]});(0,h.D4)(e)?m((0,y.Vo)((0,h.e$)(e.error))):m((0,y.t5)((0,z._)("".concat(w,' "').concat(_,'" has been ignored and will not appear in future scans.'),()=>s(N.A.IGNORED))))},R=async()=>{let e=await c({urnList:[j]});(0,h.D4)(e)?m((0,y.Vo)((0,h.e$)(e.error))):m((0,y.t5)("".concat(w,' "').concat(_,'" is no longer ignored and will appear in future scans.')))};return(0,n.jsxs)(u.vyj,{children:[b!==p.LL.MUTED&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u.esZ,{title:t.system?void 0:"This asset requires a system before you can add it to the inventory.",children:(0,n.jsx)(u.wpx,{"data-testid":"add-btn",size:"small",onClick:S,disabled:!t.system||f,loading:o,children:"Add"})}),(0,n.jsx)(u.wpx,{"data-testid":"ignore-btn",size:"small",onClick:T,disabled:f,loading:d,children:"Ignore"})]}),b===p.LL.MUTED&&(0,n.jsx)(u.wpx,{"data-testid":"restore-btn",size:"small",onClick:R,disabled:f,loading:g,children:"Restore"})]})};var q=s(14047),W=s(26183),$=s(31883),H=e=>{var t;let{asset:s,readonly:r}=e,[o,i]=(0,a.useState)(!1),[l]=(0,x.Ak)(),{successAlert:d,errorAlert:c}=(0,q.V)(),{getDataUseDisplayName:g}=(0,w.Z)(),m=s.user_assigned_data_uses||s.data_uses||[],v=async e=>{let t=await l({monitorId:s.monitor_config_id,urnList:[s.urn],dataUses:[...m,e]});(0,$.D4)(t)?c((0,h.e$)(t.error)):d("Consent category added to ".concat(s.resource_type,' "').concat(s.name,'" .'),"Confirmed"),i(!1)},y=async e=>{let t=await l({monitorId:s.monitor_config_id,urnList:[s.urn],dataUses:m.filter(t=>t!==e)});(0,$.D4)(t)?c((0,h.e$)(t.error)):d("Consent category removed from ".concat(s.resource_type,' "').concat(s.name,'".'),"Confirmed")},p=(null===(t=s.user_assigned_data_uses)||void 0===t?void 0:t.length)?s.user_assigned_data_uses:s.data_uses,f=null==p?void 0:p.filter(e=>(0,b.Z)(e));return r?(0,n.jsx)(W.Z,{children:null==f?void 0:f.map(e=>(0,n.jsx)(u.j8w,{color:"white",children:g(e)},e))}):(0,n.jsxs)(W.Z,{children:[!o&&(0,n.jsxs)(n.Fragment,{children:[null==f?void 0:f.map(e=>(0,n.jsx)(u.j8w,{"data-testid":"data-use-".concat(e),color:"white",closable:!0,onClose:()=>y(e),closeButtonLabel:"Remove data use",children:g(e)},e)),(0,n.jsx)(u.j8w,{onClick:()=>i(!0),"data-testid":"taxonomy-add-btn",addable:!0,"aria-label":"Add data use"})]}),o&&(0,n.jsx)(u.xuv,{className:"select-wrapper",position:"absolute",zIndex:10,top:"0",left:"0",width:"100%",height:"max",bgColor:"#fff",children:(0,n.jsx)(C,{selectedTaxonomies:f||[],onSelect:v,onBlur:()=>i(!1),open:!0})})]})};let B=e=>{let{consentAggregated:t,stagedResource:s,onShowBreakdown:r}=e;return(0,n.jsxs)(n.Fragment,{children:[t===p.lg.WITHOUT_CONSENT&&(0,n.jsx)(u.esZ,{title:"Asset was detected before the user gave consent or without any consent. Click the info icon for more details.",children:(0,n.jsx)(u.j8w,{color:"error",closeIcon:(0,n.jsx)(u.PJP.daM,{style:{width:12,height:12}}),closeButtonLabel:"View details",onClose:()=>{null==r||r(s,t)},"data-testid":"status-badge_without-consent",children:"Without consent"})}),t===p.lg.WITH_CONSENT&&(0,n.jsx)(u.esZ,{title:"Asset was detected after the user gave consent",children:(0,n.jsx)(u.j8w,{color:"success","data-testid":"status-badge_with-consent",children:"With consent"})}),t===p.lg.EXEMPT&&(0,n.jsx)(u.esZ,{title:"Asset is valid regardless of consent",children:(0,n.jsx)(u.j8w,{"data-testid":"status-badge_consent-exempt",children:"Consent exempt"})}),t===p.lg.UNKNOWN&&(0,n.jsx)(u.esZ,{title:"Did not find consent information for this asset. You may need to re-run the monitor.",children:(0,n.jsx)(u.j8w,{"data-testid":"status-badge_unknown",children:"Unknown"})})]})};var K=s(43862),F=s(70675);let J=e=>{let{aggregateSystem:t,monitorConfigId:s,readonly:r}=e,{resource_type:o,name:i,urn:l,system:d,user_assigned_system_key:c,system_key:g}=t,[m,v]=(0,a.useState)(!1),[y,p]=(0,a.useState)(!1),[f,{isLoading:x}]=(0,F.NA)(),{successAlert:j,errorAlert:_}=(0,q.V)(),w=(0,a.useCallback)(e=>{e.preventDefault(),p(!0)},[]),b=async(e,t,n)=>{let r=await f({staged_resource_urn:l,monitor_config_id:s,user_assigned_system_key:e});(0,h.D4)(r)?_((0,h.e$)(r.error)):j(n?"".concat(t," has been added to your system inventory and the ").concat(o,' "').concat(i,'" has been assigned to that system.'):"".concat(o,' "').concat(i,'" has been assigned to ').concat(t,"."),"Confirmed"),v(!1)};return r?(0,n.jsx)("div",{style:(0,K.J9)(),children:(0,n.jsx)(u.j8w,{"data-testid":"system-badge",color:"white",children:d})}):(0,n.jsxs)(n.Fragment,{children:[!m&&(0,n.jsx)("div",{style:(0,K.J9)(),children:d?(0,n.jsxs)(u.j8w,{onClick:()=>v(!0),"data-testid":"system-badge",children:[d,(0,n.jsx)(u.PJP.I8b,{})]}):(0,n.jsx)(u.j8w,{onClick:()=>v(!0),"data-testid":"add-system-btn",addable:!0})}),!!m&&(0,n.jsx)(T.R,{variant:"borderless",className:"w-full",autoFocus:!0,defaultOpen:!0,defaultValue:c||g,onBlur:e=>{var t;(null===(t=e.relatedTarget)||void 0===t?void 0:t.getAttribute("id"))!=="add-new-system"&&v(!1)},onAddSystem:w,onSelect:(e,t)=>b(e,t.label),loading:x}),y&&(0,n.jsx)(R.i,{isOpen:!0,onClose:()=>{p(!1)},onSuccessfulSubmit:(e,t)=>b(e,t,!0)})]})},G=e=>{let{readonly:t,aggregatedConsent:s,onTabChange:r,onShowBreakdown:o}=e,{flags:i}=(0,O.hz)(),{assetConsentStatusLabels:l}=i;return{columns:(0,a.useMemo)(()=>{let e=(0,c.Cl)(),a=[e.accessor(e=>e.name,{id:"name",cell:e=>(0,n.jsx)(v.G3,{value:e.getValue()}),header:"Asset",size:300,meta:{headerProps:t?void 0:{paddingLeft:"0px"},cellProps:t?void 0:{padding:"0 !important"}}}),e.accessor(e=>e.resource_type,{id:"resource_type",cell:e=>(0,n.jsx)(v.G3,{value:e.getValue()}),header:"Type"}),e.accessor(e=>e.system,{id:"system",cell:e=>!!e.row.original.monitor_config_id&&(0,n.jsx)(J,{aggregateSystem:e.row.original,monitorConfigId:e.row.original.monitor_config_id,readonly:t}),header:"System",size:200,meta:{noPadding:!0}}),e.display({id:"data_use",cell:e=>(0,n.jsx)(H,{asset:e.row.original,readonly:t}),header:"Categories of consent",size:400,meta:{disableRowClick:!0}}),e.accessor(e=>e.locations,{id:"locations",cell:e=>(0,n.jsx)(U.mb,{values:e.getValue().map(e=>{var t;return{label:null!==(t=D.Z8[e])&&void 0!==t?t:e,key:e}}),cellProps:e}),header:e=>(0,n.jsx)(U.Rr,{value:"Locations",...e}),size:300,meta:{showHeaderMenu:!0,disableRowClick:!0}}),e.accessor(e=>e.domain,{id:"domain",cell:e=>(0,n.jsx)(v.G3,{value:e.getValue()}),header:e=>(0,n.jsx)(U.Rr,{value:"Domain",...e})}),e.accessor(e=>e.consent_aggregated,{id:"consent_aggregated",cell:e=>{var t;return(0,n.jsx)(B,{consentAggregated:null!==(t=e.getValue())&&void 0!==t?t:p.lg.UNKNOWN,stagedResource:e.row.original,onShowBreakdown:o})},header:()=>(0,n.jsxs)(u.vyj,{children:[(0,n.jsx)("div",{children:"Discovery"}),s===p.lg.WITHOUT_CONSENT&&(0,n.jsx)(Z.l,{consentStatus:{status:p.pF.ALERT,message:"One or more assets were detected without consent"}})]})}),e.accessor(e=>e.page,{id:"page",cell:e=>(0,n.jsx)(U.tc,{values:e.getValue(),valueSuffix:"pages",cellProps:e}),header:e=>(0,n.jsx)(U.Rr,{value:"Detected on",...e}),meta:{showHeaderMenu:!0,disableRowClick:!0}})],i=l?a:a.filter(e=>"consent_aggregated"!==e.id);return t?i:[e.display({id:"select",cell:e=>{let{row:t}=e;return(0,n.jsx)(v.k,{isChecked:t.getIsSelected(),onChange:t.getToggleSelectedHandler(),dataTestId:"select-".concat(t.original.name||t.id)})},header:e=>{let{table:t}=e;return(0,n.jsx)(v.k,{isChecked:t.getIsAllPageRowsSelected(),isIndeterminate:t.getIsSomeRowsSelected(),onChange:t.getToggleAllRowsSelectedHandler(),dataTestId:"select-all-rows"})},maxSize:40,meta:{cellProps:{borderRight:"none"}}}),...i,e.display({id:"actions",cell:e=>(0,n.jsx)(V,{asset:e.row.original,onTabChange:r}),header:"Actions",meta:{disableRowClick:!0}})]},[t,l,s,r,o])}},X=e=>{var t;let{monitorId:s,systemId:o,onSystemName:l}=e,g=(0,r.useRouter)(),[j,_]=(0,a.useState)(),[w,b]=(0,a.useState)(o),[C,k]=(0,a.useState)({}),[T,R]=(0,a.useState)(!1),[A,D]=(0,a.useState)(!1),[P,L]=(0,a.useState)(null),[E,{isLoading:O}]=(0,x.EY)(),[U,{isLoading:Z}]=(0,x.nS)(),[V,{isLoading:q}]=(0,x.rs)(),[W,{isLoading:$}]=(0,x.sX)(),[H,{isLoading:B}]=(0,x.Vr)(),[K,{isLoading:F}]=(0,x.Tj)(),J=O||Z||q||$||F,X=J||o===i.Kl,{PAGE_SIZES:Y,pageSize:Q,setPageSize:ee,onPreviousPageClick:et,isPreviousPageDisabled:es,onNextPageClick:en,isNextPageDisabled:er,startRange:ea,endRange:eo,pageIndex:ei,setTotalPages:el,resetPageIndexToDefault:ed}=(0,v.oi)(),[ec,eu]=(0,a.useState)(""),eg=(0,u.pmc)();(0,a.useEffect)(()=>{ed()},[s,ec,ed]);let{filterTabs:em,activeTab:eh,onTabChange:ev,activeParams:ey,actionsDisabled:ep}=(0,N.Z)(o);(0,a.useEffect)(()=>{ed()},[s,ec,eh,ed]);let{data:ef,isLoading:ex,isFetching:ej}=(0,x.WJ)({key:s,page:ei,size:Q,search:ec,...ey});(0,a.useEffect)(()=>{if(ef){var e,t;let s=(null===(e=ef.items[0])||void 0===e?void 0:e.system)||w||o||"";el(null!==(t=ef.pages)&&void 0!==t?t:1),b(s),null==l||l(s)}},[ef,o,l,el,w]),(0,a.useEffect)(()=>{if((null==ef?void 0:ef.items)&&!j){var e;_(null===(e=ef.items.find(e=>e.consent_aggregated===p.lg.WITHOUT_CONSENT))||void 0===e?void 0:e.consent_aggregated)}},[ef,j]);let{columns:e_}=G({readonly:null!=ep&&ep,onTabChange:ev,aggregatedConsent:j,onShowBreakdown:(e,t)=>{L({stagedResource:e,status:t})}}),ew=(0,d.b7)({getCoreRowModel:(0,c.sC)(),columns:e_,manualPagination:!0,data:(null==ef?void 0:ef.items)||[],columnResizeMode:"onChange",onRowSelectionChange:k,getRowId:e=>e.urn,state:{rowSelection:C}}),eb=ew.getSelectedRowModel().rows.map(e=>e.original.urn),eC=async()=>{var e,t,s;let n=await E({urnList:eb}),r=null!==(s=null==ef?void 0:ef.items.filter(e=>eb.includes(e.urn)))&&void 0!==s?s:[],a=(null===(e=r[0])||void 0===e?void 0:e.user_assigned_system_key)||(null===(t=r[0])||void 0===t?void 0:t.system_key),o=r.every(e=>(e.user_assigned_system_key||e.system_key)===a)?a:void 0;(0,h.D4)(n)?eg((0,y.Vo)((0,h.e$)(n.error))):(ew.resetRowSelection(),eg((0,y.t5)((0,z._)("".concat(eb.length," assets from ").concat(w," have been added to the system inventory."),o?()=>g.push("".concat(i.So,"/configure/").concat(o,"#assets")):()=>g.push(i.So)))))},ek=async e=>{if("string"==typeof(null==e?void 0:e.value)){let t=await W({monitorId:s,urnList:eb,systemKey:e.value});(0,h.D4)(t)?eg((0,y.Vo)((0,h.e$)(t.error))):eg((0,y.t5)("".concat(eb.length," assets have been assigned to ").concat(e.label,"."),"Confirmed"))}R(!1)},eS=async e=>{let t=null==ef?void 0:ef.items.filter(e=>eb.includes(e.urn));if(!t)return;let n=t.map(t=>{let s=m()([...t.user_assigned_data_uses||t.data_uses||[],...e]);return{urn:t.urn,user_assigned_data_uses:s}}),r=await H({monitorId:s,assets:n});(0,h.D4)(r)?eg((0,y.Vo)((0,h.e$)(r.error))):eg((0,y.t5)("Consent categories added to ".concat(eb.length," assets").concat(w?" from ".concat(w):"","."),"Confirmed")),D(!1)},eT=async()=>{let e=await U({urnList:eb});(0,h.D4)(e)?eg((0,y.Vo)((0,h.e$)(e.error))):(ew.resetRowSelection(),eg((0,y.t5)(w===i.Kl?"".concat(eb.length," uncategorized assets have been ignored and will not appear in future scans."):"".concat(eb.length," assets from ").concat(w," have been ignored and will not appear in future scans."),"Confirmed")))},eR=async()=>{let e=await K({urnList:eb});(0,h.D4)(e)?eg((0,y.Vo)((0,h.e$)(e.error))):(ew.resetRowSelection(),eg((0,y.t5)("".concat(eb.length," assets have been restored and will appear in future scans."),"Confirmed")))},eA=async()=>{let e=(null==ef?void 0:ef.items.length)||0,t=await V({monitor_config_key:s,resolved_system_ids:[o]});(0,h.D4)(t)?eg((0,y.Vo)((0,h.e$)(t.error))):(g.push("".concat(i.vi,"/").concat(s)),eg((0,y.t5)("".concat(e," assets from ").concat(w," have been added to the system inventory."),"Confirmed")))},eI=e=>{ev(e),k({})};return s&&o?ex?(0,n.jsx)(v.I4,{rowHeight:36,numRows:36}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u.A5g,{items:em.map(e=>({key:e.hash,label:e.label})),activeKey:eh,onChange:e=>eI(e)}),(0,n.jsxs)(v.Q$,{children:[(0,n.jsx)(f.f,{value:ec,onChange:eu,placeholder:"Search by asset name..."}),(0,n.jsxs)(u.kCb,{alignItems:"center",children:[!!eb.length&&(0,n.jsx)(u.xvT,{fontSize:"xs",fontWeight:"semibold",minW:16,mr:6,"data-testid":"selected-count",children:"".concat(eb.length," selected")}),(0,n.jsxs)(u.Ugi,{children:[(0,n.jsx)(u.S0p,{menu:{items:[{key:"add",label:"Add",onClick:eC},{key:"add-data-use",label:"Add consent category",onClick:()=>D(!0)},{key:"assign-system",label:"Assign system",onClick:()=>R(!0)},...(null==ey?void 0:null===(t=ey.diff_status)||void 0===t?void 0:t.includes(p.LL.MUTED))?[{key:"restore",label:"Restore",onClick:eR}]:[{type:"divider"},{key:"ignore",label:"Ignore",onClick:eT}]]},trigger:["click"],children:(0,n.jsx)(u.wpx,{icon:(0,n.jsx)(u.PJP._ME,{}),iconPosition:"end",loading:J,"data-testid":"bulk-actions-menu",disabled:!eb.length||J||ep,type:"primary",children:"Actions"})}),(0,n.jsx)(u.esZ,{title:X?"These assets require a system before you can add them to the inventory.":void 0,children:(0,n.jsx)(u.wpx,{onClick:eA,disabled:X,loading:q,type:"primary",icon:(0,n.jsx)(u.PJP.MCw,{}),iconPosition:"end","data-testid":"add-all",children:"Add all"})})]})]})]}),(0,n.jsx)(v.ZK,{tableInstance:ew,emptyTableNotice:(0,n.jsx)(u.oj8,{image:u.oj8.PRESENTED_IMAGE_SIMPLE,description:"All caught up!"})}),(0,n.jsx)(v.s8,{totalRows:(null==ef?void 0:ef.total)||0,pageSizes:Y,setPageSize:ee,onPreviousPageClick:et,isPreviousPageDisabled:es||ej,onNextPageClick:en,isNextPageDisabled:er||ej,startRange:ea,endRange:eo}),(0,n.jsx)(I,{isOpen:T,onClose:()=>{R(!1)},onSave:ek,isSaving:$}),(0,n.jsx)(S,{isOpen:A,onClose:()=>{D(!1)},onSave:eS,isSaving:B}),P&&(0,n.jsx)(M,{isOpen:!!P,stagedResource:P.stagedResource,status:P.status,onCancel:()=>{L(null)}})]}):null};var Y=()=>{let e=(0,r.useRouter)(),t=decodeURIComponent(e.query.monitorId),s=decodeURIComponent(e.query.systemId),[d,c]=(0,a.useState)(s===i.Kl?"Uncategorized assets":s);return(0,n.jsxs)(o.Z,{title:"Action center - Discovered assets",children:[(0,n.jsx)(l.Z,{heading:"Action center",breadcrumbItems:[{title:"All activity",href:i.vi},{title:t,href:"".concat(i.vi,"/").concat(t)},{title:s===i.Kl?"Uncategorized assets":d}]}),(0,n.jsx)(X,{monitorId:t,systemId:s,onSystemName:c})]})}},31883:function(e,t,s){"use strict";s.d(t,{Bw:function(){return n.Bw},D4:function(){return n.D4}});var n=s(19043)}},function(e){e.O(0,[2858,2866,9278,409,401,6780,2888,9774,179],function(){return e(e.s=25654)}),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2423],{95372:function(e){e.exports=function(e,t,a,n){for(var i=e.length,r=a+(n?1:-1);n?r--:++r<i;)if(t(e[r],r,e))return r;return -1}},74833:function(e,t,a){var n=a(56127),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},56632:function(e,t,a){var n=a(89278),i=a(80068),r=a(50098);e.exports=function(e){return function(t,a,s){var o=Object(t);if(!i(t)){var l=n(a,3);t=r(t),a=function(e){return l(o[e],e,o)}}var u=e(t,a,s);return u>-1?o[l?t[u]:u]:void 0}}},56127:function(e){var t=/\s/;e.exports=function(e){for(var a=e.length;a--&&t.test(e.charAt(a)););return a}},66726:function(e,t,a){var n=a(11611),i=a(82846),r=a(91936),s=Math.max,o=Math.min;e.exports=function(e,t,a){var l,u,d,c,_,F,m=0,g=!1,h=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function p(t){var a=l,n=u;return l=u=void 0,m=t,c=e.apply(n,a)}function f(e){var a=e-F,n=e-m;return void 0===F||a>=t||a<0||h&&n>=d}function y(){var e,a,n,r=i();if(f(r))return S(r);_=setTimeout(y,(e=r-F,a=r-m,n=t-e,h?o(n,d-a):n))}function S(e){return(_=void 0,v&&l)?p(e):(l=u=void 0,c)}function C(){var e,a=i(),n=f(a);if(l=arguments,u=this,F=a,n){if(void 0===_)return m=e=F,_=setTimeout(y,t),g?p(e):c;if(h)return clearTimeout(_),_=setTimeout(y,t),p(F)}return void 0===_&&(_=setTimeout(y,t)),c}return t=r(t)||0,n(a)&&(g=!!a.leading,d=(h="maxWait"in a)?s(r(a.maxWait)||0,t):d,v="trailing"in a?!!a.trailing:v),C.cancel=function(){void 0!==_&&clearTimeout(_),m=0,l=F=u=_=void 0},C.flush=function(){return void 0===_?c:S(i())},C}},64925:function(e,t,a){var n=a(56632)(a(66259));e.exports=n},66259:function(e,t,a){var n=a(95372),i=a(89278),r=a(47991),s=Math.max;e.exports=function(e,t,a){var o=null==e?0:e.length;if(!o)return -1;var l=null==a?0:r(a);return l<0&&(l=s(o+l,0)),n(e,i(t,3),l)}},82846:function(e,t,a){var n=a(77400);e.exports=function(){return n.Date.now()}},94919:function(e,t,a){var n=a(91936),i=1/0;e.exports=function(e){return e?(e=n(e))===i||e===-i?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},47991:function(e,t,a){var n=a(94919);e.exports=function(e){var t=n(e),a=t%1;return t==t?a?t-a:t:0}},91936:function(e,t,a){var n=a(74833),i=a(11611),r=a(55193),s=0/0,o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,d=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(r(e))return s;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var a=l.test(e);return a||u.test(e)?d(e.slice(2),a?2:8):o.test(e)?s:+e}},86850:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-discovery/action-center/[monitorId]",function(){return a(56856)}])},30952:function(e,t,a){"use strict";a.d(t,{f:function(){return l}});var n=a(24246),i=a(66726),r=a.n(i),s=a(27378),o=a(26917);let l=e=>{let{value:t,onChange:a,placeholder:i,...l}=e,[u,d]=(0,s.useState)(t),c=r()(a,500),_=(0,s.useCallback)(e=>{d(e),c(e)},[]);return(0,n.jsx)(o.Z,{value:u,onChange:_,onClear:()=>{d(""),a("")},placeholder:i,...l})}},35287:function(e,t,a){"use strict";var n=a(24246),i=a(13577),r=a(88038),s=a.n(r);a(27378),t.Z=e=>{let{children:t,title:a,mainProps:r}=e;return(0,n.jsxs)(i.kCb,{"data-testid":a,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,n.jsxs)(s(),{children:[(0,n.jsxs)("title",{children:["Fides Admin UI - ",a]}),(0,n.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,n.jsx)(i.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...r,children:t})]})}},58754:function(e,t,a){"use strict";var n=a(24246),i=a(13577),r=a(70788);t.Z=e=>{let{heading:t,breadcrumbItems:a,isSticky:s=!0,children:o,rightContent:l,style:u,...d}=e;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",...u}:{paddingBottom:"24px",...u},children:[(0,n.jsxs)(i.jqI,{justify:"space-between",children:["string"==typeof t?(0,n.jsx)(i.lQT,{className:a||o?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,l&&(0,n.jsx)("div",{"data-testid":"page-header-right-content",children:l})]}),!!a&&(0,n.jsx)(r.m,{className:o?"pb-4":void 0,items:a,"data-testid":"page-breadcrumb"}),o]})}},26089:function(e,t,a){"use strict";var n=a(24246),i=a(13577),r=a(99830),s=a.n(r);t.Z=e=>{let{onClick:t,children:a}=e;return(0,n.jsx)(i.wpx,{onClick:t,type:"link",role:"link",size:"small",className:s().toastLink,children:a})}},34929:function(e,t,a){"use strict";var n=a(24246),i=a(64925),r=a.n(i),s=a(27378),o=a(16134),l=a(30002),u=a(28079),d=a(57072);let c=()=>{let{isLoading:e}=(0,u.fd)(),t=(0,o.C)(u.U3),{isLoading:a}=(0,d.MO)(),n=(0,o.C)(d.qb),{isLoading:i}=(0,l.te)();return{dataUses:t,dataSubjects:(0,o.C)(l.ZL),dataCategories:n,isLoading:e||a||i}};t.Z=()=>{let{dataUses:e,dataCategories:t,dataSubjects:a,isLoading:i}=c(),o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.split(".").slice(0,t).join(".")},l=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=t(e);if(!n)return{};let i=t(o(e,a)),r=!!n.parent_key;return{name:n.name||void 0,primaryName:r&&(null==i?void 0:i.name)!==n.name&&(null==i?void 0:i.name)||void 0}},u=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{name:i,primaryName:r}=l(e,t,a);return i?r?(0,n.jsxs)(s.Fragment,{children:[(0,n.jsxs)("strong",{children:[r,":"]})," ",i]},e):(0,n.jsx)("strong",{children:i},e):e},d=t=>r()(e,{fides_key:t}),_=e=>r()(t,{fides_key:e}),F=e=>r()(a,{fides_key:e});return{getDataUses:()=>e,getDataUseByKey:d,getDataUseDisplayName:e=>u(e,d,1),getDataUseDisplayNameProps:e=>l(e,d,1),getDataCategories:()=>t,getDataCategoryByKey:_,getDataCategoryDisplayName:e=>u(e,_,2),getDataCategoryDisplayNameProps:e=>l(e,_,2),getDataSubjects:()=>a,getDataSubjectByKey:F,getDataSubjectDisplayName:e=>{let t=F(e);return t?t.name:e},getPrimaryKey:o,isLoading:i}}},70788:function(e,t,a){"use strict";a.d(t,{m:function(){return u}});var n=a(24246),i=a(13577),r=a(79894),s=a.n(r),o=a(27378);let{Text:l}=i.AntTypography,u=e=>{let{items:t,...a}=e,r=(0,o.useMemo)(()=>null==t?void 0:t.map((e,a)=>{let r=a===t.length-1,o={...e},u=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,n.jsx)(l,{style:{color:"inherit",maxWidth:r?void 0:400},ellipsis:!r,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)(s(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[t]);return(0,n.jsx)(i.zrq,{items:r,...a})}},8411:function(e,t,a){"use strict";a.d(t,{NA:function(){return r},Z8:function(){return i}});var n=a(73825);let i={[n._F.ER]:"Eritrea",[n._F.DJ]:"Djibouti",[n._F.MR]:"Mauritania",[n._F.NA]:"Namibia",[n._F.GH]:"Ghana",[n._F.SS]:"South Sudan",[n._F.SC]:"Seychelles",[n._F.IO]:"British Indian Ocean Territory",[n._F.GQ]:"Equatorial Guinea",[n._F.AO]:"Angola",[n._F.CG]:"Republic of the Congo",[n._F.BW]:"Botswana",[n._F.BI]:"Burundi",[n._F.DZ]:"Algeria",[n._F.TD]:"Chad",[n._F.NG]:"Nigeria",[n._F.TZ]:"Tanzania",[n._F.EH]:"Western Sahara",[n._F.SN]:"Senegal",[n._F.LR]:"Liberia",[n._F.ZA]:"South Africa",[n._F.CV]:"Cape Verde",[n._F.GM]:"Gambia",[n._F.SD]:"Sudan",[n._F.KM]:"Comoros",[n._F.SZ]:"Eswatini",[n._F.UG]:"Uganda",[n._F.MG]:"Madagascar",[n._F.RW]:"Rwanda",[n._F.CD]:"DR Congo",[n._F.CM]:"Cameroon",[n._F.SH]:"Saint Helena, Ascension and Tristan da Cunha",[n._F.TG]:"Togo",[n._F.MU]:"Mauritius",[n._F.NE]:"Niger",[n._F.BJ]:"Benin",[n._F.EG]:"Egypt",[n._F.LS]:"Lesotho",[n._F.ET]:"Ethiopia",[n._F.MA]:"Morocco",[n._F.YT]:"Mayotte",[n._F.BF]:"Burkina Faso",[n._F.RE]:"R\xe9union",[n._F.ST]:"S\xe3o Tom\xe9 and Pr\xedncipe",[n._F.CF]:"Central African Republic",[n._F.MZ]:"Mozambique",[n._F.MW]:"Malawi",[n._F.ML]:"Mali",[n._F.ZM]:"Zambia",[n._F.LY]:"Libya",[n._F.GW]:"Guinea-Bissau",[n._F.SO]:"Somalia",[n._F.KE]:"Kenya",[n._F.GN]:"Guinea",[n._F.ZW]:"Zimbabwe",[n._F.TN]:"Tunisia",[n._F.SL]:"Sierra Leone",[n._F.GA]:"Gabon",[n._F.CI]:"Ivory Coast",[n._F.JO]:"Jordan",[n._F.PK]:"Pakistan",[n._F.KP]:"North Korea",[n._F.MO]:"Macau",[n._F.AM]:"Armenia",[n._F.SY]:"Syria",[n._F.TJ]:"Tajikistan",[n._F.SA]:"Saudi Arabia",[n._F.KR]:"South Korea",[n._F.NP]:"Nepal",[n._F.PH]:"Philippines",[n._F.IQ]:"Iraq",[n._F.LB]:"Lebanon",[n._F.MN]:"Mongolia",[n._F.PS]:"Palestine",[n._F.YE]:"Yemen",[n._F.JP]:"Japan",[n._F.KZ]:"Kazakhstan",[n._F.LK]:"Sri Lanka",[n._F.MM]:"Myanmar",[n._F.KG]:"Kyrgyzstan",[n._F.CN]:"China",[n._F.AF]:"Afghanistan",[n._F.OM]:"Oman",[n._F.IN]:"India",[n._F.LA]:"Laos",[n._F.UZ]:"Uzbekistan",[n._F.MV]:"Maldives",[n._F.ID]:"Indonesia",[n._F.VN]:"Vietnam",[n._F.MY]:"Malaysia",[n._F.TW]:"Taiwan",[n._F.KH]:"Cambodia",[n._F.AE]:"United Arab Emirates",[n._F.HK]:"Hong Kong",[n._F.GE]:"Georgia (Country)",[n._F.BD]:"Bangladesh",[n._F.KW]:"Kuwait",[n._F.TM]:"Turkmenistan",[n._F.QA]:"Qatar",[n._F.BH]:"Bahrain",[n._F.BN]:"Brunei",[n._F.TH]:"Thailand",[n._F.BT]:"Bhutan",[n._F.SG]:"Singapore",[n._F.IL]:"Israel",[n._F.AZ]:"Azerbaijan",[n._F.TL]:"Timor-Leste",[n._F.IR]:"Iran",[n._F.TR]:"Turkey",[n._F.MK]:"North Macedonia",[n._F.IE]:"Ireland",[n._F.DK]:"Denmark",[n._F.SK]:"Slovakia",[n._F.MD]:"Moldova",[n._F.AX]:"\xc5land Islands",[n._F.PL]:"Poland",[n._F.BA]:"Bosnia and Herzegovina",[n._F.SM]:"San Marino",[n._F.CZ]:"Czechia",[n._F.EE]:"Estonia",[n._F.XK]:"Kosovo",[n._F.FO]:"Faroe Islands",[n._F.SJ]:"Svalbard and Jan Mayen",[n._F.GG]:"Guernsey",[n._F.FR]:"France",[n._F.NL]:"Netherlands",[n._F.FI]:"Finland",[n._F.PT]:"Portugal",[n._F.DE]:"Germany",[n._F.MT]:"Malta",[n._F.JE]:"Jersey",[n._F.IS]:"Iceland",[n._F.ES]:"Spain",[n._F.GI]:"Gibraltar",[n._F.NO]:"Norway",[n._F.CY]:"Cyprus",[n._F.RS]:"Serbia",[n._F.LT]:"Lithuania",[n._F.MC]:"Monaco",[n._F.LU]:"Luxembourg",[n._F.UA]:"Ukraine",[n._F.IM]:"Isle of Man",[n._F.RO]:"Romania",[n._F.BE]:"Belgium",[n._F.SE]:"Sweden",[n._F.ME]:"Montenegro",[n._F.LV]:"Latvia",[n._F.VA]:"Vatican City",[n._F.AT]:"Austria",[n._F.AL]:"Albania",[n._F.LI]:"Liechtenstein",[n._F.GR]:"Greece",[n._F.IT]:"Italy",[n._F.AD]:"Andorra",[n._F.GB]:"United Kingdom",[n._F.RU]:"Russia",[n._F.SI]:"Slovenia",[n._F.BY]:"Belarus",[n._F.CH]:"Switzerland",[n._F.HU]:"Hungary",[n._F.BG]:"Bulgaria",[n._F.HR]:"Croatia",[n._F.TC]:"Turks and Caicos Islands",[n._F.CW]:"Cura\xe7ao",[n._F.GP]:"Guadeloupe",[n._F.UM]:"United States Minor Outlying Islands",[n._F.GT]:"Guatemala",[n._F.PM]:"Saint Pierre and Miquelon",[n._F.BQ]:"Caribbean Netherlands",[n._F.GL]:"Greenland",[n._F.SX]:"Sint Maarten",[n._F.PA]:"Panama",[n._F.AW]:"Aruba",[n._F.MQ]:"Martinique",[n._F.AG]:"Antigua and Barbuda",[n._F.BM]:"Bermuda",[n._F.CU]:"Cuba",[n._F.GD]:"Grenada",[n._F.NI]:"Nicaragua",[n._F.LC]:"Saint Lucia",[n._F.KN]:"Saint Kitts and Nevis",[n._F.DO]:"Dominican Republic",[n._F.VC]:"Saint Vincent and the Grenadines",[n._F.BZ]:"Belize",[n._F.HT]:"Haiti",[n._F.JM]:"Jamaica",[n._F.BS]:"Bahamas",[n._F.MX]:"Mexico",[n._F.MF]:"Saint Martin",[n._F.SV]:"El Salvador",[n._F.BL]:"Saint Barth\xe9lemy",[n._F.AI]:"Anguilla",[n._F.MS]:"Montserrat",[n._F.VG]:"British Virgin Islands",[n._F.BB]:"Barbados",[n._F.HN]:"Honduras",[n._F.KY]:"Cayman Islands",[n._F.DM]:"Dominica",[n._F.TT]:"Trinidad and Tobago",[n._F.CR]:"Costa Rica",[n._F.SR]:"Suriname",[n._F.CX]:"Christmas Island",[n._F.WS]:"Samoa",[n._F.PF]:"French Polynesia",[n._F.AS]:"American Samoa",[n._F.NC]:"New Caledonia",[n._F.TK]:"Tokelau",[n._F.PW]:"Palau",[n._F.KI]:"Kiribati",[n._F.VU]:"Vanuatu",[n._F.PN]:"Pitcairn Islands",[n._F.CK]:"Cook Islands",[n._F.FJ]:"Fiji",[n._F.PG]:"Papua New Guinea",[n._F.MP]:"Northern Mariana Islands",[n._F.NU]:"Niue",[n._F.TV]:"Tuvalu",[n._F.NF]:"Norfolk Island",[n._F.TO]:"Tonga",[n._F.FM]:"Micronesia",[n._F.SB]:"Solomon Islands",[n._F.NR]:"Nauru",[n._F.WF]:"Wallis and Futuna",[n._F.GU]:"Guam",[n._F.AU]:"Australia",[n._F.NZ]:"New Zealand",[n._F.MH]:"Marshall Islands",[n._F.CC]:"Cocos (Keeling) Islands",[n._F.VE]:"Venezuela",[n._F.PY]:"Paraguay",[n._F.BR]:"Brazil",[n._F.CO]:"Colombia",[n._F.PE]:"Peru",[n._F.CL]:"Chile",[n._F.UY]:"Uruguay",[n._F.AR]:"Argentina",[n._F.GY]:"Guyana",[n._F.BO]:"Bolivia",[n._F.GF]:"French Guiana",[n._F.EC]:"Ecuador",[n._F.FK]:"Falkland Islands",[n._F.US_AL]:"Alabama",[n._F.US_AK]:"Alaska",[n._F.US_AZ]:"Arizona",[n._F.US_AR]:"Arkansas",[n._F.US_CA]:"California",[n._F.US_CO]:"Colorado",[n._F.US_CT]:"Connecticut",[n._F.US_DE]:"Delaware",[n._F.US_DC]:"District of Columbia (DC)",[n._F.US_FL]:"Florida",[n._F.US_GA]:"Georgia",[n._F.US_HI]:"Hawaii",[n._F.US_ID]:"Idaho",[n._F.US_IL]:"Illinois",[n._F.US_IN]:"Indiana",[n._F.US_IA]:"Iowa",[n._F.US_KS]:"Kansas",[n._F.US_KY]:"Kentucky",[n._F.US_LA]:"Louisiana",[n._F.US_ME]:"Maine",[n._F.US_MD]:"Maryland",[n._F.US_MA]:"Massachusetts",[n._F.US_MI]:"Michigan",[n._F.US_MN]:"Minnesota",[n._F.US_MS]:"Mississippi",[n._F.US_MO]:"Missouri",[n._F.US_MT]:"Montana",[n._F.US_NE]:"Nebraska",[n._F.US_NV]:"Nevada",[n._F.US_NH]:"New Hampshire",[n._F.US_NJ]:"New Jersey",[n._F.US_NM]:"New Mexico",[n._F.US_NY]:"New York",[n._F.US_NC]:"North Carolina",[n._F.US_ND]:"North Dakota",[n._F.US_OH]:"Ohio",[n._F.US_OK]:"Oklahoma",[n._F.US_OR]:"Oregon",[n._F.US_PA]:"Pennsylvania",[n._F.US_PR]:"Puerto Rico",[n._F.US_RI]:"Rhode Island",[n._F.US_SC]:"South Carolina",[n._F.US_SD]:"South Dakota",[n._F.US_TN]:"Tennessee",[n._F.US_TX]:"Texas",[n._F.US_UT]:"Utah",[n._F.US_VA]:"Virginia",[n._F.US_VI]:"United States Virgin Islands",[n._F.US_VT]:"Vermont",[n._F.US_WA]:"Washington",[n._F.US_WV]:"West Virginia",[n._F.US_WI]:"Wisconsin",[n._F.US_WY]:"Wyoming",[n._F.CA_AB]:"Alberta",[n._F.CA_BC]:"British Columbia",[n._F.CA_MB]:"Manitoba",[n._F.CA_NB]:"New Brunswick",[n._F.CA_NL]:"Newfoundland and Labrador",[n._F.CA_NS]:"Nova Scotia",[n._F.CA_ON]:"Ontario",[n._F.CA_PE]:"Prince Edward Island",[n._F.CA_QC]:"Quebec",[n._F.CA_SK]:"Saskatchewan",[n._F.CA_NT]:"Northwest Territories",[n._F.CA_NU]:"Nunavut",[n._F.CA_YT]:"Yukon",[n._F.CA]:"Canada",[n._F.US]:"United States",[n._F.MEXICO_CENTRAL_AMERICA]:"Mexico and Central America",[n._F.CARIBBEAN]:"Caribbean",[n._F.EEA]:"European Economic Area (EEA)",[n._F.NON_EEA]:"Non European Economic Area",[n._F.GLOBAL]:"Global"},r=new Map(Object.entries(i));Object.entries(i).map(e=>({value:e[0],label:e[1]}))},14908:function(e,t,a){"use strict";var n=a(86677),i=a(27378);let r=e=>e.startsWith("#")?e.slice(1):e;t.Z=e=>{let{tabKeys:t,initialTab:a}=e,s=(0,n.useRouter)(),o=s.asPath.split("#")[1]||t[0],[l,u]=(0,i.useState)(o);return(0,i.useEffect)(()=>{a&&t.includes(a)&&u(a)},[a,t,s.isReady]),{activeTab:l,onTabChange:(0,i.useCallback)(async e=>{if(!t.includes(e)){u(t[0]),await s.replace({pathname:s.pathname,query:s.query,hash:void 0});return}u(e),s.isReady&&await s.replace({pathname:s.pathname,query:s.query,hash:r(e)},void 0,{shallow:!0})},[s,t])}}},54762:function(e,t,a){"use strict";a.d(t,{l:function(){return o}});var n=a(24246),i=a(13577),r=a(62165),s=a(73825);let o=e=>{let{consentStatus:t}=e,{flags:a}=(0,r.hz)(),{assetConsentStatusLabels:o}=a;return o&&(null==t?void 0:t.status)===s.pF.ALERT?(0,n.jsx)(i.esZ,{title:null==t?void 0:t.message,"data-testid":"discovery-status-icon-alert-tooltip",children:(0,n.jsx)("div",{className:"mb-px","data-testid":"discovery-status-icon-alert",children:(0,n.jsx)(i.PJP.OdJ,{style:{color:"var(--fidesui-error)"}})})}):null}},9320:function(e,t,a){"use strict";a.d(t,{_:function(){return r}});var n=a(24246),i=a(26089);let r=(e,t)=>(0,n.jsxs)(n.Fragment,{children:[e," ",t&&(0,n.jsx)(i.Z,{onClick:t,children:"View"})]})},37059:function(e,t,a){"use strict";a.d(t,{Ak:function(){return g},EY:function(){return c},Tj:function(){return F},Ud:function(){return s},Vr:function(){return h},WJ:function(){return l},mi:function(){return v},nP:function(){return d},nS:function(){return _},rs:function(){return u},sX:function(){return m},wi:function(){return o}});var n=a(78780),i=a(16394),r=a(73825);let{useGetAggregateMonitorResultsQuery:s,useGetDiscoveredSystemAggregateQuery:o,useGetDiscoveredAssetsQuery:l,useAddMonitorResultSystemsMutation:u,useIgnoreMonitorResultSystemsMutation:d,useAddMonitorResultAssetsMutation:c,useIgnoreMonitorResultAssetsMutation:_,useRestoreMonitorResultAssetsMutation:F,useUpdateAssetsSystemMutation:m,useUpdateAssetsDataUseMutation:g,useUpdateAssetsMutation:h,useGetConsentBreakdownQuery:v}=n.u.injectEndpoints({endpoints:e=>({getAggregateMonitorResults:e.query({query:e=>{let{page:t=1,size:a=20,search:n}=e;return{url:"/plus/discovery-monitor/aggregate-results",params:{page:t,size:a,search:n,diff_status:"addition"}}},providesTags:["Discovery Monitor Results"]}),getDiscoveredSystemAggregate:e.query({query:e=>{let{key:t,page:a=1,size:n=20,search:i,diff_status:r}=e;return{url:"/plus/discovery-monitor/system-aggregate-results",params:{monitor_config_id:t,page:a,size:n,search:i,diff_status:r}}},providesTags:["Discovery Monitor Results"]}),getDiscoveredAssets:e.query({query:e=>{let{key:t,system:a,page:n=1,size:r=20,search:s,diff_status:o,sort_by:l=["consent_aggregated","urn"],sort_asc:u=!0}=e;return{url:"/plus/discovery-monitor/".concat(t,"/results?").concat((0,i.du)(Array.isArray(l)?l:[l],"sort_by")),params:{resolved_system_id:a,page:n,size:r,search:s,diff_status:o,sort_asc:u}}},providesTags:()=>["Discovery Monitor Results"]}),addMonitorResultSystems:e.mutation({query:e=>{let{monitor_config_key:t,resolved_system_ids:a}=e,n=(0,i.du)(a,"resolved_system_ids");return{method:"POST",url:"/plus/discovery-monitor/".concat(t,"/promote?").concat(n)}},invalidatesTags:["Discovery Monitor Results"]}),ignoreMonitorResultSystems:e.mutation({query:e=>{let{monitor_config_key:t,resolved_system_ids:a}=e,n=(0,i.du)(a,"resolved_system_ids");return{method:"POST",url:"/plus/discovery-monitor/".concat(t,"/mute?").concat(n)}},invalidatesTags:["Discovery Monitor Results"]}),addMonitorResultAssets:e.mutation({query:e=>{var t;let a=new URLSearchParams;return null===(t=e.urnList)||void 0===t||t.forEach(e=>a.append("staged_resource_urns",e)),{method:"POST",url:"/plus/discovery-monitor/promote?".concat(a)}},invalidatesTags:["Discovery Monitor Results"]}),ignoreMonitorResultAssets:e.mutation({query:e=>{var t;let a=new URLSearchParams;return null===(t=e.urnList)||void 0===t||t.forEach(e=>a.append("staged_resource_urns",e)),{method:"POST",url:"/plus/discovery-monitor/mute?".concat(a)}},invalidatesTags:["Discovery Monitor Results"]}),restoreMonitorResultAssets:e.mutation({query:e=>{var t;let a=new URLSearchParams({status_to_set:r.LL.ADDITION});return null===(t=e.urnList)||void 0===t||t.forEach(e=>a.append("staged_resource_urns",e)),{method:"POST",url:"/plus/discovery-monitor/un-mute?".concat(a)}},invalidatesTags:["Discovery Monitor Results"]}),updateAssetsSystem:e.mutation({query:e=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(e.monitorId,"/results"),body:e.urnList.map(t=>({urn:t,user_assigned_system_key:e.systemKey}))}),invalidatesTags:["Discovery Monitor Results","System Assets"]}),updateAssetsDataUse:e.mutation({query:e=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(e.monitorId,"/results"),body:e.urnList.map(t=>({urn:t,user_assigned_data_uses:e.dataUses}))}),invalidatesTags:["Discovery Monitor Results"]}),updateAssets:e.mutation({query:e=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(e.monitorId,"/results"),body:e.assets}),invalidatesTags:["Discovery Monitor Results"]}),getConsentBreakdown:e.query({query:e=>{let{stagedResourceUrn:t,status:a,page:n=1,size:i=20}=e;return{url:"/plus/discovery-monitor/staged_resource/".concat(encodeURIComponent(t),"/consent"),params:{status:a,page:n,size:i}}}})})})},88708:function(e,t,a){"use strict";a.d(t,{A:function(){return i}});var n,i,r=a(27378),s=a(14908),o=a(73825);(n=i||(i={})).ATTENTION_REQUIRED="attention-required",n.RECENT_ACTIVITY="recent-activity",n.IGNORED="ignored",t.Z=e=>{let{activeTab:t,onTabChange:a}=(0,s.Z)({tabKeys:Object.values(i)}),n=(0,r.useMemo)(()=>[{label:"Attention required",params:{diff_status:[o.LL.ADDITION],system:e},hash:"attention-required"},{label:"Recent activity",params:{diff_status:[o.LL.MONITORED]},hash:"recent-activity"},{label:"Ignored",params:{diff_status:[o.LL.MUTED],system:e},hash:"ignored"}],[e]),{diff_status:l,system:u}=(0,r.useMemo)(()=>{var e;return null!==(e=n.find(e=>e.hash===t))&&void 0!==e?e:n[0]},[n,t]).params,d=(0,r.useMemo)(()=>l.includes(o.LL.MONITORED),[l]);return{filterTabs:n,activeTab:t,onTabChange:a,activeParams:(0,r.useMemo)(()=>e?{diff_status:l,system:u}:{diff_status:l},[e,l,u]),actionsDisabled:d}}},78238:function(e,t,a){"use strict";a.d(t,{g:function(){return n}});let n=["essential","functional.service.improve","personalize","analytics","marketing.advertising.first_party.targeted","marketing.advertising.third_party.targeted"];t.Z=e=>n.includes(e)},56839:function(e,t,a){"use strict";a.d(t,{dK:function(){return d},Rv:function(){return F},$P:function(){return _},zj:function(){return m},Kr:function(){return g},q1:function(){return c},QL:function(){return h}});var n=a(24246),i=a(13577);let r=(0,i.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,i.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"})}),o=(0,i.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,i.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 u=a(28278);let d=()=>(0,n.jsx)(o,{color:"green.400",boxSize:2,mr:2,"data-testid":"add-icon"}),c=()=>(0,n.jsx)(s,{color:"red.400",boxSize:2,mr:2,"data-testid":"remove-icon"}),_=()=>(0,n.jsx)(l,{color:"orange.400",boxSize:3,mr:1,"data-testid":"classify-icon"}),F=()=>(0,n.jsx)(r,{color:"blue.400",boxSize:2.5,mb:"2px",mr:"6px","data-testid":"change-icon"}),m=()=>(0,n.jsx)(r,{color:"green.400",boxSize:2,mr:2,"data-testid":"monitored-icon"}),g=()=>(0,n.jsx)(r,{color:"red.400",boxSize:2,mr:2,"data-testid":"muted-icon"}),h={[u.E.ADDITION]:(0,n.jsx)(d,{}),[u.E.REMOVAL]:(0,n.jsx)(c,{}),[u.E.CLASSIFICATION]:(0,n.jsx)(_,{}),[u.E.CHANGE]:(0,n.jsx)(F,{}),[u.E.MONITORED]:(0,n.jsx)(m,{}),[u.E.MUTED]:(0,n.jsx)(g,{}),[u.E.IN_PROGRESS]:(0,n.jsx)(()=>(0,n.jsx)(r,{color:"orange.400",boxSize:2,mr:2,"data-testid":"in-progress-icon"}),{}),[u.E.NONE]:null}},28278:function(e,t,a){"use strict";var n,i;a.d(t,{E:function(){return n}}),(i=n||(n={})).ADDITION="Addition",i.CHANGE="Change",i.REMOVAL="Removal",i.CLASSIFICATION="Classification",i.IN_PROGRESS="Classifying",i.MONITORED="Monitoring",i.MUTED="Unmonitored",i.NONE="--"},56856:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return E}});var n=a(24246),i=a(86677),r=a(35287),s=a(77830),o=a(58754),l=a(59003),u=a(92222),d=a(13577),c=a(27378),_=a(812),F=a(47935),m=a(46628),g=a(73825),h=a(31883),v=a(30952),p=a(37059),f=a(88708),y=a(8411),S=a(72625),C=a(34929),x=a(78238),M=e=>{var t,a;let{system:i}=e,{getDataUseDisplayName:r}=(0,C.Z)(),s=(null!==(a=null===(t=i.data_uses)||void 0===t?void 0:t.filter(e=>(0,x.Z)(e)))&&void 0!==a?a:[]).map(e=>({label:r(e),key:e}));return(0,n.jsx)(S.mb,{values:s})},A=a(54762),b=a(9320);let I=e=>{let{monitorId:t,system:a,allowIgnore:r,onTabChange:o}=e,[l,{isLoading:u}]=(0,p.rs)(),[c,{isLoading:F}]=(0,p.nP)(),g=(0,i.useRouter)(),h=(0,d.pmc)(),v=u||F,{id:y,name:S,system_key:C,total_updates:x}=a,M=async()=>{let e=await l({monitor_config_key:t,resolved_system_ids:[y]});if((0,_.D4)(e))h((0,m.Vo)((0,_.e$)(e.error)));else{let e="".concat(s.So,"/configure/").concat(C,"#assets");h((0,m.t5)((0,b._)(C?"".concat(x," assets from ").concat(S," have been added to the system inventory."):"".concat(S," and ").concat(x," assets have been added to the system inventory. ").concat(S," is now configured for consent."),C?()=>g.push(e):void 0)))}},A=async()=>{let e=await c({monitor_config_key:t,resolved_system_ids:[y||s.Kl]});(0,_.D4)(e)?h((0,m.Vo)((0,_.e$)(e.error))):h((0,m.t5)((0,b._)(S?"".concat(x," assets from ").concat(S," have been ignored and will not appear in future scans."):"".concat(x," uncategorized assets have been ignored and will not appear in future scans."),()=>o(f.A.IGNORED))))};return(0,n.jsxs)(d.vyj,{children:[(0,n.jsx)(d.esZ,{title:a.id?void 0:"These assets must be categorized before you can add them to the inventory.",children:(0,n.jsx)(d.wpx,{"data-testid":"add-btn",size:"small",onClick:M,disabled:!a.id||v,loading:u,children:"Add"})}),r&&(0,n.jsx)(d.wpx,{"data-testid":"ignore-btn",size:"small",onClick:A,disabled:v,loading:F,children:"Ignore"})]})};var T=a(56839);let N=e=>{let{system:t}=e;return(0,n.jsxs)(d.jqI,{align:"center",children:[!t.system_key&&(0,n.jsx)(d.esZ,{title:"New system",children:(0,n.jsx)("span",{children:T.QL.Change})}),(0,n.jsxs)(d.jqI,{align:"center",gap:4,children:[(0,n.jsx)(d.xvT,{fontSize:"xs",fontWeight:"semibold",lineHeight:4,overflow:"hidden",textOverflow:"ellipsis",children:t.name||"Uncategorized assets"}),(0,n.jsx)(A.l,{consentStatus:t.consent_status})]})]})},j=e=>{let{monitorId:t,readonly:a,consentStatus:i,allowIgnore:r,onTabChange:s}=e;return{columns:(0,c.useMemo)(()=>{let e=(0,u.Cl)(),o=e.display({id:"select",cell:e=>{let{row:t}=e;return(0,n.jsx)(F.k,{isChecked:t.getIsSelected(),onChange:t.getToggleSelectedHandler(),dataTestId:"select-".concat(t.original.name||t.id)})},header:e=>{let{table:t}=e;return(0,n.jsx)(F.k,{isChecked:t.getIsAllPageRowsSelected(),isIndeterminate:t.getIsSomeRowsSelected(),onChange:t.getToggleAllRowsSelectedHandler(),dataTestId:"select-all-rows"})},maxSize:40,meta:{disableRowClick:!0,cellProps:{borderRight:"none"}}}),l=e.accessor(e=>e.name,{id:"system_name",cell:e=>(0,n.jsx)(N,{system:e.row.original}),header:()=>(0,n.jsxs)(d.vyj,{children:[(0,n.jsx)("div",{children:"System"}),(0,n.jsx)(A.l,{consentStatus:i})]}),size:300,meta:{headerProps:a?void 0:{paddingLeft:"0px"},cellProps:a?void 0:{padding:"0 !important"}}}),c=e.accessor(e=>e.total_updates,{id:"total_updates",cell:e=>(0,n.jsx)(F.G3,{value:e.getValue()}),header:"Assets",size:80}),_=e.display({id:"data_use",cell:e=>(0,n.jsx)(M,{system:e.row.original}),header:"Categories of consent",size:400,meta:{disableRowClick:!0}}),m=e.accessor(e=>e.locations,{id:"locations",cell:e=>{var t,a;return(0,n.jsx)(S.mb,{values:null!==(a=null===(t=e.getValue())||void 0===t?void 0:t.map(e=>({label:y.Z8[e],key:e})))&&void 0!==a?a:[]})},header:e=>(0,n.jsx)(S.Rr,{value:"Locations",...e}),size:300,meta:{showHeaderMenu:!0,disableRowClick:!0}}),g=e.accessor(e=>e.domains,{id:"domains",cell:e=>(0,n.jsx)(S.tc,{values:e.getValue(),valueSuffix:"domains",cellProps:e}),header:e=>(0,n.jsx)(S.Rr,{value:"Domains",...e}),meta:{showHeaderMenu:!0,disableRowClick:!0}}),h=e.display({id:"actions",cell:e=>(0,n.jsx)(I,{system:e.row.original,monitorId:t,allowIgnore:r,onTabChange:s}),header:"Actions",meta:{disableRowClick:!0}}),v=[l,c,_,m,g],p=[o,...v,h];return a?v:p},[t,a,i,r,s])}},R=e=>{let{monitorId:t}=e,a=(0,i.useRouter)(),[r,o]=(0,c.useState)(),{PAGE_SIZES:y,pageSize:S,setPageSize:C,onPreviousPageClick:x,isPreviousPageDisabled:M,onNextPageClick:A,isNextPageDisabled:I,startRange:T,endRange:N,pageIndex:R,setTotalPages:E,resetPageIndexToDefault:U}=(0,F.oi)(),[L,{isLoading:w}]=(0,p.rs)(),[k,{isLoading:D}]=(0,p.nP)(),P=(0,d.pmc)(),[O,B]=(0,c.useState)(""),[G,V]=(0,c.useState)({});(0,c.useEffect)(()=>{U()},[t,O,U]);let{filterTabs:K,activeTab:H,onTabChange:z,activeParams:Z,actionsDisabled:q}=(0,f.Z)();(0,c.useEffect)(()=>{U()},[t,O,U]);let{data:W,isLoading:J,isFetching:Y}=(0,p.wi)({key:t,page:R,size:S,search:O,...Z});(0,c.useEffect)(()=>{if(W){var e;E(null!==(e=W.pages)&&void 0!==e?e:1)}},[W,E]),(0,c.useEffect)(()=>{if((null==W?void 0:W.items)&&!r){var e;o(null===(e=W.items.find(e=>{var t;return(null===(t=e.consent_status)||void 0===t?void 0:t.status)===g.pF.ALERT}))||void 0===e?void 0:e.consent_status)}},[W,r]);let Q=e=>{z(e),V({})},{columns:X}=j({monitorId:t,onTabChange:Q,readonly:q,allowIgnore:!Z.diff_status.includes(g.LL.MUTED),consentStatus:r}),$=(0,l.b7)({getCoreRowModel:(0,u.sC)(),columns:X,manualPagination:!0,data:(null==W?void 0:W.items)||[],columnResizeMode:"onChange",onRowSelectionChange:V,state:{rowSelection:G},getRowId:e=>{var t,a,n;return null!==(n=null!==(a=null!==(t=e.id)&&void 0!==t?t:e.vendor_id)&&void 0!==a?a:e.name)&&void 0!==n?n:s.Kl}}),ee=$.getSelectedRowModel().rows,et=ee.some(e=>null===e.original.id);if(J)return(0,n.jsx)(F.I4,{rowHeight:36,numRows:36});let ea=async()=>{let e=ee.reduce((e,t)=>e+t.original.total_updates,0),n=await L({monitor_config_key:t,resolved_system_ids:ee.map(e=>e.original.id)});(0,h.D4)(n)?P((0,m.Vo)((0,_.e$)(n.error))):(P((0,m.t5)((0,b._)("".concat(e," assets have been added to the system inventory."),()=>a.push(s.So)))),V({}))},en=async()=>{let e=ee.reduce((e,t)=>e+t.original.total_updates,0),a=await k({monitor_config_key:t,resolved_system_ids:ee.map(e=>{var t;return null!==(t=e.original.id)&&void 0!==t?t:s.Kl})});(0,h.D4)(a)?P((0,m.Vo)((0,_.e$)(a.error))):(P((0,m.t5)((0,b._)("".concat(e," assets have been ignored and will not appear in future scans."),()=>z(f.A.IGNORED)))),V({}))};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.A5g,{items:K.map(e=>({key:e.hash,label:e.label})),activeKey:H,onChange:e=>Q(e)}),(0,n.jsx)(F.Q$,{children:(0,n.jsxs)(d.kCb,{direction:"row",alignItems:"center",justifyContent:"space-between",width:"full",children:[(0,n.jsx)(d.kCb,{gap:6,align:"center",children:(0,n.jsx)(d.xuv,{flexShrink:0,children:(0,n.jsx)(v.f,{value:O,onChange:B})})}),(0,n.jsxs)(d.kCb,{align:"center",children:[!!ee.length&&(0,n.jsx)(d.xvT,{fontSize:"xs",fontWeight:"semibold",minW:16,mr:6,"data-testid":"selected-count",children:"".concat(ee.length," selected")}),(0,n.jsx)(d.S0p,{menu:{items:[{key:"add",label:(0,n.jsx)(d.esZ,{title:et?"Uncategorized assets can't be added to the inventory":null,placement:"left",children:"Add"}),onClick:ea,disabled:et},Z.diff_status.includes(g.LL.MUTED)?null:{key:"ignore",label:"Ignore",onClick:en}]},trigger:["click"],children:(0,n.jsx)(d.wpx,{type:"primary",icon:(0,n.jsx)(d.PJP._ME,{}),iconPosition:"end",loading:w||D,disabled:!ee.length,"data-testid":"bulk-actions-menu",children:"Actions"})})]})]})}),(0,n.jsx)(F.ZK,{tableInstance:$,onRowClick:e=>{var n;let i="".concat(s.vi,"/").concat(t,"/").concat(null!==(n=e.id)&&void 0!==n?n:s.Kl).concat(H?"#".concat(H):"");a.push(i)},emptyTableNotice:(0,n.jsx)(d.oj8,{image:d.oj8.PRESENTED_IMAGE_SIMPLE,description:"All caught up!"})}),(0,n.jsx)(F.s8,{totalRows:(null==W?void 0:W.total)||0,pageSizes:y,setPageSize:C,onPreviousPageClick:x,isPreviousPageDisabled:M||Y,onNextPageClick:A,isNextPageDisabled:I||Y,startRange:T,endRange:N})]})};var E=()=>{let e=decodeURIComponent((0,i.useRouter)().query.monitorId);return(0,n.jsxs)(r.Z,{title:"Action center - Discovered assets by system",children:[(0,n.jsx)(o.Z,{heading:"Action center",breadcrumbItems:[{title:"All activity",href:s.vi},{title:e}]}),(0,n.jsx)(R,{monitorId:e})]})}},31883:function(e,t,a){"use strict";a.d(t,{Bw:function(){return n.Bw},D4:function(){return n.D4}});var n=a(19043)},99830:function(e){e.exports={toastLink:"ToastLink_toastLink__OLSeq"}}},function(e){e.O(0,[2858,2866,9278,2888,9774,179],function(){return e(e.s=86850)}),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9650],{6554:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/privacy-requests/[id]",function(){return i(8063)}])},77213:function(e,t,i){"use strict";i.d(t,{Z:function(){return m}});var s=i(24246),n=i(13577),a=i(88038),l=i.n(a),r=i(86677);i(27378);var o=i(25980),c=i(90867),d=i(77830),u=()=>{let e=(0,r.useRouter)();return(0,s.jsx)(n.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,s.jsxs)(n.xuv,{children:[(0,s.jsxs)(n.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,s.jsx)(n.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,s.jsx)(n.wpx,{onClick:()=>{e.push(d.fz)},children:"Configure"})]}),(0,s.jsxs)(n.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},m=e=>{let{children:t,title:i,padded:a=!0,mainProps:d}=e,m=(0,o.hz)(),p=(0,r.useRouter)(),h="/privacy-requests"===p.pathname||"/datastore-connection"===p.pathname,x=!(m.flags.privacyRequestsConfiguration&&h),{data:g}=(0,c.JE)(void 0,{skip:x}),{data:j}=(0,c.PW)(void 0,{skip:x}),y=m.flags.privacyRequestsConfiguration&&(!g||!j)&&h;return(0,s.jsxs)(n.kCb,{"data-testid":i,direction:"column",h:"100vh",children:[(0,s.jsxs)(l(),{children:[(0,s.jsxs)("title",{children:["Fides Admin UI - ",i]}),(0,s.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,s.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,s.jsxs)(n.kCb,{as:"main",direction:"column",py:a?6:0,px:a?10:0,h:a?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...d,children:[y?(0,s.jsx)(u,{}):null,t]})]})}},8063:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return eM}});var s,n,a,l,r=i(24246),o=i(13577),c=i(86677),d=i(77213),u=i(77830),m=i(58754),p=i(99716),h=i(27378),x=i(73825),g=i(19904);(s=a||(a={})).IN_PROCESSING="in_processing",s.PENDING="pending",s.COMPLETE="complete",s.ERROR="error",s.PAUSED="paused",s.AWAITING_PROCESSING="awaiting_processing",s.RETRYING="retrying",s.SKIPPED="skipped";let j={in_processing:"In processing",pending:"Pending",complete:"Complete",error:"Error",paused:"Paused",awaiting_processing:"Awaiting input",retrying:"Retrying",skipped:"Skipped"},y={error:"error",skipped:"warning",awaiting_processing:"minos",in_processing:void 0,pending:void 0,complete:void 0,paused:void 0,retrying:void 0};(n=l||(l={})).REQUEST_UPDATE="Request update",n.INTERNAL_COMMENT="Internal comment",n.MANUAL_TASK="Manual task";let v={"Request update":"sandstone","Internal comment":"marble","Manual task":"nectar"};var f=i(90005),_=i.n(f),b=i(16394),w=i(38450),T=i.n(w);let E=e=>{let{attachments:t}=e;return t.length?(0,r.jsx)("div",{className:"flex flex-wrap gap-2 text-sm text-gray-600","data-testid":"activity-timeline-attachments",children:t.map(e=>(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(o.PJP.PgN,{className:"mr-1 size-4"}),(0,r.jsx)(o.AntTypography.Text,{ellipsis:{tooltip:!0},className:"!max-w-[200px]",children:e.file_name})]},e.id))}):null};var R=e=>{let{item:t}=e,{author:i,title:s,date:n,type:a,onClick:c,isError:d,isAwaitingInput:u,description:m,attachments:p,showViewLog:h}=t,x=(0,b.p6)(n),g=!!c,j=p&&p.length>0,y=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:T().header,children:(0,r.jsxs)("div",{className:T().headerLeft,children:[(0,r.jsxs)("span",{className:T().author,"data-testid":"activity-timeline-author",children:[i,":"]}),s&&(0,r.jsxs)(o.AntTypography.Text,{className:_()(T().title,{[T()["title--error"]]:d,[T()["title--awaiting-input"]]:u}),ellipsis:{tooltip:!0},style:{maxWidth:"33%"},"data-testid":"activity-timeline-title",children:[s,d&&" failed"]}),(0,r.jsx)("span",{className:T().timestamp,"data-testid":"activity-timeline-timestamp",children:x}),(0,r.jsx)(o.j8w,{className:T().type,color:v[a],"data-testid":"activity-timeline-type",children:a}),h&&(0,r.jsx)("span",{className:T().viewLogs,"data-testid":"activity-timeline-view-logs",children:"View Log"})]})}),(m||j)&&(0,r.jsxs)("div",{className:"mt-2 flex justify-between pl-2.5 align-top",children:[(0,r.jsx)(o.AntTypography.Paragraph,{className:"!mb-0 whitespace-pre-wrap","data-testid":"activity-timeline-description",children:m||""}),j&&(0,r.jsx)(E,{attachments:p})]})]}),f={className:_()(T().itemButton,{[T()["itemButton--error"]]:d,[T()["itemButton--awaiting-input"]]:u,[T()["itemButton--clickable"]]:g,[T()["itemButton--comment"]]:a===l.INTERNAL_COMMENT,[T()["itemButton--manual-task"]]:a===l.MANUAL_TASK}),"data-testid":"activity-timeline-item"};return g?(0,r.jsx)("button",{type:"button",onClick:c,...f,children:y}):(0,r.jsx)("div",{...f,children:y})},A=i(25980),C=i(54427),k=i(78780);let{useGetCommentsQuery:S,useCreateCommentMutation:q,useGetCommentDetailsQuery:N,useLazyGetCommentDetailsQuery:P}=k.u.injectEndpoints({endpoints:e=>({getComments:e.query({query:e=>{let{privacy_request_id:t,page:i=1,size:s}=e;return{url:"plus/privacy-request/".concat(t,"/comment"),method:"GET",params:{page:i,size:s}}},providesTags:["Privacy Request Comments"]}),createComment:e.mutation({query:e=>{let{privacy_request_id:t,comment_text:i,comment_type:s}=e,n=new FormData;return n.append("comment_text",i),n.append("comment_type",s),{url:"plus/privacy-request/".concat(t,"/comment"),method:"POST",body:n,formData:!0}},invalidatesTags:["Privacy Request Comments","Request"]}),getCommentDetails:e.query({query:e=>{let{privacy_request_id:t,comment_id:i}=e;return{url:"plus/privacy-request/".concat(t,"/comment/").concat(i),method:"GET"}}})})}),{reducer:I}=(0,C.oM)({name:"privacyRequestComments",initialState:{},reducers:{}}),D=e=>{let{plus:t}=(0,A.hz)(),{data:i,isLoading:s,error:n}=S({privacy_request_id:e,size:100},{skip:!t});return(0,h.useEffect)(()=>{n&&o.Pg3.error("Failed to fetch the request comments")},[n]),{commentItems:(null==i?void 0:i.items)?i.items.map(e=>({author:e.user_first_name&&e.user_last_name?"".concat(e.user_first_name," ").concat(e.user_last_name):e.username||"Unknown",date:new Date(e.created_at),type:l.INTERNAL_COMMENT,showViewLog:!1,description:e.comment_text,isError:!1,isSkipped:!1,isAwaitingInput:!1,id:"comment-".concat(e.id)})):[],isLoading:s}},O=e=>{let t=!e;return{eventItems:e?Object.entries(e).map(e=>{let[t,i]=e,s=i.some(e=>e.status===a.ERROR),n=i.some(e=>e.status===a.SKIPPED),r=i.some(e=>e.status===a.AWAITING_PROCESSING);return{author:"Fides",title:t,date:new Date(i[0].updated_at),type:l.REQUEST_UPDATE,showViewLog:s||n||r,onClick:()=>{},isError:s,isSkipped:n,isAwaitingInput:r,id:"request-".concat(t)}}):[],isLoading:t}};var U=i(45116);let M=e=>{let{data:t,isLoading:i,error:s}=(0,U.Ym)({page:1,size:100,privacyRequestId:e,status:void 0,includeFullSubmissionDetails:!0});return(0,h.useEffect)(()=>{s&&o.Pg3.error("Failed to fetch manual tasks")},[s]),{manualTaskItems:t?t.items.filter(e=>e.status===x.OS.COMPLETED||e.status===x.OS.SKIPPED).map(e=>{var t,i,s;let n=e.submission_user?(0,b.gJ)(e.submission_user):"Unknown User";(null===(t=e.submission_user)||void 0===t?void 0:t.id)&&!(null===(i=e.submission_user)||void 0===i?void 0:i.id.startsWith("fid_"))&&(n=(null===(s=e.submission_user)||void 0===s?void 0:s.id)||"Unknown User");let a=e.status===x.OS.SKIPPED,r="Task ".concat(a?"skipped":"completed"," - ").concat(e.name),o=e.comments&&e.comments.length>0?e.comments[e.comments.length-1].comment_text:void 0,c=e.attachments||[];return{author:n,title:r,date:new Date(e.updated_at),type:l.MANUAL_TASK,showViewLog:!1,description:o,isError:!1,isSkipped:a,isAwaitingInput:!1,id:"manual-task-".concat(e.manual_field_id),attachments:c}}):[],taskCommentIds:(0,h.useMemo)(()=>{let e=new Set;return(null==t?void 0:t.items)&&t.items.filter(e=>e.status===x.OS.COMPLETED||e.status===x.OS.SKIPPED).forEach(t=>{var i;null===(i=t.comments)||void 0===i||i.forEach(t=>{e.add(t.id)})}),e},[t]),isLoading:i}};var z=i(88340),L=e=>{let{errorMessage:t,status:i=a.ERROR}=e;return(0,r.jsxs)(o.xuv,{height:"100%",id:"outer",children:[(0,r.jsxs)(o.kCb,{alignItems:"center",children:[(0,r.jsx)(o.xvT,{size:"sm",color:"gray.700",fontWeight:"medium",marginRight:"8px",lineHeight:"20px",children:"Status"}),(0,r.jsx)(o.j8w,{color:y[i],children:j[i]}),(0,r.jsx)(o.xuv,{padding:"0px",marginBottom:"3px",children:(0,r.jsx)(z.Z,{copyText:t})})]}),(0,r.jsx)(o.izJ,{marginTop:"4px",marginBottom:"6px"}),(0,r.jsx)(o.xuv,{id:"errorWrapper",overflow:"auto",height:"100%",children:(0,r.jsx)(o.xvT,{children:t})})]})},W=i(3124),B=i.n(W);let F=e=>{switch(e){case x.Us.ACCESS:return"Data Retrieval";case x.Us.ERASURE:return"Data Deletion";case x.Us.CONSENT:return"Consent";case x.Us.UPDATE:return"Data Update";default:return e}};var G=e=>{let{eventLogs:t,onDetailPanel:i}=e,s=null==t?void 0:t.map(e=>(0,r.jsxs)(o.Tr,{backgroundColor:e.status===a.ERROR||e.status===a.SKIPPED&&e.message||e.status===a.AWAITING_PROCESSING?B().FIDESUI_NEUTRAL_50:"unset",onClick:()=>{(e.status===a.ERROR||e.status===a.SKIPPED&&e.message||e.status===a.AWAITING_PROCESSING)&&i(e.message,e.status)},style:{cursor:e.message?"pointer":"unset"},_hover:{backgroundColor:B().FIDESUI_NEUTRAL_50},children:[(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:(0,b.p6)(e.updated_at)})}),(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:F(e.action_type)})}),(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.j8w,{color:y[e.status],children:j[e.status]})}),(0,r.jsx)(o.Td,{children:(0,r.jsx)(o.xvT,{color:"gray.600",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:e.collection_name})})]},e.updated_at));return(0,r.jsx)(o.xuv,{width:"100%",paddingTop:"0px",height:"100%",children:(0,r.jsx)(o.xJi,{id:"tableContainer",height:"100%",style:{overflowY:"auto"},children:(0,r.jsxs)(o.iA_,{size:"sm",id:"table",position:"relative",children:[(0,r.jsx)(o.hrZ,{id:"tableHeader",position:"sticky",top:"0px",backgroundColor:"white",children:(0,r.jsxs)(o.Tr,{children:[(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Time"})}),(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Action Type"})}),(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Status"})}),(0,r.jsx)(o.Th,{children:(0,r.jsx)(o.xvT,{color:"black",fontSize:"xs",lineHeight:"4",fontWeight:"medium",children:"Collection"})})]})}),(0,r.jsx)(o.p3B,{id:"tableBody",children:s})]})})})},J=e=>{let{isOpen:t,onClose:i,currentLogs:s,isViewingError:n,errorMessage:l,currentStatus:c=a.ERROR,onCloseErrorPanel:d,onOpenErrorPanel:u}=e;return(0,r.jsxs)(o.dys,{isOpen:t,placement:"right",onClose:i,size:"full",autoFocus:!1,"data-testid":"log-drawer",children:[(0,r.jsx)(o.P1B,{}),(0,r.jsxs)(o.scA,{style:{width:"50%"},"data-testid":"log-drawer",children:[(0,r.jsx)(o.OXI,{style:{paddingBottom:"0px"},children:(0,r.jsxs)(o.kCb,{justifyContent:"space-between",alignItems:"center",height:"40px",children:[(0,r.jsxs)(o.kCb,{alignItems:"center",children:[n&&(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.Rpv,{}),"aria-label":"Close error logs",size:"small",onClick:d}),(0,r.jsx)(o.xvT,{color:"gray.900",fontSize:"md",lineHeight:"6",fontWeight:"medium",ml:1,children:n?"Event detail":"Event log"})]}),(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.LGN,{width:"17px"}),"aria-label":"Stop viewing error message",size:"small",onClick:i,"data-testid":"log-drawer-close"})]})}),(0,r.jsxs)(o.Ng0,{id:"drawerBody",overflow:"hidden",children:[s&&!n?(0,r.jsx)(G,{eventLogs:s,onDetailPanel:u}):null,n?(0,r.jsx)(L,{errorMessage:l,status:c}):null]})]})]})},K=e=>{let{subjectRequest:t}=e,{isOpen:i,onOpen:s,onClose:n}=(0,o.qY0)(),[c,d]=(0,h.useState)([]),[u,m]=(0,h.useState)(""),[p,x]=(0,h.useState)(!1),[g,j]=(0,h.useState)(""),[y,v]=(0,h.useState)(a.ERROR),{results:f,id:_}=t,{commentItems:b,isLoading:w}=D(_),{eventItems:E,isLoading:A}=O(f),{manualTaskItems:C,taskCommentIds:k,isLoading:S}=M(_);(0,h.useEffect)(()=>{u&&f&&f[u]&&d(f[u])},[f,u]);let q=()=>{x(!1)},N=(0,h.useCallback)((e,t)=>{m(e),d(t),s()},[s]),P=(0,h.useMemo)(()=>b.filter(e=>{let t=e.id.replace("comment-","");return!k.has(t)}),[b,k]),I=(0,h.useMemo)(()=>{let e=E.map(e=>{if("Request update"===e.type&&e.title&&f){let t=e.title;if(f[t])return{...e,onClick:()=>N(t,f[t])}}return e});return[{author:"Fides",title:"Access request received",date:new Date(t.created_at),type:l.REQUEST_UPDATE,showViewLog:!1,isError:!1,isSkipped:!1,isAwaitingInput:!1,id:"initial-request"},...e,...P,...C].sort((e,t)=>new Date(e.date).getTime()-new Date(t.date).getTime())},[E,P,C,f,N,t.created_at]);return(0,r.jsxs)(o.xuv,{width:"100%",children:[(0,r.jsx)(o.krs,{className:"!border-none",bordered:!1,split:!1,"data-testid":"activity-timeline-list",children:(0,r.jsx)("ul",{className:"!list-none",children:w||A||S?(0,r.jsx)("div",{className:T().itemButton,"data-testid":"timeline-skeleton",children:(0,r.jsx)(o.N_L,{paragraph:{rows:2},active:!0})}):I.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(R,{item:e})},e.id))})}),(0,r.jsx)(J,{isOpen:i,onClose:()=>{p&&q(),m(""),n()},currentLogs:c,isViewingError:p,errorMessage:g,currentStatus:y,onOpenErrorPanel:(e,t)=>{j(e),t&&v(t),x(!0)},onCloseErrorPanel:q})]})},Z=i(66187);let H=e=>{let{privacyRequestId:t,onCancel:i}=e,[s,n]=(0,h.useState)(""),a=(0,h.useRef)(null),[l,{isLoading:c}]=q();(0,h.useEffect)(()=>{a.current&&a.current.focus()},[]);let d=async()=>{if(s.trim())try{await l({privacy_request_id:t,comment_text:s,comment_type:Z.i.NOTE}).unwrap(),n(""),i()}catch(e){console.error("Failed to add comment:",e),o.Pg3.error({content:"Failed to add comment",duration:5})}},u=[{key:"internal",label:"Internal comment",children:(0,r.jsx)(o.uFc.TextArea,{ref:a,value:s,onChange:e=>n(e.target.value),rows:3,className:"mb-3 h-[150px] w-full !resize-none","data-testid":"comment-input"})}];return(0,r.jsxs)("div",{children:[(0,r.jsx)(o.A5g,{items:u}),(0,r.jsxs)(o.jqI,{justify:"flex-end",className:"gap-2",children:[(0,r.jsx)(o.wpx,{onClick:i,"data-testid":"cancel-comment-button",children:"Cancel"}),(0,r.jsx)(o.wpx,{onClick:d,loading:c,disabled:!s.trim(),type:"primary",htmlType:"button","data-testid":"submit-comment-button",children:"Save"})]})]})};var V=e=>{let{subjectRequest:t}=e,[i,s]=(0,h.useState)(!1);return(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsx)(K,{subjectRequest:t}),i?(0,r.jsx)(H,{privacyRequestId:t.id,onCancel:()=>s(!1)}):(0,r.jsx)(g.ZP,{scopes:[x.Sh.COMMENT_CREATE],children:(0,r.jsx)(o.jqI,{justify:"flex-start",className:"mt-2",children:(0,r.jsxs)(o.wpx,{type:"default",onClick:()=>s(!0),className:"flex items-center","data-testid":"add-comment-button",children:["Add comment ",(0,r.jsx)("span",{className:"ml-1",children:"+"})]})})})]})},Y=i(14207),Q=i(46238),X=i(72281),$=i(14047),ee=i(90867),et=i(16134);let ei=e=>Array.from(new Set(e.filter(e=>Object.values(x.Us).includes(e.action_type)).map(e=>e.action_type)));var es=e=>{let{rules:t}=e,i=ei(t).map(e=>(0,b.kC)(e)).map(e=>e);return(0,r.jsx)(o.AntTypography.Text,{children:i.join(" - ")})},en=i(34090),ea=i(55484),el=e=>{let{connectorName:t,data:i,isSubmitting:s=!1,onSaveClick:n}=e,{isOpen:a,onOpen:l,onClose:c}=(0,o.qY0)(),d=(0,h.useRef)(null),u=async(e,t)=>{n({connection_key:i.connection_key,privacy_request_id:i.privacy_request_id,body:{...e}}),c()};return(0,r.jsxs)(r.Fragment,{children:[(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:l,size:"small",children:"Review"}),!(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:l,size:"small",type:"primary",children:"Begin manual input"}),(0,r.jsx)(en.J9,{enableReinitialize:!0,initialValues:{...i.fields},onSubmit:u,validateOnBlur:!1,validateOnChange:!1,validationSchema:ea.Ry().shape({}),children:e=>(0,r.jsxs)(o.dys,{isOpen:a,placement:"right",initialFocusRef:d,onClose:c,size:"lg",children:[(0,r.jsx)(o.P1B,{}),(0,r.jsxs)(o.scA,{children:[(0,r.jsx)(o.cCv,{}),(0,r.jsxs)(o.OXI,{color:"gray.900",children:[(0,r.jsx)(o.xvT,{fontSize:"xl",mb:8,children:t}),(0,r.jsx)(o.izJ,{}),(0,r.jsx)(o.xvT,{fontSize:"md",mt:"4",children:"Manual access"}),(0,r.jsx)(o.xuv,{mt:"8px",children:(0,r.jsx)(o.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"normal",children:"Please complete the following PII fields that have been collected for the selected subject."})})]}),(0,r.jsx)(o.Ng0,{children:(0,r.jsx)(en.l0,{id:"manual-detail-form",noValidate:!0,children:(0,r.jsx)(o.gCW,{align:"stretch",gap:"16px",children:Object.entries(i.fields).map((e,t)=>{let[i]=e;return(0,r.jsx)(o.Ugi,{children:(0,r.jsx)(en.gN,{id:i,name:i,children:e=>{let{field:s}=e;return(0,r.jsxs)(o.NIc,{alignItems:"baseline",display:"inline-flex",children:[(0,r.jsx)(o.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:i,w:"50%",children:i}),(0,r.jsx)(o.IIB,{...s,autoComplete:"off",color:"gray.700",placeholder:"Please enter ".concat(i),ref:0===t?d:void 0,size:"sm"})]})}})},i)})})})}),(0,r.jsx)(o.zeN,{justifyContent:"flex-start",children:(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)(o.wpx,{onClick:c,children:"Cancel"}),(0,r.jsx)(o.wpx,{form:"manual-detail-form",loading:s,htmlType:"submit",children:"Save"})]})})]})]})})]})},er=e=>{let{connectorName:t,data:i,isSubmitting:s=!1,onSaveClick:n}=e,{isOpen:a,onOpen:l,onClose:c}=(0,o.qY0)(),d=(0,h.useRef)(null),u=async(e,t)=>{n({connection_key:i.connection_key,privacy_request_id:i.privacy_request_id,body:{...e}}),c()};return(0,r.jsxs)(r.Fragment,{children:[(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:l,size:"small",children:"Review"}),!(null==i?void 0:i.checked)&&(0,r.jsx)(o.wpx,{onClick:l,size:"small",type:"primary",children:"Begin manual input"}),(0,r.jsx)(en.J9,{enableReinitialize:!0,initialValues:{...i.fields},onSubmit:u,validateOnBlur:!1,validateOnChange:!1,validationSchema:ea.Ry().shape({}),children:e=>(0,r.jsxs)(o.dys,{isOpen:a,placement:"right",initialFocusRef:d,onClose:c,size:"lg",children:[(0,r.jsx)(o.P1B,{}),(0,r.jsxs)(o.scA,{children:[(0,r.jsx)(o.cCv,{}),(0,r.jsxs)(o.OXI,{color:"gray.900",children:[(0,r.jsx)(o.xvT,{fontSize:"xl",mb:8,children:t}),(0,r.jsx)(o.izJ,{}),(0,r.jsx)(o.xvT,{fontSize:"md",mt:"4",children:"Manual erasure"}),(0,r.jsx)(o.xuv,{mt:"8px",children:(0,r.jsx)(o.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"normal",children:"Please delete the following PII fields associated with the selected subject if they are available. Once deleted, check the box to confirm the deletion."})})]}),(0,r.jsx)(o.Ng0,{children:(0,r.jsx)(en.l0,{id:"manual-detail-form",noValidate:!0,children:(0,r.jsx)(o.gCW,{align:"stretch",gap:"16px",children:Object.entries(i.fields).map(e=>{let[t]=e;return(0,r.jsx)(o.Ugi,{children:(0,r.jsx)(en.gN,{id:t,name:t,children:e=>{let{field:i}=e;return(0,r.jsxs)(o.NIc,{alignItems:"baseline",display:"inline-flex",children:[(0,r.jsx)(o.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:t,w:"50%",children:t}),(0,r.jsx)(o.XZJ,{...i,isChecked:!!i.value,onChange:i.onChange,name:t,id:t})]})}})},t)})})})}),(0,r.jsx)(o.zeN,{justifyContent:"flex-start",children:(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)(o.wpx,{onClick:c,children:"Cancel"}),(0,r.jsx)(o.wpx,{form:"manual-detail-form",loading:s,htmlType:"submit",children:"Save"})]})})]})]})})]})};let eo=(e,t,i)=>e.includes(x.Us.ACCESS)?{ProcessingDetailComponent:el,uploadMutation:t,getUploadedWebhookDataEndpoint:ee.$I.endpoints.getUploadedManualAccessWebhookData}:e.includes(x.Us.ERASURE)?{ProcessingDetailComponent:er,uploadMutation:i,getUploadedWebhookDataEndpoint:ee.$I.endpoints.getUploadedManualErasureWebhookData}:null;var ec=e=>{let{subjectRequest:t,onComplete:i}=e,s=(0,et.T)(),{errorAlert:n,successAlert:a}=(0,$.V)(),{handleError:l}=(0,$.H)(),[c,d]=(0,h.useState)([]),[u,m]=(0,h.useState)(!1),[p,g]=(0,h.useState)(!1),{data:j,isFetching:y,isLoading:v,isSuccess:f}=(0,Y.W6)(),[_]=(0,ee.w3)(),b=ei(t.policy.rules),[w]=(0,ee.nL)(),[T]=(0,ee.UR)(),{ProcessingDetailComponent:E,uploadMutation:R,getUploadedWebhookDataEndpoint:A}=eo(b,w,T),C=async()=>{try{m(!0),await _(t.id).unwrap(),a("Manual request has been received. Request now processing."),i()}catch(e){l(e)}finally{m(!1)}},k=async e=>{try{g(!0),await R(e).unwrap();let t={connection_key:e.connection_key,fields:{}};Object.entries(e.body).forEach(e=>{let[i,s]=e;t.fields[i]=s||""});let i=c.map(e=>e.connection_key===t.connection_key?{...e,checked:!0,fields:{...t.fields}}:e);d(i),a("Manual input successfully saved!")}catch(e){l(e)}finally{g(!1)}};return((0,h.useEffect)(()=>(f&&j.length>0&&0===c.length&&(()=>{if(c.length>0)return;let e=[],i=null==j?void 0:j.map(e=>e.connection_config.key);null==i||i.every(i=>e.push(s(A.initiate({connection_key:i,privacy_request_id:t.id})))),Promise.allSettled(e).then(e=>{let t=[];e.forEach((e,i)=>{if("fulfilled"===e.status&&e.value.isSuccess&&e.value.data){let i={checked:e.value.data.checked,fields:{},connection_key:e.value.originalArgs.connection_key,privacy_request_id:e.value.originalArgs.privacy_request_id};Object.entries(e.value.data.fields).forEach(e=>{let[t,s]=e;i.fields[t]=s||""}),t.push(i)}else n("An error occurred while loading manual input data for ".concat(j[i].connection_config.name))}),d(t)})})(),()=>{}),[j,c.length,s,n,f,t.id,A]),b.includes(x.Us.ACCESS)||b.includes(x.Us.ERASURE))?(0,r.jsxs)(o.gCW,{align:"stretch",spacing:8,children:[(0,r.jsx)(o.xuv,{children:(0,r.jsx)(o.xvT,{color:"gray.700",fontSize:"sm",children:"The following table details the integrations that require manual input from you."})}),(0,r.jsxs)(o.xuv,{children:[(y||v)&&(0,r.jsx)(o.M5Y,{children:(0,r.jsx)(o.$jN,{})}),f&&j?(0,r.jsx)(o.xJi,{children:(0,r.jsxs)(o.iA_,{size:"sm",variant:"unstyled",children:[(0,r.jsx)(o.hrZ,{children:(0,r.jsxs)(o.Tr,{children:[(0,r.jsx)(o.Th,{fontSize:"sm",fontWeight:"semibold",pl:"0",textTransform:"none",children:"Integration Identifier"}),(0,r.jsx)(o.Th,{})]})}),(0,r.jsxs)(o.p3B,{children:[j.length>0&&j.map(e=>(0,r.jsxs)(o.Tr,{display:"block",children:[(0,r.jsx)(o.Td,{pl:"0",children:e.connection_config.key}),(0,r.jsx)(o.Td,{children:c.length>0?(0,r.jsx)(E,{connectorName:e.connection_config.name,data:c.find(t=>t.connection_key===e.connection_config.key),isSubmitting:p,onSaveClick:k}):null})]},e.id)),0===j.length&&(0,r.jsx)(o.Tr,{children:(0,r.jsx)(o.Td,{colSpan:3,pl:"0",children:(0,r.jsx)(o.M5Y,{children:(0,r.jsx)(o.xvT,{children:"You don‘t have any Manual Process connections set up yet."})})})})]}),c.length>0&&c.every(e=>e.checked)?(0,r.jsx)(o.$RU,{children:(0,r.jsx)(o.Tr,{children:(0,r.jsx)(o.Th,{pl:"0px",children:(0,r.jsx)(o.wpx,{type:"primary",loading:u,onClick:C,className:"mt-2",children:"Complete DSR"})})})}):null]})}):null]})]}):null},ed=e=>{let{subjectRequest:t,onComplete:i}=e,s=(0,c.useRouter)(),{data:n}=(0,Y.AZ)({}),a=(0,h.useMemo)(()=>{var e;return(null==n?void 0:null===(e=n.items)||void 0===e?void 0:e.filter(e=>e.connection_type===x.Rj.MANUAL_TASK))||[]},[n]),{data:l}=(0,Y.W6)(),d=(l||[]).length>0,{data:m}=(0,U.Ym)({page:1,size:100,privacyRequestId:t.id}),p=(null==m?void 0:m.items)||[],g=p.length,j=p.filter(e=>e.status===x.OS.NEW).length,y=a.length>0;return y||d?(0,r.jsxs)(o.Kqy,{spacing:6,children:[y&&(0,r.jsxs)(o.xuv,{children:[(0,r.jsx)(o.AntTypography.Title,{level:4,style:{marginBottom:12},children:"Manual tasks"}),(0,r.jsxs)(o.Kqy,{spacing:2,children:[(0,r.jsxs)(o.AntTypography.Text,{children:[(0,r.jsx)("strong",{children:g})," task",1!==g?"s":""," ","linked to this privacy request"]}),(0,r.jsxs)(o.AntTypography.Text,{children:[(0,r.jsx)("strong",{children:j})," pending task",1!==j?"s":""]}),g>0&&(0,r.jsx)("div",{className:"mt-2",children:(0,r.jsx)(o.wpx,{type:"primary",onClick:()=>{s.push({pathname:u.Jw,query:{privacy_request_id:t.id,tab:X.G.MANUAL_TASK}})},children:"View all tasks for this request →"})})]})]}),d&&(0,r.jsxs)(o.xuv,{children:[(0,r.jsxs)(o.kCb,{alignItems:"center",style:{marginBottom:12},children:[(0,r.jsx)(o.AntTypography.Title,{level:4,style:{margin:0,marginRight:8},children:"Manual steps (legacy)"}),(0,r.jsx)(Q.b,{label:"This is the legacy manual steps feature. The new manual tasks feature provides more advanced capabilities and better user experience."})]}),(0,r.jsx)(ec,{subjectRequest:t,onComplete:i||(()=>{})})]})]}):(0,r.jsx)(o.xuv,{p:4,children:(0,r.jsx)(o.AntTypography.Text,{type:"secondary",children:"No manual tasks or legacy manual steps configured for this request."})})},eu=i(59969);let em={approved:{color:"success",label:"Approved"},complete:{color:"success",label:"Completed"},awaiting_email_send:{color:"marble",label:"Awaiting Email Send"},denied:{color:"warning",label:"Denied"},canceled:{color:"marble",label:"Canceled"},error:{color:"error",label:"Error"},in_processing:{color:"caution",label:"In Progress"},paused:{color:"marble",label:"Paused"},pending:{color:"info",label:"New"},identity_unverified:{color:"marble",label:"Unverified"},requires_input:{color:"minos",label:"Requires Input"}};var ep=e=>{let{status:t}=e;return(0,r.jsx)(o.j8w,{color:em[t].color,className:"justify-center","data-testid":"request-status-badge",children:em[t].label})},eh=i(18225),ex=i(812),eg=i(7842);let{useGetAttachmentsQuery:ej,useUploadAttachmentMutation:ey,useGetAttachmentDetailsQuery:ev,useLazyGetAttachmentDetailsQuery:ef}=k.u.injectEndpoints({endpoints:e=>({getAttachments:e.query({query:e=>{let{privacy_request_id:t,page:i=1,size:s}=e;return{url:"plus/privacy-request/".concat(t,"/attachment"),method:"GET",params:{page:i,size:s}}},providesTags:["Privacy Request Attachments"]}),uploadAttachment:e.mutation({query:e=>{let{privacy_request_id:t,attachment_type:i,attachment_file:s}=e,n=new FormData;return n.append("attachment_type",i),n.append("attachment_file",s),{url:"plus/privacy-request/".concat(t,"/attachment"),method:"POST",body:n,params:{}}},invalidatesTags:["Privacy Request Attachments"]}),getAttachmentDetails:e.query({query:e=>{let{privacy_request_id:t,attachment_id:i}=e;return{url:"plus/privacy-request/".concat(t,"/attachment/").concat(i),method:"GET"}}})})}),{reducer:e_}=(0,C.oM)({name:"privacyRequestAttachments",initialState:{},reducers:{}}),eb=e=>{var t;let{file:i}=e,[s,n]=(0,h.useState)(!1),[a]=ef(),l=async()=>{var e,t,s;if((null===(e=i.customData)||void 0===e?void 0:e.attachment_id)&&(null===(t=i.customData)||void 0===t?void 0:t.privacy_request_id)){n(!0);try{let e=await a({privacy_request_id:i.customData.privacy_request_id,attachment_id:i.customData.attachment_id}),t=null===(s=e.data)||void 0===s?void 0:s.retrieved_attachment_url,n=null==t?void 0:t.startsWith("http");t&&n?window.open(t,"_blank"):t&&!n?o.Pg3.info("Download is not available when using local storage methods."):o.Pg3.error("No download URL available for ".concat(i.name))}catch(e){o.Pg3.error("Failed to fetch attachment download URL")}finally{n(!1)}}},c=(null===(t=i.customData)||void 0===t?void 0:t.attachment_type)===x.sf.INCLUDE_WITH_ACCESS_PACKAGE;return(0,r.jsxs)(o.jqI,{align:"center",gap:8,children:[(0,r.jsx)(o.PJP.PgN,{className:"shrink-0"}),(0,r.jsx)(o.lKn,{ellipsis:{tooltip:i.name},className:"grow",children:i.name}),c&&(0,r.jsx)(o.esZ,{title:"This attachment will be included in the access package.",children:(0,r.jsx)(o.PJP.wvC,{className:"shrink-0",title:"User icon"})}),(0,r.jsx)(o.wpx,{type:"text",icon:(0,r.jsx)(o.PJP.UWx,{}),onClick:l,loading:s,className:"shrink-0"})]})},ew=(e,t)=>(0,r.jsx)(eb,{file:t});var eT=e=>{let{subjectRequest:t}=e,[i,s]=(0,h.useState)(!1),n=(0,g.Tg)([x.Sh.ATTACHMENT_READ]),a=(0,g.Tg)([x.Sh.ATTACHMENT_CREATE]),[l]=ey(),{data:c,isLoading:d,error:u}=(0,ee.PW)(),{data:m,isLoading:p}=ej({privacy_request_id:t.id}),{refetch:j}=ej({privacy_request_id:t.id}),y=(null==m?void 0:m.items.map(e=>({uid:e.id,name:e.file_name,status:"done",customData:{attachment_id:e.id,privacy_request_id:t.id,attachment_type:e.attachment_type}})))||[],v=(0,h.useCallback)(()=>(0,r.jsx)(o.PJP.PgN,{}),[]);if(!n)return null;let f=a&&(null==c?void 0:c.key),_=[".pdf",".doc",".docx",".xls",".xlsx",".txt",".csv",".jpg",".jpeg",".png",".zip"];return(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:"mt-6",children:[(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)(o.lQT,{level:3,children:"Attachments"})}),d||p?(0,r.jsx)(eh.Z,{size:"md",alignment:"start"}):(0,r.jsx)(o.pMK,{name:"attachment_file",fileList:y,iconRender:v,showUploadList:{showRemoveIcon:!1,showDownloadIcon:!1},itemRender:ew,accept:_.join(","),customRequest:async e=>{let{file:i,onSuccess:n,onError:a}=e,r=i.name;try{s(!0),await l({privacy_request_id:t.id,attachment_file:i,attachment_type:eg.s.INTERNAL_USE_ONLY}).unwrap(),o.Pg3.success("".concat(r," file uploaded successfully")),j(),null==n||n(i)}catch(e){o.Pg3.error("".concat(r," file upload failed.")),null==a||a(e)}finally{s(!1)}},disabled:!f,children:a&&(0,r.jsx)(o.esZ,{title:u&&"Add attachment not available: ".concat((0,ex.e$)(u)),placement:"top",children:(0,r.jsxs)(o.jqI,{align:"center",gap:12,className:"mb-4",children:[(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.PJP.mm_,{}),iconPosition:"end",disabled:!f||i,loading:i,children:i?"Uploading":"Add"}),(0,r.jsx)(Q.b,{label:"Uploaded attachments are for internal use and won't be send as part of the request package.\n Accepted filetypes: ".concat(_.join(", ")),placement:"top"})]})})})]})})},eE=i(15709),eR=i.n(eE),eA=e=>{let{label:t,children:i}=e;return(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("div",{className:"shrink-0 grow-0 basis-1/2 pr-2 ".concat(eR().label),children:(0,r.jsxs)(o.AntTypography.Text,{children:[t,":"]})}),(0,r.jsx)("div",{className:"min-w-0 shrink grow ".concat(eR().value),"data-testid":"request-detail-value-".concat(t),children:i})]})},eC=e=>{let{subjectRequest:t}=e,{custom_privacy_request_fields:i}=t;return(0,r.jsx)("div",{className:"flex flex-col gap-2",children:i&&Object.keys(i).length>0&&Object.entries(i).filter(e=>{let[,t]=e;return t.value}).map(e=>{let[t,i]=e;return(0,r.jsx)(eA,{label:i.label,children:(0,r.jsx)(o.AntTypography.Text,{children:Array.isArray(i.value)?i.value.join(", "):i.value})},t)})})},ek=e=>{let{subjectRequest:t}=e,{plus:i}=(0,A.hz)(),{id:s,status:n,policy:a,identity:l,identity_verified_at:c}=t;return(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsx)(o.AntTypography.Title,{level:2,children:"Request details"})}),(0,r.jsxs)(o.jqI,{vertical:!0,gap:12,className:"mb-6",children:[(0,r.jsx)(eA,{label:"Status",children:(0,r.jsx)(ep,{status:n})}),(0,r.jsx)(eA,{label:"Time remaining",children:(0,r.jsx)(eu.Z,{daysLeft:t.days_left,includeText:!0,status:t.status})}),(0,r.jsx)(eA,{label:"Request type",children:(0,r.jsx)(es,{rules:a.rules})}),(0,r.jsx)(eA,{label:"Source",children:i&&(0,r.jsx)(o.AntTypography.Text,{children:t.source||"-"})}),Object.entries(l).filter(e=>{let[,{value:t}]=e;return null!==t}).map(e=>{let[t,{value:i="",label:s}]=e,n="".concat(i).concat(c?"":" (Unverified)");return(0,r.jsx)(eA,{label:"Subject ".concat(s.toLocaleLowerCase()),children:(0,r.jsx)(o.esZ,{title:n,trigger:"click",children:(0,r.jsx)(o.AntTypography.Text,{ellipsis:!0,children:n})})},t)}),(0,r.jsx)(eC,{subjectRequest:t})]}),(0,r.jsxs)(o.PPS,{layout:"vertical",children:[(0,r.jsx)(o.PPS.Item,{label:"Request ID:",className:"mb-4",children:(0,r.jsx)(o.jqI,{gap:1,children:(0,r.jsxs)(o.vyj.Compact,{style:{width:"100%"},children:[(0,r.jsx)(o.uFc,{readOnly:!0,value:s,"data-testid":"request-detail-value-id"}),(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(z.Z,{copyText:s})})]})})}),(0,r.jsx)(o.PPS.Item,{label:"Policy key:",className:"mb-4",children:(0,r.jsx)(o.uFc,{readOnly:!0,value:t.policy.key,"data-testid":"request-detail-value-policy"})})]}),(0,r.jsx)(eT,{subjectRequest:t})]})},eS=e=>{var t;let{data:i}=e,s=(0,h.useMemo)(()=>({id:i.id,verbose:!0}),[i.id]),{data:n}=(0,p.QA)(s,{pollingInterval:i.status===x.q2.APPROVED||i.status===x.q2.IN_PROCESSING?2e3:0,skip:!i.id}),a=null!==(t=null==n?void 0:n.items[0])&&void 0!==t?t:i,l=a.status===x.q2.REQUIRES_INPUT,[c,d]=(0,h.useState)("activity"),u=(0,h.useMemo)(()=>[{key:"activity",label:"Activity",children:(0,r.jsx)(V,{subjectRequest:a})},{key:"manual-tasks",label:"Manual tasks",children:(0,r.jsx)(ed,{subjectRequest:a,onComplete:()=>d("activity")}),disabled:!l}],[l,a]);return(0,r.jsxs)("div",{className:"flex gap-8",children:[(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)(o.A5g,{items:u,activeKey:c,onChange:d})}),(0,r.jsx)("div",{className:"w-1/3 2xl:w-[432px]","data-testid":"privacy-request-details",children:(0,r.jsx)(ek,{subjectRequest:a})})]})},eq=i(57526),eN=i(66548),eP=i(45489),eI=e=>{let{privacyRequest:t,action:i}=e,{handleApproveRequest:s,handleDenyRequest:n}=(0,eP.Z)({subjectRequest:t}),a=t.status===x.q2.PENDING,l=(0,o.qY0)(),r=async e=>{let{reason:t}=e,a=o.Pg3.loading({content:"approve"===i?"Approving request...":"Denying request..."});"deny"===i&&await n(t),"approve"===i&&await s(),a()};return{showAction:a,closeModal:l.onClose,performAction:r,openConfirmationModal:l.onOpen,isModalOpen:l.isOpen}},eD=e=>{var t,i,s;let{privacyRequest:n}=e,a=null===(i=(0,A.hz)())||void 0===i?void 0:null===(t=i.flags)||void 0===t?void 0:t.downloadAccessRequestResults,l=n.status===x.q2.COMPLETE,r=ei(n.policy.rules).includes(x.Us.ACCESS),o=(0,g.Tg)([x.Sh.PRIVACY_REQUEST_ACCESS_RESULTS_READ]),{data:c,isLoading:d,isError:u,error:m}=(0,ee.br)({privacy_request_id:n.id}),p=null!==(s=null==c?void 0:c.access_result_urls[0])&&void 0!==s?s:"",h=!!p&&"your local fides_uploads folder"!==p,j=null;return u?j=(0,ex.e$)(m,"Unable to resolve download URL"):h||(j="Requests stored locally cannot be downloaded"),{showDownloadResults:a&&o&&r&&l,downloadResults:()=>{let e=document.createElement("a");e.href=p,e.target="_blank",e.rel="noopener noreferrer",e.click(),e.remove()},infoTooltip:j,isLoading:d,isDisabled:!h}},eO=e=>{let{privacyRequest:t}=e,{errorAlert:i,successAlert:s}=(0,$.V)(),n=t.status===x.q2.ERROR,[a]=(0,ee.Fq)();return{reprocessPrivacyRequest:async()=>{if(!t)return;let e=o.Pg3.loading("Reprocessing privacy request...",0),n=await a(t);"error"in n?i((0,ex.e$)(n.error),"DSR automation has failed for this privacy request due to the following:",{duration:null}):s("Privacy request is now being reprocessed."),e()},showReprocess:n}},eU=e=>{let{privacyRequest:t}=e,{showDownloadResults:i,downloadResults:s,infoTooltip:n,isDisabled:a}=eD({privacyRequest:t}),{isModalOpen:l,closeModal:c,performAction:d,openConfirmationModal:u,showAction:m}=eI({privacyRequest:t,action:"approve"}),{isModalOpen:p,closeModal:x,performAction:g,openConfirmationModal:j,showAction:y}=eI({privacyRequest:t,action:"deny"}),{reprocessPrivacyRequest:v,showReprocess:f}=eO({privacyRequest:t}),_=(0,h.useMemo)(()=>{let e=[];return e.push({key:"approve",label:(0,r.jsx)("span",{"data-testid":"privacy-request-approve-btn",children:"Approve"}),onClick:u,disabled:!m}),e.push({key:"deny",label:(0,r.jsx)("span",{"data-testid":"privacy-request-deny-btn",children:"Deny"}),onClick:j,disabled:!y}),e.push({key:"reprocess",label:(0,r.jsx)("span",{"data-testid":"privacy-request-action-reprocess",children:"Reprocess"}),onClick:v,disabled:!f}),i&&e.push({key:"download",label:(0,r.jsx)(o.esZ,{title:a?n:null,placement:"bottom",children:(0,r.jsx)("span",{"data-testid":"download-results-btn",children:"Download request results"})}),onClick:s,disabled:a}),e},[i,s,n,a,m,y,u,j,f,v]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.S0p,{menu:{items:_},trigger:["click"],overlayStyle:{minWidth:"160px"},children:(0,r.jsx)(o.wpx,{icon:(0,r.jsx)(o.PJP.pO,{}),"data-testid":"privacy-request-actions-dropdown-btn",iconPosition:"end",type:"primary",disabled:!_.length,size:"large",children:"Actions"})}),(0,r.jsx)(eq.Z,{isOpen:l,isLoading:!1,onClose:c,onApproveRequest:()=>d({reason:""}),subjectRequest:t}),(0,r.jsx)(eN.Z,{isOpen:p,onClose:x,onDenyRequest:e=>g({reason:e})})]})},eM=()=>{let e=(0,c.useRouter)().query.id,{data:t,isLoading:i}=(0,p.QA)({id:e,verbose:!0},{skip:!e}),s=(null==t?void 0:t.items[0])||null;return(0,r.jsxs)(d.Z,{title:"Privacy Request - ".concat(e),children:[(0,r.jsx)(m.Z,{heading:"Privacy Requests",breadcrumbItems:[{title:"All requests",href:u.Jw},{title:"Request details"}],rightContent:!!s&&(0,r.jsx)(eU,{privacyRequest:s})}),i&&(0,r.jsx)(o.M5Y,{children:(0,r.jsx)(o.$jN,{})}),!i&&!s&&(0,r.jsx)(o.xvT,{children:"404 no privacy request found"}),!i&&s&&(0,r.jsx)(eS,{data:s})]})}},15709:function(e){e.exports={value:"RequestDetailsRow_value__WMXn3",label:"RequestDetailsRow_label__dn3CQ"}},38450:function(e){e.exports={container:"ActivityTimelineEntry_container__tCva0","container--open":"ActivityTimelineEntry_container--open__1d9mA",itemButton:"ActivityTimelineEntry_itemButton__MlmWS","itemButton--error":"ActivityTimelineEntry_itemButton--error__UizD2","itemButton--comment":"ActivityTimelineEntry_itemButton--comment__g98SH","itemButton--awaiting-input":"ActivityTimelineEntry_itemButton--awaiting-input__6lB5t",header:"ActivityTimelineEntry_header__GYibj",headerLeft:"ActivityTimelineEntry_headerLeft__0AD8T",headerRight:"ActivityTimelineEntry_headerRight__bJdMo",title:"ActivityTimelineEntry_title__rm_g0","title--error":"ActivityTimelineEntry_title--error__fOi0s","title--awaiting-input":"ActivityTimelineEntry_title--awaiting-input__3sPAo",timestamp:"ActivityTimelineEntry_timestamp__uMEMT",viewLogs:"ActivityTimelineEntry_viewLogs___T4jN",logs:"ActivityTimelineEntry_logs__T7R0J","logs--open":"ActivityTimelineEntry_logs--open__o_9Io"}}},function(e){e.O(0,[203,2888,9774,179],function(){return e(e.s=6554)}),_N_E=e.O()}]);