PageSourceSearch

https://nintendosupply.com/_next/static/chunks/pages/contact-us-8d2453622aeb1416.js

js nintendosupply.com collected 2026-10-03 00:57:24 UTC 6,847 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[455],{6481:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return z},default:function(){return contact_us}});var r=n(29),i=n(7794),o=n.n(i),a=n(9521),l=a.ZP.button.withConfig({displayName:"styles__Wrapper",componentId:"sc-2atkl6-0"})(["display:block;width:100%;background-color:var(--button-filled-link-color);height:100%;cursor:pointer;border:none;&:disabled{background-color:#333333;cursor:unset;& div{color:#888888;}}"]),c=a.ZP.div.withConfig({displayName:"styles__Body",componentId:"sc-2atkl6-1"})(["display:flex;width:100%;height:100%;justify-content:center;align-items:center;"]),s=a.ZP.img.withConfig({displayName:"styles__Icon",componentId:"sc-2atkl6-2"})(["display:block;width:24px;height:24px;margin-right:8px;"]),d=a.ZP.div.withConfig({displayName:"styles__Text",componentId:"sc-2atkl6-3"})(["font-size:16px;font-weight:500;color:#FFFFFF;-webkit-user-select:none;-ms-user-select:none;user-select:none;"]),u=n(5893),ButtonFilled_ButtonFilled=function(e){return(0,u.jsx)(l,{disabled:e.disabled,onClick:function(){var t;return null===(t=e.onClick)||void 0===t?void 0:t.call(e)},children:(0,u.jsxs)(c,{children:[e.iconPath&&(0,u.jsx)(s,{src:e.iconPath}),(0,u.jsx)(d,{children:e.text})]})})},h=n(7294),p=a.ZP.textarea.withConfig({displayName:"styles__Wrapper",componentId:"sc-1j6dxoo-0"})(["width:100%;height:100%;background-color:var(--text-area-background-color);border:none;border-radius:0;caret-color:var(--text-area-caret-color);color:var(--text-area-color);padding:var(--text-area-padding);font-size:var(--text-area-font-size);line-height:var(--text-area-line-height);resize:none;&::placeholder{font-size:var(--text-area-font-size);line-height:var(--text-area-line-height);color:var(--text-area-placeholder-color);}"]),f=(0,h.forwardRef)(function(e,t){return(0,u.jsx)(p,{ref:t,required:e.required,placeholder:e.placeholder,onChange:function(){var t;return null===(t=e.onChange)||void 0===t?void 0:t.call(e)}})});f.displayName="TextArea";var m=a.ZP.input.withConfig({displayName:"styles__Wrapper",componentId:"sc-1e1mrjt-0"})(["width:100%;height:100%;padding:var(--text-field-padding);font-size:var(--text-field-font-size);line-height:var(--text-field-line-height);background-color:var(--text-field-background-color);color:var(--text-field-color);caret-color:var(--text-field-caret-color);border:none;border-radius:0;&::placeholder{font-size:var(--text-field-font-size);line-height:var(--text-field-line-height);color:var(--text-field-placeholder-color);}"]),x=(0,h.forwardRef)(function(e,t){return(0,u.jsx)(m,{ref:t,type:e.type,required:e.required,placeholder:e.placeholder,value:e.value,onChange:function(){var t;return null===(t=e.onChange)||void 0===t?void 0:t.call(e)}})});x.displayName="TextField";var v=n(3815),g=n(4759),b=n(2920),_=a.ZP.div.withConfig({displayName:"contact-us__Wrapper",componentId:"sc-hmbmdf-0"})(["margin:0 auto;padding:16px;max-width:800px;@media only screen and (min-width:1024px){padding:16px 24px;}"]),w=a.ZP.h1.withConfig({displayName:"contact-us__H1",componentId:"sc-hmbmdf-1"})(["font-size:var(--h1-font-size-s);font-weight:var(--h1-font-weight);line-height:var(--h1-line-height);color:var(--primary-font-color);@media only screen and (min-width:1024px){font-size:var(--h1-font-size-l);}"]),y=a.ZP.p.withConfig({displayName:"contact-us__P",componentId:"sc-hmbmdf-2"})(["margin-top:16px;font-size:18px;font-weight:400;line-height:1.5;color:var(--article-body-color);"]),C=a.ZP.form.withConfig({displayName:"contact-us__Form",componentId:"sc-hmbmdf-3"})(["display:flex;flex-direction:column;gap:8px;margin-top:16px;"]),j=a.ZP.div.withConfig({displayName:"contact-us__MessageWrapper",componentId:"sc-hmbmdf-4"})(["width:100%;height:150px;"]),N=a.ZP.div.withConfig({displayName:"contact-us__EmailWrapper",componentId:"sc-hmbmdf-5"})(["width:100%;height:44px;"]),k=a.ZP.div.withConfig({displayName:"contact-us__SubjectWrapper",componentId:"sc-hmbmdf-6"})(["width:100%;height:44px;"]),P=a.ZP.select.withConfig({displayName:"contact-us__SubjectSelect",componentId:"sc-hmbmdf-7"})(["width:100%;height:100%;padding:var(--text-field-padding);font-size:var(--text-field-font-size);line-height:var(--text-field-line-height);background-color:var(--text-field-background-color);color:var(--text-field-color);caret-color:var(--text-field-caret-color);border:none;border-radius:0;border-right:13px solid transparent;"]),F=a.ZP.div.withConfig({displayName:"contact-us__SubmitButtonWrapper",componentId:"sc-hmbmdf-8"})(["width:100%;height:44px;"]),I=[{text:"Advertising",value:"Advertising"},{text:"Editorial / Factual Errors",value:"Editorial / Factual Errors"},{text:"Employment / Freelance / Contributions",value:"Employment / Freelance / Contributions"},{text:"General Inquiries",value:"General Inquiries"},{text:"News Tips / Press Releases",value:"News Tips / Press Releases"},{text:"Sponsored Content / Guest Posts",value:"Sponsored Content / Guest Posts"},{text:"Website Feedback",value:"Website Feedback"}],z=!0,contact_us=function(e){var t=(0,h.useRef)(null),n=(0,h.useRef)(null),i=(0,h.useRef)(null),a=(0,h.useRef)(null);function _handleOnSubmit(){return(_handleOnSubmit=(0,r.Z)(o().mark(function _callee(e){var t,r,l,c;return o().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(e.preventDefault(),!(!n.current||!i.current||!a.current)){o.next=3;break}return o.abrupt("return");case 3:return c={email:n.current.value,subject:i.current.value,message:a.current.value},o.next=6,v.R.contactUsSubmissionRepository.save(c);case 6:b.Am.success("Message received!"),n.current.value="",i.current.value=
1I[0].value,a.current.value="",null===(t=n.current)||void 0===t||t.blur(),null===(r=i.current)||void 0===r||r.blur(),null===(l=a.current)||void 0===l||l.blur();case 13:case"end":return o.stop()}},_callee)}))).apply(this,arguments)}return(0,u.jsx)(g.Z,{children:(0,u.jsxs)(_,{children:[(0,u.jsx)(w,{children:"Contact Us"}),(0,u.jsx)(y,{children:"Need to get in touch with Nintendo Supply?"}),(0,u.jsx)(y,{children:"Please contact us using the submission form below and a member of our team will be in touch with you shortly!"}),(0,u.jsxs)(C,{ref:t,onSubmit:function(e){return function(e){return _handleOnSubmit.apply(this,arguments)}(e)},children:[(0,u.jsx)(N,{children:(0,u.jsx)(x,{ref:n,required:!0,type:"email",placeholder:"Email"})}),(0,u.jsx)(k,{children:(0,u.jsx)(P,{ref:i,children:I.map(function(e){return(0,u.jsx)("option",{value:e.value,children:e.text},e.value)})})}),(0,u.jsx)(j,{children:(0,u.jsx)(f,{ref:a,required:!0,placeholder:"Message"})}),(0,u.jsx)(F,{children:(0,u.jsx)(ButtonFilled_ButtonFilled,{text:"Submit"})})]})]})})}},3673:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact-us",function(){return n(6481)}])}},function(e){e.O(0,[675,759,774,888,179],function(){return e(e.s=3673)}),_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.