PageSourceSearch

https://app.termly.io/dashboard/1271-2541cb.js

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

1"use strict";(self.webpackChunk_termly_web_dashboard=self.webpackChunk_termly_web_dashboard||[]).push([[1271],{33626(e,t,n){n.d(t,{A:()=>u});var a=n(53241),o=n(26826),l=n.n(o),r=n(14712),s=n.n(r);const i=n.p+"info-icon-959fa5.svg",c="styles-boxed-fd84c1";function d(e){let{children:t,isColoredBox:n=!0}=e;const o=s()("styles-root-da8597",{[c]:n});return a.createElement("div",{className:o},a.createElement("div",{className:"styles-iconContainer-ad94e5"},a.createElement("img",{alt:"",className:"styles-infoIcon-e55b7e",src:i})),a.createElement("div",{className:"styles-textContainer-d2d3e0"},t))}d.propTypes={children:l().node,isColoredBox:l().bool};const u=d},48519(e,t,n){n.d(t,{A:()=>k});var a=n(53241),o=n(26826),l=n.n(o),r=n(25152),s=n(14712),i=n.n(s),c=n(85330),d=n(70118),u=n(74945),m=n(33626);const p=n.p+"shock-2c3dfb.svg",f=n.p+"delete-icon-f428d7.svg",h=n.p+"question-mark-icon-ef6ef0.png",b=n.p+"website-icon-94f204.svg",g=n.p+"change-plan-icon-25366b.svg",y=n.p+"failure-b1dfb2.svg";var C=n(63510);const E=(0,C.zR)({id:"alertModalContent.cancel",defaultMessage:"Cancel"}),M=((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"}),T={notice:p,trash:f,question:h,website:b,change:g,failure:y},B={id:"title",defaultMessage:" "},v={id:"description",defaultMessage:" "},N={id:"primaryButtonText",defaultMessage:"primaryButtonText"};function A(e){const{description:t=v,error:n,icon:o="notice",infoBoxContent:l,isPrimaryButtonLoading:s,onClickPrimaryButton:p=u.A,onClickSecondaryButton:f=u.A,primaryButtonText:h=N,secondaryButtonText:b=E,title:g=B}=e,y=T[o],C=`${M[o]} t-icon`,A=i()(M.cancelButton,"t-cancelButton");return a.createElement("div",{className:M.container},a.createElement("div",{className:M.image},a.createElement("img",{alt:"",className:C,src:y})),a.createElement("div",{className:M.title},a.createElement(r.A,g)),a.createElement("div",{className:M.description},a.createElement(r.A,t)),(k=l)?a.createElement(m.A,null,a.createElement(r.A,k)):null,a.createElement("div",{className:M.buttons},a.createElement("div",{className:M.primaryButtonText},a.createElement(c.$n,{className:A,handleClick:f,type:"text"},a.createElement(r.A,b))),a.createElement("div",{className:M["primary-button"]},a.createElement(d.A,{className:"t-submitButton",color:"dangerous",handleClick:p,isLoading:s,type:"solid"},a.createElement(r.A,h)))),function(e){return e?a.createElement("div",{className:M.error},e):null}(n));var k}
1A.propTypes={description:l().shape(r.A.propTypes),error:l().node,icon:l().oneOf(Object.keys(T)),infoBoxContent:l().shape(r.A.propTypes),isPrimaryButtonLoading:l().bool,onClickPrimaryButton:l().func,onClickSecondaryButton:l().func,primaryButtonText:l().shape(r.A.propTypes),secondaryButtonText:l().shape(r.A.propTypes),title:l().shape(r.A.propTypes)};const k=A},71340(e,t,n){n.d(t,{default:()=>g});var a=n(53241),o=n(26826),l=n.n(o),r=n(71451),s=n(48519);const i=(0,n(63510).YK)({cancelButton:{defaultMessage:"Cancel",id:"delete-theme-modal.cancel"},deleteButton:{defaultMessage:"Yes, Delete",id:"delete-theme-modal.delete-button"},deleteTitle:{defaultMessage:"Delete {themeName}",id:"delete-theme-modal.title"},description:{defaultMessage:'Are you sure you want to delete theme "{themeName}"? This action can’t be undone.',id:"delete-theme-modal.description"},error:{defaultMessage:"This theme could not be deleted due to a technical error",id:"delete-theme-modal.error"}});var c=n(79422),d=n(22573),u=n(50752),m=n(8609),p=n(41242);function f(e){let{themeID:t,websiteID:n}=e;const a=(0,m.JN)(n,t);return p.A.delete(a)}const h=function(){const e=(0,c.jE)();return(0,d.n)(f,{onSuccess(t,n){let{websiteID:a}=n;e.invalidateQueries((0,u.A)(a))}})};function b(e){const{handleCancel:t,handleSuccess:n,themeID:o,themeName:l,websiteID:c}=e,[d,u]=(0,a.useState)(),m=(0,r.A)(),{isLoading:p,mutate:f}
1=h(),b=(0,a.useCallback)(()=>{u(""),f({themeID:o,websiteID:c},{onError(e){console.error(e),u(m.formatMessage(i.error))},onSuccess:n})},[f,n,m,o,c]),g=(0,a.useCallback)(()=>{t()},[t]),y={...i.description,values:{themeName:l}},C={...i.deleteTitle,values:{themeName:l}};return a.createElement(s.A,{description:y,error:d,icon:"trash",isPrimaryButtonLoading:p,onClickPrimaryButton:b,onClickSecondaryButton:g,primaryButtonText:i.deleteButton,secondaryButtonText:i.cancelButton,title:C})}b.propTypes={handleCancel:l().func.isRequired,handleSuccess:l().func.isRequired,themeID:l().number.isRequired,themeName:l().string.isRequired,websiteID:l().string.isRequired};const g=b}}]);
2//# sourceMappingURL=1271-2541cb.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.