1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[189],{3254:function(e,o,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/goodsearch/extension/uninstall",function(){return a(1991)}])},4763:function(e,o){"use strict";o.Z={src:"/_next/static/media/logo-goodsearch.04dd534f.svg",height:107,width:728,blurWidth:0,blurHeight:0}},3345:function(e,o,a){"use strict";var s=a(3454);let n={envName:s.env.DOCKER_ENV,subdomainPrefix:"",goodsearchRootDomain:"goodsearch.com",hostnameGoodsearch:"www.goodsearch.com",hostnameGoodshop:"www.goodshop.com",goodsearchBasePath:"",rubyApiDomain:"api.goodsearch.com",rubyWebDomain:"www.goodshop.com",useMockData:!!Number("0"),apiToken:s.env.API_TOKEN,goodsearchGtmId:"GTM-MWQXMXW",goodsearchGTagId:"G-P44LWYGVMR",goodshopGtmId:"GTM-M5GWD3",goodshopGtagId:"G-1KGNX38DH5",algoliaAppId:"9CJV9GXLAZ",algoliaSearchApiKey:"077438a798141ef83ab29af3351d7522",goodsearchExtensionChromeId:s.env.GOODSEARCH_CHROME_EXTENSION_ID,sendGridApiKey:s.env.SEND_GRID_API_KEY,goodsearchFeedbackToEmail:s.env.GOODSEARCH_FEEDBACK_TO_EMAIL,goodsearchFeedbackFromEmail:s.env.GOODSEARCH_FEEDBACK_FROM_EMAIL,goodsearchCloudflareZoneId:s.env.GOODSEARCH_CLOUDFLARE_ZONE_ID,goodsearchCloudflareAuthEmail:s.env.GOODSEARCH_CLOUDFLARE_AUTH_EMAIL,goodsearchCloudflareApiKey:s.env.GOODSEARCH_CLOUDFLARE_API_KEY,goodsearchCloudflareAccountId:s.env.CLOUDFARE_ACCOUNT_ID,goodsearchCloudflareFirewallListId:s.env.CLOUDFARE_FIREWALL_LIST_ID,goodsearchDefaultImage:"https://www.goodsearch.com/cloudinary/image/upload/v1675148407/goodsearch/goodsearch-og.png",LOG_LEVEL_CONSOLE:s.env.LOG_LEVEL_CONSOLE||"info",LOG_LEVEL_SENTRY:s.env.LOG_LEVEL_SENTRY||"warn"};o.Z=n},1991:function(e,o,a){"use strict";a.r(o),a.d(o,{__N_SSG:function(){return g},default:function(){return uninstall_page}});var s=a(5893),n=a(7294),t=a(1664),r=a.n(t),c=a(4763),i=a(3345),l=a(276),d=a(3463),h=a.n(d),m=a(7190),u=a.n(m),g=!0,uninstall_page=function(e){let{extensionChromeId:o}=e,[a,t]=(0,n.useState)(!1),d=(0,l.Z)(h(),u()),handleSubmit=async e=>{e.preventDefault();let o=e.target,a={tags:Array.from(o["tags[]"]).filter(e=>e.checked).map(e=>e.checked?e.value:""),message:o.message.value},s=await fetch(o.action,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}),n=await s.json();s.ok&&!0===n.success&&t(!0)};return(0,s.jsx)("div",{className:d.container,children:(0,s.jsx)("div",{className:d.main,children:(0,s.jsxs)("div",{className:d.rows,children:[(0,s.jsx)("div",{className:d.rowsColumnLeft,children:(0,s.jsx)("div",{className:d.pageImage})}),(0,s.jsx)("div",{className:d.rowsColumnRight,children:(0,s.jsxs)("div",{className:d.content,children:[a?(0,s.jsx)("div",{className:d.formSuccess,children:(0,s.jsx)("h1",{children:"Weâre sorry to see you go!"})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("p",{className:d.caption,children:["Let us know how",(0,s.jsx)(r(),{as:"/",href:"/goodsearch",title:"Goodsearch",children:(0,s.jsx)("img",{className:d.contentLogo,src:c.Z.src,alt:"Goodsearch"})}),"can improve"]}),(0,s.jsxs)("form",{className:d.form,onSubmit:handleSubmit,method:"post",action:"https://".concat(i.Z.hostnameGoodsearch,"/api/goodsearch/extension/uninstall"),children:[(0,s.jsx)("ul",{className:d.formTags,children:["Better search results","Earn faster","More features"].map((e,o)=>(0,s.jsxs)("li",{className:d.formTagsChild,children:[(0,s.jsx)("input",{className:d.formTagsChildInput,id:"tag".concat(o),type:"checkbox",name:"tags[]",value:e}),(0,s.jsx)("label",{className:d.formTagsChildLabel,htmlFor:"tag".concat(o),children:e})]},e))}),(0,s.jsx)("div",{className:d.formGroup,children:(0,s.jsx)("textarea",{name:"message",placeholder:"Have something else to add? Let us know.",rows:4,minLength:3})}),(0,s.jsx)("div",{className:d.formGroup,children:(0,s.jsx)("button",{className:d.button,type:"submit",children:"Send"})})]})]}),o&&(0,s.jsxs)("div",{className:d.extension,children:[(0,s.jsx)("p",{className:d.caption,children:"Got deleterâs remorse? Add us back!"}),(0,s.jsx)("a",{href:"https://chrome.google.com/webstore/detail/".concat(o),className:d.extensionLinkChrome,target:"_blank",rel:"noopener noreferrer",title:"Add Goodsearch to Chrome",children:"Add Goodsearch to Chrome"})]})]})})]})})})}},276:function(e,o,a){"use strict";function mergeStyles(e,o){return Object.entries({...e,...o}
1).reduce((a,s)=>{let[n,t]=s;return a[n]=e[n],o&&o[n]&&(a[n]+=" "+o[n]),a},{})}a.d(o,{Z:function(){return mergeStyles}})},3463:function(e){e.exports={container:"d04qjc",main:"a1tfka4a",rows:"a1tfogw0",rowsColumn:"tq566",rowsColumnLeft:"gago8p tq566",rowsColumnRight:"a14htg24 tq566",pageImage:"a1u1yg8l",content:"a16o3xao",contentLogo:"a17klmo1",caption:"xnbjxf",button:"a52l8pd"}},7190:function(e){e.exports={form:"yktp7q",formTags:"a1lxtgk5",formTagsChildInput:"a1pwr621",formTagsChildLabel:"a1pyl2l5",formGroup:"a1sy9ljn",formSuccess:"uoqzkv",extension:"lmtzsf",extensionLink:"bkct19",extensionLinkChrome:"a1b8d6vv bkct19",extensionLinkFirefox:"a1opez68",button:"a73tq26"}}},function(e){e.O(0,[321,774,888,179],function(){return e(e.s=3254)}),_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.