PageSourceSearch

https://aceinna.com/_next/static/chunks/pages/promotion-a47f43fda50db26a2553.js

js aceinna.com collected 2026-09-24 09:18:34 UTC 14,678 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9759],{95318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},20862:function(e,t,n){var r=n(50008);function o(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}e.exports=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=a?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}},50008:function(e){function t(n){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(n)}e.exports=t},28546:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return r.Z},createChainedFunction:function(){return o.Z},createSvgIcon:function(){return a.Z},debounce:function(){return i.Z},deprecatedPropType:function(){return s},isMuiElement:function(){return c.Z},ownerDocument:function(){return u.Z},ownerWindow:function(){return l.Z},requirePropFactory:function(){return p},setRef:function(){return f.Z},unstable_useId:function(){return b.Z},unsupportedProp:function(){return m},useControlled:function(){return d.Z},useEventCallback:function(){return h.Z},useForkRef:function(){return Z.Z},useIsFocusVisible:function(){return v.Z}});var r=n(93871),o=n(82568),a=n(63786),i=n(79437);function s(e,t){return function(){return null}}var c=n(83711),u=n(30626),l=n(80713);function p(e){return function(){return null}}var f=n(34236);function m(e,t,n,r,o){return null}var d=n(22775),h=n(55192),Z=n(17294),b=n(95001),v=n(24896)},2108:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(28546)},56876:function(e,t,n){"use strict";var r=n(91229),o=n(38347),a=n(74047),i=n(52700),s=n(4706),c=n(8127),u=n(44102),l=n(20775),p=n(26265),f=n(67294),m=n(81395),d=n(5917),h=n(72063),Z=n(18362),b=n(80366),v=n(47559),y=n(8070),g=n(17812),x=n(22829),w=n(21727),k=n(14670),N=f.createElement;function C(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var S={success:m.Z,warning:w.Z,error:h.Z,info:Z.Z},F=function(e){(0,c.Z)(n,e);var t=C(n);function n(){var e;(0,a.Z)(this,n);for(var i=arguments.length,c=new Array(i),u=0;u<i;u++)c[u]=arguments[u];return e=t.call.apply(t,[this].concat(c)),(0,p.Z)((0,s.Z)(e),"state",{open:!1}),(0,p.Z)((0,s.Z)(e),"handleClose",(function(t,n){"clickaway"!==n&&(e.props.close(),e.setState({open:!1}))})),(0,p.Z)((0,s.Z)(e),"SnackbarTemp",(function(t){var n=e.props.classes,a=(t.className,t.message),i=t.onClose,s=t.variant,c=(0,o.Z)(t,["className","message","onClose","variant"]),u=S[s];return N(x.Z,(0,r.Z)({className:n[s],"aria-describedby":"client-snackbar",message:N("span",{id:"client-snackbar",className:n.message},N(u,{className:[n.icon,n.iconVariant].join(" ")}),a),action:[N(g.Z,{key:"close","aria-label":"Close",color:"inherit",className:n.close,onClick:i},N(b.Z,{className:n.icon}))]},c))})),e}return(0,i.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.open,n=e.type,r=e.message;return this.state.open=t,N(d.Z,{anchorOrigin:{vertical:"top",horizontal:"center"},open:t,autoHideDuration:3e3,onClose:this.handleClose},N(this.SnackbarTemp,{onClose:this.handleClose,variant:n,message:r}))}}]),n}(f.Component);t.Z=(0,k.Z)((function(e){return{success:{backgroundColor:v.Z[600]},error:{backgroundColor:e.palette.error.dark},info:{backgroundColor:e.palette.primary.dark},warning:{backgroundColor:y.Z[700]},icon:{fontSize:20},iconVariant:{opacity:.9,marginRight:e.spacing(1)},message:{display:"flex",alignItems:"center"}}}))(F)},42430:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});var r=function(e){var t=e.action,n=e.category,r=e.label,o=e.value;window.gtag("event",t,{event_category:n,event_label:r,value:o})}},36443:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r="LOAD",o=function(e){return{type:r,data:e}};t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r:return{data:t.data};default:return e}}},32970:function(e,t,n){"use strict";
1var r=n(14890),o=n(30496),a=n(36443),i=(0,r.combineReducers)({payment:a.Z,form:o.Z}),s=(0,r.createStore)(i);t.Z=s},13838:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return B}});var r=n(809),o=n.n(r),a=n(92447),i=n(74047),s=n(52700),c=n(4706),u=n(8127),l=n(44102),p=n(20775),f=n(26265),m=n(67294),d=n(33664),h=n(32970),Z=n(14670),b=n(8237),v=n(81318),y=n(41749),g=n(78758),x=(n(96486),n(91229)),w=n(38347),k=n(6455),N=n(50349),C=n(30553),S=n(13258),F=n(282),R=n(39803),T=n(97602),_=m.createElement;function P(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,p.Z)(e);if(t){var o=(0,p.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}var I=function(e){(0,u.Z)(n,e);var t=P(n);function n(){var e;(0,i.Z)(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return e=t.call.apply(t,[this].concat(o)),(0,f.Z)((0,c.Z)(e),"state",{submitting:!1}),(0,f.Z)((0,c.Z)(e),"renderCheckbox",(function(t){var n=t.input,r=t.label;return _("div",null,_(C.Z,{control:_(S.Z,{classes:{root:e.props.classes.checkbox},checked:!!n.value,onChange:n.onChange}),label:r}))})),(0,f.Z)((0,c.Z)(e),"renderTextField",(function(t){var n=t.label,r=t.multiline,o=t.rows,a=t.input,i=t.meta,s=i.touched,c=i.invalid,u=i.error,l=(0,w.Z)(t,["label","multiline","rows","input","meta"]);
1return _(R.Z,(0,x.Z)({className:e.props.classes.textField,label:n,placeholder:n,multiline:!!r,rows:o,error:s&&c,helperText:s&&u,variant:"outlined",FormHelperTextProps:{classes:{error:e.props.classes.error}},InputLabelProps:{classes:{outlined:e.props.classes.inpuOutlined}},InputProps:{classes:{input:e.props.classes.input,inputMultiline:e.props.classes.inputMultiline}}},a,l))})),(0,f.Z)((0,c.Z)(e),"submit",(function(t){!1 in e.props&&(e.state.submitting=!0),e.props.handleSubmit(t)})),e}return(0,s.Z)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.state.submitting!==e.refresh&&this.setState({submitting:e.refresh})}},{key:"render",value:function(){var e=this.props,t=(e.handleSubmit,e.pristine),n=(e.reset,e.classes),r=e.type,o=this.state.submitting,a=_("form",{onSubmit:this.submit,className:n.form},_("p",{className:n.interest},"Yes! I am interesting in hosting a space weather antenna."),_(y.Z,{container:!0},_(y.Z,{item:!0,xs:12},_("div",{className:r?"":n.inputGroup},_(y.Z,{item:!0,xs:12,sm:6,className:r?"":n.inputList},_(k.Z,{name:"first",component:this.renderTextField,label:"First Name*"})),_(y.Z,{item:!0,xs:12,sm:6},_(k.Z,{name:"last",component:this.renderTextField,label:"Last Name*"}))),_("div",{className:r?"":n.inputGroup},_(y.Z,{item:!0,xs:12,sm:6,className:r?"":n.inputList},_(k.Z,{name:"email",component:this.renderTextField,label:T.v.post.email+"*"})),_(y.Z,{item:!0,xs:12,sm:6},_(k.Z,{name:"phone",component:this.renderTextField,label:T.v.post.phone}))),_("div",{className:r?"":n.inputGroup},_(y.Z,{item:!0,xs:12,sm:6,className:r?"":n.inputList},_(k.Z,{name:"address",component:this.renderTextField,label:"Address*"})),_(y.Z,{item:!0,xs:12,sm:6},_(k.Z,{name:"city",component:this.renderTextField,label:"City*"}))),_("div",{className:r?"":n.inputGroup},_(y.Z,{item:!0,xs:12,sm:6,className:r?"":n.inputList},_(k.Z,{name:"state",component:this.renderTextField,label:"State*"})),_(y.Z,{item:!0,xs:12,sm:6},_(k.Z,{name:"zip",component:this.renderTextField,label:"Zip*"}))))),_("div",{className:n.btnGroup},_(F.Z,{className:n.btnSubmit,classes:{root:n.btnSubmit,disabled:n.disabled},type:"submit",disabled:t||o},T.v.post.send)));return"en"===T.v.lang?a:zhForm}}]),n}(m.Component),O=(0,N.Z)({form:"MaterialUiForm",initialValues:{receiveNewsletter:!0},validate:function(e){var t={};return[{name:"first",label:"First Name"},{name:"last",label:"Last Name"},{name:"city",label:"City"},{name:"state",label:"State"},{name:"country",label:"Country"},{name:"email",label:T.v.post.email}].forEach((function(n){e[n.name]||(t[n.name]="".concat(T.v.post.error).concat(n.label))})),e.email&&!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(e.email)&&(t.email=T.v.post.notice),t}})((0,Z.Z)((function(e){return{root:{width:"100%"},form:{display:"flex",flexWrap:"wrap"},textField:{marginBottom:"24px",width:"100%"},message:(0,f.Z)({paddingLeft:"20px"},e.breakpoints.down("xs"),{paddingLeft:"0!important"}),error:{position:"absolute",bottom:"-20px"},btnGroup:(0,f.Z)({display:"flex",justifyContent:"center",width:"100%"},e.breakpoints.down("xs"),{justifyContent:"center"}),btnSubmit:{height:"50px",width:"110px",border:"none",color:"#fff",backgroundColor:"#cc9533","&:hover":{textDecoration:"none",backgroundColor:"hsla(38, 60%, 50%, 0.8)"}},disabled:{color:"hsla(0, 0%, 0%, 0.87)",backgroundColor:"hsla(38, 60%, 50%, 0.8)"},input:{padding:"15.5px 14px"},inputMultiline:{padding:"0 0 9px 0"},inpuOutlined:{transform:"translate(14px, 18px) scale(1)"},checkbox:{paddingTop:0,paddingBottom:0},inputGroup:(0,f.Z)({display:"flex"},e.breakpoints.down("xs"),{display:"initial"}),inputList:(0,f.Z)({marginRight:"20px"},e.breakpoints.down("xs"),{marginRight:0}),interest:(0,f.Z)({fontSize:"20px",marginTop:0,textAlign:"center"},e.breakpoints.down("sm"),{marginTop:"20px",width:"100%"})}}))(I)),L=n(56876),A=n(79298);function E(){return(E=(0,a.Z)(o().mark((function e(t){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,A.Z)({url:"/promotion",method:"post",data:t});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var j=function(e){return E.apply(this,arguments)},D=n(42430),z=m.createElement;function M(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,p.Z)(e);if(t){var o=(0,p.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}var W=function(e){(0,u.Z)(n,e);var t=M(n);function n(){var e;(0,i.Z)(this,n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return e=t.call.apply(t,[this].concat(o)),(0,f.Z)((0,c.Z)(e),"state",{open:!1,type:"success",message:T.v.message.success,keywords:"",refresh:!1}),(0,f.Z)((0,c.Z)(e),"handleClose",(function(){e.setState({open:!1})})),e}return(0,s.Z)(n,[{key:"showResults",value:function(e){var t=this;this.setState({refresh:!0}),e.type="Support",e.first&&(e["name.first"]=e.first,e["name.last"]=e.last),j(e).then((function(e){t.setState({open:!0,type:e.status,message:e.msg}),200===e.code&&(t.refs.postForm.ref.current.reset(),t.setState({refresh:!1}),window&&window._hmt||D.B({action:"Forms Submitted",category:"promotion",label:"promotion"}))}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.classes,r=t.menu;return z("div",{className:n.root},z(b.Z,{menuList:r}),z("div",{id:"container",className:n.box},z(y.Z,{container:!0,className:n.container},z(y.Z,{item:!0,xs:12,sm:9},z("div",{className:n.textInfo},z("div",null,"Interested in making money by hosting a small space weather station?",z("br",null),z("br",null)),z("div",null,"ACEINNA will pay $1000 dollars a year for our small antenna to be placed on homes with a clear view of the sky. The antenna will be part of a nationwide network used to provide data to scientists and robotics researchers.",z("br",null),z("br",null)),z("div",null,"ACEINNA will have licensed contractors install the antenna along the eaves of your roof in a location with clear visibility to the sky. The installation will take just a few hours. The small antenna are only 8\u201d in diameter (see picture).",z("br",null),z("br",null)),"For more details please fill in the information below and we will c
1ontact you.")),z(y.Z,{className:n.imagBox,item:!0,xs:12,sm:3},z("img",{style:{maxWidth:"100%"},src:"/static/antenna.png"}))),z(y.Z,{container:!0,className:n.container},z(y.Z,{item:!0,xs:12,sm:12,md:6},z("img",{style:{width:"100%"},src:"/static/card.png"})),z(y.Z,{item:!0,xs:12,sm:12,md:6,className:n.form},z(d.zt,{store:h.Z},z(L.Z,{close:this.handleClose,open:this.state.open,type:this.state.type,message:this.state.message}),z(O,{ref:"postForm",refresh:this.state.refresh,onSubmit:function(t){return e.showResults(t)}}))))),z(v.Z,{menuList:r}))}}],[{key:"getInitialProps",value:function(){var e=(0,a.Z)(o().mark((function e(t){var n,r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.req,e.next=3,(0,g.Z)(n);case 3:return r=e.sent,e.abrupt("return",{menu:r});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}]),n}(m.Component),B=(0,Z.Z)((function(e){var t;return{root:{width:"100%"},container:(t={maxWidth:"1000px",margin:"0 auto",color:"#333",fontSize:"16px"},(0,f.Z)(t,e.breakpoints.up("xs"),{width:"95%",fontSize:"14px",paddingBottom:"25px"}),(0,f.Z)(t,e.breakpoints.up("sm"),{minWidth:"600px",width:"95%"}),(0,f.Z)(t,e.breakpoints.up("md"),{minWidth:"900px",width:"95%"}),t),box:{marginTop:"20px"},imagBox:{display:"flex",justifyContent:"center",alignItems:"center"},textInfo:{paddingTop:"20px",paddingRight:"20px",fontSize:"20px",textIndent:"0"},form:(0,f.Z)({paddingLeft:"30px"},e.breakpoints.down("sm"),{paddingLeft:"0"})}}))(W)},41609:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/promotion",function(){return n(13838)}])}},function(e){e.O(0,[3714,8422,4035,2736,3322,4347,1818,7947,9774,2888,179],(function(){return t=41609,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.