1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[40944],{69760:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/uk/go/go-account-cancellation/switched-to-another-provider",function(){return c(59278)}])},98406:function(a,b){"use strict";b.Z={src:"/_next/static/media/rightDirection.536203c5.svg",height:12,width:8}},628:function(a,b,c){"use strict";var d=c(85893);c(67294);var e=c(25675),f=c.n(e);c(41664);var g=c(98406),h=c(47368),i=c.n(h);b.Z=function(a){var b=a.headerName,c=a.goToBack,e=function(){c(!0)};return(0,d.jsxs)("div",{className:"".concat(i().headerContainer," relative flex justify-center items-center"),children:[(0,d.jsx)("div",{className:"".concat(i().arrow),onClick:e,children:(0,d.jsx)(f(),{src:g.Z,alt:"right arrow",objectFit:"contain",layout:"responsive"})}),(0,d.jsx)("p",{className:"".concat(i().headerText),children:b})]})}},59278:function(a,b,c){"use strict";c.r(b),c.d(b,{default:function(){return s}});var d,e=c(47568),f=c(34051),g=c.n(f),h=c(85893),i=c(67294),j=c(11163),k=c(628),l=c(34893),m=c.n(l),n=c(93078),o=c.n(n),p=function(a){var b=a.onClickStepOneBack,c=a.token,d=a.option2,e=(0,j.useRouter)(),f="";void 0!==d&&(f=d);var g=(0,i.useState)(f),l=g[0],n=g[1],p=function(a){n(a.target.value)},q=function(){if(""!==l){var a={"lack of functionality":"lack-of-functionality","i've experience an issue with the app":"issue-with-product","poor customer support":"customer-support-issue","i got better deal":"too-expensive"}[l]||"other";e.push("/uk/go/go-account-cancellation/switched-to-another-provider/".concat(a,"?token=").concat(c,"&option1=i've switched to another provider&option2=").concat(l))}};return(0,h.jsxs)("div",{className:"relative",children:[(0,h.jsx)(k.Z,{headerName:"Delete account",goToBack:b}),(0,h.jsxs)("div",{className:"".concat(m().radioGroup," ").concat(o().commonContainer," flex flex-col items-center mt-2"),children:[(0,h.jsxs)("div",{className:" w-full ".concat(o().commonInnerBody),children:[(0,h.jsx)("p",{className:"".concat(m().questionText),children:"Weâre sorry you want to leave us!"}),(0,h.jsx)("p",{className:"".concat(m().paraText," mt-2"),children:"Whatâs the main reason youâre switching to another provider?"})]}),(0,h.jsxs)("div",{className:"".concat(o().commonInnerBody," flex flex-col md:items-center w-full mt-4"),children:[(0,h.jsxs)("label",{className:"".concat("lack of functionality"===l?m().labelTextSelected:m().labelTextNonSelected," flex items-center ").concat(o().commonFullWidthPortrait),children:[(0,h.jsx)("input",{type:"radio",name:"option",value:"lack of functionality",checked:"lack of functionality"===l,onChange:p}),"Lack of functionality"]}),(0,h.jsxs)("label",{className:"".concat("i got better deal"===l?m().labelTextSelected:m().labelTextNonSelected," flex items-center ").concat(o().commonFullWidthPortrait),children:[(0,h.jsx)("input",{type:"radio",name:"option",value:"i got better deal",checked:"i got better deal"===l,onChange:p}),"I got better deal"]}),(0,h.jsxs)("label",{className:"".concat("i've experience an issue with the app"===l?m().labelTextSelected:m().labelTextNonSelected," flex items-center ").concat(o().commonFullWidthPortrait),children:[(0,h.jsx)("input",{type:"radio",name:"option",value:"i've experience an issue with the app",checked:"i've experience an issue with the app"===l,onChange:p}),"I've experience an issue with the app"]}),(0,h.jsxs)("label",{className:"".concat("poor customer support"===l?m().labelTextSelected:m().labelTextNonSelected," flex items-center ").concat(o().commonFullWidthPortrait),children:[(0,h.jsx)("input",{type:"radio",name:"option",value:"poor customer support",checked:"poor customer support"===l,onChange:p}),"Poor customer support"]})]})]}),(0,h.jsx)("div",{className:"".concat(m().btnBg),children:(0,h.jsx)("button",{className:"".concat(""===l?m().btnNotSelected:m().btnSelected),onClick:q,children:"Continue"})})]})},q=p,r=function(a){var b=a.token,c=a.option2,d=(0,j.useRouter)(),e=function(a){d.push("/uk/go/go-account-cancellation?token=".concat(b,"&option=i've switched to another provider"))};return(0,h.jsx)(q,{onClickStepOneBack:e,token:b,option2:c})},s=r;r.getInitialProps=(d=(0,e.Z)(g().mark(function a(b){var c,d,e,f;return g().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return d=(c=b.query).token,e=c.option1,f=c.option2,a.abrupt("return",{token:d,option1:e,option2:f});case 3:case"end":return a.stop()}},a)})),function(a){return d.apply(this,arguments)})},93078:function(a){a.exports={commonRemoveBreaksPortrait:"commonDelete_commonRemoveBreaksPortrait___V9g1",commonContainer:"commonDelete_commonContainer__bONp1",commonInnerBody:"commonDelete_commonInnerBody__CzOZK",commonFullWidthPortrait:"commonDelete_commonFullWidthPortrait__O
1LD8W",commonBodyLeftAlign:"commonDelete_commonBodyLeftAlign__9UNYk"}},47368:function(a){a.exports={headerContainer:"header_headerContainer__XEk27",arrow:"header_arrow__qtbMS",headerText:"header_headerText__0bref"}},34893:function(a){a.exports={radioGroup:"stepOne_radioGroup__CWv8z",paraText:"stepOne_paraText__jqAp9",labelTextSelected:"stepOne_labelTextSelected__CZsnc",labelTextNonSelected:"stepOne_labelTextNonSelected__Er1AF",questionText:"stepOne_questionText__NZEPS",btnBg:"stepOne_btnBg__kCTDe",btnSelected:"stepOne_btnSelected__hIT_g",btnNotSelected:"stepOne_btnNotSelected__KLQnG"}}},function(a){a.O(0,[49774,92888,40179],function(){var b;return a(a.s=69760)}),_N_E=a.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.