Merge pull request #119 from LaconicNetwork/oriofir/captcha
Oriofir/captcha
This commit is contained in:
commit
c913d4f04a
20308
package-lock.json
generated
Normal file
20308
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -46,6 +46,11 @@
|
||||
"react-device-detect": "^2.2.2",
|
||||
"react-dom": "^18.0.0",
|
||||
"react-fast-marquee": "^1.3.1",
|
||||
<<<<<<< HEAD
|
||||
"react-google-recaptcha": "^2.1.0",
|
||||
"react-google-recaptcha-v3": "^1.10.0",
|
||||
=======
|
||||
>>>>>>> 4a203339c5143fd20a785d9ad1153afb4a02b7fe
|
||||
"react-hook-form": "^7.30.0",
|
||||
"react-mailchimp-subscribe": "^2.1.3",
|
||||
"react-merge-refs": "^1.1.0",
|
||||
@ -89,7 +94,7 @@
|
||||
"stylelint-config-standard": "^25.0.0",
|
||||
"stylelint-config-standard-scss": "^3.0.0",
|
||||
"stylelint-prettier": "^2.0.0",
|
||||
"typescript": "^4.6.3"
|
||||
"typescript": "^4.8.2"
|
||||
},
|
||||
"resolutions": {
|
||||
"@types/react": "~17.0.43"
|
||||
|
||||
@ -4,7 +4,7 @@ const SearchIcon = ({ className }: { className?: string }) => (
|
||||
height={22}
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
{...className}
|
||||
{...(typeof className === 'object' ? className : {})}
|
||||
>
|
||||
<path
|
||||
d="M9.313 16.625A7.312 7.312 0 1 0 9.313 2a7.312 7.312 0 0 0 0 14.625Z"
|
||||
|
||||
@ -1,7 +1,10 @@
|
||||
import { useState } from 'react'
|
||||
import React, { useCallback, useState } from 'react'
|
||||
// eslint-disable-next-line import/no-named-as-default
|
||||
import ReCAPTCHA from 'react-google-recaptcha'
|
||||
import { useGoogleReCaptcha } from 'react-google-recaptcha-v3'
|
||||
import Select from 'react-select'
|
||||
|
||||
import { Container } from '~/components/layout/container'
|
||||
import * as container from '~/components/layout/container'
|
||||
import Section from '~/components/layout/section'
|
||||
import { Button } from '~/components/primitives/button'
|
||||
import Heading from '~/components/primitives/heading'
|
||||
@ -39,6 +42,49 @@ const CustomForm = ({ data }: FormProps) => {
|
||||
const [errorMsg, setErrorMsg] = useState('')
|
||||
const [isFormSent, setIsFormSent] = useState(false)
|
||||
const [isSending, setIsSending] = useState(false)
|
||||
const [notification, setNotification] = useState('')
|
||||
// const reRef = useRef<ReCAPTCHA>()
|
||||
|
||||
const { executeRecaptcha } = useGoogleReCaptcha()
|
||||
|
||||
function submitEnquiryForm(gReCaptchaToken: string) {
|
||||
fetch('/api/inquiry', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
Accept: 'application/json, text/plain, */*',
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify({
|
||||
gRecaptchaToken: gReCaptchaToken
|
||||
})
|
||||
})
|
||||
.then((res) => res.json())
|
||||
.then((res) => {
|
||||
// console.log(res, 'response from backend')
|
||||
if (res?.status === 'success') {
|
||||
setNotification(res?.message)
|
||||
} else {
|
||||
setNotification(res?.message)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
const handleSubmitForm = useCallback(
|
||||
(e: any) => {
|
||||
e.preventDefault()
|
||||
if (!executeRecaptcha) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('Execute recaptcha not yet available')
|
||||
return
|
||||
}
|
||||
executeRecaptcha('enquiryFormSubmit').then((gReCaptchaToken) => {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(gReCaptchaToken, 'response Google reCaptcha server')
|
||||
submitEnquiryForm(gReCaptchaToken)
|
||||
})
|
||||
},
|
||||
[executeRecaptcha]
|
||||
)
|
||||
|
||||
const handleSubmit = async (e: any) => {
|
||||
e.preventDefault()
|
||||
@ -123,10 +169,20 @@ const CustomForm = ({ data }: FormProps) => {
|
||||
onChange={(e) => setText(e.target.value)}
|
||||
></textarea>
|
||||
</label>
|
||||
|
||||
<script
|
||||
src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit"
|
||||
async
|
||||
defer
|
||||
></script>
|
||||
<ReCAPTCHA
|
||||
className="recaptcha"
|
||||
sitekey="6LcJ5LkhAAAAAJ841sJnn6LkwOg-5vt33X-wGEJW"
|
||||
onSubmit={handleSubmitForm}
|
||||
/>
|
||||
<Button size="medium" variant="primary">
|
||||
{data?.formLabelButton}
|
||||
</Button>
|
||||
{notification && <p>{notification}</p>}
|
||||
</form>
|
||||
</div>
|
||||
)
|
||||
@ -135,7 +191,7 @@ const CustomForm = ({ data }: FormProps) => {
|
||||
const Form = ({ data }: DataProps) => {
|
||||
return (
|
||||
<Section className={s['section']} id="contactform">
|
||||
<Container className={s['container']}>
|
||||
<container.Container className={s['container']}>
|
||||
<div className={s['header']}>
|
||||
<Heading as="h2" variant="md">
|
||||
{data?.formHeading}
|
||||
@ -144,7 +200,7 @@ const Form = ({ data }: DataProps) => {
|
||||
</div>
|
||||
<CustomForm data={data} />
|
||||
<div className={s['gradient']} />
|
||||
</Container>
|
||||
</container.Container>
|
||||
</Section>
|
||||
)
|
||||
}
|
||||
|
||||
@ -188,6 +188,12 @@
|
||||
border: none;
|
||||
color: var(--color-white);
|
||||
}
|
||||
|
||||
.recaptcha {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: black;
|
||||
}
|
||||
}
|
||||
|
||||
select {
|
||||
|
||||
@ -1,4 +1,8 @@
|
||||
import { useState } from 'react'
|
||||
import { useCallback, useState } from 'react'
|
||||
// eslint-disable-next-line import/no-named-as-default
|
||||
import ReCAPTCHA from 'react-google-recaptcha'
|
||||
// eslint-disable-next-line import/no-unresolved
|
||||
import { useGoogleReCaptcha } from 'react-google-recaptcha-v3'
|
||||
import Select from 'react-select'
|
||||
|
||||
import Line from '~/components/icons/line'
|
||||
@ -54,8 +58,51 @@ const CustomForm = ({ data }: FormProps) => {
|
||||
const [errorMsg, setErrorMsg] = useState('')
|
||||
const [isFormSent, setIsFormSent] = useState(false)
|
||||
const [isSending, setIsSending] = useState(false)
|
||||
const [notification, setNotification] = useState('')
|
||||
// const reRef = useRef<ReCAPTCHA>()
|
||||
|
||||
const handleSubmit = async (e: any) => {
|
||||
const { executeRecaptcha } = useGoogleReCaptcha()
|
||||
|
||||
function submitEnquiryForm(gReCaptchaToken: string) {
|
||||
fetch('/api/inquiry', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
Accept: 'application/json, text/plain, */*',
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify({
|
||||
gRecaptchaToken: gReCaptchaToken
|
||||
})
|
||||
})
|
||||
.then((res) => res.json())
|
||||
.then((res) => {
|
||||
// console.log(res, 'response from backend')
|
||||
if (res?.status === 'success') {
|
||||
setNotification(res?.message)
|
||||
} else {
|
||||
setNotification(res?.message)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
const handleSubmitForm = useCallback(
|
||||
(e: any) => {
|
||||
e.preventDefault()
|
||||
if (!executeRecaptcha) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('Execute recaptcha not yet available')
|
||||
return
|
||||
}
|
||||
executeRecaptcha('enquiryFormSubmit').then((gReCaptchaToken) => {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(gReCaptchaToken, 'response Google reCaptcha server')
|
||||
submitEnquiryForm(gReCaptchaToken)
|
||||
})
|
||||
},
|
||||
[executeRecaptcha]
|
||||
)
|
||||
|
||||
async function handleSubmit(e: any) {
|
||||
e.preventDefault()
|
||||
|
||||
try {
|
||||
@ -78,6 +125,7 @@ const CustomForm = ({ data }: FormProps) => {
|
||||
role: role
|
||||
}
|
||||
|
||||
// const token = await reRef.current.executeAsync()
|
||||
await fetch(`${process.env.NEXT_PUBLIC_API}/api/inquiry`, {
|
||||
method: 'POST',
|
||||
mode: 'no-cors',
|
||||
@ -190,9 +238,20 @@ const CustomForm = ({ data }: FormProps) => {
|
||||
onChange={(e) => setText(e.target.value)}
|
||||
></textarea>
|
||||
</label>
|
||||
<script
|
||||
src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit"
|
||||
async
|
||||
defer
|
||||
></script>
|
||||
<ReCAPTCHA
|
||||
className="recaptcha"
|
||||
sitekey="6LcJ5LkhAAAAAJ841sJnn6LkwOg-5vt33X-wGEJW"
|
||||
onSubmit={handleSubmitForm}
|
||||
/>
|
||||
<Button size="medium" variant="primary">
|
||||
{data?.contactButtonLabel}
|
||||
</Button>
|
||||
{notification && <p>{notification}</p>}
|
||||
</form>
|
||||
</div>
|
||||
)
|
||||
|
||||
1
tsconfig.tsbuildinfo
Normal file
1
tsconfig.tsbuildinfo
Normal file
File diff suppressed because one or more lines are too long
321
yarn.lock
321
yarn.lock
@ -3497,6 +3497,131 @@ graphql-config@^4.1.0:
|
||||
"@graphql-tools/merge" "^8.2.6"
|
||||
"@graphql-tools/url-loader" "^7.9.7"
|
||||
"@graphql-tools/utils" "^8.6.5"
|
||||
<<<<<<< HEAD
|
||||
"cosmiconfig" "7.0.1"
|
||||
"cosmiconfig-toml-loader" "1.0.0"
|
||||
"minimatch" "4.2.1"
|
||||
"string-env-interpolation" "1.0.1"
|
||||
|
||||
"graphql-executor@0.0.22":
|
||||
"integrity" "sha512-WbKSnSHFn6REKKH4T6UAwDM3mLUnYMQlQLNG0Fw+Lkb3ilCnL3m5lkJ7411LAI9sF7BvPbthovVZhsEUh9Xfag=="
|
||||
"resolved" "https://registry.npmjs.org/graphql-executor/-/graphql-executor-0.0.22.tgz"
|
||||
"version" "0.0.22"
|
||||
|
||||
"graphql-request@^3.4.0 || ^4.0.0", "graphql-request@^4.0.0", "graphql-request@^4.2.0":
|
||||
"integrity" "sha512-uFeMyhhl8ss4LFgjlfPeAn2pqYw+CJto+cjj71uaBYIMMK2jPIqgHm5KEFxUk0YDD41A8Bq31a2b4G2WJBlp2Q=="
|
||||
"resolved" "https://registry.npmjs.org/graphql-request/-/graphql-request-4.2.0.tgz"
|
||||
"version" "4.2.0"
|
||||
dependencies:
|
||||
"cross-fetch" "^3.1.5"
|
||||
"extract-files" "^9.0.0"
|
||||
"form-data" "^3.0.0"
|
||||
|
||||
"graphql-sse@^1.0.1":
|
||||
"integrity" "sha512-xE8AGPJa5X+g7iFmRQw/8H+7lXIDJvSkW6lou/XSSq17opPQl+dbKOMiqraHMx52VrDgS061ZVx90OSuqS6ykA=="
|
||||
"resolved" "https://registry.npmjs.org/graphql-sse/-/graphql-sse-1.1.0.tgz"
|
||||
"version" "1.1.0"
|
||||
|
||||
"graphql-tag@^2.0.0", "graphql-tag@^2.11.0":
|
||||
"integrity" "sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg=="
|
||||
"resolved" "https://registry.npmjs.org/graphql-tag/-/graphql-tag-2.12.6.tgz"
|
||||
"version" "2.12.6"
|
||||
dependencies:
|
||||
"tslib" "^2.1.0"
|
||||
|
||||
"graphql-ws@^5.4.1":
|
||||
"integrity" "sha512-8yYuvnyqIjlJ/WfebOyu2GSOQeFauRxnfuTveY9yvrDGs2g3kR9Nv4gu40AKvRHbXlSJwTbMJ6dVxAtEyKwVRA=="
|
||||
"resolved" "https://registry.npmjs.org/graphql-ws/-/graphql-ws-5.7.0.tgz"
|
||||
"version" "5.7.0"
|
||||
|
||||
"graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0", "graphql@^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0", "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0", "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0", "graphql@^14.0.0 || ^15.0.0 || ^16.0.0", "graphql@^15.0.0", "graphql@^15.0.0 || ^16.0.0", "graphql@^15.4.0 || ^16.0.0", "graphql@^15.7.2 || ^16.0.0", "graphql@^16.3.0", "graphql@>=0.11 <=16", "graphql@14 - 16":
|
||||
"integrity" "sha512-xm+ANmA16BzCT5pLjuXySbQVFwH3oJctUVdy81w1sV0vBU0KgDdBGtxQOUd5zqOBk/JayAFeG8Dlmeq74rjm/A=="
|
||||
"resolved" "https://registry.npmjs.org/graphql/-/graphql-16.3.0.tgz"
|
||||
"version" "16.3.0"
|
||||
|
||||
"gsap@./src/lib/gsap/gsap-bonus.tgz":
|
||||
"integrity" "sha512-wKrHH2HLKCu/cmWqFCEoHE2fwex4YbLxEdeFuXUITRF+I+6NxLnFhiMVkK0OSPWE9uI6/YBoXURnHlncyTbSQQ=="
|
||||
"resolved" "file:src/lib/gsap/gsap-bonus.tgz"
|
||||
"version" "3.10.2"
|
||||
|
||||
"gzip-size@^6.0.0":
|
||||
"integrity" "sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q=="
|
||||
"resolved" "https://registry.npmjs.org/gzip-size/-/gzip-size-6.0.0.tgz"
|
||||
"version" "6.0.0"
|
||||
dependencies:
|
||||
"duplexer" "^0.1.2"
|
||||
|
||||
"hard-rejection@^2.1.0":
|
||||
"integrity" "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA=="
|
||||
"resolved" "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz"
|
||||
"version" "2.1.0"
|
||||
|
||||
"has-ansi@^2.0.0":
|
||||
"integrity" "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE= sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg=="
|
||||
"resolved" "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz"
|
||||
"version" "2.0.0"
|
||||
dependencies:
|
||||
"ansi-regex" "^2.0.0"
|
||||
|
||||
"has-bigints@^1.0.1":
|
||||
"integrity" "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA=="
|
||||
"resolved" "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz"
|
||||
"version" "1.0.1"
|
||||
|
||||
"has-flag@^3.0.0":
|
||||
"integrity" "sha1-tdRU3CGZriJWmfNGfloH87lVuv0= sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw=="
|
||||
"resolved" "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz"
|
||||
"version" "3.0.0"
|
||||
|
||||
"has-flag@^4.0.0":
|
||||
"integrity" "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
|
||||
"resolved" "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
|
||||
"version" "4.0.0"
|
||||
|
||||
"has-symbols@^1.0.1", "has-symbols@^1.0.2", "has-symbols@^1.0.3":
|
||||
"integrity" "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A=="
|
||||
"resolved" "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz"
|
||||
"version" "1.0.3"
|
||||
|
||||
"has-tostringtag@^1.0.0":
|
||||
"integrity" "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ=="
|
||||
"resolved" "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz"
|
||||
"version" "1.0.0"
|
||||
dependencies:
|
||||
"has-symbols" "^1.0.2"
|
||||
|
||||
"has-unicode@^2.0.0":
|
||||
"integrity" "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ=="
|
||||
"resolved" "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz"
|
||||
"version" "2.0.1"
|
||||
|
||||
"has@^1.0.3":
|
||||
"integrity" "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw=="
|
||||
"resolved" "https://registry.npmjs.org/has/-/has-1.0.3.tgz"
|
||||
"version" "1.0.3"
|
||||
dependencies:
|
||||
"function-bind" "^1.1.1"
|
||||
|
||||
"header-case@^2.0.4":
|
||||
"integrity" "sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q=="
|
||||
"resolved" "https://registry.npmjs.org/header-case/-/header-case-2.0.4.tgz"
|
||||
"version" "2.0.4"
|
||||
dependencies:
|
||||
"capital-case" "^1.0.4"
|
||||
"tslib" "^2.0.3"
|
||||
|
||||
"hoist-non-react-statics@^3.3.0", "hoist-non-react-statics@^3.3.1", "hoist-non-react-statics@^3.3.2":
|
||||
"integrity" "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw=="
|
||||
"resolved" "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz"
|
||||
"version" "3.3.2"
|
||||
dependencies:
|
||||
"react-is" "^16.7.0"
|
||||
|
||||
"hosted-git-info@^2.1.4":
|
||||
"integrity" "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw=="
|
||||
"resolved" "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz"
|
||||
"version" "2.8.9"
|
||||
=======
|
||||
cosmiconfig "7.0.1"
|
||||
cosmiconfig-toml-loader "1.0.0"
|
||||
minimatch "4.2.1"
|
||||
@ -3619,6 +3744,7 @@ hosted-git-info@^2.1.4:
|
||||
version "2.8.9"
|
||||
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9"
|
||||
integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==
|
||||
>>>>>>> 4a203339c5143fd20a785d9ad1153afb4a02b7fe
|
||||
|
||||
hosted-git-info@^4.0.1:
|
||||
version "4.1.0"
|
||||
@ -5290,10 +5416,17 @@ react-device-detect@^2.2.2:
|
||||
dependencies:
|
||||
ua-parser-js "^1.0.2"
|
||||
|
||||
<<<<<<< HEAD
|
||||
"react-dom@*", "react-dom@^16.8 || ^17.0", "react-dom@^16.8.0 || ^17.0.0", "react-dom@^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom@^16.8.0 || 17.x", "react-dom@^17.0 || ^18.0", "react-dom@^17.0.2 || ^18.0.0-0", "react-dom@^18.2.0", "react-dom@>= 0.14.0", "react-dom@>=16.0.0", "react-dom@>=16.13", "react-dom@>=16.6.0":
|
||||
"integrity" "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g=="
|
||||
"resolved" "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz"
|
||||
"version" "18.2.0"
|
||||
=======
|
||||
react-dom@^18.0.0:
|
||||
version "18.0.0"
|
||||
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.0.0.tgz#26b88534f8f1dbb80853e1eabe752f24100d8023"
|
||||
integrity sha512-XqX7uzmFo0pUceWFCt7Gff6IyIMzFUn7QMZrbrQfGxtaxXZIcGQzoNpRLE3fQLnS4XzLLPMZX2T9TRcSrasicw==
|
||||
>>>>>>> 4a203339c5143fd20a785d9ad1153afb4a02b7fe
|
||||
dependencies:
|
||||
loose-envify "^1.1.0"
|
||||
scheduler "^0.21.0"
|
||||
@ -5309,6 +5442,62 @@ react-focus-lock@^2.5.2:
|
||||
integrity sha512-pSWOQrUmiKLkffPO6BpMXN7SNKXMsuOakl652IBuALAu1esk+IcpJyM+ALcYzPTTFz1rD0R54aB9A4HuP5t1Wg==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.0.0"
|
||||
<<<<<<< HEAD
|
||||
"focus-lock" "^0.11.2"
|
||||
"prop-types" "^15.6.2"
|
||||
"react-clientside-effect" "^1.2.6"
|
||||
"use-callback-ref" "^1.3.0"
|
||||
"use-sidecar" "^1.1.2"
|
||||
|
||||
"react-google-recaptcha-v3@^1.10.0":
|
||||
"integrity" "sha512-JBoqU107X8klQmS8tQSbQh1IMsT1fH3kVoArIqnia0rtn0rPNG9Ld+9rD/dHJMculIczSZpGvIJTXXwtsolMcg=="
|
||||
"resolved" "https://registry.npmjs.org/react-google-recaptcha-v3/-/react-google-recaptcha-v3-1.10.0.tgz"
|
||||
"version" "1.10.0"
|
||||
dependencies:
|
||||
"hoist-non-react-statics" "^3.3.2"
|
||||
|
||||
"react-google-recaptcha@^2.1.0":
|
||||
"integrity" "sha512-K9jr7e0CWFigi8KxC3WPvNqZZ47df2RrMAta6KmRoE4RUi7Ys6NmNjytpXpg4HI/svmQJLKR+PncEPaNJ98DqQ=="
|
||||
"resolved" "https://registry.npmjs.org/react-google-recaptcha/-/react-google-recaptcha-2.1.0.tgz"
|
||||
"version" "2.1.0"
|
||||
dependencies:
|
||||
"prop-types" "^15.5.0"
|
||||
"react-async-script" "^1.1.1"
|
||||
|
||||
"react-hook-form@^7.30.0":
|
||||
"integrity" "sha512-DzjiM6o2vtDGNMB9I4yCqW8J21P314SboNG1O0obROkbg7KVS0I7bMtwSdKyapnCPjHgnxc3L7E5PEdISeEUcQ=="
|
||||
"resolved" "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.30.0.tgz"
|
||||
"version" "7.30.0"
|
||||
|
||||
"react-intersection-observer@^8.33.1":
|
||||
"integrity" "sha512-3v+qaJvp3D1MlGHyM+KISVg/CMhPiOlO6FgPHcluqHkx4YFCLuyXNlQ/LE6UkbODXlQcLOppfX6UMxCEkUhDLw=="
|
||||
"resolved" "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-8.33.1.tgz"
|
||||
"version" "8.33.1"
|
||||
|
||||
"react-is@^16.13.1", "react-is@^16.7.0":
|
||||
"integrity" "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
|
||||
"resolved" "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz"
|
||||
"version" "16.13.1"
|
||||
|
||||
"react-mailchimp-subscribe@^2.1.3":
|
||||
"integrity" "sha512-ZRuPZMnX/9pHQLnAQavsgB5xIF+gNqjNCCq1vvTs23cn+93W2oOp17qjg3LpDBEt1HJi6IHXMwpKXn0taY8FHw=="
|
||||
"resolved" "https://registry.npmjs.org/react-mailchimp-subscribe/-/react-mailchimp-subscribe-2.1.3.tgz"
|
||||
"version" "2.1.3"
|
||||
dependencies:
|
||||
"jsonp" "^0.2.1"
|
||||
"prop-types" "^15.5.10"
|
||||
"to-querystring" "^1.0.4"
|
||||
|
||||
"react-merge-refs@^1.1.0":
|
||||
"integrity" "sha512-alTKsjEL0dKH/ru1Iyn7vliS2QRcBp9zZPGoWxUOvRGWPUYgjo+V01is7p04It6KhgrzhJGnIj9GgX8W4bZoCQ=="
|
||||
"resolved" "https://registry.npmjs.org/react-merge-refs/-/react-merge-refs-1.1.0.tgz"
|
||||
"version" "1.1.0"
|
||||
|
||||
"react-query@^3.35.0":
|
||||
"integrity" "sha512-mRBJdpELLV+snzyXDsXM5ZEXM+HYt05L7st6ihSXr3nHX+4ULFr30mDjsziZvx0oF5dhlSDB8aMdvG6Ah4Bukg=="
|
||||
"resolved" "https://registry.npmjs.org/react-query/-/react-query-3.35.0.tgz"
|
||||
"version" "3.35.0"
|
||||
=======
|
||||
focus-lock "^0.11.2"
|
||||
prop-types "^15.6.2"
|
||||
react-clientside-effect "^1.2.6"
|
||||
@ -5348,6 +5537,7 @@ react-query@^3.35.0:
|
||||
version "3.35.0"
|
||||
resolved "https://registry.yarnpkg.com/react-query/-/react-query-3.35.0.tgz#f807ba8497f8d6218a73e81a977e44ea786a7267"
|
||||
integrity sha512-mRBJdpELLV+snzyXDsXM5ZEXM+HYt05L7st6ihSXr3nHX+4ULFr30mDjsziZvx0oF5dhlSDB8aMdvG6Ah4Bukg==
|
||||
>>>>>>> 4a203339c5143fd20a785d9ad1153afb4a02b7fe
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.5.5"
|
||||
broadcast-channel "^3.4.1"
|
||||
@ -5420,10 +5610,17 @@ react-youtube@^9.0.2:
|
||||
prop-types "15.8.1"
|
||||
youtube-player "5.5.2"
|
||||
|
||||
<<<<<<< HEAD
|
||||
"react@*", "react@^15.0.0 || ^16.0.0 || ^17.0.0|| ^18.0.0", "react@^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", "react@^16.8 || ^17.0", "react@^16.8.0 || ^17 || ^18", "react@^16.8.0 || ^17.0.0", "react@^16.8.0 || ^17.0.0 || ^18.0.0", "react@^16.8.0 || 17.x", "react@^17.0 || ^18.0", "react@^17.0.2 || ^18.0.0-0", "react@^18.2.0", "react@>= 0.14.0", "react@>= 16.12.0", "react@>= 16.8.0 || 17.x.x || ^18.0.0-0", "react@>=0.14.1", "react@>=15", "react@>=16.0.0", "react@>=16.13", "react@>=16.4.1", "react@>=16.6.0", "react@>=16.8", "react@>=16.8.0":
|
||||
"integrity" "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ=="
|
||||
"resolved" "https://registry.npmjs.org/react/-/react-18.2.0.tgz"
|
||||
"version" "18.2.0"
|
||||
=======
|
||||
react@^18.0.0:
|
||||
version "18.0.0"
|
||||
resolved "https://registry.yarnpkg.com/react/-/react-18.0.0.tgz#b468736d1f4a5891f38585ba8e8fb29f91c3cb96"
|
||||
integrity sha512-x+VL6wbT4JRVPm7EGxXhZ8w8LTROaxPXOqhlGyVSrv0sB1jkyFGgXxJ8LVoPRLvPR6/CIZGFmfzqUa2NYeMr2A==
|
||||
>>>>>>> 4a203339c5143fd20a785d9ad1153afb4a02b7fe
|
||||
dependencies:
|
||||
loose-envify "^1.1.0"
|
||||
|
||||
@ -6413,6 +6610,129 @@ tsconfig-paths@^3.11.0, tsconfig-paths@^3.14.1, tsconfig-paths@^3.9.0:
|
||||
integrity sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==
|
||||
dependencies:
|
||||
"@types/json5" "^0.0.29"
|
||||
<<<<<<< HEAD
|
||||
"json5" "^1.0.1"
|
||||
"minimist" "^1.2.6"
|
||||
"strip-bom" "^3.0.0"
|
||||
|
||||
"tslib@^1.8.1":
|
||||
"integrity" "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
|
||||
"resolved" "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz"
|
||||
"version" "1.14.1"
|
||||
|
||||
"tslib@^1.9.0":
|
||||
"integrity" "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
|
||||
"resolved" "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz"
|
||||
"version" "1.14.1"
|
||||
|
||||
"tslib@^2.4.0":
|
||||
"integrity" "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ=="
|
||||
"resolved" "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz"
|
||||
"version" "2.4.0"
|
||||
|
||||
"tslib@^2", "tslib@^2.0.0", "tslib@^2.0.3", "tslib@^2.1.0", "tslib@^2.3.0", "tslib@~2.3.0":
|
||||
"integrity" "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="
|
||||
"resolved" "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz"
|
||||
"version" "2.3.1"
|
||||
|
||||
"tsutils@^3.21.0":
|
||||
"integrity" "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA=="
|
||||
"resolved" "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz"
|
||||
"version" "3.21.0"
|
||||
dependencies:
|
||||
"tslib" "^1.8.1"
|
||||
|
||||
"tunnel-agent@^0.6.0":
|
||||
"integrity" "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0= sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w=="
|
||||
"resolved" "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz"
|
||||
"version" "0.6.0"
|
||||
dependencies:
|
||||
"safe-buffer" "^5.0.1"
|
||||
|
||||
"type-check@^0.4.0", "type-check@~0.4.0":
|
||||
"integrity" "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew=="
|
||||
"resolved" "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz"
|
||||
"version" "0.4.0"
|
||||
dependencies:
|
||||
"prelude-ls" "^1.2.1"
|
||||
|
||||
"type-fest@^0.18.0":
|
||||
"integrity" "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw=="
|
||||
"resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz"
|
||||
"version" "0.18.1"
|
||||
|
||||
"type-fest@^0.20.2":
|
||||
"integrity" "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ=="
|
||||
"resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz"
|
||||
"version" "0.20.2"
|
||||
|
||||
"type-fest@^0.21.3":
|
||||
"integrity" "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w=="
|
||||
"resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz"
|
||||
"version" "0.21.3"
|
||||
|
||||
"type-fest@^0.6.0":
|
||||
"integrity" "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg=="
|
||||
"resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz"
|
||||
"version" "0.6.0"
|
||||
|
||||
"type-fest@^0.8.1":
|
||||
"integrity" "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA=="
|
||||
"resolved" "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz"
|
||||
"version" "0.8.1"
|
||||
|
||||
"typescript@^4.8.2", "typescript@>=2.7", "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta", "typescript@>=3.3.1":
|
||||
"integrity" "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw=="
|
||||
"resolved" "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz"
|
||||
"version" "4.8.2"
|
||||
|
||||
"ua-parser-js@^0.7.30":
|
||||
"integrity" "sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ=="
|
||||
"resolved" "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.31.tgz"
|
||||
"version" "0.7.31"
|
||||
|
||||
"ua-parser-js@^1.0.2":
|
||||
"integrity" "sha512-00y/AXhx0/SsnI51fTc0rLRmafiGOM4/O+ny10Ps7f+j/b8p/ZY11ytMgznXkOVo4GQ+KwQG5UQLkLGirsACRg=="
|
||||
"resolved" "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.2.tgz"
|
||||
"version" "1.0.2"
|
||||
|
||||
"unbox-primitive@^1.0.1":
|
||||
"integrity" "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw=="
|
||||
"resolved" "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz"
|
||||
"version" "1.0.1"
|
||||
dependencies:
|
||||
"function-bind" "^1.1.1"
|
||||
"has-bigints" "^1.0.1"
|
||||
"has-symbols" "^1.0.2"
|
||||
"which-boxed-primitive" "^1.0.2"
|
||||
|
||||
"unc-path-regex@^0.1.2":
|
||||
"integrity" "sha1-5z3T17DXxe2G+6xrCufYxqadUPo= sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg=="
|
||||
"resolved" "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz"
|
||||
"version" "0.1.2"
|
||||
|
||||
"undici@^5.0.0":
|
||||
"integrity" "sha512-VhUpiZ3No1DOPPQVQnsDZyfcbTTcHdcgWej1PdFnSvOeJmOVDgiOHkunJmBLfmjt4CqgPQddPVjSWW0dsTs5Yg=="
|
||||
"resolved" "https://registry.npmjs.org/undici/-/undici-5.0.0.tgz"
|
||||
"version" "5.0.0"
|
||||
|
||||
"universal-base64@^2.1.0":
|
||||
"integrity" "sha512-WeOkACVnIXJZr/qlv7++Rl1zuZOHN96v2yS5oleUuv8eJOs5j9M5U3xQEIoWqn1OzIuIcgw0fswxWnUVGDfW6g=="
|
||||
"resolved" "https://registry.npmjs.org/universal-base64/-/universal-base64-2.1.0.tgz"
|
||||
"version" "2.1.0"
|
||||
|
||||
"unixify@^1.0.0":
|
||||
"integrity" "sha1-OmQcjC/7zk2mg6XHDwOkYpQMIJA= sha512-6bc58dPYhCMHHuwxldQxO3RRNZ4eCogZ/st++0+fcC1nr0jiGUtAdBJ2qzmLQWSxbtz42pWt4QQMiZ9HvZf5cg=="
|
||||
"resolved" "https://registry.npmjs.org/unixify/-/unixify-1.0.0.tgz"
|
||||
"version" "1.0.0"
|
||||
dependencies:
|
||||
"normalize-path" "^2.1.1"
|
||||
|
||||
"unload@2.2.0":
|
||||
"integrity" "sha512-B60uB5TNBLtN6/LsgAf3udH9saB5p7gqJwcFfbOEZ8BcBHnGwCf6G/TGiEqkRAxX7zAFIUtzdrXQSdL3Q/wqNA=="
|
||||
"resolved" "https://registry.npmjs.org/unload/-/unload-2.2.0.tgz"
|
||||
"version" "2.2.0"
|
||||
=======
|
||||
json5 "^1.0.1"
|
||||
minimist "^1.2.6"
|
||||
strip-bom "^3.0.0"
|
||||
@ -6529,6 +6849,7 @@ unload@2.2.0:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.yarnpkg.com/unload/-/unload-2.2.0.tgz#ccc88fdcad345faa06a92039ec0f80b488880ef7"
|
||||
integrity sha512-B60uB5TNBLtN6/LsgAf3udH9saB5p7gqJwcFfbOEZ8BcBHnGwCf6G/TGiEqkRAxX7zAFIUtzdrXQSdL3Q/wqNA==
|
||||
>>>>>>> 4a203339c5143fd20a785d9ad1153afb4a02b7fe
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.6.2"
|
||||
detect-node "^2.0.4"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user