https://www.grafterr.com/_next/static/chunks/pages/uk/go/go-account-cancellation-07420faf8b7bd9d9.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[29381],{22372:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/uk/go/go-account-cancellation",function(){return c(43395)}])},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})]})}},43395:function(a,b,c){"use strict";c.r(b),c.d(b,{default:function(){return s}});var d=c(47568),e=c(34051),f=c.n(e),g=c(85893),h=c(67294),i=c(628),j=c(11163);c(41664);var k,l=c(92534),m=c.n(l),n=c(93078),o=c.n(n),p=function(a){var b=a.domain,c=a.token,d=a.option,e=(0,j.useRouter)(),f="";void 0!==d&&(f=d);var k=(0,h.useState)(f),l=k[0],n=k[1],p=function(a){n(a.target.value)},q=function(){if(""!==l){var a={"lack of functionality":"lack-of-functionality","it's too expensive":"too-expensive","i've experienced an issue with product":"issue-with-product","customer support issue":"customer-support-issue","business has closed":"business-closed","i had payout issue":"payout-issue","i've switched to another provider":"switched-to-another-provider"}[l]||"other";e.push("/uk/go/go-account-cancellation/".concat(a,"?token=").concat(c,"&option=").concat(l))}},r=function(a){e.push("".concat(b,"/gb/go-account-cancellation/go-to-app"))};return(0,g.jsxs)("div",{className:"relative",children:[(0,g.jsx)(i.Z,{headerName:"Delete account",goToBack:r}),(0,g.jsxs)("div",{className:"".concat(m().radioGroup," ").concat(o().commonContainer," flex flex-col items-center mt-2"),children:[(0,g.jsx)("p",{className:"".concat(m().questionText),children:"Why would you like to delete your account?"}),(0,g.jsxs)("div",{className:"".concat(o().commonInnerBody," flex flex-col md:items-center w-full mt-4"),children:[(0,g.jsxs)("label",{className:"".concat("lack of functionality"===l?m().labelTextSelected:m().labelTextNonSelected," flex items-center ").concat(o().commonFullWidthPortrait),children:[(0,g.jsx)("input",{type:"radio",name:"option",value:"lack of functionality",checked:"lack of functionality"===l,onChange:p}),"Lack of functionality"]}),(0,g.jsxs)("label",{className:"".concat("it's too expensive"===l?m().labelTextSelected:m().labelTextNonSelected," flex items-center ").concat(o().commonFullWidthPortrait),children:[(0,g.jsx)("input",{type:"radio",name:"option",value:"it's too expensive",checked:"it's too expensive"===l,onChange:p}),"It's too expensive"]}),(0,g.jsxs)("label",{className:"".concat("i've experienced an issue with product"===l?m().labelTextSelected:m().labelTextNonSelected," flex items-center ").concat(o().commonFullWidthPortrait),children:[(0,g.jsx)("input",{type:"radio",name:"option",value:"i've experienced an issue with product",checked:"i've experienced an issue with product"===l,onChange:p}),"I've experienced an issue with product"]}),(0,g.jsxs)("label",{className:"".concat("customer support issue"===l?m().labelTextSelected:m().labelTextNonSelected," flex items-center ").concat(o().commonFullWidthPortrait),children:[(0,g.jsx)("input",{type:"radio",name:"option",value:"customer support issue",checked:"customer support issue"===l,onChange:p}),"Customer support issue"]}),(0,g.jsxs)("label",{className:"".concat("business has closed"===l?m().labelTextSelected:m().labelTextNonSelected," flex items-center ").concat(o().commonFullWidthPortrait),children:[(0,g.jsx)("input",{type:"radio",name:"option",value:"business has closed",checked:"business has closed"===l,onChange:p}),"Business has closed"]}),(0,g.jsxs)("label",{className:"".concat("i had payout issue"===l?m().labelTextSelected:m().labelTextNonSelected," flex items-center ").concat(o().commonFullWidthPortrait),children:[(0,g.jsx)("input",{type:"radio",name:"option",value:"i had payout issue",checked:"i had payout issue"===l,onChange:p}),"I had payout issue"]}),(0,g.jsxs)("label",{className:"".concat("i've switched to another provider"===l?m().labelTextSelected:m().labelTextNonSelected," flex items-center ").concat(o().commonFullWidthPortrait),children:[(0,g.jsx)("input",{type:"radio",name:"option",value:"i've switched to another provider",checked:"i've switched to another provider"===l,onChange:p}),"I've switched to another provider"]}),(0,g.jsxs)("label",{className:"".concat("other"===l?m().labelTextSelected:m().labelTextNonSelected," flex items-center ").concat(o().commonFullWidthPortrait),children:[(0,g.jsx)("input",{type:"radio",name:"option",value:"other",checked:"other"===l,onChange:p}),"Other"]})]})]}),(0,g.jsx)("div",{className:"".concat(m().btnBg),children:(0,g.jsx)("button",{className:"".concat(""===l?m().btnNotSelected:m().btnSelected),onClick:q,children:"Continue"})})]})},q=p,r=function(a){var b=a.token,c=a.option,d=a.protocol,e=(0,h.useState)(),f=e[0],i=e[1];(0,h.useEffect)(function(){i(window.location.host)},[]);var j="".concat(d,"://").concat(f);return(0,g.jsx)(q,{domain:j,token:b,option:c})},s=r;r.getInitialProps=(k=(0,d.Z)(f().mark(function a(b){var c,d,e,g,h;return f().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return c=b.req,e=(d=b.query).token,g=d.option,h=(null==c?void 0:c.headers["x-forwarded-proto"])||(null==c?void 0:c.connection.encrypted)?"https":"http",a.abrupt("return",{token:e,option:g,protocol:h});case 4:case"end":return a.stop()}},a)})),function(a){return k.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"}},92534:function(a){a.exports={radioGroup:"question_radioGroup__spR_O",labelTextSelected:"question_labelTextSelected__7yc2x",labelTextNonSelected:"question_labelTextNonSelected__hUnju",questionText:"question_questionText__ijyIK",btnBg:"question_btnBg___dyuF",btnSelected:"question_btnSelected__oqg7D",btnNotSelected:"question_btnNotSelected__nm3dS",labelsContainerIndex:"question_labelsContainerIndex__bHRWq"}}},function(a){a.O(0,[49774,92888,40179],function(){var b;return a(a.s=22372)}),_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.