1"use strict";(self.webpackChunk_termly_web_dashboard=self.webpackChunk_termly_web_dashboard||[]).push([[6924],{34556(e,t,a){a.d(t,{A:()=>u});const s=(0,a(28216).YK)({essential:{id:"cookie-categories.essential",defaultMessage:"Essential"},essentialWithCount:{id:"cookie-categories.essential-with-count",defaultMessage:"Essential ({count})"},performance:{id:"cookie-categories.performance",defaultMessage:"Performance"},performanceWithCount:{id:"cookie-categories.performance-with-count",defaultMessage:"Performance ({count})"},analytics:{id:"cookie-categories.analytics",defaultMessage:"Analytics"},analyticsWithCount:{id:"cookie-categories.analytics-with-count",defaultMessage:"Analytics ({count})"},advertising:{id:"cookie-categories.advertising",defaultMessage:"Advertising"},advertisingWithCount:{id:"cookie-categories.advertising-with-count",defaultMessage:"Advertising ({count})"},social_networking:{id:"cookie-categories.social-networking",defaultMessage:"Social"},social_networkingWithCount:{id:"cookie-categories.social-with-count",defaultMessage:"Social ({count})"},unclassified:{id:"cookie-categories.unclassified",defaultMessage:"Unclassified"},unclassifiedWithCount:{id:"cookie-categories.unclassified-with-count",defaultMessage:"Unclassified ({count})"}}),o="essential",n="performance",i="analytics",r="advertising",c="social_networking",l="unclassified",d=[{id:o,message:s.essential},{id:r,message:s.advertising},{id:i,message:s.analytics},{id:n,message:s.performance},{id:c,message:s.social_networking},{id:l,message:s.unclassified}],u={ADVERTISING:r,ANALYTICS:i,ESSENTIAL:o,PERFORMANCE:n,SOCIAL_NETWORKING:c,UNCLASSIFIED:l,isValidCategory:e=>d.some(t=>{let{id:a}=t;return a===e}),map:e=>d.map(e),getCategoryMessageForValue(e){const t=s[`${e}WithCount`];if(t)return t;throw new Error(`Unrecognized category value: ${JSON.stringify(e)}`)},reduce:(e,t)=>d.reduce(e,t)}},34906(e,t,a){a.d(t,{A:()=>s});const s=function(e){return t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),e(t))}}},73443(e,t,a){a.d(t,{A:()=>p,V:()=>d});var s=a(53241),o=a(26826),n=a.n(o),i=a(74945),r=a(42870);const c=(0,s.createContext)(),l=c;function d(){return(0,s.useContext)(c)}var u=a(34556),m=a(79455);const g={};function f(e){let{domain:t,service:a}=e;return a||t}function y(e){const{children:t,handleCategoryChange:a=i.A,isEditable:o,isNewFlagged:n=!0,selectedCategory:c}=e,{scanReport:d}=(0,r.dB)(),{classifiedCookies:y={},id:p}=d,h=(0,s.useMemo)(()=>function(e){if(!e)return g;const t=Object.entries(e).map(e=>{let[t,a]=e;return[t,(0,m.A)(a,f)]});return Object.fromEntries(t)}(y),[y]),E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(0,s.useMemo)(()=>{const t=Object.entries(e).find(e=>{let[t,a]=e;return t!==u.A.ESSENTIAL&&a.length});return Boolean(t)},[e])}(y),k=(0,s.useMemo)(()=>h[c]||[],[h,c]),C=(0,s.useCallback)(e=>y[e]?.length||0,[y]),b=function(e){return(0,s.useMemo)(()=>e?Object.values(e).reduce((e,t)=>e+(t?.length||0),0):0,[e])}(y),N=(0,s.useMemo)(()=>({collatedCookies:h,getCountForCategory:C,handleCategoryChange:a,hasNonEssentialCookies:E,isEditable:o,isNewFlagged:n,reportID:p,selectedCategory:c,selectedCategoryCookies:k,totalCookieCount:b}),[h,C,a,E,o,n,p,c,k,b]);return s.createElement(l.Provider,{value:N},t)}y.propTypes={children:n().node,handleCategoryChange:n().func,isEditable:n().bool,isNewFlagged:n().bool,selectedCategory:n().string};const p=y},91416(e,t,a){a.d(t,{A:()=>_});var s=a(53241),o=a(34556),n=a(73443),i=a(52030),r=a(18840),c=a(14712),l=a.n(c),d=a(61421),u=a(80297),m=a(69853),g=a(28216);const f=(0,g.YK)({addCookie:{id:"scan-report-category-header.add-cookie",defaultMessage:"ADD A COOKIE"},advertisingDescription:{id:"scan-report-category-header.advertising-description",defaultMessage:"These cookies are used to make advertising messages more relevant to users. They perform functions like preventing the same ad from continuously reappearing, ensuring that ads are properly displayed for advertisers, and in some cases selecting advertisements that are based on user interests."}
1,analyticsDescription:{id:"scan-report-category-header.analytics-description",defaultMessage:"These cookies collect information that is used to help you understand how your website is being used, how effective your marketing campaigns are, and to help you customize your website for users."},essentialDescription:{id:"scan-report-category-header.essential-description",defaultMessage:"These cookies are strictly necessary for your website to properly function, and therefore cannot be disabled by your users."},performanceDescription:{id:"scan-report-category-header.performance-description",defaultMessage:"These cookies are used to enhance the performance and functionality of your website, but are not essential to its use. However, without these cookies, certain functionality (like videos) may become unavailable."},socialDescription:{id:"scan-report-category-header.social-description",defaultMessage:"These cookies are used to enable users to share pages and content that they find interesting on your website through third-party social media platforms. These cookies may also be used for advertising purposes."}}),y={[o.A.ADVERTISING]:f.advertisingDescription,[o.A.ANALYTICS]:f.analyticsDescription,[o.A.ESSENTIAL]:f.essentialDescription,[o.A.PERFORMANCE]:f.performanceDescription,[o.A.SOCIAL_NETWORKING]:f.socialDescription},p=function(){const{isEditable:e,reportID:t,selectedCategory:a}=(0,n.V)(),c=(0,r.Zp)(),g=(0,m.H)(),p=(0,s.useCallback)(()=>{c(u.A.REPORT_ADD_COOKIE(g,a,t))},[c,t,a,g]);return a===o.A.UNCLASSIFIED?null:s.createElement("div",{className:"styles-root-f36eea"},s.createElement("div",{className:"styles-description-f1b55e"},s.createElement(i.A,y[a])),function(e){let{handleCookieAdd:t,isEditable:a}=e;if(!a)return null;const o=l()("styles-button-eabcdf","t-addCookieButton");return s.createElement("div",{className:"buttonContainer"},s.createElement(d.$n,{className:o,color:"primary",handleClick:t,type:"outline"},s.createElement(i.A,f.addCookie)))}({handleCookieAdd:p,isEditable:e}))};var h=a(26826),E=a.n(h),k=a(34906);const C=(0,g.YK)({newTag:{defaultMessage:"New",id:"domain-cookie.new"},noneFound:{defaultMessage:"none found",id:"domain-cookie.none-found"}}),b="styles-td-e53428",N="styles-clickable-b0e79d";
1function A(e){let{cookie:t}=e;const a=(0,r.Zp)(),o=(0,m.H)(),c=t.purpose?.en,{isEditable:d,isNewFlagged:g,reportID:f,selectedCategory:y}=(0,n.V)(),p=l()("styles-name-a6bef4","t-cookieDetailLink",{[N]:d}),h=(0,s.useCallback)(e=>{d&&(e.stopPropagation(),a(u.A.REPORT_EDIT_COOKIE(o,t.id,y,f)))},[t,d,a,f,y,o]),E=(0,k.A)(h);return s.createElement("tr",{className:"styles-root-a715bb"},s.createElement("td",{className:b},s.createElement("div",{className:p,onClick:h,onKeyDown:E,role:"button",tabIndex:0},t.name)),s.createElement("td",{className:b},function(e){let{cookie:t,isNewFlagged:a}=e;return a&&t.new?s.createElement("div",{className:"styles-newTag-a590a3"},s.createElement(i.A,C.newTag)):null}({cookie:t,isNewFlagged:g})),s.createElement("td",{className:b},function(e){return e||s.createElement("span",{className:"styles-noneFound-f769e2"},s.createElement(i.A,C.noneFound))}(c)),s.createElement("td",{className:b},t.domain))}A.propTypes={cookie:E().shape({country:E().string,domain:E().string,en_us:E().string,id:E().number,name:E().string,new:E().bool,purpose:E().shape({en:E().string})}).isRequired};const v=A,w=(0,g.YK)({cookieName:{id:"category-domain.cookie-name",defaultMessage:"cookie name"},domain:{id:"category-domain.cookie-domain",defaultMessage:"domain"},description:{id:"category-domain.cookie-description",defaultMessage:"description"}}),M="styles-th-b4ccea";
1function T(e){let{cookies:t,domain:a}=e;return s.createElement("section",null,s.createElement("div",{className:"styles-caption-c51a50"},a),s.createElement("table",{className:"styles-table-eade6c"},s.createElement("thead",{className:"styles-thead-eb5504"},s.createElement("tr",{className:"styles-tr-dc13ad"},s.createElement("th",{className:M},s.createElement(i.A,w.cookieName)),s.createElement("th",{className:M}),s.createElement("th",{className:M},s.createElement(i.A,w.description)),s.createElement("th",{className:M},s.createElement(i.A,w.domain)))),s.createElement("tbody",{className:"styles-tbody-d376f5"},t.map(e=>s.createElement(v,{cookie:e,key:e.name})))))}T.propTypes={domain:E().string.isRequired,cookies:E().arrayOf(v.propTypes.cookie)};const I=T,D=a.p+"unclassified-callout-icon-46028b.svg",O=(0,g.YK)({header:{id:"unclassified-callout.header",defaultMessage:"These cookies could not be classified."},description:{id:"unclassified-callout.description",defaultMessage:"Classify each cookie by contacting the provider or researching the name to determine their purpose."}}),S=function(){return s.createElement("div",{className:"styles-root-fded48"},s.createElement("div",{className:"styles-icon-e5cd06"},s.createElement("img",{alt:"",src:D})),s.createElement("div",{className:"styles-text-cd0a89"},s.createElement("div",{className:"styles-textTop-b88e84"},s.createElement(i.A,O.header)),s.createElement("div",{className:"styles-textBottom-dd6a5d"},s.createElement(i.A,O.description))))},_=function(){const{selectedCategory:e,selectedCategoryCookies:t}=(0,n.V)();return e?s.createElement("div",{className:"styles-root-a46ef7"},s.createElement(p,null),function(e){let{selectedCategory:t}=e;return t!==o.A.UNCLASSIFIED?null:s.createElement(S,null)}({selectedCategory:e}),s.createElement("div",{className:"styles-domains-e209a5"},Object.entries(t).map(e=>{let[t,a]=e;return s.createElement(I,{cookies:a,domain:t,key:t})}))):null}}}]); 2//# sourceMappingURL=6924-ff295f.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.