PageSourceSearch

https://www.navis.co.jp/_next/static/chunks/09vu84amo~s.m.js

js navis.co.jp collected 2026-10-06 04:15:21 UTC 5,703 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,30137,e=>{"use strict";var t=e.i(43476),a=e.i(71645),l=e.i(53145),i=e.i(94814),r=e.i(62201),s=e.i(46932),o=e.i(88653),n=e.i(75157),c=e.i(11771);let m=[{id:"fullName",label:"貴社名 / お名前",placeholder:"山田 太郎 / やまだ たろう",type:"text"},{id:"email",label:"メールアドレス",placeholder:"[email protected]",type:"email"},{id:"phone",label:"日中ご連絡可能な電話番号",placeholder:"+91 90876 54321",type:"tel"},{id:"message",label:"お問い合わせ内容",placeholder:"ここにメッセージを入力してください",type:"textarea"}],d="提出する",p="メッセージを送信しました!",x="お問い合わせいただきありがとうございます。担当者より折り返しご連絡いたします。",u=r.object({fullName:r.string().trim().min(2,"お名前は2文字以上で入力してください").max(100,"お名前は100文字以内で入力してください"),email:r.string().trim().min(1,"メールアドレスは必須です").email("正しいメールアドレスの形式で入力してください"),phone:r.string().trim().min(1,"電話番号は必須です").transform(e=>e.replace(/[\s\-().]/g,"")).pipe(r.string().regex(/^\+?\d{7,15}$/,"正しい電話番号の形式で入力してください (例: 09012345678)")),message:r.string().trim().min(10,"メッセージは10文字以上で入力してください").max(2e3,"メッセージは2000文字以内で入力してください")});e.s(["default",0,({className:e})=>{let[r,f]=(0,a.useState)(!1),[h,g]=(0,a.useState)(!1),b=(0,l.useForm)({resolver:(0,i.zodResolver)(u),defaultValues:{fullName:"",email:"",phone:"",message:""}}),y=async e=>{let t=new URLSearchParams({name:e.fullName,email:e.email,phone_no:e.phone,comments:e.message,websitePage:"Home Page (JP)",source:"japan"});g(!0);try{let e=await fetch("https://script.google.com/macros/s/AKfycbxSZowZN75SIVoawiH-apvtjeTCCveG2yfz2rKVtMz4a-SoKmYuware7zgcryYBd-DJQg/exec",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:t.toString()});if(!e.ok)throw Error(`Server error: ${e.status}`);f(!0),setTimeout(()=>{f(!1),b.reset()},4e3)}catch(e){console.error("Form submission failed:",e)}finally{g(!1)}};return(0,t.jsx)("div",{className:(0,n.cn)("border-navis-divider bg-contact-form-bg flex min-h-128 w-full flex-col items-start justify-center rounded-2xl border p-6 lg:min-h-144 lg:max-w-xl lg:gap-2.5 lg:px-14 lg:pt-9 lg:pb-10",e),children:(0,t.jsx)(o.AnimatePresence,{mode:"wait",children:r?(0,t.jsxs)(s.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.5,ease:[.16,1,.3,1]},className:"flex flex-col items-center justify-center gap-4 py-12 text-center w-full",children:[(0,t.jsx)("div",{className:"bg-primary/10 text-primary flex h-16 w-16 animate-bounce items-center justify-center rounded-full",children:(0,t.jsx)("svg",{className:"h-8 w-8",fill:"none",stroke:"currentColor",strokeWidth:2.5,viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"})})}),(0,t.jsx)("h3",{className:"text-text-main font-sans text-2xl font-semibold capitalize",children:p}),(0,t.jsx)("p",{className:"text-text-muted max-w-sm font-sans text-base leading-relaxed font-medium",children:x})]},"success"):(0,t.jsxs)(s.motion.form,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},onSubmit:b.handleSubmit(y),className:"flex w-full flex-col items-start gap-9",children:[m.map(e=>(0,t.jsxs)("div",{className:"flex w-full flex-col items-start gap-1 lg:max-w-lg",children:[(0,t.jsx)("label",{className:"text-text-main font-sans text-lg md:text-[20px] font-semibold leading-none capitalize",children:e.label}),(0,t.jsx)("div",{className:"relative w-full",children:"textarea"===e.type?(0,t.jsx)("textarea",{...b.register(e.id),placeholder:e.placeholder,className:"border-border-divider focus-visible:border-primary min-h-18 w-full resize-none rounded-none border-0 border-b bg-transparent px-0 py-1.5 font-sans text-lg md:text-[20px] font-medium text-black/50 leading-none transition-colors placeholder:text-lg placeholder:font-medium placeholder:text-black/30 focus-visible:outline-none focus-visible:ring-0 capitalize"}):(0,t.jsx)("input",{...b.register(e.id),type:e.type,placeholder:e.placeholder,className:"border-border-divider focus-visible:border-primary h-12 w-full rounded-none border-0 border-b bg-transparent px-0 py-1.5 font-sans text-lg md:text-[20px] font-medium text-black/50 leading-none transition-colors placeholder:text-lg placeholder:font-medium placeholder:text-black/30 focus-visible:outline-none focus-visible:ring-0 capitalize"})}),b.formState.errors[e.id]&&(0,t.jsx)("span",{className:"text-primary mt-1 font-sans text-xs",children:b.formState.errors[e.id]?.message})]},e.id)),(0,t.jsx)("div",{className:"mt-1 w-full lg:w-auto",children:(0,t.jsx)(c.default,{type:"submit",disabled:h,variant:"primary",className:"flex items-center justify-center gap-2  border-0 px-6 py-2 h-11 text-base font-medium text-white transition-transform hover:scale-105 active:scale-95 disabled:cursor-not-allowed disabled:opacity-70 lg:w-auto",children:h?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("svg",{className:"h-4 w-4 animate-spin text-white",viewBox:"0 0 24 24",fill:"none",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"})]}),"送信中..."]}):d})})]},"form")})})}],30137)}]);

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.