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AAK,EAAAd,CAAA,CAAAe,CAAA,EACA,KAAAf,GAAA,CAAAA,EACA,KAAAe,KAAA,CAAAA,CACA,CAWA,SAAAC,IAAA,CA5BA/Q,EAAAgR,QAAA,UAAAjB,CAAA,EACA,IAAAkB,EAAA,MAAAC,UAAAnS,MAAA,IACA,GAAAmS,UAAAnS,MAAA,GACA,QAAA6N,EAAA,EAAwBA,EAAAsE,UAAAnS,MAAA,CAAsB6N,IAC9CqE,CAAA,CAAArE,EAAA,GAAAsE,SAAA,CAAAtE,EAAA,CAGAuD,EAAApC,IAAA,KAAA8C,EAAAd,EAAAkB,IACA,IAAAd,EAAApR,MAAA,EAAAqR,GACAN,EAAAS,EAEA,EAOAM,EAAAM,SAAA,CAAAT,GAAA,YACA,KAAAX,GAAA,CAAAqB,KAAA,WAAAN,KAAA,CACA,EACA9Q,EAAA8L,KAAA,WACA9L,EAAAqR,OAAA,IACArR,EAAAsR,GAAA,IACAtR,EAAAuR,IAAA,IACAvR,EAAAwR,OAAA,IACAxR,EAAAyR,QAAA,IAIAzR,EAAA0R,EAAA,CAAAX,EACA/Q,EAAA2R,WAAA,CAAAZ,EACA/Q,EAAA4R,IAAA,CAAAb,EACA/Q,EAAA6R,GAAA,CAAAd,EACA/Q,EAAA8R,cAAA,CAAAf,EACA/Q,EAAA+R,kBAAA,CAAAhB,EACA/Q,EAAAgS,IAAA,CAAAjB,EACA/Q,EAAAiS,eAAA,CAAAlB,EACA/Q,EAAAkS,mBAAA,CAAAnB,EAEA/Q,EAAAmS,SAAA,UAAA1N,CAAA,EAAsC,UAEtCzE,EAAAoS,OAAA,UAAA3N,CAAA,EACA,+CACA,EAEAzE,EAAAqS,GAAA,YAA4B,WAC5BrS,EAAAsS,KAAA,UAAAC,CAAA,EACA,6CACA,EACAvS,EAAAwS,KAAA,YAA6B","sources":["webpack://_N_E/?22d4","webpack://_N_E/./src/components/forms/hook.tsx","webpack://_N_E/./src/components/forms/ui/label.tsx","webpack://_N_E/./src/components/forms/ui/field-block.tsx","webpack://_N_E/./src/components/forms/ui/input.tsx","webpack://_N_E/./src/components/forms/ui/select.tsx","webpack://_N_E/./src/components/forms/ui/textarea.tsx","webpack://_N_E/./src/components/forms/ui/validation-error.tsx","webpack://_N_E/./src/components/parts/box/index.tsx","webpack://_N_E/./src/components/parts/button/index.tsx","webpack://_N_E/./src/components/parts/checkbox/index.tsx","webpack://_N_E/./src/components/parts/column-m60-service/index.tsx","webpack://_N_E/./src/components/parts/link-button/index.tsx","webpack://_N_E/./src/components/parts/contact/index.tsx","webpack://_N_E/./src/components/parts/figure/index.tsx","webpack://_N_E/./src/components/parts/flex/index.tsx","webpack://_N_E/./src/components/parts/heading/index.tsx","webpack://_N_E/./src/components/parts/lead/index.tsx","webpack://_N_E/./src/components/parts/section-440/index.tsx","webpack://_N_E/./src/components/parts/section-none-w/index.tsx","webpack://_N_E/./src/components/templates/request/index.tsx","webpack://_N_E/./src/components/utils/appSlice.ts","webpack://_N_E/./src/hooks/use-tracker.ts","webpack://_N_E/./src/hooks/useScrollObserve.tsx","webpack://_N_E/./src/hooks/useThanksForAppRouter.ts","webpack://_N_E/./node_modules/process/browser.js","webpack://_N_E/"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src646638164/src/lawgue-website-v2/src/components/templates/request/index.tsx\")","import React, { useCallback } from 'react'\nimport { FormResponse } from '../utils/form'\nimport { useRouter } from 'next/navigation'\n\nconst createThanksPath = (to: string) => {\n const path = location.pathname.split('/')\n if (path[0] === '') {\n path.splice(0, 1)\n }\n if (path[path.length - 1] === '') {\n path.splice(path.length - 1, 1)\n }\n const p = `${to}?from=${path.join('-')}`\n return p\n}\n\n// isSuccessCondition関数の型定義を追加\ntype SuccessConditionFunc = (json: any, res: Response) => boolean\n\nexport const useSendApi = (\n apiPath: string,\n thanksPagePath: string,\n isSuccessCondition?: SuccessConditionFunc\n) => {\n const router = useRouter()\n const [isSendError, setIsSendError] = React.useState(false)\n const sendApi = useCallback(\n async (body: string) => {\n setIsSendError(false)\n\n try {\n const res = await fetch(\n `${process.env.NEXT_PUBLIC_FORM_ENDPOINT}${apiPath}`,\n {\n method: 'POST',\n mode: 'cors',\n body,\n }\n )\n const json = (await res.json()) as FormResponse\n\n // Default success condition\n let isSuccess = json.success && res.status === 200\n\n // Custom success condition if provided\n if (isSuccessCondition) {\n isSuccess = isSuccessCondition(json, res)\n }\n\n if (!isSuccess) {\n console.error('API Error:', json)\n throw new Error(\n 'API response indicates failure: ' + JSON.stringify(json)\n )\n }\n\n location.href = createThanksPath(thanksPagePath)\n } catch (e) {\n setIsSendError(true)\n }\n },\n [apiPath, thanksPagePath]\n )\n\n return {\n isSendError,\n sendApi,\n }\n}\n","import React, { ComponentPropsWithoutRef } from 'react'\n\nexport const Label = ({\n labelText,\n htmlFor,\n required,\n ...rest\n}: ComponentPropsWithoutRef<'label'> & {\n labelText: string\n htmlFor: string\n required?: boolean\n}) => {\n return (\n \n {labelText}\n {required && *}\n \n )\n}\n","import { Label } from './label'\nimport { ValidationError } from './validation-error'\nimport { FieldError } from 'react-hook-form'\nimport { memo } from 'react'\n\nexport const FieldBlock = memo(\n ({\n children,\n htmlFor,\n labelText,\n required,\n error,\n }: {\n children: React.ReactNode\n labelText: string\n htmlFor: string\n required?: boolean\n error?: FieldError\n }) => {\n const inputClass = error ? 'error_input' : 'done_input'\n return (\n
\n
\n )\n }\n)\n\nFieldBlock.displayName = 'FieldBlock'\n","import React, { ComponentPropsWithRef } from 'react'\nimport { UseFormRegisterReturn } from 'react-hook-form'\n\nexport const Input = ({\n register,\n ...rest\n}: ComponentPropsWithRef<'input'> & { register: UseFormRegisterReturn }) => {\n return (\n <>\n \n \n )\n}\n","import React, { ComponentPropsWithRef } from 'react'\nimport { UseFormRegisterReturn } from 'react-hook-form'\nimport clsx from 'clsx'\n\nexport const Select = ({\n register,\n options,\n ...rest\n}: ComponentPropsWithRef<'select'> & {\n register: UseFormRegisterReturn\n options: { label: string; value: string }[]\n}) => {\n return (\n
\n \n \n {options.map((option) => {\n return (\n \n )\n })}\n \n
\n )\n}\n","import React, { ComponentPropsWithRef } from 'react'\nimport { UseFormRegisterReturn } from 'react-hook-form'\n\nexport const Textarea = ({\n register,\n ...rest\n}: ComponentPropsWithRef<'textarea'> & { register: UseFormRegisterReturn }) => {\n return (\n \n )\n}\n","import React from 'react'\nimport { FieldError } from 'react-hook-form'\n\nexport const ValidationError = ({ error }: { error?: FieldError }) => {\n if (!error) return null\n return (\n

\n {error.message}\n

\n )\n}\n","import React, { memo } from 'react'\n\ntype BoxType = {\n children: React.ReactNode\n patent?: boolean\n thumnail?: boolean\n boxsize?:\n | 'column_w280'\n | 'sec_inner_w293'\n | 'sec_inner_w620'\n | 'column_w450'\n | 'sec_detail'\n bgcolor?:\n | 'primary'\n | 'darken'\n | 'textblack'\n | 'white'\n | 'secondary'\n | 'darkgray'\n boxstyle?: 'big_thumnail' | 'simple'\n customstyle?: string\n}\n\nexport const Box: React.FC = memo(\n ({\n children,\n patent = false,\n thumnail = false,\n boxsize,\n bgcolor = '[transparent]',\n boxstyle = 'simple',\n customstyle\n }) => {\n return (\n \n {patent && (\n \n )}\n {children}\n \n )\n }\n)\n\nBox.displayName = 'Box'\n","import React, { memo } from 'react'\n\ntype ButtonProps = {\n type: 'button' | 'submit'\n size?: 'small' | 'medium' | 'large' | 'xlarge'\n bg?: 'visible' | 'hidden'\n border?: 'none' | ''\n full?: 'full' | 'nonefull'\n label: string\n isLoading?: boolean\n onClick?: () => void\n}\n\nconst sizesWidth = (size: 'small' | 'medium' | 'large' | 'xlarge') => {\n let button = ''\n switch (size) {\n case 'medium':\n button = 'button__medium'\n break\n case 'small':\n button = 'button__small'\n break\n case 'large':\n button = 'button__large'\n break\n case 'xlarge':\n button = 'button__xlarge'\n break\n default:\n break\n }\n\n return button\n}\n\nconst bgswitch = (bg: 'visible' | 'hidden') => {\n let button = ''\n switch (bg) {\n case 'visible':\n button = 'button__visible'\n break\n case 'hidden':\n button = 'button__hidden'\n break\n default:\n break\n }\n\n return button\n}\n\nconst fullsWidth = (full: 'full' | 'nonefull') => {\n let button = ''\n switch (full) {\n case 'full':\n button = 'button__full'\n break\n case 'nonefull':\n button = 'button__nonefull'\n break\n default:\n break\n }\n\n return button\n}\n\nexport const Button = memo(\n ({\n type = 'button',\n size = 'medium',\n bg = 'visible',\n border = '',\n full = 'nonefull',\n label,\n isLoading,\n }: ButtonProps) => {\n return (\n \n {label}\n \n )\n }\n)\n\nButton.displayName = 'Button'\n","import React, { memo } from 'react'\n\ntype CheckboxProps = {\n htmlfor: string\n register: any\n require?: any\n required?: any\n}\n\nexport const Checkbox = memo(\n ({ htmlfor, register, required }: CheckboxProps) => {\n return (\n <>\n \n \n )\n }\n)\nCheckbox.displayName = 'Checkbox'\n","import React, { memo } from 'react'\n\ntype ColumnM60Type = {\n children: React.ReactNode\n customstyle?: string\n}\n\nexport const ColumnM60Service: React.FC = memo(\n ({ children, customstyle }) => {\n return (\n \n {children}\n \n )\n }\n)\n\nColumnM60Service.displayName = 'ColumnM60Service'\n","import React, { memo } from 'react'\nimport Link from 'next/link'\n\ntype LinkButtonProps = {\n href?: string\n size?: 'small' | 'medium' | 'large' | 'xlarge'\n bg?: 'visible' | 'hidden'\n full?: 'full' | 'nonefull'\n border?: 'none' | ''\n more?: boolean\n label: string\n blank?: boolean\n onClick?: () => void\n}\n\nconst sizeswitch = (size: 'small' | 'medium' | 'large' | 'xlarge', more) => {\n let button = ''\n\n switch (size) {\n case 'medium':\n button = `linkbutton__medium ${more === true ? 'button__more' : ''}`\n break\n case 'small':\n button = 'linkbutton__small'\n break\n case 'large':\n button = 'linkbutton__large'\n break\n case 'xlarge':\n button = 'linkbutton__xlarge'\n break\n default:\n break\n }\n\n return button\n}\n\nconst bgswitch = (bg: 'visible' | 'hidden') => {\n let button = ''\n switch (bg) {\n case 'visible':\n button = 'button__visible'\n break\n case 'hidden':\n button = 'button__hidden'\n break\n default:\n break\n }\n\n return button\n}\n\nconst fullswitch = (full: 'full' | 'nonefull') => {\n let button = ''\n switch (full) {\n case 'full':\n button = 'button__full'\n break\n case 'nonefull':\n button = 'button__nonefull'\n break\n default:\n break\n }\n\n return button\n}\n\nexport const LinkButton: React.FC = memo(\n ({\n href = '/',\n size = 'medium',\n bg = 'visible',\n full = 'nonefull',\n border = '',\n more = false,\n blank = false,\n label,\n onClick,\n }: {\n href?: string\n size?: 'small' | 'medium' | 'large' | 'xlarge'\n bg?: 'visible' | 'hidden'\n full?: 'full' | 'nonefull'\n border?: string\n more?: boolean\n blank?: boolean\n label?: string\n onClick?: () => void\n }) => {\n return (\n <>\n {blank === true ? (\n \n {label}\n \n ) : (\n <>\n {href.indexOf('#') === 0 ? (\n \n {label}\n \n ) : (\n \n {\n onClick?.()\n }}\n >\n {label}\n \n \n )}\n \n )}\n \n )\n },\n)\n\nLinkButton.displayName = 'LinkButton'\n","'use client'\n\nimport React, { memo } from 'react'\nimport { LinkButton } from '../link-button'\nimport clsx from 'clsx'\nimport { useCLickEvent } from '@/hooks/use-tracker'\n\ntype ContactType = {\n bg: string\n}\n\nexport const Contact: React.FC = memo(({ bg }) => {\n const { pushGa4ClickEvent } = useCLickEvent()\n return (\n \n
\n
\n

\n お気軽にお問い合わせ・ご相談ください\n

\n \n
\n
\n {\n pushGa4ClickEvent({\n eventCategory: 'contact',\n eventUi: 'footer-button'\n })\n }}\n />\n
\n
\n \n )\n})\n\nContact.displayName = 'Contact'\n","import React, { memo } from 'react'\n\ntype FigreType = {\n images: string\n thumnail: boolean\n active?: string\n}\n\nexport const Figure: React.FC = memo(\n ({ images = 'img_thumnail.jpg', thumnail, active }) => {\n return (\n <>\n {thumnail ? (\n <>\n
\n \"\"\n
\n \n ) : (\n
\n \"\"\n
\n )}\n \n )\n }\n)\n\nFigure.displayName = 'Figure'\n","import React, { memo } from 'react'\n\ntype FlexType = {\n flex?: string\n children?: React.ReactNode\n}\n\nexport const Flex: React.FC = memo(({ children, flex }) => {\n return
{children}
\n})\nFlex.displayName = 'Flex'\n","import React, { memo } from 'react'\n\ntype HeadingType = {\n Tag?: 'h1' | 'h2' | 'h3'\n title?: string\n size?:\n | 'text-xxs'\n | 'text-xs'\n | 'text-sm'\n | 'text-base'\n | 'text-lg'\n | 'text-xl'\n | 'text-2xl'\n | 'text-3xl'\n | 'text-4xl'\n | 'text-4xlh'\n | 'text-5xl'\n | 'text-6xl'\n | 'text-sm lg:text-base'\n | 'text-lg lg:text-2xl'\n | 'text-lg lg:text-3xl'\n | 'text-lg lg:text-4xl'\n | 'text-base lg:text-2xl'\n spsize?:\n | 'text-xxs lg:text-base'\n | 'text-xs lg:text-base'\n | 'text-sm lg:text-base'\n | 'text-base lg:text-lg'\n | 'text-base lg:text-xl'\n | 'text-base lg:text-2xl'\n | 'text-lg lg:text-2xl'\n | 'text-lg lg:text-3xl'\n | 'text-lg lg:text-4xl'\n | 'text-xl lg:text-3xl'\n | 'text-xl lg:text-4xl'\n textColor?:\n | 'primary'\n | 'darken'\n | 'textblack'\n | 'white'\n | 'secondary'\n | 'darkgray'\n textalign?: 'text-left' | 'text-center' | 'text-right'\n margin?: string\n id?: string\n children?: React.ReactNode | string\n}\n\nexport const Heading: React.FC = memo(\n ({\n children,\n Tag,\n size,\n spsize,\n textColor,\n textalign,\n margin,\n id,\n ...props\n }) => {\n const Component = Tag as keyof JSX.IntrinsicElements\n return (\n \n )\n }\n)\n\nHeading.displayName = 'Heading'\n","import React, { memo } from 'react'\n\ntype LeadType = {\n Tag?: 'p' | 'span'\n size?:\n | 'text-xxs'\n | 'text-xs'\n | 'text-sm'\n | 'text-lg'\n | 'text-xl'\n | 'text-base'\n | 'text-4xl'\n | 'text-5xl'\n spsize?:\n | 'text-xs'\n | 'text-xxs lg:text-base'\n | 'text-xs lg:text-base'\n | 'text-sm lg:text-base'\n | 'text-base lg:text-lg'\n | 'text-base lg:text-xl'\n | 'text-base lg:text-2xl'\n | 'text-lg lg:text-2xl'\n | 'text-xl lg:text-3xl'\n textalign?: 'text-left' | 'text-center' | 'text-right'\n sptextalign?:\n | 'text-left lg:text-center'\n | 'text-center lg:text-center'\n | 'text-right lg:text-center'\n | 'text-left lg:text-left'\n | 'text-center lg:text-left'\n | 'text-right lg:text-left'\n | 'text-left lg:text-right'\n | 'text-center lg:text-right'\n | 'text-right lg:text-right'\n fontweight?: 'font-bold' | 'font-normal' | ''\n margin?: string\n leading?: string\n textcolor?:\n | 'primary'\n | 'darken'\n | 'textblack'\n | 'white'\n | 'secondary'\n | 'darkgray'\n spmargin?: '' | ''\n lead: string\n}\n\nexport const Lead: React.FC = memo(\n ({\n Tag = 'p',\n size,\n spsize,\n textalign,\n sptextalign,\n lead,\n fontweight,\n margin,\n leading,\n spmargin,\n textcolor,\n ...props\n }) => {\n const Component = Tag as keyof JSX.IntrinsicElements\n\n return (\n \n )\n }\n)\n\nLead.displayName = 'Lead'\n","import React, { memo } from 'react'\n\ntype Section440Type = {\n padding?: string\n ObserveState?: boolean\n children: React.ReactNode\n}\n\nexport const Section440: React.FC = memo(\n ({\n padding = 'py-40 lg:bp-40 pb-10 lg:pt-8 pt-10 px-8',\n ObserveState,\n children\n }) => {\n return (\n \n
{children}
\n \n )\n }\n)\n\nSection440.displayName = 'Section440'\n","import React, { memo } from 'react'\n\ntype SectionNoneWProps = {\n illust?: string\n bg?: string\n padding?: string\n children: React.ReactNode\n customstyle?: string\n}\n\nexport const SectionNoneW: React.FC = memo(\n ({\n padding = 'py-40 sm:py-10 px-6 lg:px-0',\n bg,\n illust,\n children,\n customstyle\n }) => {\n return (\n
\n
\n {illust ? (\n
\n {children}\n {illust && (\n \"\"\n )}\n
\n ) : (\n <>{children}\n )}\n
\n
\n )\n }\n)\n\nSectionNoneW.displayName = 'SectionNoneW'\n","'use client'\nimport React, { Fragment, memo, useCallback, useState, useEffect } from 'react'\nimport Link from 'next/link'\nimport { SubmitHandler, useForm } from 'react-hook-form'\nimport { SectionNoneW } from '../../parts/section-none-w'\nimport { Section440 } from '../../parts/section-440'\nimport useScrollObserve from '../../../hooks/useScrollObserve'\nimport { Box } from '../../parts/box'\nimport { Button } from '../../parts/button'\nimport { Contact } from '../../parts/contact'\nimport { Figure } from '../../parts/figure'\nimport { Flex } from '../../parts/flex'\nimport { Heading } from '../../parts/heading'\nimport { Select } from '@/components/forms/ui/select'\nimport { FieldBlock } from '@/components/forms/ui/field-block'\nimport { Input } from '@/components/forms/ui/input'\nimport {\n email,\n literal,\n minLength,\n object,\n optional,\n Output,\n regex,\n string\n} from 'valibot'\nimport { useSendApi } from '@/components/forms/hook'\nimport { useSelector } from 'react-redux'\nimport { selectUrlState } from '@/components/utils/appSlice'\nimport { valibotResolver } from '@hookform/resolvers/valibot'\nimport { Textarea } from '@/components/forms/ui/textarea'\nimport { Checkbox } from '@/components/parts/checkbox'\nimport { ValidationError } from '@/components/forms/ui/validation-error'\nimport { Lead } from '@/components/parts/lead'\nimport { PaginatedServices } from '@/types/newt/service'\nimport { Department } from '@/types/newt/department'\nimport { useThanksForAppRouter } from '@/hooks/useThanksForAppRouter'\nimport { Opportunity } from '@/types/newt/opportunity'\nimport { ColumnM60Service } from '@/components/parts/column-m60-service'\n\ntype ContactFormProps = {\n departments: Department[]\n opportunities: Opportunity[]\n}\n\nconst lawgueRequestSchema = object({\n salesforceId: string(),\n company: string([minLength(1, '貴社名/貴所名をご入力ください')]),\n lastname: string([minLength(1, '必須項目です')]),\n firstname: string([minLength(1, '必須項目です')]),\n email: string([\n minLength(1, '必須項目です'),\n email('入力されたメールアドレスに間違いがあります')\n ]),\n phone_number: string([\n minLength(1, '必須項目です'),\n regex(/^\\d{2,4}-\\d{1,4}-\\d{4}$/, '電話番号の形式を確認してください')\n ]),\n select_form1: string([minLength(1, '必須項目です')]),\n department: optional(string()),\n select_form2: string([minLength(1, '必須項目です')]),\n select_form3: string([minLength(1, '必須項目です')]),\n textarea: optional(string()),\n checkbox: literal(true, 'チェックを入れてください'),\n first_view_route: optional(string()),\n last_view_route: optional(string())\n})\n\nexport type LawgueRequestSchema = Output\n\nconst ContactForm: React.FC = ({\n departments,\n opportunities\n}) => {\n const { sendApi, isSendError } = useSendApi(\n '/lawgue-request',\n '/thanks_download/'\n )\n const [isButtonClicked, setIsButtonClicked] = useState(false)\n const urlSelector = useSelector(selectUrlState)\n const { ObserveState } = useScrollObserve()\n const [firstViewRoute, setFirstViewRoute] = useState('')\n const [lastViewRoute, setLastViewRoute] = useState('')\n const { pushThanks } = useThanksForAppRouter()\n const [localError, setLocalError] = useState(false)\n\n useEffect(() => {\n const fullPath = `${window.location.pathname}${window.location.search}`\n\n if (!sessionStorage.getItem('firstViewURL')) {\n sessionStorage.setItem('firstViewURL', fullPath)\n }\n\n setFirstViewRoute(sessionStorage.getItem('firstViewURL') || '/')\n setLastViewRoute(fullPath)\n }, [])\n\n const handleOnSubmit: SubmitHandler = useCallback(\n async (data) => {\n const params = new URLSearchParams(window.location.search)\n const formData = {\n ...data,\n first_view_route: firstViewRoute,\n last_view_route: lastViewRoute,\n utm_params: Object.fromEntries(params)\n }\n // console.log('Submitting form data:', formData)\n setIsButtonClicked(true)\n setLocalError(false)\n try {\n await sendApi(JSON.stringify(formData))\n pushThanks('thanks_download')\n } catch (error) {\n console.error('Sending API request failed:', error)\n setLocalError(true)\n } finally {\n setIsButtonClicked(false)\n }\n },\n [sendApi, urlSelector, firstViewRoute, lastViewRoute, pushThanks]\n )\n\n const {\n register,\n handleSubmit,\n formState: { errors: formatError, isLoading }\n } = useForm>({\n resolver: valibotResolver(lawgueRequestSchema)\n })\n\n return (\n \n \n ダウンロードはこちら\n \n \n
\n
\n \n \n \n
\n \n \n \n
\n
\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n ({\n label: dept.title,\n value: dept.title\n }))\n ]}\n />\n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n ({\n label: opt.label,\n value: opt.value\n }))}\n />\n \n
\n
\n
\n \n \n \n
\n
\n \n \n
\n \n
\n
\n \n
\n \n {(isSendError || localError) && (\n
\n

\n エラーが起こったため送信することができませんでした\n

\n

\n お手数ですがもう一度ご送信ください。\n
\n それでも送信できない場合は、すこし時間を置いてお試しくださいませ。\n

\n
\n )}\n \n )\n}\n\ntype RequestDetailTemplateProps = {\n relatedService: PaginatedServices | null\n departments: Department[]\n opportunities: Opportunity[]\n}\n\nexport const RequestDetailTemplate = memo(\n ({\n relatedService,\n departments,\n opportunities\n }: RequestDetailTemplateProps) => {\n return (\n <>\n
\n
\n \n \n \n {`3分でわかるLAWGUE製品資料`}\n \n
\n
\n \n
\n
\n

\n LAWGUEのことを3分で手軽に理解できる資料です。\n
\n 「LAWGUEってなに?」「なにが出来るの?」「どんな導入効果があるの?」など、初めての方にもLAWGUEをわかりやすく説明した資料です\n

\n
\n
\n

目次

\n
FRAIMのご紹介
\n
文書関連業務における課題
\n
LAWGUEの提供価値
\n
ご導入に関するご案内
\n
LAWGUEの機能紹介
\n
\n
\n
\n \n
ダウンロード資料のイメージ
\n
\n

\n LAWGUEを活用して文書作成を効率化したい!\n
\n という方は、ぜひご一読ください。\n

\n
\n
\n
\n \n \n そのほかのお役立ち資料\n \n \n {relatedService &&\n relatedService.items &&\n relatedService.items.map((val, i) => {\n if (i >= 2) return null\n return (\n \n \n \n \n
\n
\n \n {val.title}\n \n
\n
\n \n
\n \n
\n \n )\n })}\n \n \n \n
\n \n
\n \n \n )\n }\n)\n\nRequestDetailTemplate.displayName = 'RequestDetailTemplate'\n","import { createSlice } from '@reduxjs/toolkit'\nimport { RootState } from '../../store/store'\n\ntype urlState = {\n url: string\n}\n\nconst initialState: urlState = {\n url: '',\n}\n\nconst urlSlice = createSlice({\n name: 'url',\n initialState: initialState,\n reducers: {\n urlReducer(state, action) {\n state.url = action.payload\n },\n },\n})\n\nexport const { urlReducer } = urlSlice.actions\n\nexport const selectUrlState = (state: RootState) => state.url.url\n\nexport default urlSlice.reducer\n","interface GtmDataLayer {\n push: (obj: any) => void\n}\n\nexport const getDataLayer = (): GtmDataLayer => {\n return (\n (window as Window & { dataLayer?: GtmDataLayer }).dataLayer ?? {\n push: () => {},\n }\n )\n}\n\nexport const useCLickEvent = () => {\n return {\n pushGa4ClickEvent: (eventObj: {\n eventCategory: string // 何をクリックしたかなど\n eventUi: string // UI\n }) => {\n try {\n getDataLayer().push({\n event: 'internal_action',\n eventAction: 'click',\n ...eventObj,\n })\n } catch (e: any) {\n // NOP\n }\n },\n }\n}\n","'use client'\nimport React, { useState, useEffect } from 'react'\n\nconst useScrollObserve = () => {\n const [ObserveState, setObserveState] = useState(false)\n const ScrollObserve = () => {\n const option = {\n rootMargin: '0%',\n threshold: 0,\n }\n\n const IO = new IntersectionObserver((entry) => {\n entry.forEach((e) => {\n setObserveState(e.isIntersecting)\n })\n }, option)\n\n const observe_item = document.querySelectorAll('[data-observe-item]')\n observe_item.forEach((t) => {\n IO.observe(t)\n })\n }\n\n useEffect(() => {\n ScrollObserve()\n }, [])\n\n return { ObserveState }\n}\n\nexport default useScrollObserve\n","'use client'\n\nimport { useCallback } from 'react'\nimport { usePathname } from 'next/navigation'\n\nexport const useThanksForAppRouter = () => {\n const pathname = usePathname()\n\n const pushThanks = useCallback(\n (to: string) => {\n const currentPath = pathname || '/'\n const path = currentPath.split('/').filter(Boolean)\n const fromPath = path.length > 0 ? path.join('-') : 'home'\n const newUrl = `/${to}/?from=${fromPath}`\n\n window.location.href = newUrl\n },\n [pathname]\n )\n\n return { pushThanks }\n}\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n"],"names":["Promise","resolve","then","__webpack_require__","bind","createThanksPath","path","location","pathname","split","splice","length","to","concat","join","useSendApi","apiPath","thanksPagePath","isSuccessCondition","useRouter","isSendError","setIsSendError","React","sendApi","useCallback","body","res","fetch","process","method","mode","json","isSuccess","success","status","console","error","JSON","stringify","href","e","Label","labelText","htmlFor","required","rest","param","jsx_runtime","jsxs","label","className","jsx","span","FieldBlock","memo","children","inputClass","div","ValidationError","displayName","Input","register","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","Fragment","input","Select","options","clsx","select","map","option","value","Textarea","textarea","defaultValue","p","message","Box","patent","thumnail","boxsize","bgcolor","boxstyle","customstyle","img","src","alt","sizesWidth","button","size","bgswitch","bg","fullsWidth","full","Button","type","border","isLoading","disabled","Checkbox","htmlfor","name","id","a","target","ColumnM60Service","sizeswitch","more","fullswitch","LinkButton","blank","onClick","Link","rel","indexOf","legacyBehavior","Contact","pushGa4ClickEvent","useCLickEvent","section","data-observe-item","h2","eventCategory","eventUi","Figure","images","active","figure","Flex","flex","Heading","Tag","spsize","textColor","textalign","margin","props","Component","dangerouslySetInnerHTML","__html","Lead","sptextalign","lead","fontweight","leading","spmargin","textcolor","Section440","padding","ObserveState","SectionNoneW","illust","lawgueRequestSchema","object","salesforceId","string","company","minLength","lastname","firstname","email","phone_number","regex","select_form1","department","optional","select_form2","select_form3","checkbox","literal","first_view_route","last_view_route","ContactForm","departments","opportunities","isButtonClicked","setIsButtonClicked","useState","urlSelector","useSelector","selectUrlState","useScrollObserve","firstViewRoute","setFirstViewRoute","lastViewRoute","setLastViewRoute","pushThanks","useThanksForAppRouter","localError","setLocalError","useEffect","fullPath","window","search","sessionStorage","getItem","setItem","handleOnSubmit","data","params","URLSearchParams","formData","utm_params","Object","fromEntries","handleSubmit","formState","errors","formatError","useForm","resolver","valibotResolver","form","onSubmit","fieldset","placeholder","autoComplete","dept","title","opt","require","br","RequestDetailTemplate","relatedService","decoding","width","height","srcSet","sizes","figcaption","items","val","i","slug","eyecatch","urlSlice","createSlice","initialState","url","reducers","urlReducer","state","action","payload","actions","__webpack_exports__","ZP","reducer","getDataLayer","_window_dataLayer","dataLayer","push","event","eventAction","eventObj","Z","setObserveState","ScrollObserve","IO","IntersectionObserver","entry","forEach","isIntersecting","rootMargin","threshold","observe_item","querySelectorAll","observe","t","usePathname","currentPath","filter","Boolean","fromPath","newUrl","cachedSetTimeout","cachedClearTimeout","currentQueue","module","exports","defaultSetTimout","defaultClearTimeout","runTimeout","fun","setTimeout","call","clearTimeout","queue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","len","run","runClearTimeout","marker","Item","array","noop","nextTick","args","arguments","prototype","apply","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","binding","cwd","chdir","dir","umask"],"sourceRoot":""}