1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5785],{2557:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/unsubscribe",function(){return t(79093)}])},79093:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return w}});var s=t(85893),i=t(67294),r=t(15514),a=t(47568),l=t(14924),c=t(97582),o=t(31555),u=t(10682),d=t(34051),f=t(27484),h=t.n(f),m=t(19177),x=t.n(m),p=t(22159),v=t(54850),b=t(93967),j=t.n(b),N=t(11163),_=t(85978),y=t(88512),k=t(97943),Z=t(70178);h().extend(Z);var g=function(){var e,n,t=(0,N.useRouter)(),r=(0,i.useState)(""),f=r[0],h=r[1],m=(0,i.useState)(!1),b=m[0],Z=m[1],g=(0,i.useState)(!1),w=g[0],R=g[1],D=null===t||void 0===t||null===(e=t.query)||void 0===e||null===(n=e.email)||void 0===n?void 0:n.toString();(0,i.useEffect)((function(){B()}),[D]);var B=function(){var e=(0,a.Z)((function(){return(0,c.__generator)(this,(function(e){switch(e.label){case 0:return D?[4,C()]:[3,2];case 1:e.sent()&&R(!0),e.label=2;case 2:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),C=function(){var e=(0,a.Z)((function(){var e,n;return(0,c.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,k.ZP.post("unsubscribe-exist",{email:D})];case 1:return n=t.sent(),void 0!==(null===(e=n.data)||void 0===e?void 0:e.reason)?((0,y.ir)({title:"",text:"You have already unsubscribed!",icon:"success",confirmButtonText:"OK"}),[2,!0]):[2,!1];case 2:return t.sent(),[2,!1];case 3:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}(),E=function(){var e=(0,a.Z)((function(e,n,t){var s,i;return(0,c.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,k.ZP.post("unsubscribe",{email:D,reason:e||""})];case 1:return r.sent(),t&&((0,y.ir)({title:"",text:"Thanks for the response! You will not receive any emails from now on.",icon:"success",confirmButtonText:"OK"}),R(!0)),n(!1),[3,3];case 2:return s=r.sent(),(0,y.ir)({title:"",text:(null===(i=null===s||void 0===s?void 0:s.response.data)||void 0===i?void 0:i.message)||(null===s||void 0===s?void 0:s.response.data),icon:"error",confirmButtonText:"OK"}),n(!1),[3,3];case 3:return[2]}}))}));return function(n,t,s){return e.apply(this,arguments)}}(),O=function(){var e=(0,a.Z)((function(){return(0,c.__generator)(this,(function(e){return(0,_.oH)(D||"")?((0,y.ir)({title:"",text:(0,_.oH)(D||""),icon:"error",confirmButtonText:"OK"}),[2]):f?(Z(!0),E(f,Z,!0),[2]):((0,y.ir)({title:"",text:"You have not selected any option yet!",icon:"error",confirmButtonText:"OK"}),[2])}))}));return function(){return e.apply(this,arguments)}}(),T=function(e){h(e)};return w?(0,s.jsx)("div",{className:j()("text-highlight",x().thanksResponse),children:"Successfully unsubscribed and thanks for the feedback!"}):(0,s.jsx)("div",{className:x().wrapper,children:(0,s.jsx)(u.Z,{className:"py-4",children:(0,s.jsx)(d.Z,{className:"justify-content-center",children:(0,s.jsx)(o.Z,{md:8,children:(0,s.jsxs)(p.Z,{title:(0,s.jsx)("div",{className:"text-highlight",children:"Successfully unsubscribed"}),children:[(0,s.jsxs)("p",{className:"text-align-center",children:["You won't receive further emails from us and Please tell us why you no longer wish to hear from us. ",(0,s.jsx)("br",{}),"If you have a moment, please let us know why you unsubscribed."]}),(0,s.jsx)(o.Z,{xs:12,md:"auto",className:"pt-4",children:(0,s.jsxs)("div",{className:"form-check",children:[(0,s.jsx)("input",{className:"form-check-input",type:"radio",name:"flexRadioDefault",id:"flexRadioDefault1",onClick:function(){return T("I no longer want to receive these emails")}}),(0,s.jsx)("label",{className:j()(x().radioButton,(0,l.Z)({},x().active,!0)),htmlFor:"flexRadioDefault1",children:(0,s.jsx)("div",{className:x().paypal,children:"I no longer want to receive these emails"})})]})}),(0,s.jsx)(o.Z,{xs:12,md:"auto",className:"pt-4",children:(0,s.jsxs)("div",{className:"form-check",children:[(0,s.jsx)("input",{className:"form-check-input",type:"radio",name:"flexRadioDefault",id:"flexRadioDefault2",onClick:function(){return T("I never signed up for these newsletters")}}),(0,s.jsx)("label",{className:j()(x().radioButton,(0,l.Z)({},x().active,!1)),htmlFor:"flexRadioDefault2",children:(0,s.jsx)("div",{className:x().paypal,children:"I never signed up for these newsletters"})})]})}),(0,s.jsx)(o.Z,{xs:12,md:"auto",className:"pt-4",children:(0,s.jsxs)("div",{className:"form-check",children:[(0,s.jsx)("input",{className:"form-check-input",type:"radio",name:"flexRadioDefault",id:"flexRadioDefault3",onClick:function(){return T("I receive too many emails in general")}}),(0,s.jsx)("label",{className:j()(x().radioButton,(0,l.Z)({},x().active,!1)),htmlFor:"flexRadioDefault3",children:(0,s.jsx)("div",{className:x().paypal,children:"I receive too many emails in general"})})]})}),(0,s.jsx)(o.Z,{xs:12,md:"auto",className:"pt-4",children:(0,s.jsxs)("div",{className:"form-check",children:[(0,s.jsx)("input",{className:"form-check-input",type:"radio",name:"flexRadioDefault",id:"flexRadioDefault4",onClick:function(){return T("My inbox is too full")}}),(0,s.jsx)("label",{className:j()(x().radioButton,(0,l.Z)({},x().active,!1)),htmlFor:"flexRadioDefault4",children:(0,s.jsx)("div",{className:x().paypal,children:"My inbox is too full"})})]})}),(0,s.jsx)(o.Z,{xs:12,md:"auto",className:"pt-4",children:(0,s.jsxs)("div",{className:"form-check",children:[(0,s.jsx)("input",{className:"form-check-input",type:"radio",name:"flexRadioDefault",id:"flexRadioDefault5",onClick:function(){return T("Not interesting in Email Lists")}}),(0,s.jsx)("label",{className:j()(x().radioButton,(0,l.Z)({},x().active,!0)),htmlFor:"flexRadioDefault5",children:(0,s.jsx)("div",{className:x().paypal,children:"Not interesting in Email Lists"})})]})}),(0,s.jsx)(o.Z,{xs:12,md:"auto",className:"pt-4",children:(0,s.jsx)(v.Z,{loading:b,onClick:O,children:"Unsubscribe"})})]})})})})})},w=function(){return(0,s.jsx)(r.Z,{children:(0,s.jsx)(g,{})})}},22159:function(e,n,t){"use strict";var s=t(85893),i=(t(67294),t(93967)),r=t.n(i),a=t(74012),l=t.n(a);n.Z=function(e){var n=e.children,t=e.className,i=e.title,a=e.numberIcon,c=e.rightElement;return(0,s.jsxs)("div",{className:r()(t,l().card),children:[(0,s.jsxs)("div",{className:"d-flex",style:{gap:8},children:[a," ",i&&(0,s.jsx)("h3",{children:i}),c]}),n]})}},19177:function(e){e.exports={header:"unsubscribe_header__zOl1v",radioButton:"unsubscribe_radioButton__kmDHt",spinnerWrapper:"unsubscribe_spinnerWrapper__GSG3C",loader:"unsubscribe_loader__wTjxu",spin:"unsubscribe_spin__KNvpb",thanksResponse:"unsubscribe_thanksResponse__o_oeO"}},74012:function(e){e.exports={card:"card_card__V0tiG"}}},function(e){e.O(0,[4620,4786,7980,1612,5514,9774,2888,179],(function(){return n=2557,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.