ethyca-fides 2.57.2b0__py2.py3-none-any.whl → 2.58.1b0__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ethyca_fides-2.57.2b0.dist-info → ethyca_fides-2.58.1b0.dist-info}/METADATA +1 -1
- {ethyca_fides-2.57.2b0.dist-info → ethyca_fides-2.58.1b0.dist-info}/RECORD +97 -97
- fides/_version.py +3 -3
- fides/api/graph/traversal.py +8 -0
- fides/api/models/attachment.py +80 -11
- fides/api/models/comment.py +45 -15
- fides/api/models/privacy_request/privacy_request.py +23 -6
- fides/api/schemas/connection_configuration/connection_secrets_datahub.py +2 -4
- fides/api/service/storage/s3.py +14 -1
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/chunks/4450-36234280bee624ff.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/7453-39761c38da31257e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{_app-fa5f8f8b1d6d8c08.js → _app-be7a8cdf3b56b1ec.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{manual-c2705210ce986109.js → manual-9acaab973dfe86e2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{reporting-9d2c1f0c9f270d07.js → reporting-788cf0e34829af46.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-1a6cff1794122ace.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-5f9ef1f99818117c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{action-center-02439d3aeecfb4b9.js → action-center-d001337d1bb73bd1.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-ef8000d7388dc915.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-d3ea9034461511cd.js → [id]-4f5a28226575c976.js} +1 -1
- fides/ui-build/static/admin/_next/static/{sdQ5v46RH3_stSYmL-sZd → kYmFOkrlCZdjq5U5byh89}/_buildManifest.js +1 -1
- fides/ui-build/static/admin/add-systems/manual.html +1 -1
- fides/ui-build/static/admin/add-systems/multiple.html +1 -1
- fides/ui-build/static/admin/add-systems.html +1 -1
- fides/ui-build/static/admin/ant-poc.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
- fides/ui-build/static/admin/data-discovery/activity.html +1 -1
- fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/detection.html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
- fides/ui-build/static/admin/datamap.html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
- fides/ui-build/static/admin/dataset/new.html +1 -1
- fides/ui-build/static/admin/dataset.html +1 -1
- fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
- fides/ui-build/static/admin/datastore-connection/new.html +1 -1
- fides/ui-build/static/admin/datastore-connection.html +1 -1
- fides/ui-build/static/admin/index.html +1 -1
- fides/ui-build/static/admin/integrations/[id].html +1 -1
- fides/ui-build/static/admin/integrations.html +1 -1
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/messaging/[id].html +1 -1
- fides/ui-build/static/admin/messaging/add-template.html +1 -1
- fides/ui-build/static/admin/messaging.html +1 -1
- fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/messaging.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
- fides/ui-build/static/admin/privacy-requests.html +1 -1
- fides/ui-build/static/admin/properties/[id].html +1 -1
- fides/ui-build/static/admin/properties/add-property.html +1 -1
- fides/ui-build/static/admin/properties.html +1 -1
- fides/ui-build/static/admin/reporting/datamap.html +1 -1
- fides/ui-build/static/admin/settings/about.html +1 -1
- fides/ui-build/static/admin/settings/consent.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields.html +1 -1
- fides/ui-build/static/admin/settings/domain-records.html +1 -1
- fides/ui-build/static/admin/settings/domains.html +1 -1
- fides/ui-build/static/admin/settings/email-templates.html +1 -1
- fides/ui-build/static/admin/settings/locations.html +1 -1
- fides/ui-build/static/admin/settings/organization.html +1 -1
- fides/ui-build/static/admin/settings/regulations.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id].html +1 -1
- fides/ui-build/static/admin/systems.html +1 -1
- fides/ui-build/static/admin/taxonomy.html +1 -1
- fides/ui-build/static/admin/user-management/new.html +1 -1
- fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
- fides/ui-build/static/admin/user-management.html +1 -1
- fides/ui-build/static/admin/_next/static/chunks/605-e692e9cfea2e2cb8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7434-e6fc02c2dd852991.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-5182d356672a3b02.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-7c74373a4d666a3d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-adb6aced3bdb4899.js +0 -1
- {ethyca_fides-2.57.2b0.dist-info → ethyca_fides-2.58.1b0.dist-info}/LICENSE +0 -0
- {ethyca_fides-2.57.2b0.dist-info → ethyca_fides-2.58.1b0.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.57.2b0.dist-info → ethyca_fides-2.58.1b0.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.57.2b0.dist-info → ethyca_fides-2.58.1b0.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{sdQ5v46RH3_stSYmL-sZd → kYmFOkrlCZdjq5U5byh89}/_ssgManifest.js +0 -0
@@ -1 +1 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8012],{43376:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/add-systems/manual",function(){return s(33688)}])},33688:function(e,t,s){"use strict";s.r(t);var a=s(24246),r=s(77181),n=s(86677),i=s(27378),o=s(16134),u=s(7617),d=s(77213),l=s(77830),m=s(58754),c=s(41337),y=s(57865),h=s(72774),b=s(
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8012],{43376:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/add-systems/manual",function(){return s(33688)}])},33688:function(e,t,s){"use strict";s.r(t);var a=s(24246),r=s(77181),n=s(86677),i=s(27378),o=s(16134),u=s(7617),d=s(77213),l=s(77830),m=s(58754),c=s(41337),y=s(57865),h=s(72774),b=s(84450);let x=e=>{let{connector:t}=e;return(0,a.jsxs)(r.xuv,{display:"flex",mb:4,alignItems:"center","data-testid":"header",children:[(0,a.jsx)(c.Z,{data:null!=t?t:"ethyca",mr:2}),(0,a.jsxs)(r.X6q,{fontSize:"md",children:["Describe your ",t?t.human_readable:"new"," system"]})]})};t.default=()=>{let{connectorType:e}=(0,n.useRouter)().query,{tabData:t,tabIndex:s,onTabChange:c}=(0,b.Z)({isCreate:!0}),f=(0,i.useMemo)(()=>{if(e)return JSON.parse(Array.isArray(e)?e[0]:e)},[e]),_=(0,o.C)(y.gU);return(0,a.jsxs)(d.Z,{title:"Describe your system",children:[(0,a.jsx)(m.Z,{heading:"Add systems",breadcrumbItems:[{title:"Add systems",href:l.xo},{title:"New system"}]}),(0,a.jsx)(x,{connector:f}),_?(0,a.jsx)(h.Z,{}):null,(0,a.jsxs)(r.xuv,{w:{base:"100%",md:"75%"},children:[(0,a.jsx)(r.xvT,{fontSize:"sm",mb:8,children:"Systems are anything that might store or process data in your organization, from a web application, to a database or data warehouse. Describe your system below to register it to the map. You may optionally complete data entry for the system using the additional tabs to navigate the sections."}),(0,a.jsx)(u.Z,{data:t,"data-testid":"system-tabs",index:s,isLazy:!0,isManual:!0,onChange:c})]})]})}}},function(e){e.O(0,[8033,6060,2858,2866,9278,5277,4481,7980,355,8499,7453,4450,2888,9774,179],function(){return e(e.s=43376)}),_N_E=e.O()}]);
|
@@ -1 +1 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3422],{80594:function(e){e.exports=function(e,a){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==a(e[n],n,e););return e}},52033:function(e,a,n){var r=n(26194),t=n(26789)(r);e.exports=t},49819:function(e,a,n){var r=n(18911)();e.exports=r},26194:function(e,a,n){var r=n(49819),t=n(50098);e.exports=function(e,a){return e&&r(e,a,t)}},62079:function(e,a,n){var r=n(31137);e.exports=function(e){return"function"==typeof e?e:r}},26789:function(e,a,n){var r=n(80068);e.exports=function(e,a){return function(n,t){if(null==n)return n;if(!r(n))return e(n,t);for(var i=n.length,s=a?i:-1,o=Object(n);(a?s--:++s<i)&&!1!==t(o[s],s,o););return n}}},18911:function(e){e.exports=function(e){return function(a,n,r){for(var t=-1,i=Object(a),s=r(a),o=s.length;o--;){var l=s[e?o:++t];if(!1===n(i[l],l,i))break}return a}}},47003:function(e,a,n){var r=n(80594),t=n(52033),i=n(62079),s=n(19785);e.exports=function(e,a){return(s(e)?r:t)(e,i(a))}},31137:function(e){e.exports=function(e){return e}},90104:function(e,a,n){var r=n(20186),t=n(3533),i=n(2900),s=n(19785),o=n(80068),l=n(43854),_=n(56016),c=n(48519),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(o(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||c(e)||i(e)))return!e.length;var a=t(e);if("[object Map]"==a||"[object Set]"==a)return!e.size;if(_(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},15806:function(e,a,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/reporting",function(){return n(31881)}])},35287:function(e,a,n){"use strict";var r=n(24246),t=n(77181),i=n(88038),s=n.n(i);n(27378),a.Z=e=>{let{children:a,title:n,mainProps:i}=e;return(0,r.jsxs)(t.kCb,{"data-testid":n,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,r.jsxs)(s(),{children:[(0,r.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,r.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,r.jsx)(t.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...i,children:a})]})}},58754:function(e,a,n){"use strict";var r=n(24246),t=n(77181),i=n(70788);a.Z=e=>{let{heading:a,breadcrumbItems:n,isSticky:s=!0,children:o,rightContent:l,style:_,...c}=e;return(0,r.jsxs)("div",{...c,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",..._}:{paddingBottom:"24px",..._},children:[(0,r.jsxs)(t.jqI,{justify:"space-between",children:["string"==typeof a?(0,r.jsx)(t.X6q,{className:n||o?"pb-4":void 0,fontSize:"2xl","data-testid":"page-heading",children:a}):a,l&&(0,r.jsx)("div",{"data-testid":"page-header-right-content",children:l})]}),!!n&&(0,r.jsx)(i.m,{className:o?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),o]})}},70788:function(e,a,n){"use strict";n.d(a,{m:function(){return _}});var r=n(24246),t=n(77181),i=n(79894),s=n.n(i),o=n(27378);let{Text:l}=t.AntTypography,_=e=>{let{items:a,...n}=e,i=(0,o.useMemo)(()=>null==a?void 0:a.map((e,n)=>{let i=n===a.length-1,o={...e},_=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,r.jsx)(l,{style:{color:"inherit",maxWidth:i?void 0:400},ellipsis:!i,children:o.title})),_)?o.title=(0,r.jsx)(t.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,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"anticon align-text-bottom",children:o.icon}),o.title]})),o.href&&o.title&&(o.title=(0,r.jsx)(s(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[a]);return(0,r.jsx)(t.zrq,{items:i,...n})}},8411:function(e,a,n){"use strict";n.d(a,{NA:function(){return i},Z8:function(){return t}});var r=n(21702);let t={[r._F.ER]:"Eritrea",[r._F.DJ]:"Djibouti",[r._F.MR]:"Mauritania",[r._F.NA]:"Namibia",[r._F.GH]:"Ghana",[r._F.SS]:"South Sudan",[r._F.SC]:"Seychelles",[r._F.IO]:"British Indian Ocean Territory",[r._F.GQ]:"Equatorial Guinea",[r._F.AO]:"Angola",[r._F.CG]:"Republic of the Congo",[r._F.BW]:"Botswana",[r._F.BI]:"Burundi",[r._F.DZ]:"Algeria",[r._F.TD]:"Chad",[r._F.NG]:"Nigeria",[r._F.TZ]:"Tanzania",[r._F.EH]:"Western Sahara",[r._F.SN]:"Senegal",[r._F.LR]:"Liberia",[r._F.ZA]:"South Africa",[r._F.CV]:"Cape Verde",[r._F.GM]:"Gambia",[r._F.SD]:"Sudan",[r._F.KM]:"Comoros",[r._F.SZ]:"Eswatini",[r._F.UG]:"Uganda",[r._F.MG]:"Madagascar",[r._F.RW]:"Rwanda",[r._F.CD]:"DR Congo",[r._F.CM]:"Cameroon",[r._F.SH]:"Saint Helena, Ascension and Tristan da Cunha",[r._F.TG]:"Togo",[r._F.MU]:"Mauritius",[r._F.NE]:"Niger",[r._F.BJ]:"Benin",[r._F.EG]:"Egypt",[r._F.LS]:"Lesotho",[r._F.ET]:"Ethiopia",[r._F.MA]:"Morocco",[r._F.YT]:"Mayotte",[r._F.BF]:"Burkina Faso",[r._F.RE]:"R\xe9union",[r._F.ST]:"S\xe3o Tom\xe9 and Pr\xedncipe",[r._F.CF]:"Central African Republic",[r._F.MZ]:"Mozambique",[r._F.MW]:"Malawi",[r._F.ML]:"Mali",[r._F.ZM]:"Zambia",[r._F.LY]:"Libya",[r._F.GW]:"Guinea-Bissau",[r._F.SO]:"Somalia",[r._F.KE]:"Kenya",[r._F.GN]:"Guinea",[r._F.ZW]:"Zimbabwe",[r._F.TN]:"Tunisia",[r._F.SL]:"Sierra Leone",[r._F.GA]:"Gabon",[r._F.CI]:"Ivory Coast",[r._F.JO]:"Jordan",[r._F.PK]:"Pakistan",[r._F.KP]:"North Korea",[r._F.MO]:"Macau",[r._F.AM]:"Armenia",[r._F.SY]:"Syria",[r._F.TJ]:"Tajikistan",[r._F.SA]:"Saudi Arabia",[r._F.KR]:"South Korea",[r._F.NP]:"Nepal",[r._F.PH]:"Philippines",[r._F.IQ]:"Iraq",[r._F.LB]:"Lebanon",[r._F.MN]:"Mongolia",[r._F.PS]:"Palestine",[r._F.YE]:"Yemen",[r._F.JP]:"Japan",[r._F.KZ]:"Kazakhstan",[r._F.LK]:"Sri Lanka",[r._F.MM]:"Myanmar",[r._F.KG]:"Kyrgyzstan",[r._F.CN]:"China",[r._F.AF]:"Afghanistan",[r._F.OM]:"Oman",[r._F.IN]:"India",[r._F.LA]:"Laos",[r._F.UZ]:"Uzbekistan",[r._F.MV]:"Maldives",[r._F.ID]:"Indonesia",[r._F.VN]:"Vietnam",[r._F.MY]:"Malaysia",[r._F.TW]:"Taiwan",[r._F.KH]:"Cambodia",[r._F.AE]:"United Arab Emirates",[r._F.HK]:"Hong Kong",[r._F.GE]:"Georgia",[r._F.BD]:"Bangladesh",[r._F.KW]:"Kuwait",[r._F.TM]:"Turkmenistan",[r._F.QA]:"Qatar",[r._F.BH]:"Bahrain",[r._F.BN]:"Brunei",[r._F.TH]:"Thailand",[r._F.BT]:"Bhutan",[r._F.SG]:"Singapore",[r._F.IL]:"Israel",[r._F.AZ]:"Azerbaijan",[r._F.TL]:"Timor-Leste",[r._F.IR]:"Iran",[r._F.TR]:"Turkey",[r._F.MK]:"North Macedonia",[r._F.IE]:"Ireland",[r._F.DK]:"Denmark",[r._F.SK]:"Slovakia",[r._F.MD]:"Moldova",[r._F.AX]:"\xc5land Islands",[r._F.PL]:"Poland",[r._F.BA]:"Bosnia and Herzegovina",[r._F.SM]:"San Marino",[r._F.CZ]:"Czechia",[r._F.EE]:"Estonia",[r._F.XK]:"Kosovo",[r._F.FO]:"Faroe Islands",[r._F.SJ]:"Svalbard and Jan Mayen",[r._F.GG]:"Guernsey",[r._F.FR]:"France",[r._F.NL]:"Netherlands",[r._F.FI]:"Finland",[r._F.PT]:"Portugal",[r._F.DE]:"Germany",[r._F.MT]:"Malta",[r._F.JE]:"Jersey",[r._F.IS]:"Iceland",[r._F.ES]:"Spain",[r._F.GI]:"Gibraltar",[r._F.NO]:"Norway",[r._F.CY]:"Cyprus",[r._F.RS]:"Serbia",[r._F.LT]:"Lithuania",[r._F.MC]:"Monaco",[r._F.LU]:"Luxembourg",[r._F.UA]:"Ukraine",[r._F.IM]:"Isle of Man",[r._F.RO]:"Romania",[r._F.BE]:"Belgium",[r._F.SE]:"Sweden",[r._F.ME]:"Montenegro",[r._F.LV]:"Latvia",[r._F.VA]:"Vatican City",[r._F.AT]:"Austria",[r._F.AL]:"Albania",[r._F.LI]:"Liechtenstein",[r._F.GR]:"Greece",[r._F.IT]:"Italy",[r._F.AD]:"Andorra",[r._F.GB]:"United Kingdom",[r._F.RU]:"Russia",[r._F.SI]:"Slovenia",[r._F.BY]:"Belarus",[r._F.CH]:"Switzerland",[r._F.HU]:"Hungary",[r._F.BG]:"Bulgaria",[r._F.HR]:"Croatia",[r._F.TC]:"Turks and Caicos Islands",[r._F.CW]:"Cura\xe7ao",[r._F.GP]:"Guadeloupe",[r._F.UM]:"United States Minor Outlying Islands",[r._F.GT]:"Guatemala",[r._F.PM]:"Saint Pierre and Miquelon",[r._F.BQ]:"Caribbean Netherlands",[r._F.GL]:"Greenland",[r._F.SX]:"Sint Maarten",[r._F.PA]:"Panama",[r._F.AW]:"Aruba",[r._F.MQ]:"Martinique",[r._F.AG]:"Antigua and Barbuda",[r._F.BM]:"Bermuda",[r._F.CU]:"Cuba",[r._F.GD]:"Grenada",[r._F.NI]:"Nicaragua",[r._F.LC]:"Saint Lucia",[r._F.KN]:"Saint Kitts and Nevis",[r._F.DO]:"Dominican Republic",[r._F.VC]:"Saint Vincent and the Grenadines",[r._F.BZ]:"Belize",[r._F.HT]:"Haiti",[r._F.JM]:"Jamaica",[r._F.BS]:"Bahamas",[r._F.MX]:"Mexico",[r._F.MF]:"Saint Martin",[r._F.SV]:"El Salvador",[r._F.BL]:"Saint Barth\xe9lemy",[r._F.AI]:"Anguilla",[r._F.MS]:"Montserrat",[r._F.VG]:"British Virgin Islands",[r._F.BB]:"Barbados",[r._F.HN]:"Honduras",[r._F.KY]:"Cayman Islands",[r._F.DM]:"Dominica",[r._F.TT]:"Trinidad and Tobago",[r._F.CR]:"Costa Rica",[r._F.SR]:"Suriname",[r._F.CX]:"Christmas Island",[r._F.WS]:"Samoa",[r._F.PF]:"French Polynesia",[r._F.AS]:"American Samoa",[r._F.NC]:"New Caledonia",[r._F.TK]:"Tokelau",[r._F.PW]:"Palau",[r._F.KI]:"Kiribati",[r._F.VU]:"Vanuatu",[r._F.PN]:"Pitcairn Islands",[r._F.CK]:"Cook Islands",[r._F.FJ]:"Fiji",[r._F.PG]:"Papua New Guinea",[r._F.MP]:"Northern Mariana Islands",[r._F.NU]:"Niue",[r._F.TV]:"Tuvalu",[r._F.NF]:"Norfolk Island",[r._F.TO]:"Tonga",[r._F.FM]:"Micronesia",[r._F.SB]:"Solomon Islands",[r._F.NR]:"Nauru",[r._F.WF]:"Wallis and Futuna",[r._F.GU]:"Guam",[r._F.AU]:"Australia",[r._F.NZ]:"New Zealand",[r._F.MH]:"Marshall Islands",[r._F.CC]:"Cocos (Keeling) Islands",[r._F.VE]:"Venezuela",[r._F.PY]:"Paraguay",[r._F.BR]:"Brazil",[r._F.CO]:"Colombia",[r._F.PE]:"Peru",[r._F.CL]:"Chile",[r._F.UY]:"Uruguay",[r._F.AR]:"Argentina",[r._F.GY]:"Guyana",[r._F.BO]:"Bolivia",[r._F.GF]:"French Guiana",[r._F.EC]:"Ecuador",[r._F.FK]:"Falkland Islands",[r._F.US_AL]:"Alabama",[r._F.US_AK]:"Alaska",[r._F.US_AZ]:"Arizona",[r._F.US_AR]:"Arkansas",[r._F.US_CA]:"California",[r._F.US_CO]:"Colorado",[r._F.US_CT]:"Connecticut",[r._F.US_DE]:"Delaware",[r._F.US_DC]:"District of Columbia (DC)",[r._F.US_FL]:"Florida",[r._F.US_GA]:"Georgia",[r._F.US_HI]:"Hawaii",[r._F.US_ID]:"Idaho",[r._F.US_IL]:"Illinois",[r._F.US_IN]:"Indiana",[r._F.US_IA]:"Iowa",[r._F.US_KS]:"Kansas",[r._F.US_KY]:"Kentucky",[r._F.US_LA]:"Louisiana",[r._F.US_ME]:"Maine",[r._F.US_MD]:"Maryland",[r._F.US_MA]:"Massachusetts",[r._F.US_MI]:"Michigan",[r._F.US_MN]:"Minnesota",[r._F.US_MS]:"Mississippi",[r._F.US_MO]:"Missouri",[r._F.US_MT]:"Montana",[r._F.US_NE]:"Nebraska",[r._F.US_NV]:"Nevada",[r._F.US_NH]:"New Hampshire",[r._F.US_NJ]:"New Jersey",[r._F.US_NM]:"New Mexico",[r._F.US_NY]:"New York",[r._F.US_NC]:"North Carolina",[r._F.US_ND]:"North Dakota",[r._F.US_OH]:"Ohio",[r._F.US_OK]:"Oklahoma",[r._F.US_OR]:"Oregon",[r._F.US_PA]:"Pennsylvania",[r._F.US_PR]:"Puerto Rico",[r._F.US_RI]:"Rhode Island",[r._F.US_SC]:"South Carolina",[r._F.US_SD]:"San Diego",[r._F.US_TN]:"Tennessee",[r._F.US_TX]:"Texas",[r._F.US_UT]:"Utah",[r._F.US_VA]:"Virginia",[r._F.US_VI]:"United States Virgin Islands",[r._F.US_VT]:"Vermon",[r._F.US_WA]:"Washington",[r._F.US_WV]:"West Virginia",[r._F.US_WI]:"Wisconsin",[r._F.US_WY]:"Wyoming",[r._F.CA_AB]:"Alberta",[r._F.CA_BC]:"British Columbia",[r._F.CA_MB]:"Manitoba",[r._F.CA_NB]:"New Brunswick",[r._F.CA_NL]:"Newfoundland and Labrador",[r._F.CA_NS]:"Nova Scotia",[r._F.CA_ON]:"Ontario",[r._F.CA_PE]:"Prince Edward Island",[r._F.CA_QC]:"Quebec",[r._F.CA_SK]:"Saskatchewan",[r._F.CA_NT]:"Northwest Territories",[r._F.CA_NU]:"Nunavut",[r._F.CA_YT]:"Yukon",[r._F.CA]:"Canada",[r._F.US]:"United States",[r._F.MEXICO_CENTRAL_AMERICA]:"Mexico and Central America",[r._F.CARIBBEAN]:"Caribbean",[r._F.EEA]:"European Economic Area (EEA)",[r._F.NON_EEA]:"Non European Economic Area"},i=new Map(Object.entries(t));Object.entries(t).map(e=>({value:e[0],label:e[1]}))},31881:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return K}});var r=n(24246),t=n(59003),i=n(92222),s=n(27693),o=n.n(s),l=n(77181),_=n(27378),c=n(35287),d=n(58754),u=n(14481),F=n(46628),p=n(78780);let h=e=>{var a;return null==e?void 0:null===(a=e.utc())||void 0===a?void 0:a.startOf("day").toISOString()},g=e=>{var a;return null==e?void 0:null===(a=e.utc())||void 0===a?void 0:a.endOf("day").toISOString()},{useLazyDownloadReportQuery:S,useGetAllHistoricalPrivacyPreferencesQuery:m,useLazyGetCurrentPrivacyPreferencesQuery:x}=p.u.injectEndpoints({endpoints:e=>({getCurrentPrivacyPreferences:e.query({query:e=>{let{search:a}=e;return{url:"current-privacy-preferences",params:{email:a,phone_number:a,fides_user_device_id:a,external_id:a}}},providesTags:["Current Privacy Preferences"]}),downloadReport:e.query({query:e=>{let{startDate:a,endDate:n}=e;return{url:"plus/consent_reporting",params:{created_gt:h(a),created_lt:g(n),download_csv:"true"},responseHandler:"content-type"}},providesTags:["Consent Reporting Export"]}),getAllHistoricalPrivacyPreferences:e.query({query:e=>{let{page:a,size:n,startDate:r,endDate:t}=e;return{url:"historical-privacy-preferences",params:{page:a,size:n,request_timestamp_gt:h(r),request_timestamp_lt:g(t)}}},providesTags:["Consent Reporting"]})})});var C=n(90104),f=n.n(C),j=n(812),v=n(21702);let y={[v.pq.OPT_IN]:"Opt in",[v.pq.OPT_OUT]:"Opt out",[v.pq.ACKNOWLEDGE]:"Acknowledge",[v.pq.TCF]:"TCF"},b={[v.pq.OPT_IN]:"success",[v.pq.OPT_OUT]:"error",[v.pq.ACKNOWLEDGE]:"default",[v.pq.TCF]:"sandstone"},A={[v.jP.ACCEPT]:"Accept",[v.jP.BUTTON]:"Button",[v.jP.DISMISS]:"Dismiss",[v.jP.GPC]:"GPC",[v.jP.REJECT]:"Reject",[v.jP.SAVE]:"Save",[v.jP.SCRIPT]:"Script",[v.jP.INDIVIDUAL_NOTICE]:"Individual Notice",[v.jP.ACKNOWLEDGE]:"Acknowledge"},N={[v.Tz.API]:"API",[v.Tz.BANNER_AND_MODAL]:"Banner and Modal",[v.Tz.MODAL]:"Modal",[v.Tz.OVERLAY]:"Overlay",[v.Tz.PRIVACY_CENTER]:"Privacy Center",[v.Tz.TCF_OVERLAY]:"TCF Overlay"},M=(0,i.Cl)();var I=()=>(0,_.useMemo)(()=>[M.accessor(e=>e.notice_id,{id:"notice_id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Notice Id",...e}),enableSorting:!1}),M.accessor(e=>e.notice_key,{id:"notice_key",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Notice Key",...e}),enableSorting:!1}),M.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:a}=e,n=a(),t=n&&y[n]||n,i=n&&b[n]||"";return(0,r.jsx)(u.A4,{color:i,value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference",...e}),enableSorting:!1,size:100}),M.accessor(e=>e.privacy_notice_history_id,{id:"privacy_notice_history_id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Privacy Notice History Id",...e}),enableSorting:!1})],[]),P=n(47003),T=n.n(P);let E=(0,i.Cl)();var R=()=>{let e=(0,_.useCallback)(e=>{let a=[];if(e){let{preferences:n,...r}=e;T()(r,(e,n)=>{e&&e.forEach(e=>{a.push({key:n,id:e.id,preference:e.preference})})})}return a},[]),a=(0,_.useCallback)(e=>e.filter(e=>!(e.key.startsWith("system_")||e.key.startsWith("vendor_"))),[]);return{tcfColumns:(0,_.useMemo)(()=>[E.accessor(e=>e.key,{id:"key",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Type",...e}),enableSorting:!1}),E.accessor(e=>e.id,{id:"id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"ID",...e}),enableSorting:!1}),E.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:a}=e,n=a(),t=n&&y[n]||n,i=n&&b[n]||"";return(0,r.jsx)(u.A4,{color:i,value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference",...e}),enableSorting:!1,size:100})],[]),mapTcfPreferencesToRowColumns:e,filterTcfConsentPreferences:a}},U=e=>{let{isOpen:a,onClose:n}=e,[s,o]=(0,_.useState)(!1),[c,d]=(0,_.useState)(),[F]=x(),p=(0,l.pmc)();(0,_.useEffect)(()=>{a||(d(void 0),o(!1))},[a]);let h=async e=>{o(!0);let{data:a,isError:n,error:r}=await F({search:e}),t=r&&"status"in r&&(null==r?void 0:r.status);n&&404!==t?p({status:"error",description:(0,j.e$)(r,"A problem occurred while looking up the preferences.")}):d(a||null),o(!1)},g=I(),S=(null==c?void 0:c.preferences)||[],m=!f()(S),C=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:S,columns:g,getRowId:e=>"".concat(e.privacy_notice_history_id),manualPagination:!0}),{tcfColumns:v,mapTcfPreferencesToRowColumns:y,filterTcfConsentPreferences:b}=R(),A=b(y(c)),N=!f()(A),M=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:A,columns:v,getRowId:e=>"".concat(e.key,"-").concat(e.id),manualPagination:!0});return(0,r.jsxs)(l.u_l,{id:"consent-lookup-modal",isOpen:a,onClose:n,size:"6xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,r.jsx)(l.ZAr,{}),(0,r.jsxs)(l.hzk,{children:[(0,r.jsx)(l.olH,{}),(0,r.jsx)(l.xBx,{pb:2,children:"Consent preference lookup"}),(0,r.jsxs)(l.fef,{children:[(0,r.jsx)(l.AntTypography.Paragraph,{children:"Use this search to look up an individual's latest consent record. You can search by phone number, email, external ID or device ID to retrieve the most recent consent preference associated with that exact identifier."}),(0,r.jsxs)(l.AntTypography.Paragraph,{children:[(0,r.jsx)("strong",{children:"Note:"})," This is an exact match search—partial entries or similar results will not be returned. This lookup retrieves only the most recent consent preference, not the full consent history."]}),(0,r.jsx)(l.PPS,{layout:"vertical",className:"w-1/2",children:(0,r.jsx)(l.PPS.Item,{label:"Subject search",className:"mb-4 mt-6",children:(0,r.jsx)(l.uFc.Search,{"data-testid":"subject-search-input",placeholder:"Enter email, phone number, external ID or device ID",enterButton:"Search",onSearch:h,loading:s})})}),(0,r.jsxs)("div",{className:"mb-4",children:[(!N||m)&&(0,r.jsx)(u.ZK,{tableInstance:C,emptyTableNotice:(0,r.jsx)(l.oj8,{description:void 0===c?"Search for an email, phone number, or device ID.":"No results found.",image:l.oj8.PRESENTED_IMAGE_SIMPLE,imageStyle:{marginBottom:15}})}),N&&(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(u.ZK,{tableInstance:M})})]})]})]})]})},w=()=>{let e=(0,l.pmc)(),[a,{isFetching:n}]=S();return{downloadReport:async n=>{let{startDate:r,endDate:t}=n,i=await a({startDate:r,endDate:t});if(i.isError)e({status:"error",description:(0,j.e$)(i.error,"A problem occurred while generating your consent report. Please try again.")});else{let e=document.createElement("a"),a=new Blob([i.data],{type:"text/csv"});e.href=window.URL.createObjectURL(a),e.download="consent-reports.csv",e.click()}},isDownloadingReport:n}},k=e=>{let{isOpen:a,onClose:n,startDate:t,endDate:i}=e,{downloadReport:s,isDownloadingReport:o}=w(),_=async()=>{await s({startDate:t,endDate:i}),n()};return(0,r.jsxs)(l.u_l,{id:"consent-report-download-modal",isOpen:a,onClose:n,size:"xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,r.jsx)(l.ZAr,{}),(0,r.jsxs)(l.hzk,{children:[(0,r.jsx)(l.olH,{}),(0,r.jsx)(l.xBx,{pb:2,children:"Download consent report"}),(0,r.jsxs)(l.fef,{children:[(0,r.jsx)(l.AntTypography.Paragraph,{children:"The downloaded CSV may differ from the UI in Fides, including column order and naming."}),(0,r.jsx)(l.AntTypography.Paragraph,{children:'For large datasets, file generation may take a few minutes after selecting "Download".'}),(0,r.jsx)(l.jqI,{justify:"flex-end",children:(0,r.jsx)(l.wpx,{loading:o,onClick:_,"data-testid":"download-report-btn",type:"primary",className:"mb-2",children:"Download"})})]})]})]})},G=e=>{let{isOpen:a,onClose:n,tcfPreferences:s}=e,{tcfColumns:o,mapTcfPreferencesToRowColumns:_,filterTcfConsentPreferences:c}=R(),d=c(_(s)),F=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:d||[],columns:o,getRowId:e=>"".concat(e.key,"-").concat(e.id),manualPagination:!0});return(0,r.jsxs)(l.u_l,{id:"consent-lookup-modal",isOpen:a,onClose:n,size:"4xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,r.jsx)(l.ZAr,{}),(0,r.jsxs)(l.hzk,{"data-testid":"consent-tcf-detail-modal",children:[(0,r.jsx)(l.olH,{}),(0,r.jsx)(l.xBx,{pb:2,children:"TCF Consent Details"}),(0,r.jsx)(l.fef,{children:(0,r.jsx)("div",{className:"mb-4",children:(0,r.jsx)(u.ZK,{tableInstance:F,emptyTableNotice:(0,r.jsx)(l.oj8,{description:" No data found",image:l.oj8.PRESENTED_IMAGE_SIMPLE,imageStyle:{marginBottom:15}})})})})]})]})},B=n(8411),O=n(72625);let D=(0,i.Cl)();var L=e=>{let{onTcfDetailViewClick:a}=e;return(0,_.useMemo)(()=>[D.accessor(e=>e.fides_user_device_id,{id:"fides_user_device_id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"User device ID",...e}),enableSorting:!1}),D.accessor(e=>e.user_geography,{id:"user_geography",cell:e=>{let{getValue:a}=e,n=a(),t=n&&B.Z8[n]||n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"User geography",...e}),enableSorting:!1}),D.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:n,row:t}=e,i=n(),s=i&&y[i]||i,o=i&&b[i]||"",_="tcf"===i&&t.original.tcf_preferences;return(0,r.jsx)(l.jqI,{align:"center",children:(0,r.jsx)(u.A4,{color:o,value:s,onClick:_?()=>a(t.original.tcf_preferences):void 0})})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference",...e}),enableSorting:!1,size:100}),D.accessor(e=>e.notice_name,{id:"notice_name",cell:e=>{let{getValue:a}=e,n=a(),t="tcf"===n?n.toUpperCase():n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Privacy notice",...e}),enableSorting:!1}),D.accessor(e=>e.method,{id:"method",cell:e=>{let{getValue:a}=e,n=a(),t=n&&A[n]||n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Method",...e}),enableSorting:!1,size:100}),D.accessor(e=>e.request_origin,{id:"request_origin",cell:e=>{let{getValue:a}=e,n=a(),t=n&&N[n]||n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Request origin",...e}),enableSorting:!1,size:120}),D.accessor(e=>e.request_timestamp,{id:"request_timestamp",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(O.Cy,{time:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Request timestamp",...e}),size:120}),D.accessor(e=>e.external_id,{id:"external_id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"External ID",...e}),enableSorting:!1}),D.accessor(e=>e.email,{id:"email",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:(0,r.jsx)(l.AntTypography.Link,{href:"mailto:".concat(a()),children:a()})})},header:e=>(0,r.jsx)(u.Rr,{value:"Email",...e}),enableSorting:!1}),D.accessor(e=>e.id,{id:"id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference ID",...e}),enableSorting:!1})],[a])},K=()=>{let e=(0,u.oi)(),a=(0,_.useMemo)(()=>o()(),[]),[n,s]=(0,_.useState)(null),[p,h]=(0,_.useState)(null),[g,S]=(0,_.useState)(!1),[x,C]=(0,_.useState)(!1),[f,j]=(0,_.useState)(!1),[v,y]=(0,_.useState)(),b=(0,l.pmc)(),{data:A,isLoading:N,isFetching:M,refetch:I}=m({page:e.pageIndex,size:e.pageSize,startDate:n,endDate:p}),{setTotalPages:P}=e,{items:T,total:E}=(0,_.useMemo)(()=>{let e=A||{items:[],total:0,pages:0};return P(e.pages),e},[A,P]),R=L({onTcfDetailViewClick:e=>{j(!0),y(e)}}),w=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:T,columns:R,getRowId:e=>"".concat(e.id),manualPagination:!0}),B=async()=>{e.resetPageIndexToDefault(),await I(),b((0,F.t5)("Consent report refreshed successfully.","Report Refreshed"))};return(0,r.jsxs)(c.Z,{title:"Consent reporting",children:[(0,r.jsx)(d.Z,{heading:"Consent reporting",rightContent:(0,r.jsx)(l.wpx,{type:"primary",onClick:B,loading:M,children:"Refresh"})}),(0,r.jsx)("div",{"data-testid":"consent-reporting",className:"overflow-auto",children:N?(0,r.jsx)("div",{className:"border p-2",children:(0,r.jsx)(u.I4,{rowHeight:26,numRows:10})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(u.Q$,{children:[(0,r.jsx)(l.gwi,{placeholder:["From","To"],maxDate:a,"data-testid":"input-date-range",onChange:e=>{s(e&&e[0]),h(e&&e[1])}}),(0,r.jsxs)(l.jqI,{gap:12,children:[(0,r.jsx)(l.wpx,{icon:(0,r.jsx)(l.PJP.UWx,{}),"data-testid":"download-btn",onClick:()=>C(!0)}),(0,r.jsx)(l.S0p,{menu:{items:[{key:"1",label:(0,r.jsx)("span",{"data-testid":"consent-preference-lookup-btn",children:"Consent preference lookup"}),onClick:()=>S(!0)}]},overlayStyle:{width:"220px"},trigger:["click"],children:(0,r.jsx)(l.wpx,{icon:(0,r.jsx)(l.PJP.r43,{}),"data-testid":"consent-reporting-dropdown-btn"})})]})]}),(0,r.jsx)(u.ZK,{tableInstance:w,emptyTableNotice:(0,r.jsx)(l.oj8,{description:"No results.",image:l.oj8.PRESENTED_IMAGE_SIMPLE,imageStyle:{marginBottom:15}})}),(0,r.jsx)(u.s8,{totalRows:E||0,pageSizes:u.W3,setPageSize:e.setPageSize,onPreviousPageClick:e.onPreviousPageClick,isPreviousPageDisabled:e.isPreviousPageDisabled||M,onNextPageClick:e.onNextPageClick,isNextPageDisabled:e.isNextPageDisabled||M,startRange:e.startRange,endRange:e.endRange})]})}),(0,r.jsx)(U,{isOpen:g,onClose:()=>S(!1)}),(0,r.jsx)(k,{isOpen:x,onClose:()=>C(!1),startDate:n,endDate:p}),(0,r.jsx)(G,{isOpen:f,onClose:()=>{j(!1),y(void 0)},tcfPreferences:v})]})}}},function(e){e.O(0,[8033,6060,2858,4481,2888,9774,179],function(){return e(e.s=15806)}),_N_E=e.O()}]);
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3422],{80594:function(e){e.exports=function(e,a){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==a(e[n],n,e););return e}},52033:function(e,a,n){var r=n(26194),t=n(26789)(r);e.exports=t},49819:function(e,a,n){var r=n(18911)();e.exports=r},26194:function(e,a,n){var r=n(49819),t=n(50098);e.exports=function(e,a){return e&&r(e,a,t)}},62079:function(e,a,n){var r=n(31137);e.exports=function(e){return"function"==typeof e?e:r}},26789:function(e,a,n){var r=n(80068);e.exports=function(e,a){return function(n,t){if(null==n)return n;if(!r(n))return e(n,t);for(var i=n.length,s=a?i:-1,o=Object(n);(a?s--:++s<i)&&!1!==t(o[s],s,o););return n}}},18911:function(e){e.exports=function(e){return function(a,n,r){for(var t=-1,i=Object(a),s=r(a),o=s.length;o--;){var l=s[e?o:++t];if(!1===n(i[l],l,i))break}return a}}},47003:function(e,a,n){var r=n(80594),t=n(52033),i=n(62079),s=n(19785);e.exports=function(e,a){return(s(e)?r:t)(e,i(a))}},31137:function(e){e.exports=function(e){return e}},90104:function(e,a,n){var r=n(20186),t=n(3533),i=n(2900),s=n(19785),o=n(80068),l=n(43854),_=n(56016),c=n(48519),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(o(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||c(e)||i(e)))return!e.length;var a=t(e);if("[object Map]"==a||"[object Set]"==a)return!e.size;if(_(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},15806:function(e,a,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/reporting",function(){return n(31881)}])},35287:function(e,a,n){"use strict";var r=n(24246),t=n(77181),i=n(88038),s=n.n(i);n(27378),a.Z=e=>{let{children:a,title:n,mainProps:i}=e;return(0,r.jsxs)(t.kCb,{"data-testid":n,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,r.jsxs)(s(),{children:[(0,r.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,r.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,r.jsx)(t.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...i,children:a})]})}},58754:function(e,a,n){"use strict";var r=n(24246),t=n(77181),i=n(70788);a.Z=e=>{let{heading:a,breadcrumbItems:n,isSticky:s=!0,children:o,rightContent:l,style:_,...c}=e;return(0,r.jsxs)("div",{...c,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",..._}:{paddingBottom:"24px",..._},children:[(0,r.jsxs)(t.jqI,{justify:"space-between",children:["string"==typeof a?(0,r.jsx)(t.X6q,{className:n||o?"pb-4":void 0,fontSize:"2xl","data-testid":"page-heading",children:a}):a,l&&(0,r.jsx)("div",{"data-testid":"page-header-right-content",children:l})]}),!!n&&(0,r.jsx)(i.m,{className:o?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),o]})}},70788:function(e,a,n){"use strict";n.d(a,{m:function(){return _}});var r=n(24246),t=n(77181),i=n(79894),s=n.n(i),o=n(27378);let{Text:l}=t.AntTypography,_=e=>{let{items:a,...n}=e,i=(0,o.useMemo)(()=>null==a?void 0:a.map((e,n)=>{let i=n===a.length-1,o={...e},_=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,r.jsx)(l,{style:{color:"inherit",maxWidth:i?void 0:400},ellipsis:!i,children:o.title})),_)?o.title=(0,r.jsx)(t.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,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"anticon align-text-bottom",children:o.icon}),o.title]})),o.href&&o.title&&(o.title=(0,r.jsx)(s(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[a]);return(0,r.jsx)(t.zrq,{items:i,...n})}},8411:function(e,a,n){"use strict";n.d(a,{NA:function(){return i},Z8:function(){return t}});var r=n(21702);let t={[r._F.ER]:"Eritrea",[r._F.DJ]:"Djibouti",[r._F.MR]:"Mauritania",[r._F.NA]:"Namibia",[r._F.GH]:"Ghana",[r._F.SS]:"South Sudan",[r._F.SC]:"Seychelles",[r._F.IO]:"British Indian Ocean Territory",[r._F.GQ]:"Equatorial Guinea",[r._F.AO]:"Angola",[r._F.CG]:"Republic of the Congo",[r._F.BW]:"Botswana",[r._F.BI]:"Burundi",[r._F.DZ]:"Algeria",[r._F.TD]:"Chad",[r._F.NG]:"Nigeria",[r._F.TZ]:"Tanzania",[r._F.EH]:"Western Sahara",[r._F.SN]:"Senegal",[r._F.LR]:"Liberia",[r._F.ZA]:"South Africa",[r._F.CV]:"Cape Verde",[r._F.GM]:"Gambia",[r._F.SD]:"Sudan",[r._F.KM]:"Comoros",[r._F.SZ]:"Eswatini",[r._F.UG]:"Uganda",[r._F.MG]:"Madagascar",[r._F.RW]:"Rwanda",[r._F.CD]:"DR Congo",[r._F.CM]:"Cameroon",[r._F.SH]:"Saint Helena, Ascension and Tristan da Cunha",[r._F.TG]:"Togo",[r._F.MU]:"Mauritius",[r._F.NE]:"Niger",[r._F.BJ]:"Benin",[r._F.EG]:"Egypt",[r._F.LS]:"Lesotho",[r._F.ET]:"Ethiopia",[r._F.MA]:"Morocco",[r._F.YT]:"Mayotte",[r._F.BF]:"Burkina Faso",[r._F.RE]:"R\xe9union",[r._F.ST]:"S\xe3o Tom\xe9 and Pr\xedncipe",[r._F.CF]:"Central African Republic",[r._F.MZ]:"Mozambique",[r._F.MW]:"Malawi",[r._F.ML]:"Mali",[r._F.ZM]:"Zambia",[r._F.LY]:"Libya",[r._F.GW]:"Guinea-Bissau",[r._F.SO]:"Somalia",[r._F.KE]:"Kenya",[r._F.GN]:"Guinea",[r._F.ZW]:"Zimbabwe",[r._F.TN]:"Tunisia",[r._F.SL]:"Sierra Leone",[r._F.GA]:"Gabon",[r._F.CI]:"Ivory Coast",[r._F.JO]:"Jordan",[r._F.PK]:"Pakistan",[r._F.KP]:"North Korea",[r._F.MO]:"Macau",[r._F.AM]:"Armenia",[r._F.SY]:"Syria",[r._F.TJ]:"Tajikistan",[r._F.SA]:"Saudi Arabia",[r._F.KR]:"South Korea",[r._F.NP]:"Nepal",[r._F.PH]:"Philippines",[r._F.IQ]:"Iraq",[r._F.LB]:"Lebanon",[r._F.MN]:"Mongolia",[r._F.PS]:"Palestine",[r._F.YE]:"Yemen",[r._F.JP]:"Japan",[r._F.KZ]:"Kazakhstan",[r._F.LK]:"Sri Lanka",[r._F.MM]:"Myanmar",[r._F.KG]:"Kyrgyzstan",[r._F.CN]:"China",[r._F.AF]:"Afghanistan",[r._F.OM]:"Oman",[r._F.IN]:"India",[r._F.LA]:"Laos",[r._F.UZ]:"Uzbekistan",[r._F.MV]:"Maldives",[r._F.ID]:"Indonesia",[r._F.VN]:"Vietnam",[r._F.MY]:"Malaysia",[r._F.TW]:"Taiwan",[r._F.KH]:"Cambodia",[r._F.AE]:"United Arab Emirates",[r._F.HK]:"Hong Kong",[r._F.GE]:"Georgia",[r._F.BD]:"Bangladesh",[r._F.KW]:"Kuwait",[r._F.TM]:"Turkmenistan",[r._F.QA]:"Qatar",[r._F.BH]:"Bahrain",[r._F.BN]:"Brunei",[r._F.TH]:"Thailand",[r._F.BT]:"Bhutan",[r._F.SG]:"Singapore",[r._F.IL]:"Israel",[r._F.AZ]:"Azerbaijan",[r._F.TL]:"Timor-Leste",[r._F.IR]:"Iran",[r._F.TR]:"Turkey",[r._F.MK]:"North Macedonia",[r._F.IE]:"Ireland",[r._F.DK]:"Denmark",[r._F.SK]:"Slovakia",[r._F.MD]:"Moldova",[r._F.AX]:"\xc5land Islands",[r._F.PL]:"Poland",[r._F.BA]:"Bosnia and Herzegovina",[r._F.SM]:"San Marino",[r._F.CZ]:"Czechia",[r._F.EE]:"Estonia",[r._F.XK]:"Kosovo",[r._F.FO]:"Faroe Islands",[r._F.SJ]:"Svalbard and Jan Mayen",[r._F.GG]:"Guernsey",[r._F.FR]:"France",[r._F.NL]:"Netherlands",[r._F.FI]:"Finland",[r._F.PT]:"Portugal",[r._F.DE]:"Germany",[r._F.MT]:"Malta",[r._F.JE]:"Jersey",[r._F.IS]:"Iceland",[r._F.ES]:"Spain",[r._F.GI]:"Gibraltar",[r._F.NO]:"Norway",[r._F.CY]:"Cyprus",[r._F.RS]:"Serbia",[r._F.LT]:"Lithuania",[r._F.MC]:"Monaco",[r._F.LU]:"Luxembourg",[r._F.UA]:"Ukraine",[r._F.IM]:"Isle of Man",[r._F.RO]:"Romania",[r._F.BE]:"Belgium",[r._F.SE]:"Sweden",[r._F.ME]:"Montenegro",[r._F.LV]:"Latvia",[r._F.VA]:"Vatican City",[r._F.AT]:"Austria",[r._F.AL]:"Albania",[r._F.LI]:"Liechtenstein",[r._F.GR]:"Greece",[r._F.IT]:"Italy",[r._F.AD]:"Andorra",[r._F.GB]:"United Kingdom",[r._F.RU]:"Russia",[r._F.SI]:"Slovenia",[r._F.BY]:"Belarus",[r._F.CH]:"Switzerland",[r._F.HU]:"Hungary",[r._F.BG]:"Bulgaria",[r._F.HR]:"Croatia",[r._F.TC]:"Turks and Caicos Islands",[r._F.CW]:"Cura\xe7ao",[r._F.GP]:"Guadeloupe",[r._F.UM]:"United States Minor Outlying Islands",[r._F.GT]:"Guatemala",[r._F.PM]:"Saint Pierre and Miquelon",[r._F.BQ]:"Caribbean Netherlands",[r._F.GL]:"Greenland",[r._F.SX]:"Sint Maarten",[r._F.PA]:"Panama",[r._F.AW]:"Aruba",[r._F.MQ]:"Martinique",[r._F.AG]:"Antigua and Barbuda",[r._F.BM]:"Bermuda",[r._F.CU]:"Cuba",[r._F.GD]:"Grenada",[r._F.NI]:"Nicaragua",[r._F.LC]:"Saint Lucia",[r._F.KN]:"Saint Kitts and Nevis",[r._F.DO]:"Dominican Republic",[r._F.VC]:"Saint Vincent and the Grenadines",[r._F.BZ]:"Belize",[r._F.HT]:"Haiti",[r._F.JM]:"Jamaica",[r._F.BS]:"Bahamas",[r._F.MX]:"Mexico",[r._F.MF]:"Saint Martin",[r._F.SV]:"El Salvador",[r._F.BL]:"Saint Barth\xe9lemy",[r._F.AI]:"Anguilla",[r._F.MS]:"Montserrat",[r._F.VG]:"British Virgin Islands",[r._F.BB]:"Barbados",[r._F.HN]:"Honduras",[r._F.KY]:"Cayman Islands",[r._F.DM]:"Dominica",[r._F.TT]:"Trinidad and Tobago",[r._F.CR]:"Costa Rica",[r._F.SR]:"Suriname",[r._F.CX]:"Christmas Island",[r._F.WS]:"Samoa",[r._F.PF]:"French Polynesia",[r._F.AS]:"American Samoa",[r._F.NC]:"New Caledonia",[r._F.TK]:"Tokelau",[r._F.PW]:"Palau",[r._F.KI]:"Kiribati",[r._F.VU]:"Vanuatu",[r._F.PN]:"Pitcairn Islands",[r._F.CK]:"Cook Islands",[r._F.FJ]:"Fiji",[r._F.PG]:"Papua New Guinea",[r._F.MP]:"Northern Mariana Islands",[r._F.NU]:"Niue",[r._F.TV]:"Tuvalu",[r._F.NF]:"Norfolk Island",[r._F.TO]:"Tonga",[r._F.FM]:"Micronesia",[r._F.SB]:"Solomon Islands",[r._F.NR]:"Nauru",[r._F.WF]:"Wallis and Futuna",[r._F.GU]:"Guam",[r._F.AU]:"Australia",[r._F.NZ]:"New Zealand",[r._F.MH]:"Marshall Islands",[r._F.CC]:"Cocos (Keeling) Islands",[r._F.VE]:"Venezuela",[r._F.PY]:"Paraguay",[r._F.BR]:"Brazil",[r._F.CO]:"Colombia",[r._F.PE]:"Peru",[r._F.CL]:"Chile",[r._F.UY]:"Uruguay",[r._F.AR]:"Argentina",[r._F.GY]:"Guyana",[r._F.BO]:"Bolivia",[r._F.GF]:"French Guiana",[r._F.EC]:"Ecuador",[r._F.FK]:"Falkland Islands",[r._F.US_AL]:"Alabama",[r._F.US_AK]:"Alaska",[r._F.US_AZ]:"Arizona",[r._F.US_AR]:"Arkansas",[r._F.US_CA]:"California",[r._F.US_CO]:"Colorado",[r._F.US_CT]:"Connecticut",[r._F.US_DE]:"Delaware",[r._F.US_DC]:"District of Columbia (DC)",[r._F.US_FL]:"Florida",[r._F.US_GA]:"Georgia",[r._F.US_HI]:"Hawaii",[r._F.US_ID]:"Idaho",[r._F.US_IL]:"Illinois",[r._F.US_IN]:"Indiana",[r._F.US_IA]:"Iowa",[r._F.US_KS]:"Kansas",[r._F.US_KY]:"Kentucky",[r._F.US_LA]:"Louisiana",[r._F.US_ME]:"Maine",[r._F.US_MD]:"Maryland",[r._F.US_MA]:"Massachusetts",[r._F.US_MI]:"Michigan",[r._F.US_MN]:"Minnesota",[r._F.US_MS]:"Mississippi",[r._F.US_MO]:"Missouri",[r._F.US_MT]:"Montana",[r._F.US_NE]:"Nebraska",[r._F.US_NV]:"Nevada",[r._F.US_NH]:"New Hampshire",[r._F.US_NJ]:"New Jersey",[r._F.US_NM]:"New Mexico",[r._F.US_NY]:"New York",[r._F.US_NC]:"North Carolina",[r._F.US_ND]:"North Dakota",[r._F.US_OH]:"Ohio",[r._F.US_OK]:"Oklahoma",[r._F.US_OR]:"Oregon",[r._F.US_PA]:"Pennsylvania",[r._F.US_PR]:"Puerto Rico",[r._F.US_RI]:"Rhode Island",[r._F.US_SC]:"South Carolina",[r._F.US_SD]:"San Diego",[r._F.US_TN]:"Tennessee",[r._F.US_TX]:"Texas",[r._F.US_UT]:"Utah",[r._F.US_VA]:"Virginia",[r._F.US_VI]:"United States Virgin Islands",[r._F.US_VT]:"Vermon",[r._F.US_WA]:"Washington",[r._F.US_WV]:"West Virginia",[r._F.US_WI]:"Wisconsin",[r._F.US_WY]:"Wyoming",[r._F.CA_AB]:"Alberta",[r._F.CA_BC]:"British Columbia",[r._F.CA_MB]:"Manitoba",[r._F.CA_NB]:"New Brunswick",[r._F.CA_NL]:"Newfoundland and Labrador",[r._F.CA_NS]:"Nova Scotia",[r._F.CA_ON]:"Ontario",[r._F.CA_PE]:"Prince Edward Island",[r._F.CA_QC]:"Quebec",[r._F.CA_SK]:"Saskatchewan",[r._F.CA_NT]:"Northwest Territories",[r._F.CA_NU]:"Nunavut",[r._F.CA_YT]:"Yukon",[r._F.CA]:"Canada",[r._F.US]:"United States",[r._F.MEXICO_CENTRAL_AMERICA]:"Mexico and Central America",[r._F.CARIBBEAN]:"Caribbean",[r._F.EEA]:"European Economic Area (EEA)",[r._F.NON_EEA]:"Non European Economic Area"},i=new Map(Object.entries(t));Object.entries(t).map(e=>({value:e[0],label:e[1]}))},31881:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return K}});var r=n(24246),t=n(59003),i=n(92222),s=n(27693),o=n.n(s),l=n(77181),_=n(27378),c=n(35287),d=n(58754),u=n(14481),F=n(46628),p=n(78780);let h=e=>{var a;return null==e?void 0:null===(a=e.utc())||void 0===a?void 0:a.startOf("day").toISOString()},g=e=>{var a;return null==e?void 0:null===(a=e.utc())||void 0===a?void 0:a.endOf("day").toISOString()},{useLazyDownloadReportQuery:S,useGetAllHistoricalPrivacyPreferencesQuery:m,useLazyGetCurrentPrivacyPreferencesQuery:x}=p.u.injectEndpoints({endpoints:e=>({getCurrentPrivacyPreferences:e.query({query:e=>{let{search:a}=e;return{url:"current-privacy-preferences",params:{email:a,phone_number:a,fides_user_device_id:a,external_id:a}}},providesTags:["Current Privacy Preferences"]}),downloadReport:e.query({query:e=>{let{startDate:a,endDate:n}=e;return{url:"plus/consent_reporting",params:{created_gt:h(a),created_lt:g(n),download_csv:"true"},responseHandler:"content-type"}},providesTags:["Consent Reporting Export"]}),getAllHistoricalPrivacyPreferences:e.query({query:e=>{let{page:a,size:n,startDate:r,endDate:t}=e;return{url:"historical-privacy-preferences",params:{page:a,size:n,request_timestamp_gt:h(r),request_timestamp_lt:g(t)}}},providesTags:["Consent Reporting"]})})});var C=n(90104),f=n.n(C),j=n(812),v=n(21702);let y={[v.pq.OPT_IN]:"Opt in",[v.pq.OPT_OUT]:"Opt out",[v.pq.ACKNOWLEDGE]:"Acknowledge",[v.pq.TCF]:"TCF"},b={[v.pq.OPT_IN]:"success",[v.pq.OPT_OUT]:"error",[v.pq.ACKNOWLEDGE]:"default",[v.pq.TCF]:"sandstone"},A={[v.jP.ACCEPT]:"Accept",[v.jP.BUTTON]:"Button",[v.jP.DISMISS]:"Dismiss",[v.jP.GPC]:"GPC",[v.jP.REJECT]:"Reject",[v.jP.SAVE]:"Save",[v.jP.SCRIPT]:"Script",[v.jP.INDIVIDUAL_NOTICE]:"Individual Notice",[v.jP.ACKNOWLEDGE]:"Acknowledge"},N={[v.Tz.API]:"API",[v.Tz.BANNER_AND_MODAL]:"Banner and Modal",[v.Tz.MODAL]:"Modal",[v.Tz.OVERLAY]:"Overlay",[v.Tz.PRIVACY_CENTER]:"Privacy Center",[v.Tz.TCF_OVERLAY]:"TCF Overlay"},M=(0,i.Cl)();var P=()=>(0,_.useMemo)(()=>[M.accessor(e=>e.notice_name,{id:"notice_name",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Privacy notice",...e}),enableSorting:!1}),M.accessor(e=>e.notice_key,{id:"notice_key",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Notice Key",...e}),enableSorting:!1}),M.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:a}=e,n=a(),t=n&&y[n]||n,i=n&&b[n]||"";return(0,r.jsx)(u.A4,{color:i,value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference",...e}),enableSorting:!1,size:100}),M.accessor(e=>e.privacy_notice_history_id,{id:"privacy_notice_history_id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Privacy Notice History Id",...e}),enableSorting:!1})],[]),I=n(47003),T=n.n(I);let E=(0,i.Cl)();var R=()=>{let e=(0,_.useCallback)(e=>{let a=[];if(e){let{preferences:n,...r}=e;T()(r,(e,n)=>{e&&e.forEach(e=>{a.push({key:n,id:e.id,preference:e.preference})})})}return a},[]),a=(0,_.useCallback)(e=>e.filter(e=>!(e.key.startsWith("system_")||e.key.startsWith("vendor_"))),[]);return{tcfColumns:(0,_.useMemo)(()=>[E.accessor(e=>e.key,{id:"key",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Type",...e}),enableSorting:!1}),E.accessor(e=>e.id,{id:"id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"ID",...e}),enableSorting:!1}),E.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:a}=e,n=a(),t=n&&y[n]||n,i=n&&b[n]||"";return(0,r.jsx)(u.A4,{color:i,value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference",...e}),enableSorting:!1,size:100})],[]),mapTcfPreferencesToRowColumns:e,filterTcfConsentPreferences:a}},U=e=>{let{isOpen:a,onClose:n}=e,[s,o]=(0,_.useState)(!1),[c,d]=(0,_.useState)(),[F]=x(),p=(0,l.pmc)();(0,_.useEffect)(()=>{a||(d(void 0),o(!1))},[a]);let h=async e=>{o(!0);let{data:a,isError:n,error:r}=await F({search:e}),t=r&&"status"in r&&(null==r?void 0:r.status);n&&404!==t?p({status:"error",description:(0,j.e$)(r,"A problem occurred while looking up the preferences.")}):d(a||null),o(!1)},g=P(),S=(null==c?void 0:c.preferences)||[],m=!f()(S),C=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:S,columns:g,getRowId:e=>"".concat(e.privacy_notice_history_id),manualPagination:!0}),{tcfColumns:v,mapTcfPreferencesToRowColumns:y,filterTcfConsentPreferences:b}=R(),A=b(y(c)),N=!f()(A),M=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:A,columns:v,getRowId:e=>"".concat(e.key,"-").concat(e.id),manualPagination:!0});return(0,r.jsxs)(l.u_l,{id:"consent-lookup-modal",isOpen:a,onClose:n,size:"6xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,r.jsx)(l.ZAr,{}),(0,r.jsxs)(l.hzk,{children:[(0,r.jsx)(l.olH,{}),(0,r.jsx)(l.xBx,{pb:2,children:"Consent preference lookup"}),(0,r.jsxs)(l.fef,{children:[(0,r.jsx)(l.AntTypography.Paragraph,{children:"Use this search to look up an individual's latest consent record. You can search by phone number, email, external ID or device ID to retrieve the most recent consent preference associated with that exact identifier."}),(0,r.jsxs)(l.AntTypography.Paragraph,{children:[(0,r.jsx)("strong",{children:"Note:"})," This is an exact match search—partial entries or similar results will not be returned. This lookup retrieves only the most recent consent preference, not the full consent history."]}),(0,r.jsx)(l.PPS,{layout:"vertical",className:"w-1/2",children:(0,r.jsx)(l.PPS.Item,{label:"Subject search",className:"mb-4 mt-6",children:(0,r.jsx)(l.uFc.Search,{"data-testid":"subject-search-input",placeholder:"Enter email, phone number, external ID or device ID",enterButton:"Search",onSearch:h,loading:s})})}),(0,r.jsxs)("div",{className:"mb-4",children:[(!N||m)&&(0,r.jsx)(u.ZK,{tableInstance:C,emptyTableNotice:(0,r.jsx)(l.oj8,{description:void 0===c?"Search for an email, phone number, or device ID.":"No results found.",image:l.oj8.PRESENTED_IMAGE_SIMPLE,imageStyle:{marginBottom:15}})}),N&&(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(u.ZK,{tableInstance:M})})]})]})]})]})},w=()=>{let e=(0,l.pmc)(),[a,{isFetching:n}]=S();return{downloadReport:async n=>{let{startDate:r,endDate:t}=n,i=await a({startDate:r,endDate:t});if(i.isError)e({status:"error",description:(0,j.e$)(i.error,"A problem occurred while generating your consent report. Please try again.")});else{let e=document.createElement("a"),a=new Blob([i.data],{type:"text/csv"});e.href=window.URL.createObjectURL(a),e.download="consent-reports.csv",e.click()}},isDownloadingReport:n}},k=e=>{let{isOpen:a,onClose:n,startDate:t,endDate:i}=e,{downloadReport:s,isDownloadingReport:o}=w(),_=async()=>{await s({startDate:t,endDate:i}),n()};return(0,r.jsxs)(l.u_l,{id:"consent-report-download-modal",isOpen:a,onClose:n,size:"xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,r.jsx)(l.ZAr,{}),(0,r.jsxs)(l.hzk,{children:[(0,r.jsx)(l.olH,{}),(0,r.jsx)(l.xBx,{pb:2,children:"Download consent report"}),(0,r.jsxs)(l.fef,{children:[(0,r.jsx)(l.AntTypography.Paragraph,{children:"The downloaded CSV may differ from the UI in Fides, including column order and naming."}),(0,r.jsx)(l.AntTypography.Paragraph,{children:'For large datasets, file generation may take a few minutes after selecting "Download".'}),(0,r.jsx)(l.jqI,{justify:"flex-end",children:(0,r.jsx)(l.wpx,{loading:o,onClick:_,"data-testid":"download-report-btn",type:"primary",className:"mb-2",children:"Download"})})]})]})]})},G=e=>{let{isOpen:a,onClose:n,tcfPreferences:s}=e,{tcfColumns:o,mapTcfPreferencesToRowColumns:_,filterTcfConsentPreferences:c}=R(),d=c(_(s)),F=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:d||[],columns:o,getRowId:e=>"".concat(e.key,"-").concat(e.id),manualPagination:!0});return(0,r.jsxs)(l.u_l,{id:"consent-lookup-modal",isOpen:a,onClose:n,size:"4xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,r.jsx)(l.ZAr,{}),(0,r.jsxs)(l.hzk,{"data-testid":"consent-tcf-detail-modal",children:[(0,r.jsx)(l.olH,{}),(0,r.jsx)(l.xBx,{pb:2,children:"TCF Consent Details"}),(0,r.jsx)(l.fef,{children:(0,r.jsx)("div",{className:"mb-4",children:(0,r.jsx)(u.ZK,{tableInstance:F,emptyTableNotice:(0,r.jsx)(l.oj8,{description:" No data found",image:l.oj8.PRESENTED_IMAGE_SIMPLE,imageStyle:{marginBottom:15}})})})})]})]})},B=n(8411),O=n(72625);let D=(0,i.Cl)();var L=e=>{let{onTcfDetailViewClick:a}=e;return(0,_.useMemo)(()=>[D.accessor(e=>e.fides_user_device_id,{id:"fides_user_device_id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"User device ID",...e}),enableSorting:!1}),D.accessor(e=>e.user_geography,{id:"user_geography",cell:e=>{let{getValue:a}=e,n=a(),t=n&&B.Z8[n]||n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"User geography",...e}),enableSorting:!1}),D.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:n,row:t}=e,i=n(),s=i&&y[i]||i,o=i&&b[i]||"",_="tcf"===i&&t.original.tcf_preferences;return(0,r.jsx)(l.jqI,{align:"center",children:(0,r.jsx)(u.A4,{color:o,value:s,onClick:_?()=>a(t.original.tcf_preferences):void 0})})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference",...e}),enableSorting:!1,size:100}),D.accessor(e=>e.notice_name,{id:"notice_name",cell:e=>{let{getValue:a}=e,n=a(),t="tcf"===n?n.toUpperCase():n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Privacy notice",...e}),enableSorting:!1}),D.accessor(e=>e.method,{id:"method",cell:e=>{let{getValue:a}=e,n=a(),t=n&&A[n]||n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Method",...e}),enableSorting:!1,size:100}),D.accessor(e=>e.request_origin,{id:"request_origin",cell:e=>{let{getValue:a}=e,n=a(),t=n&&N[n]||n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Request origin",...e}),enableSorting:!1,size:120}),D.accessor(e=>e.request_timestamp,{id:"request_timestamp",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(O.Cy,{time:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Request timestamp",...e}),size:120}),D.accessor(e=>e.external_id,{id:"external_id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"External ID",...e}),enableSorting:!1}),D.accessor(e=>e.email,{id:"email",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:(0,r.jsx)(l.AntTypography.Link,{href:"mailto:".concat(a()),children:a()})})},header:e=>(0,r.jsx)(u.Rr,{value:"Email",...e}),enableSorting:!1}),D.accessor(e=>e.id,{id:"id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference ID",...e}),enableSorting:!1})],[a])},K=()=>{let e=(0,u.oi)(),a=(0,_.useMemo)(()=>o()(),[]),[n,s]=(0,_.useState)(null),[p,h]=(0,_.useState)(null),[g,S]=(0,_.useState)(!1),[x,C]=(0,_.useState)(!1),[f,j]=(0,_.useState)(!1),[v,y]=(0,_.useState)(),b=(0,l.pmc)(),{data:A,isLoading:N,isFetching:M,refetch:P}=m({page:e.pageIndex,size:e.pageSize,startDate:n,endDate:p}),{setTotalPages:I}=e,{items:T,total:E}=(0,_.useMemo)(()=>{let e=A||{items:[],total:0,pages:0};return I(e.pages),e},[A,I]),R=L({onTcfDetailViewClick:e=>{j(!0),y(e)}}),w=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:T,columns:R,getRowId:e=>"".concat(e.id),manualPagination:!0}),B=async()=>{e.resetPageIndexToDefault(),await P(),b((0,F.t5)("Consent report refreshed successfully.","Report Refreshed"))};return(0,r.jsxs)(c.Z,{title:"Consent reporting",children:[(0,r.jsx)(d.Z,{heading:"Consent reporting",rightContent:(0,r.jsx)(l.wpx,{type:"primary",onClick:B,loading:M,children:"Refresh"})}),(0,r.jsx)("div",{"data-testid":"consent-reporting",className:"overflow-auto",children:N?(0,r.jsx)("div",{className:"border p-2",children:(0,r.jsx)(u.I4,{rowHeight:26,numRows:10})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(u.Q$,{children:[(0,r.jsx)(l.gwi,{placeholder:["From","To"],maxDate:a,"data-testid":"input-date-range",onChange:e=>{s(e&&e[0]),h(e&&e[1])}}),(0,r.jsxs)(l.jqI,{gap:12,children:[(0,r.jsx)(l.wpx,{icon:(0,r.jsx)(l.PJP.UWx,{}),"data-testid":"download-btn",onClick:()=>C(!0)}),(0,r.jsx)(l.S0p,{menu:{items:[{key:"1",label:(0,r.jsx)("span",{"data-testid":"consent-preference-lookup-btn",children:"Consent preference lookup"}),onClick:()=>S(!0)}]},overlayStyle:{width:"220px"},trigger:["click"],children:(0,r.jsx)(l.wpx,{icon:(0,r.jsx)(l.PJP.r43,{}),"data-testid":"consent-reporting-dropdown-btn"})})]})]}),(0,r.jsx)(u.ZK,{tableInstance:w,emptyTableNotice:(0,r.jsx)(l.oj8,{description:"No results.",image:l.oj8.PRESENTED_IMAGE_SIMPLE,imageStyle:{marginBottom:15}})}),(0,r.jsx)(u.s8,{totalRows:E||0,pageSizes:u.W3,setPageSize:e.setPageSize,onPreviousPageClick:e.onPreviousPageClick,isPreviousPageDisabled:e.isPreviousPageDisabled||M,onNextPageClick:e.onNextPageClick,isNextPageDisabled:e.isNextPageDisabled||M,startRange:e.startRange,endRange:e.endRange})]})}),(0,r.jsx)(U,{isOpen:g,onClose:()=>S(!1)}),(0,r.jsx)(k,{isOpen:x,onClose:()=>C(!1),startDate:n,endDate:p}),(0,r.jsx)(G,{isOpen:f,onClose:()=>{j(!1),y(void 0)},tcfPreferences:v})]})}}},function(e){e.O(0,[8033,6060,2858,4481,2888,9774,179],function(){return e(e.s=15806)}),_N_E=e.O()}]);
|
@@ -0,0 +1 @@
|
|
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,a=null==e?0:e.length;++n<a;)if(s(t,e[n]))return!0;return!1}},8817:function(e,t,s){var n=s(95372),a=s(1129),i=s(58263);e.exports=function(e,t,s){return t==t?i(e,t,s):n(e,a,s)}},1129:function(e){e.exports=function(e){return e!=e}},92198:function(e,t,s){var n=s(52485),a=s(58095),i=s(21796),r=s(65581),o=s(47111),l=s(43735);e.exports=function(e,t,s){var d=-1,c=a,u=e.length,m=!0,h=[],g=h;if(s)m=!1,c=i;else if(u>=200){var v=t?null:o(e);if(v)return l(v);m=!1,c=r,g=new n}else g=t?[]:h;e:for(;++d<u;){var p=e[d],x=t?t(p):p;if(p=s||0!==p?p:0,m&&x==x){for(var f=g.length;f--;)if(g[f]===x)continue e;t&&g.push(x),h.push(p)}else c(g,x,s)||(g!==h&&g.push(x),h.push(p))}return h}},47111:function(e,t,s){var n=s(46151),a=s(50344),i=s(43735),r=n&&1/i(new n([,-0]))[1]==1/0?function(e){return new n(e)}:a;e.exports=r},58263:function(e){e.exports=function(e,t,s){for(var n=s-1,a=e.length;++n<a;)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(45906)}])},66379:function(e,t,s){"use strict";var n=s(24246),a=s(77181),i=s(7617);t.Z=e=>{let{data:t,border:s="partial",borderWidth:r=2,...o}=e;return(0,n.jsx)(a.mQc,{colorScheme:"complimentary",...o,children:(0,n.jsx)(a.tdY,{width:"partial"===s?"max-content":void 0,borderBottomWidth:r,children:t.map(e=>(0,n.jsx)(i.q,{label:e.label,"data-testid":e.label,isDisabled:e.isDisabled,fontSize:o.fontSize},e.label))})})}},35287:function(e,t,s){"use strict";var n=s(24246),a=s(77181),i=s(88038),r=s.n(i);s(27378),t.Z=e=>{let{children:t,title:s,mainProps:i}=e;return(0,n.jsxs)(a.kCb,{"data-testid":s,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,n.jsxs)(r(),{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)(a.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...i,children:t})]})}},58754:function(e,t,s){"use strict";var n=s(24246),a=s(77181),i=s(70788);t.Z=e=>{let{heading:t,breadcrumbItems:s,isSticky:r=!0,children:o,rightContent:l,style:d,...c}=e;return(0,n.jsxs)("div",{...c,style:r?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...d}:{paddingBottom:"24px",...d},children:[(0,n.jsxs)(a.jqI,{justify:"space-between",children:["string"==typeof t?(0,n.jsx)(a.X6q,{className:s||o?"pb-4":void 0,fontSize:"2xl","data-testid":"page-heading",children:t}):t,l&&(0,n.jsx)("div",{"data-testid":"page-header-right-content",children:l})]}),!!s&&(0,n.jsx)(i.m,{className:o?"pb-4":void 0,items:s,"data-testid":"page-breadcrumb"}),o]})}},97181:function(e,t,s){"use strict";s.d(t,{d:function(){return d}});var n=s(24246),a=s(77181),i=s(34090),r=s(27378),o=s(91613),l=s(40324);let d=e=>{let{name:t,label:s,labelProps:d,tooltip:c,isRequired:u,layout:m="inline",...h}=e,[g,v,{setValue:p}]=(0,i.U$)(t),x=!!(v.touched&&v.error),[f,y]=(0,r.useState)("");g.value||"tags"!==h.mode&&"multiple"!==h.mode||(g.value=[]),"tags"===h.mode&&"string"==typeof g.value&&(g.value=[g.value]);let j="tags"===h.mode?(e,t)=>e?e.value!==f||g.value.includes(f)?h.optionRender?h.optionRender(e,t):e.label:'Create "'.concat(f,'"'):void 0:h.optionRender||void 0,b=e=>{y(e),h.onSearch&&h.onSearch(e)},C=(e,t)=>{p(e),h.onChange&&h.onChange(e,t)};return"inline"===m?(0,n.jsx)(a.NIc,{isInvalid:x,isRequired:u,children:(0,n.jsxs)(a.rjZ,{templateColumns:s?"1fr 3fr":"1fr",children:[s?(0,n.jsx)(l.__,{htmlFor:h.id||t,...d,children:s}):null,(0,n.jsxs)(a.jqI,{align:"center",children:[(0,n.jsxs)(a.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,n.jsx)(a.WPr,{...g,id:h.id||t,"data-testid":"controlled-select-".concat(g.name),...h,optionRender:j,onSearch:"tags"===h.mode?b:void 0,onChange:C,value:g.value||void 0,status:x?"error":void 0}),(0,n.jsx)(l.Bc,{isInvalid:x,message:v.error,fieldName:g.name})]}),c?(0,n.jsx)(o.Z,{label:c}):null]})]})}):(0,n.jsx)(a.NIc,{isInvalid:x,isRequired:u,children:(0,n.jsxs)(a.gCW,{alignItems:"start",children:[(0,n.jsxs)(a.jqI,{align:"center",children:[s?(0,n.jsx)(l.__,{htmlFor:h.id||t,fontSize:"xs",my:0,mr:1,...d,children:s}):null,c?(0,n.jsx)(o.Z,{label:c}):null]}),(0,n.jsx)(a.WPr,{...g,id:h.id||t,"data-testid":"controlled-select-".concat(g.name),...h,optionRender:j,onSearch:"tags"===h.mode?b:void 0,onChange:C,value:g.value||void 0,status:x?"error":void 0}),(0,n.jsx)(l.Bc,{isInvalid:x,message:v.error,fieldName:g.name})]})})}},14047:function(e,t,s){"use strict";s.d(t,{H:function(){return i},V:function(){return n.V}});var n=s(84306),a=s(812);let i=()=>{let{errorAlert:e}=(0,n.V)();return{handleError:t=>{let s="An unexpected error occurred. Please try again.";(0,a.Ot)(t)?s=t.data.detail:(0,a.tB)(t)&&(s=t.data.detail[0].msg),e(s)}}}},84306:function(e,t,s){"use strict";s.d(t,{V:function(){return i}});var n=s(24246),a=s(77181);let i=()=>{let e=(0,a.pmc)();return{errorAlert:(t,s,i)=>{let r={...i,position:(null==i?void 0:i.position)||"top",render:e=>{let{onClose:i}=e;return(0,n.jsxs)(a.bZj,{alignItems:"normal",status:"error","data-testid":"error-alert",children:[(0,n.jsx)(a.zMQ,{}),(0,n.jsxs)(a.xuv,{children:[s&&(0,n.jsx)(a.CdC,{children:s}),(0,n.jsx)(a.XaZ,{children:t})]}),(0,n.jsx)(a.PZ7,{onClick:i,position:"relative",right:0,size:"sm",top:-1})]})}};(null==i?void 0:i.id)&&e.isActive(i.id)?e.update(i.id,r):e(r)},successAlert:(t,s,i)=>{let r={...i,position:(null==i?void 0:i.position)||"top",render:e=>{let{onClose:i}=e;return(0,n.jsxs)(a.bZj,{alignItems:"normal",status:"success",variant:"subtle","data-testid":"success-alert",children:[(0,n.jsx)(a.zMQ,{}),(0,n.jsxs)(a.xuv,{children:[s&&(0,n.jsx)(a.CdC,{children:s}),(0,n.jsx)(a.XaZ,{children:t})]}),(0,n.jsx)(a.PZ7,{onClick:i,position:"relative",right:0,size:"sm",top:-1})]})}};(null==i?void 0:i.id)&&e.isActive(i.id)?e.update(i.id,r):e(r)}}}},45938:function(e,t,s){"use strict";s.d(t,{Gt:function(){return m},eB:function(){return h},oI:function(){return u}});var n=s(24246),a=s(34090),i=s(27378),r=s(16134),o=s(38602),l=s(58452);let d=(0,i.createRef)(),c=(0,i.createRef)(),u=()=>{let e=(0,r.T)(),t=(0,r.C)(o.DB),s=(0,i.useCallback)(()=>{c.current=void 0,d.current=void 0},[]),n=(0,i.useCallback)(()=>{e((0,o.Mr)()),c.current&&(c.current(!0),s())},[e,s]),a=(0,i.useCallback)(()=>{e((0,o.Mr)()),c.current&&(c.current(!1),s())},[e,s]);return{attemptAction:(0,i.useCallback)(()=>t?(e((0,o.h7)()),d.current||(d.current=new Promise(e=>{c.current=e})),d.current):Promise.resolve(!0),[t,e]),onConfirm:n,onClose:a}},m=e=>{let{id:t,name:s}=e,{dirty:n}=(0,a.u6)(),l=(0,r.T)();return(0,i.useEffect)(()=>(l((0,o.Zu)({id:t,name:s})),()=>{l((0,o.dz)({id:t}))}),[l,t,s]),(0,i.useEffect)(()=>{l((0,o.$p)({id:t,isDirty:n}))},[n,l,t]),null},h=()=>{let{onConfirm:e,onClose:t}=u(),s=(0,r.C)(o.uv);return(0,n.jsx)(l.Z,{isOpen:s,onClose:t,onConfirm:e,isCentered:!0,title:"Unsaved Changes",message:"You have unsaved changes"})}},8133:function(e,t,s){"use strict";var n=s(24246),a=s(77181);t.Z=e=>{let{title:t,children:s,isOpen:i,onClose:r,...o}=e;return(0,n.jsxs)(a.u_l,{isOpen:i,onClose:r,isCentered:!0,scrollBehavior:"inside",size:"xl",id:"add-modal",...o,children:[(0,n.jsx)(a.ZAr,{}),(0,n.jsxs)(a.hzk,{textAlign:"left",p:0,"data-testid":"add-modal-content",children:[(0,n.jsx)(a.xBx,{p:0,children:(0,n.jsx)(a.xuv,{backgroundColor:"gray.50",px:6,py:4,border:"1px",borderColor:"gray.200",borderTopRadius:6,display:"flex",justifyContent:"space-between",alignItems:"center",children:(0,n.jsx)(a.X6q,{as:"h3",size:"sm",children:t})})}),(0,n.jsx)(a.fef,{pb:4,overflow:"auto",children:s})]})]})}},70788:function(e,t,s){"use strict";s.d(t,{m:function(){return d}});var n=s(24246),a=s(77181),i=s(79894),r=s.n(i),o=s(27378);let{Text:l}=a.AntTypography,d=e=>{let{items:t,...s}=e,i=(0,o.useMemo)(()=>null==t?void 0:t.map((e,s)=>{let i=s===t.length-1,o={...e},d=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,n.jsx)(l,{style:{color:"inherit",maxWidth:i?void 0:400},ellipsis:!i,children:o.title})),d)?o.title=(0,n.jsx)(a.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)(r(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[t]);return(0,n.jsx)(a.zrq,{items:i,...s})}},37059:function(e,t,s){"use strict";s.d(t,{Ak:function(){return h},EY:function(){return c},Ud:function(){return i},Vr:function(){return g},WJ:function(){return o},nP:function(){return d},nS:function(){return u},rs:function(){return l},sX:function(){return m},wi:function(){return r}});var n=s(78780),a=s(16394);let{useGetAggregateMonitorResultsQuery:i,useGetDiscoveredSystemAggregateQuery:r,useGetDiscoveredAssetsQuery:o,useAddMonitorResultSystemsMutation:l,useIgnoreMonitorResultSystemsMutation:d,useAddMonitorResultAssetsMutation:c,useIgnoreMonitorResultAssetsMutation:u,useUpdateAssetsSystemMutation:m,useUpdateAssetsDataUseMutation:h,useUpdateAssetsMutation:g}=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:a}=e;return{url:"/plus/discovery-monitor/system-aggregate-results",params:{monitor_config_id:t,page:s,size:n,search:a,diff_status:"addition"}}},providesTags:["Discovery Monitor Results"]}),getDiscoveredAssets:e.query({query:e=>{let{key:t,system:s,page:n=1,size:a=20,search:i,diff_status:r}=e;return{url:"/plus/discovery-monitor/".concat(t,"/results"),params:{resolved_system_id:s,page:n,size:a,search:i,diff_status:r,sort_by:"urn"}}},providesTags:()=>["Discovery Monitor Results"]}),addMonitorResultSystems:e.mutation({query:e=>{let{monitor_config_key:t,resolved_system_ids:s}=e,n=(0,a.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,a.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"]}),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"]})})})},33335:function(e,t,s){"use strict";s.d(t,{E:function(){return n}});let n=e=>e.toLowerCase().replace(/ /g,"_").replace(/[^a-zA-Z0-9._<>-]/g,"")},36345:function(e,t,s){"use strict";s.d(t,{Z:function(){return p}});var n=s(24246),a=s(77181),i=s(34090),r=s(27378),o=s(16134),l=s(40324);let d=(0,a.IUT)({displayName:"CompassIcon",viewBox:"0 0 512 512",path:(0,n.jsx)("path",{fill:"currentColor",d:"M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm306.7 69.1L162.4 380.6c-19.4 7.5-38.5-11.6-31-31l55.5-144.3c3.3-8.5 9.9-15.1 18.4-18.4l144.3-55.5c19.4-7.5 38.5 11.6 31 31L325.1 306.7c-3.2 8.5-9.9 15.1-18.4 18.4zM288 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"})});var c=s(91613),u=s(57865);let{Text:m}=a.AntTypography,h=e=>{let{searchText:t,suggestion:s,...a}=e;return t&&s?(0,n.jsxs)(m,{"aria-hidden":!0,style:{pointerEvents:"none",position:"absolute",zIndex:10,top:"var(--ant-line-width)",bottom:"var(--ant-line-width)",left:"var(--ant-padding-sm)",lineHeight:"calc(var(--ant-control-height) - var(--ant-line-width))"},...a,children:[(0,n.jsx)(m,{className:"text-transparent",children:t}),(0,n.jsx)(m,{type:"secondary",children:s.substring(t.length)})]}):null},g="Create new system",v=e=>{let{active:t,disabled:s,onRefreshSuggestions:i}=e,r={bg:t?"complimentary.500":"gray.100"};return(0,n.jsxs)(a.gCW,{children:[(0,n.jsx)(a.LZC,{minHeight:"18px"}),(0,n.jsxs)(a.v2r,{children:[(0,n.jsx)(a.j2t,{as:a.hU,size:"sm",isDisabled:s,icon:(0,n.jsx)(d,{color:t?"white":"gray.700",boxSize:4}),"aria-label":"Update information from Compass","data-testid":"refresh-suggestions-btn",_hover:{_disabled:r},...r}),(0,n.jsx)(a.qyq,{children:(0,n.jsx)(a.sNh,{onClick:i,children:(0,n.jsx)(a.xvT,{fontSize:"xs",lineHeight:4,children:"Reset to Compass defaults"})})})]})]})};var p=e=>{var t,s;let{label:d,isCreate:m,lockedForGVL:p,options:x,isLoading:f,onVendorSelected:y}=e,j=(0,o.C)(u.bN),[b,C,{setValue:_}]=(0,i.U$)("name"),w=!!(C.touched&&C.error),S={...b,value:null!==(t=b.value)&&void 0!==t?t:""},{touched:I,values:R,setTouched:k,setFieldValue:T,validateForm:A}=(0,i.u6)(),[D,N]=(0,r.useState)(!0),P=null!==(s=x.find(e=>e.value===S.value))&&void 0!==s?s:{label:S.value,value:S.value,description:""},z=(e,t)=>!!(null==t?void 0:t.label.toLowerCase().startsWith(e.toLowerCase())),[E,q]=(0,r.useState)(""),L=(0,r.useMemo)(()=>x.filter(e=>z(E,e)),[x,E]),M=(0,r.useMemo)(()=>{let e=x;return m&&E&&(e=[...x,{label:"".concat(g,' "').concat(E,'"...'),value:E}]),e},[m,x,E]),Z=!!E&&L.length>0,O=p&&!m;(0,r.useEffect)(()=>{N(!S.value&&!R.vendor_id)},[S.value,R.vendor_id,N]),(0,r.useEffect)(()=>{A()},[D,A]);let U=async()=>{q(""),T("vendor_id",void 0),await _(""),k({...I,vendor_id:!1,name:!1}),y(void 0)},V=async e=>{if(e){let t=x.some(t=>t.value===e.value)?e.value:void 0;T("vendor_id",t),await _(e.label.startsWith(g)?e.value:e.label),k({...I,vendor_id:!0,name:!0}),y(t)}},B=async e=>{S.onBlur(e),E&&await _(E),k({...I,name:!0})},W=async e=>{L.length>0&&E!==L[0].label?(e.preventDefault(),q(L[0].label),T("vendor_id",L[0].value),await _(L[0].label),y(L[0].value)):(T("vendor_id",void 0),await _(E)),k({...I,name:!0})},$=(0,n.jsx)(a.NIc,{isInvalid:w,isRequired:!0,width:"100%",children:(0,n.jsxs)(a.gCW,{alignItems:"start",position:"relative",width:"100%",children:[(0,n.jsxs)(a.Ugi,{spacing:1,children:[(0,n.jsx)(l.__,{htmlFor:"vendorName",fontSize:"xs",my:0,mr:1,children:d}),(0,n.jsx)(c.Z,{label:"Enter the system name"})]}),(0,n.jsxs)(a.xuv,{width:"100%",className:"relative",children:[(0,n.jsx)(a.WPr,{id:"vendorName",labelInValue:!0,autoFocus:!0,allowClear:!0,options:M,loading:f,filterOption:(e,t)=>z(e,t)||!!(null==t?void 0:t.label.startsWith(g)),optionFilterProp:"label",value:P,placeholder:"Enter system name...",disabled:O,onChange:V,onSearch:q,onClear:U,onBlur:B,onInputKeyDown:e=>{E&&"Tab"===e.key&&W(e)},status:w?"error":void 0,"data-testid":"vendor-name-select"}),(0,n.jsx)(h,{searchText:E,suggestion:L.length?L[0].label:""})]}),(0,n.jsx)(l.Bc,{isInvalid:w,message:C.error,fieldName:"name"})]})});return(0,n.jsxs)(a.Ugi,{alignItems:"flex-start",width:"full",children:[D?$:(0,n.jsx)(l.j0,{autoFocus:!0,id:"name",name:"name",label:"System name",tooltip:"Enter the system name",variant:"stacked",disabled:O,isRequired:!0,inputRightElement:O?null:(0,n.jsx)(a.PZ7,{onClick:U,size:"sm","data-testid":"clear-btn"})}),(0,n.jsx)(v,{active:!!R.vendor_id||Z,disabled:!R.vendor_id||"showing"===j,onRefreshSuggestions:()=>y(R.vendor_id)})]})}},45906:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return F}});var n=s(24246),a=s(86677),i=s(27378),r=s(35287),o=s(77830),l=s(58754),d=s(59003),c=s(92222),u=s(77181),m=s(83766),h=s.n(m),g=s(66379),v=s(812),p=s(14047),x=s(14481),f=s(37059),y=s(8133),j=s(70682);let{Text:b}=u.AntTypography;var C=e=>{let{onSave:t,isSaving:s,onClose:a,...r}=e,[o,l]=(0,i.useState)([]),d=()=>{l([]),a()};return(0,n.jsxs)(y.Z,{title:"Add consent category",...r,onClose:d,children:[(0,n.jsxs)(u.jqI,{vertical:!0,gap:20,className:"pb-6 pt-4",children:[(0,n.jsx)(b,{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)(j.Z,{mode:"tags",selectedTaxonomies:o,onSelect:(e,t)=>l([...o,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:!o.length,loading:s,onClick:()=>{t(o),d()},"data-testid":"save-btn",children:"Save"})]})]})},_=s(21702);let w={ATTENTION_REQUIRED:{index:0,hash:"#attention-required"},RECENT_ACTIVITY:{index:1,hash:"#recent-activity"},IGNORED:{index:2,hash:"#ignored"}},S=e=>{let t=e.startsWith("#")?e:"#".concat(e);return Object.values(w).find(e=>e.hash===t)},I=e=>Object.values(w).find(t=>t.index===e);var R=e=>{let{systemId:t}=e,s=(0,a.useRouter)(),[n,r]=(0,i.useState)((()=>{var e;let t=s.asPath.split("#")[1];return t?null===(e=S(t))||void 0===e?void 0:e.index:w.ATTENTION_REQUIRED.index})()),o=(0,i.useCallback)(async e=>{if(r(e),s.isReady){let t=I(e);if(t){let e={...s.query};await s.replace({pathname:s.pathname,query:e,hash:t.hash},void 0,{shallow:!0})}}},[s]),l=[{label:"Attention required",params:{diff_status:[_.LL.ADDITION],system:t}},{label:"Recent activity",params:{diff_status:[_.LL.MONITORED]}},{label:"Ignored",params:{diff_status:[_.LL.MUTED],system:t}}];return{filterTabs:l,filterTabIndex:n,onTabChange:o,activeParams:l[n].params}},k=s(57454),T=s(29850),A=s(77685);let{Text:D}=u.AntTypography,N=e=>{let{onSave:t,isSaving:s,...a}=e,[r,o]=(0,i.useState)(),[l,d]=(0,i.useState)(!1),c=(0,i.useCallback)(e=>{e.preventDefault(),d(!0)},[]),m=()=>{d(!1)},h=()=>{o(void 0),a.onClose()};return(0,n.jsxs)(y.Z,{title:"Assign system",...a,onClose:h,children:[(0,n.jsxs)(u.jqI,{vertical:!0,gap:20,className:"pb-6 pt-4",children:[(0,n.jsx)(D,{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)=>{o(t)},onAddSystem:c,value:r})]})," ",(0,n.jsxs)(u.jqI,{justify:"space-between",children:[(0,n.jsx)(u.wpx,{htmlType:"reset",onClick:h,"data-testid":"cancel-btn",children:"Cancel"}),(0,n.jsx)(u.wpx,{htmlType:"submit",type:"primary",disabled:!r,loading:s,onClick:()=>{t(r)},"data-testid":"save-btn",children:"Save"})]}),l&&(0,n.jsx)(A.i,{isOpen:!0,onClose:m,onSuccessfulSubmit:(e,t)=>{m(),o({label:t,value:e})},toastOnSuccess:!0})]})};var P=s(8411),z=s(72625);let E=e=>{let{asset:t}=e,[s,{isLoading:a}]=(0,f.EY)(),[i,{isLoading:r}]=(0,f.nS)(),{successAlert:o,errorAlert:l}=(0,p.V)(),d=a||r,{urn:c,name:m,resource_type:h}=t,g=async()=>{let e=await s({urnList:[c]});(0,v.D4)(e)?l((0,v.e$)(e.error)):o("".concat(h,' "').concat(m,'" has been added to the system inventory.'),"Confirmed")},x=async()=>{let e=await i({urnList:[c]});(0,v.D4)(e)?l((0,v.e$)(e.error)):o("".concat(h,' "').concat(m,'" has been ignored and will not appear in future scans.'),"Ignored")};return(0,n.jsxs)(u.vyj,{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:g,disabled:!t.system||d,loading:a,children:"Add"})}),(0,n.jsx)(u.wpx,{"data-testid":"ignore-btn",size:"small",onClick:x,disabled:d,loading:r,children:"Ignore"})]})};var q=s(34929),L=s(78238),M=s(26183),Z=s(31883),O=e=>{var t;let{asset:s,readonly:a}=e,[r,o]=(0,i.useState)(!1),[l]=(0,f.Ak)(),{successAlert:d,errorAlert:c}=(0,p.V)(),{getDataUseDisplayName:m}=(0,q.Z)(),h=s.user_assigned_data_uses||s.data_uses||[],g=async e=>{let t=await l({monitorId:s.monitor_config_id,urnList:[s.urn],dataUses:[...h,e]});(0,Z.D4)(t)?c((0,v.e$)(t.error)):d("Consent category added to ".concat(s.resource_type,' "').concat(s.name,'" .'),"Confirmed"),o(!1)},x=async e=>{let t=await l({monitorId:s.monitor_config_id,urnList:[s.urn],dataUses:h.filter(t=>t!==e)});(0,Z.D4)(t)?c((0,v.e$)(t.error)):d("Consent category removed from ".concat(s.resource_type,' "').concat(s.name,'".'),"Confirmed")},y=(null===(t=s.user_assigned_data_uses)||void 0===t?void 0:t.length)?s.user_assigned_data_uses:s.data_uses,b=null==y?void 0:y.filter(e=>(0,L.Z)(e));return a?(0,n.jsx)(M.Z,{children:null==b?void 0:b.map(e=>(0,n.jsx)(u.j8w,{color:"white",children:m(e)},e))}):(0,n.jsxs)(M.Z,{children:[!r&&(0,n.jsxs)(n.Fragment,{children:[null==b?void 0:b.map(e=>(0,n.jsx)(u.j8w,{"data-testid":"data-use-".concat(e),color:"white",closable:!0,onClose:()=>x(e),closeButtonLabel:"Remove data use",children:m(e)},e)),(0,n.jsx)(u.j8w,{onClick:()=>o(!0),"data-testid":"taxonomy-add-btn",addable:!0,"aria-label":"Add data use"})]}),r&&(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)(j.Z,{selectedTaxonomies:b||[],onSelect:g,onBlur:()=>o(!1),open:!0})})]})},U=s(43862),V=s(70675);let B=e=>{let{aggregateSystem:t,monitorConfigId:s,readonly:a}=e,{resource_type:r,name:o,urn:l,system:d,user_assigned_system_key:c,system_key:m}=t,[h,g]=(0,i.useState)(!1),[x,f]=(0,i.useState)(!1),[y,{isLoading:j}]=(0,V.NA)(),{successAlert:b,errorAlert:C}=(0,p.V)(),_=(0,i.useCallback)(e=>{e.preventDefault(),f(!0)},[]),w=async(e,t,n)=>{let a=await y({staged_resource_urn:l,monitor_config_id:s,user_assigned_system_key:e});(0,v.D4)(a)?C((0,v.e$)(a.error)):b(n?"".concat(t," has been added to your system inventory and the ").concat(r,' "').concat(o,'" has been assigned to that system.'):"".concat(r,' "').concat(o,'" has been assigned to ').concat(t,"."),"Confirmed"),g(!1)};return a?(0,n.jsx)("div",{style:(0,U.J9)(),children:(0,n.jsx)(u.j8w,{"data-testid":"system-badge",color:"white",children:d})}):(0,n.jsxs)(n.Fragment,{children:[!h&&(0,n.jsx)("div",{style:(0,U.J9)(),children:d?(0,n.jsxs)(u.j8w,{onClick:()=>g(!0),"data-testid":"system-badge",children:[d,(0,n.jsx)(u.PJP.I8b,{})]}):(0,n.jsx)(u.j8w,{onClick:()=>g(!0),"data-testid":"add-system-btn",addable:!0})}),!!h&&(0,n.jsx)(T.R,{variant:"borderless",className:"w-full",autoFocus:!0,defaultOpen:!0,defaultValue:c||m,onBlur:e=>{var t;(null===(t=e.relatedTarget)||void 0===t?void 0:t.getAttribute("id"))!=="add-new-system"&&g(!1)},onAddSystem:_,onSelect:(e,t)=>w(e,t.label),loading:j}),x&&(0,n.jsx)(A.i,{isOpen:!0,onClose:()=>{f(!1)},onSuccessfulSubmit:(e,t)=>w(e,t,!0)})]})},W=e=>{let{readonly:t}=e,s=(0,c.Cl)(),a=[s.display({id:"select",cell:e=>{let{row:t}=e;return(0,n.jsx)(x.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)(x.k,{isChecked:t.getIsAllPageRowsSelected(),isIndeterminate:t.getIsSomeRowsSelected(),onChange:t.getToggleAllRowsSelectedHandler(),dataTestId:"select-all-rows"})},maxSize:40}),s.accessor(e=>e.name,{id:"name",cell:e=>(0,n.jsx)(x.G3,{value:e.getValue()}),header:"Asset",size:300}),s.accessor(e=>e.resource_type,{id:"resource_type",cell:e=>(0,n.jsx)(x.G3,{value:e.getValue()}),header:"Type"}),s.accessor(e=>e.system,{id:"system",cell:e=>!!e.row.original.monitor_config_id&&(0,n.jsx)(B,{aggregateSystem:e.row.original,monitorConfigId:e.row.original.monitor_config_id,readonly:t}),header:"System",size:200,meta:{noPadding:!0}}),s.display({id:"data_use",cell:e=>(0,n.jsx)(O,{asset:e.row.original,readonly:t}),header:"Categories of consent",size:400,meta:{disableRowClick:!0}}),s.accessor(e=>e.locations,{id:"locations",cell:e=>(0,n.jsx)(x.G3,{value:e.getValue().length>1?"".concat(e.getValue().length," locations"):P.Z8[e.getValue()[0]]}),header:"Locations"}),s.accessor(e=>e.domain,{id:"domain",cell:e=>(0,n.jsx)(x.G3,{value:e.getValue()}),header:"Domain"}),s.accessor(e=>e.page,{id:"page",cell:e=>(0,n.jsx)(z.tc,{values:e.getValue(),valueSuffix:"pages",cellProps:e}),header:e=>(0,n.jsx)(z.Rr,{value:"Detected on",...e}),meta:{showHeaderMenu:!0,disableRowClick:!0}})];return t||a.push(s.display({id:"actions",cell:e=>(0,n.jsx)(E,{asset:e.row.original}),header:"Actions",meta:{disableRowClick:!0}})),{columns:a}},$=e=>{let{monitorId:t,systemId:s,onSystemName:r}=e,l=(0,a.useRouter)(),[m,y]=(0,i.useState)(s),[j,b]=(0,i.useState)({}),[w,S]=(0,i.useState)(!1),[I,T]=(0,i.useState)(!1),[A,{isLoading:D}]=(0,f.EY)(),[P,{isLoading:z}]=(0,f.nS)(),[E,{isLoading:q}]=(0,f.rs)(),[L,{isLoading:M}]=(0,f.sX)(),[Z,{isLoading:O}]=(0,f.Vr)(),U=D||z||q||M,V=U||s===o.Kl,{PAGE_SIZES:B,pageSize:$,setPageSize:F,onPreviousPageClick:H,isPreviousPageDisabled:X,onNextPageClick:G,isNextPageDisabled:J,startRange:K,endRange:Q,pageIndex:Y,setTotalPages:ee,resetPageIndexToDefault:et}=(0,x.oi)(),[es,en]=(0,i.useState)(""),{successAlert:ea,errorAlert:ei}=(0,p.V)();(0,i.useEffect)(()=>{et()},[t,es,et]);let{filterTabs:er,filterTabIndex:eo,onTabChange:el,activeParams:ed}=R({systemId:s}),{data:ec,isLoading:eu,isFetching:em}=(0,f.WJ)({key:t,page:Y,size:$,search:es,...ed});(0,i.useEffect)(()=>{if(ec){var e;let t=(null===(e=ec.items[0])||void 0===e?void 0:e.system)||m||s||"";ee(ec.pages||1),y(t),null==r||r(t)}},[ec,s,r,ee,m]);let{columns:eh}=W({readonly:ed.diff_status.includes(_.LL.MONITORED)}),eg=(0,d.b7)({getCoreRowModel:(0,c.sC)(),columns:eh,manualPagination:!0,data:(null==ec?void 0:ec.items)||[],columnResizeMode:"onChange",onRowSelectionChange:b,state:{rowSelection:j}}),ev=eg.getSelectedRowModel().rows.map(e=>e.original.urn),ep=async()=>{let e=await A({urnList:ev});(0,v.D4)(e)?ei((0,v.e$)(e.error)):(eg.resetRowSelection(),ea("".concat(ev.length," assets from ").concat(m," have been added to the system inventory."),"Confirmed"))},ex=async e=>{if("string"==typeof(null==e?void 0:e.value)){let s=await L({monitorId:t,urnList:ev,systemKey:e.value});(0,v.D4)(s)?ei((0,v.e$)(s.error)):(eg.resetRowSelection(),ea("".concat(ev.length," assets have been assigned to ").concat(e.label,"."),"Confirmed"))}S(!1)},ef=async e=>{let s=null==ec?void 0:ec.items.filter(e=>ev.includes(e.urn));if(!s)return;let n=s.map(t=>{let s=h()([...t.user_assigned_data_uses||t.data_uses||[],...e]);return{urn:t.urn,user_assigned_data_uses:s}}),a=await Z({monitorId:t,assets:n});(0,v.D4)(a)?ei((0,v.e$)(a.error)):(eg.resetRowSelection(),ea("Consent categories added to ".concat(ev.length," assets").concat(m?" from ".concat(m):"","."),"Confirmed")),T(!1)},ey=async()=>{let e=await P({urnList:ev});(0,v.D4)(e)?ei((0,v.e$)(e.error)):(eg.resetRowSelection(),ea("".concat(ev.length," assets from ").concat(m," have been ignored and will not appear in future scans."),"Confirmed"))},ej=async()=>{let e=(null==ec?void 0:ec.items.length)||0,n=await E({monitor_config_key:t,resolved_system_ids:[s]});(0,v.D4)(n)?ei((0,v.e$)(n.error)):(l.push("".concat(o.vi,"/").concat(t)),ea("".concat(e," assets from ").concat(m," have been added to the system inventory."),"Confirmed"))};return t&&s?eu?(0,n.jsx)(x.I4,{rowHeight:36,numRows:36}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(g.Z,{data:er,"data-testid":"system-tabs",index:eo,isLazy:!0,isManual:!0,onChange:el}),(0,n.jsxs)(x.Q$,{children:[(0,n.jsx)(k.M,{value:es,onChange:en}),(0,n.jsxs)(u.kCb,{alignItems:"center",children:[!!ev.length&&(0,n.jsx)(u.xvT,{fontSize:"xs",fontWeight:"semibold",minW:16,mr:6,"data-testid":"selected-count",children:"".concat(ev.length," selected")}),(0,n.jsxs)(u.Ugi,{children:[(0,n.jsxs)(u.v2r,{children:[(0,n.jsx)(u.j2t,{as:u.wpx,icon:(0,n.jsx)(u.PJP._ME,{}),iconPosition:"end",loading:U,"data-testid":"bulk-actions-menu",disabled:!ev.length||U,type:"primary",children:"Actions"}),(0,n.jsxs)(u.qyq,{children:[(0,n.jsx)(u.sNh,{fontSize:"small",onClick:ep,"data-testid":"bulk-add",children:"Add"}),(0,n.jsx)(u.sNh,{fontSize:"small",onClick:()=>T(!0),"data-testid":"bulk-add-data-use",children:"Add consent category"}),(0,n.jsx)(u.sNh,{fontSize:"small",onClick:()=>{S(!0)},"data-testid":"bulk-assign-system",children:"Assign system"}),(0,n.jsx)(u.RaW,{}),(0,n.jsx)(u.sNh,{fontSize:"small",onClick:ey,"data-testid":"bulk-ignore",children:"Ignore"})]})]}),(0,n.jsx)(u.esZ,{title:V?"These assets require a system before you can add them to the inventory.":void 0,children:(0,n.jsx)(u.wpx,{onClick:ej,disabled:V,loading:q,type:"primary",icon:(0,n.jsx)(u.PJP.MCw,{}),iconPosition:"end","data-testid":"add-all",children:"Add all"})})]})]})]}),(0,n.jsx)(x.ZK,{tableInstance:eg,emptyTableNotice:(0,n.jsx)(u.oj8,{image:u.oj8.PRESENTED_IMAGE_SIMPLE,description:"All caught up!"})}),(0,n.jsx)(x.s8,{totalRows:(null==ec?void 0:ec.total)||0,pageSizes:B,setPageSize:F,onPreviousPageClick:H,isPreviousPageDisabled:X||em,onNextPageClick:G,isNextPageDisabled:J||em,startRange:K,endRange:Q}),(0,n.jsx)(N,{isOpen:w,onClose:()=>{S(!1)},onSave:ex,isSaving:M}),(0,n.jsx)(C,{isOpen:I,onClose:()=>{T(!1)},onSave:ef,isSaving:O})]}):null};var F=()=>{let e=(0,a.useRouter)(),t=decodeURIComponent(e.query.monitorId),s=decodeURIComponent(e.query.systemId),[d,c]=(0,i.useState)(s===o.Kl?"Uncategorized assets":s);return(0,n.jsxs)(r.Z,{title:"Action center - Discovered assets",children:[(0,n.jsx)(l.Z,{heading:"Action center",breadcrumbItems:[{title:"All activity",href:o.vi},{title:t,href:"".concat(o.vi,"/").concat(t)},{title:s===o.Kl?"Uncategorized assets":d}]}),(0,n.jsx)($,{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,[8033,6060,2858,2866,9278,4481,7453,2888,9774,179],function(){return e(e.s=25654)}),_N_E=e.O()}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2423],{95372:function(e){e.exports=function(e,t,s,n){for(var i=e.length,r=s+(n?1:-1);n?r--:++r<i;)if(t(e[r],r,e))return r;return -1}},56632:function(e,t,s){var n=s(89278),i=s(80068),r=s(50098);e.exports=function(e){return function(t,s,o){var a=Object(t);if(!i(t)){var l=n(s,3);t=r(t),s=function(e){return l(a[e],e,a)}}var d=e(t,s,o);return d>-1?a[l?t[d]:d]:void 0}}},64925:function(e,t,s){var n=s(56632)(s(66259));e.exports=n},66259:function(e,t,s){var n=s(95372),i=s(89278),r=s(47991),o=Math.max;e.exports=function(e,t,s){var a=null==e?0:e.length;if(!a)return -1;var l=null==s?0:r(s);return l<0&&(l=o(a+l,0)),n(e,i(t,3),l)}},94919:function(e,t,s){var n=s(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,s){var n=s(94919);e.exports=function(e){var t=n(e),s=t%1;return t==t?s?t-s:t:0}},86850:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-discovery/action-center/[monitorId]",function(){return s(56856)}])},34929:function(e,t,s){"use strict";var n=s(24246),i=s(64925),r=s.n(i),o=s(27378),a=s(16134),l=s(30002),d=s(28079),c=s(57072);let u=()=>{let{isLoading:e}=(0,d.fd)(),t=(0,a.C)(d.U3),{isLoading:s}=(0,c.MO)(),n=(0,a.C)(c.qb),{isLoading:i}=(0,l.te)();return{dataUses:t,dataSubjects:(0,a.C)(l.ZL),dataCategories:n,isLoading:e||s||i}};t.Z=()=>{let{dataUses:e,dataCategories:t,dataSubjects:s,isLoading:i}=u(),a=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 s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=t(e);if(!n)return{};let i=t(a(e,s)),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}},d=function(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{name:i,primaryName:r}=l(e,t,s);return i?r?(0,n.jsxs)(o.Fragment,{children:[(0,n.jsxs)("strong",{children:[r,":"]})," ",i]},e):(0,n.jsx)("strong",{children:i},e):e},c=t=>r()(e,{fides_key:t}),g=e=>r()(t,{fides_key:e}),m=e=>r()(s,{fides_key:e});return{getDataUses:()=>e,getDataUseByKey:c,getDataUseDisplayName:e=>d(e,c,1),getDataUseDisplayNameProps:e=>l(e,c,1),getDataCategories:()=>t,getDataCategoryByKey:g,getDataCategoryDisplayName:e=>d(e,g,2),getDataCategoryDisplayNameProps:e=>l(e,g,2),getDataSubjects:()=>s,getDataSubjectByKey:m,getDataSubjectDisplayName:e=>{let t=m(e);return t?t.name:e},getPrimaryKey:a,isLoading:i}}},37059:function(e,t,s){"use strict";s.d(t,{Ak:function(){return m},EY:function(){return c},Ud:function(){return r},Vr:function(){return v},WJ:function(){return a},nP:function(){return d},nS:function(){return u},rs:function(){return l},sX:function(){return g},wi:function(){return o}});var n=s(78780),i=s(16394);let{useGetAggregateMonitorResultsQuery:r,useGetDiscoveredSystemAggregateQuery:o,useGetDiscoveredAssetsQuery:a,useAddMonitorResultSystemsMutation:l,useIgnoreMonitorResultSystemsMutation:d,useAddMonitorResultAssetsMutation:c,useIgnoreMonitorResultAssetsMutation:u,useUpdateAssetsSystemMutation:g,useUpdateAssetsDataUseMutation:m,useUpdateAssetsMutation:v}=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:i}=e;return{url:"/plus/discovery-monitor/system-aggregate-results",params:{monitor_config_id:t,page:s,size:n,search:i,diff_status:"addition"}}},providesTags:["Discovery Monitor Results"]}),getDiscoveredAssets:e.query({query:e=>{let{key:t,system:s,page:n=1,size:i=20,search:r,diff_status:o}=e;return{url:"/plus/discovery-monitor/".concat(t,"/results"),params:{resolved_system_id:s,page:n,size:i,search:r,diff_status:o,sort_by:"urn"}}},providesTags:()=>["Discovery Monitor Results"]}),addMonitorResultSystems:e.mutation({query:e=>{let{monitor_config_key:t,resolved_system_ids:s}=e,n=(0,i.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,i.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"]}),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"]})})})},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)},56856:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return R}});var n=s(24246),i=s(86677),r=s(35287),o=s(77830),a=s(58754),l=s(59003),d=s(92222),c=s(77181),u=s(27378),g=s(812),m=s(14047),v=s(14481),y=s(37059),h=s(31883),f=s(57454),p=s(34929),_=s(72625),x=s(78238),j=e=>{var t,s;let{system:i}=e,{getDataUseDisplayName:r}=(0,p.Z)(),o=(null!==(s=null===(t=i.data_uses)||void 0===t?void 0:t.filter(e=>(0,x.Z)(e)))&&void 0!==s?s:[]).map(e=>({label:r(e),key:e}));return(0,n.jsx)(_.mb,{values:o})};let b=e=>{let{monitorId:t,system:s}=e,[i,{isLoading:r}]=(0,y.rs)(),[a,{isLoading:l}]=(0,y.nP)(),{successAlert:d,errorAlert:u}=(0,m.V)(),v=r||l,{id:h,name:f,system_key:p,total_updates:_}=s,x=async()=>{let e=await i({monitor_config_key:t,resolved_system_ids:[h]});(0,g.D4)(e)?u((0,g.e$)(e.error)):d(p?"".concat(_," assets from ").concat(f," have been added to the system inventory."):"".concat(f," and ").concat(_," assets have been added to the system inventory. ").concat(f," is now configured for consent."),"Confirmed")},j=async()=>{let e=await a({monitor_config_key:t,resolved_system_ids:[h||o.Kl]});(0,g.D4)(e)?u((0,g.e$)(e.error)):d(f?"".concat(_," assets from ").concat(f," have been ignored and will not appear in future scans."):"".concat(_," uncategorized assets have been ignored and will not appear in future scans."),"Confirmed")};return(0,n.jsxs)(c.vyj,{children:[(0,n.jsx)(c.esZ,{title:s.id?void 0:"These assets must be categorized before you can add them to the inventory.",children:(0,n.jsx)(c.wpx,{"data-testid":"add-btn",size:"small",onClick:x,disabled:!s.id||v,loading:r,children:"Add"})}),(0,n.jsx)(c.wpx,{"data-testid":"ignore-btn",size:"small",onClick:j,disabled:v,loading:l,children:"Ignore"})]})};var w=s(56839);let k=e=>{let{system:t}=e;return(0,n.jsxs)(c.kCb,{alignItems:"center",height:"100%",children:[!(null==t?void 0:t.system_key)&&(0,n.jsx)(c.ua7,{label:"New system",children:(0,n.jsx)("span",{children:w.QL.Change})}),(0,n.jsx)(c.xvT,{fontSize:"xs",fontWeight:"semibold",lineHeight:4,overflow:"hidden",textOverflow:"ellipsis",children:(null==t?void 0:t.name)||"Uncategorized assets"})]})},C=e=>{let t=(0,d.Cl)();return{columns:[t.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:{disableRowClick:!0}}),t.accessor(e=>e.name,{id:"system_name",cell:e=>(0,n.jsx)(k,{system:e.row.original}),header:"System",size:300}),t.accessor(e=>e.total_updates,{id:"total_updates",cell:e=>(0,n.jsx)(v.G3,{value:e.getValue()}),header:"Assets",size:80}),t.display({id:"data_use",cell:e=>(0,n.jsx)(j,{system:e.row.original}),header:"Categories of consent",size:400,meta:{disableRowClick:!0}}),t.accessor(e=>e.locations,{id:"locations",cell:e=>(0,n.jsx)(v.G3,{value:e.getValue().length>1?"".concat(e.getValue().length," locations"):e.getValue()[0]}),header:"Locations"}),t.accessor(e=>e.domains,{id:"domains",cell:e=>(0,n.jsx)(v.G3,{value:e.getValue().length>1?"".concat(e.getValue().length," domains"):e.getValue()[0]}),header:"Domains"}),t.display({id:"actions",cell:t=>(0,n.jsx)(b,{system:t.row.original,monitorId:e}),header:"Actions",meta:{disableRowClick:!0}})]}},D=e=>{let{monitorId:t}=e,s=(0,i.useRouter)(),{PAGE_SIZES:r,pageSize:a,setPageSize:p,onPreviousPageClick:_,isPreviousPageDisabled:x,onNextPageClick:j,isNextPageDisabled:b,startRange:w,endRange:k,pageIndex:D,setTotalPages:R,resetPageIndexToDefault:S}=(0,v.oi)(),[P,{isLoading:T}]=(0,y.rs)(),[A,{isLoading:M}]=(0,y.nP)(),{successAlert:I,errorAlert:z}=(0,m.V)(),[L,N]=(0,u.useState)(""),[q,E]=(0,u.useState)({});(0,u.useEffect)(()=>{S()},[t,L,S]);let{data:U,isLoading:V,isFetching:Z}=(0,y.wi)({key:t,page:D,size:a,search:L});(0,u.useEffect)(()=>{U&&R(U.pages||1)},[U,R]);let{columns:O}=C(t),H=(0,l.b7)({getCoreRowModel:(0,d.sC)(),columns:O,manualPagination:!0,data:(null==U?void 0:U.items)||[],columnResizeMode:"onChange",onRowSelectionChange:E,state:{rowSelection:q}}),K=H.getSelectedRowModel().rows,$=K.some(e=>null===e.original.id);if(V)return(0,n.jsx)(v.I4,{rowHeight:36,numRows:36});let G=async()=>{let e=K.reduce((e,t)=>e+t.original.total_updates,0),s=await P({monitor_config_key:t,resolved_system_ids:K.map(e=>e.original.id)});(0,h.D4)(s)?z((0,g.e$)(s.error)):(I("".concat(e," assets have been added to the system inventory.")),E({}))},W=async()=>{let e=K.reduce((e,t)=>e+t.original.total_updates,0),s=await A({monitor_config_key:t,resolved_system_ids:K.map(e=>{var t;return null!==(t=e.original.id)&&void 0!==t?t:o.Kl})});(0,h.D4)(s)?z((0,g.e$)(s.error)):(I("".concat(e," assets have been ignored and will not appear in future scans.")),E({}))};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v.Q$,{children:(0,n.jsxs)(c.kCb,{direction:"row",alignItems:"center",justifyContent:"space-between",width:"full",children:[(0,n.jsx)(c.kCb,{gap:6,align:"center",children:(0,n.jsx)(c.xuv,{flexShrink:0,children:(0,n.jsx)(f.M,{value:L,onChange:N})})}),(0,n.jsxs)(c.kCb,{align:"center",children:[!!K.length&&(0,n.jsx)(c.xvT,{fontSize:"xs",fontWeight:"semibold",minW:16,mr:6,"data-testid":"selected-count",children:"".concat(K.length," selected")}),(0,n.jsxs)(c.v2r,{children:[(0,n.jsx)(c.j2t,{as:c.wpx,icon:(0,n.jsx)(c.PJP._ME,{}),iconPosition:"end",loading:T||M,"data-testid":"bulk-actions-menu",disabled:!K.length,type:"primary",children:"Actions"}),(0,n.jsxs)(c.qyq,{children:[(0,n.jsx)(c.esZ,{title:$?"Uncategorized assets can't be added to the inventory":null,placement:"left",children:(0,n.jsx)(c.sNh,{fontSize:"small",onClick:G,"data-testid":"bulk-add",isDisabled:$,children:"Add"})}),(0,n.jsx)(c.sNh,{fontSize:"small",onClick:W,"data-testid":"bulk-ignore",children:"Ignore"})]})]})]})]})}),(0,n.jsx)(v.ZK,{tableInstance:H,onRowClick:e=>{var n;s.push("".concat(o.vi,"/").concat(t,"/").concat(null!==(n=e.id)&&void 0!==n?n:o.Kl))},emptyTableNotice:(0,n.jsx)(c.oj8,{image:c.oj8.PRESENTED_IMAGE_SIMPLE,description:"All caught up!"})}),(0,n.jsx)(v.s8,{totalRows:(null==U?void 0:U.total)||0,pageSizes:r,setPageSize:p,onPreviousPageClick:_,isPreviousPageDisabled:x||Z,onNextPageClick:j,isNextPageDisabled:b||Z,startRange:w,endRange:k})]})};var R=()=>{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)(a.Z,{heading:"Action center",breadcrumbItems:[{title:"All activity",href:o.vi},{title:e}]}),(0,n.jsx)(D,{monitorId:e})]})}},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,[8033,6060,2858,2866,9278,4481,9999,2888,9774,179],function(){return e(e.s=86850)}),_N_E=e.O()}]);
|
@@ -1 +1 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8443],{74833:function(t,e,n){var i=n(56127),r=/^\s+/;t.exports=function(t){return t?t.slice(0,i(t)+1).replace(r,""):t}},56127:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},66726:function(t,e,n){var i=n(11611),r=n(82846),s=n(91936),o=Math.max,a=Math.min;t.exports=function(t,e,n){var u,c,l,d,p,f,g=0,m=!1,v=!1,y=!0;if("function"!=typeof t)throw TypeError("Expected a function");function h(e){var n=u,i=c;return u=c=void 0,g=e,d=t.apply(i,n)}function x(t){var n=t-f,i=t-g;return void 0===f||n>=e||n<0||v&&i>=l}function j(){var t,n,i,s=r();if(x(s))return _(s);p=setTimeout(j,(t=s-f,n=s-g,i=e-t,v?a(i,l-n):i))}function _(t){return(p=void 0,y&&u)?h(t):(u=c=void 0,d)}function b(){var t,n=r(),i=x(n);if(u=arguments,c=this,f=n,i){if(void 0===p)return g=t=f,p=setTimeout(j,e),m?h(t):d;if(v)return clearTimeout(p),p=setTimeout(j,e),h(f)}return void 0===p&&(p=setTimeout(j,e)),d}return e=s(e)||0,i(n)&&(m=!!n.leading,l=(v="maxWait"in n)?o(s(n.maxWait)||0,e):l,y="trailing"in n?!!n.trailing:y),b.cancel=function(){void 0!==p&&clearTimeout(p),g=0,u=f=c=p=void 0},b.flush=function(){return void 0===p?d:_(r())},b}},11611:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},55193:function(t,e,n){var i=n(99736),r=n(92360);t.exports=function(t){return"symbol"==typeof t||r(t)&&"[object Symbol]"==i(t)}},82846:function(t,e,n){var i=n(77400);t.exports=function(){return i.Date.now()}},91936:function(t,e,n){var i=n(74833),r=n(11611),s=n(55193),o=0/0,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(s(t))return o;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=i(t);var n=u.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):a.test(t)?o:+t}},40741:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-discovery/action-center",function(){return n(51500)}])},77213:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=n(24246),r=n(77181),s=n(88038),o=n.n(s),a=n(86677);n(27378);var u=n(25980),c=n(90867),l=n(77830),d=()=>{let t=(0,a.useRouter)();return(0,i.jsx)(r.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,i.jsxs)(r.xuv,{children:[(0,i.jsxs)(r.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,i.jsx)(r.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,i.jsx)(r.wpx,{onClick:()=>{t.push(l.fz)},children:"Configure"})]}),(0,i.jsxs)(r.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},p=t=>{let{children:e,title:n,padded:s=!0,mainProps:l}=t,p=(0,u.hz)(),f=(0,a.useRouter)(),g="/privacy-requests"===f.pathname||"/datastore-connection"===f.pathname,m=!(p.flags.privacyRequestsConfiguration&&g),{data:v}=(0,c.JE)(void 0,{skip:m}),{data:y}=(0,c.PW)(void 0,{skip:m}),h=p.flags.privacyRequestsConfiguration&&(!v||!y)&&g;return(0,i.jsxs)(r.kCb,{"data-testid":n,direction:"column",h:"100vh",children:[(0,i.jsxs)(o(),{children:[(0,i.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,i.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,i.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,i.jsxs)(r.kCb,{as:"main",direction:"column",py:s?6:0,px:s?10:0,h:s?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...l,children:[h?(0,i.jsx)(d,{}):null,e]})]})}},58754:function(t,e,n){"use strict";var i=n(24246),r=n(77181),s=n(70788);e.Z=t=>{let{heading:e,breadcrumbItems:n,isSticky:o=!0,children:a,rightContent:u,style:c,...l}=t;return(0,i.jsxs)("div",{...l,style:o?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,i.jsxs)(r.jqI,{justify:"space-between",children:["string"==typeof e?(0,i.jsx)(r.X6q,{className:n||a?"pb-4":void 0,fontSize:"2xl","data-testid":"page-heading",children:e}):e,u&&(0,i.jsx)("div",{"data-testid":"page-header-right-content",children:u})]}),!!n&&(0,i.jsx)(s.m,{className:a?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),a]})}},70788:function(t,e,n){"use strict";n.d(e,{m:function(){return c}});var i=n(24246),r=n(77181),s=n(79894),o=n.n(s),a=n(27378);let{Text:u}=r.AntTypography,c=t=>{let{items:e,...n}=t,s=(0,a.useMemo)(()=>null==e?void 0:e.map((t,n)=>{let s=n===e.length-1,a={...t},c=a.onClick&&!a.href;return("string"==typeof a.title&&(a.title=(0,i.jsx)(u,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,children:a.title})),c)?a.title=(0,i.jsx)(r.wpx,{type:"text",size:"small",icon:a.icon,onClick:a.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:a.title}):(a.icon&&(a.title=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"anticon align-text-bottom",children:a.icon}),a.title]})),a.href&&a.title&&(a.title=(0,i.jsx)(o(),{href:a.href,className:"ant-breadcrumb-link",children:a.title}),delete a.href)),a}),[e]);return(0,i.jsx)(r.zrq,{items:s,...n})}},7426:function(t,e,n){"use strict";n.d(e,{D2:function(){return p},L:function(){return a},U7:function(){return c},Yh:function(){return g},ak:function(){return u},km:function(){return o},tB:function(){return s}});var i=n(3228);let r=n(78780).u.injectEndpoints({endpoints:t=>({getConfigurationSettings:t.query({query:t=>{let{api_set:e}=t;return{url:"/config",method:"GET",params:{api_set:e}}},providesTags:["Configuration Settings"]}),putConfigurationSettings:t.mutation({query:t=>({url:"/config",method:"PUT",body:t}),invalidatesTags:["Configuration Settings"]}),patchConfigurationSettings:t.mutation({query:t=>({url:"/config",method:"PATCH",body:t}),invalidatesTags:["Configuration Settings","Privacy Notices"]})})}),{useGetConfigurationSettingsQuery:s,usePutConfigurationSettingsMutation:o,usePatchConfigurationSettingsMutation:a}=r,u=(0,i.P1)([t=>t,r.endpoints.getConfigurationSettings.select({api_set:!0}),r.endpoints.getConfigurationSettings.select({api_set:!1})],(t,e,n)=>{var i,r,s;let{data:o}=e,{data:a}=n;return{configSet:{cors_origins:(null==a?void 0:null===(i=a.security)||void 0===i?void 0:i.cors_origins)||[],cors_origin_regex:null==a?void 0:null===(r=a.security)||void 0===r?void 0:r.cors_origin_regex},apiSet:{cors_origins:(null==o?void 0:null===(s=o.security)||void 0===s?void 0:s.cors_origins)||[]}}}),c=()=>(0,i.P1)([t=>t,r.endpoints.getConfigurationSettings.select({api_set:!0})],(t,e)=>{let{data:n}=e;return n}),l={enabled:!1,cmp_api_required:!1},d=(t,e,n,i)=>{let r=n&&n[t],s=i&&i[t];return r&&s?{...i[t],...n[t]}:s?i[t]:r?{...n[t]}:e},p=(0,i.P1)([t=>t,r.endpoints.getConfigurationSettings.select({api_set:!0}),r.endpoints.getConfigurationSettings.select({api_set:!1})],(t,e,n)=>{let{data:i}=e,{data:r}=n;return d("gpp",l,i,r)}),f={tcf_publisher_country_code:null},g=(0,i.P1)([t=>t,r.endpoints.getConfigurationSettings.select({api_set:!0}),r.endpoints.getConfigurationSettings.select({api_set:!1})],(t,e,n)=>{let{data:i}=e,{data:r}=n;return d("plus_consent_settings",f,i,r)})},57454:function(t,e,n){"use strict";n.d(e,{M:function(){return u}});var i=n(24246),r=n(66726),s=n.n(r),o=n(27378),a=n(86780);let u=t=>{let{value:e,onChange:n}=t,[r,u]=(0,o.useState)(e),c=s()(n,500),l=(0,o.useCallback)(t=>{u(t),c(t)},[]);return(0,i.jsx)(a.Z,{search:r,onChange:l,onClear:()=>{u(""),n("")}})}},37059:function(t,e,n){"use strict";n.d(e,{Ak:function(){return f},EY:function(){return l},Ud:function(){return s},Vr:function(){return g},WJ:function(){return a},nP:function(){return c},nS:function(){return d},rs:function(){return u},sX:function(){return p},wi:function(){return o}});var i=n(78780),r=n(16394);let{useGetAggregateMonitorResultsQuery:s,useGetDiscoveredSystemAggregateQuery:o,useGetDiscoveredAssetsQuery:a,useAddMonitorResultSystemsMutation:u,useIgnoreMonitorResultSystemsMutation:c,useAddMonitorResultAssetsMutation:l,useIgnoreMonitorResultAssetsMutation:d,useUpdateAssetsSystemMutation:p,useUpdateAssetsDataUseMutation:f,useUpdateAssetsMutation:g}=i.u.injectEndpoints({endpoints:t=>({getAggregateMonitorResults:t.query({query:t=>{let{page:e=1,size:n=20,search:i}=t;return{url:"/plus/discovery-monitor/aggregate-results",params:{page:e,size:n,search:i,diff_status:"addition"}}},providesTags:["Discovery Monitor Results"]}),getDiscoveredSystemAggregate:t.query({query:t=>{let{key:e,page:n=1,size:i=20,search:r}=t;return{url:"/plus/discovery-monitor/system-aggregate-results",params:{monitor_config_id:e,page:n,size:i,search:r,diff_status:"addition"}}},providesTags:["Discovery Monitor Results"]}),getDiscoveredAssets:t.query({query:t=>{let{key:e,system:n,page:i=1,size:r=20,search:s}=t;return{url:"/plus/discovery-monitor/".concat(e,"/results"),params:{resolved_system_id:n,page:i,size:r,search:s,diff_status:"addition",sort_by:"urn"}}},providesTags:()=>["Discovery Monitor Results"]}),addMonitorResultSystems:t.mutation({query:t=>{let{monitor_config_key:e,resolved_system_ids:n}=t,i=(0,r.du)(n,"resolved_system_ids");return{method:"POST",url:"/plus/discovery-monitor/".concat(e,"/promote?").concat(i)}},invalidatesTags:["Discovery Monitor Results"]}),ignoreMonitorResultSystems:t.mutation({query:t=>{let{monitor_config_key:e,resolved_system_ids:n}=t,i=(0,r.du)(n,"resolved_system_ids");return{method:"POST",url:"/plus/discovery-monitor/".concat(e,"/mute?").concat(i)}},invalidatesTags:["Discovery Monitor Results"]}),addMonitorResultAssets:t.mutation({query:t=>{var e;let n=new URLSearchParams;return null===(e=t.urnList)||void 0===e||e.forEach(t=>n.append("staged_resource_urns",t)),{method:"POST",url:"/plus/discovery-monitor/promote?".concat(n)}},invalidatesTags:["Discovery Monitor Results"]}),ignoreMonitorResultAssets:t.mutation({query:t=>{var e;let n=new URLSearchParams;return null===(e=t.urnList)||void 0===e||e.forEach(t=>n.append("staged_resource_urns",t)),{method:"POST",url:"/plus/discovery-monitor/mute?".concat(n)}},invalidatesTags:["Discovery Monitor Results"]}),updateAssetsSystem:t.mutation({query:t=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(t.monitorId,"/results"),body:t.urnList.map(e=>({urn:e,system_key:t.systemKey}))}),invalidatesTags:["Discovery Monitor Results","System Assets"]}),updateAssetsDataUse:t.mutation({query:t=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(t.monitorId,"/results"),body:t.urnList.map(e=>({urn:e,data_uses:t.dataUses}))}),invalidatesTags:["Discovery Monitor Results"]}),updateAssets:t.mutation({query:t=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(t.monitorId,"/results"),body:t.assets}),invalidatesTags:["Discovery Monitor Results"]})})})},51500:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return _}});var i=n(24246),r=n(77181),s=n(79894),o=n.n(s),a=n(27378),u=n(77213),c=n(77830),l=n(58754),d=n(14481),p=n(7426),f=n(37059);let g=t=>{let{isConfigLoading:e}=t;return(0,i.jsx)(u.Z,{title:"Action center",mainProps:{className:"h-full"},children:(0,i.jsx)(r.jqI,{justify:"center",align:"center",className:"h-full",children:e?(0,i.jsx)(r.$jN,{color:"primary.900"}):(0,i.jsx)(r.DUx,{message:"Coming soon...",description:"Action center is currently disabled.",type:"info",showIcon:!0})})})},m=()=>(0,i.jsx)(r.oj8,{image:r.oj8.PRESENTED_IMAGE_SIMPLE,description:"All caught up! Set up an integration monitor to track your infrastructure in greater detail.",children:(0,i.jsx)(o(),{href:c.KH,passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(r.wpx,{type:"primary",children:"Visit integrations"})})});var v=n(7195),y=n(16394);let{Text:h}=r.AntTypography,x=t=>{let{monitorSummary:e,showSkeleton:n,...s}=t,[u,l]=(0,a.useState)(void 0),{name:d,property:p,total_updates:f,updates:g,last_monitored:m,warning:x,key:j}=e,_=Object.entries(g).map(t=>"".concat(t[1]," ").concat(t[0],"s")).join(", "),b=m?(0,v.B)(new Date(m),new Date,{addSuffix:!0}):void 0;return(0,a.useEffect)(()=>{p&&l((0,y.tl)(p))},[p]),(0,i.jsx)(r.krs.Item,{"data-testid":"monitor-result-".concat(j),...s,children:(0,i.jsxs)(r.N_L,{avatar:!0,title:!1,loading:n,active:!0,children:[(0,i.jsx)(r.krs.Item.Meta,{avatar:(0,i.jsx)(r.t3Z,{src:u,size:"small",icon:(0,i.jsx)(r.PJP.huD,{}),style:{backgroundColor:"transparent",color:"var(--ant-color-text)"}}),title:(0,i.jsxs)(o(),{href:"".concat(c.vi,"/").concat(j),className:"whitespace-nowrap",children:["".concat(f," assets detected").concat(p?" on ".concat(p):""),!!x&&(0,i.jsx)(r.esZ,{title:"string"==typeof x?x:void 0,children:(0,i.jsx)(r.PJP.OdJ,{className:"ml-1 inline-block align-middle",style:{color:"var(--fidesui-error)"}})})]}),description:"".concat(_," detected.")}),(0,i.jsxs)(r.jqI,{className:"gap-12",children:[(0,i.jsx)(h,{style:{maxWidth:300},ellipsis:{tooltip:d},children:d}),!!b&&(0,i.jsx)(r.esZ,{title:(0,y.p6)(m),children:(0,i.jsx)(h,{"data-testid":"monitor-date",children:b})})]})]})})};var j=n(57454),_=()=>{var t;let e=(0,r.pmc)(),{PAGE_SIZES:n,pageSize:s,setPageSize:v,onPreviousPageClick:y,isPreviousPageDisabled:h,onNextPageClick:_,isNextPageDisabled:b,startRange:C,endRange:S,pageIndex:T,setTotalPages:P,resetPageIndexToDefault:k}=(0,d.oi)(),[w,q]=(0,a.useState)(""),{data:R,isLoading:A}=(0,p.tB)({api_set:!1}),E=!!(null==R?void 0:null===(t=R.detection_discovery)||void 0===t?void 0:t.website_monitor_enabled);(0,a.useEffect)(()=>{k()},[w,k]);let{data:M,isError:N,isLoading:D,isFetching:I}=(0,f.Ud)({page:T,size:s,search:w},{skip:A||!E});(0,a.useEffect)(()=>{N&&e&&E&&e({title:"Error fetching data",description:"Please try again later",status:"error"})},[N,e,E]),(0,a.useEffect)(()=>{M&&P(M.total||1)},[M,P]);let L=(null==M?void 0:M.items)||[],z=I?Array.from({length:s},(t,e)=>({key:e.toString(),updates:[],last_monitored:null})):[],O=(0,a.useCallback)(t=>[(0,i.jsx)(o(),{href:"".concat(c.vi,"/").concat(t),passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(r.wpx,{type:"link",className:"p-0","data-testid":"review-button-".concat(t),children:"Review"})},"review")],[]);return E?(0,i.jsxs)(u.Z,{title:"Action center",children:[(0,i.jsx)(l.Z,{heading:"Action center",breadcrumbItems:[{title:"All activity"}]}),(0,i.jsx)(r.jqI,{className:"justify-between py-6",children:(0,i.jsx)(j.M,{value:w,onChange:q})}),(0,i.jsx)(r.krs,{loading:D,dataSource:L||z,locale:{emptyText:(0,i.jsx)(m,{})},renderItem:t=>!!t&&(0,i.jsx)(x,{showSkeleton:I,monitorSummary:t,actions:O(t.key)},t.key)}),!!L&&!!(null==M?void 0:M.total)&&M.total>s&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.htM,{className:"mb-6 mt-0"}),(0,i.jsx)(d.s8,{totalRows:(null==M?void 0:M.total)||0,pageSizes:n,setPageSize:v,onPreviousPageClick:y,isPreviousPageDisabled:h||I,onNextPageClick:_,isNextPageDisabled:b||I,startRange:C,endRange:S})]})]}):(0,i.jsx)(g,{isConfigLoading:A})}}},function(t){t.O(0,[8033,6060,4481,2888,9774,179],function(){return t(t.s=40741)}),_N_E=t.O()}]);
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8443],{74833:function(t,e,n){var i=n(56127),r=/^\s+/;t.exports=function(t){return t?t.slice(0,i(t)+1).replace(r,""):t}},56127:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},66726:function(t,e,n){var i=n(11611),r=n(82846),s=n(91936),o=Math.max,a=Math.min;t.exports=function(t,e,n){var u,c,l,d,p,g,f=0,m=!1,v=!1,y=!0;if("function"!=typeof t)throw TypeError("Expected a function");function h(e){var n=u,i=c;return u=c=void 0,f=e,d=t.apply(i,n)}function x(t){var n=t-g,i=t-f;return void 0===g||n>=e||n<0||v&&i>=l}function j(){var t,n,i,s=r();if(x(s))return _(s);p=setTimeout(j,(t=s-g,n=s-f,i=e-t,v?a(i,l-n):i))}function _(t){return(p=void 0,y&&u)?h(t):(u=c=void 0,d)}function b(){var t,n=r(),i=x(n);if(u=arguments,c=this,g=n,i){if(void 0===p)return f=t=g,p=setTimeout(j,e),m?h(t):d;if(v)return clearTimeout(p),p=setTimeout(j,e),h(g)}return void 0===p&&(p=setTimeout(j,e)),d}return e=s(e)||0,i(n)&&(m=!!n.leading,l=(v="maxWait"in n)?o(s(n.maxWait)||0,e):l,y="trailing"in n?!!n.trailing:y),b.cancel=function(){void 0!==p&&clearTimeout(p),f=0,u=g=c=p=void 0},b.flush=function(){return void 0===p?d:_(r())},b}},11611:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},55193:function(t,e,n){var i=n(99736),r=n(92360);t.exports=function(t){return"symbol"==typeof t||r(t)&&"[object Symbol]"==i(t)}},82846:function(t,e,n){var i=n(77400);t.exports=function(){return i.Date.now()}},91936:function(t,e,n){var i=n(74833),r=n(11611),s=n(55193),o=0/0,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(s(t))return o;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=i(t);var n=u.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):a.test(t)?o:+t}},40741:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-discovery/action-center",function(){return n(51500)}])},77213:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=n(24246),r=n(77181),s=n(88038),o=n.n(s),a=n(86677);n(27378);var u=n(25980),c=n(90867),l=n(77830),d=()=>{let t=(0,a.useRouter)();return(0,i.jsx)(r.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,i.jsxs)(r.xuv,{children:[(0,i.jsxs)(r.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,i.jsx)(r.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,i.jsx)(r.wpx,{onClick:()=>{t.push(l.fz)},children:"Configure"})]}),(0,i.jsxs)(r.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},p=t=>{let{children:e,title:n,padded:s=!0,mainProps:l}=t,p=(0,u.hz)(),g=(0,a.useRouter)(),f="/privacy-requests"===g.pathname||"/datastore-connection"===g.pathname,m=!(p.flags.privacyRequestsConfiguration&&f),{data:v}=(0,c.JE)(void 0,{skip:m}),{data:y}=(0,c.PW)(void 0,{skip:m}),h=p.flags.privacyRequestsConfiguration&&(!v||!y)&&f;return(0,i.jsxs)(r.kCb,{"data-testid":n,direction:"column",h:"100vh",children:[(0,i.jsxs)(o(),{children:[(0,i.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,i.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,i.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,i.jsxs)(r.kCb,{as:"main",direction:"column",py:s?6:0,px:s?10:0,h:s?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...l,children:[h?(0,i.jsx)(d,{}):null,e]})]})}},58754:function(t,e,n){"use strict";var i=n(24246),r=n(77181),s=n(70788);e.Z=t=>{let{heading:e,breadcrumbItems:n,isSticky:o=!0,children:a,rightContent:u,style:c,...l}=t;return(0,i.jsxs)("div",{...l,style:o?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,i.jsxs)(r.jqI,{justify:"space-between",children:["string"==typeof e?(0,i.jsx)(r.X6q,{className:n||a?"pb-4":void 0,fontSize:"2xl","data-testid":"page-heading",children:e}):e,u&&(0,i.jsx)("div",{"data-testid":"page-header-right-content",children:u})]}),!!n&&(0,i.jsx)(s.m,{className:a?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),a]})}},70788:function(t,e,n){"use strict";n.d(e,{m:function(){return c}});var i=n(24246),r=n(77181),s=n(79894),o=n.n(s),a=n(27378);let{Text:u}=r.AntTypography,c=t=>{let{items:e,...n}=t,s=(0,a.useMemo)(()=>null==e?void 0:e.map((t,n)=>{let s=n===e.length-1,a={...t},c=a.onClick&&!a.href;return("string"==typeof a.title&&(a.title=(0,i.jsx)(u,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,children:a.title})),c)?a.title=(0,i.jsx)(r.wpx,{type:"text",size:"small",icon:a.icon,onClick:a.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:a.title}):(a.icon&&(a.title=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"anticon align-text-bottom",children:a.icon}),a.title]})),a.href&&a.title&&(a.title=(0,i.jsx)(o(),{href:a.href,className:"ant-breadcrumb-link",children:a.title}),delete a.href)),a}),[e]);return(0,i.jsx)(r.zrq,{items:s,...n})}},7426:function(t,e,n){"use strict";n.d(e,{D2:function(){return p},L:function(){return a},U7:function(){return c},Yh:function(){return f},ak:function(){return u},km:function(){return o},tB:function(){return s}});var i=n(3228);let r=n(78780).u.injectEndpoints({endpoints:t=>({getConfigurationSettings:t.query({query:t=>{let{api_set:e}=t;return{url:"/config",method:"GET",params:{api_set:e}}},providesTags:["Configuration Settings"]}),putConfigurationSettings:t.mutation({query:t=>({url:"/config",method:"PUT",body:t}),invalidatesTags:["Configuration Settings"]}),patchConfigurationSettings:t.mutation({query:t=>({url:"/config",method:"PATCH",body:t}),invalidatesTags:["Configuration Settings","Privacy Notices"]})})}),{useGetConfigurationSettingsQuery:s,usePutConfigurationSettingsMutation:o,usePatchConfigurationSettingsMutation:a}=r,u=(0,i.P1)([t=>t,r.endpoints.getConfigurationSettings.select({api_set:!0}),r.endpoints.getConfigurationSettings.select({api_set:!1})],(t,e,n)=>{var i,r,s;let{data:o}=e,{data:a}=n;return{configSet:{cors_origins:(null==a?void 0:null===(i=a.security)||void 0===i?void 0:i.cors_origins)||[],cors_origin_regex:null==a?void 0:null===(r=a.security)||void 0===r?void 0:r.cors_origin_regex},apiSet:{cors_origins:(null==o?void 0:null===(s=o.security)||void 0===s?void 0:s.cors_origins)||[]}}}),c=()=>(0,i.P1)([t=>t,r.endpoints.getConfigurationSettings.select({api_set:!0})],(t,e)=>{let{data:n}=e;return n}),l={enabled:!1,cmp_api_required:!1},d=(t,e,n,i)=>{let r=n&&n[t],s=i&&i[t];return r&&s?{...i[t],...n[t]}:s?i[t]:r?{...n[t]}:e},p=(0,i.P1)([t=>t,r.endpoints.getConfigurationSettings.select({api_set:!0}),r.endpoints.getConfigurationSettings.select({api_set:!1})],(t,e,n)=>{let{data:i}=e,{data:r}=n;return d("gpp",l,i,r)}),g={tcf_publisher_country_code:null},f=(0,i.P1)([t=>t,r.endpoints.getConfigurationSettings.select({api_set:!0}),r.endpoints.getConfigurationSettings.select({api_set:!1})],(t,e,n)=>{let{data:i}=e,{data:r}=n;return d("plus_consent_settings",g,i,r)})},57454:function(t,e,n){"use strict";n.d(e,{M:function(){return u}});var i=n(24246),r=n(66726),s=n.n(r),o=n(27378),a=n(86780);let u=t=>{let{value:e,onChange:n}=t,[r,u]=(0,o.useState)(e),c=s()(n,500),l=(0,o.useCallback)(t=>{u(t),c(t)},[]);return(0,i.jsx)(a.Z,{search:r,onChange:l,onClear:()=>{u(""),n("")}})}},37059:function(t,e,n){"use strict";n.d(e,{Ak:function(){return g},EY:function(){return l},Ud:function(){return s},Vr:function(){return f},WJ:function(){return a},nP:function(){return c},nS:function(){return d},rs:function(){return u},sX:function(){return p},wi:function(){return o}});var i=n(78780),r=n(16394);let{useGetAggregateMonitorResultsQuery:s,useGetDiscoveredSystemAggregateQuery:o,useGetDiscoveredAssetsQuery:a,useAddMonitorResultSystemsMutation:u,useIgnoreMonitorResultSystemsMutation:c,useAddMonitorResultAssetsMutation:l,useIgnoreMonitorResultAssetsMutation:d,useUpdateAssetsSystemMutation:p,useUpdateAssetsDataUseMutation:g,useUpdateAssetsMutation:f}=i.u.injectEndpoints({endpoints:t=>({getAggregateMonitorResults:t.query({query:t=>{let{page:e=1,size:n=20,search:i}=t;return{url:"/plus/discovery-monitor/aggregate-results",params:{page:e,size:n,search:i,diff_status:"addition"}}},providesTags:["Discovery Monitor Results"]}),getDiscoveredSystemAggregate:t.query({query:t=>{let{key:e,page:n=1,size:i=20,search:r}=t;return{url:"/plus/discovery-monitor/system-aggregate-results",params:{monitor_config_id:e,page:n,size:i,search:r,diff_status:"addition"}}},providesTags:["Discovery Monitor Results"]}),getDiscoveredAssets:t.query({query:t=>{let{key:e,system:n,page:i=1,size:r=20,search:s,diff_status:o}=t;return{url:"/plus/discovery-monitor/".concat(e,"/results"),params:{resolved_system_id:n,page:i,size:r,search:s,diff_status:o,sort_by:"urn"}}},providesTags:()=>["Discovery Monitor Results"]}),addMonitorResultSystems:t.mutation({query:t=>{let{monitor_config_key:e,resolved_system_ids:n}=t,i=(0,r.du)(n,"resolved_system_ids");return{method:"POST",url:"/plus/discovery-monitor/".concat(e,"/promote?").concat(i)}},invalidatesTags:["Discovery Monitor Results"]}),ignoreMonitorResultSystems:t.mutation({query:t=>{let{monitor_config_key:e,resolved_system_ids:n}=t,i=(0,r.du)(n,"resolved_system_ids");return{method:"POST",url:"/plus/discovery-monitor/".concat(e,"/mute?").concat(i)}},invalidatesTags:["Discovery Monitor Results"]}),addMonitorResultAssets:t.mutation({query:t=>{var e;let n=new URLSearchParams;return null===(e=t.urnList)||void 0===e||e.forEach(t=>n.append("staged_resource_urns",t)),{method:"POST",url:"/plus/discovery-monitor/promote?".concat(n)}},invalidatesTags:["Discovery Monitor Results"]}),ignoreMonitorResultAssets:t.mutation({query:t=>{var e;let n=new URLSearchParams;return null===(e=t.urnList)||void 0===e||e.forEach(t=>n.append("staged_resource_urns",t)),{method:"POST",url:"/plus/discovery-monitor/mute?".concat(n)}},invalidatesTags:["Discovery Monitor Results"]}),updateAssetsSystem:t.mutation({query:t=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(t.monitorId,"/results"),body:t.urnList.map(e=>({urn:e,user_assigned_system_key:t.systemKey}))}),invalidatesTags:["Discovery Monitor Results","System Assets"]}),updateAssetsDataUse:t.mutation({query:t=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(t.monitorId,"/results"),body:t.urnList.map(e=>({urn:e,user_assigned_data_uses:t.dataUses}))}),invalidatesTags:["Discovery Monitor Results"]}),updateAssets:t.mutation({query:t=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(t.monitorId,"/results"),body:t.assets}),invalidatesTags:["Discovery Monitor Results"]})})})},51500:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return _}});var i=n(24246),r=n(77181),s=n(79894),o=n.n(s),a=n(27378),u=n(77213),c=n(77830),l=n(58754),d=n(14481),p=n(7426),g=n(37059);let f=t=>{let{isConfigLoading:e}=t;return(0,i.jsx)(u.Z,{title:"Action center",mainProps:{className:"h-full"},children:(0,i.jsx)(r.jqI,{justify:"center",align:"center",className:"h-full",children:e?(0,i.jsx)(r.$jN,{color:"primary.900"}):(0,i.jsx)(r.DUx,{message:"Coming soon...",description:"Action center is currently disabled.",type:"info",showIcon:!0})})})},m=()=>(0,i.jsx)(r.oj8,{image:r.oj8.PRESENTED_IMAGE_SIMPLE,description:"All caught up! Set up an integration monitor to track your infrastructure in greater detail.",children:(0,i.jsx)(o(),{href:c.KH,passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(r.wpx,{type:"primary",children:"Visit integrations"})})});var v=n(7195),y=n(16394);let{Text:h}=r.AntTypography,x=t=>{let{monitorSummary:e,showSkeleton:n,...s}=t,[u,l]=(0,a.useState)(void 0),{name:d,property:p,total_updates:g,updates:f,last_monitored:m,warning:x,key:j}=e,_=Object.entries(f).map(t=>"".concat(t[1]," ").concat(t[0],"s")).join(", "),b=m?(0,v.B)(new Date(m),new Date,{addSuffix:!0}):void 0;return(0,a.useEffect)(()=>{p&&l((0,y.tl)(p))},[p]),(0,i.jsx)(r.krs.Item,{"data-testid":"monitor-result-".concat(j),...s,children:(0,i.jsxs)(r.N_L,{avatar:!0,title:!1,loading:n,active:!0,children:[(0,i.jsx)(r.krs.Item.Meta,{avatar:(0,i.jsx)(r.t3Z,{src:u,size:"small",icon:(0,i.jsx)(r.PJP.huD,{}),style:{backgroundColor:"transparent",color:"var(--ant-color-text)"}}),title:(0,i.jsxs)(o(),{href:"".concat(c.vi,"/").concat(j),className:"whitespace-nowrap",children:["".concat(g," assets detected").concat(p?" on ".concat(p):""),!!x&&(0,i.jsx)(r.esZ,{title:"string"==typeof x?x:void 0,children:(0,i.jsx)(r.PJP.OdJ,{className:"ml-1 inline-block align-middle",style:{color:"var(--fidesui-error)"}})})]}),description:"".concat(_," detected.")}),(0,i.jsxs)(r.jqI,{className:"gap-12",children:[(0,i.jsx)(h,{style:{maxWidth:300},ellipsis:{tooltip:d},children:d}),!!b&&(0,i.jsx)(r.esZ,{title:(0,y.p6)(m),children:(0,i.jsx)(h,{"data-testid":"monitor-date",children:b})})]})]})})};var j=n(57454),_=()=>{var t;let e=(0,r.pmc)(),{PAGE_SIZES:n,pageSize:s,setPageSize:v,onPreviousPageClick:y,isPreviousPageDisabled:h,onNextPageClick:_,isNextPageDisabled:b,startRange:C,endRange:S,pageIndex:T,setTotalPages:P,resetPageIndexToDefault:k}=(0,d.oi)(),[w,q]=(0,a.useState)(""),{data:R,isLoading:A}=(0,p.tB)({api_set:!1}),E=!!(null==R?void 0:null===(t=R.detection_discovery)||void 0===t?void 0:t.website_monitor_enabled);(0,a.useEffect)(()=>{k()},[w,k]);let{data:M,isError:N,isLoading:D,isFetching:I}=(0,g.Ud)({page:T,size:s,search:w},{skip:A||!E});(0,a.useEffect)(()=>{N&&e&&E&&e({title:"Error fetching data",description:"Please try again later",status:"error"})},[N,e,E]),(0,a.useEffect)(()=>{M&&P(M.total||1)},[M,P]);let L=(null==M?void 0:M.items)||[],z=I?Array.from({length:s},(t,e)=>({key:e.toString(),updates:[],last_monitored:null})):[],O=(0,a.useCallback)(t=>[(0,i.jsx)(o(),{href:"".concat(c.vi,"/").concat(t),passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(r.wpx,{type:"link",className:"p-0","data-testid":"review-button-".concat(t),children:"Review"})},"review")],[]);return E?(0,i.jsxs)(u.Z,{title:"Action center",children:[(0,i.jsx)(l.Z,{heading:"Action center",breadcrumbItems:[{title:"All activity"}]}),(0,i.jsx)(r.jqI,{className:"justify-between py-6",children:(0,i.jsx)(j.M,{value:w,onChange:q})}),(0,i.jsx)(r.krs,{loading:D,dataSource:L||z,locale:{emptyText:(0,i.jsx)(m,{})},renderItem:t=>!!t&&(0,i.jsx)(x,{showSkeleton:I,monitorSummary:t,actions:O(t.key)},t.key)}),!!L&&!!(null==M?void 0:M.total)&&M.total>s&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.htM,{className:"mb-6 mt-0"}),(0,i.jsx)(d.s8,{totalRows:(null==M?void 0:M.total)||0,pageSizes:n,setPageSize:v,onPreviousPageClick:y,isPreviousPageDisabled:h||I,onNextPageClick:_,isNextPageDisabled:b||I,startRange:C,endRange:S})]})]}):(0,i.jsx)(f,{isConfigLoading:A})}}},function(t){t.O(0,[8033,6060,4481,2888,9774,179],function(){return t(t.s=40741)}),_N_E=t.O()}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[710],{9387:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/integrations",function(){return e(22406)}])},812:function(n,t,e){"use strict";e.d(t,{D4:function(){return o.D4},MM:function(){return g},Ot:function(){return c},c6:function(){return r},cj:function(){return p},e$:function(){return a},fn:function(){return s},iC:function(){return f},nU:function(){return d},tB:function(){return u}});var i,r,o=e(19043);let l="An unexpected error occurred. Please try again.",a=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;if((0,o.Bw)(n)){if((0,o.hE)(n.data))return n.data.detail;if((0,o.cz)(n.data)){var e;let t=null===(e=n.data.detail)||void 0===e?void 0:e[0];return"".concat(null==t?void 0:t.msg,": ").concat(null==t?void 0:t.loc)}if(409===n.status&&(0,o.Dy)(n.data)||404===n.status&&(0,o.XD)(n.data))return"".concat(n.data.detail.error," (").concat(n.data.detail.fides_key,")")}return t};function s(n){return"object"==typeof n&&null!=n&&"status"in n}function c(n){return"object"==typeof n&&null!=n&&"data"in n&&"string"==typeof n.data.detail}function u(n){return"object"==typeof n&&null!=n&&"data"in n&&Array.isArray(n.data.detail)}let d=function(n){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{status:500,message:l};if((0,o.oK)(n))return{status:n.originalStatus,message:n.data};if((0,o.Bw)(n)){let{status:e}=n;return{status:e,message:a(n,t.message)}}return t},g=n=>Object.entries(n).map(n=>({value:n[1],label:n[1]}));(i=r||(r={})).GVL="gvl",i.AC="gacp",i.COMPASS="compass";let f={gvl:{label:"GVL",fullName:"Global Vendor List"},gacp:{label:"AC",fullName:"Google Additional Consent List"},compass:{label:"",fullName:""}},p=n=>{let t=n.split(".")[0];return"gacp"===t?"gacp":"gvl"===t?"gvl":"compass"}},22406:function(n,t,e){"use strict";e.r(t),e.d(t,{default:function(){return T}});var i,r,o,l,a=e(24246),s=e(77181),c=e(27378),u=e(7617),d=e(18225),g=e(77213),f=e(58754),p=e(14207),x=e(8133),m=e(15987),h=e(75595),j=n=>{let{integrationType:t,onConfigure:e,onCancel:i}=n;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.Z,{integration:null==t?void 0:t.placeholder,onConfigureClick:e}),null==t?void 0:t.overview,(0,a.jsxs)(s.kCb,{children:[(0,a.jsx)(s.LZC,{}),(0,a.jsx)(s.wpx,{onClick:i,children:"Cancel"})]})]})},v=e(7621);(i=o||(o={})).ALL="All",i.DATABASE="Database",i.DATA_CATALOG="Data Catalog",i.DATA_WAREHOUSE="Data Warehouse",i.WEBSITE="Website";var C=n=>{var t;let e=Object.values(o),[i,r]=(0,c.useState)(0),l=e[i],[a,s]=(0,c.useState)(!1),u="All"!==l,d=null!==(t=null==n?void 0:n.filter(n=>!u||n.category===l))&&void 0!==t?t:[];return{tabs:e,tabIndex:i,anyFiltersApplied:u,isFiltering:a,onChangeFilter:n=>{s(!0),r(n),setTimeout(()=>s(!1),100)},filteredTypes:d}},y=n=>{let{onCancel:t,onDetailClick:e,onConfigureClick:i}=n,{tabIndex:r,onChangeFilter:o,isFiltering:l,filteredTypes:c,tabs:g}=C(v.FO);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.mQc,{index:r,onChange:o,mb:4,children:(0,a.jsx)(s.tdY,{children:g.map(n=>(0,a.jsx)(u.q,{label:n},n))})}),l?(0,a.jsx)(d.Z,{}):(0,a.jsx)(s.kCb,{direction:"column",children:c.map(n=>(0,a.jsx)(h.Z,{integration:n.placeholder,onConfigureClick:()=>i(n),otherButtons:(0,a.jsx)(s.wpx,{onClick:()=>e(n),children:"Details"})},n.placeholder.key))}),(0,a.jsxs)(s.kCb,{children:[(0,a.jsx)(s.LZC,{}),(0,a.jsx)(s.wpx,{onClick:t,children:"Cancel"})]})]})},b=e(64176);(r=l||(l={})).LIST_VIEW="list-view",r.DETAIL="detail",r.FORM="form";var A=n=>{let{isOpen:t,onClose:e}=n,[i,r]=(0,c.useState)("list-view"),[o,l]=(0,c.useState)(),s=(0,b.Z)(null==o?void 0:o.placeholder.connection_type),u=()=>{r("list-view"),l(void 0),e()},d=o?"".concat(o.placeholder.name," Integration"):"Add integration";return(0,a.jsxs)(x.Z,{size:"2xl",isOpen:t,onClose:u,title:d,children:["list-view"===i&&(0,a.jsx)(y,{onCancel:u,onDetailClick:n=>{r("detail"),l(n)},onConfigureClick:n=>{r("form"),l(n)}}),"detail"===i&&(0,a.jsx)(j,{integrationType:o,onConfigure:()=>r("form"),onCancel:u}),"form"===i&&(0,a.jsx)(m.Z,{connectionOption:s,onCancel:u})]})},_=e(86677),k=e(77830),w=n=>{let{isFiltered:t,onOpenAddModal:e}=n;return(0,a.jsxs)(s.kCb,{direction:"column",alignItems:"center","data-testid":"empty-state",children:[(0,a.jsx)(s.xvT,{color:"gray.700",fontWeight:"semibold",fontSize:"md",children:"No integrations"}),(0,a.jsx)(s.xvT,{color:"gray.700",fontSize:"sm",marginTop:"8px",children:t?"No integrations match your filters":"You have not configured any integrations"}),(0,a.jsx)(s.xvT,{color:"gray.700",fontSize:"sm",children:'Click "Add integration" to connect and configure systems now.'}),(0,a.jsx)(s.wpx,{type:"primary",onClick:e,className:"mt-4",children:"Add integration"})]})},L=n=>{let{integrations:t,isFiltered:e,onOpenAddModal:i}=n,r=(0,_.useRouter)();return(0,a.jsx)(s.xuv,{marginTop:"24px",children:t.length?t.map(n=>(0,a.jsx)(h.Z,{integration:n,showTestNotice:!0,configureButtonLabel:"Manage",onConfigureClick:()=>r.push("".concat(k.KH,"/").concat(n.key))},n.key)):(0,a.jsx)(w,{onOpenAddModal:i,isFiltered:e})})},T=()=>{var n,t;let{data:e,isLoading:i}=(0,p.AZ)({connection_type:v.jq}),{onOpen:r,isOpen:o,onClose:l}=(0,s.qY0)(),{tabIndex:c,onChangeFilter:x,anyFiltersApplied:m,isFiltering:h,filteredTypes:j,tabs:y}=C(null==e?void 0:null===(n=e.items)||void 0===n?void 0:n.map(n=>(0,v.ZP)(n.connection_type))),b=null!==(t=null==e?void 0:e.items.filter(n=>j.some(t=>t.placeholder.connection_type===n.connection_type)))&&void 0!==t?t:[];return(0,a.jsxs)(g.Z,{title:"Integrations",children:[(0,a.jsx)(f.Z,{heading:"Integrations",breadcrumbItems:[{title:"All integrations"}]}),(0,a.jsxs)(s.xuv,{"data-testid":"integration-tabs",display:"flex",children:[(0,a.jsx)(s.mQc,{index:c,onChange:x,w:"full",children:(0,a.jsx)(s.tdY,{children:y.map(n=>(0,a.jsx)(u.q,{label:n},n))})}),(0,a.jsx)(s.xuv,{borderBottom:"2px solid",borderColor:"gray.200",height:"fit-content",pr:"2",pb:"2",children:(0,a.jsx)(s.wpx,{onClick:r,"data-testid":"add-integration-btn",icon:(0,a.jsx)(s.xPt,{}),iconPosition:"end",children:"Add Integration"})})]}),i||h?(0,a.jsx)(d.Z,{}):(0,a.jsx)(L,{integrations:b,onOpenAddModal:r,isFiltered:m}),(0,a.jsx)(A,{isOpen:o,onClose:l})]})}},19043:function(n,t,e){"use strict";e.d(t,{Bw:function(){return l},D4:function(){return r},Dy:function(){return s},XD:function(){return c},cz:function(){return u},hE:function(){return a},oK:function(){return o}});var i=e(76649);let r=n=>"error"in n,o=n=>(0,i.Ln)({status:"string"},n)&&"PARSING_ERROR"===n.status,l=n=>(0,i.Ln)({status:"number",data:{}},n),a=n=>(0,i.Ln)({detail:"string"},n),s=n=>(0,i.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},n),c=n=>(0,i.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},n),u=n=>(0,i.Ln)({detail:[{loc:["string","number"],msg:"string",type:"string"}]},n)}},function(n){n.O(0,[2858,2866,9278,6834,5973,2888,9774,179],function(){return n(n.s=9387)}),_N_E=n.O()}]);
|
@@ -1 +1 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3691],{8828:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/systems/configure/[id]",function(){return i(51226)}])},66379:function(e,t,i){"use strict";var n=i(24246),s=i(77181),r=i(7617);t.Z=e=>{let{data:t,border:i="partial",borderWidth:a=2,...l}=e;return(0,n.jsx)(s.mQc,{colorScheme:"complimentary",...l,children:(0,n.jsx)(s.tdY,{width:"partial"===i?"max-content":void 0,borderBottomWidth:a,children:t.map(e=>(0,n.jsx)(r.q,{label:e.label,"data-testid":e.label,isDisabled:e.isDisabled,fontSize:l.fontSize},e.label))})})}},18225:function(e,t,i){"use strict";var n=i(24246),s=i(77181);t.Z=e=>{let{...t}=e;return(0,n.jsx)(s.kCb,{boxSize:"full",align:"center",justify:"center",children:(0,n.jsx)(s.$jN,{color:"primary",...t})})}},51226:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return _}});var n=i(24246),s=i(77181),r=i(86677),a=i(27378),l=i(16134),d=e=>{let{data:t,...i}=e;return(0,n.jsx)(s.mQc,{colorScheme:"complimentary",...i,children:(0,n.jsx)(s.nPR,{children:t.map(e=>(0,n.jsx)(s.x45,{px:0,"data-testid":"tab-panel-".concat(e.label),children:e.content},e.label))})})},c=i(66379),o=i(25980),u=i(18225),h=i(812),x=i(14048),m=i(77213),f=i(77830),j=i(58754),y=i(32885),b=i(1315),p=i(57865),g=i(72774),v=i(
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3691],{8828:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/systems/configure/[id]",function(){return i(51226)}])},66379:function(e,t,i){"use strict";var n=i(24246),s=i(77181),r=i(7617);t.Z=e=>{let{data:t,border:i="partial",borderWidth:a=2,...l}=e;return(0,n.jsx)(s.mQc,{colorScheme:"complimentary",...l,children:(0,n.jsx)(s.tdY,{width:"partial"===i?"max-content":void 0,borderBottomWidth:a,children:t.map(e=>(0,n.jsx)(r.q,{label:e.label,"data-testid":e.label,isDisabled:e.isDisabled,fontSize:l.fontSize},e.label))})})}},18225:function(e,t,i){"use strict";var n=i(24246),s=i(77181);t.Z=e=>{let{...t}=e;return(0,n.jsx)(s.kCb,{boxSize:"full",align:"center",justify:"center",children:(0,n.jsx)(s.$jN,{color:"primary",...t})})}},51226:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return _}});var n=i(24246),s=i(77181),r=i(86677),a=i(27378),l=i(16134),d=e=>{let{data:t,...i}=e;return(0,n.jsx)(s.mQc,{colorScheme:"complimentary",...i,children:(0,n.jsx)(s.nPR,{children:t.map(e=>(0,n.jsx)(s.x45,{px:0,"data-testid":"tab-panel-".concat(e.label),children:e.content},e.label))})})},c=i(66379),o=i(25980),u=i(18225),h=i(812),x=i(14048),m=i(77213),f=i(77830),j=i(58754),y=i(32885),b=i(1315),p=i(57865),g=i(72774),v=i(84450),_=()=>{let e=(0,r.useRouter)(),t=(0,l.T)(),i="";e.query.id&&(i=Array.isArray(e.query.id)?e.query.id[0]:e.query.id);let{data:_,isLoading:w}=(0,b.rn)(i,{skip:!i}),{error:C,isLoading:S}=(0,y.Rd)(),{tcf:Z}=(0,o.hz)(),{flags:k}=(0,o.Vb)(),z=k.dataDiscoveryAndDetection,N=(0,l.C)(p.gU);(0,a.useEffect)(()=>{if(t((0,b.db)(_)),_){let e=Z&&!!_.vendor_id&&(0,h.cj)(_.vendor_id)===h.c6.GVL;t((0,p.gQ)(e))}else(0,p.gQ)(!1)},[_,t,Z]);let{tabData:E,tabIndex:q,onTabChange:A}=(0,v.Z)({isCreate:!1});return(w||S)&&!C?(0,n.jsx)(m.Z,{title:"Systems",children:(0,n.jsx)(u.Z,{})}):(0,n.jsxs)(m.Z,{title:"System inventory",mainProps:{w:"calc(100vw - 240px)"},children:[(0,n.jsx)(j.Z,{heading:"System inventory",breadcrumbItems:[{title:"All systems",href:f.So},{title:(null==_?void 0:_.name)||""}],children:(0,n.jsxs)(s.xuv,{position:"relative",children:[(0,n.jsx)(c.Z,{data:E,"data-testid":"system-tabs",index:q,isLazy:!0,isManual:!0,onChange:A,width:"full",border:"full-width"}),z&&(0,n.jsxs)(s.wpx,{size:"small",className:"absolute right-2 top-2","data-testid":"integration-page-btn",onClick:()=>e.push(f.KH),children:[(0,n.jsx)(s.xvT,{children:"Integrations"}),(0,n.jsx)(x.A5,{marginLeft:2})]})]})}),N?(0,n.jsx)(g.Z,{}):null,_||w||S?(0,n.jsx)(s.gCW,{alignItems:"stretch",children:(0,n.jsx)(d,{data:E,index:q,isLazy:!0,isManual:!0,onChange:A})}):(0,n.jsxs)(s.xvT,{"data-testid":"system-not-found",children:["Could not find a system with id ",i]})]})}}},function(e){e.O(0,[8033,6060,2858,2866,9278,5277,4481,7980,355,8499,7453,4450,2888,9774,179],function(){return e(e.s=8828)}),_N_E=e.O()}]);
|
@@ -1 +1 @@
|
|
1
|
-
self.__BUILD_MANIFEST=function(s,e,t,a,c,n,i,d,o,r,u,g,p,f,j,b,k,h,m,y,l,v,I,U,_,w,q,x,N,B,F,z,A,D,E,L,M,S,T,C,P,G,H,J,K,O,Q){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[w,"static/chunks/pages/index-bfaacdb55a5a6c9f.js"],"/404":["static/chunks/pages/404-b202c0d8f6fc75c3.js"],"/_error":["static/chunks/pages/_error-bede3a8288930dcf.js"],"/add-systems":[w,"static/chunks/pages/add-systems-d258f0c25fa020bf.js"],"/add-systems/manual":[s,e,a,c,n,b,t,o,g,k,m,q,i,"static/chunks/pages/add-systems/manual-c2705210ce986109.js"],"/add-systems/multiple":[s,e,t,g,y,x,"static/chunks/pages/add-systems/multiple-ba975134a85588f8.js"],"/ant-poc":["static/chunks/pages/ant-poc-b9932971a479f3a7.js"],"/consent":["static/chunks/pages/consent-39d65f13cc8f1cf8.js"],"/consent/configure":[s,e,t,g,y,"static/chunks/pages/consent/configure-723cc3d4f5740ea6.js"],"/consent/configure/add-vendors":[s,e,t,g,y,x,"static/chunks/pages/consent/configure/add-vendors-b34e5324461d0c87.js"],"/consent/privacy-experience":[s,e,b,t,N,"static/chunks/pages/consent/privacy-experience-c946b33b0322b8ad.js"],"/consent/privacy-experience/new":[a,c,p,B,d,h,F,"static/chunks/pages/consent/privacy-experience/new-be194737b41ccec9.js"],"/consent/privacy-experience/[id]":[a,c,p,B,d,h,F,"static/chunks/pages/consent/privacy-experience/[id]-cf51752eb0902233.js"],"/consent/privacy-notices":[s,e,t,N,"static/chunks/pages/consent/privacy-notices-ea57f9d6ad17e957.js"],"/consent/privacy-notices/new":[a,c,p,z,d,h,A,"static/chunks/pages/consent/privacy-notices/new-9611dd42856d6062.js"],"/consent/privacy-notices/[id]":[a,c,p,z,d,h,A,"static/chunks/pages/consent/privacy-notices/[id]-72251b48e2e03a1e.js"],"/consent/properties":[s,e,t,D,"static/chunks/pages/consent/properties-e5748812ba055a56.js"],"/consent/reporting":[s,e,a,t,"static/chunks/pages/consent/reporting-9d2c1f0c9f270d07.js"],"/data-catalog":[s,e,a,c,n,t,"static/css/95ac327e5d70148d.css","static/chunks/pages/data-catalog-900004e402c31797.js"],"/data-catalog/[systemId]/projects":[s,e,a,c,n,t,f,l,i,"static/chunks/pages/data-catalog/[systemId]/projects-c44ce244122e96d5.js"],"/data-catalog/[systemId]/projects/[projectUrn]":[s,e,t,E,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-a29850536c85d4b8.js"],"/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]":[s,e,a,c,n,t,f,l,L,i,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-ac033a16f043e6f9.js"],"/data-catalog/[systemId]/resources":[s,e,t,E,"static/chunks/pages/data-catalog/[systemId]/resources-305555b74c357bf2.js"],"/data-catalog/[systemId]/resources/[resourceUrn]":[s,e,a,c,n,t,f,l,L,i,"static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-71e26d262afcaea5.js"],"/data-discovery/action-center":[s,e,t,"static/chunks/pages/data-discovery/action-center-02439d3aeecfb4b9.js"],"/data-discovery/action-center/[monitorId]":[s,e,a,c,n,t,r,"static/chunks/pages/data-discovery/action-center/[monitorId]-7c74373a4d666a3d.js"],"/data-discovery/action-center/[monitorId]/[systemId]":[s,e,a,c,n,t,m,i,"static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-5182d356672a3b02.js"],"/data-discovery/activity":[s,e,t,r,v,"static/chunks/pages/data-discovery/activity-11b3ce9f61d9bfe9.js"],"/data-discovery/detection":[s,e,t,r,v,M,"static/chunks/pages/data-discovery/detection-b75dd3e4306ac18e.js"],"/data-discovery/detection/[resourceUrn]":[s,e,t,r,v,M,"static/chunks/pages/data-discovery/detection/[resourceUrn]-054ca46a782e99a5.js"],"/data-discovery/discovery":[s,e,a,c,n,t,r,f,S,i,"static/chunks/pages/data-discovery/discovery-cad50b0cc6d1050c.js"],"/data-discovery/discovery/[resourceUrn]":[s,e,a,c,n,t,r,f,S,i,"static/chunks/pages/data-discovery/discovery/[resourceUrn]-1da20aeb6fc995e4.js"],"/datamap":[s,e,"static/chunks/255-7db55b0e3a0f9dea.js",t,o,k,T,"static/chunks/pages/datamap-8cb714cdd44ac40e.js"],"/dataset":[s,e,u,t,j,"static/chunks/pages/dataset-fa743ddc7f89d76b.js"],"/dataset/new":[u,j,"static/chunks/pages/dataset/new-803c1b577ab17ae3.js"],"/dataset/[datasetId]":[s,e,"static/chunks/9729-fcf6ff4e3534e4a8.js",t,I,"static/chunks/pages/dataset/[datasetId]-6ba18f92ba561114.js"],"/dataset/[datasetId]/[collectionName]":[s,e,a,c,n,U,t,I,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]-7e5df4a0de7540bb.js"],"/dataset/[datasetId]/[collectionName]/[...subfieldNames]":[s,e,a,c,n,U,t,I,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-d79551d4c64c398c.js"],"/datastore-connection":["static/css/5f393dea1c0d031c.css","static/chunks/pages/datastore-connection-a78a73b65929853a.js"],"/datastore-connection/new":[u,b,j,C,"static/chunks/pages/datastore-connection/new-abc17fef69cd951b.js"],"/datastore-connection/[id]":[u,j,C,"static/chunks/pages/datastore-connection/[id]-bbe1ca2793798e6b.js"],"/fides-js-docs":["static/chunks/2fbcc6de-a6c61724c327e9fa.js","static/chunks/e3251fe7-5777b5d778e6fffa.js",a,c,n,u,U,P,"static/css/ab65b8cc3144bfc8.css","static/chunks/905-8ab919e7b274ed50.js","static/chunks/pages/fides-js-docs-80b241bf6cddb72e.js"],"/integrations":[a,c,n,"static/chunks/6834-dcda0a8ed484775e.js",G,"static/chunks/pages/integrations-adb6aced3bdb4899.js"],"/integrations/[id]":[s,e,a,c,n,"static/chunks/9255-336a890ada321f89.js",t,G,"static/chunks/pages/integrations/[id]-d4329043219fed9b.js"],"/login":["static/chunks/pages/login-0cb0eb44bf2dd24c.js"],"/login/[provider]":["static/chunks/pages/login/[provider]-c58beef131c3a82d.js"],"/messaging":[s,e,a,c,n,t,"static/chunks/pages/messaging-1e60754abec1ee6b.js"],"/messaging/add-template":[d,H,"static/chunks/pages/messaging/add-template-f9693cb6a0b7ded8.js"],"/messaging/[id]":[d,H,"static/chunks/pages/messaging/[id]-ad02e019b2467958.js"],"/privacy-requests":[s,e,t,J,"static/chunks/pages/privacy-requests-d85c0d16ba09ba35.js"],"/privacy-requests/configure":["static/chunks/pages/privacy-requests/configure-2987edc77388e85a.js"],"/privacy-requests/configure/messaging":["static/chunks/pages/privacy-requests/configure/messaging-f5f7a8069909ef24.js"],"/privacy-requests/configure/storage":["static/chunks/pages/privacy-requests/configure/storage-9f7eaad05e5b9292.js"],"/privacy-requests/[id]":[J,"static/css/15fb7d4837a1de34.css","static/chunks/pages/privacy-requests/[id]-fe765154315782cf.js"],"/properties":[s,e,t,D,"static/chunks/pages/properties-20ca2f963906674b.js"],"/properties/add-property":[d,K,"static/chunks/pages/properties/add-property-630a6a3dd6502ba6.js"],"/properties/[id]":[d,K,"static/chunks/pages/properties/[id]-94e2faa73dd6a3e6.js"],"/reporting/datamap":[s,e,a,c,n,P,t,o,k,T,"static/chunks/pages/reporting/datamap-afedc48ef4e7f858.js"],"/settings/about":["static/chunks/pages/settings/about-a49d0f84cf0cf05e.js"],"/settings/consent":["static/chunks/pages/settings/consent-89524101b7279f6e.js"],"/settings/custom-fields":[s,e,t,o,"static/chunks/pages/settings/custom-fields-52d030b1db2ca1b9.js"],"/settings/domain-records":[s,e,t,"static/chunks/pages/settings/domain-records-fa42d8f18df44927.js"],"/settings/domains":["static/chunks/pages/settings/domains-24cba38685dc872c.js"],"/settings/email-templates":["static/chunks/pages/settings/email-templates-6fd6071e2009b8f2.js"],"/settings/locations":[s,O,"static/chunks/pages/settings/locations-66c757325cb58467.js"],"/settings/organization":["static/chunks/pages/settings/organization-a08693d0d1e10bc8.js"],"/settings/regulations":[s,O,"static/chunks/pages/settings/regulations-c6c239996cfa6ae8.js"],"/systems":[s,e,t,"static/chunks/pages/systems-abd68fc5ddde5482.js"],"/systems/configure/[id]":[s,e,a,c,n,b,t,o,g,k,m,q,i,"static/chunks/pages/systems/configure/[id]-d3ea9034461511cd.js"],"/systems/configure/[id]/test-datasets":[u,j,"static/chunks/pages/systems/configure/[id]/test-datasets-151571cff4e85894.js"],"/taxonomy":["static/chunks/678d4732-50255cc09048e643.js",a,c,n,p,"static/chunks/570-c99f07161bd339cd.js",o,"static/css/34a7eb08b86ddb57.css","static/chunks/pages/taxonomy-16b4d75c49276add.js"],"/user-management":[_,"static/chunks/pages/user-management-6c9ad62479a7d03e.js"],"/user-management/new":[_,Q,"static/chunks/pages/user-management/new-be690621a944bfe2.js"],"/user-management/profile/[id]":[_,Q,"static/chunks/pages/user-management/profile/[id]-78eaf933f755bfe8.js"],sortedPages:["/","/404","/_app","/_error","/add-systems","/add-systems/manual","/add-systems/multiple","/ant-poc","/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]","/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/consent","/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/c78d26b1-88a3e1bacb2a03c2.js","static/chunks/6060-cb1ab5be7067bf7b.js","static/chunks/4481-aab99ff80f707473.js","static/chunks/2858-0b44609b6be7850b.js","static/chunks/2866-a73888c17a195cbe.js","static/chunks/9278-9b1b5970f0702668.js","static/css/d2d4e9a6923e6730.css","static/chunks/9282-2bfbdca45e84e810.js","static/chunks/7980-4bd08957448dea32.js","static/chunks/9999-637e0e5341f15f4a.js","static/chunks/6527-0eed08abe252a918.js","static/chunks/355-8a77c9a1cd027f2e.js","static/chunks/4294-5b3aa9d605217915.js","static/chunks/6372-ca9c12ac8902365b.js","static/chunks/9327-2cba327d10586683.js","static/chunks/5277-e8a036319456127f.js","static/chunks/8499-43606100edf42fdf.js","static/chunks/1376-5cea5ef9362215e8.js","static/chunks/7434-e6fc02c2dd852991.js","static/chunks/4723-0a3c5e2ce143a7d0.js","static/chunks/7751-a8f31c062d4cb09d.js","static/chunks/6315-fa1519cdf080f42d.js","static/chunks/5487-3ad50d21cdbc9209.js","static/chunks/8702-d1c8296f9f6afc10.js","static/chunks/5480-f49696df5e8ae500.js","static/css/972dc7eef106ee7c.css","static/chunks/605-e692e9cfea2e2cb8.js","static/chunks/5826-e5dcb4e68cfe6289.js","static/chunks/6853-8941824350c3c1a8.js","static/chunks/9014-eeae6f581158e645.js","static/chunks/3320-5dd62a256ecfc9c3.js","static/chunks/3615-5e2d062d684b8fa1.js","static/chunks/6954-3b887fb444f9228c.js","static/chunks/79-f9b948ebb186900f.js","static/chunks/3872-4e053c20d546f027.js","static/chunks/3855-b6b7865dedd7bc2a.js","static/chunks/2397-ee53235fb21b5e97.js","static/chunks/9046-04bd7becea207cb1.js","static/chunks/5258-0658dc2274df6832.js","static/chunks/9767-1a23925d2cb27b51.js","static/chunks/9187-851756440f79cd75.js","static/chunks/5973-52aee296edc44f7e.js","static/chunks/1100-053fc6b76c65a00f.js","static/chunks/8433-b3008ecaf9834e7f.js","static/chunks/4060-8d165e1236ea521a.js","static/chunks/3086-b5054ec2c75700b9.js","static/chunks/1150-035a721a04f4451e.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
1
|
+
self.__BUILD_MANIFEST=function(s,e,t,a,c,n,i,d,o,r,u,g,p,f,j,b,k,h,m,y,l,v,I,U,_,w,q,x,N,B,F,z,A,D,E,L,M,S,T,C,P,G,H,J,K,O,Q){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[w,"static/chunks/pages/index-bfaacdb55a5a6c9f.js"],"/404":["static/chunks/pages/404-b202c0d8f6fc75c3.js"],"/_error":["static/chunks/pages/_error-bede3a8288930dcf.js"],"/add-systems":[w,"static/chunks/pages/add-systems-d258f0c25fa020bf.js"],"/add-systems/manual":[s,e,a,c,n,b,t,o,g,k,m,q,i,"static/chunks/pages/add-systems/manual-9acaab973dfe86e2.js"],"/add-systems/multiple":[s,e,t,g,y,x,"static/chunks/pages/add-systems/multiple-ba975134a85588f8.js"],"/ant-poc":["static/chunks/pages/ant-poc-b9932971a479f3a7.js"],"/consent":["static/chunks/pages/consent-39d65f13cc8f1cf8.js"],"/consent/configure":[s,e,t,g,y,"static/chunks/pages/consent/configure-723cc3d4f5740ea6.js"],"/consent/configure/add-vendors":[s,e,t,g,y,x,"static/chunks/pages/consent/configure/add-vendors-b34e5324461d0c87.js"],"/consent/privacy-experience":[s,e,b,t,N,"static/chunks/pages/consent/privacy-experience-c946b33b0322b8ad.js"],"/consent/privacy-experience/new":[a,c,p,B,d,h,F,"static/chunks/pages/consent/privacy-experience/new-be194737b41ccec9.js"],"/consent/privacy-experience/[id]":[a,c,p,B,d,h,F,"static/chunks/pages/consent/privacy-experience/[id]-cf51752eb0902233.js"],"/consent/privacy-notices":[s,e,t,N,"static/chunks/pages/consent/privacy-notices-ea57f9d6ad17e957.js"],"/consent/privacy-notices/new":[a,c,p,z,d,h,A,"static/chunks/pages/consent/privacy-notices/new-9611dd42856d6062.js"],"/consent/privacy-notices/[id]":[a,c,p,z,d,h,A,"static/chunks/pages/consent/privacy-notices/[id]-72251b48e2e03a1e.js"],"/consent/properties":[s,e,t,D,"static/chunks/pages/consent/properties-e5748812ba055a56.js"],"/consent/reporting":[s,e,a,t,"static/chunks/pages/consent/reporting-788cf0e34829af46.js"],"/data-catalog":[s,e,a,c,n,t,"static/css/95ac327e5d70148d.css","static/chunks/pages/data-catalog-900004e402c31797.js"],"/data-catalog/[systemId]/projects":[s,e,a,c,n,t,f,l,i,"static/chunks/pages/data-catalog/[systemId]/projects-c44ce244122e96d5.js"],"/data-catalog/[systemId]/projects/[projectUrn]":[s,e,t,E,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-a29850536c85d4b8.js"],"/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]":[s,e,a,c,n,t,f,l,L,i,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-ac033a16f043e6f9.js"],"/data-catalog/[systemId]/resources":[s,e,t,E,"static/chunks/pages/data-catalog/[systemId]/resources-305555b74c357bf2.js"],"/data-catalog/[systemId]/resources/[resourceUrn]":[s,e,a,c,n,t,f,l,L,i,"static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-71e26d262afcaea5.js"],"/data-discovery/action-center":[s,e,t,"static/chunks/pages/data-discovery/action-center-d001337d1bb73bd1.js"],"/data-discovery/action-center/[monitorId]":[s,e,a,c,n,t,r,"static/chunks/pages/data-discovery/action-center/[monitorId]-5f9ef1f99818117c.js"],"/data-discovery/action-center/[monitorId]/[systemId]":[s,e,a,c,n,t,m,i,"static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-1a6cff1794122ace.js"],"/data-discovery/activity":[s,e,t,r,v,"static/chunks/pages/data-discovery/activity-11b3ce9f61d9bfe9.js"],"/data-discovery/detection":[s,e,t,r,v,M,"static/chunks/pages/data-discovery/detection-b75dd3e4306ac18e.js"],"/data-discovery/detection/[resourceUrn]":[s,e,t,r,v,M,"static/chunks/pages/data-discovery/detection/[resourceUrn]-054ca46a782e99a5.js"],"/data-discovery/discovery":[s,e,a,c,n,t,r,f,S,i,"static/chunks/pages/data-discovery/discovery-cad50b0cc6d1050c.js"],"/data-discovery/discovery/[resourceUrn]":[s,e,a,c,n,t,r,f,S,i,"static/chunks/pages/data-discovery/discovery/[resourceUrn]-1da20aeb6fc995e4.js"],"/datamap":[s,e,"static/chunks/255-7db55b0e3a0f9dea.js",t,o,k,T,"static/chunks/pages/datamap-8cb714cdd44ac40e.js"],"/dataset":[s,e,u,t,j,"static/chunks/pages/dataset-fa743ddc7f89d76b.js"],"/dataset/new":[u,j,"static/chunks/pages/dataset/new-803c1b577ab17ae3.js"],"/dataset/[datasetId]":[s,e,"static/chunks/9729-fcf6ff4e3534e4a8.js",t,I,"static/chunks/pages/dataset/[datasetId]-6ba18f92ba561114.js"],"/dataset/[datasetId]/[collectionName]":[s,e,a,c,n,U,t,I,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]-7e5df4a0de7540bb.js"],"/dataset/[datasetId]/[collectionName]/[...subfieldNames]":[s,e,a,c,n,U,t,I,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-d79551d4c64c398c.js"],"/datastore-connection":["static/css/5f393dea1c0d031c.css","static/chunks/pages/datastore-connection-a78a73b65929853a.js"],"/datastore-connection/new":[u,b,j,C,"static/chunks/pages/datastore-connection/new-abc17fef69cd951b.js"],"/datastore-connection/[id]":[u,j,C,"static/chunks/pages/datastore-connection/[id]-bbe1ca2793798e6b.js"],"/fides-js-docs":["static/chunks/2fbcc6de-a6c61724c327e9fa.js","static/chunks/e3251fe7-5777b5d778e6fffa.js",a,c,n,u,U,P,"static/css/ab65b8cc3144bfc8.css","static/chunks/905-8ab919e7b274ed50.js","static/chunks/pages/fides-js-docs-80b241bf6cddb72e.js"],"/integrations":[a,c,n,"static/chunks/6834-dcda0a8ed484775e.js",G,"static/chunks/pages/integrations-ef8000d7388dc915.js"],"/integrations/[id]":[s,e,a,c,n,"static/chunks/9255-336a890ada321f89.js",t,G,"static/chunks/pages/integrations/[id]-d4329043219fed9b.js"],"/login":["static/chunks/pages/login-0cb0eb44bf2dd24c.js"],"/login/[provider]":["static/chunks/pages/login/[provider]-c58beef131c3a82d.js"],"/messaging":[s,e,a,c,n,t,"static/chunks/pages/messaging-1e60754abec1ee6b.js"],"/messaging/add-template":[d,H,"static/chunks/pages/messaging/add-template-f9693cb6a0b7ded8.js"],"/messaging/[id]":[d,H,"static/chunks/pages/messaging/[id]-ad02e019b2467958.js"],"/privacy-requests":[s,e,t,J,"static/chunks/pages/privacy-requests-d85c0d16ba09ba35.js"],"/privacy-requests/configure":["static/chunks/pages/privacy-requests/configure-2987edc77388e85a.js"],"/privacy-requests/configure/messaging":["static/chunks/pages/privacy-requests/configure/messaging-f5f7a8069909ef24.js"],"/privacy-requests/configure/storage":["static/chunks/pages/privacy-requests/configure/storage-9f7eaad05e5b9292.js"],"/privacy-requests/[id]":[J,"static/css/15fb7d4837a1de34.css","static/chunks/pages/privacy-requests/[id]-fe765154315782cf.js"],"/properties":[s,e,t,D,"static/chunks/pages/properties-20ca2f963906674b.js"],"/properties/add-property":[d,K,"static/chunks/pages/properties/add-property-630a6a3dd6502ba6.js"],"/properties/[id]":[d,K,"static/chunks/pages/properties/[id]-94e2faa73dd6a3e6.js"],"/reporting/datamap":[s,e,a,c,n,P,t,o,k,T,"static/chunks/pages/reporting/datamap-afedc48ef4e7f858.js"],"/settings/about":["static/chunks/pages/settings/about-a49d0f84cf0cf05e.js"],"/settings/consent":["static/chunks/pages/settings/consent-89524101b7279f6e.js"],"/settings/custom-fields":[s,e,t,o,"static/chunks/pages/settings/custom-fields-52d030b1db2ca1b9.js"],"/settings/domain-records":[s,e,t,"static/chunks/pages/settings/domain-records-fa42d8f18df44927.js"],"/settings/domains":["static/chunks/pages/settings/domains-24cba38685dc872c.js"],"/settings/email-templates":["static/chunks/pages/settings/email-templates-6fd6071e2009b8f2.js"],"/settings/locations":[s,O,"static/chunks/pages/settings/locations-66c757325cb58467.js"],"/settings/organization":["static/chunks/pages/settings/organization-a08693d0d1e10bc8.js"],"/settings/regulations":[s,O,"static/chunks/pages/settings/regulations-c6c239996cfa6ae8.js"],"/systems":[s,e,t,"static/chunks/pages/systems-abd68fc5ddde5482.js"],"/systems/configure/[id]":[s,e,a,c,n,b,t,o,g,k,m,q,i,"static/chunks/pages/systems/configure/[id]-4f5a28226575c976.js"],"/systems/configure/[id]/test-datasets":[u,j,"static/chunks/pages/systems/configure/[id]/test-datasets-151571cff4e85894.js"],"/taxonomy":["static/chunks/678d4732-50255cc09048e643.js",a,c,n,p,"static/chunks/570-c99f07161bd339cd.js",o,"static/css/34a7eb08b86ddb57.css","static/chunks/pages/taxonomy-16b4d75c49276add.js"],"/user-management":[_,"static/chunks/pages/user-management-6c9ad62479a7d03e.js"],"/user-management/new":[_,Q,"static/chunks/pages/user-management/new-be690621a944bfe2.js"],"/user-management/profile/[id]":[_,Q,"static/chunks/pages/user-management/profile/[id]-78eaf933f755bfe8.js"],sortedPages:["/","/404","/_app","/_error","/add-systems","/add-systems/manual","/add-systems/multiple","/ant-poc","/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]","/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/consent","/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/c78d26b1-88a3e1bacb2a03c2.js","static/chunks/6060-cb1ab5be7067bf7b.js","static/chunks/4481-aab99ff80f707473.js","static/chunks/2858-0b44609b6be7850b.js","static/chunks/2866-a73888c17a195cbe.js","static/chunks/9278-9b1b5970f0702668.js","static/css/d2d4e9a6923e6730.css","static/chunks/9282-2bfbdca45e84e810.js","static/chunks/7980-4bd08957448dea32.js","static/chunks/9999-637e0e5341f15f4a.js","static/chunks/6527-0eed08abe252a918.js","static/chunks/355-8a77c9a1cd027f2e.js","static/chunks/4294-5b3aa9d605217915.js","static/chunks/6372-ca9c12ac8902365b.js","static/chunks/9327-2cba327d10586683.js","static/chunks/5277-e8a036319456127f.js","static/chunks/8499-43606100edf42fdf.js","static/chunks/1376-5cea5ef9362215e8.js","static/chunks/7453-39761c38da31257e.js","static/chunks/4723-0a3c5e2ce143a7d0.js","static/chunks/7751-a8f31c062d4cb09d.js","static/chunks/6315-fa1519cdf080f42d.js","static/chunks/5487-3ad50d21cdbc9209.js","static/chunks/8702-d1c8296f9f6afc10.js","static/chunks/5480-f49696df5e8ae500.js","static/css/972dc7eef106ee7c.css","static/chunks/4450-36234280bee624ff.js","static/chunks/5826-e5dcb4e68cfe6289.js","static/chunks/6853-8941824350c3c1a8.js","static/chunks/9014-eeae6f581158e645.js","static/chunks/3320-5dd62a256ecfc9c3.js","static/chunks/3615-5e2d062d684b8fa1.js","static/chunks/6954-3b887fb444f9228c.js","static/chunks/79-f9b948ebb186900f.js","static/chunks/3872-4e053c20d546f027.js","static/chunks/3855-b6b7865dedd7bc2a.js","static/chunks/2397-ee53235fb21b5e97.js","static/chunks/9046-04bd7becea207cb1.js","static/chunks/5258-0658dc2274df6832.js","static/chunks/9767-1a23925d2cb27b51.js","static/chunks/9187-851756440f79cd75.js","static/chunks/5973-52aee296edc44f7e.js","static/chunks/1100-053fc6b76c65a00f.js","static/chunks/8433-b3008ecaf9834e7f.js","static/chunks/4060-8d165e1236ea521a.js","static/chunks/3086-b5054ec2c75700b9.js","static/chunks/1150-035a721a04f4451e.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
@@ -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/113d823fe71f6af0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/113d823fe71f6af0.css" data-n-g=""/><link rel="preload" href="/_next/static/css/d2d4e9a6923e6730.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d2d4e9a6923e6730.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-2c7ccac5843c4d8e.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-24f422f93845a596.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
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/113d823fe71f6af0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/113d823fe71f6af0.css" data-n-g=""/><link rel="preload" href="/_next/static/css/d2d4e9a6923e6730.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d2d4e9a6923e6730.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-2c7ccac5843c4d8e.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-24f422f93845a596.js" defer=""></script><script src="/_next/static/chunks/pages/_app-be7a8cdf3b56b1ec.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/6060-cb1ab5be7067bf7b.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/5277-e8a036319456127f.js" defer=""></script><script src="/_next/static/chunks/4481-aab99ff80f707473.js" defer=""></script><script src="/_next/static/chunks/7980-4bd08957448dea32.js" defer=""></script><script src="/_next/static/chunks/355-8a77c9a1cd027f2e.js" defer=""></script><script src="/_next/static/chunks/8499-43606100edf42fdf.js" defer=""></script><script src="/_next/static/chunks/7453-39761c38da31257e.js" defer=""></script><script src="/_next/static/chunks/4450-36234280bee624ff.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems/manual-9acaab973dfe86e2.js" defer=""></script><script src="/_next/static/kYmFOkrlCZdjq5U5byh89/_buildManifest.js" defer=""></script><script src="/_next/static/kYmFOkrlCZdjq5U5byh89/_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":"/add-systems/manual","query":{},"buildId":"kYmFOkrlCZdjq5U5byh89","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/113d823fe71f6af0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/113d823fe71f6af0.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-2c7ccac5843c4d8e.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-24f422f93845a596.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
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/113d823fe71f6af0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/113d823fe71f6af0.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-2c7ccac5843c4d8e.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-24f422f93845a596.js" defer=""></script><script src="/_next/static/chunks/pages/_app-be7a8cdf3b56b1ec.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/6060-cb1ab5be7067bf7b.js" defer=""></script><script src="/_next/static/chunks/4481-aab99ff80f707473.js" defer=""></script><script src="/_next/static/chunks/355-8a77c9a1cd027f2e.js" defer=""></script><script src="/_next/static/chunks/4723-0a3c5e2ce143a7d0.js" defer=""></script><script src="/_next/static/chunks/5826-e5dcb4e68cfe6289.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems/multiple-ba975134a85588f8.js" defer=""></script><script src="/_next/static/kYmFOkrlCZdjq5U5byh89/_buildManifest.js" defer=""></script><script src="/_next/static/kYmFOkrlCZdjq5U5byh89/_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":"/add-systems/multiple","query":{},"buildId":"kYmFOkrlCZdjq5U5byh89","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/113d823fe71f6af0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/113d823fe71f6af0.css" data-n-g=""/><link rel="preload" href="/_next/static/css/972dc7eef106ee7c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/972dc7eef106ee7c.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-2c7ccac5843c4d8e.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-24f422f93845a596.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
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/113d823fe71f6af0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/113d823fe71f6af0.css" data-n-g=""/><link rel="preload" href="/_next/static/css/972dc7eef106ee7c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/972dc7eef106ee7c.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-2c7ccac5843c4d8e.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-24f422f93845a596.js" defer=""></script><script src="/_next/static/chunks/pages/_app-be7a8cdf3b56b1ec.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems-d258f0c25fa020bf.js" defer=""></script><script src="/_next/static/kYmFOkrlCZdjq5U5byh89/_buildManifest.js" defer=""></script><script src="/_next/static/kYmFOkrlCZdjq5U5byh89/_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":"/add-systems","query":{},"buildId":"kYmFOkrlCZdjq5U5byh89","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/113d823fe71f6af0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/113d823fe71f6af0.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-2c7ccac5843c4d8e.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-24f422f93845a596.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
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/113d823fe71f6af0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/113d823fe71f6af0.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-2c7ccac5843c4d8e.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-24f422f93845a596.js" defer=""></script><script src="/_next/static/chunks/pages/_app-be7a8cdf3b56b1ec.js" defer=""></script><script src="/_next/static/chunks/pages/ant-poc-b9932971a479f3a7.js" defer=""></script><script src="/_next/static/kYmFOkrlCZdjq5U5byh89/_buildManifest.js" defer=""></script><script src="/_next/static/kYmFOkrlCZdjq5U5byh89/_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":"/ant-poc","query":{},"buildId":"kYmFOkrlCZdjq5U5byh89","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/113d823fe71f6af0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/113d823fe71f6af0.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-2c7ccac5843c4d8e.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-24f422f93845a596.js" defer=""></script><script src="/_next/static/chunks/pages/_app-
|
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/113d823fe71f6af0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/113d823fe71f6af0.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-2c7ccac5843c4d8e.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-24f422f93845a596.js" defer=""></script><script src="/_next/static/chunks/pages/_app-be7a8cdf3b56b1ec.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/6060-cb1ab5be7067bf7b.js" defer=""></script><script src="/_next/static/chunks/4481-aab99ff80f707473.js" defer=""></script><script src="/_next/static/chunks/355-8a77c9a1cd027f2e.js" defer=""></script><script src="/_next/static/chunks/4723-0a3c5e2ce143a7d0.js" defer=""></script><script src="/_next/static/chunks/5826-e5dcb4e68cfe6289.js" defer=""></script><script src="/_next/static/chunks/pages/consent/configure/add-vendors-b34e5324461d0c87.js" defer=""></script><script src="/_next/static/kYmFOkrlCZdjq5U5byh89/_buildManifest.js" defer=""></script><script src="/_next/static/kYmFOkrlCZdjq5U5byh89/_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":"/consent/configure/add-vendors","query":{},"buildId":"kYmFOkrlCZdjq5U5byh89","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|