PageSourceSearch

https://nanameue.jp/_next/static/chunks/pages/contact-7846fcf5392bd6b9.js

js nanameue.jp collected 2026-10-02 06:21:47 UTC 6,048 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[335],{1382:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return n(5210)}])},5210:function(e,t,n){"use strict";n.r(t);var a=n(5893),l=n(7294),o=n(4184),c=n.n(o),_=n(4298),s=n.n(_),r=n(9008),i=n.n(r),d=n(8416),m=n(7994),u=n(5787),p=n(1641),f=n(3149),h=n(9330),v=n(6486);let x=e=>{var t,n;let{}=e,[o]=(0,d.bU)(),[_,r]=l.useState(!1),[p,x]=l.useState(null);return l.useEffect(()=>{var e,t;let n=null==window?void 0:null===(e=window.turnstile)||void 0===e?void 0:null===(t=e.render)||void 0===t?void 0:t.call(e,"#turnstile-container",{sitekey:"0x4AAAAAADekNyZ7DESRMg13",theme:"light",appearance:"interaction-only"});x(n)},[]),(0,a.jsxs)(l.Fragment,{children:[(0,a.jsx)(i(),{children:(0,a.jsx)("link",{rel:"preconnect",href:"https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit"})}),(0,a.jsx)(s(),{src:"https://challenges.cloudflare.com/turnstile/v0/api.js",strategy:"beforeInteractive"}),(0,a.jsx)(f.Z,{title:"Contact"}),(0,a.jsxs)("div",{className:"Contact",children:[(0,a.jsx)("div",{className:"Contact__hero",children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("h1",{className:"Contact__hero__h1",children:(0,a.jsx)(h.Z,{children:(0,a.jsx)("span",{children:o("pages.contact.hero.h1")})})}),(0,a.jsx)("p",{className:"Contact__hero__p",children:o("pages.contact.hero.p")})]})}),(0,a.jsx)("form",{className:"Contact__content",onSubmit:e=>{var t,n,a,l,c,_,s,i;e.preventDefault();let d=null==window?void 0:null===(t=window.turnstile)||void 0===t?void 0:null===(n=t.getResponse)||void 0===n?void 0:n.call(t,p);if(!(0,v.isNil)(d)){r(!0);let t=null===(a=null==e?void 0:e.target)||void 0===a?void 0:a.elements;m.kN.get("/api/contact",{name:null===(l=null==t?void 0:t.namedItem("name"))||void 0===l?void 0:l.value,email:null===(c=null==t?void 0:t.namedItem("email"))||void 0===c?void 0:c.value,tel:null===(_=null==t?void 0:t.namedItem("tel"))||void 0===_?void 0:_.value,inquiry:null===(s=null==t?void 0:t.namedItem("inquiry"))||void 0===s?void 0:s.value,message:null===(i=null==t?void 0:t.namedItem("message"))||void 0===i?void 0:i.value,token:d}).then(()=>{var e,t;window.alert(o("pages.contact.content.alert.success")),null==window||null===(e=window.location)||void 0===e||null===(t=e.reload)||void 0===t||t.call(e)}).catch(()=>{window.alert(o("pages.contact.content.alert.error"))}).finally(()=>{r(!1)})}},children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("p",{className:"Contact__content__p",children:o("pages.contact.content.p")}),(0,a.jsxs)("div",{className:"Contact__content__wrapper",children:[(0,a.jsxs)("div",{className:"Contact__content__left",children:[(0,a.jsx)("p",{className:"Contact__content__left__p",dangerouslySetInnerHTML:{__html:o("pages.contact.content.left.p")}}),(0,a.jsx)("iframe",{className:"Contact__content__left__iframe",src:u.zL,allowFullScreen:!1,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"}),(0,a.jsx)("a",{className:"Contact__content__left__a",href:u.Hz,target:"_blank",rel:"nofollow noopener noreferrer",children:o("pages.contact.content.left.a")})]}),(0,a.jsxs)("div",{className:"Contact__content__form",children:[(0,a.jsxs)("label",{className:"Contact__content__form__label",children:[(0,a.jsxs)("p",{className:"Contact__content__form__label__p",children:[o("pages.contact.content.form.name"),(0,a.jsx)("span",{className:"Contact__content__form__label__p__required",children:o("pages.contact.content.form.required")})]}),(0,a.jsx)("input",{type:"text",className:"Contact__content__form__label__input",name:"name",required:!0})]}),(0,a.jsxs)("div",{className:"Contact__content__form__row",children:[(0,a.jsxs)("label",{className:"Contact__content__form__label",children:[(0,a.jsxs)("p",{className:"Contact__content__form__label__p",children:[o("pages.contact.content.form.email"),(0,a.jsx)("span",{className:"Contact__content__form__label__p__required",children:o("pages.contact.content.form.required")})]}),(0,a.jsx)("input",{type:"text",className:"Contact__content__form__label__input",name:"email",required:!0})]}),(0,a.jsxs)("label",{className:"Contact__content__form__label",children:[(0,a.jsx)("p",{className:"Contact__content__form__label__p",children:o("pages.contact.content.form.tel")}),(0,a.jsx)("input",{type:"text",className:"Contact__content__form__label__input",name:"tel"})]})]}),(0,a.jsxs)("label",{className:"Contact__content__form__label",children:[(0,a.jsxs)("p",{className:"Contact__content__form__label__p",children:[o("pages.contact.content.form.inquiry"),(0,a.jsx)("span",{className:"Contact__content__form__label__p__required",children:o("pages.contact.content.form.required")})]}),(0,a.jsxs)("select",{className:"Contact__content__form__label__input Contact__content__form__label__input--select",name:"inquiry",required:!0,children:[(0,a.jsx)("option",{value:"",children:o("pages.contact.content.form.inquiry_placeholder")}),null===(t=o("pages.contact.content.form.inquiry_options"))||void 0===t?void 0:null===(n=t.map)||void 0===n?void 0:n.call(t,(e,t)=>(0,a.jsx)("option",{value:null==e?void 0:e.label,children:null==e?void 0:e.label},t))]})]}),(0,a.jsxs)("label",{className:"Contact__content__form__label",children:[(0,a.jsxs)("p",{className:"Contact__content__form__label__p",children:[o("pages.contact.content.form.message"),(0,a.jsx)("span",{className:"Contact__content__form__label__p__required",children:o("pages.contact.content.form.required")})]}),(0,a.jsx)("textarea",{className:"Contact__content__form__label__input",rows:4,name:"message",required:!0})]}),(0,a.jsx)("div",{id:"turnstile-container"})]}),(0,a.jsx)("div",{className:"Contact__content__buttons",children:(0,a.jsx)("button",{className:c()("Button",{"Button--disabled":_}),children:o("pages.contact.content.form.submit")})})]})]})})]})]})};t.default=x,x.getLayout=function(e){return(0,a.jsx)(p.Z,{children:e})}},4298:function(e,t,n){e.exports=n(699)}},function(e){e.O(0,[16,510,662,744,214,427,409,585,501,774,888,179],function(){return e(e.s=1382)}),_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.