{"version":3,"file":"static/chunks/app/(service)/contact/page-4fbc3458af3a7424.js","mappings":"oFAAAA,QAAAC,OAAA,GAAAC,IAAA,CAAAC,EAAAC,IAAA,CAAAD,EAAA,wECgDAE,CAAAA,EAAA,QA1CoB,KAClB,IAAMC,EAAYC,CAAAA,EAAAA,EAAAA,MAAAA,EAA0B,MAyB5C,MAvBAC,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,KAeJF,EAAUG,OAAO,EACnBH,CAAAA,EAAUG,OAAO,CAACC,GAAG,CAAGJ,EAAUG,OAAO,CAACE,OAAO,CAAC,QAAW,EAAI,IAInEC,CAnBuB,KACrB,GAAI,KAAiC,IAA1BC,OAAgBC,KAAK,CAC7BD,OAAeC,KAAK,CAACC,UAAU,OAC3B,CAEL,IAAMC,EAASC,SAASC,aAAa,CAAC,SACtCF,CAAAA,EAAON,GAAG,CAAG,oCACbM,EAAOG,KAAK,CAAG,GACfH,EAAOI,MAAM,CAAG,IAAMP,OAAgBC,KAAK,CAACC,UAAU,GACtDE,SAASI,IAAI,CAACC,WAAW,CAACN,EAC5B,CACF,IASF,EAAG,EAAE,EAGH,GAAAO,EAAAC,IAAA,EAACC,MAAAA,CAAIC,UAAU,mDACb,GAAAH,EAAAI,GAAA,EAACC,KAAAA,CAAGF,UAAU,oEAA2D,WAGzE,GAAAH,EAAAI,GAAA,EAACF,MAAAA,CAAIC,UAAU,yCACb,GAAAH,EAAAI,GAAA,EAACF,MAAAA,CACCC,UAAU,SAEVG,wBAAyB,CAAEC,OArCd,0pBAqCoC,QAK3D","sources":["webpack://_N_E/?33ce","webpack://_N_E/./src/app/(service)/contact/page.tsx"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src2840311551/src/company/src/app/(service)/contact/page.tsx\");\n","\"use client\";\n\nimport { useEffect, useRef } from \"react\";\n\nconst contactIframe = ``;\n\nconst ContactPage = () => {\n const iframeRef = useRef(null);\n\n useEffect(() => {\n const loadTallyEmbed = () => {\n if (typeof (window as any).Tally !== \"undefined\") {\n (window as any).Tally.loadEmbeds();\n } else {\n // Tallyスクリプトがまだ読み込まれていない場合、読み込みを試みる\n const script = document.createElement(\"script\");\n script.src = \"https://tally.so/widgets/embed.js\";\n script.async = true;\n script.onload = () => (window as any).Tally.loadEmbeds();\n document.body.appendChild(script);\n }\n };\n\n // iframeのsrcを設定\n if (iframeRef.current) {\n iframeRef.current.src = iframeRef.current.dataset[\"tallySrc\"] || \"\";\n }\n\n // Tallyの埋め込みを読み込む\n loadTallyEmbed();\n }, []);\n\n return (\n
\n

\n お問い合わせ\n

\n
\n \n
\n
\n );\n};\n\nexport default ContactPage;\n"],"names":["Promise","resolve","then","__webpack_require__","bind","__webpack_exports__","iframeRef","useRef","useEffect","current","src","dataset","loadTallyEmbed","window","Tally","loadEmbeds","script","document","createElement","async","onload","body","appendChild","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","div","className","jsx","h1","dangerouslySetInnerHTML","__html"],"sourceRoot":""}