PageSourceSearch

https://cdn.shapermint.com/ssr/v8.48.18/_next/static/chunks/pages/pages/do-not-sell-form-4523aaa9119a78b3.js

js shapermint.com collected 2026-09-24 08:55:23 UTC 6,016 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6359],{53575:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pages/do-not-sell-form",function(){return s(7595)}])},7595:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return v}});var a,l,n=s(85893),i=s(67294),r=s(52509),o=s(60814),d=s(6304),c=s(83566),u=s(14045),m=s.n(u),h=s(75693);let y=async(e,t)=>{try{await fetch(e,{headers:new Headers({Accept:"text/plain; charset=utf-8"}),mode:"no-cors",method:"POST",body:new FormData(t)}).then(e=>{if(!e.ok)throw Error(String(e.status));return e.json()})}catch(e){throw h.Yd.error("[services][submitForm]: ",e),e}};(a=l||(l={})).UPDATE_FIELD="UPDATE_FIELD",a.ADD_TIMESTAMP="ADD_TIMESTAMP",a.SUBMIT_FORM="SUBMIT_FORM";let p={Timestamp:"",email:"",country:"US",firstName:"",lastName:"",street:"",apt:"",city:"",state:"Alabama",zipCode:"",submitted:!1},_=(e,t)=>{switch(t.type){case"UPDATE_FIELD":return{...e,[t.field]:t.value};case"ADD_TIMESTAMP":{let t=new Date,s=t.getMonth()+"/"+t.getDate()+"/"+t.getFullYear()+" "+t.getHours()+":"+t.getSeconds()+":"+t.getMilliseconds();return{...e,Timestamp:s}}case"SUBMIT_FORM":return{...e,submitted:!0};default:return e}};var f=s(22390),x=e=>{let{postUrl:t}=e,[s,a]=(0,i.useState)([]),{formState:u,updateFieldValue:x,updateComboFieldValue:v,handleFormSubmit:b}=function(){let[e,t]=i.useReducer(_,p);return{formState:e,handleFormSubmit:e=>s=>{s.cancelable&&s.preventDefault(),t({type:l.ADD_TIMESTAMP}),y(e,document.forms.namedItem("do-not-sell")).then(()=>{t({type:l.SUBMIT_FORM})}).then(()=>{t({type:l.SUBMIT_FORM})}).catch(e=>h.Yd.error("[doNotSellForm]: ",e.message))},updateFieldValue:e=>s=>{t({type:l.UPDATE_FIELD,field:e,value:s})},updateComboFieldValue:e=>s=>{t({type:l.UPDATE_FIELD,field:e,value:s.target.value})}}}();return(0,i.useEffect)(()=>{var e;a(null===(e=f.PO.filter(e=>{if(e.code===u.country)return e.states})[0])||void 0===e?void 0:e.states)},[u.country]),(0,n.jsx)("div",{className:m().background,children:(0,n.jsxs)("form",{onSubmit:b(t),className:m().container,id:"do-not-sell",children:[(0,n.jsx)("div",{className:m().fullWidth,children:(0,n.jsx)(r.I.Simple,{id:"email",label:"Email Address",name:"entry.12985320",required:"Please, you must enter an email",inputType:"email",value:u.email,placeholder:"[email protected]",onChange:x("email")})}),(0,n.jsxs)("div",{className:m().fullWidth,children:[(0,n.jsxs)("div",{className:m().mandatoryLabel,children:[(0,n.jsx)(o.x,{id:"country",variant:"label",weight:"demi",htmlFor:"country",style:{fontSize:"16px",lineHeight:"24px"},children:"Location"}),(0,n.jsx)("div",{className:m().mandatory,children:"*"})]}),(0,n.jsx)("select",{onChange:v("country"),value:u.country,className:m().optionsSelect,name:"entry.597724419",id:"country",children:f.Td.map((e,t)=>(0,n.jsx)("option",{disabled:"---"===e,value:e,children:f.od[e]||"---"},"country-".concat(t)))})]}),(0,n.jsxs)("div",{className:m().halfWidth,children:[(0,n.jsx)(r.I.Simple,{id:"firstName",name:"entry.1840332517",label:"First Name",placeholder:"Enter your name",required:"Please, you must enter a first name",value:u.firstName,onChange:x("firstName")}),(0,n.jsx)(r.I.Simple,{id:"lastName",name:"entry.1340557660",label:"Last Name",required:"Please, you must enter a last name",placeholder:"Enter your last name",value:u.lastName,onChange:x("lastName")})]}),(0,n.jsx)("div",{className:m().fullWidth,children:(0,n.jsx)(r.I.Simple,{required:"Please, you must enter an address",id:"street",name:"entry.243296138",label:"Street Address Or P.O. Box",placeholder:"e.g 3707 Liberty St",value:u.street,onChange:x("street")})}),(0,n.jsx)("div",{className:m().fullWidth,children:(0,n.jsx)(r.I.Simple,{id:"apt",name:"entry.440538261",label:"Apt., Suite Or Floor",placeholder:"Enter your address",value:u.apt,onChange:x("apt")})}),(0,n.jsx)("div",{className:m().fullWidth,children:(0,n.jsx)(r.I.Simple,{id:"city",name:"entry.1696954022",required:"Please, you must enter a city",label:"City",placeholder:"e.g Austin",value:u.city,onChange:x("city")})}),(0,n.jsxs)("div",{className:m().halfWidth,children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:m().mandatoryLabel,children:[(0,n.jsx)(o.x,{variant:"label",weight:"demi",htmlFor:"state",style:{fontSize:"16px",lineHeight:"24px"},children:"State"}),(0,n.jsx)("div",{className:m().mandatory,children:"*"})]}),(0,n.jsx)("select",{onChange:v("state"),value:u.state,className:m().optionsSelect,name:"entry.2114551024",id:"state",children:null==s?void 0:s.map((e,t)=>(0,n.jsx)("option",{value:e,children:e||"---"},"state-".concat(t)))})]}),(0,n.jsx)(r.I.Simple,{id:"zipCode",name:"entry.364931929",required:"Please, you must enter a zip code",label:"Zip Code",placeholder:"Enter your zip code",value:u.zipCode,onChange:x("zipCode")})]}),(0,n.jsx)("div",{className:m().submitButtonContainer,children:(0,n.jsx)(d.Z,{text:"SUBMIT",onClick:e=>e,type:"submit",className:m().submitButton})}),u.submitted&&(0,n.jsxs)("div",{className:m().successMessage,children:[(0,n.jsx)("div",{className:m().icon,children:(0,n.jsx)(c.J.Actions.Check,{fill:"white"})}
1),(0,n.jsx)("div",{children:"Thank you for contacting us. We have received your request and will process it."})]})]})})};function v(){return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(x,{postUrl:"https://docs.google.com/forms/d/e/1FAIpQLScI51htCng4biJoefw-yNiETFmdFuTgfJcD4uIqzbDCONlldQ/formResponse"})})}},14045:function(e){e.exports={background:"styles_background__m4ler",submitButtonContainer:"styles_submitButtonContainer__w8PGV",submitButton:"styles_submitButton__Vt5VX",formField:"styles_formField__SWu42",mandatoryLabel:"styles_mandatoryLabel__TJt9C",mandatory:"styles_mandatory__pnt_s",container:"styles_container__k2Xco",halfWidth:"styles_halfWidth__9mQQa",optionsSelect:"styles_optionsSelect__S_zcV",icon:"styles_icon__PPyWz",successMessage:"styles_successMessage__KGjqc",inputCountry:"styles_inputCountry__VbPVZ",fullWidth:"styles_fullWidth__w_hmm"}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=53575)}),_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.