PageSourceSearch

https://www.adcatalyst.ai/_next/static/chunks/pages/datasets/unsubscribe-41e3cac2d5799db5.js

js adcatalyst.ai collected 2026-10-05 11:49:36 UTC 4,654 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[49389],{31026:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return s}});let r=n(14232);function s(e,t){let n=(0,r.useRef)(null),s=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=s.current;t&&(s.current=null,t())}else e&&(n.current=o(e,r)),t&&(s.current=o(t,r))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42343:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let r=n(14232),s=n(74754),o="function"==typeof IntersectionObserver,l=new Map,i=[];function u(e){let{rootRef:t,rootMargin:n,disabled:u}=e,a=u||!o,[c,d]=(0,r.useState)(!1),f=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{f.current=e},[]);return(0,r.useEffect)(()=>{if(o){if(a||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:s,elements:o}=function(e){let t,n={root:e.root||null,margin:e.rootMargin||""},r=i.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=l.get(r)))return t;let s=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=s.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:s},i.push(n),l.set(n,t),t}(n);return o.set(e,t),s.observe(e),function(){if(o.delete(e),s.unobserve(e),0===o.size){s.disconnect(),l.delete(r);let e=i.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&i.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,s.requestIdleCallback)(()=>d(!0));return()=>(0,s.cancelIdleCallback)(e)}},[a,n,t,c,f.current]),[p,c,(0,r.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},83620:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/datasets/unsubscribe",function(){return n(98922)}])},98922:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(37876),s=n(14232),o=n(77328),l=n.n(o),i=n(48230),u=n.n(i),a=n(89099),c=n(23694);class d extends s.Component{constructor(e){super(e),this.state={status:"working",message:""}}async componentDidMount(){let{query:e}=this.props.router,t=e.email;if(!t)return void this.setState({status:"error",message:"Invalid or missing link."});try{let{httpsCallable:e}=await Promise.resolve().then(n.bind(n,71792)),{functions:r}=await Promise.resolve().then(n.bind(n,21028)),s=e(r,"mailjet_action");await s({action:"unsubscribe_dataset_lead",params:{email:t}}),this.setState({status:"done",message:"You've been unsubscribed from dataset emails. You won't receive any more emails from us about datasets."})}catch(e){this.setState({status:"error",message:"Something went wrong. Please try again or contact [email protected]."})}}render(){let{status:e,message:t}=this.state,n=`Unsubscribe | ${c.PRODUCT_NAME}`;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(l(),{children:[(0,r.jsx)("title",{children:n}),(0,r.jsx)("meta",{name:"robots",content:"noindex"})]}),(0,r.jsxs)("div",{style:{maxWidth:480,margin:"80px auto",padding:"32px",textAlign:"center",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif"},children:["working"===e&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h1",{style:{color:"#0f1923",fontSize:"24px"},children:"Unsubscribing..."}),(0,r.jsx)("p",{style:{color:"#4a5568",fontSize:"16px"},children:"Please wait while we process your request."})]}),"done"===e&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h1",{style:{color:"#0f1923",fontSize:"24px"},children:"Unsubscribed"}),(0,r.jsx)("p",{style:{color:"#4a5568",fontSize:"16px"},children:t}),(0,r.jsx)(u(),{href:"/datasets",style:{display:"inline-block",marginTop:24,color:c.PRIMARY_COLOR,textDecoration:"none",fontWeight:600},children:"Browse datasets →"})]}),"error"===e&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h1",{style:{color:"#0f1923",fontSize:"24px"},children:"Error"}),(0,r.jsx)("p",{style:{color:"#e53e3e",fontSize:"16px"},children:t})]})]})]})}}let f=(0,a.withRouter)(d)}},e=>{var t=t=>e(e.s=t);e.O(0,[48230,90636,46593,38792],()=>t(83620)),_N_E=e.O()}]);

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.