PageSourceSearch

https://app.termly.io/dashboard/476-bf5079.js

js termly.io collected 2026-09-24 07:34:43 UTC 6,419 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_termly_web_dashboard=self.webpackChunk_termly_web_dashboard||[]).push([[476],{33626(e,t,o){o.d(t,{A:()=>u});var n=o(53241),a=o(26826),l=o.n(a),i=o(14712),r=o.n(i);const c=o.p+"info-icon-959fa5.svg",s="styles-boxed-fd84c1";function d(e){let{children:t,isColoredBox:o=!0}=e;const a=r()("styles-root-da8597",{[s]:o});return n.createElement("div",{className:a},n.createElement("div",{className:"styles-iconContainer-ad94e5"},n.createElement("img",{alt:"",className:"styles-infoIcon-e55b7e",src:c})),n.createElement("div",{className:"styles-textContainer-d2d3e0"},t))}d.propTypes={children:l().node,isColoredBox:l().bool};const u=d},48519(e,t,o){o.d(t,{A:()=>A});var n=o(53241),a=o(26826),l=o.n(a),i=o(25152),r=o(14712),c=o.n(r),s=o(85330),d=o(70118),u=o(74945),m=o(33626);const p=o.p+"shock-2c3dfb.svg",f=o.p+"delete-icon-f428d7.svg",y=o.p+"question-mark-icon-ef6ef0.png",g=o.p+"website-icon-94f204.svg",b=o.p+"change-plan-icon-25366b.svg",h=o.p+"failure-b1dfb2.svg";var C=o(63510);const k=(0,C.zR)({id:"alertModalContent.cancel",defaultMessage:"Cancel"}),T=((0,C.zR)({id:"alertModalContent.continue",defaultMessage:"CONTINUE"}),(0,C.zR)({id:"alertModalContent.deleteText",defaultMessage:"YES, DELETE"}),(0,C.zR)({id:"alertModalContent.deleteTitle",defaultMessage:"Delete {subject}"}),(0,C.zR)({id:"alertModalContent.deleteWebsiteDescription",defaultMessage:'Are you sure you want to delete "{websiteName}"? This action can’t be undone.'}),(0,C.zR)({id:"alertModalContent.changeWebsiteUrlTitle",defaultMessage:"Do you want to change website URL?"}),(0,C.zR)({id:"alertModalContent.changeWebsiteUrlDescription",defaultMessage:"Changing the URL will reset the cookie report previously generated for [{url}] and a new scan will need to be performed. Would you like to continue?"}),(0,C.zR)({id:"alertModalContent.deleteCookieDescription",defaultMessage:'Are you sure you want to delete "{cookieName}"? This cookie can’t be restored after it has been deleted.'}),(0,C.zR)({id:"alertModalContent.discardChangeTitle",defaultMessage:"Reactivate Subscription"}),(0,C.zR)({id:"alertModalContent.discardChangeText",defaultMessage:"REACTIVATE"}),(0,C.zR)({id:"alertModalContent.discardWebsiteDescription",defaultMessage:"If you choose to reactivate your subscription, you will automatically be renewed on {dueDate}."}),(0,C.zR)({id:"alertModalContent.clickEditPolicy",defaultMessage:"Click EDIT POLICY to edit and publish your policy."}),{container:"alert-modal-content-container-ddbe02",image:"alert-modal-content-image-e0dc82",notice:"alert-modal-content-notice-dcf754",trash:"alert-modal-content-trash-da8eda",question:"alert-modal-content-question-f14f37",failure:"alert-modal-content-failure-c666c8",website:"alert-modal-content-website-dc4bc5",change:"alert-modal-content-change-e52d8d",title:"alert-modal-content-title-fb8985",description:"alert-modal-content-description-fb71a7",buttons:"alert-modal-content-buttons-f1cbd4",cancelButton:"alert-modal-content-cancelButton-ef91c3",error:"alert-modal-content-error-e1f0db"}),E={notice:p,trash:f,question:y,website:g,change:b,failure:h},M={id:"title",defaultMessage:" "},v={id:"description",defaultMessage:" "},B={id:"primaryButtonText",defaultMessage:"primaryButtonText"};function N(e){const{description:t=v,error:o,icon:a="notice",infoBoxContent:l,isPrimaryButtonLoading:r,onClickPrimaryButton:p=u.A,onClickSecondaryButton:f=u.A,primaryButtonText:y=B,secondaryButtonText:g=k,title:b=M}=e,h=E[a],C=`${T[a]} t-icon`,N=c()(T.cancelButton,"t-cancelButton");return n.createElement("div",{className:T.container},n.createElement("div",{className:T.image},n.createElement("img",{alt:"",className:C,src:h})),n.createElement("div",{className:T.title},n.createElement(i.A,b)),n.createElement("div",{className:T.description},n.createElement(i.A,t)),(A=l)?n.createElement(m.A,null,n.createElement(i.A,A)):null,n.createElement("div",{className:T.buttons},n.createElement("div",{className:T.primaryButtonText},n.createElement(s.$n,{className:N,handleClick:f,type:"text"},n.createElement(i.A,g))),n.createElement("div",{className:T["primary-button"]},n.createElement(d.A,{className:"t-submitButton",color:"dangerous",handleClick:p,isLoading:r,type:"solid"},n.createElement(i.A,y)))),function(e){return e?n.createElement("div",{className:T.error},e):null}(o));var A}N.propTypes={description:l().shape(i.A.propTypes),error:l().node,icon:l().oneOf(Object.keys(E)),infoBoxContent:l().shape(i.A.propTypes),isPrimaryButtonLoading:l().bool,onClickPrimaryButton:l().func,onClickSecondaryButton:l().func,primaryButtonText:l().shape(i.A.propTypes),secondaryButtonText:l().shape(i.A.propTypes),title:l().shape(i.A.propTypes)};const A=N},67695(e,t,o){o.d(t,{default:()=>y});var n=o(53241),a=o(26826),l=o.n(a),i=o(71451),r=o(48519);const c=(0,o(63510).YK)({cancel:{defaultMessage:"Cancel",id:"delete-cookie-modal.cancel"},deleteText:{defaultMessage:"YES, DELETE",id:"delete-cookie-modal.delete-text"},deleteTitle:{defaultMessage:"Delete {cookieName}",id:"delete-cookie-modal.delete-title"},deleteCookieDescription:{defaultMessage:'Are you sure you want to delete "{cookieName}"? This action can’t be undone.',id:"delete-cookie-modal.delete-cookie-description"},error:{defaultMessage:"This cookie could not be deleted due to a technical error",id:"delete-cookie-modal.error"}});var s=o(22573),d=o(8609),u=o(41242);
1function m(e){let{cookieID:t,reportID:o}=e;const n=(0,d.Yj)(o,t);return u.A.delete(n)}const p=function(e){return(0,s.n)(m,e)};function f(e){const{cookieID:t,cookieName:o,handleClose:a,handleSuccess:l,reportID:s}=e,d=(0,i.A)(),[u,m]=(0,n.useState)(),{isLoading:f,mutate:y}=p(),g=(0,n.useCallback)(()=>{y({cookieID:t,reportID:s},{onError(e){console.error(e),m(d.formatMessage(c.error))},onSuccess(){l()}})},[t,y,l,d,s]),b=(0,n.useMemo)(()=>({...c.deleteCookieDescription,values:{cookieName:o}}),[o]),h=(0,n.useMemo)(()=>({...c.deleteTitle,values:{cookieName:o}}),[o]);return n.createElement(r.A,{description:b,error:u,icon:"trash",isPrimaryButtonLoading:f,onClickPrimaryButton:g,onClickSecondaryButton:a,primaryButtonText:c.deleteText,secondaryButtonText:c.cancel,title:h})}f.propTypes={cookieID:l().oneOfType([l().number,l().string]).isRequired,cookieName:l().string.isRequired,handleClose:l().func.isRequired,handleSuccess:l().func.isRequired,reportID:l().oneOfType([l().number,l().string]).isRequired};const y=f}}]);
2//# sourceMappingURL=476-bf5079.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.