Skip to content

Beautiful Open-Source Form Builder

Work in progress

Julien Nahum1f853e81785e
diff --git a/client/.gitignore b/client/.gitignore
new file mode 100644
index 000000000..4a7f73a2e
--- /dev/null
+++ b/client/.gitignore
@@ -0,0 +1,24 @@
+# Nuxt dev/build outputs
+.output
+.data
+.nuxt
+.nitro
+.cache
+dist
+
+# Node dependencies
+node_modules
+
+# Logs
+logs
+*.log
+
+# Misc
+.DS_Store
+.fleet
+.idea
+
+# Local env files
+.env
+.env.*
+!.env.example
diff --git a/client/README.md b/client/README.md
new file mode 100644
index 000000000..f5db2a2db
--- /dev/null
+++ b/client/README.md
@@ -0,0 +1,75 @@
+# Nuxt 3 Minimal Starter
+
+Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
+
+## Setup
+
+Make sure to install the dependencies:
+
+```bash
+# npm
+npm install
+
+# pnpm
+pnpm install
+
+# yarn
+yarn install
+
+# bun
+bun install
+```
+
+## Development Server
+
+Start the development server on `http://localhost:3000`:
+
+```bash
+# npm
+npm run dev
+
+# pnpm
+pnpm run dev
+
+# yarn
+yarn dev
+
+# bun
+bun run dev
+```
+
+## Production
+
+Build the application for production:
+
+```bash
+# npm
+npm run build
+
+# pnpm
+pnpm run build
+
+# yarn
+yarn build
+
+# bun
+bun run build
+```
+
+Locally preview production build:
+
+```bash
+# npm
+npm run preview
+
+# pnpm
+pnpm run preview
+
+# yarn
+yarn preview
+
+# bun
+bun run preview
+```
+
+Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
diff --git a/client/app.vue b/client/app.vue
new file mode 100644
index 000000000..440928796
--- /dev/null
+++ b/client/app.vue
@@ -0,0 +1,83 @@
+<template>
+ <div id="app" class="bg-white dark:bg-notion-dark">
+ <ServiceCrisp/>
+ <transition enter-active-class="linear duration-200 overflow-hidden"
+ enter-from-class="max-h-0"
+ enter-to-class="max-h-screen"
+ leave-active-class="linear duration-200 overflow-hidden"
+ leave-from-class="max-h-screen"
+ leave-to-class="max-h-0"
+ >
+ <div v-if="announcement && !isIframe" class="bg-nt-blue text-white text-center p-3 relative">
+ <a class="text-white font-semibold" href="" target="_blank">🚨
+ OpnForm beta is over 🚨</a>
+ <div role="button" class="text-white absolute right-0 top-0 p-3 cursor-pointer" @click="announcement=false">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" viewBox="0 0 20 20" fill="currentColor">
+ <path fill-rule="evenodd"
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ </div>
+ </div>
+ </transition>
+
+ <transition name="page" mode="out-in">
+ <NuxtLayout>
+ <NuxtPage/>
+ </NuxtLayout>
+ </transition>
+ <ToolsStopImpersonation/>
+ <!-- <notifications />-->
+ </div>
+</template>
+
+<script>
+import {computed} from 'vue'
+import {useAppStore} from '~/stores/app'
+
+export default {
+ el: '#app',
+
+ name: 'OpnForm',
+
+ components: {},
+
+ setup() {
+ const appStore = useAppStore()
+ return {
+ layout: computed(() => appStore.layout),
+ isIframe: useIsIframe()
+ }
+ },
+
+ data: () => ({
+ metaTitle: 'OpnForm',
+ metaDescription: 'Create beautiful forms for free. Unlimited fields, unlimited submissions. It\'s free and it takes less than 1 minute to create your first form.',
+ announcement: false,
+ alert: {
+ type: null,
+ autoClose: 0,
+ message: '',
+ confirmationProceed: null,
+ confirmationCancel: null
+ },
+ navbarHidden: false
+ }),
+
+ computed: {
+ isOnboardingPage() {
+ return this.$route.name === 'onboarding'
+ },
+ },
+
+ methods: {
+ workspaceAdded() {
+ this.$router.push({name: 'home'})
+ },
+ hideNavbar(hidden = true) {
+ this.navbarHidden = hidden
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/CheckboxInput.vue b/client/components/forms/CheckboxInput.vue
new file mode 100644
index 000000000..fa37fd415
--- /dev/null
+++ b/client/components/forms/CheckboxInput.vue
@@ -0,0 +1,46 @@
+<template>
+ <input-wrapper v-bind="inputWrapperProps">
+ <template #label>
+ <span />
+ </template>
+
+ <v-checkbox :id="id?id:name" v-model="compVal" :disabled="disabled?true:null" :name="name">
+ <slot name="label">
+ {{ label }} <span v-if="required" class="text-red-500 required-dot">*</span>
+ </slot>
+ </v-checkbox>
+
+ <template #help>
+ <slot name="help" />
+ </template>
+
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import { inputProps, useFormInput } from './useFormInput.js'
+import VCheckbox from './components/VCheckbox.vue'
+import InputWrapper from './components/InputWrapper.vue'
+
+export default {
+ name: 'CheckboxInput',
+
+ components: { InputWrapper, VCheckbox },
+ props: {
+ ...inputProps
+ },
+
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ },
+
+ mounted () {
+ this.compVal = !!this.compVal
+ }
+}
+</script>
diff --git a/client/components/forms/CodeInput.vue b/client/components/forms/CodeInput.vue
new file mode 100644
index 000000000..f373f1856
--- /dev/null
+++ b/client/components/forms/CodeInput.vue
@@ -0,0 +1,65 @@
+<template>
+ <input-wrapper
+ v-bind="inputWrapperProps"
+ >
+ <template #label>
+ <slot name="label" />
+ </template>
+
+ <template #help>
+ <slot name="help" />
+ </template>
+
+ <div
+ :class="[theme.CodeInput.input,{ '!ring-red-500 !ring-2': hasError, '!cursor-not-allowed !bg-gray-200':disabled }]"
+ >
+ <codemirror :id="id?id:name" v-model="compVal" :disabled="disabled?true:null"
+ :options="cmOptions"
+ :style="inputStyle" :name="name"
+ :placeholder="placeholder"
+ />
+ </div>
+
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import { codemirror } from 'vue-codemirror'
+import 'codemirror/lib/codemirror.css'
+
+import 'codemirror/mode/htmlmixed/htmlmixed.js'
+
+import { inputProps, useFormInput } from './useFormInput.js'
+import InputWrapper from './components/InputWrapper.vue'
+
+export default {
+ name: 'CodeInput',
+
+ components: { InputWrapper, codemirror },
+ props: {
+ ...inputProps
+ },
+
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ },
+
+ data () {
+ return {
+ cmOptions: {
+ // codemirror options
+ tabSize: 4,
+ mode: 'text/html',
+ theme: 'default',
+ lineNumbers: true,
+ line: true
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/ColorInput.vue b/client/components/forms/ColorInput.vue
new file mode 100644
index 000000000..3bfa0e8f1
--- /dev/null
+++ b/client/components/forms/ColorInput.vue
@@ -0,0 +1,45 @@
+<template>
+ <input-wrapper v-bind="inputWrapperProps">
+ <template #label>
+ <span />
+ </template>
+
+ <div class="flex items-center">
+ <input :id="id?id:name" v-model="compVal" :disabled="disabled?true:null"
+ type="color" class="mr-2"
+ :name="name"
+ >
+ <slot name="label">
+ <span>{{ label }} <span v-if="required" class="text-red-500 required-dot">*</span></span>
+ </slot>
+ </div>
+
+ <template #help>
+ <slot name="help" />
+ </template>
+
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import InputWrapper from './components/InputWrapper.vue'
+import { inputProps, useFormInput } from './useFormInput.js'
+
+export default {
+ name: 'ColorInput',
+ components: { InputWrapper },
+
+ props: {
+ ...inputProps
+ },
+
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/DateInput.vue b/client/components/forms/DateInput.vue
new file mode 100644
index 000000000..35b953d27
--- /dev/null
+++ b/client/components/forms/DateInput.vue
@@ -0,0 +1,190 @@
+<template>
+ <input-wrapper
+ v-bind="inputWrapperProps"
+ >
+ <template #label>
+ <slot name="label" />
+ </template>
+
+ <div v-if="!dateRange" class="flex">
+ <input :id="id?id:name" v-model="fromDate" :type="useTime ? 'datetime-local' : 'date'" :class="inputClasses"
+ :disabled="disabled?true:null"
+ :style="inputStyle" :name="name" data-date-format="YYYY-MM-DD"
+ :min="setMinDate" :max="setMaxDate"
+ >
+ </div>
+ <div v-else :class="inputClasses">
+ <div class="flex -mx-2">
+ <p class="text-gray-900 px-4">
+ From
+ </p>
+ <input :id="id?id:name" v-model="fromDate" :type="useTime ? 'datetime-local' : 'date'" :disabled="disabled?true:null"
+ :style="inputStyle" :name="name" data-date-format="YYYY-MM-DD"
+ class="flex-grow border-transparent focus:outline-none "
+ :min="setMinDate" :max="setMaxDate"
+ >
+ <p class="text-gray-900 px-4">
+ To
+ </p>
+ <input v-if="dateRange" :id="id?id:name" v-model="toDate" :type="useTime ? 'datetime-local' : 'date'"
+ :disabled="disabled?true:null"
+ :style="inputStyle" :name="name" class="flex-grow border-transparent focus:outline-none"
+ :min="setMinDate" :max="setMaxDate"
+ >
+ </div>
+ </div>
+
+ <template #help>
+ <slot name="help" />
+ </template>
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import { inputProps, useFormInput } from './useFormInput.js'
+import InputWrapper from './components/InputWrapper.vue'
+import { fixedClasses } from '../../plugins/config/vue-tailwind/datePicker.js'
+
+export default {
+ name: 'DateInput',
+ components: { InputWrapper },
+ mixins: [],
+
+ props: {
+ ...inputProps,
+ withTime: { type: Boolean, default: false },
+ dateRange: { type: Boolean, default: false },
+ disablePastDates: { type: Boolean, default: false },
+ disableFutureDates: { type: Boolean, default: false }
+ },
+
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ },
+
+ data: () => ({
+ fixedClasses: fixedClasses,
+ fromDate: null,
+ toDate: null
+ }),
+
+ computed: {
+ inputClasses () {
+ let str = 'border border-gray-300 dark:bg-notion-dark-light dark:border-gray-600 dark:placeholder-gray-500 dark:text-gray-300 flex-1 focus:border-transparent focus:outline-none focus:ring-2 focus:ring-opacity-100 placeholder-gray-400 px-4 py-2 rounded-lg shadow-sm text-base text-black text-gray-700'
+ str += this.dateRange ? ' w-50' : ' w-full'
+ str += this.disabled ? ' !cursor-not-allowed !bg-gray-200' : ''
+ return str
+ },
+ useTime () {
+ return this.withTime && !this.dateRange
+ },
+ setMinDate () {
+ if (this.disablePastDates) {
+ return new Date().toISOString().split('T')[0]
+ }
+ return false
+ },
+ setMaxDate () {
+ if (this.disableFutureDates) {
+ return new Date().toISOString().split('T')[0]
+ }
+ return false
+ }
+ },
+
+ watch: {
+ color: {
+ handler () {
+ this.setInputColor()
+ },
+ immediate: true
+ },
+ fromDate: {
+ handler (val) {
+ if (this.dateRange) {
+ if (!Array.isArray(this.compVal)) {
+ this.compVal = []
+ }
+ this.compVal[0] = this.dateToUTC(val)
+ } else {
+ this.compVal = this.dateToUTC(val)
+ }
+ },
+ immediate: false
+ },
+ toDate: {
+ handler (val) {
+ if (this.dateRange) {
+ if (!Array.isArray(this.compVal)) {
+ this.compVal = [null]
+ }
+ this.compVal[1] = this.dateToUTC(val)
+ } else {
+ this.compVal = null
+ }
+ },
+ immediate: false
+ }
+ },
+
+ mounted () {
+ if (this.compVal) {
+ if (Array.isArray(this.compVal)) {
+ this.fromDate = this.compVal[0] ?? null
+ this.toDate = this.compVal[1] ?? null
+ } else {
+ this.fromDate = this.dateToLocal(this.compVal)
+ }
+ }
+
+ this.fixedClasses.input = this.theme.default.input
+ this.setInputColor()
+ },
+
+ methods: {
+ /**
+ * Pressing enter won't submit form
+ * @param event
+ * @returns {boolean}
+ */
+ onEnterPress (event) {
+ event.preventDefault()
+ return false
+ },
+ setInputColor () {
+ if (this.$refs.datepicker) {
+ const dateInput = this.$refs.datepicker.$el.getElementsByTagName('input')[0]
+ dateInput.style.setProperty('--tw-ring-color', this.color)
+ }
+ },
+ dateToUTC (val) {
+ if (!val) {
+ return null
+ }
+ if (!this.useTime) {
+ return val
+ }
+ return new Date(val).toISOString()
+ },
+ dateToLocal (val) {
+ if (!val) {
+ return null
+ }
+ const dateObj = new Date(val)
+ let dateStr = dateObj.getFullYear() + '-' +
+ String(dateObj.getMonth() + 1).padStart(2, '0') + '-' +
+ String(dateObj.getDate()).padStart(2, '0')
+ if (this.useTime) {
+ dateStr += 'T' + String(dateObj.getHours()).padStart(2, '0') + ':' +
+ String(dateObj.getMinutes()).padStart(2, '0')
+ }
+ return dateStr
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/FileInput.vue b/client/components/forms/FileInput.vue
new file mode 100644
index 000000000..984ab91ee
--- /dev/null
+++ b/client/components/forms/FileInput.vue
@@ -0,0 +1,239 @@
+<template>
+ <input-wrapper
+ v-bind="inputWrapperProps"
+ >
+ <template #label>
+ <slot name="label" />
+ </template>
+
+ <div class="flex w-full items-center justify-center transition-colors duration-40"
+ :class="[{'!cursor-not-allowed':disabled, 'cursor-pointer':!disabled,
+ [theme.fileInput.inputHover.light + ' dark:'+theme.fileInput.inputHover.dark]: uploadDragoverEvent,
+ ['hover:'+theme.fileInput.inputHover.light +' dark:hover:'+theme.fileInput.inputHover.dark]: !loading}, theme.fileInput.input]"
+ @dragover.prevent="uploadDragoverEvent=true"
+ @dragleave.prevent="uploadDragoverEvent=false"
+ @drop.prevent="onUploadDropEvent"
+ @click="openFileUpload"
+ >
+ <div
+ v-if="loading"
+ class="text-gray-600 dark:text-gray-400"
+ >
+ <loader class="mx-auto h-6 w-6" />
+ <p class="mt-2 text-center text-sm text-gray-500">
+ Uploading your file...
+ </p>
+ </div>
+ <template v-else>
+ <div class="text-center">
+ <input
+ ref="actual-input"
+ class="hidden"
+ :multiple="multiple"
+ type="file"
+ :name="name"
+ :accept="acceptExtensions"
+ @change="manualFileUpload"
+ >
+ <div v-if="files.length" class="flex flex-wrap items-center justify-center gap-4">
+ <uploaded-file
+ v-for="file in files"
+ :key="file.url"
+ :file="file"
+ :theme="theme"
+ @remove="clearFile(file)"
+ />
+ </div>
+ <template v-else>
+ <div class="text-gray-500 w-full flex justify-center">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
+ stroke="currentColor" class="w-6 h-6"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5m-13.5-9L12 3m0 0l4.5 4.5M12 3v13.5"
+ />
+ </svg>
+ </div>
+
+ <p class="mt-2 text-sm text-gray-500 font-semibold select-none">
+ Click to choose {{ multiple ? 'file(s)' : 'a file' }} or drag here
+ </p>
+ <p class="mt-1 text-xs text-gray-400 dark:text-gray-600 select-none">
+ Size limit: {{ mbLimit }}MB per file
+ </p>
+ </template>
+ </div>
+ </template>
+ </div>
+
+ <template #help>
+ <slot name="help" />
+ </template>
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import axios from 'axios'
+import { inputProps, useFormInput } from './useFormInput.js'
+import InputWrapper from './components/InputWrapper.vue'
+import UploadedFile from './components/UploadedFile.vue'
+
+export default {
+ name: 'FileInput',
+ components: { InputWrapper, UploadedFile },
+ mixins: [],
+ props: {
+ ...inputProps,
+ multiple: { type: Boolean, default: true },
+ mbLimit: { type: Number, default: 5 },
+ accept: { type: String, default: '' },
+ moveToFormAssets: { type: Boolean, default: false }
+ },
+
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ },
+
+ data: () => ({
+ files: [],
+ uploadDragoverEvent: false,
+ loading: false
+ }),
+
+ computed: {
+ currentUrl () {
+ return this.form[this.name]
+ },
+ acceptExtensions () {
+ if (!this.accept) {
+ return null
+ }
+ return this.accept
+ .split(',')
+ .map((i) => {
+ return '.' + i.trim()
+ })
+ .join(',')
+ }
+ },
+
+ watch: {
+ files: {
+ deep: true,
+ handler (files) {
+ this.compVal = files.map((file) => file.url)
+ }
+ }
+ },
+
+ async created () {
+ if (typeof this.compVal === 'string' || this.compVal instanceof String) {
+ await this.getFileFromUrl(this.compVal).then((fileObj) => {
+ this.files = [{
+ file: fileObj,
+ url: this.compVal,
+ src: this.getFileSrc(fileObj)
+ }]
+ })
+ } else if (this.compVal && this.compVal.length > 0) {
+ const tmpFiles = []
+ for (let i = 0; i < this.compVal.length; i++) {
+ await this.getFileFromUrl(this.compVal[i]).then((fileObj) => {
+ tmpFiles.push({
+ file: fileObj,
+ url: this.compVal[i],
+ src: this.getFileSrc(fileObj)
+ })
+ })
+ }
+ this.files = tmpFiles
+ }
+ },
+
+ methods: {
+ clearAll () {
+ this.files = []
+ },
+ clearFile (index) {
+ this.files.splice(index, 1)
+ },
+ onUploadDropEvent (e) {
+ this.uploadDragoverEvent = false
+ this.droppedFiles(e.dataTransfer.files)
+ },
+ droppedFiles (droppedFiles) {
+ if (!droppedFiles || this.disabled) return
+
+ for (let i = 0; i < droppedFiles.length; i++) {
+ this.uploadFileToServer(droppedFiles.item(i))
+ }
+ },
+ openFileUpload () {
+ if (this.disabled) return
+ this.$refs['actual-input'].click()
+ },
+ manualFileUpload (e) {
+ const files = e.target.files
+ for (let i = 0; i < files.length; i++) {
+ this.uploadFileToServer(files.item(i))
+ }
+ },
+ uploadFileToServer (file) {
+ if (this.disabled) return
+ this.loading = true
+ this.storeFile(file)
+ .then((response) => {
+ if (!this.multiple) {
+ this.files = []
+ }
+ if (this.moveToFormAssets) {
+ // Move file to permanent storage for form assets
+ axios.post('/api/open/forms/assets/upload', {
+ type: 'files',
+ url: file.name.split('.').slice(0, -1).join('.') + '_' + response.uuid + '.' + response.extension
+ }).then(moveFileResponse => {
+ this.files.push({
+ file: file,
+ url: moveFileResponse.data.url,
+ src: this.getFileSrc(file)
+ })
+ this.loading = false
+ }).catch((error) => {
+ this.loading = false
+ })
+ } else {
+ this.files.push({
+ file: file,
+ url: file.name.split('.').slice(0, -1).join('.') + '_' + response.uuid + '.' + response.extension,
+ src: this.getFileSrc(file)
+ })
+ this.loading = false
+ }
+ })
+ .catch((error) => {
+ this.clearAll()
+ this.loading = false
+ })
+ },
+ async getFileFromUrl (url, defaultType = 'image/jpeg') {
+ const response = await fetch(url)
+ const data = await response.blob()
+ const name = url.replace(/^.*(\\|\/|\:)/, '')
+ return new File([data], name, {
+ type: data.type || defaultType
+ })
+ },
+ getFileSrc (file) {
+ if (file.type && file.type.split('/')[0] === 'image') {
+ return URL.createObjectURL(file)
+ }
+ return null
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/FlatSelectInput.vue b/client/components/forms/FlatSelectInput.vue
new file mode 100644
index 000000000..c7e73627c
--- /dev/null
+++ b/client/components/forms/FlatSelectInput.vue
@@ -0,0 +1,96 @@
+<template>
+ <input-wrapper
+ v-bind="inputWrapperProps"
+ >
+ <template #label>
+ <slot name="label" />
+ </template>
+
+ <loader v-if="loading" key="loader" class="h-6 w-6 text-nt-blue mx-auto" />
+ <div v-for="(option, index) in options" v-else :key="option[optionKey]" role="button"
+ :class="[theme.default.input,'cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-900 flex',{ 'mb-2': index !== options.length,'!ring-red-500 !ring-2': hasValidation && form.errors.has(name), '!cursor-not-allowed !bg-gray-200':disabled }]"
+ @click="onSelect(option[optionKey])"
+ >
+ <p class="flex-grow">
+ {{ option[displayKey] }}
+ </p>
+ <div v-if="isSelected(option[optionKey])" class="flex items-center">
+ <svg :color="color" xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
+ <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" />
+ </svg>
+ </div>
+ </div>
+
+ <template #help>
+ <slot name="help" />
+ </template>
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import { inputProps, useFormInput } from './useFormInput.js'
+import InputWrapper from './components/InputWrapper.vue'
+
+/**
+ * Options: {name,value} objects
+ */
+export default {
+ name: 'FlatSelectInput',
+ components: { InputWrapper },
+
+ props: {
+ ...inputProps,
+ options: { type: Array, required: true },
+ optionKey: { type: String, default: 'value' },
+ emitKey: { type: String, default: 'value' },
+ displayKey: { type: String, default: 'name' },
+ loading: { type: Boolean, default: false },
+ multiple: { type: Boolean, default: false }
+ },
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ },
+ data () {
+ return {}
+ },
+ computed: {},
+ methods: {
+ onSelect (value) {
+ if (this.disabled) {
+ return
+ }
+
+ if (this.multiple) {
+ const emitValue = Array.isArray(this.compVal) ? [...this.compVal] : []
+
+ // Already in value, remove it
+ if (this.isSelected(value)) {
+ this.compVal = emitValue.filter((item) => {
+ return item !== value
+ })
+ return
+ }
+
+ // Otherwise add value
+ emitValue.push(value)
+ this.compVal = emitValue
+ } else {
+ this.compVal = (this.compVal === value) ? null : value
+ }
+ },
+ isSelected (value) {
+ if (!this.compVal) return false
+
+ if (this.multiple) {
+ return this.compVal.includes(value)
+ }
+ return this.compVal === value
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/ImageInput.vue b/client/components/forms/ImageInput.vue
new file mode 100644
index 000000000..ff92f73c4
--- /dev/null
+++ b/client/components/forms/ImageInput.vue
@@ -0,0 +1,215 @@
+<template>
+ <input-wrapper
+ v-bind="inputWrapperProps"
+ >
+ <template #label>
+ <slot name="label" />
+ </template>
+
+ <span class="inline-block w-full rounded-md shadow-sm">
+ <button type="button" aria-haspopup="listbox" aria-expanded="true" aria-labelledby="listbox-label"
+ class="cursor-pointer relative w-full" :class="[theme.default.input,{'ring-red-500 ring-2': hasValidation && form.errors.has(name)}]"
+ :style="inputStyle" @click.prevent="showUploadModal=true"
+ >
+ <div v-if="currentUrl==null" class="h-6 text-gray-600 dark:text-gray-400">
+ Upload image <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 inline" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"
+ />
+ </svg>
+ </div>
+ <div v-else class="h-6 text-gray-600 dark:text-gray-400 flex">
+ <div class="flex-grow">
+ <img :src="currentUrl" class="h-6 rounded shadow-md">
+ </div>
+ <a href="#" class="hover:text-nt-blue flex" @click.prevent="clearUrl">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
+ />
+ </svg></a>
+ </div>
+ </button>
+ </span>
+
+ <template #help>
+ <slot name="help" />
+ </template>
+ <template #error>
+ <slot name="error" />
+ </template>
+
+ <!-- Modal -->
+ <modal :show="showUploadModal" @close="showUploadModal=false">
+ <h2 class="text-lg font-semibold">
+ Upload an image
+ </h2>
+
+ <div class="max-w-3xl mx-auto lg:max-w-none">
+ <div class="sm:mt-5 sm:grid sm:grid-cols-1 sm:gap-4 sm:items-start sm:pt-5">
+ <div class="mt-2 sm:mt-0 sm:col-span-2 mb-5">
+ <div
+ v-cloak
+ class="w-full flex justify-center items-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-md h-128"
+ @dragover.prevent="onUploadDragoverEvent($event)"
+ @drop.prevent="onUploadDropEvent($event)"
+ >
+ <div v-if="loading" class="text-gray-600 dark:text-gray-400">
+ <loader class="h-6 w-6 mx-auto m-10" />
+ <p class="text-center mt-6">
+ Uploading your file...
+ </p>
+ </div>
+ <template v-else>
+ <div
+ class="absolute rounded-full bg-gray-100 h-20 w-20 z-10 transition-opacity duration-500 ease-in-out"
+ :class="{
+ 'opacity-100': uploadDragoverTracking,
+ 'opacity-0': !uploadDragoverTracking
+ }"
+ />
+ <div class="relative z-20 text-center">
+ <input ref="actual-input" class="hidden" type="file" :name="name"
+ accept="image/png, image/gif, image/jpeg, image/bmp, image/svg+xml" @change="manualFileUpload"
+ >
+ <svg xmlns="http://www.w3.org/2000/svg" class="mx-auto h-24 w-24 text-gray-200" fill="none"
+ viewBox="0 0 24 24" stroke="currentColor"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"
+ />
+ </svg>
+ <p class="mt-5 text-sm text-gray-600">
+ <button
+ type="button"
+ class="font-semibold text-nt-blue hover:text-nt-blue-dark focus:outline-none focus:underline transition duration-150 ease-in-out"
+ @click="openFileUpload"
+ >
+ Upload your image,
+ </button>
+ use drag and drop or paste it
+ </p>
+ <p class="mt-1 text-xs text-gray-500">
+ .jpg, .jpeg, .png, .bmp, .gif, .svg up to 5mb
+ </p>
+ </div>
+ </template>
+ </div>
+ </div>
+ </div>
+ </div>
+ </modal>
+ </input-wrapper>
+</template>
+
+<script>
+import axios from 'axios'
+import { inputProps, useFormInput } from './useFormInput.js'
+import InputWrapper from './components/InputWrapper.vue'
+import Modal from '../global/Modal.vue'
+
+export default {
+ name: 'ImageInput',
+ components: { InputWrapper, Modal },
+ mixins: [],
+ props: {
+ ...inputProps
+ },
+
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ },
+
+ data: () => ({
+ showUploadModal: false,
+
+ file: [],
+ uploadDragoverTracking: false,
+ uploadDragoverEvent: false,
+ loading: false
+ }),
+
+ computed: {
+ currentUrl () {
+ return this.compVal
+ }
+ },
+
+ watch: {
+ showUploadModal: {
+ handler (val) {
+ if (process.server) return
+ document.removeEventListener('paste', this.onUploadPasteEvent)
+ if (this.showUploadModal) {
+ document.addEventListener('paste', this.onUploadPasteEvent)
+ }
+ }
+ }
+ },
+
+ methods: {
+ clearUrl () {
+ this.form[this.name] = null
+ },
+ onUploadDragoverEvent (e) {
+ this.uploadDragoverEvent = true
+ this.uploadDragoverTracking = true
+ },
+ onUploadDropEvent (e) {
+ this.uploadDragoverEvent = false
+ this.uploadDragoverTracking = false
+ this.droppedFiles(e.dataTransfer.files)
+ },
+ onUploadPasteEvent (e) {
+ if (!this.showUploadModal) return
+ this.uploadDragoverEvent = false
+ this.uploadDragoverTracking = false
+ this.droppedFiles(e.clipboardData.files)
+ },
+ droppedFiles (droppedFiles) {
+ if (!droppedFiles) return
+
+ this.file = droppedFiles[0]
+ this.uploadFileToServer()
+ },
+ openFileUpload () {
+ this.$refs['actual-input'].click()
+ },
+ manualFileUpload (e) {
+ this.file = e.target.files[0]
+ this.uploadFileToServer()
+ },
+ uploadFileToServer () {
+ this.loading = true
+ // Store file in s3
+ this.storeFile(this.file).then(response => {
+ // Move file to permanent storage for form assets
+ axios.post('/api/open/forms/assets/upload', {
+ url: this.file.name.split('.').slice(0, -1).join('.') + '_' + response.uuid + '.' + response.extension
+ }).then(moveFileResponse => {
+ if (!this.multiple) {
+ this.files = []
+ }
+ this.compVal = moveFileResponse.data.url
+ this.showUploadModal = false
+ this.loading = false
+ }).catch((error) => {
+ this.compVal = null
+ this.showUploadModal = false
+ this.loading = false
+ })
+ }).catch((error) => {
+ this.compVal = null
+ this.showUploadModal = false
+ this.loading = false
+ })
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/PhoneInput.vue b/client/components/forms/PhoneInput.vue
new file mode 100644
index 000000000..ae530da99
--- /dev/null
+++ b/client/components/forms/PhoneInput.vue
@@ -0,0 +1,145 @@
+<template>
+ <input-wrapper
+ v-bind="inputWrapperProps"
+ >
+ <template #label>
+ <slot name="label" />
+ </template>
+
+ <div :id="id ? id : name" :name="name" :style="inputStyle" class="flex items-center">
+ <v-select v-model="selectedCountryCode" class="w-[130px]" dropdown-class="w-[300px]" input-class="rounded-r-none"
+ :data="countries"
+ :disabled="(disabled || countries.length===1)?true:null" :searchable="true" :search-keys="['name']" :option-key="'code'" :color="color"
+ :has-error="hasValidation && form.errors.has(name)"
+ :placeholder="'Select a country'" :uppercase-labels="true" :theme="theme" @update:model-value="onChangeCountryCode"
+ >
+ <template #option="props">
+ <div class="flex items-center space-x-2 hover:text-white">
+ <country-flag size="normal" class="!-mt-[9px]" :country="props.option.code" />
+ <span class="grow">{{ props.option.name }}</span>
+ <span>{{ props.option.dial_code }}</span>
+ </div>
+ </template>
+ <template #selected="props">
+ <div class="flex items-center space-x-2 justify-center overflow-hidden">
+ <country-flag size="normal" class="!-mt-[9px]" :country="props.option.code" />
+ <span>{{ props.option.dial_code }}</span>
+ </div>
+ </template>
+ </v-select>
+ <input v-model="inputVal" type="text" class="inline-flex-grow !border-l-0 !rounded-l-none" :disabled="disabled?true:null"
+ :class="[theme.default.input, { '!ring-red-500 !ring-2': hasValidation && form.errors.has(name), '!cursor-not-allowed !bg-gray-200': disabled }]"
+ :placeholder="placeholder" :style="inputStyle" @update:model-value="onInput"
+ >
+ </div>
+
+ <template #help>
+ <slot name="help" />
+ </template>
+
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import { inputProps, useFormInput } from './useFormInput.js'
+import InputWrapper from './components/InputWrapper.vue'
+import countryCodes from '../../../data/country_codes.json'
+import CountryFlag from 'vue-country-flag-next'
+import parsePhoneNumber from 'libphonenumber-js'
+
+export default {
+ phone: 'PhoneInput',
+ components: { InputWrapper, CountryFlag },
+ props: {
+ ...inputProps,
+ canOnlyCountry: { type: Boolean, default: false },
+ unavailableCountries: { type: Array, default: () => [] }
+ },
+
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ },
+
+ data () {
+ return {
+ selectedCountryCode: null,
+ inputVal: null
+ }
+ },
+
+ computed: {
+ countries () {
+ return countryCodes.filter((item) => {
+ return !this.unavailableCountries.includes(item.code)
+ })
+ }
+ },
+
+ watch: {
+ inputVal: {
+ handler (val) {
+ if (val && val.startsWith('0')) {
+ val = val.substring(1)
+ }
+ if (this.canOnlyCountry) {
+ this.compVal = (val) ? this.selectedCountryCode.code + this.selectedCountryCode.dial_code + val : this.selectedCountryCode.code + this.selectedCountryCode.dial_code
+ } else {
+ this.compVal = (val) ? this.selectedCountryCode.code + this.selectedCountryCode.dial_code + val : null
+ }
+ }
+ },
+ selectedCountryCode (newVal, oldVal) {
+ if (this.compVal && newVal && oldVal) {
+ this.compVal = this.compVal.replace(oldVal.code + oldVal.dial_code, newVal.code + newVal.dial_code)
+ }
+ }
+ },
+
+ mounted () {
+ if (this.compVal) {
+ if (!this.compVal.startsWith('+')) {
+ this.selectedCountryCode = this.getCountryBy(this.compVal.substring(2, 0))
+ }
+
+ const phoneObj = parsePhoneNumber(this.compVal)
+ if (phoneObj !== undefined && phoneObj) {
+ if (!this.selectedCountryCode && phoneObj.country !== undefined && phoneObj.country) {
+ this.selectedCountryCode = this.getCountryBy(phoneObj.country)
+ }
+ this.inputVal = phoneObj.nationalNumber
+ }
+ }
+ if (!this.selectedCountryCode) {
+ this.selectedCountryCode = this.getCountryBy()
+ }
+ if (!this.selectedCountryCode || this.countries.length === 1) {
+ this.selectedCountryCode = this.countries[0]
+ }
+ },
+
+ methods: {
+ getCountryBy (code = 'US', type = 'code') {
+ if (!code) code = 'US' // Default US
+ return this.countries.find((item) => {
+ return item[type] === code
+ }) ?? null
+ },
+ onInput (event) {
+ this.inputVal = event.target.value.replace(/[^0-9]/g, '')
+ },
+ onChangeCountryCode () {
+ if (!this.selectedCountryCode && this.countries.length > 0) {
+ this.selectedCountryCode = this.countries[0]
+ }
+ if (this.canOnlyCountry && (this.inputVal === null || this.inputVal === '' || !this.inputVal)) {
+ this.compVal = this.selectedCountryCode.code + this.selectedCountryCode.dial_code
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/RatingInput.vue b/client/components/forms/RatingInput.vue
new file mode 100644
index 000000000..d0b091e09
--- /dev/null
+++ b/client/components/forms/RatingInput.vue
@@ -0,0 +1,85 @@
+<template>
+ <input-wrapper
+ v-bind="inputWrapperProps"
+ >
+ <template #label>
+ <slot name="label" />
+ </template>
+
+ <div class="stars-outer">
+ <div v-for="i in numberOfStars" :key="i"
+ class="cursor-pointer inline-block text-gray-200 dark:text-gray-800"
+ :class="{'!text-yellow-400 active-star':i<=compVal, '!text-yellow-200 !dark:text-yellow-800 hover-star':i>compVal && i<=hoverRating, '!cursor-not-allowed':disabled}"
+ role="button" @click="setRating(i)"
+ @mouseenter="onMouseHover(i)"
+ @mouseleave="hoverRating = -1"
+ >
+ <svg class="w-8 h-8" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"
+ />
+ </svg>
+ </div>
+ </div>
+
+ <template #help>
+ <slot name="help" />
+ </template>
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import { inputProps, useFormInput } from './useFormInput.js'
+import InputWrapper from './components/InputWrapper.vue'
+
+export default {
+ name: 'RatingInput',
+ components: { InputWrapper },
+
+ props: {
+ ...inputProps,
+ numberOfStars: { type: Number, default: 5 }
+ },
+
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ },
+
+ data () {
+ return {
+ hoverRating: -1
+ }
+ },
+
+ mounted () {
+ if (!this.compVal) this.compVal = 0
+ },
+
+ updated () {
+ if (!this.compVal) {
+ this.compVal = 0
+ }
+ },
+
+ methods: {
+ onMouseHover (i) {
+ this.hoverRating = (this.disabled) ? -1 : i
+ },
+ setRating (val) {
+ if (this.disabled) {
+ return
+ }
+ if (this.compVal === val) {
+ this.compVal = 0
+ } else {
+ this.compVal = val
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/RichTextAreaInput.vue b/client/components/forms/RichTextAreaInput.vue
new file mode 100644
index 000000000..b4efc7e42
--- /dev/null
+++ b/client/components/forms/RichTextAreaInput.vue
@@ -0,0 +1,81 @@
+<template>
+ <input-wrapper
+ v-bind="inputWrapperProps"
+ >
+ <template #label>
+ <slot name="label" />
+ </template>
+
+ <vue-editor :id="id?id:name" ref="editor" v-model="compVal" :disabled="disabled?true:null"
+ :placeholder="placeholder" :class="[{ '!ring-red-500 !ring-2': hasValidation && form.errors.has(name), '!cursor-not-allowed !bg-gray-200':disabled }, theme.RichTextAreaInput.input]"
+ :editor-toolbar="editorToolbar" class="rich-editor resize-y"
+ :style="inputStyle"
+ />
+
+ <template #help>
+ <slot name="help" />
+ </template>
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import { inputProps, useFormInput } from './useFormInput.js'
+import InputWrapper from './components/InputWrapper.vue'
+import { VueEditor, Quill } from 'vue3-editor'
+
+Quill.imports['formats/link'].PROTOCOL_WHITELIST.push('notion')
+
+export default {
+ name: 'RichTextAreaInput',
+ components: { InputWrapper, VueEditor },
+
+ props: {
+ ...inputProps,
+ editorToolbar: {
+ type: Array,
+ default: () => {
+ return [
+ [{ header: 1 }, { header: 2 }],
+ ['bold', 'italic', 'underline', 'link'],
+ [{ list: 'ordered' }, { list: 'bullet' }],
+ [{ color: [] }]
+ ]
+ }
+ }
+ },
+
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ }
+
+}
+</script>
+
+<style lang="scss">
+.rich-editor {
+ .ql-container {
+ border-bottom: 0px !important;
+ border-right: 0px !important;
+ border-left: 0px !important;
+
+ .ql-editor {
+ min-height: 100px !important;
+ }
+ }
+
+ .ql-toolbar {
+ border-top: 0px !important;
+ border-right: 0px !important;
+ border-left: 0px !important;
+ }
+
+ .ql-snow .ql-toolbar .ql-picker-item.ql-selected, .ql-snow .ql-toolbar .ql-picker-item:hover, .ql-snow .ql-toolbar .ql-picker-label.ql-active, .ql-snow .ql-toolbar .ql-picker-label:hover, .ql-snow .ql-toolbar button.ql-active, .ql-snow .ql-toolbar button:focus, .ql-snow .ql-toolbar button:hover, .ql-snow.ql-toolbar .ql-picker-item.ql-selected, .ql-snow.ql-toolbar .ql-picker-item:hover, .ql-snow.ql-toolbar .ql-picker-label.ql-active, .ql-snow.ql-toolbar .ql-picker-label:hover, .ql-snow.ql-toolbar button.ql-active, .ql-snow.ql-toolbar button:focus, .ql-snow.ql-toolbar button:hover {
+ @apply text-nt-blue;
+ }
+}
+</style>
diff --git a/client/components/forms/ScaleInput.vue b/client/components/forms/ScaleInput.vue
new file mode 100644
index 000000000..5eef87806
--- /dev/null
+++ b/client/components/forms/ScaleInput.vue
@@ -0,0 +1,107 @@
+<template>
+ <input-wrapper
+ v-bind="inputWrapperProps"
+ >
+ <template #label>
+ <slot name="label" />
+ </template>
+
+ <div class="rectangle-outer grid grid-cols-5 gap-2">
+ <div v-for="i in scaleList" :key="i"
+ :class="[{'font-semibold':compVal===i},theme.ScaleInput.button, compVal!==i ? unselectedButtonClass: '']"
+ :style="btnStyle(i===compVal)"
+ role="button" @click="setScale(i)"
+ >
+ {{ i }}
+ </div>
+ </div>
+
+ <template #help>
+ <slot name="help" />
+ </template>
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import { inputProps, useFormInput } from './useFormInput.js'
+import InputWrapper from './components/InputWrapper.vue'
+
+export default {
+ name: 'ScaleInput',
+ components: { InputWrapper },
+
+ props: {
+ ...inputProps,
+ minScale: { type: Number, default: 1 },
+ maxScale: { type: Number, default: 5 },
+ stepScale: { type: Number, default: 1 }
+ },
+
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ },
+
+ data () {
+ return {}
+ },
+
+ computed: {
+ scaleList () {
+ const list = []
+ for (let i = this.minScale; i <= this.maxScale; i += this.stepScale) {
+ list.push(i)
+ }
+ return list
+ },
+ unselectedButtonClass () {
+ return this.theme.ScaleInput.unselectedButton
+ },
+ textColor () {
+ const color = (this.color.charAt(0) === '#') ? this.color.substring(1, 7) : this.color
+ const r = parseInt(color.substring(0, 2), 16) // hexToR
+ const g = parseInt(color.substring(2, 4), 16) // hexToG
+ const b = parseInt(color.substring(4, 6), 16) // hexToB
+ const uicolors = [r / 255, g / 255, b / 255]
+ const c = uicolors.map((col) => {
+ if (col <= 0.03928) {
+ return col / 12.92
+ }
+ return Math.pow((col + 0.055) / 1.055, 2.4)
+ })
+ const L = (0.2126 * c[0]) + (0.7152 * c[1]) + (0.0722 * c[2])
+ return (L > 0.55) ? '#000000' : '#FFFFFF'
+ }
+ },
+
+ mounted () {
+ if (this.compVal && typeof this.compVal === 'string') {
+ this.compVal = parseInt(this.compVal)
+ }
+ },
+
+ methods: {
+ btnStyle (isSelected) {
+ if (!isSelected) return {}
+ return {
+ color: this.textColor,
+ backgroundColor: this.color
+ }
+ },
+ setScale (val) {
+ if (this.disabled) {
+ return
+ }
+ if (this.compVal === val) {
+ this.compVal = null
+ } else {
+ this.compVal = val
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/SelectInput.vue b/client/components/forms/SelectInput.vue
new file mode 100644
index 000000000..521f83e76
--- /dev/null
+++ b/client/components/forms/SelectInput.vue
@@ -0,0 +1,131 @@
+<template>
+ <input-wrapper
+ v-bind="inputWrapperProps"
+ >
+ <template #label>
+ <slot name="label" />
+ </template>
+
+ <v-select v-model="compVal"
+ :data="finalOptions"
+ :label="label"
+ :option-key="optionKey"
+ :emit-key="emitKey"
+ :required="required"
+ :multiple="multiple"
+ :searchable="searchable"
+ :loading="loading"
+ :color="color"
+ :placeholder="placeholder"
+ :uppercase-labels="uppercaseLabels"
+ :theme="theme"
+ :has-error="hasValidation && form.errors.has(name)"
+ :allow-creation="allowCreation"
+ :disabled="disabled?true:null"
+ :help="help"
+ :help-position="helpPosition"
+
+ @update-options="updateOptions"
+ >
+ <template #selected="{option}">
+ <slot name="selected" :option="option" :optionName="getOptionName(option)">
+ <template v-if="multiple">
+ <div class="flex items-center truncate mr-6">
+ <span v-for="(item,index) in option" :key="item" class="truncate">
+ <span v-if="index!==0">, </span>
+ {{ getOptionName(item) }}
+ </span>
+ </div>
+ </template>
+ <template v-else>
+ <div class="flex items-center truncate mr-6">
+ <div>{{ getOptionName(option) }}</div>
+ </div>
+ </template>
+ </slot>
+ </template>
+ <template #option="{option, selected}">
+ <slot name="option" :option="option" :selected="selected">
+ <span class="flex group-hover:text-white">
+ <p class="flex-grow group-hover:text-white">
+ {{ option.name }}
+ </p>
+ <span v-if="selected" class="absolute inset-y-0 right-0 flex items-center pr-4 dark:text-white">
+ <svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
+ <path fill-rule="evenodd"
+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ </span>
+ </span>
+ </slot>
+ </template>
+ </v-select>
+
+ <template #help>
+ <slot name="help" />
+ </template>
+
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import { inputProps, useFormInput } from './useFormInput.js'
+import InputWrapper from './components/InputWrapper.vue'
+
+/**
+ * Options: {name,value} objects
+ */
+export default {
+ name: 'SelectInput',
+ components: { InputWrapper },
+
+ props: {
+ ...inputProps,
+ options: { type: Array, required: true },
+ optionKey: { type: String, default: 'value' },
+ emitKey: { type: String, default: 'value' },
+ displayKey: { type: String, default: 'name' },
+ loading: { type: Boolean, default: false },
+ multiple: { type: Boolean, default: false },
+ searchable: { type: Boolean, default: false },
+ allowCreation: { type: Boolean, default: false }
+ },
+
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ },
+
+ data () {
+ return {
+ additionalOptions: []
+ }
+ },
+
+ computed: {
+ finalOptions () {
+ return this.options.concat(this.additionalOptions)
+ }
+ },
+ methods: {
+ getOptionName (val) {
+ const option = this.finalOptions.find((optionCandidate) => {
+ return optionCandidate[this.optionKey] === val
+ })
+ if (option) return option[this.displayKey]
+ return null
+ },
+ updateOptions (newItem) {
+ if (newItem) {
+ this.additionalOptions.push(newItem)
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/SignatureInput.vue b/client/components/forms/SignatureInput.vue
new file mode 100644
index 000000000..3859127bf
--- /dev/null
+++ b/client/components/forms/SignatureInput.vue
@@ -0,0 +1,62 @@
+<template>
+ <input-wrapper
+ v-bind="inputWrapperProps"
+ >
+ <template #label>
+ <slot name="label" />
+ </template>
+
+ <VueSignaturePad ref="signaturePad"
+ :class="[theme.default.input,{ '!ring-red-500 !ring-2': hasValidation && form.errors.has(name), '!cursor-not-allowed !bg-gray-200':disabled }]"
+ height="150px"
+ :name="name"
+ :options="{ onEnd }"
+ />
+
+ <template #bottom_after_help>
+ <small :class="theme.default.help">
+ <a :class="theme.default.help" href="#" @click.prevent="clear">Clear</a>
+ </small>
+ </template>
+
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import { inputProps, useFormInput } from './useFormInput.js'
+import InputWrapper from './components/InputWrapper.vue'
+import { VueSignaturePad } from 'vue-signature-pad'
+
+export default {
+ name: 'SignatureInput',
+ components: { InputWrapper, VueSignaturePad },
+
+ props: {
+ ...inputProps
+ },
+
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ },
+
+ methods: {
+ clear () {
+ this.$refs.signaturePad.clearSignature()
+ this.onEnd()
+ },
+ onEnd () {
+ if (this.disabled) {
+ this.$refs.signaturePad.clearSignature()
+ } else {
+ const { isEmpty, data } = this.$refs.signaturePad.saveSignature()
+ this.form[this.name] = (!isEmpty && data) ? data : null
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/TextAreaInput.vue b/client/components/forms/TextAreaInput.vue
new file mode 100644
index 000000000..6929602e4
--- /dev/null
+++ b/client/components/forms/TextAreaInput.vue
@@ -0,0 +1,56 @@
+<template>
+ <input-wrapper
+ v-bind="inputWrapperProps"
+ >
+ <template #label>
+ <slot name="label" />
+ </template>
+
+ <textarea :id="id?id:name" v-model="compVal" :disabled="disabled?true:null"
+ :class="[theme.default.input,{ '!ring-red-500 !ring-2': hasValidation && form.errors.has(name), '!cursor-not-allowed !bg-gray-200':disabled }]"
+ class="resize-y"
+ :name="name" :style="inputStyle"
+ :placeholder="placeholder"
+ :maxlength="maxCharLimit"
+ />
+
+ <template v-if="maxCharLimit && showCharLimit" #bottom_after_help>
+ <small :class="theme.default.help">
+ {{ charCount }}/{{ maxCharLimit }}
+ </small>
+ </template>
+
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import { inputProps, useFormInput } from './useFormInput.js'
+import InputWrapper from './components/InputWrapper.vue'
+
+export default {
+ name: 'TextAreaInput',
+ components: { InputWrapper },
+ mixins: [],
+
+ props: {
+ ...inputProps,
+ maxCharLimit: { type: Number, required: false, default: null },
+ showCharLimit: { type: Boolean, required: false, default: false }
+ },
+
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ },
+
+ computed: {
+ charCount () {
+ return (this.compVal) ? this.compVal.length : 0
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/TextInput.vue b/client/components/forms/TextInput.vue
new file mode 100644
index 000000000..a431bebc5
--- /dev/null
+++ b/client/components/forms/TextInput.vue
@@ -0,0 +1,76 @@
+<template>
+ <input-wrapper
+ v-bind="inputWrapperProps"
+ >
+ <template #label>
+ <slot name="label" />
+ </template>
+
+ <input :id="id?id:name" v-model="compVal" :disabled="disabled?true:null"
+ :type="nativeType"
+ :pattern="pattern"
+ :style="inputStyle"
+ :class="[theme.default.input, { '!ring-red-500 !ring-2': hasError, '!cursor-not-allowed !bg-gray-200': disabled }]"
+ :name="name" :accept="accept"
+ :placeholder="placeholder" :min="min" :max="max" :maxlength="maxCharLimit"
+ @change="onChange" @keydown.enter.prevent="onEnterPress"
+ >
+
+ <template v-if="maxCharLimit && showCharLimit" #bottom_after_help>
+ <small :class="theme.default.help">
+ {{ charCount }}/{{ maxCharLimit }}
+ </small>
+ </template>
+
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import { inputProps, useFormInput } from './useFormInput.js'
+import InputWrapper from './components/InputWrapper.vue'
+
+export default {
+ name: 'TextInput',
+ components: { InputWrapper },
+
+ props: {
+ ...inputProps,
+ nativeType: { type: String, default: 'text' },
+ accept: { type: String, default: null },
+ min: { type: Number, required: false, default: null },
+ max: { type: Number, required: false, default: null },
+ maxCharLimit: { type: Number, required: false, default: null },
+ showCharLimit: { type: Boolean, required: false, default: false },
+ pattern: { type: String, default: null }
+ },
+
+ setup (props, context) {
+ const onChange = (event) => {
+ if (props.nativeType !== 'file') return
+
+ const file = event.target.files[0]
+ // eslint-disable-next-line vue/no-mutating-props
+ props.form[props.name] = file
+ }
+
+ const onEnterPress = (event) => {
+ event.preventDefault()
+ return false
+ }
+
+ return {
+ ...useFormInput(props, context, props.nativeType === 'file' ? 'file-' : null),
+ onEnterPress,
+ onChange
+ }
+ },
+ computed: {
+ charCount () {
+ return (this.compVal) ? this.compVal.length : 0
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/ToggleSwitchInput.vue b/client/components/forms/ToggleSwitchInput.vue
new file mode 100644
index 000000000..208121ddb
--- /dev/null
+++ b/client/components/forms/ToggleSwitchInput.vue
@@ -0,0 +1,46 @@
+<template>
+ <input-wrapper v-bind="inputWrapperProps">
+ <template #label>
+ <span />
+ </template>
+
+ <div class="flex">
+ <v-switch :id="id?id:name" v-model="compVal" class="inline-block mr-2" :disabled="disabled?true:null" />
+ <slot name="label">
+ <span>{{ label }} <span v-if="required" class="text-red-500 required-dot">*</span></span>
+ </slot>
+ </div>
+
+ <template #help>
+ <slot name="help" />
+ </template>
+
+ <template #error>
+ <slot name="error" />
+ </template>
+ </input-wrapper>
+</template>
+
+<script>
+import { inputProps, useFormInput } from './useFormInput.js'
+import VSwitch from './components/VSwitch.vue'
+import InputWrapper from './components/InputWrapper.vue'
+export default {
+ name: 'ToggleSwitchInput',
+
+ components: { InputWrapper, VSwitch },
+ props: {
+ ...inputProps
+ },
+
+ setup (props, context) {
+ return {
+ ...useFormInput(props, context)
+ }
+ },
+
+ mounted () {
+ this.compVal = !!this.compVal
+ }
+}
+</script>
diff --git a/client/components/forms/components/InputHelp.vue b/client/components/forms/components/InputHelp.vue
new file mode 100644
index 000000000..51d9c03ea
--- /dev/null
+++ b/client/components/forms/components/InputHelp.vue
@@ -0,0 +1,21 @@
+<template>
+ <div class="flex mb-1 input-help">
+ <small :class="theme.default.help" class="grow flex">
+ <slot name="help"><span class="field-help" v-html="help" /></slot>
+ </small>
+ <slot name="after-help">
+ <small class="flex-grow" />
+ </slot>
+ </div>
+</template>
+
+<script>
+export default {
+ name: 'InputHelp',
+
+ props: {
+ theme: { type: Object, required: true },
+ help: { type: String, required: false }
+ }
+}
+</script>
diff --git a/client/components/forms/components/InputLabel.vue b/client/components/forms/components/InputLabel.vue
new file mode 100644
index 000000000..0180b7511
--- /dev/null
+++ b/client/components/forms/components/InputLabel.vue
@@ -0,0 +1,25 @@
+<template>
+ <label :for="nativeFor"
+ class="input-label"
+ :class="[theme.default.label,{'uppercase text-xs': uppercaseLabels, 'text-sm': !uppercaseLabels}]"
+ >
+ <slot>
+ {{ label }}
+ <span v-if="required" class="text-red-500 required-dot">*</span>
+ </slot>
+ </label>
+</template>
+
+<script>
+export default {
+ name: 'InputLabel',
+
+ props: {
+ nativeFor: { type: String, default: null },
+ theme: { type: Object, required: true },
+ uppercaseLabels: { type: Boolean, default: false },
+ required: { type: Boolean, default: false },
+ label: { type: String, required: true }
+ }
+}
+</script>
diff --git a/client/components/forms/components/InputWrapper.vue b/client/components/forms/components/InputWrapper.vue
new file mode 100644
index 000000000..a9ddb946c
--- /dev/null
+++ b/client/components/forms/components/InputWrapper.vue
@@ -0,0 +1,54 @@
+<template>
+ <div :class="wrapperClass" :style="inputStyle">
+ <slot name="label">
+ <input-label v-if="label && !hideFieldName"
+ :label="label"
+ :theme="theme"
+ :required="required"
+ :native-for="id?id:name"
+ :uppercase-labels="uppercaseLabels"
+ />
+ </slot>
+ <slot v-if="help && helpPosition==='above_input'" name="help">
+ <input-help :help="help" :theme="theme" />
+ </slot>
+ <slot />
+
+ <slot v-if="(help && helpPosition==='below_input') || $slots.bottom_after_help" name="help">
+ <input-help :help="help" :theme="theme">
+ <template #after-help>
+ <slot name="bottom_after_help" />
+ </template>
+ </input-help>
+ </slot>
+ <slot name="error">
+ <has-error v-if="hasValidation && form" :form="form" :field="name" />
+ </slot>
+ </div>
+</template>
+
+<script>
+import InputLabel from './InputLabel.vue'
+import InputHelp from './InputHelp.vue'
+
+export default {
+ name: 'InputWrapper',
+ components: { InputLabel, InputHelp },
+
+ props: {
+ id: { type: String, required: false },
+ name: { type: String, required: false },
+ label: { type: String, required: false },
+ form: { type: Object, required: false },
+ theme: { type: Object, required: true },
+ wrapperClass: { type: String, required: false },
+ inputStyle: { type: Object, required: false },
+ help: { type: String, required: false },
+ helpPosition: { type: String, default: 'below_input' },
+ uppercaseLabels: { type: Boolean, default: true },
+ hideFieldName: { type: Boolean, default: true },
+ required: { type: Boolean, default: false },
+ hasValidation: { type: Boolean, default: true }
+ }
+}
+</script>
diff --git a/client/components/forms/components/UploadedFile.vue b/client/components/forms/components/UploadedFile.vue
new file mode 100644
index 000000000..f0baa118f
--- /dev/null
+++ b/client/components/forms/components/UploadedFile.vue
@@ -0,0 +1,63 @@
+<template>
+ <div
+ :class="[theme.fileInput.uploadedFile, 'overflow-hidden']"
+ :title="file.file.name"
+ >
+ <div v-if="file.src && !isImageHide" class="h-20 overflow-hidden flex">
+ <img class="block object-cover object-center w-full" :src="file.src" @error="isImageHide=true">
+ </div>
+ <div v-else class="h-20 flex items-center justify-center">
+ <svg class="w-10 h-10 text-gray-500" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
+ stroke-width="0.8" stroke="currentColor"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"
+ />
+ </svg>
+ </div>
+ <div class="flex gap-2 items-center border-t py-1 px-2">
+ <p class="flex-grow text-left truncate text-gray-500 text-xs">
+ {{ file.file.name }}
+ </p>
+ <a
+ href="javascript:void(0);"
+ class="flex text-gray-400 rounded hover:bg-neutral-50 hover:text-red-500 dark:text-gray-600 p-1"
+ role="button"
+ title="Remove"
+ @click.stop="$emit('remove')"
+ >
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ class="h-4 w-4"
+ fill="none"
+ viewBox="0 0 24 24"
+ stroke="currentColor"
+ >
+ <path
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ stroke-width="2"
+ d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
+ />
+ </svg>
+ </a>
+ </div>
+ </div>
+</template>
+
+<script>
+export default {
+ name: 'UploadedFile',
+
+ props: {
+ file: { default: null },
+ theme: { type: Object }
+ },
+
+ data: () => ({
+ isImageHide: false
+ }),
+
+ computed: {}
+}
+</script>
diff --git a/client/components/forms/components/VCheckbox.vue b/client/components/forms/components/VCheckbox.vue
new file mode 100644
index 000000000..2a140d377
--- /dev/null
+++ b/client/components/forms/components/VCheckbox.vue
@@ -0,0 +1,72 @@
+<template>
+ <div class="flex items-center">
+ <input
+ :id="id || name"
+ :name="name"
+ :checked="internalValue"
+ type="checkbox"
+ :class="sizeClasses"
+ class="rounded border-gray-500 cursor-pointer"
+ :disabled="disabled?true:null"
+ @click="handleClick"
+ >
+ <label :for="id || name" class="text-gray-700 dark:text-gray-300 ml-2" :class="{'!cursor-not-allowed':disabled}">
+ <slot />
+ </label>
+ </div>
+</template>
+
+<script setup>
+import { ref, watch, onMounted, defineProps, defineEmits, defineOptions } from 'vue'
+
+defineOptions({
+ name: 'VCheckbox'
+})
+
+const props = defineProps({
+ id: { type: String, default: null },
+ name: { type: String, default: 'checkbox' },
+ modelValue: { type: [Boolean, String], default: false },
+ checked: { type: Boolean, default: false },
+ disabled: { type: Boolean, default: false },
+ sizeClasses: { type: String, default: 'w-4 h-4' }
+})
+
+const emit = defineEmits(['update:modelValue', 'click'])
+
+const internalValue = ref(props.modelValue)
+
+watch(() => props.modelValue, val => {
+ internalValue.value = val
+})
+
+watch(() => props.checked, val => {
+ internalValue.value = val
+})
+
+watch(() => internalValue.value, (val, oldVal) => {
+ if (val === 0 || val === '0') val = false
+ if (val === 1 || val === '1') val = true
+
+ if (val !== oldVal) {
+ emit('update:modelValue', val)
+ }
+})
+
+if ('checked' in props) {
+ internalValue.value = props.checked
+}
+
+onMounted(() => {
+ emit('update:modelValue', internalValue.value)
+})
+
+const handleClick = (e) => {
+ emit('click', e)
+
+ if (!e.isPropagationStopped) {
+ internalValue.value = e.target.checked
+ emit('update:modelValue', internalValue.value)
+ }
+}
+</script>
diff --git a/client/components/forms/components/VSelect.vue b/client/components/forms/components/VSelect.vue
new file mode 100644
index 000000000..22236dc89
--- /dev/null
+++ b/client/components/forms/components/VSelect.vue
@@ -0,0 +1,224 @@
+<template>
+ <div class="v-select relative">
+ <span class="inline-block w-full rounded-md">
+ <button type="button" aria-haspopup="listbox" aria-expanded="true" aria-labelledby="listbox-label"
+ class="cursor-pointer"
+ :style="inputStyle"
+ :class="[theme.SelectInput.input,{'py-2': !multiple || loading,'py-1': multiple, '!ring-red-500 !ring-2': hasError, '!cursor-not-allowed !bg-gray-200': disabled}, inputClass]"
+ @click.stop="toggleDropdown"
+ >
+ <div :class="{'h-6': !multiple, 'min-h-8': multiple && !loading}">
+ <transition name="fade" mode="out-in">
+ <loader v-if="loading" key="loader" class="h-6 w-6 text-nt-blue mx-auto" />
+ <div v-else-if="modelValue" key="value" class="flex" :class="{'min-h-8': multiple}">
+ <slot name="selected" :option="modelValue" />
+ </div>
+ <div v-else key="placeholder">
+ <slot name="placeholder">
+ <div class="text-gray-400 dark:text-gray-500 w-full text-left truncate pr-3"
+ :class="{'py-1': multiple && !loading}"
+ >
+ {{ placeholder }}
+ </div>
+ </slot>
+ </div>
+ </transition>
+ </div>
+ <span class="absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none">
+ <svg class="h-5 w-5 text-gray-400" viewBox="0 0 20 20" fill="none" stroke="currentColor">
+ <path d="M7 7l3-3 3 3m0 6l-3 3-3-3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
+ </svg>
+ </span>
+ </button>
+ </span>
+ <collapsible v-model="isOpen"
+ class="absolute mt-1 rounded-md bg-white dark:bg-notion-dark-light shadow-xl z-10"
+ :class="dropdownClass"
+ >
+ <ul tabindex="-1" role="listbox"
+ class="rounded-md text-base leading-6 shadow-xs overflow-auto focus:outline-none sm:text-sm sm:leading-5 relative"
+ :class="{'max-h-42 py-1': !isSearchable,'max-h-48 pb-1': isSearchable}"
+ >
+ <div v-if="isSearchable" class="px-2 pt-2 sticky top-0 bg-white dark-bg-notion-dark-light z-10">
+ <text-input v-model="searchTerm" name="search" :color="color" :theme="theme"
+ placeholder="Search..."
+ />
+ </div>
+ <div v-if="loading" class="w-full py-2 flex justify-center">
+ <loader class="h-6 w-6 text-nt-blue mx-auto" />
+ </div>
+ <template v-if="filteredOptions.length > 0">
+ <li v-for="item in filteredOptions" :key="item[optionKey]" role="option" :style="optionStyle"
+ :class="{'px-3 pr-9': multiple, 'px-3': !multiple}"
+ class="text-gray-900 cursor-default select-none relative py-2 cursor-pointer group hover:text-white hover:bg-form-color focus:outline-none focus-text-white focus-nt-blue"
+ @click="select(item)"
+ >
+ <slot name="option" :option="item" :selected="isSelected(item)" />
+ </li>
+ </template>
+ <p v-else-if="!loading && !(allowCreation && searchTerm)" class="w-full text-gray-500 text-center py-2">
+ {{ (allowCreation ? 'Type something to add an option' : 'No option available') }}.
+ </p>
+ <li v-if="allowCreation && searchTerm" role="option" :style="optionStyle"
+ :class="{'px-3 pr-9': multiple, 'px-3': !multiple}"
+ class="text-gray-900 cursor-default select-none relative py-2 cursor-pointer group hover:text-white hover:bg-form-color focus:outline-none focus-text-white focus-nt-blue"
+ @click="createOption(searchTerm)"
+ >
+ Create <b class="px-1 bg-gray-300 rounded group-hover-text-black">{{ searchTerm }}</b>
+ </li>
+ </ul>
+ </collapsible>
+ </div>
+</template>
+
+<script>
+import Collapsible from '~/components/global/transitions/Collapsible.vue'
+import { themes } from '../../../config/form-themes'
+import TextInput from '../TextInput.vue'
+import debounce from 'debounce'
+import Fuse from 'fuse.js'
+
+export default {
+ name: 'VSelect',
+ components: { Collapsible, TextInput },
+ directives: {},
+ props: {
+ data: Array,
+ modelValue: { default: null },
+ inputClass: { type: String, default: null },
+ dropdownClass: { type: String, default: 'w-full' },
+ loading: { type: Boolean, default: false },
+ required: { type: Boolean, default: false },
+ multiple: { type: Boolean, default: false },
+ searchable: { type: Boolean, default: false },
+ hasError: { type: Boolean, default: false },
+ remote: { type: Function, default: null },
+ searchKeys: { type: Array, default: () => ['name'] },
+ optionKey: { type: String, default: 'id' },
+ emitKey: { type: String, default: null },
+ color: { type: String, default: '#3B82F6' },
+ placeholder: { type: String, default: null },
+ uppercaseLabels: { type: Boolean, default: true },
+ theme: { type: Object, default: () => themes.default },
+ allowCreation: { type: Boolean, default: false },
+ disabled: { type: Boolean, default: false }
+ },
+ data () {
+ return {
+ isOpen: false,
+ searchTerm: '',
+ defaultValue: this.modelValue ?? null
+ }
+ },
+ computed: {
+ optionStyle () {
+ return {
+ '--bg-form-color': this.color
+ }
+ },
+ inputStyle () {
+ return {
+ '--tw-ring-color': this.color
+ }
+ },
+ debouncedRemote () {
+ if (this.remote) {
+ return debounce(this.remote, 300)
+ }
+ return null
+ },
+ filteredOptions () {
+ if (!this.data) return []
+ if (!this.searchable || this.remote || this.searchTerm === '') {
+ return this.data
+ }
+
+ // Fuse search
+ const fuzeOptions = {
+ keys: this.searchKeys
+ }
+ const fuse = new Fuse(this.data, fuzeOptions)
+ return fuse.search(this.searchTerm).map((res) => {
+ return res.item
+ })
+ },
+ isSearchable () {
+ return this.searchable || this.remote !== null || this.allowCreation
+ }
+ },
+ watch: {
+ searchTerm (val) {
+ if (!this.debouncedRemote) return
+ if ((this.remote && val) || (val === '' && !this.modelValue) || (val === '' && this.isOpen)) {
+ return this.debouncedRemote(val)
+ }
+ }
+ },
+ methods: {
+ isSelected (value) {
+ if (!this.modelValue) return false
+
+ if (this.emitKey && value[this.emitKey]) {
+ value = value[this.emitKey]
+ }
+
+ if (this.multiple) {
+ return this.modelValue.includes(value)
+ }
+ return this.modelValue === value
+ },
+ toggleDropdown () {
+ if (this.disabled) {
+ this.isOpen = false
+ }
+ this.isOpen = !this.isOpen
+ if (!this.isOpen) {
+ this.searchTerm = ''
+ }
+ },
+ select (value) {
+ if (!this.multiple) {
+ // Close after select
+ this.toggleDropdown()
+ }
+
+ if (this.emitKey) {
+ value = value[this.emitKey]
+ }
+
+ if (this.multiple) {
+ const emitValue = Array.isArray(this.modelValue) ? [...this.modelValue] : []
+
+ if (this.isSelected(value)) {
+ this.$emit('update:modelValue', emitValue.filter((item) => {
+ if (this.emitKey) {
+ return item !== value
+ }
+ return item[this.optionKey] !== value && item[this.optionKey] !== value[this.optionKey]
+ }))
+ return
+ }
+
+ emitValue.push(value)
+ this.$emit('update:modelValue', emitValue)
+ } else {
+ if (this.modelValue === value) {
+ this.$emit('update:modelValue', this.defaultValue ?? null)
+ } else {
+ this.$emit('update:modelValue', value)
+ }
+ }
+ },
+ createOption (newOption) {
+ if (newOption) {
+ const newItem = {
+ name: newOption,
+ value: newOption
+ }
+ this.$emit('update-options', newItem)
+ this.select(newItem)
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/components/VSwitch.vue b/client/components/forms/components/VSwitch.vue
new file mode 100644
index 000000000..ce906f38a
--- /dev/null
+++ b/client/components/forms/components/VSwitch.vue
@@ -0,0 +1,22 @@
+<template>
+ <div role="button" @click="onClick">
+ <div class="inline-flex items-center h-6 w-12 p-1 bg-gray-300 border rounded-full cursor-pointer focus:outline-none transition-all transform ease-in-out duration-100" :class="{'bg-nt-blue': modelValue}">
+ <div class="inline-block h-4 w-4 rounded-full bg-white shadow transition-all transform ease-in-out duration-150 rounded-2xl scale-100" :class="{'translate-x-5.5': modelValue}" />
+ </div>
+ </div>
+</template>
+
+<script setup>
+import { defineProps, defineEmits } from 'vue'
+
+const { modelValue, disabled } = defineProps({
+ modelValue: { type: Boolean, default: false },
+ disabled: { type: Boolean, default: false }
+})
+const emit = defineEmits(['update:modelValue'])
+
+const onClick = () => {
+ if (disabled) return
+ emit('update:modelValue', !modelValue)
+}
+</script>
diff --git a/client/components/forms/index.js b/client/components/forms/index.js
new file mode 100644
index 000000000..fd6f7a7c8
--- /dev/null
+++ b/client/components/forms/index.js
@@ -0,0 +1,55 @@
+import { defineAsyncComponent } from 'vue'
+
+import HasError from './validation/HasError.vue'
+import AlertError from './validation/AlertError.vue'
+import AlertSuccess from './validation/AlertSuccess.vue'
+import VCheckbox from './components/VCheckbox.vue'
+import TextInput from './TextInput.vue'
+import TextAreaInput from './TextAreaInput.vue'
+import VSelect from './components/VSelect.vue'
+import CheckboxInput from './CheckboxInput.vue'
+import SelectInput from './SelectInput.vue'
+import ColorInput from './ColorInput.vue'
+import FileInput from './FileInput.vue'
+import ImageInput from './ImageInput.vue'
+import RatingInput from './RatingInput.vue'
+import FlatSelectInput from './FlatSelectInput.vue'
+import ToggleSwitchInput from './ToggleSwitchInput.vue'
+import ScaleInput from './ScaleInput.vue'
+
+export function registerComponents (app) {
+ [
+ HasError,
+ AlertError,
+ AlertSuccess,
+ VCheckbox,
+ VSelect,
+ CheckboxInput,
+ ColorInput,
+ TextInput,
+ SelectInput,
+ TextAreaInput,
+ FileInput,
+ ImageInput,
+ RatingInput,
+ FlatSelectInput,
+ ToggleSwitchInput,
+ ScaleInput
+ ].forEach(Component => {
+ Component.name ? app.component(Component.name, Component) : app.component(Component.name, Component)
+ })
+
+ // Register async components
+ app.component('SignatureInput', defineAsyncComponent(() =>
+ import('./SignatureInput.vue')
+ ))
+ app.component('RichTextAreaInput', defineAsyncComponent(() =>
+ import('./RichTextAreaInput.vue')
+ ))
+ app.component('PhoneInput', defineAsyncComponent(() =>
+ import('./PhoneInput.vue')
+ ))
+ app.component('DateInput', defineAsyncComponent(() =>
+ import('./DateInput.vue')
+ ))
+}
diff --git a/client/components/forms/useFormInput.js b/client/components/forms/useFormInput.js
new file mode 100644
index 000000000..a47891962
--- /dev/null
+++ b/client/components/forms/useFormInput.js
@@ -0,0 +1,88 @@
+import { ref, computed, watch } from 'vue'
+import { themes } from '~/config/form-themes.js'
+
+export const inputProps = {
+ id: { type: String, default: null },
+ name: { type: String, required: true },
+ label: { type: String, required: false },
+ form: { type: Object, required: false },
+ theme: { type: Object, default: () => themes.default },
+ modelValue: { required: false },
+ required: { type: Boolean, default: false },
+ disabled: { type: Boolean, default: false },
+ placeholder: { type: String, default: null },
+ uppercaseLabels: { type: Boolean, default: false },
+ hideFieldName: { type: Boolean, default: false },
+ help: { type: String, default: null },
+ helpPosition: { type: String, default: 'below_input' },
+ color: { type: String, default: '#3B82F6' },
+ wrapperClass: { type: String, default: 'relative mb-3' }
+}
+
+export function useFormInput (props, context, formPrefixKey = null) {
+ const content = ref(props.modelValue)
+
+ const inputStyle = computed(() => {
+ return {
+ '--tw-ring-color': props.color
+ }
+ })
+
+ const hasValidation = computed(() => {
+ return props.form !== null && props.form !== undefined && props.form.hasOwnProperty('errors')
+ })
+
+ const hasError = computed(() => {
+ return hasValidation && props.form?.errors?.has(name)
+ })
+
+ const compVal = computed({
+ get: () => {
+ if (props.form) {
+ return props.form[(formPrefixKey || '') + props.name]
+ }
+ return content.value
+ },
+ set: (val) => {
+ if (props.form) {
+ props.form[(formPrefixKey || '') + props.name] = val
+ } else {
+ content.value = val
+ }
+
+ if (hasValidation.value) {
+ props.form.errors.clear(props.name)
+ }
+
+ context.emit('update:modelValue', compVal.value)
+ }
+ })
+
+ const inputWrapperProps = computed(() => {
+ const wrapperProps = {}
+ Object.keys(inputProps).forEach((key) => {
+ if (!['modelValue', 'disabled', 'placeholder', 'color'].includes(key)) {
+ wrapperProps[key] = props[key]
+ }
+ })
+ return wrapperProps
+ })
+
+ // Watch for changes in props.modelValue and update the local content
+ watch(
+ () => props.modelValue,
+ (newValue) => {
+ if (content.value !== newValue) {
+ content.value = newValue
+ }
+ }
+ )
+
+ return {
+ compVal,
+ inputStyle,
+ hasValidation,
+ hasError,
+ inputWrapperProps
+ }
+}
diff --git a/client/components/forms/validation/Alert.js b/client/components/forms/validation/Alert.js
new file mode 100644
index 000000000..eab837c45
--- /dev/null
+++ b/client/components/forms/validation/Alert.js
@@ -0,0 +1,21 @@
+export default {
+ props: {
+ form: {
+ type: Object,
+ required: true
+ },
+
+ dismissible: {
+ type: Boolean,
+ default: true
+ }
+ },
+
+ methods: {
+ dismiss () {
+ if (this.dismissible) {
+ this.form.clear()
+ }
+ }
+ }
+}
diff --git a/client/components/forms/validation/AlertError.vue b/client/components/forms/validation/AlertError.vue
new file mode 100644
index 000000000..f004caae8
--- /dev/null
+++ b/client/components/forms/validation/AlertError.vue
@@ -0,0 +1,29 @@
+<template>
+ <div v-if="form.errors.any()" class="alert alert-danger alert-dismissible" role="alert">
+ <button v-if="dismissible" type="button" class="close" aria-label="Close" @click="dismiss">
+ <span aria-hidden="true">&times;</span>
+ </button>
+
+ <slot>
+ <div v-if="form.errors.has('error')" v-html="form.errors.get('error')"/>
+ <div v-else v-html="message"/>
+ </slot>
+ </div>
+</template>
+
+<script>
+import Alert from './Alert.js'
+
+export default {
+ name: 'AlertError',
+
+ extends: Alert,
+
+ props: {
+ message: {
+ type: String,
+ default: 'There were some problems with your input.'
+ }
+ }
+}
+</script>
diff --git a/client/components/forms/validation/AlertSuccess.vue b/client/components/forms/validation/AlertSuccess.vue
new file mode 100644
index 000000000..5b998c49a
--- /dev/null
+++ b/client/components/forms/validation/AlertSuccess.vue
@@ -0,0 +1,37 @@
+<template>
+ <transition name="fade">
+ <div v-if="form.successful" class="bg-green-200 border-green-600 text-green-600 border-l-4 p-4 relative rounded-lg"
+ role="alert">
+ <button v-if="dismissible"
+ type="button"
+ @click.prevent="dismiss()"
+ class="absolute right-2 top-0 -mr-1 flex-shrink-0 flex p-2 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500 sm:-mr-2">
+ <span class="sr-only">
+ Dismiss
+ </span>
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="h-6 w-6 text-green-500"
+ viewBox="0 0 1792 1792">
+ <path
+ d="M1490 1322q0 40-28 68l-136 136q-28 28-68 28t-68-28l-294-294-294 294q-28 28-68 28t-68-28l-136-136q-28-28-28-68t28-68l294-294-294-294q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294 294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68l-294 294 294 294q28 28 28 68z">
+ </path>
+ </svg>
+ </button>
+ <p class="font-bold">
+ Success
+ </p>
+ <div v-html="message"/>
+ </div>
+ </transition>
+</template>
+
+<script>
+import Alert from './Alert.js'
+
+export default {
+ name: 'AlertSuccess',
+ extends: Alert,
+ props: {
+ message: { type: String, default: '' }
+ }
+}
+</script>
diff --git a/client/components/forms/validation/HasError.vue b/client/components/forms/validation/HasError.vue
new file mode 100644
index 000000000..814d8f57d
--- /dev/null
+++ b/client/components/forms/validation/HasError.vue
@@ -0,0 +1,43 @@
+<template>
+ <transition name="fade">
+ <div v-if="errorMessage" class="has-error text-sm text-red-500 -bottom-3"
+ v-html="errorMessage"
+ />
+ </transition>
+</template>
+
+<script>
+export default {
+ name: 'HasError',
+ props: {
+ form: {
+ type: Object,
+ required: true
+ },
+ field: {
+ type: String,
+ required: true
+ }
+ },
+ computed: {
+ errorMessage () {
+ if (!this.form || !this.form.errors || !this.form.errors.any()) return null
+ const subErrorsKeys = Object.keys(this.form.errors.all()).filter((key) => {
+ return key.startsWith(this.field) && key !== this.field
+ })
+ const baseError = this.form.errors.get(this.field) ?? (subErrorsKeys.length ? 'This field has some errors:' : null)
+ // If no error and no sub errors, return
+ if (!baseError) return null
+
+ return `<p class="text-red-500">${baseError}</p><ul class="list-disc list-inside">${subErrorsKeys.map((key) => {
+ return '<li>' + this.getSubError(key) + '</li>'
+ })}</ul>`
+ }
+ },
+ methods: {
+ getSubError (subErrorKey) {
+ return this.form.errors.get(subErrorKey).replace(subErrorKey, 'item')
+ }
+ }
+}
+</script>
diff --git a/client/components/global/Breadcrumb.vue b/client/components/global/Breadcrumb.vue
new file mode 100644
index 000000000..03e9f2b58
--- /dev/null
+++ b/client/components/global/Breadcrumb.vue
@@ -0,0 +1,89 @@
+<template>
+ <section class="sticky flex items-center inset-x-0 top-0 z-20 py-3 bg-white border-b border-gray-200">
+ <div class="hidden md:flex flex-grow">
+ <slot name="left" />
+ </div>
+ <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
+ <div class="flex items-center justify-center space-x-4">
+ <div v-if="displayHome" class="flex items-center">
+ <router-link class="text-gray-400 hover:text-gray-500" :to="{ name: (authenticated) ? 'home' : 'index' }">
+ <svg class="flex-shrink-0 w-5 h-5" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
+ <path fill-rule="evenodd"
+ d="M9.293 2.293a1 1 0 011.414 0l7 7A1 1 0 0117 11h-1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-3a1 1 0 00-1-1H9a1 1 0 00-1 1v3a1 1 0 01-1 1H5a1 1 0 01-1-1v-6H3a1 1 0 01-.707-1.707l7-7z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ <span class="sr-only">Home</span>
+ </router-link>
+ <svg class="flex-shrink-0 w-5 h-5 text-gray-400 ml-4" viewBox="0 0 20 20" fill="currentColor"
+ aria-hidden="true"
+ >
+ <path fill-rule="evenodd"
+ d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ </div>
+
+ <div v-for="(item,index) in path" :key="index" class="flex items-center">
+ <router-link v-if="item.route" class="text-sm font-semibold text-gray-500 hover:text-gray-700 truncate"
+ :to="item.route"
+ >
+ {{ item.label }}
+ </router-link>
+ <div v-else class="text-sm font-semibold sm:w-full w-36 text-blue-500 truncate">
+ {{ item.label }}
+ </div>
+ <div v-if="index!==path.length-1">
+ <svg class="flex-shrink-0 w-5 h-5 text-gray-400 ml-4" viewBox="0 0 20 20" fill="currentColor"
+ aria-hidden="true"
+ >
+ <path fill-rule="evenodd"
+ d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="hidden md:flex flex-grow justify-end">
+ <slot name="right" />
+ </div>
+ </section>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../../stores/auth';
+
+export default {
+ name: 'Breadcrumb',
+ props: {
+ /**
+ * route: Route object
+ * label: Label
+ */
+ path: { type: Array }
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ authenticated : computed(() => authStore.check)
+ }
+ },
+
+ data () {
+ return {
+ displayHome: true
+ }
+ },
+
+ computed: {},
+
+ mounted () {},
+
+ methods: {}
+}
+</script>
diff --git a/client/components/global/Card.vue b/client/components/global/Card.vue
new file mode 100644
index 000000000..a484cfb9d
--- /dev/null
+++ b/client/components/global/Card.vue
@@ -0,0 +1,27 @@
+<template>
+ <div class="flex flex-col w-full bg-white rounded-lg shadow"
+ :class="{'px-4 py-8 sm:px-6 md:px-8 lg:px-10':padding}"
+ >
+ <div v-if="title" class="self-center mb-6 text-xl font-light text-gray-900 sm:text-3xl font-bold dark:text-white">
+ {{ title }}
+ </div>
+ <slot />
+ </div>
+</template>
+
+<script>
+export default {
+ name: 'Card',
+
+ props: {
+ padding: {
+ type: Boolean,
+ default: true
+ },
+ title: {
+ type: String,
+ default: null
+ }
+ }
+}
+</script>
diff --git a/client/components/global/Collapse.vue b/client/components/global/Collapse.vue
new file mode 100644
index 000000000..0f13a8a59
--- /dev/null
+++ b/client/components/global/Collapse.vue
@@ -0,0 +1,41 @@
+<template>
+ <div>
+ <div class="w-full relative">
+ <div class="cursor-pointer" @click="trigger">
+ <slot name="title" />
+ </div>
+ <div class="text-gray-400 hover:text-gray-600 absolute -right-2 -top-1 cursor-pointer p-2" @click="trigger">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 transition transform duration-500"
+ :class="{'rotate-180':showContent}" viewBox="0 0 20 20" fill="currentColor"
+ >
+ <path fill-rule="evenodd"
+ d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v3.586L7.707 9.293a1 1 0 00-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 10.586V7z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ </div>
+ </div>
+ <VTransition>
+ <div v-if="showContent" class="w-full">
+ <slot />
+ </div>
+ </VTransition>
+ </div>
+</template>
+
+<script setup>
+import VTransition from './transitions/VTransition.vue'
+import { ref, defineProps, defineEmits } from 'vue'
+
+const props = defineProps({
+ modelValue: { type: Boolean, default: null }
+})
+
+const showContent = ref(props.modelValue)
+const emit = defineEmits()
+
+const trigger = () => {
+ showContent.value = !showContent.value
+ emit('update:modelValue', showContent.value)
+}
+</script>
diff --git a/client/components/global/Dropdown.vue b/client/components/global/Dropdown.vue
new file mode 100644
index 000000000..1cd83df82
--- /dev/null
+++ b/client/components/global/Dropdown.vue
@@ -0,0 +1,54 @@
+<template>
+ <div class="relative">
+ <slot name="trigger"
+ :toggle="toggle"
+ :open="open"
+ :close="close"
+ />
+
+ <collapsible v-model="isOpen" :class="dropdownClass">
+ <div class="py-1 " role="menu" aria-orientation="vertical" aria-labelledby="options-menu">
+ <slot />
+ </div>
+ </collapsible>
+ </div>
+</template>
+
+<script>
+import { ref } from 'vue'
+import Collapsible from './transitions/Collapsible.vue'
+
+export default {
+ name: 'Dropdown',
+ components: { Collapsible },
+ directives: {},
+ props: {
+ dropdownClass: {
+ type: String,
+ default: 'origin-top-right absolute right-0 mt-2 w-56 rounded-md shadow-lg bg-white dark:bg-gray-800 ring-1 ring-black ring-opacity-5 z-20'
+ }
+ },
+ setup () {
+ const isOpen = ref(false)
+
+ const open = () => {
+ isOpen.value = true
+ }
+
+ const close = () => {
+ isOpen.value = false
+ }
+
+ const toggle = () => {
+ isOpen.value = !isOpen.value
+ }
+
+ return {
+ isOpen,
+ open,
+ close,
+ toggle
+ }
+ }
+}
+</script>
diff --git a/client/components/global/EditableDiv.vue b/client/components/global/EditableDiv.vue
new file mode 100644
index 000000000..4938a9d17
--- /dev/null
+++ b/client/components/global/EditableDiv.vue
@@ -0,0 +1,72 @@
+<template>
+ <div ref="parentRef"
+ tabindex="0"
+ :class="{
+ 'hover:bg-gray-100 dark:hover:bg-gray-800 rounded px-2 cursor-pointer': !editing
+ }"
+ class="relative"
+ :style="{ height: editing ? divHeight + 'px' : 'auto' }"
+ @focus="startEditing"
+ >
+ <slot v-if="!editing" :content="content">
+ <label class="cursor-pointer truncate w-full">
+ {{ content }}
+ </label>
+ </slot>
+ <div v-if="editing" class="absolute inset-0 border-2 transition-colors"
+ :class="{ 'border-transparent': !editing, 'border-blue-500': editing }"
+ >
+ <input ref="editInputRef" v-model="content"
+ class="absolute inset-0 focus:outline-none bg-white transition-colors"
+ :class="[{'bg-blue-50': editing}, contentClass]" @blur="editing = false" @keyup.enter="editing = false"
+ @input="handleInput"
+ >
+ </div>
+ </div>
+</template>
+
+<script setup>
+import { ref, onMounted, watch, nextTick, defineProps, defineEmits } from 'vue'
+
+const props = defineProps({
+ modelValue: { type: String, required: true },
+ textAlign: { type: String, default: 'left' },
+ contentClass: { type: String, default: '' }
+})
+
+const emit = defineEmits()
+const content = ref(props.modelValue)
+const editing = ref(false)
+const divHeight = ref(0)
+
+const parentRef = ref(null) // Ref for parent element
+const editInputRef = ref(null) // Ref for edit input element
+
+const startEditing = () => {
+ if (parentRef.value) {
+ divHeight.value = parentRef.value.offsetHeight
+ editing.value = true
+ nextTick(() => {
+ if (editInputRef.value) {
+ editInputRef.value.focus()
+ }
+ })
+ }
+}
+
+const handleInput = () => {
+ emit('update:modelValue', content.value)
+}
+
+// Watch for changes in props.modelValue and update the local content
+watch(() => props.modelValue, (newValue) => {
+ content.value = newValue
+})
+
+// Wait until the component is mounted to set the initial divHeight
+onMounted(() => {
+ if (parentRef.value) {
+ divHeight.value = parentRef.value.offsetHeight
+ }
+})
+</script>
diff --git a/client/components/global/Loader.vue b/client/components/global/Loader.vue
new file mode 100644
index 000000000..c8b1aa299
--- /dev/null
+++ b/client/components/global/Loader.vue
@@ -0,0 +1,13 @@
+<template>
+ <svg class="animate-spin" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
+ <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
+ <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
+ </svg>
+</template>
+
+<script>
+export default {
+ name: 'Loader',
+ props: {}
+}
+</script>
diff --git a/client/components/global/Modal.vue b/client/components/global/Modal.vue
new file mode 100644
index 000000000..33f71b93b
--- /dev/null
+++ b/client/components/global/Modal.vue
@@ -0,0 +1,180 @@
+<template>
+ <portal to="modals" :order="portalOrder">
+ <transition @leave="(el,done) => motions.backdrop.leave(done)">
+ <div v-if="show" v-motion="'backdrop'" :variants="motionFadeIn"
+ class="fixed z-30 top-0 inset-0 px-4 sm:px-0 flex items-top justify-center bg-gray-700/75 w-full h-screen overflow-y-scroll"
+ :class="{'backdrop-blur-sm':backdropBlur}"
+ @click.self="close"
+ >
+ <div ref="content" v-motion="'body'" :variants="motionSlideBottom"
+ class="self-start bg-white dark:bg-notion-dark w-full relative p-4 md:p-6 my-6 rounded-xl shadow-xl"
+ :class="maxWidthClass"
+ >
+ <div v-if="closeable" class="absolute top-4 right-4">
+ <button class="text-gray-500 hover:text-gray-900 cursor-pointer" @click.prevent="close">
+ <svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M18 6L6 18M6 6L18 18" stroke="currentColor" stroke-width="2" stroke-linecap="round"
+ stroke-linejoin="round"
+ />
+ </svg>
+ </button>
+ </div>
+ <div class="sm:flex sm:flex-col sm:items-start">
+ <div v-if="$scopedSlots.hasOwnProperty('icon')" class="flex w-full justify-center mb-4">
+ <div class="w-14 h-14 rounded-full flex justify-center items-center"
+ :class="'bg-'+iconColor+'-100 text-'+iconColor+'-600'"
+ >
+ <slot name="icon"/>
+ </div>
+ </div>
+ <div class="mt-3 text-center sm:mt-0 w-full">
+ <h2 v-if="$scopedSlots.hasOwnProperty('title')"
+ class="text-2xl font-semibold text-center text-gray-900"
+ >
+ <slot name="title"/>
+ </h2>
+ </div>
+ </div>
+
+ <div class="w-full">
+ <slot/>
+ </div>
+
+ <div v-if="$scopedSlots.hasOwnProperty('footer')" class="px-6 py-4 bg-gray-100 text-right">
+ <slot name="footer"/>
+ </div>
+ </div>
+ </div>
+ </transition>
+ </portal>
+</template>
+
+<script>
+import {useMotions} from '@vueuse/motion'
+
+export default {
+ name: 'Modal',
+
+ props: {
+ show: {
+ default: false
+ },
+ backdropBlur: {
+ type: Boolean,
+ default: false
+ },
+ iconColor: {
+ default: 'blue'
+ },
+ maxWidth: {
+ default: '2xl'
+ },
+ closeable: {
+ default: true
+ },
+ portalOrder: {
+ default: 1
+ }
+ },
+
+ setup(props) {
+ useHead({
+ bodyAttrs: {
+ class: {
+ 'overflow-hidden': props.show
+ }
+ }
+ })
+
+ const closeOnEscape = (e) => {
+ if (e.key === 'Escape' && this.show) {
+ this.close()
+ }
+ }
+
+ onMounted(() => {
+ if (process.server) return
+ document.addEventListener('keydown', closeOnEscape)
+ })
+
+ onBeforeUnmount(() => {
+ if (process.server) return
+ document.removeEventListener('keydown', closeOnEscape)
+ })
+
+ return {
+ motions: useMotions(),
+ }
+ },
+
+ computed: {
+ maxWidthClass() {
+ return {
+ sm: 'sm:max-w-sm',
+ md: 'sm:max-w-md',
+ lg: 'sm:max-w-lg',
+ xl: 'sm:max-w-xl',
+ '2xl': 'sm:max-w-2xl'
+ }[this.maxWidth]
+ },
+ motionFadeIn() {
+ return {
+ initial: {
+ opacity: 0,
+ transition: {
+ delay: 100,
+ duration: 200,
+ ease: 'easeIn'
+ }
+ },
+ enter: {
+ opacity: 1,
+ transition: {
+ duration: 200
+ }
+ }
+ }
+ },
+ motionSlideBottom() {
+ return {
+ initial: {
+ y: 150,
+ opacity: 0,
+ transition: {
+ ease: 'easeIn',
+ duration: 200
+ }
+ },
+ enter: {
+ y: 0,
+ opacity: 1,
+ transition: {
+ duration: 250,
+ ease: 'easeOut',
+ delay: 100
+ }
+ }
+ }
+ }
+ },
+
+ watch: {
+ show(newVal, oldVal) {
+ if (newVal !== oldVal) {
+ if (!newVal) {
+ this.motions.body.apply('initial')
+ this.motions.backdrop.apply('initial')
+ }
+ }
+ }
+ },
+
+ methods: {
+ close() {
+ if (this.closeable) {
+ this.$emit('close')
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/global/Navbar.vue b/client/components/global/Navbar.vue
new file mode 100644
index 000000000..15d30470f
--- /dev/null
+++ b/client/components/global/Navbar.vue
@@ -0,0 +1,216 @@
+<template>
+ <nav v-if="hasNavbar" class="bg-white dark:bg-notion-dark border-b">
+ <div class="max-w-7xl mx-auto px-8">
+ <div class="flex items-center justify-between h-16">
+ <div class="flex items-center">
+ <router-link :to="{ name: user ? 'home' : 'index' }" class="flex-shrink-0 font-semibold hover:no-underline flex items-center">
+ <img src="/img/logo.svg" alt="notion tools logo" class="w-8 h-8">
+
+ <span
+ class="ml-2 text-md hidden sm:inline text-black dark:text-white"
+ >
+ OpnForm</span>
+ </router-link>
+ <workspace-dropdown class="ml-6" />
+ </div>
+ <div v-if="showAuth" class="hidden md:block ml-auto relative">
+ <router-link v-if="$route.name !== 'templates'" :to="{name:'templates'}"
+ class="text-sm text-gray-600 dark:text-white hover:text-gray-800 cursor-pointer mt-1 mr-8"
+ >
+ Templates
+ </router-link>
+ <router-link v-if="$route.name !== 'ai-form-builder'" :to="{name:'ai-form-builder'}"
+ class="text-sm text-gray-600 dark:text-white hidden lg:inline hover:text-gray-800 cursor-pointer mt-1 mr-8"
+ >
+ AI Form Builder
+ </router-link>
+ <router-link v-if="paidPlansEnabled && (user===null || (user && workspace && !workspace.is_pro)) && $route.name !== 'pricing'" :to="{name:'pricing'}"
+ class="text-sm text-gray-600 dark:text-white hover:text-gray-800 cursor-pointer mt-1 mr-8"
+ >
+ <span v-if="user">Upgrade</span>
+ <span v-else>Pricing</span>
+ </router-link>
+ <a v-if="hasCrisp" href="#"
+ class="text-sm text-gray-600 dark:text-white hover:text-gray-800 cursor-pointer mt-1" @click.prevent="openCrisp"
+ >
+ Help
+ </a>
+ <a v-else :href="helpUrl"
+ class="text-sm text-gray-600 dark:text-white hover:text-gray-800 cursor-pointer mt-1" target="_blank"
+ >
+ Help
+ </a>
+ </div>
+ <div v-if="showAuth" class="hidden md:block pl-5 border-gray-300 border-r h-5" />
+ <div v-if="showAuth" class="block">
+ <div class="flex items-center">
+ <div class="ml-3 mr-4 relative">
+ <div class="relative inline-block text-left">
+ <dropdown v-if="user" dusk="nav-dropdown">
+ <template #trigger="{toggle}">
+ <button id="dropdown-menu-button" type="button"
+ class="flex items-center justify-center w-full rounded-md px-4 py-2 text-sm text-gray-700 dark:text-gray-50 hover:bg-gray-50 dark:hover:bg-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-gray-500"
+ dusk="nav-dropdown-button" @click.stop="toggle()"
+ >
+ <img :src="user.photo_url" class="rounded-full w-6 h-6">
+ <p class="ml-2 hidden sm:inline">
+ {{ user.name }}
+ </p>
+ </button>
+ </template>
+
+ <router-link v-if="userOnboarded" :to="{ name: 'home' }"
+ class="block block px-4 py-2 text-md text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
+ >
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 mr-2" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"
+ />
+ </svg>
+ My Forms
+ </router-link>
+
+ <router-link v-if="userOnboarded" :to="{ name: 'my_templates' }"
+ class="block block px-4 py-2 text-md text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
+ >
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 mr-2" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
+ <path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z" />
+ </svg>
+ My Templates
+ </router-link>
+
+ <router-link :to="{ name: 'settings.profile' }"
+ class="block block px-4 py-2 text-md text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
+ >
+ <svg class="w-4 h-4 mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"
+ />
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"
+ />
+ </svg>
+ Settings
+ </router-link>
+
+ <a href="#"
+ class="block block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
+ @click.prevent="logout"
+ >
+ <svg class="w-4 h-4 mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"
+ />
+ </svg>
+ Logout
+ </a>
+ </dropdown>
+ <div v-else class="flex gap-2">
+ <router-link v-if="$route.name !== 'login'" :to="{ name: 'login' }"
+ class="text-gray-600 dark:text-white hover:text-gray-800 dark:hover:text-white px-0 sm:px-3 py-2 rounded-md text-sm"
+ active-class="text-gray-800 dark:text-white"
+ >
+ Login
+ </router-link>
+
+ <v-button v-track.nav_create_form_click size="small" :to="{ name: 'forms.create.guest' }" color="outline-blue" :arrow="true">
+ Create a form
+ </v-button>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </nav>
+</template>
+
+<script>
+import { computed } from 'vue'
+import Dropdown from '~/components/global/Dropdown.vue'
+import WorkspaceDropdown from './WorkspaceDropdown.vue'
+
+export default {
+ components: {
+ WorkspaceDropdown,
+ Dropdown
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ const formsStore = useFormsStore()
+ const workspacesStore = useWorkspacesStore()
+ const {openCrisp} = useCrisp()
+ return {
+ authStore,
+ formsStore,
+ workspacesStore,
+ openCrisp,
+ config: useConfig(),
+ user: computed(() => authStore.user),
+ isIframe: useIsIframe(),
+ }
+ },
+
+ computed: {
+ helpUrl: () => this.config.links.help_url,
+ form () {
+ if (this.$route.name && this.$route.name.startsWith('forms.show_public')) {
+ return this.formsStore.getBySlug(this.$route.params.slug)
+ }
+ return null
+ },
+ workspace () {
+ return this.workspacesStore.getCurrent()
+ },
+ paidPlansEnabled () {
+ return this.config.paid_plans_enabled
+ },
+ showAuth () {
+ return this.$route.name && !this.$route.name.startsWith('forms.show_public')
+ },
+ hasNavbar () {
+ if (this.isIframe) return false
+
+ if (this.$route.name && this.$route.name.startsWith('forms.show_public')) {
+ if (this.form) {
+ // If there is a cover, or if branding is hidden remove nav
+ if (this.form.cover_picture || this.form.no_branding) {
+ return false
+ }
+ } else {
+ return false
+ }
+ }
+ return !this.$root.navbarHidden
+ },
+ userOnboarded () {
+ return this.user && this.user.workspaces_count > 0
+ },
+ hasCrisp () {
+ return this.config.crisp_website_id
+ }
+ },
+
+ methods: {
+ async logout () {
+ // Log out the user.
+ await this.authStore.logout()
+
+ // Reset store
+ this.workspacesStore.resetState()
+ this.formsStore.resetState()
+
+ // Redirect to login.
+ this.$router.push({ name: 'login' })
+ },
+ }
+}
+</script>
diff --git a/client/components/global/Notifications.vue b/client/components/global/Notifications.vue
new file mode 100644
index 000000000..b7cbbdf08
--- /dev/null
+++ b/client/components/global/Notifications.vue
@@ -0,0 +1,139 @@
+<template>
+ <div class="fixed top-0 bottom-24 right-0 flex px-4 items-start justify-end z-50 pointer-events-none">
+ <notification v-slot="{ notifications, close }">
+ <div class="relative pointer-events-auto" v-for="notification in notifications" :key="notification.id">
+ <div
+ v-if="notification.type==='success'"
+ class="flex max-w-sm w-full mx-auto bg-white shadow-md rounded-lg overflow-hidden mt-4"
+ >
+ <div class="flex justify-center items-center w-12 bg-green-500">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 fill-current text-white" viewBox="0 0 20 20" fill="currentColor">
+ <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" />
+ </svg>
+ </div>
+
+ <div class="-mx-3 py-2 px-4">
+ <div class="mx-3">
+ <span class="text-green-500 font-semibold pr-6">{{notification.title}}</span>
+ <p class="text-gray-600 text-sm">{{notification.text}}</p>
+ </div>
+ </div>
+ </div>
+ <div
+ v-if="notification.type==='info'"
+ class="flex max-w-sm w-full mx-auto bg-white shadow-md rounded-lg overflow-hidden mt-4"
+ >
+ <div class="flex justify-center items-center w-12 bg-blue-500">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 fill-current text-white" viewBox="0 0 20 20" fill="currentColor">
+ <path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z" clip-rule="evenodd" />
+ </svg>
+ </div>
+
+ <div class="-mx-3 py-2 px-4">
+ <div class="mx-3">
+ <span class="text-blue-500 font-semibold pr-6">{{notification.title}}</span>
+ <p class="text-gray-600 text-sm">T{{notification.text}}</p>
+ </div>
+ </div>
+ </div>
+ <div
+ v-if="notification.type==='error'"
+ class="flex max-w-sm w-full mx-auto bg-white shadow-md rounded-lg overflow-hidden mt-4"
+ >
+ <div class="flex justify-center items-center w-12 bg-red-500">
+ <svg
+ class="h-6 w-6 fill-current text-white"
+ viewBox="0 0 40 40"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M20 3.33331C10.8 3.33331 3.33337 10.8 3.33337 20C3.33337 29.2 10.8 36.6666 20 36.6666C29.2 36.6666 36.6667 29.2 36.6667 20C36.6667 10.8 29.2 3.33331 20 3.33331ZM21.6667 28.3333H18.3334V25H21.6667V28.3333ZM21.6667 21.6666H18.3334V11.6666H21.6667V21.6666Z"
+ />
+ </svg>
+ </div>
+
+ <div class="-mx-3 py-2 px-4">
+ <div class="mx-3">
+ <span class="text-red-500 font-semibold pr-6">{{notification.title}}</span>
+ <p class="text-gray-600 text-sm">{{notification.text}}</p>
+ </div>
+ </div>
+ </div>
+ <div
+ class="flex max-w-sm w-full mx-auto bg-white shadow-md rounded-lg overflow-hidden mt-4"
+ v-if="notification.type==='warning'"
+ >
+ <div class="flex justify-center items-center w-12 bg-yellow-500">
+ <svg
+ class="h-6 w-6 fill-current text-white"
+ viewBox="0 0 40 40"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M20 3.33331C10.8 3.33331 3.33337 10.8 3.33337 20C3.33337 29.2 10.8 36.6666 20 36.6666C29.2 36.6666 36.6667 29.2 36.6667 20C36.6667 10.8 29.2 3.33331 20 3.33331ZM21.6667 28.3333H18.3334V25H21.6667V28.3333ZM21.6667 21.6666H18.3334V11.6666H21.6667V21.6666Z"
+ />
+ </svg>
+ </div>
+
+ <div class="-mx-3 py-2 px-4">
+ <div class="mx-3">
+ <span class="text-yellow-500 font-semibold pr-6">{{notification.title}}</span>
+ <p class="text-gray-600 text-sm">{{notification.text}}</p>
+ </div>
+ </div>
+ </div>
+ <div
+ class="flex max-w-sm w-full mx-auto bg-white shadow-md rounded-lg overflow-hidden mt-4"
+ v-if="notification.type==='confirm'"
+ >
+ <div class="flex justify-center items-center w-12 bg-blue-500">
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-6 h-6 text-white">
+ <path fill-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm11.378-3.917c-.89-.777-2.366-.777-3.255 0a.75.75 0 01-.988-1.129c1.454-1.272 3.776-1.272 5.23 0 1.513 1.324 1.513 3.518 0 4.842a3.75 3.75 0 01-.837.552c-.676.328-1.028.774-1.028 1.152v.75a.75.75 0 01-1.5 0v-.75c0-1.279 1.06-2.107 1.875-2.502.182-.088.351-.199.503-.331.83-.727.83-1.857 0-2.584zM12 18a.75.75 0 100-1.5.75.75 0 000 1.5z" clip-rule="evenodd" />
+ </svg>
+ </div>
+
+ <div class="-mx-3 py-2 px-4">
+ <div class="mx-3">
+ <span class="text-blue-500 font-semibold pr-6">{{notification.title}}</span>
+ <p class="text-gray-600 text-sm">{{notification.text}}</p>
+ <div class="w-full flex gap-2 mt-1">
+ <v-button color="blue" size="small" @click.prevent="notification.success();close(notification.id)">Yes</v-button>
+ <v-button color="gray" shade="light" size="small" @click.prevent="notification.failure();close(notification.id)">No</v-button>
+ </div>
+ </div>
+ </div>
+ </div>
+ <button @click="close(notification.id)" class="absolute top-0 right-0 px-2 py-2 cursor-pointer">
+ <svg
+ class="fill-current h-6 w-6 text-gray-300 hover:text-gray-500"
+ role="button"
+ xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 20 20"
+ >
+ <title>Close</title>
+ <path
+ d="M14.348 14.849a1.2 1.2 0 0 1-1.697 0L10 11.819l-2.651 3.029a1.2 1.2 0 1 1-1.697-1.697l2.758-3.15-2.759-3.152a1.2 1.2 0 1 1 1.697-1.697L10 8.183l2.651-3.031a1.2 1.2 0 1 1 1.697 1.697l-2.758 3.152 2.758 3.15a1.2 1.2 0 0 1 0 1.698z"
+ />
+ </svg>
+ </button>
+ </div>
+ </notification>
+ </div>
+</template>
+
+<script>
+export default {
+ name: 'Notifications',
+
+ data() {
+ return {}
+ },
+
+ computed: {},
+
+ mounted() {
+ },
+
+ methods: {}
+}
+</script>
diff --git a/client/components/global/NotionPage.vue b/client/components/global/NotionPage.vue
new file mode 100644
index 000000000..d595dd9e7
--- /dev/null
+++ b/client/components/global/NotionPage.vue
@@ -0,0 +1,36 @@
+<template>
+ <notion-renderer :block-map="blockMap"/>
+</template>
+
+<script>
+import {NotionRenderer} from 'vue-notion'
+
+export default {
+ name: 'NotionPage',
+ components: {NotionRenderer},
+ props: {
+ pageId: {
+ type: String,
+ required: true
+ }
+ },
+
+ async setup(props) {
+ const apiUrl = useConfig().notion.worker
+ const {data} = await useFetch(`${apiUrl}/page/${props.pageId}`)
+
+ return {
+ apiUrl: useConfig().notion.worker,
+ blockMap: data,
+ }
+ }
+}
+</script>
+
+<style lang="scss">
+@import "styles.css";
+
+.notion-blue {
+ @apply text-nt-blue;
+}
+</style>
diff --git a/client/components/global/ProTag.vue b/client/components/global/ProTag.vue
new file mode 100644
index 000000000..841aed99f
--- /dev/null
+++ b/client/components/global/ProTag.vue
@@ -0,0 +1,85 @@
+<template>
+ <div class="inline" v-if="shouldDisplayProTag">
+ <div class="bg-nt-blue text-white px-2 text-xs uppercase inline rounded-full font-semibold cursor-pointer"
+ @click.prevent="showPremiumModal=true"
+ >
+ PRO
+ </div>
+ <modal :show="showPremiumModal" @close="showPremiumModal=false">
+ <h2 class="text-nt-blue">
+ OpnForm PRO
+ </h2>
+ <h4 v-if="user && user.is_subscribed" class="text-center mt-5">
+ We're happy to have you as a Pro customer. If you're having any issue with OpnForm, or if you have a
+ feature request, please <a href="mailto:[email protected]">contact us</a>.
+ </h4>
+ <div v-if="!user || !user.is_subscribed" class="mt-4">
+ <p>
+ All the features with a<span
+ class="bg-nt-blue text-white px-2 text-xs uppercase inline rounded-full font-semibold mx-1"
+ >
+ PRO
+ </span> tag are available in the Pro plan of OpnForm. <b>You can play around and try all Pro features
+ within
+ the form editor, but you can't use them in your real forms</b>. You can subscribe now to gain unlimited access
+ to
+ all our pro features!
+ </p>
+ </div>
+
+ <div class="my-4 text-center">
+ <v-button color="white" @click="showPremiumModal=false">
+ Close
+ </v-button>
+ </div>
+ </modal>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import Modal from './Modal.vue'
+import { useAuthStore } from '../../stores/auth';
+import { useWorkspacesStore } from '../../stores/workspaces';
+import PricingTable from "../pages/pricing/PricingTable.vue";
+
+export default {
+ name: 'ProTag',
+ components: {PricingTable, Modal},
+ props: {},
+
+ setup () {
+ const authStore = useAuthStore()
+ const workspacesStore = useWorkspacesStore()
+ return {
+ user : computed(() => authStore.user),
+ currentWorkSpace : computed(() => workspacesStore.getCurrent())
+ }
+ },
+
+ data() {
+ return {
+ showPremiumModal: false,
+ checkoutLoading: false
+ }
+ },
+
+ computed: {
+ shouldDisplayProTag() {
+ if (!this.$config.paid_plans_enabled) return false
+ if (!this.user || !this.currentWorkSpace) return true
+ return !(this.currentWorkSpace.is_pro)
+ },
+ },
+
+ mounted() {
+ },
+
+ methods: {
+ openChat() {
+ window.$crisp.push(['do', 'chat:show'])
+ window.$crisp.push(['do', 'chat:open'])
+ },
+ }
+}
+</script>
diff --git a/client/components/global/ScrollShadow.vue b/client/components/global/ScrollShadow.vue
new file mode 100644
index 000000000..bbf823488
--- /dev/null
+++ b/client/components/global/ScrollShadow.vue
@@ -0,0 +1,185 @@
+<template>
+ <div class="scroll-shadow max-w-full" :class="[$style.wrap,{'w-max':!shadow.left && !shadow.right}]">
+ <div
+ ref="scrollContainer"
+ :class="[$style['scroll-container'],{'no-scrollbar':hideScrollbar}]"
+ :style="{ width: width?width:'auto', height }"
+ @scroll.passive="toggleShadow"
+ >
+ <slot />
+ <span :class="[$style['shadow-top'], shadow.top && $style['is-active']]" :style="{
+ top: shadowTopOffset+'px',
+ }"
+ />
+ <span :class="[$style['shadow-right'], shadow.right && $style['is-active']]" />
+ <span :class="[$style['shadow-bottom'], shadow.bottom && $style['is-active']]" />
+ <span :class="[$style['shadow-left'], shadow.left && $style['is-active']]" />
+ </div>
+ </div>
+</template>
+
+<script>
+function newResizeObserver (callback) {
+ // Skip this feature for browsers which
+ // do not support ResizeObserver.
+ // https://caniuse.com/#search=resizeobserver
+ if (typeof ResizeObserver === 'undefined') return
+
+ return new ResizeObserver(e => e.map(callback))
+}
+
+export default {
+ name: 'ScrollShadow',
+ props: {
+ hideScrollbar: {
+ type: Boolean,
+ default: false
+ },
+ shadowTopOffset: {
+ type: Number,
+ default: 0
+ }
+ },
+ data () {
+ return {
+ width: undefined,
+ height: undefined,
+ shadow: {
+ top: false,
+ right: false,
+ bottom: false,
+ left: false
+ },
+ debounceTimeout: null,
+ scrollContainerObserver: null,
+ wrapObserver: null
+ }
+ },
+ mounted () {
+ window.addEventListener('resize', this.calcDimensions)
+
+ // Check if shadows are necessary after the element is resized.
+ const scrollContainerObserver = newResizeObserver(this.toggleShadow)
+ if (scrollContainerObserver) {
+ scrollContainerObserver.observe(this.$refs.scrollContainer)
+ }
+
+ // Recalculate the container dimensions when the wrapper is resized.
+ this.wrapObserver = newResizeObserver(this.calcDimensions)
+ if (this.wrapObserver) {
+ this.wrapObserver.observe(this.$el)
+ }
+ },
+ unmounted () {
+ window.removeEventListener('resize', this.calcDimensions)
+ // Cleanup when the component is unmounted.
+ this.wrapObserver.disconnect()
+ this.scrollContainerObserver.disconnect()
+ },
+ methods: {
+ async calcDimensions () {
+ // Reset dimensions for correctly recalculating parent dimensions.
+ this.width = undefined
+ this.height = undefined
+ await this.$nextTick()
+
+ this.width = `${this.$el.clientWidth}px`
+ this.height = `${this.$el.clientHeight}px`
+ },
+ // Check if shadows are needed.
+ toggleShadow () {
+ const hasHorizontalScrollbar =
+ this.$refs.scrollContainer.clientWidth <
+ this.$refs.scrollContainer.scrollWidth
+ const hasVerticalScrollbar =
+ this.$refs.scrollContainer.clientHeight <
+ this.$refs.scrollContainer.scrollHeight
+
+ const scrolledFromLeft =
+ this.$refs.scrollContainer.offsetWidth +
+ this.$refs.scrollContainer.scrollLeft
+ const scrolledFromTop =
+ this.$refs.scrollContainer.offsetHeight +
+ this.$refs.scrollContainer.scrollTop
+
+ const scrolledToTop = this.$refs.scrollContainer.scrollTop === 0
+ const scrolledToRight =
+ scrolledFromLeft >= this.$refs.scrollContainer.scrollWidth
+ const scrolledToBottom =
+ scrolledFromTop >= this.$refs.scrollContainer.scrollHeight
+ const scrolledToLeft = this.$refs.scrollContainer.scrollLeft === 0
+
+ this.$nextTick(() => {
+ this.shadow.top = hasVerticalScrollbar && !scrolledToTop
+ this.shadow.right = hasHorizontalScrollbar && !scrolledToRight
+ this.shadow.bottom = hasVerticalScrollbar && !scrolledToBottom
+ this.shadow.left = hasHorizontalScrollbar && !scrolledToLeft
+ })
+ }
+ }
+}
+</script>
+
+<style lang="scss" module>
+.wrap {
+ overflow: hidden;
+ position: relative;
+}
+
+.scroll-container {
+ overflow: auto;
+}
+
+.shadow-top,
+.shadow-right,
+.shadow-bottom,
+.shadow-left {
+ position: absolute;
+ border-radius: 6em;
+ opacity: 0;
+ transition: opacity 0.2s;
+ pointer-events: none;
+}
+
+.shadow-top,
+.shadow-bottom {
+ right: 0;
+ left: 0;
+ height: 1em;
+ border-top-right-radius: 0;
+ border-top-left-radius: 0;
+ background-image: linear-gradient(rgba(#555, 0.1) 0%, rgba(#FFF, 0) 100%);
+}
+
+.shadow-top {
+ top: 0;
+}
+
+.shadow-bottom {
+ bottom: 0;
+ transform: rotate(180deg);
+}
+
+.shadow-right,
+.shadow-left {
+ top: 0;
+ bottom: 0;
+ width: 1em;
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+ background-image: linear-gradient(90deg, rgba(#555, 0.1) 0%, rgba(#FFF, 0) 100%);
+}
+
+.shadow-right {
+ right: 0;
+ transform: rotate(180deg);
+}
+
+.shadow-left {
+ left: 0;
+}
+
+.is-active {
+ opacity: 1;
+}
+</style>
diff --git a/client/components/global/Steps.vue b/client/components/global/Steps.vue
new file mode 100644
index 000000000..12703949e
--- /dev/null
+++ b/client/components/global/Steps.vue
@@ -0,0 +1,44 @@
+<template>
+ <div class="py-4" :class="{'border-b-2':borderBottom}">
+ <div class="uppercase tracking-wide text-xs font-bold dark:text-gray-400 text-gray-500 mb-1 leading-tight">
+ Step: {{ Math.min(current + 1, steps.length) }} of {{ steps.length }}
+ </div>
+ <div class="flex flex-col md:flex-row md:items-center md:justify-between">
+ <div class="flex-1">
+ <div class="text-lg font-bold dark:text-gray-300 text-gray-700 leading-tight">
+ {{ steps[current] ? steps[current] : 'Complete!' }}
+ </div>
+ </div>
+
+ <div class="flex items-center md:w-64">
+ <div class="w-full bg-gray-100 dark:bg-gray-700 rounded-full mr-2">
+ <div class="rounded-full bg-nt-blue text-xs leading-none h-2 text-center text-white transition-all"
+ :style="{'width': parseInt(current / steps.length * 100) +'%', 'min-width': '8px'}"
+ />
+ </div>
+ <div class="text-xs w-10 text-gray-600 dark:text-gray-400" v-text="parseInt(current / steps.length * 100) +'%'" />
+ </div>
+ </div>
+ </div>
+</template>
+
+<script>
+export default {
+ name: 'Steps',
+
+ props: {
+ steps: {
+ type: Array,
+ required: true
+ },
+ borderBottom: {
+ type: Boolean,
+ default: true
+ },
+ current: {
+ type: Number,
+ default: 0
+ }
+ }
+}
+</script>
diff --git a/client/components/global/VButton.vue b/client/components/global/VButton.vue
new file mode 100644
index 000000000..d2264b224
--- /dev/null
+++ b/client/components/global/VButton.vue
@@ -0,0 +1,185 @@
+<template>
+ <a v-if="href" :class="btnClasses" :href="href" :target="target">
+ <slot />
+ </a>
+ <button v-else-if="!to" :type="nativeType" :disabled="loading?true:null" :class="btnClasses"
+ @click="onClick($event)"
+ >
+ <template v-if="!loading">
+ <span class="no-underline mx-auto">
+ <slot />
+ </span>
+ <svg v-if="arrow" class="ml-2 w-3 h-3 inline" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M1 11L11 1M11 1H1M11 1V11" stroke="currentColor" stroke-width="2" stroke-linecap="round"
+ stroke-linejoin="round"
+ />
+ </svg>
+ </template>
+ <loader v-else class="h-6 w-6 mx-auto" :class="`text-${colorShades['text']}`" />
+ </button>
+ <router-link v-else :class="btnClasses" :to="to" :target="target">
+ <span class="no-underline mx-auto">
+ <slot />
+ </span>
+ <svg v-if="arrow" class="ml-2 w-3 h-3 inline" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M1 11L11 1M11 1H1M11 1V11" stroke="currentColor" stroke-width="2" stroke-linecap="round"
+ stroke-linejoin="round"
+ />
+ </svg>
+ </router-link>
+</template>
+
+<script>
+export default {
+ name: 'VButton',
+
+ props: {
+ color: {
+ type: String,
+ default: 'blue'
+ },
+
+ size: {
+ type: String,
+ default: 'medium'
+ },
+
+ nativeType: {
+ type: String,
+ default: null
+ },
+
+ loading: {
+ type: Boolean,
+ default: false
+ },
+
+ arrow: {
+ type: Boolean,
+ default: false
+ },
+
+ to: {
+ type: Object,
+ default: null
+ },
+
+ href: {
+ type: String,
+ default: null
+ },
+
+ target: {
+ type: String,
+ default: '_self'
+ }
+ },
+
+ computed: {
+ btnClasses () {
+ const sizes = this.sizes
+ const colorShades = this.colorShades
+ return `v-btn ${sizes['p-y']} ${sizes['p-x']}
+ ${colorShades?.main} ${colorShades?.hover} ${colorShades?.ring} ${colorShades['ring-offset']}
+ ${colorShades?.text} transition ease-in duration-200 text-center text-${sizes?.font} font-medium focus:outline-none focus:ring-2
+ focus:ring-offset-2 rounded-lg flex items-center hover:no-underline`
+ },
+ colorShades () {
+ if (this.color === 'blue') {
+ return {
+ main: 'bg-blue-600',
+ hover: 'hover:bg-blue-700',
+ ring: 'focus:ring-blue-500',
+ 'ring-offset': 'focus:ring-offset-blue-200',
+ text: 'text-white'
+ }
+ } else if (this.color === 'outline-blue') {
+ return {
+ main: 'bg-transparent border border-blue-600',
+ hover: 'hover:bg-blue-600',
+ ring: 'focus:ring-blue-500',
+ 'ring-offset': 'focus:ring-offset-blue-200',
+ text: 'text-blue-600 hover:text-white'
+ }
+ } else if (this.color === 'outline-gray') {
+ return {
+ main: 'bg-transparent border border-gray-300',
+ hover: 'hover:bg-gray-500',
+ ring: 'focus:ring-gray-500',
+ 'ring-offset': 'focus:ring-offset-gray-200',
+ text: 'text-gray-500 hover:text-white'
+ }
+ } else if (this.color === 'red') {
+ return {
+ main: 'bg-red-600',
+ hover: 'hover:bg-red-700',
+ ring: 'focus:ring-red-500',
+ 'ring-offset': 'focus:ring-offset-red-200',
+ text: 'text-white'
+ }
+ } else if (this.color === 'gray') {
+ return {
+ main: 'bg-gray-600',
+ hover: 'hover:bg-gray-700',
+ ring: 'focus:ring-gray-500',
+ 'ring-offset': 'focus:ring-offset-gray-200',
+ text: 'text-white'
+ }
+ } else if (this.color === 'light-gray') {
+ return {
+ main: 'bg-gray-50 border border-gray-300',
+ hover: 'hover:bg-gray-100',
+ ring: 'focus:ring-gray-500',
+ 'ring-offset': 'focus:ring-offset-gray-300',
+ text: 'text-gray-700'
+ }
+ } else if (this.color === 'green') {
+ return {
+ main: 'bg-green-600',
+ hover: 'hover:bg-green-700',
+ ring: 'focus:ring-green-500',
+ 'ring-offset': 'focus:ring-offset-green-200',
+ text: 'text-white'
+ }
+ } else if (this.color === 'yellow') {
+ return {
+ main: 'bg-yellow-600',
+ hover: 'hover:bg-yellow-700',
+ ring: 'focus:ring-yellow-500',
+ 'ring-offset': 'focus:ring-offset-yellow-200',
+ text: 'text-white'
+ }
+ } else if (this.color === 'white') {
+ return {
+ main: 'bg-transparent border border-gray-300',
+ hover: 'hover:bg-gray-200',
+ ring: 'focus:ring-white-500',
+ 'ring-offset': 'focus:ring-offset-white-200',
+ text: 'text-gray-700'
+ }
+ }
+ console.error('Unknown color')
+ },
+ sizes () {
+ if (this.size === 'small') {
+ return {
+ font: 'sm',
+ 'p-y': 'py-1',
+ 'p-x': 'px-2'
+ }
+ }
+ return {
+ font: 'base',
+ 'p-y': 'py-2',
+ 'p-x': 'px-4'
+ }
+ }
+ },
+
+ methods: {
+ onClick (event) {
+ this.$emit('click', event)
+ }
+ }
+}
+</script>
diff --git a/client/components/global/WorkspaceDropdown.vue b/client/components/global/WorkspaceDropdown.vue
new file mode 100644
index 000000000..b362bff08
--- /dev/null
+++ b/client/components/global/WorkspaceDropdown.vue
@@ -0,0 +1,104 @@
+<template>
+ <dropdown v-if="user && workspaces && workspaces.length > 1" ref="dropdown"
+ dropdown-class="origin-top-left absolute left-0 mt-2 w-56 rounded-md shadow-lg bg-white dark:bg-gray-800 ring-1 ring-black ring-opacity-5 z-50"
+ dusk="workspace-dropdown"
+ >
+ <template v-if="workspace" #trigger="{toggle}">
+ <div class="flex items-center cursor group" role="button" @click.stop="toggle()">
+ <div class="rounded-full h-8 8">
+ <img v-if="isUrl(workspace.icon)"
+ :src="workspace.icon"
+ :alt="workspace.name + ' icon'" class="flex-shrink-0 h-8 w-8 rounded-full shadow"
+ >
+ <div v-else class="rounded-full pt-2 text-xs truncate bg-nt-blue-lighter h-8 w-8 text-center shadow"
+ v-text="workspace.icon"
+ />
+ </div>
+ <p class="hidden group-hover:underline lg:block max-w-10 truncate ml-2 text-gray-800 dark:text-gray-200">
+ {{ workspace.name }}
+ </p>
+ </div>
+ </template>
+
+ <template v-for="worksp in workspaces" :key="worksp.id">
+ <a href="#"
+ class="px-4 py-2 text-md text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
+ :class="{'bg-blue-100 dark:bg-blue-900':workspace.id === worksp.id}" @click.prevent="switchWorkspace(worksp)"
+ >
+ <div class="rounded-full h-8 w-8 flex-shrink-0" role="button">
+ <img v-if="isUrl(worksp.icon)"
+ :src="worksp.icon"
+ :alt="worksp.name + ' icon'" class="flex-shrink-0 h-8 w-8 rounded-full shadow"
+ >
+ <div v-else class="rounded-full flex-shrink-0 pt-1 text-xs truncate bg-nt-blue-lighter h-8 w-8 text-center shadow"
+ v-text="worksp.icon"
+ />
+ </div>
+ <p class="ml-4 truncate">{{ worksp.name }}</p>
+ </a>
+ </template>
+ </dropdown>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../../stores/auth.js'
+import { useFormsStore } from '../../stores/forms.js'
+import { useWorkspacesStore } from '../../stores/workspaces.js'
+import Dropdown from '~/components/global/Dropdown.vue'
+
+export default {
+
+ name: 'WorkspaceDropdown',
+ components: {
+ Dropdown
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ const formsStore = useFormsStore()
+ const workspacesStore = useWorkspacesStore()
+ return {
+ formsStore,
+ workspacesStore,
+ user: computed(() => authStore.user),
+ workspaces: computed(() => workspacesStore.content),
+ loading: computed(() => workspacesStore.loading)
+ }
+ },
+
+ computed: {
+ workspace () {
+ return this.workspacesStore.getCurrent()
+ }
+ },
+
+ watch: {
+ },
+
+ mounted () {
+ },
+
+ methods: {
+ switchWorkspace (workspace) {
+ this.workspacesStore.setCurrentId(workspace.id)
+ this.$refs.dropdown.close()
+ if (this.$route.name !== 'home') {
+ this.$router.push({ name: 'home' })
+ }
+ this.formsStore.load(workspace.id)
+ },
+ isUrl (str) {
+ try {
+ new URL(str)
+ } catch (_) {
+ return false
+ }
+ return true
+ }
+ }
+}
+</script>
+
+<style>
+</style>
diff --git a/client/components/global/transitions/Collapsible.vue b/client/components/global/transitions/Collapsible.vue
new file mode 100644
index 000000000..374810d73
--- /dev/null
+++ b/client/components/global/transitions/Collapsible.vue
@@ -0,0 +1,59 @@
+<template>
+ <transition @leave="(el,done) => motions.collapsible.leave(done)">
+ <div
+ v-if="modelValue"
+ key="dropdown"
+ v-motion="'collapsible'"
+ v-on-click-outside.bubble="close"
+ :variants="motionCollapse"
+ >
+ <slot />
+ </div>
+ </transition>
+</template>
+
+<script>
+import { vOnClickOutside } from '@vueuse/components'
+import { useMotions } from '@vueuse/motion'
+
+export default {
+ name: 'Collapsible',
+ directives: {
+ onClickOutside: vOnClickOutside
+ },
+ props: {
+ modelValue: { type: Boolean },
+ closeOnClickAway: { type: Boolean, default: true }
+ },
+ setup () {
+ return {
+ motions: useMotions()
+ }
+ },
+ computed: {
+ motionCollapse () {
+ return {
+ enter: {
+ opacity: 1,
+ y: 0,
+ height: 'auto',
+ transition: { duration: 150, ease: 'easeOut' }
+ },
+ initial: {
+ opacity: 0,
+ y: -10,
+ height: 0,
+ transition: { duration: 75, ease: 'easeIn' }
+ }
+ }
+ }
+ },
+ methods: {
+ close () {
+ if (this.closeOnClickAway) {
+ this.$emit('update:modelValue', false)
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/global/transitions/VTransition.vue b/client/components/global/transitions/VTransition.vue
new file mode 100644
index 000000000..a2376dab4
--- /dev/null
+++ b/client/components/global/transitions/VTransition.vue
@@ -0,0 +1,19 @@
+<template>
+ <transition v-if="name=='slideInUp'"
+ enter-active-class="linear duration-300 overflow-hidden"
+ enter-from-class="max-h-0"
+ enter-to-class="max-h-screen"
+ leave-active-class="linear duration-300 overflow-hidden"
+ leave-from-class="max-h-screen"
+ leave-to-class="max-h-0"
+ >
+ <slot />
+ </transition>
+</template>
+
+<script>
+export default {
+ name: 'VTransition',
+ props: { name: { default: 'slideInUp' } }
+}
+</script>
diff --git a/client/components/open/components/RecordOperations.vue b/client/components/open/components/RecordOperations.vue
new file mode 100644
index 000000000..972bff6af
--- /dev/null
+++ b/client/components/open/components/RecordOperations.vue
@@ -0,0 +1,63 @@
+<template>
+ <div class="flex items-center justify-center space-x-1">
+ <button v-track.delete_record_click
+ class="border rounded py-1 px-2 text-gray-500 dark:text-gray-400 hover:text-red-700"
+ @click="onDeleteClick"
+ >
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
+ class="w-4 h-4"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"
+ />
+ </svg>
+ </button>
+ </div>
+</template>
+
+<script>
+import axios from 'axios'
+
+export default {
+ components: { },
+ props: {
+ form: {
+ type: Object,
+ required: true
+ },
+ structure: {
+ type: Array,
+ default: () => []
+ },
+ rowid: {
+ type: Number,
+ default: () => {}
+ }
+ },
+ data () {
+ return {
+ }
+ },
+ computed: {
+ },
+ mounted () {
+ },
+ methods: {
+ onDeleteClick () {
+ this.alertConfirm('Do you really want to delete this record?', this.deleteRecord)
+ },
+ async deleteRecord () {
+ axios.delete('/api/open/forms/' + this.form.id + '/records/' + this.rowid + '/delete').then(async (response) => {
+ if (response.data.type === 'success') {
+ this.$emit('deleted')
+ this.alertSuccess(response.data.message)
+ } else {
+ this.alertError('Something went wrong!')
+ }
+ }).catch((error) => {
+ this.alertError(error.response.data.message)
+ })
+ }
+ }
+}
+</script>
diff --git a/client/components/open/editors/EditorOptionsPanel.vue b/client/components/open/editors/EditorOptionsPanel.vue
new file mode 100644
index 000000000..0bfcb1074
--- /dev/null
+++ b/client/components/open/editors/EditorOptionsPanel.vue
@@ -0,0 +1,46 @@
+<template>
+ <collapse class="p-4 w-full border-b" v-model="show">
+ <template #title>
+ <div class="flex items-center pr-8">
+ <div class="mr-3" :class="{'text-blue-600':show, 'text-gray-500':!show}">
+ <slot name="icon" />
+ </div>
+ <h3 id="v-step-2" class="font-semibold flex-grow">
+ {{ name }}
+ </h3>
+ <pro-tag v-if="hasProTag" />
+ </div>
+ </template>
+
+ <slot />
+ </collapse>
+</template>
+
+<script>
+import Collapse from '~/components/global/Collapse.vue'
+import ProTag from '~/components/global/ProTag.vue'
+
+export default {
+ name: 'EditorOptionsPanel',
+ components: { Collapse, ProTag },
+ props: {
+ name: {
+ type: String,
+ required: true
+ },
+ hasProTag: {
+ type: Boolean,
+ default: false
+ },
+ alreadyOpened: {
+ type: Boolean,
+ default: false
+ }
+ },
+ data () {
+ return {
+ show: this.alreadyOpened
+ }
+ }
+}
+</script>
diff --git a/client/components/open/editors/EditorRightSidebar.vue b/client/components/open/editors/EditorRightSidebar.vue
new file mode 100644
index 000000000..62babff3e
--- /dev/null
+++ b/client/components/open/editors/EditorRightSidebar.vue
@@ -0,0 +1,28 @@
+<template>
+ <transition @leave="(el,done) => motions.slide.leave(done)">
+ <div v-if="show" v-motion-slide-right="'slide'"
+ class="absolute shadow-lg shadow-gray-800/30 top-0 h-[calc(100vh-53px)] right-0 lg:shadow-none lg:relative bg-white w-full md:w-1/2 lg:w-2/5 border-l overflow-y-scroll md:max-w-[20rem] flex-shrink-0 z-50"
+ >
+ <slot />
+ </div>
+ </transition>
+</template>
+
+<script>
+import { useMotions } from '@vueuse/motion'
+
+export default {
+ name: 'EditorRightSidebar',
+ props: {
+ show: {
+ type: Boolean,
+ default: false
+ }
+ },
+ setup (props) {
+ return {
+ motions: useMotions()
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/OpenCompleteForm.vue b/client/components/open/forms/OpenCompleteForm.vue
new file mode 100644
index 000000000..922690182
--- /dev/null
+++ b/client/components/open/forms/OpenCompleteForm.vue
@@ -0,0 +1,261 @@
+<template>
+ <div v-if="form" class="open-complete-form">
+ <h1 v-if="!isHideTitle" class="mb-4 px-2" :class="{'mt-4':isEmbedPopup}" v-text="form.title" />
+
+ <div v-if="isPublicFormPage && form.is_password_protected">
+ <p class="form-description mb-4 text-gray-700 dark:text-gray-300 px-2">
+ This form is protected by a password.
+ </p>
+ <div class="form-group flex flex-wrap w-full">
+ <div class="relative mb-3 w-full px-2">
+ <text-input :form="passwordForm" name="password" native-type="password" label="Password" />
+ </div>
+ </div>
+ <div class="flex flex-wrap justify-center w-full text-center">
+ <v-button @click="passwordEntered">
+ Submit
+ </v-button>
+ </div>
+ </div>
+
+ <v-transition>
+ <div v-if="!form.is_password_protected && form.password && !hidePasswordDisabledMsg"
+ class="border shadow-sm p-2 my-4 flex items-center rounded-md bg-yellow-100 border-yellow-500"
+ >
+ <div class="flex flex-grow">
+ <p class="mb-0 py-2 px-4 text-yellow-600">
+ We disabled the password protection for this form because you are an owner of it.
+ </p>
+ <v-button color="yellow" @click="hidePasswordDisabledMsg=true">
+ OK
+ </v-button>
+ </div>
+ </div>
+ </v-transition>
+
+ <div v-if="isPublicFormPage && (form.is_closed || form.visibility=='closed')"
+ class="border shadow-sm p-2 my-4 flex items-center rounded-md bg-yellow-100 border-yellow-500"
+ >
+ <div class="flex-grow">
+ <p class="mb-0 py-2 px-4 text-yellow-600" v-html="form.closed_text" />
+ </div>
+ </div>
+
+ <div v-if="isPublicFormPage && form.max_number_of_submissions_reached"
+ class="border shadow-sm p-2 my-4 flex items-center rounded-md bg-yellow-100 border-yellow-500"
+ >
+ <div class="flex-grow">
+ <p class="mb-0 py-2 px-4 text-yellow-600" v-html="form.max_submissions_reached_text" />
+ </div>
+ </div>
+
+ <form-cleanings v-if="!adminPreview" :hideable="true" class="mb-4 mx-2" :form="form" :specify-form-owner="true" />
+
+ <transition
+ v-if="!form.is_password_protected && (!isPublicFormPage || (!form.is_closed && !form.max_number_of_submissions_reached && form.visibility!='closed'))"
+ enter-active-class="duration-500 ease-out"
+ enter-from-class="translate-x-full opacity-0"
+ enter-to-class="translate-x-0 opacity-100"
+ leave-active-class="duration-500 ease-in"
+ leave-from-class="translate-x-0 opacity-100"
+ leave-to-class="translate-x-full opacity-0"
+ mode="out-in"
+ >
+ <div v-if="!submitted" key="form">
+ <p v-if="form.description && form.description !==''"
+ class="form-description mb-4 text-gray-700 dark:text-gray-300 whitespace-pre-wrap px-2"
+ v-html="form.description"
+ />
+ <open-form v-if="form"
+ :form="form"
+ :loading="loading"
+ :fields="form.properties"
+ :theme="theme"
+ :admin-preview="adminPreview"
+ @submit="submitForm"
+ >
+ <template #submit-btn="{submitForm}">
+ <open-form-button :loading="loading" :theme="theme" :color="form.color" class="mt-2 px-8 mx-1"
+ :class="submitButtonClass" @click.prevent="submitForm"
+ >
+ {{ form.submit_button_text }}
+ </open-form-button>
+ </template>
+ </open-form>
+ <p v-if="!form.no_branding" class="text-center w-full mt-2">
+ <a href="https://opnform.com?utm_source=form&utm_content=powered_by"
+ class="text-gray-400 hover:text-gray-500 dark:text-gray-600 dark:hover:text-gray-500 cursor-pointer hover:underline text-xs"
+ target="_blank"
+ >Powered by <span class="font-semibold">OpnForm</span></a>
+ </p>
+ </div>
+ <div v-else key="submitted" class="px-2">
+ <p class="form-description text-gray-700 dark:text-gray-300 whitespace-pre-wrap" v-html="form.submitted_text " />
+ <open-form-button v-if="form.re_fillable" :theme="theme" :color="form.color" class="my-4" @click="restart">
+ {{ form.re_fill_button_text }}
+ </open-form-button>
+ <p v-if="form.editable_submissions && submissionId" class="mt-5">
+ <a target="_parent" :href="form.share_url+'?submission_id='+submissionId" class="text-nt-blue hover:underline">
+ {{ form.editable_submissions_button_text }}
+ </a>
+ </p>
+ <p v-if="!form.no_branding" class="mt-5">
+ <a target="_parent" href="https://opnform.com/?utm_source=form&utm_content=create_form_free" class="text-nt-blue hover:underline">Create your form for free with OpnForm</a>
+ </p>
+ </div>
+ </transition>
+ </div>
+</template>
+
+<script>
+import Form from 'vform'
+import OpenForm from './OpenForm.vue'
+import OpenFormButton from './OpenFormButton.vue'
+import { themes } from '~/config/form-themes.js'
+import VButton from '~/components/global/VButton.vue'
+import VTransition from '~/components/global/transitions/VTransition.vue'
+import FormPendingSubmissionKey from '../../../mixins/forms/form-pending-submission-key.js'
+import FormCleanings from '../../pages/forms/show/FormCleanings.vue'
+
+export default {
+ components: { VTransition, VButton, OpenFormButton, OpenForm, FormCleanings },
+
+ mixins: [FormPendingSubmissionKey],
+
+ props: {
+ form: { type: Object, required: true },
+ creating: { type: Boolean, default: false }, // If true, fake form submit
+ adminPreview: { type: Boolean, default: false }, // If used in FormEditorPreview
+ submitButtonClass: { type: String, default: '' }
+ },
+
+ data () {
+ return {
+ loading: false,
+ submitted: false,
+ themes: themes,
+ passwordForm: new Form({
+ password: null
+ }),
+ hidePasswordDisabledMsg: false,
+ submissionId: false
+ }
+ },
+
+ computed: {
+ isIframe () {
+ return window.location !== window.parent.location || window.frameElement
+ },
+ isEmbedPopup () {
+ return window.location.href.includes('popup=true')
+ },
+ theme () {
+ return this.themes[this.themes.hasOwnProperty(this.form.theme) ? this.form.theme : 'default']
+ },
+ isPublicFormPage () {
+ return this.$route.name === 'forms.show_public'
+ },
+ isHideTitle () {
+ return this.form.hide_title || window.location.href.includes('hide_title=true')
+ }
+ },
+
+ mounted () {
+ },
+
+ methods: {
+ submitForm (form, onFailure) {
+ if (this.creating) {
+ this.submitted = true
+ this.$emit('submitted', true)
+ return
+ }
+
+ this.loading = true
+ this.closeAlert()
+ form.post('/api/forms/' + this.form.slug + '/answer').then((response) => {
+ this.$logEvent('form_submission', {
+ workspace_id: this.form.workspace_id,
+ form_id: this.form.id
+ })
+
+ if (this.isIframe) {
+ window.parent.postMessage({
+ type: 'form-submitted',
+ form: {
+ slug: this.form.slug,
+ id: this.form.id
+ },
+ submission_data: form.data()
+ }, '*')
+ }
+ window.postMessage({
+ type: 'form-submitted',
+ form: {
+ slug: this.form.slug,
+ id: this.form.id
+ },
+ submission_data: form.data()
+ }, '*')
+
+ try {
+ window.localStorage.removeItem(this.formPendingSubmissionKey)
+ } catch (e) {}
+
+ if (response.data.redirect && response.data.redirect_url) {
+ window.location.href = response.data.redirect_url
+ }
+
+ if (response.data.submission_id) {
+ this.submissionId = response.data.submission_id
+ }
+
+ this.loading = false
+ this.submitted = true
+ this.$emit('submitted', true)
+
+ // If enabled display confetti
+ if (this.form.confetti_on_submission) {
+ this.playConfetti()
+ }
+ }).catch((error) => {
+ if (error.response && error.response.data && error.response.data.message) {
+ this.alertError(error.response.data.message)
+ }
+ this.loading = false
+ onFailure()
+ })
+ },
+ restart () {
+ this.submitted = false
+ this.$emit('restarted', true)
+ },
+ passwordEntered () {
+ if (this.passwordForm.password !== '' && this.passwordForm.password !== null) {
+ this.$emit('password-entered', this.passwordForm.password)
+ } else {
+ this.addPasswordError('The Password field is required.')
+ }
+ },
+ addPasswordError (msg) {
+ this.passwordForm.errors.set('password', msg)
+ }
+ }
+}
+</script>
+
+<style lang="scss">
+.open-complete-form {
+ .form-description, .nf-text {
+ ol {
+ @apply list-decimal list-inside;
+ margin-left: 10px;
+ }
+
+ ul {
+ @apply list-disc list-inside;
+ margin-left: 10px;
+ }
+ }
+}
+</style>
diff --git a/client/components/open/forms/OpenForm.vue b/client/components/open/forms/OpenForm.vue
new file mode 100644
index 000000000..aee5c7318
--- /dev/null
+++ b/client/components/open/forms/OpenForm.vue
@@ -0,0 +1,423 @@
+<template>
+ <div v-if="isAutoSubmit">
+ <p class="text-center p-4">
+ <loader class="h-6 w-6 text-nt-blue mx-auto" />
+ </p>
+ </div>
+ <form v-else-if="dataForm" @submit.prevent="">
+ <transition name="fade" mode="out-in" appear>
+ <div :key="currentFieldGroupIndex" class="form-group flex flex-wrap w-full">
+ <draggable v-model="currentFields"
+ item-key="id"
+ class="flex flex-wrap transition-all"
+ :class="{'-m-6 p-2 bg-gray-50 rounded-md':dragging}"
+ ghost-class="ghost-item"
+ handle=".draggable" :animation="200"
+ @start="onDragStart" @end="onDragEnd"
+ >
+ <template #item="{element}">
+ <open-form-field
+ :field="element"
+ :show-hidden="showHidden"
+ :form="form"
+ :data-form="dataForm"
+ :data-form-value="dataFormValue"
+ :theme="theme"
+ :admin-preview="adminPreview"
+ />
+ </template>
+ </draggable>
+ </div>
+ </transition>
+
+ <!-- Captcha -->
+ <template v-if="form.use_captcha && isLastPage">
+ <div class="mb-3 px-2 mt-2 mx-auto w-max">
+ <vue-hcaptcha ref="hcaptcha" :sitekey="hCaptchaSiteKey" :theme="darkModeEnabled?'dark':'light'" />
+ <has-error :form="dataForm" field="h-captcha-response" />
+ </div>
+ </template>
+
+ <!-- Submit, Next and previous buttons -->
+ <div class="flex flex-wrap justify-center w-full">
+ <open-form-button v-if="currentFieldGroupIndex>0 && previousFieldsPageBreak && !loading" native-type="button"
+ :color="form.color" :theme="theme" class="mt-2 px-8 mx-1" @click="previousPage"
+ >
+ {{ previousFieldsPageBreak.previous_btn_text }}
+ </open-form-button>
+
+ <slot v-if="isLastPage" name="submit-btn" :submitForm="submitForm" />
+ <open-form-button v-else native-type="button" :color="form.color" :theme="theme" class="mt-2 px-8 mx-1"
+ @click="nextPage"
+ >
+ {{ currentFieldsPageBreak.next_btn_text }}
+ </open-form-button>
+ <div v-if="!currentFieldsPageBreak && !isLastPage">
+ Something is wrong with this form structure. If you're the form owner please contact us.
+ </div>
+ </div>
+ </form>
+</template>
+
+<script>
+import axios from 'axios'
+import Form from 'vform'
+import { computed } from 'vue'
+import { useRecordsStore } from '../../../stores/records'
+import { useWorkingFormStore } from '../../../stores/working_form'
+import OpenFormButton from './OpenFormButton.vue'
+import clonedeep from 'clone-deep'
+import FormLogicPropertyResolver from '../../../forms/FormLogicPropertyResolver.js'
+import OpenFormField from './OpenFormField.vue'
+import draggable from 'vuedraggable'
+import FormPendingSubmissionKey from '../../../mixins/forms/form-pending-submission-key.js'
+
+draggable.compatConfig = { MODE: 3 }
+
+const VueHcaptcha = () => import('@hcaptcha/vue3-hcaptcha')
+
+export default {
+ name: 'OpenForm',
+ components: { draggable, OpenFormField, OpenFormButton, VueHcaptcha },
+ mixins: [FormPendingSubmissionKey],
+ props: {
+ form: {
+ type: Object,
+ required: true
+ },
+ theme: {
+ type: Object,
+ required: true
+ },
+ loading: {
+ type: Boolean,
+ required: true
+ },
+ showHidden: {
+ type: Boolean,
+ default: false
+ },
+ fields: {
+ type: Array,
+ required: true
+ },
+ adminPreview: { type: Boolean, default: false } // If used in FormEditorPreview
+ },
+
+ setup () {
+ const recordsStore = useRecordsStore()
+ const workingFormStore = useWorkingFormStore()
+ return {
+ recordsStore,
+ workingFormStore
+ }
+ },
+
+ data () {
+ return {
+ dataForm: null,
+ currentFieldGroupIndex: 0,
+ /**
+ * Used to force refresh components by changing their keys
+ */
+ formVersionId: 1,
+ darkModeEnabled: document.body.classList.contains('dark'),
+ isAutoSubmit: false,
+ /**
+ * If currently dragging a field
+ */
+ dragging: false
+ }
+ },
+
+ computed: {
+ hCaptchaSiteKey: () => this.$config.hCaptchaSiteKey,
+ /**
+ * Create field groups (or Page) using page breaks if any
+ */
+ fieldGroups () {
+ if (!this.fields) return []
+ const groups = []
+ let currentGroup = []
+ this.fields.forEach((field) => {
+ if (field.type === 'nf-page-break' && this.isFieldHidden(field)) return
+ currentGroup.push(field)
+ if (field.type === 'nf-page-break') {
+ groups.push(currentGroup)
+ currentGroup = []
+ }
+ })
+ groups.push(currentGroup)
+ return groups
+ },
+ currentFields: {
+ get () {
+ return this.fieldGroups[this.currentFieldGroupIndex]
+ },
+ set (val) {
+ // On re-order from the form, set the new order
+ // Add the previous groups and next to val, and set the properties on working form
+ const newFields = []
+ this.fieldGroups.forEach((group, index) => {
+ if (index < this.currentFieldGroupIndex) {
+ newFields.push(...group)
+ } else if (index === this.currentFieldGroupIndex) {
+ newFields.push(...val)
+ } else {
+ newFields.push(...group)
+ }
+ })
+ // set the properties on working_form store
+ this.workingFormStore.setProperties(newFields)
+ }
+ },
+ /**
+ * Returns the page break block for the current group of fields
+ */
+ currentFieldsPageBreak () {
+ const block = this.currentFields[this.currentFields.length - 1]
+ if (block && block.type === 'nf-page-break') return block
+ return null
+ },
+ previousFieldsPageBreak () {
+ if (this.currentFieldGroupIndex === 0) return null
+ const previousFields = this.fieldGroups[this.currentFieldGroupIndex - 1]
+ const block = previousFields[previousFields.length - 1]
+ if (block && block.type === 'nf-page-break') return block
+ return null
+ },
+ /**
+ * Returns true if we're on the last page
+ * @returns {boolean}xs
+ */
+ isLastPage () {
+ return this.currentFieldGroupIndex === (this.fieldGroups.length - 1)
+ },
+ isPublicFormPage () {
+ return this.$route.name === 'forms.show_public'
+ },
+ dataFormValue () {
+ // For get values instead of Id for select/multi select options
+ const data = this.dataForm.data()
+ const selectionFields = this.fields.filter((field) => {
+ return ['select', 'multi_select'].includes(field.type)
+ })
+ selectionFields.forEach((field) => {
+ if (data[field.id] !== undefined && data[field.id] !== null && Array.isArray(data[field.id])) {
+ data[field.id] = data[field.id].map(option_nfid => {
+ const tmpop = field[field.type].options.find((op) => {
+ return (op.id === option_nfid)
+ })
+ return (tmpop) ? tmpop.name : option_nfid
+ })
+ }
+ })
+ return data
+ }
+ },
+
+ watch: {
+ form: {
+ deep: true,
+ handler () {
+ this.initForm()
+ }
+ },
+ fields: {
+ deep: true,
+ handler () {
+ this.initForm()
+ }
+ },
+ theme: {
+ handler () {
+ this.formVersionId++
+ }
+ },
+ dataForm: {
+ deep: true,
+ handler () {
+ if (this.isPublicFormPage && this.form && this.form.auto_save && this.dataFormValue) {
+ try {
+ window.localStorage.setItem(this.formPendingSubmissionKey, JSON.stringify(this.dataFormValue))
+ } catch (e) {
+ }
+ }
+ }
+ }
+ },
+
+ mounted () {
+ this.initForm()
+
+ if (window.location.href.includes('auto_submit=true')) {
+ this.isAutoSubmit = true
+ this.submitForm()
+ }
+ },
+
+ methods: {
+ submitForm () {
+ if (this.currentFieldGroupIndex !== this.fieldGroups.length - 1) {
+ return
+ }
+
+ if (this.form.use_captcha) {
+ this.dataForm['h-captcha-response'] = document.getElementsByName('h-captcha-response')[0].value
+ this.$refs.hcaptcha.reset()
+ }
+
+ if (this.form.editable_submissions && this.form.submission_id) {
+ this.dataForm.submission_id = this.form.submission_id
+ }
+
+ this.$emit('submit', this.dataForm, this.onSubmissionFailure)
+ },
+ /**
+ * If more than one page, show first page with error
+ */
+ onSubmissionFailure () {
+ this.isAutoSubmit = false
+ if (this.fieldGroups.length > 1) {
+ // Find first mistake and show page
+ let pageChanged = false
+ this.fieldGroups.forEach((group, groupIndex) => {
+ group.forEach((field) => {
+ if (pageChanged) return
+
+ if (!pageChanged && this.dataForm.errors.has(field.id)) {
+ this.currentFieldGroupIndex = groupIndex
+ pageChanged = true
+ }
+ })
+ })
+ }
+
+ // Scroll to error
+ const elements = document.getElementsByClassName('has-error')
+ if (elements.length > 0) {
+ window.scroll({
+ top: window.scrollY + elements[0].getBoundingClientRect().top - 60,
+ behavior: 'smooth'
+ })
+ }
+ },
+ async getSubmissionData () {
+ if (!this.form || !this.form.editable_submissions || !this.form.submission_id) {
+ return null
+ }
+ await this.recordsStore.loadRecord(
+ axios.get('/api/forms/' + this.form.slug + '/submissions/' + this.form.submission_id).then((response) => {
+ return { submission_id: this.form.submission_id, ...response.data.data }
+ })
+ )
+ return this.recordsStore.getById(this.form.submission_id)
+ },
+ async initForm () {
+ if (this.isPublicFormPage && this.form.editable_submissions) {
+ const urlParam = new URLSearchParams(window.location.search)
+ if (urlParam && urlParam.get('submission_id')) {
+ this.form.submission_id = urlParam.get('submission_id')
+ const data = await this.getSubmissionData()
+ if (data !== null && data) {
+ this.dataForm = new Form(data)
+ return
+ }
+ }
+ }
+ if (this.isPublicFormPage && this.form.auto_save) {
+ let pendingData
+ try {
+ pendingData = window.localStorage.getItem(this.formPendingSubmissionKey)
+ } catch (e) {
+ pendingData = null
+ }
+ if (pendingData !== null && pendingData) {
+ pendingData = JSON.parse(pendingData)
+ this.fields.forEach((field) => {
+ if (field.type === 'date' && field.prefill_today === true) { // For Prefill with 'today'
+ const dateObj = new Date()
+ let currentDate = dateObj.getFullYear() + '-' +
+ String(dateObj.getMonth() + 1).padStart(2, '0') + '-' +
+ String(dateObj.getDate()).padStart(2, '0')
+ if (field.with_time === true) {
+ currentDate += 'T' + String(dateObj.getHours()).padStart(2, '0') + ':' +
+ String(dateObj.getMinutes()).padStart(2, '0')
+ }
+ pendingData[field.id] = currentDate
+ }
+ })
+ this.dataForm = new Form(pendingData)
+ return
+ }
+ }
+
+ const formData = clonedeep(this.dataForm ? this.dataForm.data() : {})
+ let urlPrefill = null
+ if (this.isPublicFormPage) {
+ urlPrefill = new URLSearchParams(window.location.search)
+ }
+
+ this.fields.forEach((field) => {
+ if (field.type.startsWith('nf-')) {
+ return
+ }
+
+ if (urlPrefill && urlPrefill.has(field.id)) {
+ // Url prefills
+ if (field.type === 'checkbox') {
+ if (urlPrefill.get(field.id) === 'false' || urlPrefill.get(field.id) === '0') {
+ formData[field.id] = false
+ } else if (urlPrefill.get(field.id) === 'true' || urlPrefill.get(field.id) === '1') {
+ formData[field.id] = true
+ }
+ } else {
+ formData[field.id] = urlPrefill.get(field.id)
+ }
+ } else if (urlPrefill && urlPrefill.has(field.id + '[]')) {
+ // Array url prefills
+ formData[field.id] = urlPrefill.getAll(field.id + '[]')
+ } else if (field.type === 'date' && field.prefill_today === true) { // For Prefill with 'today'
+ const dateObj = new Date()
+ let currentDate = dateObj.getFullYear() + '-' +
+ String(dateObj.getMonth() + 1).padStart(2, '0') + '-' +
+ String(dateObj.getDate()).padStart(2, '0')
+ if (field.with_time === true) {
+ currentDate += 'T' + String(dateObj.getHours()).padStart(2, '0') + ':' +
+ String(dateObj.getMinutes()).padStart(2, '0')
+ }
+ formData[field.id] = currentDate
+ } else { // Default prefill if any
+ formData[field.id] = field.prefill
+ }
+ })
+ this.dataForm = new Form(formData)
+ },
+ previousPage () {
+ this.currentFieldGroupIndex -= 1
+ window.scrollTo({ top: 0, behavior: 'smooth' })
+ return false
+ },
+ nextPage () {
+ this.currentFieldGroupIndex += 1
+ window.scrollTo({ top: 0, behavior: 'smooth' })
+ return false
+ },
+ isFieldHidden (field) {
+ return (new FormLogicPropertyResolver(field, this.dataFormValue)).isHidden()
+ },
+ onDragStart () {
+ this.dragging = true
+ },
+ onDragEnd () {
+ this.dragging = false
+ }
+ }
+}
+</script>
+
+<style lang='scss' scoped>
+.ghost-item {
+ @apply bg-blue-100 dark:bg-blue-900 rounded-md;
+}
+</style>
diff --git a/client/components/open/forms/OpenFormButton.vue b/client/components/open/forms/OpenFormButton.vue
new file mode 100644
index 000000000..7d0ef8f5c
--- /dev/null
+++ b/client/components/open/forms/OpenFormButton.vue
@@ -0,0 +1,84 @@
+<template>
+ <button :type="nativeType" :disabled="loading?true:null" :class="`py-${sizes['p-y']} px-${sizes['p-x']} text-${sizes['font']} ${theme.Button.body}`" :style="buttonStyle"
+ class="btn" @click="$emit('click',$event)"
+ >
+ <template v-if="!loading">
+ <slot />
+ </template>
+ <loader v-else class="h-6 w-6 text-white mx-auto" />
+ </button>
+</template>
+
+<script>
+import { themes } from '~/config/form-themes.js'
+
+export default {
+ name: 'OpenFormButton',
+
+ props: {
+ color: {
+ type: String,
+ required: true
+ },
+
+ size: {
+ type: String,
+ default: 'medium'
+ },
+
+ nativeType: {
+ type: String,
+ default: 'submit'
+ },
+
+ loading: {
+ type: Boolean,
+ default: false
+ },
+
+ theme: { type: Object, default: () => themes.default }
+ },
+
+ computed: {
+ buttonStyle () {
+ return {
+ backgroundColor: this.color,
+ color: this.getTextColor(this.color),
+ '--tw-ring-color': this.color
+ }
+ },
+ sizes () {
+ if (this.size === 'small') {
+ return {
+ font: 'sm',
+ 'p-y': '1',
+ 'p-x': '2'
+ }
+ }
+ return {
+ font: 'base',
+ 'p-y': '2',
+ 'p-x': '4'
+ }
+ }
+ },
+
+ methods: {
+ getTextColor (bgColor, lightColor = '#FFFFFF', darkColor = '#000000') {
+ const color = (bgColor.charAt(0) === '#') ? bgColor.substring(1, 7) : bgColor
+ const r = parseInt(color.substring(0, 2), 16) // hexToR
+ const g = parseInt(color.substring(2, 4), 16) // hexToG
+ const b = parseInt(color.substring(4, 6), 16) // hexToB
+ const uicolors = [r / 255, g / 255, b / 255]
+ const c = uicolors.map((col) => {
+ if (col <= 0.03928) {
+ return col / 12.92
+ }
+ return Math.pow((col + 0.055) / 1.055, 2.4)
+ })
+ const L = (0.2126 * c[0]) + (0.7152 * c[1]) + (0.0722 * c[2])
+ return (L > 0.45) ? darkColor : lightColor
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/OpenFormField.vue b/client/components/open/forms/OpenFormField.vue
new file mode 100644
index 000000000..ab6a44cfc
--- /dev/null
+++ b/client/components/open/forms/OpenFormField.vue
@@ -0,0 +1,342 @@
+<template>
+ <div v-if="!isFieldHidden"
+ :id="'block-'+field.id" :class="getFieldWidthClasses(field)"
+ >
+ <div :class="getFieldClasses(field)">
+ <div v-if="adminPreview"
+ class="absolute -translate-x-full top-0 bottom-0 opacity-0 group-hover/nffield:opacity-100 transition-opacity mb-4"
+ >
+ <div class="flex flex-col bg-white rounded-md" :class="{'lg:flex-row':!fieldSideBarOpened, 'xl:flex-row':fieldSideBarOpened}">
+ <div class="p-2 -mr-3 -mb-2 text-gray-300 hover:text-blue-500 cursor-pointer hidden xl:block" role="button"
+ :class="{'lg:block':!fieldSideBarOpened, 'xl:block':fieldSideBarOpened}"
+ @click.prevent="openAddFieldSidebar"
+ >
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="3"
+ stroke="currentColor" class="w-5 h-5"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15" />
+ </svg>
+ </div>
+ <div class="p-2 text-gray-300 hover:text-blue-500 cursor-pointer" role="button"
+ :class="{'lg:-mr-2':!fieldSideBarOpened, 'xl:-mr-2':fieldSideBarOpened}"
+ @click.prevent="editFieldOptions"
+ >
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"
+ class="w-5 h-5"
+ >
+ <path fill-rule="evenodd"
+ d="M11.828 2.25c-.916 0-1.699.663-1.85 1.567l-.091.549a.798.798 0 01-.517.608 7.45 7.45 0 00-.478.198.798.798 0 01-.796-.064l-.453-.324a1.875 1.875 0 00-2.416.2l-.243.243a1.875 1.875 0 00-.2 2.416l.324.453a.798.798 0 01.064.796 7.448 7.448 0 00-.198.478.798.798 0 01-.608.517l-.55.092a1.875 1.875 0 00-1.566 1.849v.344c0 .916.663 1.699 1.567 1.85l.549.091c.281.047.508.25.608.517.06.162.127.321.198.478a.798.798 0 01-.064.796l-.324.453a1.875 1.875 0 00.2 2.416l.243.243c.648.648 1.67.733 2.416.2l.453-.324a.798.798 0 01.796-.064c.157.071.316.137.478.198.267.1.47.327.517.608l.092.55c.15.903.932 1.566 1.849 1.566h.344c.916 0 1.699-.663 1.85-1.567l.091-.549a.798.798 0 01.517-.608 7.52 7.52 0 00.478-.198.798.798 0 01.796.064l.453.324a1.875 1.875 0 002.416-.2l.243-.243c.648-.648.733-1.67.2-2.416l-.324-.453a.798.798 0 01-.064-.796c.071-.157.137-.316.198-.478.1-.267.327-.47.608-.517l.55-.091a1.875 1.875 0 001.566-1.85v-.344c0-.916-.663-1.699-1.567-1.85l-.549-.091a.798.798 0 01-.608-.517 7.507 7.507 0 00-.198-.478.798.798 0 01.064-.796l.324-.453a1.875 1.875 0 00-.2-2.416l-.243-.243a1.875 1.875 0 00-2.416-.2l-.453.324a.798.798 0 01-.796.064 7.462 7.462 0 00-.478-.198.798.798 0 01-.517-.608l-.091-.55a1.875 1.875 0 00-1.85-1.566h-.344zM12 15.75a3.75 3.75 0 100-7.5 3.75 3.75 0 000 7.5z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ </div>
+ <div
+ class="px-2 xl:pl-0 lg:pr-1 lg:pt-2 pb-2 bg-white rounded-md text-gray-300 hover:text-gray-500 cursor-grab draggable"
+ :class="{'lg:pr-1 lg:pl-0':!fieldSideBarOpened, 'xl:-mr-2':fieldSideBarOpened}"
+ role="button"
+ >
+ <svg
+ xmlns="http://www.w3.org/2000/svg" class="h-5 w-5"
+ fill="none" viewBox="0 0 24 24"
+ stroke="currentColor"
+ >
+ <path
+ stroke-linecap="round" stroke-linejoin="round"
+ stroke-width="2"
+ d="M12 5v.01M12 12v.01M12 19v.01M12 6a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2z"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+ <component :is="getFieldComponents" v-if="getFieldComponents"
+ v-bind="inputProperties(field)" :required="isFieldRequired"
+ :disabled="isFieldDisabled?true:null"
+ />
+ <template v-else>
+ <div v-if="field.type === 'nf-text' && field.content" :id="field.id" :key="field.id"
+ class="nf-text w-full px-2 mb-3" :class="[getFieldAlignClasses(field)]"
+ v-html="field.content"
+ />
+ <div v-if="field.type === 'nf-code' && field.content" :id="field.id" :key="field.id"
+ class="nf-code w-full px-2 mb-3"
+ v-html="field.content"
+ />
+ <div v-if="field.type === 'nf-divider'" :id="field.id" :key="field.id"
+ class="border-b my-4 w-full mx-2"
+ />
+ <div v-if="field.type === 'nf-image' && (field.image_block || !isPublicFormPage)" :id="field.id"
+ :key="field.id" class="my-4 w-full px-2" :class="[getFieldAlignClasses(field)]"
+ >
+ <div v-if="!field.image_block" class="p-4 border border-dashed">
+ Open <b>{{ field.name }}'s</b> block settings to upload image.
+ </div>
+ <img v-else :alt="field.name" :src="field.image_block" class="max-w-full">
+ </div>
+ </template>
+ </div>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useWorkingFormStore } from '../../../stores/working_form'
+import FormLogicPropertyResolver from '../../../forms/FormLogicPropertyResolver.js'
+import FormPendingSubmissionKey from '../../../mixins/forms/form-pending-submission-key.js'
+
+export default {
+ name: 'OpenFormField',
+ components: {},
+ mixins: [FormPendingSubmissionKey],
+ props: {
+ form: {
+ type: Object,
+ required: true
+ },
+ dataForm: {
+ type: Object,
+ required: true
+ },
+ dataFormValue: {
+ type: Object,
+ required: true
+ },
+ theme: {
+ type: Object,
+ required: true
+ },
+ showHidden: {
+ type: Boolean,
+ default: false
+ },
+ field: {
+ type: Object,
+ required: true
+ },
+ adminPreview: { type: Boolean, default: false } // If used in FormEditorPreview
+ },
+
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore,
+ selectedFieldIndex: computed(() => workingFormStore.selectedFieldIndex),
+ showEditFieldSidebar: computed(() => workingFormStore.showEditFieldSidebar)
+ }
+ },
+
+ data () {
+ return {}
+ },
+
+ computed: {
+ fieldComponents () {
+ return {
+ text: 'TextInput',
+ number: 'TextInput',
+ select: 'SelectInput',
+ multi_select: 'SelectInput',
+ date: 'DateInput',
+ files: 'FileInput',
+ checkbox: 'CheckboxInput',
+ url: 'TextInput',
+ email: 'TextInput',
+ phone_number: 'TextInput'
+ }
+ },
+ /**
+ * Get the right input component for the field/options combination
+ */
+ getFieldComponents () {
+ const field = this.field
+ if (field.type === 'text' && field.multi_lines) {
+ return 'TextAreaInput'
+ }
+ if (field.type === 'url' && field.file_upload) {
+ return 'FileInput'
+ }
+ if (field.type === 'number' && field.is_rating && field.rating_max_value) {
+ return 'RatingInput'
+ }
+ if (field.type === 'number' && field.is_scale && field.scale_max_value) {
+ return 'ScaleInput'
+ }
+ if (['select', 'multi_select'].includes(field.type) && field.without_dropdown) {
+ return 'FlatSelectInput'
+ }
+ if (field.type === 'checkbox' && field.use_toggle_switch) {
+ return 'ToggleSwitchInput'
+ }
+ if (field.type === 'signature') {
+ return 'SignatureInput'
+ }
+ if (field.type === 'phone_number' && !field.use_simple_text_input) {
+ return 'PhoneInput'
+ }
+ return this.fieldComponents[field.type]
+ },
+ isPublicFormPage () {
+ return this.$route.name === 'forms.show_public'
+ },
+ isFieldHidden () {
+ return !this.showHidden && this.shouldBeHidden
+ },
+ shouldBeHidden () {
+ return (new FormLogicPropertyResolver(this.field, this.dataFormValue)).isHidden()
+ },
+ isFieldRequired () {
+ return (new FormLogicPropertyResolver(this.field, this.dataFormValue)).isRequired()
+ },
+ isFieldDisabled () {
+ return (new FormLogicPropertyResolver(this.field, this.dataFormValue)).isDisabled()
+ },
+ beingEdited () {
+ return this.adminPreview && this.showEditFieldSidebar && this.form.properties.findIndex((item) => {
+ return item.id === this.field.id
+ }) === this.selectedFieldIndex
+ },
+ selectionFieldsOptions () {
+ // For auto update hidden options
+ let fieldsOptions = []
+
+ if (['select', 'multi_select', 'status'].includes(this.field.type)) {
+ fieldsOptions = [...this.field[this.field.type].options]
+ if (this.field.hidden_options && this.field.hidden_options.length > 0) {
+ fieldsOptions = fieldsOptions.filter((option) => {
+ return this.field.hidden_options.indexOf(option.id) < 0
+ })
+ }
+ }
+
+ return fieldsOptions
+ },
+ fieldSideBarOpened () {
+ return this.adminPreview && (this.form && this.selectedFieldIndex !== null) ? (this.form.properties[this.selectedFieldIndex] && this.showEditFieldSidebar) : false
+ }
+ },
+
+ watch: {},
+
+ mounted () {
+ },
+
+ methods: {
+ editFieldOptions () {
+ this.workingFormStore.openSettingsForField(this.field)
+ },
+ openAddFieldSidebar () {
+ this.workingFormStore.openAddFieldSidebar(this.field)
+ },
+ /**
+ * Get the right input component for the field/options combination
+ */
+ getFieldClasses () {
+ let classes = ''
+ if (this.adminPreview) {
+ classes += '-mx-4 px-4 -my-1 py-1 group/nffield relative transition-colors'
+
+ if (this.beingEdited) {
+ classes += ' bg-blue-50 rounded-md'
+ }
+ }
+ return classes
+ },
+ getFieldWidthClasses (field) {
+ if (!field.width || field.width === 'full') return 'w-full px-2'
+ else if (field.width === '1/2') {
+ return 'w-full sm:w-1/2 px-2'
+ } else if (field.width === '1/3') {
+ return 'w-full sm:w-1/3 px-2'
+ } else if (field.width === '2/3') {
+ return 'w-full sm:w-2/3 px-2'
+ } else if (field.width === '1/4') {
+ return 'w-full sm:w-1/4 px-2'
+ } else if (field.width === '3/4') {
+ return 'w-full sm:w-3/4 px-2'
+ }
+ },
+ getFieldAlignClasses (field) {
+ if (!field.align || field.align === 'left') return 'text-left'
+ else if (field.align === 'right') {
+ return 'text-right'
+ } else if (field.align === 'center') {
+ return 'text-center'
+ } else if (field.align === 'justify') {
+ return 'text-justify'
+ }
+ },
+ /**
+ * Get the right input component options for the field/options
+ */
+ inputProperties (field) {
+ const inputProperties = {
+ key: field.id,
+ name: field.id,
+ form: this.dataForm,
+ label: (field.hide_field_name) ? null : field.name + ((this.shouldBeHidden) ? ' (Hidden Field)' : ''),
+ color: this.form.color,
+ placeholder: field.placeholder,
+ help: field.help,
+ helpPosition: (field.help_position) ? field.help_position : 'below_input',
+ uppercaseLabels: this.form.uppercase_labels == 1 || this.form.uppercase_labels == true,
+ theme: this.theme,
+ maxCharLimit: (field.max_char_limit) ? parseInt(field.max_char_limit) : 2000,
+ showCharLimit: field.show_char_limit || false
+ }
+
+ if (['select', 'multi_select'].includes(field.type)) {
+ inputProperties.options = (field.hasOwnProperty(field.type))
+ ? field[field.type].options.map(option => {
+ return {
+ name: option.name,
+ value: option.name
+ }
+ })
+ : []
+ inputProperties.multiple = (field.type === 'multi_select')
+ inputProperties.allowCreation = (field.allow_creation === true)
+ inputProperties.searchable = (inputProperties.options.length > 4)
+ } else if (field.type === 'date') {
+ if (field.with_time) {
+ inputProperties.withTime = true
+ } else if (field.date_range) {
+ inputProperties.dateRange = true
+ }
+ if (field.disable_past_dates) {
+ inputProperties.disablePastDates = true
+ } else if (field.disable_future_dates) {
+ inputProperties.disableFutureDates = true
+ }
+ } else if (field.type === 'files' || (field.type === 'url' && field.file_upload)) {
+ inputProperties.multiple = (field.multiple !== undefined && field.multiple)
+ inputProperties.mbLimit = 5
+ inputProperties.accept = (this.form.is_pro && field.allowed_file_types) ? field.allowed_file_types : ''
+ } else if (field.type === 'number' && field.is_rating) {
+ inputProperties.numberOfStars = parseInt(field.rating_max_value)
+ } else if (field.type === 'number' && field.is_scale) {
+ inputProperties.minScale = parseInt(field.scale_min_value) ?? 1
+ inputProperties.maxScale = parseInt(field.scale_max_value) ?? 5
+ inputProperties.stepScale = parseInt(field.scale_step_value) ?? 1
+ } else if (field.type === 'number' || (field.type === 'phone_number' && field.use_simple_text_input)) {
+ inputProperties.pattern = '/\d*'
+ } else if (field.type === 'phone_number' && !field.use_simple_text_input) {
+ inputProperties.unavailableCountries = field.unavailable_countries ?? []
+ }
+
+ return inputProperties
+ }
+ }
+}
+</script>
+
+<style lang='scss' scoped>
+.nf-text {
+ ol {
+ @apply list-decimal list-inside;
+ }
+
+ ul {
+ @apply list-disc list-inside;
+ }
+}
+</style>
diff --git a/client/components/open/forms/components/AdvancedFormUrlSettings.vue b/client/components/open/forms/components/AdvancedFormUrlSettings.vue
new file mode 100644
index 000000000..16f0ed221
--- /dev/null
+++ b/client/components/open/forms/components/AdvancedFormUrlSettings.vue
@@ -0,0 +1,66 @@
+<template>
+ <collapse class="py-5 w-full" :model-value="false">
+ <template #title>
+ <div class="flex">
+ <h3 class="font-semibold block text-lg">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 inline text-gray-500 mr-2 -mt-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
+ </svg> Show advanced options
+ </h3>
+ </div>
+ </template>
+ <toggle-switch-input :value="value.hide_title" name="hide_title" class="mt-4"
+ label="Hide Form Title"
+ :disabled="(form.hide_title===true)?true:null"
+ :help="hideTitleHelp"
+ @update:model-value="onChangeHideTitle"
+ />
+ <toggle-switch-input :value="value.auto_submit" name="auto_submit" class="mt-4"
+ label="Auto Submit Form"
+ help="Form will auto submit immediate after open URL"
+ @update:model-value="onChangeAutoSubmit"
+ />
+ </collapse>
+</template>
+
+<script>
+import Collapse from '~/components/global/Collapse.vue'
+export default {
+ name: 'AdvancedFormUrlSettings',
+ components: { Collapse },
+ props: {
+ form: {
+ type: Object,
+ required: true
+ },
+ value: {
+ type: Object,
+ required: true
+ }
+ },
+
+ data () {
+ return {
+ }
+ },
+
+ computed: {
+ hideTitleHelp () {
+ return this.form.hide_title ? 'This option is disabled because the form title is already hidden' : null
+ }
+ },
+
+ watch: {},
+
+ mounted () {},
+
+ methods: {
+ onChangeHideTitle (val) {
+ this.value.hide_title = val
+ },
+ onChangeAutoSubmit (val) {
+ this.value.auto_submit = val
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/CopyContent.vue b/client/components/open/forms/components/CopyContent.vue
new file mode 100644
index 000000000..828c64ad4
--- /dev/null
+++ b/client/components/open/forms/components/CopyContent.vue
@@ -0,0 +1,67 @@
+<template>
+ <div class="flex flex-wrap sm:flex-nowrap my-4 w-full">
+ <div class="w-full sm:w-auto border border-gray-300 rounded-md p-2 flex-grow select-all bg-gray-100">
+ <p class="select-all text-gray-900">
+ {{ content }}
+ </p>
+ </div>
+ <div class="w-full sm:w-40 sm:ml-2 mt-2 sm:mt-0 shrink-0">
+ <v-button color="light-gray" class="w-full" @click="copyToClipboard(content)">
+ <slot name="icon">
+ <svg class="h-4 w-4 -mt-1 text-blue-600 inline mr-1" viewBox="0 0 20 20" fill="none"
+ xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M4.16667 12.4998C3.3901 12.4998 3.00182 12.4998 2.69553 12.373C2.28715 12.2038 1.9627 11.8794 1.79354 11.471C1.66667 11.1647 1.66667 10.7764 1.66667 9.99984V4.33317C1.66667 3.39975 1.66667 2.93304 1.84833 2.57652C2.00812 2.26292 2.26308 2.00795 2.57669 1.84816C2.93321 1.6665 3.39992 1.6665 4.33334 1.6665H10C10.7766 1.6665 11.1649 1.6665 11.4711 1.79337C11.8795 1.96253 12.204 2.28698 12.3731 2.69536C12.5 3.00165 12.5 3.38993 12.5 4.1665M10.1667 18.3332H15.6667C16.6001 18.3332 17.0668 18.3332 17.4233 18.1515C17.7369 17.9917 17.9919 17.7368 18.1517 17.4232C18.3333 17.0666 18.3333 16.5999 18.3333 15.6665V10.1665C18.3333 9.23308 18.3333 8.76637 18.1517 8.40985C17.9919 8.09625 17.7369 7.84128 17.4233 7.68149C17.0668 7.49984 16.6001 7.49984 15.6667 7.49984H10.1667C9.23325 7.49984 8.76654 7.49984 8.41002 7.68149C8.09642 7.84128 7.84145 8.09625 7.68166 8.40985C7.50001 8.76637 7.50001 9.23308 7.50001 10.1665V15.6665C7.50001 16.5999 7.50001 17.0666 7.68166 17.4232C7.84145 17.7368 8.09642 17.9917 8.41002 18.1515C8.76654 18.3332 9.23325 18.3332 10.1667 18.3332Z"
+ stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ </slot>
+ <slot></slot>
+ </v-button>
+ </div>
+ </div>
+</template>
+
+<script>
+export default {
+ name: 'CopyContent',
+ props: {
+ content: {
+ type: String,
+ required: true
+ },
+ isDraft: {
+ type: Boolean,
+ default: false
+ },
+ },
+
+ data() {
+ return {}
+ },
+
+ computed: {},
+
+ watch: {},
+
+ mounted() {
+ },
+
+ methods: {
+ copyToClipboard(str) {
+ if (process.server) return
+ const el = document.createElement('textarea')
+ el.value = str
+ document.body.appendChild(el)
+ el.select()
+ document.execCommand('copy')
+ document.body.removeChild(el)
+ if(this.isDraft){
+ this.alertWarning('Copied! But other people won\'t be able to see the form since it\'s currently in draft mode')
+ } else {
+ this.alertSuccess('Copied!')
+ }
+
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/FormEditor.vue b/client/components/open/forms/components/FormEditor.vue
new file mode 100644
index 000000000..874eac527
--- /dev/null
+++ b/client/components/open/forms/components/FormEditor.vue
@@ -0,0 +1,325 @@
+<template>
+ <div v-if="form" id="form-editor" class="relative flex w-full flex-col grow max-h-screen">
+ <!-- Navbar -->
+ <div class="w-full border-b p-2 flex items-center justify-between bg-white">
+ <a v-if="backButton" href="#" class="ml-2 flex text-blue font-semibold text-sm"
+ @click.prevent="$router.back()"
+ >
+ <svg class="w-3 h-3 text-blue mt-1 mr-1" viewBox="0 0 6 10" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M5 9L1 5L5 1" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"
+ stroke-linejoin="round"
+ />
+ </svg>
+ Go back
+ </a>
+ <div class="hidden md:flex items-center ml-3">
+ <h3 class="font-semibold text-lg max-w-[14rem] truncate text-gray-500">
+ {{ form.title }}
+ </h3>
+ </div>
+
+ <div class="flex items-center" :class="{'mx-auto md:mx-0':!backButton}">
+ <div class="hidden md:block mr-10 relative">
+ <a href="#"
+ class="text-sm px-3 py-2 hover:bg-gray-50 cursor-pointer rounded-md text-gray-500 px-0 sm:px-3 hover:text-gray-800 cursor-pointer mt-1"
+ @click.prevent="openCrisp"
+ >
+ Help
+ </a>
+ </div>
+ <v-button v-track.save_form_click size="small" class="w-full px-8 md:px-4 py-2"
+ :loading="updateFormLoading" :class="saveButtonClass"
+ @click="saveForm"
+ >
+ <svg class="w-4 h-4 text-white inline mr-1 -mt-1" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M17 21V13H7V21M7 3V8H15M19 21H5C4.46957 21 3.96086 20.7893 3.58579 20.4142C3.21071 20.0391 3 19.5304 3 19V5C3 4.46957 3.21071 3.96086 3.58579 3.58579C3.96086 3.21071 4.46957 3 5 3H16L21 8V19C21 19.5304 20.7893 20.0391 20.4142 20.4142C20.0391 20.7893 19.5304 21 19 21Z"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ <template v-if="form.visibility === 'public'">
+ Publish Form
+ </template>
+ <template v-else>
+ Save Changes
+ </template>
+ </v-button>
+ </div>
+ </div>
+
+ <div class="w-full flex grow overflow-y-scroll relative bg-gray-50">
+ <div class="relative w-full bg-white shrink-0 overflow-y-scroll border-r md:w-1/2 md:max-w-sm lg:w-2/5">
+ <div class="border-b bg-blue-50 p-5 text-nt-blue-dark md:hidden">
+ Please create this form on a device with a larger screen. That will allow you to preview your form changes.
+ </div>
+
+ <form-information />
+ <form-structure />
+ <form-customization />
+ <form-notifications />
+ <form-about-submission />
+ <form-access />
+ <form-security-privacy />
+ <form-custom-seo />
+ <form-custom-code />
+ </div>
+
+ <form-editor-preview />
+ <form-editor-sidebar />
+
+ <!-- Form Error Modal -->
+ <form-error-modal
+ :show="showFormErrorModal"
+ :validation-error-response="validationErrorResponse"
+ @close="showFormErrorModal=false"
+ />
+ </div>
+ </div>
+ <div v-else class="flex justify-center items-center">
+ <loader class="w-6 h-6" />
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../../../../stores/auth'
+import { useFormsStore } from '../../../../stores/forms'
+import { useWorkingFormStore } from '../../../../stores/working_form'
+import { useWorkspacesStore } from '../../../../stores/workspaces'
+import FormEditorSidebar from './form-components/FormEditorSidebar.vue'
+import FormErrorModal from './form-components/FormErrorModal.vue'
+import FormInformation from './form-components/FormInformation.vue'
+import FormStructure from './form-components/FormStructure.vue'
+import FormCustomization from './form-components/FormCustomization.vue'
+import FormCustomCode from './form-components/FormCustomCode.vue'
+import FormAboutSubmission from './form-components/FormAboutSubmission.vue'
+import FormNotifications from './form-components/FormNotifications.vue'
+import FormEditorPreview from './form-components/FormEditorPreview.vue'
+import FormSecurityPrivacy from './form-components/FormSecurityPrivacy.vue'
+import FormCustomSeo from './form-components/FormCustomSeo.vue'
+import FormAccess from './form-components/FormAccess.vue'
+import saveUpdateAlert from '../../../../mixins/forms/saveUpdateAlert.js'
+import fieldsLogic from '../../../../mixins/forms/fieldsLogic.js'
+
+export default {
+ name: 'FormEditor',
+ components: {
+ FormEditorSidebar,
+ FormEditorPreview,
+ FormNotifications,
+ FormAboutSubmission,
+ FormCustomCode,
+ FormCustomization,
+ FormStructure,
+ FormInformation,
+ FormErrorModal,
+ FormSecurityPrivacy,
+ FormCustomSeo,
+ FormAccess
+ },
+ mixins: [saveUpdateAlert, fieldsLogic],
+ props: {
+ isEdit: {
+ required: false,
+ type: Boolean,
+ default: false
+ },
+ isGuest: {
+ required: false,
+ type: Boolean,
+ default: false
+ },
+ backButton: {
+ required: false,
+ type: Boolean,
+ default: true
+ },
+ saveButtonClass: {
+ required: false,
+ type: String,
+ default: ''
+ }
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ const formsStore = useFormsStore()
+ const workingFormStore = useWorkingFormStore()
+ const workspacesStore = useWorkspacesStore()
+ return {
+ formsStore,
+ workingFormStore,
+ workspacesStore,
+ user: computed(() => authStore.user)
+ }
+ },
+
+ data () {
+ return {
+ showFormErrorModal: false,
+ validationErrorResponse: null,
+ updateFormLoading: false,
+ createdFormId: null
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ createdForm () {
+ return this.formsStore.getById(this.createdFormId)
+ },
+ workspace () {
+ return this.workspacesStore.getCurrent()
+ },
+ steps () {
+ return [
+ {
+ target: '#v-step-0',
+ header: {
+ title: 'Welcome to the OpnForm Editor!'
+ },
+ content: 'Discover <strong>your form Editor</strong>!'
+ },
+ {
+ target: '#v-step-1',
+ header: {
+ title: 'Change your form fields'
+ },
+ content: 'Here you can decide which field to include or not, but also the ' +
+ 'order you want your fields to be and so on. You also have custom options available for each field, just ' +
+ 'click the blue cog.'
+ },
+ {
+ target: '#v-step-2',
+ header: {
+ title: 'Notifications, Customizations and more!'
+ },
+ content: 'Many more options are available: change colors, texts and receive a ' +
+ 'notifications whenever someones submits your form.'
+ },
+ {
+ target: '.v-last-step',
+ header: {
+ title: 'Create your form'
+ },
+ content: 'Click this button when you\'re done to save your form!'
+ }
+ ]
+ },
+ helpUrl: () => this.$config.links.help
+ },
+
+ watch: {},
+
+ mounted () {
+ this.$emit('mounted')
+ this.$root.hideNavbar()
+ },
+
+ beforeUnmount () {
+ this.$root.hideNavbar(false)
+ },
+
+ methods: {
+ openCrisp () {
+ window.$crisp.push(['do', 'chat:show'])
+ window.$crisp.push(['do', 'chat:open'])
+ },
+ showValidationErrors () {
+ this.showFormErrorModal = true
+ },
+ saveForm () {
+ this.form.properties = this.validateFieldsLogic(this.form.properties)
+ if (this.isGuest) {
+ this.saveFormGuest()
+ } else if (this.isEdit) {
+ this.saveFormEdit()
+ } else {
+ this.saveFormCreate()
+ }
+ },
+ saveFormEdit () {
+ if (this.updateFormLoading) return
+
+ this.updateFormLoading = true
+ this.validationErrorResponse = null
+ this.form.put('/api/open/forms/{id}/'.replace('{id}', this.form.id)).then((response) => {
+ const data = response.data
+ this.formsStore.addOrUpdate(data.form)
+ this.$emit('on-save')
+ this.$router.push({ name: 'forms.show', params: { slug: this.form.slug } })
+ this.$logEvent('form_saved', { form_id: this.form.id, form_slug: this.form.slug })
+ this.displayFormModificationAlert(data)
+ }).catch((error) => {
+ if (error.response.status === 422) {
+ this.validationErrorResponse = error.response.data
+ this.showValidationErrors()
+ }
+ }).finally(() => {
+ this.updateFormLoading = false
+ })
+ },
+ saveFormCreate () {
+ if (this.updateFormLoading) return
+ this.form.workspace_id = this.workspace.id
+ this.validationErrorResponse = null
+
+ this.updateFormLoading = true
+ this.form.post('/api/open/forms').then((response) => {
+ this.formsStore.addOrUpdate(response.data.form)
+ this.$emit('on-save')
+ this.createdFormId = response.data.form.id
+
+ this.$logEvent('form_created', { form_id: response.data.form.id, form_slug: response.data.form.slug })
+ this.$crisp.push(['set', 'session:event', [[['form_created', {
+ form_id: response.data.form.id,
+ form_slug: response.data.form.slug
+ }, 'blue']]]])
+ this.displayFormModificationAlert(response.data)
+ this.$router.push({
+ name: 'forms.show',
+ params: {
+ slug: this.createdForm.slug,
+ new_form: response.data.users_first_form
+ }
+ })
+ }).catch((error) => {
+ if (error.response && error.response.status === 422) {
+ this.validationErrorResponse = error.response.data
+ this.showValidationErrors()
+ }
+ }).finally(() => {
+ this.updateFormLoading = false
+ })
+ },
+ saveFormGuest () {
+ this.$emit('openRegister')
+ }
+ }
+}
+</script>
+
+<style lang="scss">
+.v-step {
+ color: white;
+
+ .v-step__header, .v-step__content {
+ color: white;
+
+ div {
+ color: white;
+ }
+ }
+
+}
+</style>
diff --git a/client/components/open/forms/components/FormFieldsEditor.vue b/client/components/open/forms/components/FormFieldsEditor.vue
new file mode 100644
index 000000000..219115d77
--- /dev/null
+++ b/client/components/open/forms/components/FormFieldsEditor.vue
@@ -0,0 +1,341 @@
+<template>
+ <div>
+ <v-button v-if="formFields && formFields.length > 8"
+ class="w-full mb-3" color="light-gray"
+ @click="openAddFieldSidebar"
+ >
+ <svg class="w-4 h-4 text-nt-blue inline mr-1 -mt-1" viewBox="0 0 14 14" fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path d="M7.00001 1.1665V12.8332M1.16667 6.99984H12.8333" stroke="currentColor" stroke-width="1.67"
+ stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ Add block
+ </v-button>
+
+ <draggable v-model="formFields"
+ item-key="id"
+ class="bg-white overflow-hidden dark:bg-notion-dark-light rounded-md w-full mx-auto border transition-colors"
+ ghost-class="bg-gray-50"
+ handle=".draggable"
+ :animation="200"
+ >
+ <template #item="{element, index}">
+ <div class="w-full mx-auto transition-colors"
+ :class="{'bg-gray-100 dark:bg-gray-800':element.hidden,'bg-white dark:bg-notion-dark-light':!element.hidden && !element.type==='nf-page-break', 'border-b': (index!== formFields.length -1), 'bg-blue-50 dark:bg-blue-900':element && element.type==='nf-page-break'}"
+ >
+ <div v-if="element" class="flex items-center space-x-1 group py-2 pr-4 relative">
+ <!-- Drag handler -->
+ <div class="cursor-move draggable p-2 -mr-2">
+ <svg class="h-4 w-4 text-gray-400" viewBox="0 0 18 8" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M1.5 1.0835H16.5M1.5 6.91683H16.5" stroke="currentColor" stroke-width="1.67"
+ stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ </div>
+ <!-- Field name and type -->
+ <div class="flex flex-col flex-grow truncate">
+ <editable-div class="max-w-full flex items-center" :model-value="element.name"
+ @update:model-value="onChangeName(element, $event)"
+ >
+ <div class="cursor-pointer max-w-full truncate">
+ {{ element.name }}
+ </div>
+ </editable-div>
+
+ <p class="text-xs text-gray-400 w-full truncate pl-2">
+ <span class="capitalize">{{ formatType(element) }}</span>
+ </p>
+ </div>
+
+ <template v-if="removing == element.id">
+ <div class="flex text-sm items-center">
+ Remove block?
+ <v-button class="inline ml-1" color="red" size="small" @click="removeBlock(index)">
+ Yes
+ </v-button>
+ <v-button class="inline ml-1" color="light-gray" size="small" @click="removing=false">
+ No
+ </v-button>
+ </div>
+ </template>
+ <template v-else>
+ <button
+ class="hover:bg-red-50 text-gray-500 hover:text-red-600 rounded transition-colors cursor-pointer p-2 hidden md:group-hover:block"
+ @click="removing=element.id"
+ >
+ <svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M3 6H5M5 6H21M5 6V20C5 20.5304 5.21071 21.0391 5.58579 21.4142C5.96086 21.7893 6.46957 22 7 22H17C17.5304 22 18.0391 21.7893 18.4142 21.4142C18.7893 21.0391 19 20.5304 19 20V6H5ZM8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M10 11V17M14 11V17"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ </button>
+ <button class="hover:bg-nt-blue-lighter rounded transition-colors cursor-pointer p-2 hidden"
+ :class="{'text-blue-500': !element.hidden, 'text-gray-500': element.hidden, 'group-hover:md:block': !element.hidden, 'md:block':element.hidden}"
+ @click="toggleHidden(element)"
+ >
+ <template v-if="!element.hidden">
+ <svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M1 12C1 12 5 4 12 4C19 4 23 12 23 12C23 12 19 20 12 20C5 20 1 12 1 12Z"
+ stroke="currentColor"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ <path
+ d="M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ </template>
+ <template v-else>
+ <svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <g clip-path="url(#clip0_1027_7292)">
+ <path
+ d="M9.9 4.24C10.5883 4.07888 11.2931 3.99834 12 4C19 4 23 12 23 12C22.393 13.1356 21.6691 14.2047 20.84 15.19M14.12 14.12C13.8454 14.4147 13.5141 14.6512 13.1462 14.8151C12.7782 14.9791 12.3809 15.0673 11.9781 15.0744C11.5753 15.0815 11.1752 15.0074 10.8016 14.8565C10.4281 14.7056 10.0887 14.481 9.80385 14.1962C9.51897 13.9113 9.29439 13.5719 9.14351 13.1984C8.99262 12.8248 8.91853 12.4247 8.92563 12.0219C8.93274 11.6191 9.02091 11.2218 9.18488 10.8538C9.34884 10.4859 9.58525 10.1546 9.88 9.88M1 1L23 23M17.94 17.94C16.2306 19.243 14.1491 19.9649 12 20C5 20 1 12 1 12C2.24389 9.6819 3.96914 7.65661 6.06 6.06L17.94 17.94Z"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </g>
+ <defs>
+ <clipPath id="clip0_1027_7292">
+ <rect width="24" height="24" fill="white" />
+ </clipPath>
+ </defs>
+ </svg>
+ </template>
+ </button>
+ <button v-if="!element.type.startsWith('nf-')"
+ class="hover:bg-nt-blue-lighter rounded transition-colors cursor-pointer p-2 hidden"
+ :class="{'group-hover:md:block': !element.required, 'md:block':element.required}"
+ @click="toggleRequired(element)"
+ >
+ <div class="w-4 h-4 text-center font-bold text-3xl"
+ :class="{'text-red-500': element.required, 'text-gray-500': !element.required}"
+ >
+ <svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M12 2V12M12 12V22M12 12L4.93 4.93M12 12L19.07 19.07M12 12H2M12 12H22M12 12L4.93 19.07M12 12L19.07 4.93"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ </div>
+ </button>
+ <button class="hover:bg-nt-blue-lighter rounded transition-colors cursor-pointer p-2"
+ @click="editOptions(index)"
+ >
+ <svg class="h-4 w-4 text-blue-600" width="24" height="24" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <g clip-path="url(#clip0_1027_7210)">
+ <path
+ d="M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ <path
+ d="M19.4 15C19.2669 15.3016 19.2272 15.6362 19.286 15.9606C19.3448 16.285 19.4995 16.5843 19.73 16.82L19.79 16.88C19.976 17.0657 20.1235 17.2863 20.2241 17.5291C20.3248 17.7719 20.3766 18.0322 20.3766 18.295C20.3766 18.5578 20.3248 18.8181 20.2241 19.0609C20.1235 19.3037 19.976 19.5243 19.79 19.71C19.6043 19.896 19.3837 20.0435 19.1409 20.1441C18.8981 20.2448 18.6378 20.2966 18.375 20.2966C18.1122 20.2966 17.8519 20.2448 17.6091 20.1441C17.3663 20.0435 17.1457 19.896 16.96 19.71L16.9 19.65C16.6643 19.4195 16.365 19.2648 16.0406 19.206C15.7162 19.1472 15.3816 19.1869 15.08 19.32C14.7842 19.4468 14.532 19.6572 14.3543 19.9255C14.1766 20.1938 14.0813 20.5082 14.08 20.83V21C14.08 21.5304 13.8693 22.0391 13.4942 22.4142C13.1191 22.7893 12.6104 23 12.08 23C11.5496 23 11.0409 22.7893 10.6658 22.4142C10.2907 22.0391 10.08 21.5304 10.08 21V20.91C10.0723 20.579 9.96512 20.258 9.77251 19.9887C9.5799 19.7194 9.31074 19.5143 9 19.4C8.69838 19.2669 8.36381 19.2272 8.03941 19.286C7.71502 19.3448 7.41568 19.4995 7.18 19.73L7.12 19.79C6.93425 19.976 6.71368 20.1235 6.47088 20.2241C6.22808 20.3248 5.96783 20.3766 5.705 20.3766C5.44217 20.3766 5.18192 20.3248 4.93912 20.2241C4.69632 20.1235 4.47575 19.976 4.29 19.79C4.10405 19.6043 3.95653 19.3837 3.85588 19.1409C3.75523 18.8981 3.70343 18.6378 3.70343 18.375C3.70343 18.1122 3.75523 17.8519 3.85588 17.6091C3.95653 17.3663 4.10405 17.1457 4.29 16.96L4.35 16.9C4.58054 16.6643 4.73519 16.365 4.794 16.0406C4.85282 15.7162 4.81312 15.3816 4.68 15.08C4.55324 14.7842 4.34276 14.532 4.07447 14.3543C3.80618 14.1766 3.49179 14.0813 3.17 14.08H3C2.46957 14.08 1.96086 13.8693 1.58579 13.4942C1.21071 13.1191 1 12.6104 1 12.08C1 11.5496 1.21071 11.0409 1.58579 10.6658C1.96086 10.2907 2.46957 10.08 3 10.08H3.09C3.42099 10.0723 3.742 9.96512 4.0113 9.77251C4.28059 9.5799 4.48572 9.31074 4.6 9C4.73312 8.69838 4.77282 8.36381 4.714 8.03941C4.65519 7.71502 4.50054 7.41568 4.27 7.18L4.21 7.12C4.02405 6.93425 3.87653 6.71368 3.77588 6.47088C3.67523 6.22808 3.62343 5.96783 3.62343 5.705C3.62343 5.44217 3.67523 5.18192 3.77588 4.93912C3.87653 4.69632 4.02405 4.47575 4.21 4.29C4.39575 4.10405 4.61632 3.95653 4.85912 3.85588C5.10192 3.75523 5.36217 3.70343 5.625 3.70343C5.88783 3.70343 6.14808 3.75523 6.39088 3.85588C6.63368 3.95653 6.85425 4.10405 7.04 4.29L7.1 4.35C7.33568 4.58054 7.63502 4.73519 7.95941 4.794C8.28381 4.85282 8.61838 4.81312 8.92 4.68H9C9.29577 4.55324 9.54802 4.34276 9.72569 4.07447C9.90337 3.80618 9.99872 3.49179 10 3.17V3C10 2.46957 10.2107 1.96086 10.5858 1.58579C10.9609 1.21071 11.4696 1 12 1C12.5304 1 13.0391 1.21071 13.4142 1.58579C13.7893 1.96086 14 2.46957 14 3V3.09C14.0013 3.41179 14.0966 3.72618 14.2743 3.99447C14.452 4.26276 14.7042 4.47324 15 4.6C15.3016 4.73312 15.6362 4.77282 15.9606 4.714C16.285 4.65519 16.5843 4.50054 16.82 4.27L16.88 4.21C17.0657 4.02405 17.2863 3.87653 17.5291 3.77588C17.7719 3.67523 18.0322 3.62343 18.295 3.62343C18.5578 3.62343 18.8181 3.67523 19.0609 3.77588C19.3037 3.87653 19.5243 4.02405 19.71 4.21C19.896 4.39575 20.0435 4.61632 20.1441 4.85912C20.2448 5.10192 20.2966 5.36217 20.2966 5.625C20.2966 5.88783 20.2448 6.14808 20.1441 6.39088C20.0435 6.63368 19.896 6.85425 19.71 7.04L19.65 7.1C19.4195 7.33568 19.2648 7.63502 19.206 7.95941C19.1472 8.28381 19.1869 8.61838 19.32 8.92V9C19.4468 9.29577 19.6572 9.54802 19.9255 9.72569C20.1938 9.90337 20.5082 9.99872 20.83 10H21C21.5304 10 22.0391 10.2107 22.4142 10.5858C22.7893 10.9609 23 11.4696 23 12C23 12.5304 22.7893 13.0391 22.4142 13.4142C22.0391 13.7893 21.5304 14 21 14H20.91C20.5882 14.0013 20.2738 14.0966 20.0055 14.2743C19.7372 14.452 19.5268 14.7042 19.4 15Z"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </g>
+ <defs>
+ <clipPath id="clip0_1027_7210">
+ <rect width="24" height="24" fill="white" />
+ </clipPath>
+ </defs>
+ </svg>
+ </button>
+ </template>
+ </div>
+ </div>
+ </template>
+ </draggable>
+
+ <v-button
+ class="w-full mt-3" color="light-gray"
+ @click="openAddFieldSidebar"
+ >
+ <svg class="w-4 h-4 text-nt-blue inline mr-1 -mt-1" viewBox="0 0 14 14" fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path d="M7.00001 1.1665V12.8332M1.16667 6.99984H12.8333" stroke="currentColor" stroke-width="1.67"
+ stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ Add block
+ </v-button>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useWorkingFormStore } from '../../../../stores/working_form'
+import draggable from 'vuedraggable'
+import ProTag from '~/components/global/ProTag.vue'
+import clonedeep from 'clone-deep'
+import EditableDiv from '~/components/global/EditableDiv.vue'
+import VButton from '~/components/global/VButton.vue'
+
+draggable.compatConfig = { MODE: 3 }
+export default {
+ name: 'FormFieldsEditor',
+ components: {
+ VButton,
+ ProTag,
+ draggable,
+ EditableDiv
+ },
+
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+
+ data () {
+ return {
+ formFields: [],
+ removing: null
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ }
+ },
+
+ watch: {
+ formFields: {
+ deep: true,
+ handler () {
+ this.form.properties = this.formFields
+ }
+ },
+
+ 'form.properties': {
+ deep: true,
+ handler () {
+ // If different, then update
+ if (this.form.properties.length !== this.formFields.length ||
+ JSON.stringify(this.form.properties) !== JSON.stringify(this.formFields)) {
+ this.formFields = clonedeep(this.form.properties)
+ }
+ }
+ }
+
+ },
+
+ mounted () {
+ this.init()
+ },
+
+ methods: {
+ onChangeName (field, newName) {
+ field.name = newName
+ },
+ toggleHidden (field) {
+ field.hidden = !field.hidden
+ if (field.hidden) {
+ field.required = false
+ } else {
+ field.generates_uuid = false
+ field.generates_auto_increment_id = false
+ }
+ },
+ toggleRequired (field) {
+ field.required = !field.required
+ if (field.required) {
+ field.hidden = false
+ }
+ },
+ getDefaultFields () {
+ return [
+ {
+ name: 'Name',
+ type: 'text',
+ hidden: false,
+ required: true,
+ id: this.generateUUID()
+ },
+ {
+ name: 'Email',
+ type: 'email',
+ hidden: false,
+ id: this.generateUUID()
+ },
+ {
+ name: 'Message',
+ type: 'text',
+ hidden: false,
+ multi_lines: true,
+ id: this.generateUUID()
+ }
+ ]
+ },
+ init () {
+ if (this.$route.name === 'forms.create' || this.$route.name === 'forms.create.guest') { // Set Default fields
+ this.formFields = (this.form.properties.length > 0) ? clonedeep(this.form.properties) : this.getDefaultFields()
+ } else {
+ this.formFields = clonedeep(this.form.properties).map((field) => {
+ // Add more field properties
+ field.placeholder = field.placeholder || null
+ field.prefill = field.prefill || null
+ field.help = field.help || null
+ field.help_position = field.help_position || 'below_input'
+
+ return field
+ })
+ }
+ this.form.properties = this.formFields
+ },
+ generateUUID () {
+ let d = new Date().getTime()// Timestamp
+ let d2 = ((typeof performance !== 'undefined') && performance.now && (performance.now() * 1000)) || 0// Time in microseconds since page-load or 0 if unsupported
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
+ let r = Math.random() * 16// random number between 0 and 16
+ if (d > 0) { // Use timestamp until depleted
+ r = (d + r) % 16 | 0
+ d = Math.floor(d / 16)
+ } else { // Use microseconds since page-load if supported
+ r = (d2 + r) % 16 | 0
+ d2 = Math.floor(d2 / 16)
+ }
+ return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16)
+ })
+ },
+ formatType (field) {
+ let type = field.type.replace('_', ' ')
+ if (!type.startsWith('nf')) {
+ type = type + ' Input'
+ } else {
+ type = type.replace('nf-', '')
+ }
+ if (field.generates_uuid || field.generates_auto_increment_id) {
+ type = type + ' - Auto ID'
+ }
+ return type
+ },
+ editOptions (index) {
+ this.workingFormStore.openSettingsForField(index)
+ },
+ removeBlock (blockIndex) {
+ const newFields = clonedeep(this.formFields)
+ newFields.splice(blockIndex, 1)
+ this.formFields = newFields
+ this.closeSidebar()
+ },
+ closeSidebar () {
+ this.workingFormStore.closeEditFieldSidebar()
+ },
+ openAddFieldSidebar () {
+ this.workingFormStore.openAddFieldSidebar(null)
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/FormStats.vue b/client/components/open/forms/components/FormStats.vue
new file mode 100644
index 000000000..46154e127
--- /dev/null
+++ b/client/components/open/forms/components/FormStats.vue
@@ -0,0 +1,120 @@
+<template>
+ <div class="border border-nt-blue-light bg-blue-50 dark:bg-notion-dark-light rounded-md p-4 mb-5 w-full mx-auto mt-4 select-all">
+ <div v-if="false" class="relative">
+ <div class="absolute inset-0 z-10">
+ <div class="p-5 max-w-md mx-auto mt-5">
+ <p class="text-center">
+ You need a <pro-tag class="mx-1" /> subscription to access your form analytics.
+ </p>
+ <p class="mt-5 text-center">
+ <v-button :to="{name:'pricing'}">
+ Subscribe
+ </v-button>
+ </p>
+ </div>
+ </div>
+ <img src="/img/pages/forms/blurred_graph.png"
+ alt="Sample Graph"
+ class="mx-auto filter blur-md z-0"
+ >
+
+ </div>
+ <loader v-else-if="isLoading" class="h-6 w-6 text-nt-blue mx-auto" />
+ <LineChart v-else
+ :options="chartOptions"
+ :data="chartData"
+ />
+ </div>
+</template>
+
+<script>
+import axios from 'axios'
+import { Line as LineChart } from 'vue-chartjs'
+import {
+ Chart as ChartJS,
+ Title,
+ Tooltip,
+ Legend,
+ LineElement,
+ LinearScale,
+ CategoryScale,
+ PointElement
+} from 'chart.js'
+import ProTag from '~/components/global/ProTag.vue'
+
+ChartJS.register(
+ Title,
+ Tooltip,
+ Legend,
+ LineElement,
+ LinearScale,
+ CategoryScale,
+ PointElement
+)
+
+export default {
+ name: 'FormStats',
+ components: {
+ ProTag,
+ LineChart
+ },
+ props: {
+ form: {
+ type: Object,
+ required: true
+ }
+ },
+ data () {
+ return {
+ isLoading: true,
+ chartData: {
+ labels: [],
+ datasets: [
+ {
+ label: 'Form Views',
+ backgroundColor: 'rgba(59, 130, 246, 1)',
+ borderColor: 'rgba(59, 130, 246, 1)',
+ data: []
+ },
+ {
+ label: 'Form Submissions',
+ backgroundColor: 'rgba(16, 185, 129, 1)',
+ borderColor: 'rgba(16, 185, 129, 1)',
+ data: []
+ }
+ ]
+ },
+ chartOptions: {
+ scales: {
+ y: {
+ beginAtZero: true,
+ ticks: {
+ precision: 0
+ }
+ }
+ },
+ responsive: true,
+ maintainAspectRatio: true
+ }
+ }
+ },
+ mounted () {
+ this.getChartData()
+ },
+ methods: {
+ getChartData () {
+ if (!this.form) { return null }
+ this.isLoading = true
+ axios.get('/api/open/workspaces/' + this.form.workspace_id + '/form-stats/' + this.form.id).then((response) => {
+ const statsData = response.data
+ if (statsData && statsData.views !== undefined) {
+ this.chartData.labels = Object.keys(statsData.views)
+ this.chartData.datasets[0].data = statsData.views
+ this.chartData.datasets[1].data = statsData.submissions
+ this.isLoading = false
+ }
+ })
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/FormSubmissions.vue b/client/components/open/forms/components/FormSubmissions.vue
new file mode 100644
index 000000000..626d6ca6e
--- /dev/null
+++ b/client/components/open/forms/components/FormSubmissions.vue
@@ -0,0 +1,250 @@
+<template>
+ <div
+ class="my-4 w-full mx-auto"
+ >
+ <h3 class="font-semibold mb-4 text-xl">
+ Form Submissions
+ </h3>
+
+ <!-- Table columns modal -->
+ <modal :show="showColumnsModal" @close="showColumnsModal=false">
+ <template #icon>
+ <svg class="w-8 h-8" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M16 5H8C4.13401 5 1 8.13401 1 12C1 15.866 4.13401 19 8 19H16C19.866 19 23 15.866 23 12C23 8.13401 19.866 5 16 5Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
+ <path d="M8 15C9.65685 15 11 13.6569 11 12C11 10.3431 9.65685 9 8 9C6.34315 9 5 10.3431 5 12C5 13.6569 6.34315 15 8 15Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
+ </svg>
+ </template>
+ <template #title>
+ Display columns
+ </template>
+
+ <div class="px-4">
+ <template v-if="properties.length > 0">
+ <h4 class="font-bold mb-2">
+ Form Fields
+ </h4>
+ <div v-for="field in properties" :key="field.id" class="p-2 border">
+ {{ field.name }}
+ <v-switch v-model="displayColumns[field.id]" class="float-right" @update:model-value="onChangeDisplayColumns" />
+ </div>
+ </template>
+ <template v-if="removed_properties.length > 0">
+ <h4 class="font-bold mb-2 mt-4">
+ Removed Fields
+ </h4>
+ <div v-for="field in removed_properties" :key="field.id" class="p-2 border">
+ {{ field.name }}
+ <v-switch v-model="displayColumns[field.id]" class="float-right" @update:model-value="onChangeDisplayColumns" />
+ </div>
+ </template>
+ </div>
+ </modal>
+
+ <loader v-if="!form || !formInitDone" class="h-6 w-6 text-nt-blue mx-auto" />
+ <div v-else>
+ <div v-if="form && tableData.length > 0" class="flex flex-wrap items-end">
+ <div class="flex-grow">
+ <text-input class="w-64" :form="searchForm" name="search" placeholder="Search..." />
+ </div>
+ <div class="font-semibold flex gap-4">
+ <p class="float-right text-xs uppercase mb-2">
+ <a
+ href="javascript:void(0);" class="text-gray-500" @click="showColumnsModal=true"
+ >Display columns</a>
+ </p>
+ <p class="text-right text-xs uppercase">
+ <a
+ :href="exportUrl" target="_blank"
+ >Export as CSV</a>
+ </p>
+ </div>
+ </div>
+
+ <scroll-shadow
+ ref="shadows"
+ class="border max-h-full h-full notion-database-renderer"
+ :shadow-top-offset="0"
+ :hide-scrollbar="true"
+ >
+ <open-table
+ ref="table"
+ class="max-h-full"
+ :data="filteredData"
+ :loading="isLoading"
+ @resize="dataChanged()"
+ @deleted="onDeleteRecord()"
+ />
+ </scroll-shadow>
+ </div>
+ </div>
+</template>
+
+<script>
+import axios from 'axios'
+import Fuse from 'fuse.js'
+import Form from 'vform'
+import { useWorkingFormStore } from '../../../../stores/working_form'
+import ScrollShadow from '~/components/global/ScrollShadow.vue'
+import OpenTable from '../../tables/OpenTable.vue'
+import clonedeep from 'clone-deep'
+import VSwitch from '../../../forms/components/VSwitch.vue'
+
+export default {
+ name: 'FormSubmissions',
+ components: { ScrollShadow, OpenTable, VSwitch },
+ props: {},
+
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+
+ data () {
+ return {
+ formInitDone: false,
+ isLoading: false,
+ tableData: [],
+ currentPage: 1,
+ fullyLoaded: false,
+ showColumnsModal: false,
+ properties: [],
+ removed_properties: [],
+ displayColumns: {},
+ searchForm: new Form({
+ search: ''
+ })
+ }
+ },
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ exportUrl () {
+ if (!this.form) {
+ return ''
+ }
+ return '/api/open/forms/' + this.form.id + '/submissions/export'
+ },
+ filteredData () {
+ if (!this.tableData) return []
+
+ const filteredData = clonedeep(this.tableData)
+
+ if (this.searchForm.search === '' || this.searchForm.search === null) {
+ return filteredData
+ }
+
+ // Fuze search
+ const fuzeOptions = {
+ keys: this.form.properties.map((field) => field.id)
+ }
+ const fuse = new Fuse(filteredData, fuzeOptions)
+ return fuse.search(this.searchForm.search).map((res) => {
+ return res.item
+ })
+ }
+ },
+ watch: {
+ 'form.id' () {
+ if (this.form === null) {
+ return
+ }
+ this.initFormStructure()
+ this.getSubmissionsData()
+ }
+ },
+ mounted () {
+ this.initFormStructure()
+ this.getSubmissionsData()
+ },
+ methods: {
+ initFormStructure () {
+ if (!this.form || !this.form.properties || this.formInitDone) {
+ return
+ }
+
+ // check if form properties already has a created_at column
+ let hasCreatedAt = false
+ this.form.properties.forEach((property) => {
+ if (property.id === 'created_at') {
+ hasCreatedAt = true
+ }
+ })
+
+ if (!hasCreatedAt) {
+ // Add a "created at" column
+ const columns = clonedeep(this.form.properties)
+ columns.push({
+ name: 'Created at',
+ id: 'created_at',
+ type: 'date',
+ width: 140
+ })
+ this.form.properties = columns
+ }
+ this.formInitDone = true
+
+ this.properties = clonedeep(this.form.properties)
+ this.removed_properties = (this.form.removed_properties) ? clonedeep(this.form.removed_properties) : []
+
+ // Get display columns from local storage
+ const tmpColumns = window.localStorage.getItem('display-columns-formid-' + this.form.id)
+ if (tmpColumns !== null && tmpColumns) {
+ this.displayColumns = JSON.parse(tmpColumns)
+ this.onChangeDisplayColumns()
+ } else {
+ this.form.properties.forEach((field) => {
+ this.displayColumns[field.id] = true
+ })
+ }
+ },
+ getSubmissionsData () {
+ if (!this.form || this.fullyLoaded) {
+ return
+ }
+ this.isLoading = true
+ axios.get('/api/open/forms/' + this.form.id + '/submissions?page=' + this.currentPage).then((response) => {
+ const resData = response.data
+
+ this.tableData = this.tableData.concat(resData.data.map((record) => record.data))
+ this.dataChanged()
+
+ if (this.currentPage < resData.meta.last_page) {
+ this.currentPage += 1
+ this.getSubmissionsData()
+ } else {
+ this.isLoading = false
+ this.fullyLoaded = true
+ }
+ }).catch((error) => {
+ console.error(error)
+ this.isLoading = false
+ })
+ },
+ dataChanged () {
+ if (this.$refs.shadows) {
+ this.$refs.shadows.toggleShadow()
+ this.$refs.shadows.calcDimensions()
+ }
+ },
+ onChangeDisplayColumns () {
+ window.localStorage.setItem('display-columns-formid-' + this.form.id, JSON.stringify(this.displayColumns))
+ this.form.properties = this.properties.concat(this.removed_properties).filter((field) => {
+ return this.displayColumns[field.id] === true
+ })
+ },
+ onDeleteRecord () {
+ this.fullyLoaded = false
+ this.tableData = []
+ this.getSubmissionsData()
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/FormUrlPrefill.vue b/client/components/open/forms/components/FormUrlPrefill.vue
new file mode 100644
index 000000000..46bcbab01
--- /dev/null
+++ b/client/components/open/forms/components/FormUrlPrefill.vue
@@ -0,0 +1,88 @@
+<template>
+ <div
+ class="border border-nt-blue-light bg-blue-50 dark:bg-notion-dark-light shadow rounded-md p-4 mb-5 w-full mx-auto mt-4 select-all"
+ >
+ <div class="flex items-center">
+ <p class="select-all flex-grow break-all" v-html="preFillUrl" />
+ <div class="hover:bg-nt-blue-lighter rounded transition-colors cursor-pointer" @click="copyToClipboard">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-nt-blue" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M8 5H6a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2v-1M8 5a2 2 0 002 2h2a2 2 0 002-2M8 5a2 2 0 012-2h2a2 2 0 012 2m0 0h2a2 2 0 012 2v3m2 4H10m0 0l3-3m-3 3l3 3"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+</template>
+
+<script>
+export default {
+ name: 'FormUrlPrefill',
+ props: {
+ form: {
+ type: Object,
+ required: true
+ },
+ formData: {
+ type: Object,
+ required: true
+ },
+ extraQueryParam: {
+ type: String,
+ default: ''
+ }
+ },
+
+ data () {
+ return {}
+ },
+
+ computed: {
+ preFillUrl () {
+ const url = this.form.share_url
+ const uriComponents = new URLSearchParams()
+ this.form.properties.filter((property) => {
+ return this.formData.hasOwnProperty(property.id) && this.formData[property.id] !== null
+ }).forEach((property) => {
+ if (Array.isArray(this.formData[property.id])) {
+ this.formData[property.id].forEach((value) => {
+ uriComponents.append(property.id + '[]', value)
+ })
+ } else {
+ uriComponents.append(property.id, this.formData[property.id])
+ }
+ })
+
+ if(uriComponents.toString() !== ""){
+ return (this.extraQueryParam) ? url + '?' + uriComponents + '&' + this.extraQueryParam : url + '?' + uriComponents
+ }else{
+ return (this.extraQueryParam) ? url + '?' + this.extraQueryParam : url
+ }
+ }
+ },
+
+ watch: {},
+
+ mounted () {
+ },
+
+ methods: {
+ getPropertyUriComponent (property) {
+ const prefillValue = encodeURIComponent(this.formData[property.id])
+ return encodeURIComponent(property.id) + '=' + prefillValue
+ },
+ copyToClipboard () {
+ if (process.server) return
+ const str = this.preFillUrl
+ const el = document.createElement('textarea')
+ el.value = str
+ document.body.appendChild(el)
+ el.select()
+ document.execCommand('copy')
+ document.body.removeChild(el)
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/AddFormBlock.vue b/client/components/open/forms/components/form-components/AddFormBlock.vue
new file mode 100644
index 000000000..96d2772af
--- /dev/null
+++ b/client/components/open/forms/components/form-components/AddFormBlock.vue
@@ -0,0 +1,275 @@
+<template>
+ <div>
+ <div class="p-4 border-b sticky top-0 z-10 bg-white">
+ <div class="flex">
+ <button class="text-gray-500 hover:text-gray-900 cursor-pointer" @click.prevent="closeSidebar">
+ <svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M18 6L6 18M6 6L18 18" stroke="currentColor" stroke-width="2" stroke-linecap="round"
+ stroke-linejoin="round"
+ />
+ </svg>
+ </button>
+ <div class="font-semibold inline ml-2 truncate flex-grow truncate">
+ Add Block
+ </div>
+ </div>
+ </div>
+
+ <div class="py-2 px-4">
+ <div>
+ <p class="text-gray-500 uppercase text-xs font-semibold mb-2">
+ Input Blocks
+ </p>
+ <div class="grid grid-cols-2 gap-2">
+ <div v-for="(block, i) in inputBlocks" :key="block.name"
+ class="bg-gray-50 border hover:bg-gray-100 dark:bg-gray-900 rounded-md dark:hover:bg-gray-800 py-2 flex flex-col"
+ role="button" @click.prevent="addBlock(block.name)"
+ >
+ <div class="mx-auto">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-gray-500" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor" stroke-width="2" v-html="block.icon"
+ ></svg>
+ </div>
+ <p class="w-full text-xs text-gray-500 uppercase text-center font-semibold mt-1">
+ {{ block.title }}
+ </p>
+ </div>
+ </div>
+ </div>
+ <div class="border-t mt-6">
+ <p class="text-gray-500 uppercase text-xs font-semibold mb-2 mt-6">
+ Layout Blocks
+ </p>
+ <div class="grid grid-cols-2 gap-2">
+ <div v-for="(block, i) in layoutBlocks" :key="block.name"
+ class="bg-gray-50 border hover:bg-gray-100 dark:bg-gray-900 rounded-md dark:hover:bg-gray-800 py-2 flex flex-col"
+ role="button" @click.prevent="addBlock(block.name)"
+ >
+ <div class="mx-auto">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-gray-500" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor" stroke-width="2" v-html="block.icon"
+ ></svg>
+ </div>
+ <p class="w-full text-xs text-gray-500 uppercase text-center font-semibold mt-1">
+ {{ block.title }}
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</template>
+
+<script>
+import Form from 'vform'
+import clonedeep from 'clone-deep'
+import { computed } from 'vue'
+import { useWorkingFormStore } from '../../../../../stores/working_form'
+
+export default {
+ name: 'AddFormBlock',
+ components: {},
+ props: {},
+
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore,
+ selectedFieldIndex : computed(() => workingFormStore.selectedFieldIndex)
+ }
+ },
+
+
+ data () {
+ return {
+ blockForm: null,
+ inputBlocks: [
+ {
+ name: 'text',
+ title: 'Text Input',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h16M4 18h7"/>'
+ },
+ {
+ name: 'date',
+ title: 'Date Input',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"/>'
+ },
+ {
+ name: 'url',
+ title: 'URL Input',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"/>'
+ },
+ {
+ name: 'phone_number',
+ title: 'Phone Input',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"/>'
+ },
+ {
+ name: 'email',
+ title: 'Email Input',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207"/>'
+ },
+ {
+ name: 'checkbox',
+ title: 'Checkbox Input',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/>'
+ },
+ {
+ name: 'select',
+ title: 'Select Input',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M8 9l4-4 4 4m0 6l-4 4-4-4"/>'
+ },
+ {
+ name: 'multi_select',
+ title: 'Multi-select Input',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M8 9l4-4 4 4m0 6l-4 4-4-4"/>'
+ },
+ {
+ name: 'number',
+ title: 'Number Input',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M7 20l4-16m2 16l4-16M6 9h14M4 15h14"/>'
+ },
+ {
+ name: 'files',
+ title: 'File Input',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />'
+ },
+ {
+ name: 'signature',
+ title: 'Signature Input',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125" />'
+ }
+ ],
+ layoutBlocks: [
+ {
+ name: 'nf-text',
+ title: 'Text Block',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h8m-8 6h16" />'
+ },
+ {
+ name: 'nf-page-break',
+ title: 'Page-break Block',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />'
+ },
+ {
+ name: 'nf-divider',
+ title: 'Divider Block',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M20 12H4" />'
+ },
+ {
+ name: 'nf-image',
+ title: 'Image Block',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z" />'
+ },
+ {
+ name: 'nf-code',
+ title: 'Code Block',
+ icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M17.25 6.75L22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3l-4.5 16.5" />'
+ }
+ ]
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+
+ defaultBlockNames () {
+ return {
+ text: 'Your name',
+ date: 'Date',
+ url: 'Link',
+ phone_number: 'Phone Number',
+ number: 'Number',
+ email: 'Email',
+ checkbox: 'Checkbox',
+ select: 'Select',
+ multi_select: 'Multi Select',
+ files: 'Files',
+ signature: 'Signature',
+ 'nf-text': 'Text Block',
+ 'nf-page-break': 'Page Break',
+ 'nf-divider': 'Divider',
+ 'nf-image': 'Image',
+ 'nf-code': 'Code Block'
+ }
+ }
+ },
+
+ watch: {},
+
+ mounted () {
+ this.reset()
+ },
+
+ methods: {
+ closeSidebar () {
+ this.workingFormStore.closeAddFieldSidebar()
+ },
+ reset () {
+ this.blockForm = new Form({
+ type: null,
+ name: null
+ })
+ },
+ addBlock (type) {
+ this.blockForm.type = type
+ this.blockForm.name = this.defaultBlockNames[type]
+ const newBlock = this.prefillDefault(this.blockForm.data())
+ newBlock.id = this.generateUUID()
+ newBlock.hidden = false
+ if (['select', 'multi_select'].includes(this.blockForm.type)) {
+ newBlock[this.blockForm.type] = { options: [] }
+ }
+ newBlock.help_position = 'below_input'
+ if (this.selectedFieldIndex === null || this.selectedFieldIndex === undefined) {
+ const newFields = clonedeep(this.form.properties)
+ newFields.push(newBlock)
+ this.form.properties = newFields
+ this.workingFormStore.openSettingsForField(this.form.properties.length - 1)
+ } else {
+ const newFields = clonedeep(this.form.properties)
+ newFields.splice(this.selectedFieldIndex + 1, 0, newBlock)
+ this.form.properties = newFields
+ this.workingFormStore.openSettingsForField(this.selectedFieldIndex + 1)
+ }
+ this.reset()
+ },
+ generateUUID () {
+ let d = new Date().getTime()// Timestamp
+ let d2 = ((typeof performance !== 'undefined') && performance.now && (performance.now() * 1000)) || 0// Time in microseconds since page-load or 0 if unsupported
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
+ let r = Math.random() * 16// random number between 0 and 16
+ if (d > 0) { // Use timestamp until depleted
+ r = (d + r) % 16 | 0
+ d = Math.floor(d / 16)
+ } else { // Use microseconds since page-load if supported
+ r = (d2 + r) % 16 | 0
+ d2 = Math.floor(d2 / 16)
+ }
+ return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16)
+ })
+ },
+ prefillDefault (data) {
+ if (data.type === 'nf-text') {
+ data.content = '<p>This is a text block.</p>'
+ } else if (data.type === 'nf-page-break') {
+ data.next_btn_text = 'Next'
+ data.previous_btn_text = 'Previous'
+ } else if (data.type === 'nf-code') {
+ data.content = '<div class="text-blue-500 italic">This is a code block.</div>'
+ } else if (data.type === 'signature') {
+ data.help = 'Draw your signature above'
+ }
+ return data
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/FormAboutSubmission.vue b/client/components/open/forms/components/form-components/FormAboutSubmission.vue
new file mode 100644
index 000000000..dcf904a62
--- /dev/null
+++ b/client/components/open/forms/components/form-components/FormAboutSubmission.vue
@@ -0,0 +1,205 @@
+<template>
+ <editor-options-panel name="About Submissions" :already-opened="true">
+ <template #icon>
+ <svg class="h-5 w-5" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M4.83333 6.08333H9M4.83333 9H11.5M4.83333 14V15.9463C4.83333 16.3903 4.83333 16.6123 4.92436 16.7263C5.00352 16.8255 5.12356 16.8832 5.25045 16.8831C5.39636 16.8829 5.56973 16.7442 5.91646 16.4668L7.90434 14.8765C8.31043 14.5517 8.51347 14.3892 8.73957 14.2737C8.94017 14.1712 9.15369 14.0963 9.37435 14.051C9.62306 14 9.88308 14 10.4031 14H12.5C13.9001 14 14.6002 14 15.135 13.7275C15.6054 13.4878 15.9878 13.1054 16.2275 12.635C16.5 12.1002 16.5 11.4001 16.5 10V5.5C16.5 4.09987 16.5 3.3998 16.2275 2.86502C15.9878 2.39462 15.6054 2.01217 15.135 1.77248C14.6002 1.5 13.9001 1.5 12.5 1.5H5.5C4.09987 1.5 3.3998 1.5 2.86502 1.77248C2.39462 2.01217 2.01217 2.39462 1.77248 2.86502C1.5 3.3998 1.5 4.09987 1.5 5.5V10.6667C1.5 11.4416 1.5 11.8291 1.58519 12.147C1.81635 13.0098 2.49022 13.6836 3.35295 13.9148C3.67087 14 4.05836 14 4.83333 14Z"
+ stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ </template>
+
+ <text-input name="submit_button_text" class="mt-4"
+ :form="form"
+ label="Text of Submit Button"
+ :required="true"
+ />
+
+ <toggle-switch-input name="editable_submissions" :form="form" class="mt-4"
+ help="Gives user a unique url to update their submission"
+ >
+ <template #label>
+ Editable submissions
+ <pro-tag class="ml-1" />
+ </template>
+ </toggle-switch-input>
+ <text-input v-if="form.editable_submissions" name="editable_submissions_button_text"
+ :form="form"
+ label="Text of editable submissions button"
+ :required="true"
+ />
+
+ <flat-select-input :form="submissionOptions" name="databaseAction" label="Database Submission Action"
+ :options="[
+ {name:'Create new record (default)', value:'create'},
+ {name:'Update Record (or create if no match)', value:'update'}
+ ]" :required="true" help="Create a new record or update an existing one"
+ >
+ <template #selected="{option,optionName}">
+ <div class="flex items-center truncate mr-6">
+ {{ optionName }}
+ <pro-tag v-if="option === 'update'" class="ml-2" />
+ </div>
+ </template>
+ <template #option="{option, selected}">
+ <span class="flex hover:text-white">
+ <p class="flex-grow hover:text-white">
+ {{ option.name }} <template v-if="option.value === 'update'"><pro-tag /></template>
+ </p>
+ <span v-if="selected" class="absolute inset-y-0 right-0 flex items-center pr-4 dark:text-white">
+ <svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
+ <path fill-rule="evenodd"
+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ </span>
+ </span>
+ </template>
+ </flat-select-input>
+
+ <v-transition>
+ <div v-if="submissionOptions.databaseAction == 'update' && filterableFields.length">
+ <select-input v-if="filterableFields.length" :form="form" name="database_fields_update"
+ label="Properties to check on update" :options="filterableFields" :required="true"
+ :multiple="true"
+ />
+ <div class="-mt-3 mb-3 text-gray-400 dark:text-gray-500">
+ <small>If the submission has the same value(s) as a previous one for the selected
+ column(s), we will update it, instead of creating a new one.
+ <a href="#"
+ @click.prevent="$crisp.push(['do', 'helpdesk:article:open', ['en', 'how-to-update-a-page-on-form-submission-1t1jwmn']])"
+ >More
+ info here.</a>
+ </small>
+ </div>
+ </div>
+ </v-transition>
+
+ <select-input :form="submissionOptions" name="submissionMode" label="Post Submission Action"
+ :options="[
+ {name:'Show Success page', value:'default'},
+ {name:'Redirect', value:'redirect'}
+ ]" :required="true" help="Show a message, or redirect to a URL"
+ >
+ <template #selected="{option,optionName}">
+ <div class="flex items-center truncate mr-6">
+ {{ optionName }}
+ <pro-tag v-if="option === 'redirect'" class="ml-2" />
+ </div>
+ </template>
+ <template #option="{option, selected}">
+ <span class="flex hover:text-white">
+ <p class="flex-grow hover:text-white">
+ {{ option.name }} <template v-if="option.value === 'redirect'"><pro-tag /></template>
+ </p>
+ <span v-if="selected" class="absolute inset-y-0 right-0 flex items-center pr-4">
+ <svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
+ <path fill-rule="evenodd"
+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ </span>
+ </span>
+ </template>
+ </select-input>
+ <template v-if="submissionOptions.submissionMode === 'redirect'">
+ <text-input name="redirect_url"
+ :form="form"
+ label="Redirect URL"
+ :required="true" help="On submit, redirects to that URL"
+ />
+ </template>
+ <template v-else>
+ <toggle-switch-input name="re_fillable" :form="form" class="mt-4"
+ label="Allow users to fill the form again"
+ />
+ <text-input v-if="form.re_fillable" name="re_fill_button_text"
+ :form="form"
+ label="Text of re-start button"
+ :required="true"
+ />
+ <rich-text-area-input name="submitted_text"
+ :form="form"
+ label="Text After Submission"
+ :required="false"
+ />
+ </template>
+ </editor-options-panel>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../../../stores/working_form'
+import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
+import ProTag from '~/components/global/ProTag.vue'
+import VTransition from '~/components/global/transitions/VTransition.vue'
+
+export default {
+ components: {EditorOptionsPanel, ProTag, VTransition},
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+ data () {
+ return {
+ submissionOptions: {}
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ /**
+ * Used for the update record on submission. Lists all visible fields on which you can filter records to update
+ * on submission instead of creating
+ */
+ filterableFields () {
+ if (this.submissionOptions.databaseAction !== 'update') return []
+ return this.form.properties.filter((field) => {
+ return !field.hidden && !['files', 'signature', 'multi_select'].includes(field.type)
+ }).map((field) => {
+ return {
+ name: field.name,
+ value: field.id
+ }
+ })
+ }
+ },
+
+ watch: {
+ form: {
+ handler () {
+ if (this.form) {
+ this.submissionOptions = {
+ submissionMode: this.form.redirect_url ? 'redirect' : 'default',
+ databaseAction: this.form.database_fields_update ? 'update' : 'create'
+ }
+ }
+ },
+ deep: true
+ },
+ submissionOptions: {
+ deep: true,
+ handler: function (val) {
+ if (val.submissionMode === 'default') {
+ this.form.redirect_url = null
+ }
+
+ if (val.databaseAction === 'create') {
+ this.form.database_fields_update = null
+ }
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/FormAccess.vue b/client/components/open/forms/components/form-components/FormAccess.vue
new file mode 100644
index 000000000..356fd73c2
--- /dev/null
+++ b/client/components/open/forms/components/form-components/FormAccess.vue
@@ -0,0 +1,73 @@
+<template>
+ <editor-options-panel name="Form Access" :already-opened="false">
+ <template #icon>
+ <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M15.75 5.25a3 3 0 013 3m3 0a6 6 0 01-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1121.75 8.25z"
+ />
+ </svg>
+ </template>
+ <text-input name="password" :form="form" class="mt-4"
+ label="Form Password" help="Leave empty to disable password"
+ />
+ <date-input :with-time="true" name="closes_at" class="mt-4"
+ :form="form"
+ label="Close form on a scheduled date"
+ help="Leave empty to keep the form open"
+ :required="false"
+ />
+ <rich-text-area-input v-if="form.closes_at || form.visibility=='closed'" name="closed_text"
+ :form="form" class="mt-4"
+ label="Closed form text"
+ help="This message will be shown when the form will be closed"
+ :required="false"
+ />
+ <text-input name="max_submissions_count" native-type="number" :min="1" :form="form"
+ label="Limit number of submissions" placeholder="Max submissions" class="mt-4"
+ help="Leave empty for unlimited submissions"
+ :required="false"
+ />
+ <rich-text-area-input v-if="form.max_submissions_count && form.max_submissions_count > 0"
+ name="max_submissions_reached_text" class="mt-4"
+ :form="form"
+ label="Max Submissions reached text"
+ help="This message will be shown when the form will have the maximum number of submissions"
+ :required="false"
+ />
+ </editor-options-panel>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../../../stores/working_form'
+import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
+
+export default {
+ components: { EditorOptionsPanel },
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+ data () {
+ return {
+ }
+ },
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ }
+ },
+ watch: {},
+ mounted () {
+ },
+ methods: {}
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/FormCustomCode.vue b/client/components/open/forms/components/form-components/FormCustomCode.vue
new file mode 100644
index 000000000..6ea69b3f9
--- /dev/null
+++ b/client/components/open/forms/components/form-components/FormCustomCode.vue
@@ -0,0 +1,50 @@
+<template>
+ <editor-options-panel name="Custom Code" :already-opened="false" :has-pro-tag="true">
+ <template #icon>
+ <svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M14 2.26953V6.40007C14 6.96012 14 7.24015 14.109 7.45406C14.2049 7.64222 14.3578 7.7952 14.546 7.89108C14.7599 8.00007 15.0399 8.00007 15.6 8.00007H19.7305M14 17.5L16.5 15L14 12.5M10 12.5L7.5 15L10 17.5M20 9.98822V17.2C20 18.8802 20 19.7202 19.673 20.362C19.3854 20.9265 18.9265 21.3854 18.362 21.673C17.7202 22 16.8802 22 15.2 22H8.8C7.11984 22 6.27976 22 5.63803 21.673C5.07354 21.3854 4.6146 20.9265 4.32698 20.362C4 19.7202 4 18.8802 4 17.2V6.8C4 5.11984 4 4.27976 4.32698 3.63803C4.6146 3.07354 5.07354 2.6146 5.63803 2.32698C6.27976 2 7.11984 2 8.8 2H12.0118C12.7455 2 13.1124 2 13.4577 2.08289C13.7638 2.15638 14.0564 2.27759 14.3249 2.44208C14.6276 2.6276 14.887 2.88703 15.4059 3.40589L18.5941 6.59411C19.113 7.11297 19.3724 7.3724 19.5579 7.67515C19.7224 7.94356 19.8436 8.2362 19.9171 8.5423C20 8.88757 20 9.25445 20 9.98822Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ </template>
+ <p class="mt-4">
+ The code will be injected in the <span class="font-semibold">head</span> section of your form page.
+ </p>
+ <code-input name="custom_code" class="mt-4"
+ :form="form" help="Custom code cannot be previewed in our editor. Please test your code using
+ your actual form page (save changes beforehand)."
+ label="Custom Code"
+ />
+ </editor-options-panel>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../../../stores/working_form'
+import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
+import CodeInput from '../../../../forms/CodeInput.vue'
+
+export default {
+ components: { EditorOptionsPanel, CodeInput },
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+ data () {
+ return {
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ }
+ },
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/FormCustomSeo.vue b/client/components/open/forms/components/form-components/FormCustomSeo.vue
new file mode 100644
index 000000000..c98b3229e
--- /dev/null
+++ b/client/components/open/forms/components/form-components/FormCustomSeo.vue
@@ -0,0 +1,80 @@
+<template>
+ <editor-options-panel name="Link Settings - SEO" :already-opened="false" :has-pro-tag="true">
+ <template #icon>
+ <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z"
+ />
+ </svg>
+ </template>
+ <p class="mt-4 text-gray-500 text-sm">
+ Customize the link, images and text that appear when you share your form on other sites (Open Graph).
+ </p>
+ <select-input v-if="customDomainAllowed" v-model="form.custom_domain" :disabled="customDomainOptions.length <= 0" :options="customDomainOptions" name="type"
+ class="mt-4" label="Form Domain" placeholder="yourdomain.com"
+ />
+ <text-input v-model="form.seo_meta.page_title" name="page_title" class="mt-4"
+ label="Page Title" help="Under or approximately 60 characters"
+ />
+ <text-area-input v-model="form.seo_meta.page_description" name="page_description" class="mt-4"
+ label="Page Description" help="Between 150 and 160 characters"
+ />
+ <image-input v-model="form.seo_meta.page_thumbnail" name="page_thumbnail" class="mt-4"
+ label="Page Thumbnail Image" help="Also know as og:image - 1200 X 630"
+ />
+ </editor-options-panel>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../../../stores/working_form'
+import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
+
+export default {
+ components: { EditorOptionsPanel },
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+ data () {
+ return {
+ }
+ },
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ workspace () {
+ return this.$store.getters['open/workspaces/getCurrent']()
+ },
+ customDomainOptions () {
+ return this.workspace.custom_domains.map((domain) => {
+ return {
+ name: domain,
+ value: domain
+ }
+ })
+ },
+ customDomainAllowed () {
+ return this.$config.custom_domains_enabled
+ }
+ },
+ watch: {},
+ mounted () {
+ ['page_title', 'page_description', 'page_thumbnail'].forEach((keyname) => {
+ if (this.form.seo_meta[keyname] === undefined) {
+ this.form.seo_meta[keyname] = null
+ }
+ })
+ },
+ methods: {}
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/FormCustomization.vue b/client/components/open/forms/components/form-components/FormCustomization.vue
new file mode 100644
index 000000000..cc31c59b3
--- /dev/null
+++ b/client/components/open/forms/components/form-components/FormCustomization.vue
@@ -0,0 +1,135 @@
+<template>
+ <editor-options-panel name="Customization" :already-opened="true">
+ <template #icon>
+ <svg class="h-5 w-5" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M1.66667 9.99984C1.66667 14.6022 5.39763 18.3332 10 18.3332C11.3807 18.3332 12.5 17.2139 12.5 15.8332V15.4165C12.5 15.0295 12.5 14.836 12.5214 14.6735C12.6691 13.5517 13.5519 12.6689 14.6737 12.5212C14.8361 12.4998 15.0297 12.4998 15.4167 12.4998H15.8333C17.214 12.4998 18.3333 11.3805 18.3333 9.99984C18.3333 5.39746 14.6024 1.6665 10 1.6665C5.39763 1.6665 1.66667 5.39746 1.66667 9.99984Z" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M5.83333 10.8332C6.29357 10.8332 6.66667 10.4601 6.66667 9.99984C6.66667 9.5396 6.29357 9.1665 5.83333 9.1665C5.3731 9.1665 5 9.5396 5 9.99984C5 10.4601 5.3731 10.8332 5.83333 10.8332Z" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M13.3333 7.49984C13.7936 7.49984 14.1667 7.12674 14.1667 6.6665C14.1667 6.20627 13.7936 5.83317 13.3333 5.83317C12.8731 5.83317 12.5 6.20627 12.5 6.6665C12.5 7.12674 12.8731 7.49984 13.3333 7.49984Z" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M8.33333 6.6665C8.79357 6.6665 9.16667 6.29341 9.16667 5.83317C9.16667 5.37293 8.79357 4.99984 8.33333 4.99984C7.8731 4.99984 7.5 5.37293 7.5 5.83317C7.5 6.29341 7.8731 6.6665 8.33333 6.6665Z" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ </template>
+
+ <select-input name="theme" class="mt-4"
+ :options="[
+ {name:'Default',value:'default'},
+ {name:'Simple',value:'simple'},
+ {name:'Notion',value:'notion'},
+ ]"
+ :form="form" label="Form Theme"
+ />
+ <div class="-mt-3 mb-3 text-gray-400 dark:text-gray-500">
+ <small>
+ Need another theme? <a href="#" @click.prevent="openChat">Send us some suggestions!</a>
+ </small>
+ </div>
+
+ <select-input name="width" class="mt-4"
+ :options="[
+ {name:'Centered',value:'centered'},
+ {name:'Full Width',value:'full'},
+ ]"
+ :form="form" label="Form Width" help="Useful when embedding your form"
+ />
+
+ <image-input name="cover_picture" class="mt-4"
+ :form="form" label="Cover Picture" help="Not visible when form is embedded"
+ :required="false"
+ />
+
+ <image-input name="logo_picture" class="mt-4"
+ :form="form" label="Logo" help="Not visible when form is embedded"
+ :required="false"
+ />
+
+ <select-input name="dark_mode" class="mt-4"
+ help="To see changes, save your form and open it"
+ :options="[
+ {name:'Auto - use Device System Preferences',value:'auto'},
+ {name:'Light Mode',value:'light'},
+ {name:'Dark Mode',value:'dark'}
+ ]"
+ :form="form" label="Dark Mode"
+ />
+ <color-input name="color" class="mt-4"
+ :form="form"
+ label="Color (for buttons & inputs border)"
+ />
+ <toggle-switch-input name="hide_title" :form="form" class="mt-4"
+ label="Hide Title"
+ />
+ <toggle-switch-input name="no_branding" :form="form" class="mt-4">
+ <template #label>
+ Remove OpnForm Branding
+ <pro-tag class="ml-1" />
+ </template>
+ </toggle-switch-input>
+ <toggle-switch-input name="uppercase_labels" :form="form" class="mt-4"
+ label="Uppercase Input Labels"
+ />
+ <toggle-switch-input name="transparent_background" :form="form" class="mt-4"
+ label="Transparent Background" help="Only applies when form is embedded"
+ />
+ <toggle-switch-input name="confetti_on_submission" :form="form" class="mt-4"
+ label="Confetti on successful submisison"
+ @update:model-value="onChangeConfettiOnSubmission"
+ />
+ <toggle-switch-input name="auto_save" :form="form"
+ label="Auto save form response"
+ help="Will save data in browser, if user not submit the form then next time will auto prefill last entered data"
+ />
+ </editor-options-panel>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../../../stores/working_form'
+import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
+import ProTag from '~/components/global/ProTag.vue'
+
+export default {
+ components: { EditorOptionsPanel, ProTag },
+ props: {
+ },
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+ data () {
+ return {
+ isMounted: false
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ }
+ },
+
+ watch: {},
+
+ mounted () {
+ this.isMounted = true
+ },
+
+ methods: {
+ onChangeConfettiOnSubmission (val) {
+ this.form.confetti_on_submission = val
+ if (this.isMounted && val) {
+ this.playConfetti()
+ }
+ },
+ openChat () {
+ window.$crisp.push(['do', 'chat:show'])
+ window.$crisp.push(['do', 'chat:open'])
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/FormEditorPreview.vue b/client/components/open/forms/components/form-components/FormEditorPreview.vue
new file mode 100644
index 000000000..fd10eddb3
--- /dev/null
+++ b/client/components/open/forms/components/form-components/FormEditorPreview.vue
@@ -0,0 +1,114 @@
+<template>
+ <!-- Form Preview (desktop only) -->
+ <div
+ class="bg-gray-50 dark:bg-notion-dark-light hidden md:flex flex-grow p-5 flex-col items-center overflow-y-scroll"
+ >
+ <div class="border rounded-lg bg-white dark:bg-notion-dark w-full block transition-all max-w-5xl">
+ <transition enter-active-class="linear duration-100 overflow-hidden"
+ enter-from-class="max-h-0"
+ enter-to-class="max-h-56"
+ leave-active-class="linear duration-100 overflow-hidden"
+ leave-from-class="max-h-56"
+ leave-to-class="max-h-0"
+ >
+ <div v-if="(form.logo_picture || form.cover_picture)">
+ <div v-if="form.cover_picture">
+ <div id="cover-picture"
+ class="max-h-56 rounded-t-lg w-full overflow-hidden flex items-center justify-center"
+ >
+ <img alt="Cover Picture" :src="coverPictureSrc(form.cover_picture)" class="w-full">
+ </div>
+ </div>
+ <div v-if="form.logo_picture" class="w-full mx-auto p-5 relative"
+ :class="{'pt-20':!form.cover_picture, 'max-w-lg': form && (form.width === 'centered')}"
+ >
+ <img alt="Logo Picture" :src="coverPictureSrc(form.logo_picture)"
+ :class="{'top-5':!form.cover_picture, '-top-10':form.cover_picture}"
+ class="w-20 h-20 object-contain absolute left-5 transition-all"
+ >
+ </div>
+ </div>
+ </transition>
+ <open-complete-form ref="form-preview" class="w-full mx-auto py-5 px-3" :class="{'max-w-lg': form && (form.width === 'centered')}"
+ :creating="creating"
+ :form="form"
+ :admin-preview="true"
+ @restarted="previewFormSubmitted=false"
+ @submitted="previewFormSubmitted=true"
+ />
+ </div>
+ <p class="text-center text-xs text-gray-400 dark:text-gray-600 mt-1">
+ Form Preview <span v-if="creating"
+ class="font-normal text-gray-400 dark:text-gray-600 text-xs"
+ >- Answers won't be saved</span>
+ <br>
+ <span v-if="previewFormSubmitted && !form.re_fillable">
+ <a href="#" @click.prevent="$refs['form-preview'].restart()">Restart Form
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-nt-blue inline" viewBox="0 0 20 20"
+ fill="currentColor"
+ >
+ <path fill-rule="evenodd"
+ d="M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ </a>
+ </span>
+ </p>
+ </div>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../../../stores/working_form'
+import VSwitch from '../../../../forms/components/VSwitch.vue'
+import OpenCompleteForm from '../../OpenCompleteForm.vue'
+
+export default {
+ components: { OpenCompleteForm, VSwitch },
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+ data () {
+ return {
+ previewFormSubmitted: false
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ creating () { // returns true if we are creating a form
+ return !this.form.hasOwnProperty('id')
+ }
+ },
+
+ watch: {},
+
+ mounted () {
+ },
+
+ methods: {
+ coverPictureSrc (val) {
+ try {
+ // Is valid url
+ new URL(val)
+ } catch (_) {
+ // Is file
+ return URL.createObjectURL(val)
+ }
+ return val
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/FormEditorSidebar.vue b/client/components/open/forms/components/form-components/FormEditorSidebar.vue
new file mode 100644
index 000000000..dcd8d3481
--- /dev/null
+++ b/client/components/open/forms/components/form-components/FormEditorSidebar.vue
@@ -0,0 +1,49 @@
+<template>
+ <editor-right-sidebar :show="form && (showEditFieldSidebar || showAddFieldSidebar)">
+ <transition mode="out-in">
+ <form-field-edit v-if="showEditFieldSidebar" :key="editFieldIndex" v-motion-fade="'fade'" />
+ <add-form-block v-else-if="showAddFieldSidebar" v-motion-fade="'fade'" />
+ </transition>
+ </editor-right-sidebar>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useWorkingFormStore } from '../../../../../stores/working_form'
+import EditorRightSidebar from '../../../editors/EditorRightSidebar.vue'
+import FormFieldEdit from '../../fields/FormFieldEdit.vue'
+import AddFormBlock from './AddFormBlock.vue'
+
+export default {
+ name: 'FormEditorSidebar',
+ components: { EditorRightSidebar, AddFormBlock, FormFieldEdit },
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore,
+ editFieldIndex: computed(() => workingFormStore.selectedFieldIndex),
+ showEditFieldSidebar: computed(() => workingFormStore.showEditFieldSidebar),
+ showAddFieldSidebar: computed(() => workingFormStore.showAddFieldSidebar)
+ }
+ },
+ data () {
+ return {}
+ },
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ }
+ },
+ watch: {},
+ mounted () {
+ },
+ methods: {}
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/FormErrorModal.vue b/client/components/open/forms/components/form-components/FormErrorModal.vue
new file mode 100644
index 000000000..ec946c4f1
--- /dev/null
+++ b/client/components/open/forms/components/form-components/FormErrorModal.vue
@@ -0,0 +1,40 @@
+<template>
+ <modal :show="show" @close="$emit('close')">
+ <div class="-mx-5">
+ <h2 class="text-red-400 text-2xl font-bold mb-4 px-4">
+ Error saving your form
+ </h2>
+
+ <div v-if="validationErrorResponse" class="p-4 border-b border-t">
+ <p v-if="validationErrorResponse.message" v-text="validationErrorResponse.message" />
+ <ul class="list-disc list-inside">
+ <li v-for="err, key in validationErrorResponse.errors" :key="key">
+ {{ Array.isArray(err)?err[0]:err }}
+ </li>
+ </ul>
+ </div>
+
+ <div class="px-4 pt-4 text-right">
+ <v-button color="gray" shade="light" @click="$emit('close')">
+ Close
+ </v-button>
+ </div>
+ </div>
+ </modal>
+</template>
+
+<script>
+export default {
+ name: 'FormErrorModal',
+ components: {},
+ props: {
+ show: { type: Boolean, required: true },
+ validationErrorResponse: { type: Object, required: false }
+ },
+ data: () => ({}),
+
+ computed: {},
+
+ methods: {}
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/FormInformation.vue b/client/components/open/forms/components/form-components/FormInformation.vue
new file mode 100644
index 000000000..0f5e53d67
--- /dev/null
+++ b/client/components/open/forms/components/form-components/FormInformation.vue
@@ -0,0 +1,169 @@
+<template>
+ <editor-options-panel name="Information" :already-opened="true">
+ <template #icon>
+ <svg class="h-5 w-5" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M10 13.3332V9.99984M10 6.6665H10.0083M18.3333 9.99984C18.3333 14.6022 14.6024 18.3332 10 18.3332C5.39763 18.3332 1.66667 14.6022 1.66667 9.99984C1.66667 5.39746 5.39763 1.6665 10 1.6665C14.6024 1.6665 18.3333 5.39746 18.3333 9.99984Z" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ </template>
+ <text-input name="title" class="mt-4"
+ :form="form"
+ label="Form Title"
+ :required="true"
+ />
+ <rich-text-area-input name="description"
+ :form="form"
+ label="Description"
+ :required="false"
+ />
+ <select-input name="tags" label="Tags" :form="form" class="mt-4"
+ help="To organize your forms (hidden to respondents)"
+ placeholder="Select Tag(s)" :multiple="true" :allow-creation="true"
+ :options="allTagsOptions"
+ />
+ <select-input name="visibility" label="Visibility" :form="form" class="mt-4"
+ help="Only public form will be accessible"
+ placeholder="Select Visibility" :required="true"
+ :options="visibilityOptions"
+ />
+ <v-button v-if="copyFormOptions.length > 0" color="light-gray" class="w-full mt-4" @click="showCopyFormSettingsModal=true">
+ <svg class="h-5 w-5 -mt-1 text-nt-blue inline mr-2" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M4.16667 12.4998C3.3901 12.4998 3.00182 12.4998 2.69553 12.373C2.28715 12.2038 1.9627 11.8794 1.79354 11.471C1.66667 11.1647 1.66667 10.7764 1.66667 9.99984V4.33317C1.66667 3.39975 1.66667 2.93304 1.84833 2.57652C2.00812 2.26292 2.26308 2.00795 2.57669 1.84816C2.93321 1.6665 3.39992 1.6665 4.33334 1.6665H10C10.7766 1.6665 11.1649 1.6665 11.4711 1.79337C11.8795 1.96253 12.204 2.28698 12.3731 2.69536C12.5 3.00165 12.5 3.38993 12.5 4.1665M10.1667 18.3332H15.6667C16.6001 18.3332 17.0668 18.3332 17.4233 18.1515C17.7369 17.9917 17.9919 17.7368 18.1517 17.4232C18.3333 17.0666 18.3333 16.5999 18.3333 15.6665V10.1665C18.3333 9.23308 18.3333 8.76637 18.1517 8.40985C17.9919 8.09625 17.7369 7.84128 17.4233 7.68149C17.0668 7.49984 16.6001 7.49984 15.6667 7.49984H10.1667C9.23325 7.49984 8.76654 7.49984 8.41002 7.68149C8.09642 7.84128 7.84145 8.09625 7.68166 8.40985C7.50001 8.76637 7.50001 9.23308 7.50001 10.1665V15.6665C7.50001 16.5999 7.50001 17.0666 7.68166 17.4232C7.84145 17.7368 8.09642 17.9917 8.41002 18.1515C8.76654 18.3332 9.23325 18.3332 10.1667 18.3332Z" stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" />
+ </svg>
+ Copy another form's settings
+ </v-button>
+
+ <modal :show="showCopyFormSettingsModal" max-width="md" @close="showCopyFormSettingsModal=false">
+ <template #icon>
+ <svg class="w-10 h-10 text-blue" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M17 27C16.0681 27 15.6022 27 15.2346 26.8478C14.7446 26.6448 14.3552 26.2554 14.1522 25.7654C14 25.3978 14 24.9319 14 24V17.2C14 16.0799 14 15.5198 14.218 15.092C14.4097 14.7157 14.7157 14.4097 15.092 14.218C15.5198 14 16.0799 14 17.2 14H24C24.9319 14 25.3978 14 25.7654 14.1522C26.2554 14.3552 26.6448 14.7446 26.8478 15.2346C27 15.6022 27 16.0681 27 17M24.2 34H30.8C31.9201 34 32.4802 34 32.908 33.782C33.2843 33.5903 33.5903 33.2843 33.782 32.908C34 32.4802 34 31.9201 34 30.8V24.2C34 23.0799 34 22.5198 33.782 22.092C33.5903 21.7157 33.2843 21.4097 32.908 21.218C32.4802 21 31.9201 21 30.8 21H24.2C23.0799 21 22.5198 21 22.092 21.218C21.7157 21.4097 21.4097 21.7157 21.218 22.092C21 22.5198 21 23.0799 21 24.2V30.8C21 31.9201 21 32.4802 21.218 32.908C21.4097 33.2843 21.7157 33.5903 22.092 33.782C22.5198 34 23.0799 34 24.2 34Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
+ </svg>
+ </template>
+ <template #title>
+ Copy Settings from another form
+ </template>
+ <div class="p-4 min-h-[450px]">
+ <p class="text-gray-600">
+ If you already have another form that you like to use as a base for this form, you can do that here.
+ Select another form, confirm, and we will copy all of the other form settings (except the form structure)
+ to this form.
+ </p>
+ <select-input v-model="copyFormId" name="copy_form_id"
+ label="Copy Settings From" class="mt-3 mb-6"
+ placeholder="Choose a form" :searchable="copyFormOptions.length > 5"
+ :options="copyFormOptions"
+ />
+ <div class="flex">
+ <v-button color="white" class="w-full mr-2" @click="showCopyFormSettingsModal=false">
+ Cancel
+ </v-button>
+ <v-button color="blue" class="w-full" @click="copySettings">
+ Confirm & Copy
+ </v-button>
+ </div>
+ </div>
+ </modal>
+ </editor-options-panel>
+</template>
+
+<script>
+import { computed } from 'vue'
+import clonedeep from 'clone-deep'
+import { useFormsStore } from '../../../../../stores/forms'
+import { useWorkingFormStore } from '../../../../../stores/working_form'
+import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
+import SelectInput from '../../../../forms/SelectInput.vue'
+
+export default {
+ components: { SelectInput, EditorOptionsPanel },
+ props: {},
+
+ setup () {
+ const formsStore = useFormsStore()
+ const workingFormStore = useWorkingFormStore()
+ return {
+ formsStore,
+ workingFormStore,
+ forms : computed(() => formsStore.content)
+ }
+ },
+
+ data () {
+ return {
+ showCopyFormSettingsModal: false,
+ copyFormId: null,
+ visibilityOptions: [
+ {
+ name: "Published",
+ value: "public"
+ },
+ {
+ name: "Draft - not publicly accessible",
+ value: "draft"
+ },
+ {
+ name: "Closed - won\'t accept new submissions",
+ value: "closed"
+ }
+ ]
+ }
+ },
+
+ computed: {
+ copyFormOptions () {
+ return this.forms.filter((form) => {
+ return this.form.id !== form.id
+ }).map((form) => {
+ return {
+ name: form.title,
+ value: form.id
+ }
+ })
+ },
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ allTagsOptions () {
+ return this.formsStore.getAllTags.map((tagname) => {
+ return {
+ name: tagname,
+ value: tagname
+ }
+ })
+ }
+ },
+
+ watch: {},
+
+ mounted () {
+ },
+
+ methods: {
+ copySettings () {
+ if (this.copyFormId == null) return
+ const copyForm = clonedeep(this.forms.find((form) => form.id === this.copyFormId))
+ if (!copyForm) return
+
+ // Clean copy from form
+ ['title', 'description', 'properties', 'cleanings', 'views_count', 'submissions_count', 'workspace', 'workspace_id', 'updated_at',
+ 'share_url', 'slug', 'notion_database_url', 'id', 'database_id', 'database_fields_update', 'creator',
+ 'created_at', 'deleted_at', 'last_edited_human'].forEach((property) => {
+ if (copyForm.hasOwnProperty(property)) {
+ delete copyForm[property]
+ }
+ })
+
+ // Apply changes
+ Object.keys(copyForm).forEach((property) => {
+ this.form[property] = copyForm[property]
+ })
+ this.showCopyFormSettingsModal = false
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/FormNotifications.vue b/client/components/open/forms/components/form-components/FormNotifications.vue
new file mode 100644
index 000000000..7dd2a5d63
--- /dev/null
+++ b/client/components/open/forms/components/form-components/FormNotifications.vue
@@ -0,0 +1,75 @@
+<template>
+ <editor-options-panel name="Notifications & Integrations" :already-opened="true" :has-pro-tag="true">
+ <template #icon>
+ <svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6M22 6V18C22 19.1 21.1 20 20 20H4C2.9 20 2 19.1 2 18V6M22 6L12 13L2 6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ </template>
+
+ <form-notifications-option class="mt-2" />
+ <form-notifications-submission-confirmation />
+ <form-notifications-slack />
+ <form-notifications-discord />
+ <form-notifications-webhook />
+ <v-button color="white"
+ class="flex items-center mt-3 cursor-pointer relative w-full rounded-lg flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100"
+ :href="zapierUrl" target="_blank"
+ >
+ <div class="flex-grow flex items-center">
+ <svg class="w-5 h-5 inline text-yellow-500" fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
+ <path
+ d="M318 256c0 19-4 36-10 52-16 7-34 10-52 10-19 0-36-3-52-9-7-17-10-34-10-53 0-18 3-36 10-52 16-6 33-10 52-10 18 0 36 4 52 10 6 16 10 34 10 52zm182-41H355l102-102c-8-11-17-22-26-32-10-9-21-18-32-26L297 157V12c-13-2-27-3-41-3s-28 1-41 3v145L113 55c-12 8-22 17-32 26-10 10-19 21-27 32l102 102H12s-3 27-3 41 1 28 3 41h144L54 399c16 23 36 43 59 59l102-102v144c13 2 27 3 41 3s28-1 41-3V356l102 102c11-8 22-17 32-27 9-10 18-20 26-32L355 297h145c2-13 3-27 3-41s-1-28-3-41z"
+ />
+ </svg>
+ <p class="flex-grow text-center font-normal">
+ Zapier Integration
+ </p>
+ </div>
+ </v-button>
+
+ </editor-options-panel>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../../../stores/working_form'
+import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
+import FormNotificationsOption from './components/FormNotificationsOption.vue'
+import FormNotificationsSlack from './components/FormNotificationsSlack.vue'
+import FormNotificationsDiscord from './components/FormNotificationsDiscord.vue'
+import FormNotificationsSubmissionConfirmation from './components/FormNotificationsSubmissionConfirmation.vue'
+import FormNotificationsWebhook from './components/FormNotificationsWebhook.vue'
+
+export default {
+ components: { FormNotificationsSubmissionConfirmation, FormNotificationsSlack, FormNotificationsDiscord, FormNotificationsOption, EditorOptionsPanel, FormNotificationsWebhook },
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+ data () {
+ return {
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ zapierUrl: () => this.$config.links.zapier_integration
+ },
+
+ watch: {
+ },
+
+ mounted () {
+ },
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/FormSecurityPrivacy.vue b/client/components/open/forms/components/form-components/FormSecurityPrivacy.vue
new file mode 100644
index 000000000..884f1be26
--- /dev/null
+++ b/client/components/open/forms/components/form-components/FormSecurityPrivacy.vue
@@ -0,0 +1,48 @@
+<template>
+ <editor-options-panel name="Security & Privacy" :already-opened="false">
+ <template #icon>
+ <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
+ <path stroke-linecap="round" stroke-linejoin="round" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z" />
+ </svg>
+ </template>
+ <toggle-switch-input name="can_be_indexed" :form="form" class="mt-4"
+ label="Indexable by Google"
+ help="If enabled, your form can appear in the search results of Google"
+ />
+ <toggle-switch-input name="use_captcha" :form="form" class="mt-4"
+ label="Protect your form with a Captcha"
+ help="If enabled we will make sure respondant is a human"
+ />
+ </editor-options-panel>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../../../stores/working_form'
+import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
+
+export default {
+ components: { EditorOptionsPanel },
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+ data () {
+ return {
+ }
+ },
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ }
+ },
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/FormStructure.vue b/client/components/open/forms/components/form-components/FormStructure.vue
new file mode 100644
index 000000000..56e5dd602
--- /dev/null
+++ b/client/components/open/forms/components/form-components/FormStructure.vue
@@ -0,0 +1,44 @@
+<template>
+ <editor-options-panel name="Form Structure" :already-opened="true">
+ <template #icon>
+ <svg class="h-5 w-5" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M13.8333 7.33333C14.7668 7.33333 15.2335 7.33333 15.59 7.15168C15.9036 6.99189 16.1586 6.73692 16.3183 6.42332C16.5 6.0668 16.5 5.60009 16.5 4.66667V4.16667C16.5 3.23325 16.5 2.76654 16.3183 2.41002C16.1586 2.09641 15.9036 1.84145 15.59 1.68166C15.2335 1.5 14.7668 1.5 13.8333 1.5L4.16667 1.5C3.23325 1.5 2.76654 1.5 2.41002 1.68166C2.09641 1.84144 1.84144 2.09641 1.68166 2.41002C1.5 2.76654 1.5 3.23325 1.5 4.16667L1.5 4.66667C1.5 5.60009 1.5 6.0668 1.68166 6.42332C1.84144 6.73692 2.09641 6.99189 2.41002 7.15168C2.76654 7.33333 3.23325 7.33333 4.16667 7.33333L13.8333 7.33333Z" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M13.8333 16.5C14.7668 16.5 15.2335 16.5 15.59 16.3183C15.9036 16.1586 16.1586 15.9036 16.3183 15.59C16.5 15.2335 16.5 14.7668 16.5 13.8333V13.3333C16.5 12.3999 16.5 11.9332 16.3183 11.5767C16.1586 11.2631 15.9036 11.0081 15.59 10.8483C15.2335 10.6667 14.7668 10.6667 13.8333 10.6667L4.16667 10.6667C3.23325 10.6667 2.76654 10.6667 2.41002 10.8483C2.09641 11.0081 1.84144 11.2631 1.68166 11.5767C1.5 11.9332 1.5 12.3999 1.5 13.3333L1.5 13.8333C1.5 14.7668 1.5 15.2335 1.68166 15.59C1.84144 15.9036 2.09641 16.1586 2.41002 16.3183C2.76654 16.5 3.23325 16.5 4.16667 16.5H13.8333Z" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ </template>
+ <form-fields-editor class="mt-5" />
+ </editor-options-panel>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../../../stores/working_form'
+import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
+import FormFieldsEditor from '../FormFieldsEditor.vue'
+
+export default {
+ components: { EditorOptionsPanel, FormFieldsEditor },
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+ data () {
+ return {
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/components/FormNotificationsDiscord.vue b/client/components/open/forms/components/form-components/components/FormNotificationsDiscord.vue
new file mode 100644
index 000000000..89ba8596a
--- /dev/null
+++ b/client/components/open/forms/components/form-components/components/FormNotificationsDiscord.vue
@@ -0,0 +1,90 @@
+<template>
+ <div>
+ <button
+ class="flex items-center mt-3 cursor-pointer relative w-full rounded-lg flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100"
+ @click.prevent="showModal=true"
+ >
+ <div class="flex-grow flex items-center">
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 inline" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M15 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M7.5 7.5c3.5 -1 5.5 -1 9 0"></path><path d="M7 16.5c3.5 1 6.5 1 10 0"></path><path d="M15.5 17c0 1 1.5 3 2 3c1.5 0 2.833 -1.667 3.5 -3c.667 -1.667 .5 -5.833 -1.5 -11.5c-1.457 -1.015 -3 -1.34 -4.5 -1.5l-1 2.5"></path><path d="M8.5 17c0 1 -1.356 3 -1.832 3c-1.429 0 -2.698 -1.667 -3.333 -3c-.635 -1.667 -.476 -5.833 1.428 -11.5c1.388 -1.015 2.782 -1.34 4.237 -1.5l1 2.5"></path></svg>
+ <p class="flex-grow text-center">
+ Discord Notifications
+ </p>
+ </div>
+ <div v-if="form.notifies_discord">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
+ class="w-5 h-5 text-nt-blue"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
+ />
+ </svg>
+ </div>
+ </button>
+ <modal :show="showModal" @close="showModal=false">
+ <h2 class="text-2xl font-bold z-10 truncate mb-5 text-nt-blue">
+ Discord Notifications
+ <pro-tag />
+ </h2>
+ <toggle-switch-input name="notifies_discord" :form="form" class="mt-4"
+ label="Receive a Discord notification on submission"
+ />
+ <template v-if="form.notifies_discord">
+ <text-input name="discord_webhook_url" :form="form" class="mt-4"
+ label="Discord webhook url" help="help"
+ >
+ <template #help>
+ Receive a discord message on each form submission.
+ <a href="https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks" target="_blank">Click
+ here</a> to learn how to get a discord webhook url.
+ </template>
+ </text-input>
+ <h4 class="font-bold mt-4">Discord message actions</h4>
+ <form-notifications-message-actions v-model="form.notification_settings.discord" />
+ </template>
+ </modal>
+ </div>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../../../../stores/working_form'
+import ProTag from '~/components/global/ProTag.vue'
+import FormNotificationsMessageActions from './FormNotificationsMessageActions.vue'
+
+export default {
+ components: { ProTag, FormNotificationsMessageActions },
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+ data () {
+ return {
+ showModal: false
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ }
+ },
+
+ watch: {},
+
+ mounted () {
+ if(!this.form.notification_settings.discord || Array.isArray(this.form.notification_settings.discord)){
+ this.form.notification_settings.discord = {}
+ }
+ },
+
+ methods: {}
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/components/FormNotificationsMessageActions.vue b/client/components/open/forms/components/form-components/components/FormNotificationsMessageActions.vue
new file mode 100644
index 000000000..1b9ac5c23
--- /dev/null
+++ b/client/components/open/forms/components/form-components/components/FormNotificationsMessageActions.vue
@@ -0,0 +1,64 @@
+<template>
+ <div>
+ <toggle-switch-input name="include_submission_data" v-model="compVal.include_submission_data" class="mt-4"
+ label="Include submission data"
+ help="With form submission answers"
+ />
+ <toggle-switch-input name="link_open_form" v-model="compVal.link_open_form" class="mt-4"
+ label="Open Form"
+ help="Link to the form public page"
+ />
+ <toggle-switch-input name="link_edit_form" v-model="compVal.link_edit_form" class="mt-4"
+ label="Edit Form"
+ help="Link to the form admin page"
+ />
+ <toggle-switch-input name="views_submissions_count" v-model="compVal.views_submissions_count" class="mt-4"
+ label="Analytics (views & submissions)"
+ />
+ <toggle-switch-input name="link_edit_submission" v-model="compVal.link_edit_submission" class="mt-4"
+ label="Link to the Edit Submission Record"
+ />
+ </div>
+</template>
+
+<script>
+export default {
+ name: 'FormNotificationsMessageActions',
+ components: { },
+ props: {
+ value: { required: false }
+ },
+ data () {
+ return {
+ content: this.value ?? {}
+ }
+ },
+
+ computed: {
+ compVal: {
+ set (val) {
+ this.content = val
+ this.$emit('input', this.compVal)
+ },
+ get () {
+ return this.content
+ }
+ }
+ },
+
+ watch: {},
+
+ created () {
+ if(this.compVal === undefined || this.compVal === null){
+ this.compVal = {}
+ }
+ ['include_submission_data', 'link_open_form', 'link_edit_form', 'views_submissions_count', 'link_edit_submission'].forEach((keyname) => {
+ if (this.compVal[keyname] === undefined) {
+ this.compVal[keyname] = true
+ }
+ })
+ },
+
+ methods: { }
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/components/FormNotificationsOption.vue b/client/components/open/forms/components/form-components/components/FormNotificationsOption.vue
new file mode 100644
index 000000000..3cc73fee9
--- /dev/null
+++ b/client/components/open/forms/components/form-components/components/FormNotificationsOption.vue
@@ -0,0 +1,103 @@
+<template>
+ <div>
+ <button
+ class="flex items-center mt-3 cursor-pointer relative w-full rounded-lg flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100"
+ @click.prevent="showModal=true"
+ >
+ <div class="flex-grow flex items-center">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
+ class="w-5 h-5 inline"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"
+ />
+ </svg>
+ <p class="flex-grow text-center">
+ Email Notifications
+ </p>
+ </div>
+ <div v-if="form.notifies">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
+ class="w-5 h-5 text-nt-blue"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
+ />
+ </svg>
+ </div>
+ </button>
+ <modal :show="showModal" @close="showModal=false">
+ <h2 class="text-2xl font-bold z-10 truncate mb-5 text-nt-blue">
+ Form Notifications
+ <pro-tag />
+ </h2>
+ <toggle-switch-input name="notifies" :form="form" class="mt-4"
+ label="Receive email notifications on submission"
+
+ />
+ <template v-if="form.notifies">
+ <text-input name="notification_reply_to"
+ v-model="form.notification_settings.notification_reply_to" class="mt-4"
+ label="Notification Reply To"
+ :help="notifiesHelp"
+ />
+ <text-area-input name="notification_emails" :form="form" class="mt-4"
+ label="Notification Emails" help="Add one email per line"
+ />
+ </template>
+ </modal>
+ </div>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../../../../stores/working_form'
+import ProTag from '~/components/global/ProTag.vue'
+
+export default {
+ components: { ProTag },
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+ data () {
+ return {
+ showModal: false
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ replayToEmailField () {
+ const emailFields = this.form.properties.filter((field) => {
+ return field.type === 'email' && !field.hidden
+ })
+ if (emailFields.length === 1) return emailFields[0]
+ return null
+ },
+ notifiesHelp () {
+ if (this.replayToEmailField) {
+ return 'If empty, Reply-to for this notification will be the email filled in the field "' + this.replayToEmailField.name + '".'
+ }
+ return 'If empty, Reply-to for this notification will be your own email. Add a single email field to your form, and it will automatically become the reply to value.'
+ }
+ },
+
+ watch: {},
+
+ mounted () {
+ },
+
+ methods: {}
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/components/FormNotificationsSlack.vue b/client/components/open/forms/components/form-components/components/FormNotificationsSlack.vue
new file mode 100644
index 000000000..8e1d13d47
--- /dev/null
+++ b/client/components/open/forms/components/form-components/components/FormNotificationsSlack.vue
@@ -0,0 +1,91 @@
+<template>
+ <div>
+ <button
+ class="flex items-center mt-3 cursor-pointer relative w-full rounded-lg flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100"
+ @click.prevent="showModal=true"
+ >
+ <div class="flex-grow flex items-center">
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 inline" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.5 10c-.83 0-1.5-.67-1.5-1.5v-5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5z" /><path d="M20.5 10H19V8.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z" /><path d="M9.5 14c.83 0 1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5S8 21.33 8 20.5v-5c0-.83.67-1.5 1.5-1.5z" /><path d="M3.5 14H5v1.5c0 .83-.67 1.5-1.5 1.5S2 16.33 2 15.5 2.67 14 3.5 14z" /><path d="M14 14.5c0-.83.67-1.5 1.5-1.5h5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-5c-.83 0-1.5-.67-1.5-1.5z" /><path d="M15.5 19H14v1.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z" /><path d="M10 9.5C10 8.67 9.33 8 8.5 8h-5C2.67 8 2 8.67 2 9.5S2.67 11 3.5 11h5c.83 0 1.5-.67 1.5-1.5z" /><path d="M8.5 5H10V3.5C10 2.67 9.33 2 8.5 2S7 2.67 7 3.5 7.67 5 8.5 5z" /></svg>
+ <p class="flex-grow text-center">
+ Slack Notifications
+ </p>
+ </div>
+ <div v-if="form.notifies_slack">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
+ class="w-5 h-5 text-nt-blue"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
+ />
+ </svg>
+ </div>
+ </button>
+ <modal :show="showModal" @close="showModal=false">
+ <h2 class="text-2xl font-bold z-10 truncate mb-5 text-nt-blue">
+ Slack Notifications
+ <pro-tag />
+ </h2>
+ <toggle-switch-input name="notifies_slack" :form="form" class="mt-4"
+ label="Receive a Slack notification on submission"
+ />
+ <template v-if="form.notifies_slack">
+ <text-input name="slack_webhook_url" :form="form" class="mt-4"
+ label="Slack webhook url" help="help"
+ >
+ <template #help>
+ Receive slack message on each form submission. <a href="https://api.slack.com/messaging/webhooks"
+ target="_blank"
+ >Click here</a> to learn how to get a slack
+ webhook url
+ </template>
+ </text-input>
+ <h4 class="font-bold mt-4">Slack message actions</h4>
+ <form-notifications-message-actions v-model="form.notification_settings.slack" />
+ </template>
+ </modal>
+ </div>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../../../../stores/working_form'
+import ProTag from '~/components/global/ProTag.vue'
+import FormNotificationsMessageActions from './FormNotificationsMessageActions.vue'
+
+export default {
+ components: { ProTag, FormNotificationsMessageActions },
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+ data () {
+ return {
+ showModal: false
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ }
+ },
+
+ watch: {},
+
+ mounted () {
+ if(!this.form.notification_settings.slack || Array.isArray(this.form.notification_settings.slack)){
+ this.form.notification_settings.slack = {}
+ }
+ },
+
+ methods: {}
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/components/FormNotificationsSubmissionConfirmation.vue b/client/components/open/forms/components/form-components/components/FormNotificationsSubmissionConfirmation.vue
new file mode 100644
index 000000000..f45e7b270
--- /dev/null
+++ b/client/components/open/forms/components/form-components/components/FormNotificationsSubmissionConfirmation.vue
@@ -0,0 +1,122 @@
+<template>
+ <div>
+ <button
+ class="flex items-center mt-3 cursor-pointer relative w-full rounded-lg flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100"
+ @click.prevent="showModal=true"
+ >
+ <div class="flex-grow flex items-center">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5">
+ <path stroke-linecap="round" stroke-linejoin="round" d="M6 12L3.269 3.126A59.768 59.768 0 0121.485 12 59.77 59.77 0 013.27 20.876L5.999 12zm0 0h7.5" />
+ </svg>
+ <p class="flex-grow text-center">
+ Send submission confirmation
+ </p>
+ </div>
+ <div v-if="form.send_submission_confirmation">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
+ class="w-5 h-5 text-nt-blue"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
+ />
+ </svg>
+ </div>
+ </button>
+ <modal :show="showModal" @close="showModal=false">
+ <h2 class="text-2xl font-bold z-10 truncate mb-5 text-nt-blue">
+ Submission confirmation
+ <pro-tag />
+ </h2>
+ <toggle-switch-input :disabled="(emailSubmissionConfirmationField===null)?true:null" name="send_submission_confirmation"
+ :form="form" class="mt-4"
+ label="Send submission confirmation" :help="emailSubmissionConfirmationHelp"
+ />
+ <template v-if="form.send_submission_confirmation">
+ <text-input v-model="form.notification_settings.confirmation_reply_to"
+ name="confirmation_reply_to" class="mt-4"
+ label="Confirmation Reply To" help="help"
+ >
+ <template #help>
+ If empty, Reply-to will be your own email.
+ </template>
+ </text-input>
+ <text-input name="notification_sender"
+ :form="form" class="mt-4"
+ label="Confirmation Email Sender Name" help="Emails will be sent from our email address but you can customize the name of the Sender"
+ />
+ <text-input name="notification_subject"
+ :form="form" class="mt-4"
+ label="Confirmation email subject" help="Subject of the confirmation email that will be sent"
+ />
+ <rich-text-area-input name="notification_body"
+ :form="form" class="mt-4"
+ label="Confirmation email content" help="Content of the confirmation email that will be sent"
+ />
+ <toggle-switch-input name="notifications_include_submission"
+ :form="form" class="mt-4"
+ label="Include submission data" help="If enabled the confirmation email will contain form submission answers"
+ />
+ </template>
+ </modal>
+ </div>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../../../../stores/working_form'
+import ProTag from '~/components/global/ProTag.vue'
+
+export default {
+ components: { ProTag },
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+ data () {
+ return {
+ showModal: false
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ emailSubmissionConfirmationField () {
+ if (!this.form.properties || !Array.isArray(this.form.properties)) return null
+ const emailFields = this.form.properties.filter((field) => {
+ return field.type === 'email' && !field.hidden
+ })
+ if (emailFields.length === 1) return emailFields[0]
+ return null
+ },
+ emailSubmissionConfirmationHelp () {
+ if (this.emailSubmissionConfirmationField) {
+ return 'Confirmation will be sent to the email in the "' + this.emailSubmissionConfirmationField.name + '" field.'
+ }
+ return 'Only available if your form contains 1 email field.'
+ }
+ },
+
+ watch: {
+ emailSubmissionConfirmationField (val) {
+ if (val === null) {
+ this.form.send_submission_confirmation = false
+ }
+ }
+ },
+
+ mounted () {
+ },
+
+ methods: {}
+}
+</script>
diff --git a/client/components/open/forms/components/form-components/components/FormNotificationsWebhook.vue b/client/components/open/forms/components/form-components/components/FormNotificationsWebhook.vue
new file mode 100644
index 000000000..bfe7ac5f2
--- /dev/null
+++ b/client/components/open/forms/components/form-components/components/FormNotificationsWebhook.vue
@@ -0,0 +1,89 @@
+<template>
+ <div>
+ <button
+ class="flex items-center mt-3 cursor-pointer relative w-full rounded-lg flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100"
+ @click.prevent="showModal=true"
+ >
+ <div class="flex-grow flex items-center">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
+ class="w-5 h-5 inline"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M14.25 6.087c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.036-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959v0a.64.64 0 01-.657.643 48.39 48.39 0 01-4.163-.3c.186 1.613.293 3.25.315 4.907a.656.656 0 01-.658.663v0c-.355 0-.676-.186-.959-.401a1.647 1.647 0 00-1.003-.349c-1.036 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401v0c.31 0 .555.26.532.57a48.039 48.039 0 01-.642 5.056c1.518.19 3.058.309 4.616.354a.64.64 0 00.657-.643v0c0-.355-.186-.676-.401-.959a1.647 1.647 0 01-.349-1.003c0-1.035 1.008-1.875 2.25-1.875 1.243 0 2.25.84 2.25 1.875 0 .369-.128.713-.349 1.003-.215.283-.4.604-.4.959v0c0 .333.277.599.61.58a48.1 48.1 0 005.427-.63 48.05 48.05 0 00.582-4.717.532.532 0 00-.533-.57v0c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.035 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.37 0 .713.128 1.003.349.283.215.604.401.96.401v0a.656.656 0 00.658-.663 48.422 48.422 0 00-.37-5.36c-1.886.342-3.81.574-5.766.689a.578.578 0 01-.61-.58v0z"
+ />
+ </svg>
+ <p class="flex-grow text-center">
+ Webhook Notifications
+ </p>
+ </div>
+ <div v-if="form.notifies_webhook">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
+ class="w-5 h-5 text-nt-blue"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
+ />
+ </svg>
+ </div>
+ </button>
+ <modal :show="showModal" @close="showModal=false">
+ <h2 class="text-2xl font-bold z-10 truncate mb-5 text-nt-blue">
+ Webhook Notifications
+ <pro-tag />
+ </h2>
+ <toggle-switch-input name="notifies_webhook" :form="form" class="mt-4"
+ label="Trigger a webhook notification on form submission"
+ @change="onToggleChange"
+ />
+ <text-input v-if="form.notifies_webhook" name="webhook_url" :form="form" class="mt-4"
+ label="Webhook url" help="We will post form submissions to this endpoint"
+ />
+ </modal>
+ </div>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../../../../stores/working_form'
+import ProTag from '~/components/global/ProTag.vue'
+
+export default {
+ components: { ProTag },
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+ data () {
+ return {
+ showModal: false
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ }
+ },
+
+ watch: {},
+
+ mounted () {
+ },
+
+ methods: {
+ onToggleChange () {
+ if (!this.form.notifies_webhook) {
+ this.form.webhook_url = ''
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/form-logic-components/ColumnCondition.vue b/client/components/open/forms/components/form-logic-components/ColumnCondition.vue
new file mode 100644
index 000000000..443b4336e
--- /dev/null
+++ b/client/components/open/forms/components/form-logic-components/ColumnCondition.vue
@@ -0,0 +1,174 @@
+
+<template>
+ <div v-if="isMounted" class="flex flex-wrap">
+ <div class="w-full font-semibold text-gray-700 dark:text-gray-300 mb-2">
+ {{ property.name }}
+ </div>
+ <SelectInput v-model="content.operator" class="w-full" :options="operators"
+ :name="'operator_'+property.id" placeholder="Comparison operator"
+ @update:modelValue="operatorChanged()"
+ />
+
+ <template v-if="hasInput">
+ <component v-bind="inputComponentData" :is="inputComponentData.component" v-model="content.value" class="w-full"
+ :name="'value_'+property.id" placeholder="Filter Value"
+ @update:modelValue="emitInput()"
+ />
+ </template>
+ </div>
+</template>
+
+<script>
+import OpenFilters from '../../../../../../data/open_filters.json'
+
+export default {
+ components: { },
+ props: {
+ value: { required: true }
+ },
+
+ data () {
+ return {
+ content: { ...this.value },
+ available_filters: OpenFilters,
+ isMounted: false,
+ hasInput: false,
+ inputComponent: {
+ text: 'TextInput',
+ number: 'TextInput',
+ select: 'SelectInput',
+ multi_select: 'SelectInput',
+ date: 'DateInput',
+ files: 'FileInput',
+ checkbox: 'CheckboxInput',
+ url: 'TextInput',
+ email: 'TextInput',
+ phone_number: 'TextInput'
+ }
+ }
+ },
+
+ computed: {
+ // Return type of input, and props for that input
+ inputComponentData () {
+ const componentData = {
+ component: this.inputComponent[this.property.type],
+ name: this.property.id,
+ required: true
+ }
+
+ if (this.property.type === 'phone_number' && !this.property.use_simple_text_input) {
+ componentData.component = 'PhoneInput'
+ }
+
+ if (['select', 'multi_select'].includes(this.property.type)) {
+ componentData.multiple = false
+ componentData.options = this.property[this.property.type].options.map(option => {
+ return {
+ name: option.name,
+ value: option.name
+ }
+ })
+ } else if (this.property.type === 'date') {
+ // componentData.withTime = true
+ } else if (this.property.type === 'checkbox') {
+ componentData.label = this.property.name
+ }
+
+ return componentData
+ },
+ operators () {
+ return Object.keys(this.available_filters[this.property.type].comparators).map(key => {
+ return {
+ value: key,
+ name: this.optionFilterNames(key, this.property.type)
+ }
+ })
+ }
+ },
+
+ mounted () {
+ if (!this.content.operator) {
+ this.content.operator = this.operators[0].value
+ this.operatorChanged()
+ } else {
+ this.hasInput = this.needsInput()
+ }
+
+ this.content.property_meta = {
+ id: this.property.id,
+ type: this.property.type
+ }
+ this.isMounted = true
+ },
+
+ methods: {
+ castContent (content) {
+ if (this.property.type === 'number' && content.value) {
+ content.value = Number(content.value)
+ }
+
+ const operator = this.selectedOperator()
+ if (operator.expected_type === 'boolean') {
+ content.value = Boolean(content.value)
+ }
+
+ return content
+ },
+ operatorChanged () {
+ if (!this.content.operator) {
+ return
+ }
+
+ const operator = this.selectedOperator()
+ const operatorFormat = operator.format
+ this.hasInput = this.needsInput()
+
+ if (operator.expected_type === 'boolean' && operatorFormat.type === 'enum' && operatorFormat.values.length === 1) {
+ this.content.value = operator.format.values[0]
+ } else if (operator.expected_type === 'object' && operatorFormat.type === 'empty' && operatorFormat.values === '{}') {
+ this.content.value = {}
+ } else if (typeof this.content.value === 'boolean' || typeof this.content.value === 'object') {
+ this.content.value = null
+ }
+ this.emitInput()
+ },
+ needsInput () {
+ const operator = this.selectedOperator()
+ if (!operator) {
+ return false
+ }
+ const operatorFormat = operator.format
+ if (!operatorFormat) return true
+
+ if (operator.expected_type === 'boolean' && operatorFormat.type === 'enum' && operatorFormat.values.length === 1) {
+ return false
+ } else if (operator.expected_type === 'object' && operatorFormat.type === 'empty' && operatorFormat.values === '{}') {
+ return false
+ }
+
+ return true
+ },
+ selectedOperator () {
+ if (!this.content.operator) {
+ return null
+ }
+ return this.available_filters[this.property.type].comparators[this.content.operator]
+ },
+ optionFilterNames (key, propertyType) {
+ if (propertyType === 'checkbox') {
+ return {
+ equals: 'Is checked',
+ does_not_equal: 'Is not checked'
+ }[key]
+ }
+ return key.split('_').map(function (item) {
+ return item.charAt(0).toUpperCase() + item.substring(1)
+ }).join(' ')
+ },
+ emitInput () {
+ this.$emit('update:modelValue', this.castContent(this.content))
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/form-logic-components/ConditionEditor.vue b/client/components/open/forms/components/form-logic-components/ConditionEditor.vue
new file mode 100644
index 000000000..b07f2c22f
--- /dev/null
+++ b/client/components/open/forms/components/form-logic-components/ConditionEditor.vue
@@ -0,0 +1,119 @@
+<template>
+ <query-builder v-model="query" :rules="rules" :config="config" @update:modelValue="onChange">
+ <template #groupOperator="props">
+ <div class="query-builder-group-slot__group-selection flex items-center px-5 border-b py-1 mb-1 flex">
+ <p class="mr-2 font-semibold">
+ Operator
+ </p>
+ <select-input
+ wrapper-class="relative"
+ :model-value="props.currentOperator"
+ :options="props.operators"
+ emit-key="identifier"
+ option-key="identifier"
+ name="operator-input"
+ margin-bottom=""
+ @update:modelValue="props.updateCurrentOperator($event)"
+ />
+ </div>
+ </template>
+ <template #groupControl="props">
+ <group-control-slot :group-ctrl="props" />
+ </template>
+ <template #rule="ruleCtrl">
+ <component
+ :is="ruleCtrl.ruleComponent"
+ :model-value="ruleCtrl.ruleData"
+ @update:modelValue="ruleCtrl.updateRuleData"
+ />
+ </template>
+ </query-builder>
+</template>
+
+<script>
+import { defineComponent } from 'vue'
+import QueryBuilder from 'query-builder-vue-3'
+import ColumnCondition from './ColumnCondition.vue'
+import GroupControlSlot from './GroupControlSlot.vue'
+
+export default {
+
+ components: {
+ GroupControlSlot,
+ QueryBuilder,
+ ColumnCondition
+ },
+
+ props: {
+ form: { type: Object, required: true },
+ value: { required: false }
+ },
+
+ data () {
+ return {
+ query: this.value
+ }
+ },
+
+ computed: {
+ rules () {
+ return this.form.properties.filter((property) => {
+ return !property.type.startsWith('nf-')
+ }).map((property) => {
+ const workspaceId = this.form.workspace_id
+ const formSlug = this.form.slug
+ return {
+ identifier: property.id,
+ name: property.name,
+ component: (function () {
+ return defineComponent({
+ extends: ColumnCondition,
+ computed: {
+ property () {
+ return property
+ },
+ viewContext () {
+ return {
+ form_slug: formSlug,
+ workspace_id: workspaceId
+ }
+ }
+ }
+ })
+ })()
+ }
+ })
+ },
+
+ config () {
+ return {
+ operators: [
+ {
+ name: 'And',
+ identifier: 'and'
+ },
+ {
+ name: 'Or',
+ identifier: 'or'
+ }
+ ],
+ rules: this.rules,
+ colors: ['#ef4444', '#22c55e', '#f97316', '#0ea5e9', '#8b5cf6', '#ec4899']
+ }
+ }
+
+ },
+
+ watch: {
+ value () {
+ this.query = this.value
+ }
+ },
+
+ methods: {
+ onChange () {
+ this.$emit('update:modelValue', this.query)
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/form-logic-components/FormBlockLogicEditor.vue b/client/components/open/forms/components/form-logic-components/FormBlockLogicEditor.vue
new file mode 100644
index 000000000..c3b366982
--- /dev/null
+++ b/client/components/open/forms/components/form-logic-components/FormBlockLogicEditor.vue
@@ -0,0 +1,213 @@
+<template>
+ <div v-if="logic" :key="resetKey">
+ <h3 class="font-semibold block text-lg">
+ Logic
+ </h3>
+ <p class="text-gray-400 text-xs mb-3">
+ Add some logic to this block. Start by adding some conditions, and then add some actions.
+ </p>
+ <div class="relative flex">
+ <div>
+ <v-button color="light-gray" size="small" @click="showCopyFormModal=true">
+ <svg class="h-4 w-4 text-blue-600 inline mr-1 -mt-1" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5M11 9H20C21.1046 9 22 9.89543 22 11V20C22 21.1046 21.1046 22 20 22H11C9.89543 22 9 21.1046 9 20V11C9 9.89543 9.89543 9 11 9Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
+ </svg>
+ Copy from
+ </v-button>
+ </div>
+ <div>
+ <v-button color="light-gray" shade="light" size="small" class="ml-1" @click="clearAll">
+ <svg class="text-red-600 h-4 w-4 inline -mt-1 mr-1" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M18 9L12 15M12 9L18 15M21 4H8L1 12L8 20H21C21.5304 20 22.0391 19.7893 22.4142 19.4142C22.7893 19.0391 23 18.5304 23 18V6C23 5.46957 22.7893 4.96086 22.4142 4.58579C22.0391 4.21071 21.5304 4 21 4Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
+ </svg>
+
+ Clear All
+ </v-button>
+ </div>
+ </div>
+
+ <h5 class="font-semibold mt-3">
+ 1. Conditions
+ </h5>
+ <condition-editor ref="filter-editor" v-model="logic.conditions" class="mt-1 border-t border rounded-md" :form="form" />
+
+ <h5 class="font-semibold mt-3">
+ 2. Actions
+ </h5>
+ <select-input :key="resetKey" v-model="logic.actions" name="actions"
+ :multiple="true" class="mt-1" placeholder="Actions..."
+ help="Action(s) triggerred when above conditions are true"
+ :options="actionOptions"
+ @update:model-value="onActionInput"
+ />
+
+ <modal :show="showCopyFormModal" @close="showCopyFormModal = false">
+ <div class="min-h-[450px]">
+ <h3 class="font-semibold block text-lg">
+ Copy logic from another field
+ </h3>
+ <p class="text-gray-400 text-xs mb-5">
+ Select another field/block to copy its logic and apply it to "{{ field.name }}".
+ </p>
+ <select-input v-model="copyFrom" name="copy_from" emit-key="value"
+ label="Copy logic from" placeholder="Choose a field/block..."
+ :options="copyFromOptions" :searchable="copyFromOptions && copyFromOptions.options > 5"
+ />
+ <div class="flex justify-between mb-6">
+ <v-button color="blue" shade="light" @click="copyLogic">
+ Confirm & Copy
+ </v-button>
+ <v-button color="gray" shade="light" class="ml-1" @click="showCopyFormModal=false">
+ Close
+ </v-button>
+ </div>
+ </div>
+ </modal>
+ </div>
+</template>
+
+<script>
+import ConditionEditor from './ConditionEditor.vue'
+import Modal from '../../../../global/Modal.vue'
+import SelectInput from '../../../../forms/SelectInput.vue'
+import clonedeep from 'clone-deep'
+
+export default {
+ name: 'FormBlockLogicEditor',
+ components: { SelectInput, Modal, ConditionEditor },
+ props: {
+ field: {
+ type: Object,
+ required: false
+ },
+ form: {
+ type: Object,
+ required: false
+ }
+ },
+
+ data () {
+ return {
+ resetKey: 0,
+ logic: this.field.logic || {
+ conditions: null,
+ actions: []
+ },
+ showCopyFormModal: false,
+ copyFrom: null
+ }
+ },
+
+ computed: {
+ copyFromOptions () {
+ return this.form.properties.filter((field) => {
+ return field.id !== this.field.id && field.hasOwnProperty('logic') && field.logic !== null && field.logic !== {}
+ }).map((field) => {
+ return { name: field.name, value: field.id }
+ })
+ },
+ actionOptions () {
+ if (['nf-text', 'nf-code', 'nf-page-break', 'nf-divider', 'nf-image'].includes(this.field.type)) {
+ if (this.field.hidden) {
+ return [{ name: 'Show Block', value: 'show-block' }]
+ } else {
+ return [{ name: 'Hide Block', value: 'hide-block' }]
+ }
+ }
+
+ if (this.field.hidden) {
+ return [
+ { name: 'Show Block', value: 'show-block' },
+ { name: 'Require answer', value: 'require-answer' }
+ ]
+ } else if (this.field.disabled) {
+ return [
+ { name: 'Enable Block', value: 'enable-block' },
+ (this.field.required
+ ? { name: 'Make it optional', value: 'make-it-optional' }
+ : {
+ name: 'Require answer',
+ value: 'require-answer'
+ })
+ ]
+ } else {
+ return [
+ { name: 'Hide Block', value: 'hide-block' },
+ { name: 'Disable Block', value: 'disable-block' },
+ (this.field.required
+ ? { name: 'Make it optional', value: 'make-it-optional' }
+ : {
+ name: 'Require answer',
+ value: 'require-answer'
+ })
+ ]
+ }
+ }
+ },
+
+ watch: {
+ logic: {
+ handler () {
+ this.field.logic = this.logic
+ },
+ deep: true
+ },
+ 'field.id': {
+ handler (field, oldField) {
+ // On field change, reset logic
+ this.logic = this.field.logic || {
+ conditions: null,
+ actions: []
+ }
+ }
+ },
+ 'field.required': 'cleanConditions',
+ 'field.disabled': 'cleanConditions',
+ 'field.hidden': 'cleanConditions'
+ },
+
+ mounted () {
+ if (!this.field.hasOwnProperty('logic')) {
+ this.field.logic = this.logic
+ }
+ },
+
+ methods: {
+ clearAll () {
+ this.logic.conditions = null
+ this.logic.actions = []
+ this.refreshActions()
+ },
+ onActionInput () {
+ if (this.logic.actions.length >= 2) {
+ if (this.logic.actions[1] === 'require-answer' && this.logic.actions[0] === 'hide-block') {
+ this.logic.actions = ['require-answer']
+ } else if (this.logic.actions[1] === 'hide-block' && this.logic.actions[0] === 'require-answer') {
+ this.logic.actions = ['hide-block']
+ }
+ this.refreshActions()
+ }
+ },
+ cleanConditions () {
+ const availableActions = this.actionOptions.map(function (op) { return op.value })
+ this.logic.actions = availableActions.filter(value => this.logic.actions.includes(value))
+ this.refreshActions()
+ },
+ refreshActions () {
+ this.resetKey++
+ },
+ copyLogic () {
+ if (this.copyFrom) {
+ const property = this.form.properties.find((property) => {
+ return property.id === this.copyFrom
+ })
+ if (property && property.logic) {
+ this.logic = clonedeep(property.logic)
+ this.cleanConditions()
+ }
+ }
+ this.showCopyFormModal = false
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/form-logic-components/GroupControlSlot.vue b/client/components/open/forms/components/form-logic-components/GroupControlSlot.vue
new file mode 100644
index 000000000..63817d0cd
--- /dev/null
+++ b/client/components/open/forms/components/form-logic-components/GroupControlSlot.vue
@@ -0,0 +1,39 @@
+<template>
+ <div class="flex flex-wrap px-4 py-1 -ml-1 -mt-1">
+ <select-input ref="ruleSelect" v-model="selectedRule" class="flex-grow ml-1 mr-1 mt-1"
+ wrapper-class="relative" placeholder="Add condition on input field"
+ :options="groupCtrl.rules" margin-bottom="" :searchable="groupCtrl.rules.length > 5"
+ emit-key="identifier"
+ option-key="identifier"
+ name="group-control-slot-rule"
+ />
+ <v-button class="ml-1 mt-1" color="blue" size="small" :disabled="(selectedRule === '')?true:null" @click="addRule">
+ Add Condition
+ </v-button>
+ <v-button class="ml-1 mt-1" color="outline-blue" size="small" @click="groupCtrl.newGroup">
+ Add Group
+ </v-button>
+ </div>
+</template>
+
+<script>
+export default {
+ components: {},
+ props: { groupCtrl: { type: Object, required: true } },
+ data () {
+ return {
+ selectedRule: null
+ }
+ },
+ methods: {
+ addRule () {
+ if (this.selectedRule) {
+ this.groupCtrl.addRule(this.selectedRule)
+ this.$refs.ruleSelect.content = null
+ this.selectedRule = null
+ }
+ }
+ }
+
+}
+</script>
diff --git a/client/components/open/forms/components/templates/FormTemplateModal.vue b/client/components/open/forms/components/templates/FormTemplateModal.vue
new file mode 100644
index 000000000..65a87a5f0
--- /dev/null
+++ b/client/components/open/forms/components/templates/FormTemplateModal.vue
@@ -0,0 +1,191 @@
+<template>
+ <modal :show="show" @close="$emit('close')">
+ <template #icon>
+ <svg class="w-10 h-10 text-blue" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M17 27C16.0681 27 15.6022 27 15.2346 26.8478C14.7446 26.6448 14.3552 26.2554 14.1522 25.7654C14 25.3978 14 24.9319 14 24V17.2C14 16.0799 14 15.5198 14.218 15.092C14.4097 14.7157 14.7157 14.4097 15.092 14.218C15.5198 14 16.0799 14 17.2 14H24C24.9319 14 25.3978 14 25.7654 14.1522C26.2554 14.3552 26.6448 14.7446 26.8478 15.2346C27 15.6022 27 16.0681 27 17M24.2 34H30.8C31.9201 34 32.4802 34 32.908 33.782C33.2843 33.5903 33.5903 33.2843 33.782 32.908C34 32.4802 34 31.9201 34 30.8V24.2C34 23.0799 34 22.5198 33.782 22.092C33.5903 21.7157 33.2843 21.4097 32.908 21.218C32.4802 21 31.9201 21 30.8 21H24.2C23.0799 21 22.5198 21 22.092 21.218C21.7157 21.4097 21.4097 21.7157 21.218 22.092C21 22.5198 21 23.0799 21 24.2V30.8C21 31.9201 21 32.4802 21.218 32.908C21.4097 33.2843 21.7157 33.5903 22.092 33.782C22.5198 34 23.0799 34 24.2 34Z"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ </template>
+ <template #title>
+ <template v-if="template">
+ Edit Template
+ </template>
+ <template v-else>
+ Create Template
+ </template>
+ </template>
+ <div class="p-4">
+ <p v-if="!template">
+ New template will be create from your form: <span class="font-semibold">{{ form.title }}</span>.
+ </p>
+
+ <form v-if="templateForm" class="mt-6" @submit.prevent="onSubmit" @keydown="templateForm.onKeydown($event)">
+ <div class="-m-6">
+ <div class="border-t py-4 px-6">
+ <toggle-switch-input v-if="user && (user.admin || user.template_editor)" name="publicly_listed" :form="templateForm" class="mt-4" label="Publicly Listed?" />
+ <text-input name="name" :form="templateForm" class="mt-4" label="Title" :required="true" />
+ <text-input name="slug" :form="templateForm" class="mt-4" label="Slug" :required="true" />
+ <text-area-input name="short_description" :form="templateForm" class="mt-4" label="Short Description"
+ :required="true"
+ />
+ <rich-text-area-input name="description" :form="templateForm" class="mt-4" label="Description"
+ :required="true"
+ />
+ <text-input name="image_url" :form="templateForm" class="mt-4" label="Image" :required="true" />
+ <select-input name="types" :form="templateForm" class="mt-4" label="Types" :options="typesOptions"
+ :multiple="true" :searchable="true"
+ />
+ <select-input name="industries" :form="templateForm" class="mt-4" label="Industries"
+ :options="industriesOptions" :multiple="true" :searchable="true"
+ />
+ <select-input name="related_templates" :form="templateForm" class="mt-4" label="Related Templates"
+ :options="templatesOptions" :multiple="true" :searchable="true"
+ />
+ <questions-editor name="questions" :questions="templateForm.questions" class="mt-4"
+ label="Frequently asked questions"
+ />
+ </div>
+ <div class="flex justify-end mt-4 pb-5 px-6">
+ <v-button class="mr-2" :loading="templateForm.busy">
+ <template v-if="template">
+ Update
+ </template>
+ <template v-else>
+ Create
+ </template>
+ </v-button>
+ <v-button v-if="template" color="red" class="mr-2"
+ @click.prevent="alertConfirm('Do you really want to delete this template?', deleteFormTemplate)"
+ >
+ Delete
+ </v-button>
+ <v-button color="white" @click.prevent="$emit('close')">
+ Close
+ </v-button>
+ </div>
+ </div>
+ </form>
+ </div>
+ </modal>
+</template>
+
+<script>
+import axios from 'axios'
+import Form from 'vform'
+import { computed } from 'vue'
+import { useAuthStore } from '../../../../../stores/auth'
+import { useTemplatesStore } from '../../../../../stores/templates'
+import QuestionsEditor from './QuestionsEditor.vue'
+
+export default {
+ name: 'FormTemplateModal',
+ components: { QuestionsEditor },
+ props: {
+ show: { type: Boolean, required: true },
+ form: { type: Object, required: true },
+ template: { type: Object, required: false, default: () => {} }
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ const templatesStore = useTemplatesStore()
+ return {
+ templatesStore,
+ user : computed(() => authStore.user),
+ templates : computed(() => templatesStore.content),
+ industries : computed(() => templatesStore.industries),
+ types : computed(() => templatesStore.types)
+ }
+ },
+
+ data: () => ({
+ templateForm: null
+ }),
+
+ mounted () {
+ this.templateForm = new Form(this.template ?? {
+ publicly_listed: false,
+ name: '',
+ slug: '',
+ short_description: '',
+ description: '',
+ image_url: '',
+ types: null,
+ industries: null,
+ related_templates: null,
+ questions: []
+ })
+ this.templatesStore.loadIfEmpty()
+ },
+
+ computed: {
+ typesOptions () {
+ return Object.values(this.types).map((type) => {
+ return {
+ name: type.name,
+ value: type.slug
+ }
+ })
+ },
+ industriesOptions () {
+ return Object.values(this.industries).map((industry) => {
+ return {
+ name: industry.name,
+ value: industry.slug
+ }
+ })
+ },
+ templatesOptions () {
+ return this.templates.map((template) => {
+ return {
+ name: template.name,
+ value: template.slug
+ }
+ })
+ }
+ },
+
+ methods: {
+ onSubmit () {
+ if (this.template) {
+ this.updateFormTemplate()
+ } else {
+ this.createFormTemplate()
+ }
+ },
+ async createFormTemplate () {
+ this.templateForm.form = this.form
+ await this.templateForm.post('/api/templates').then((response) => {
+ if (response.data.message) {
+ this.alertSuccess(response.data.message)
+ }
+ this.templatesStore.addOrUpdate(response.data.data)
+ this.$emit('close')
+ })
+ },
+ async updateFormTemplate () {
+ this.templateForm.form = this.form
+ await this.templateForm.put('/api/templates/' + this.template.id).then((response) => {
+ if (response.data.message) {
+ this.alertSuccess(response.data.message)
+ }
+ this.templatesStore.addOrUpdate(response.data.data)
+ this.$emit('close')
+ })
+ },
+ async deleteFormTemplate () {
+ if (!this.template) return
+ axios.delete('/api/templates/' + this.template.id).then((response) => {
+ if (response.data.message) {
+ this.alertSuccess(response.data.message)
+ }
+ this.$router.push({ name: 'templates' })
+ this.templatesStore.remove(this.template)
+ this.$emit('close')
+ })
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/components/templates/QuestionsEditor.vue b/client/components/open/forms/components/templates/QuestionsEditor.vue
new file mode 100644
index 000000000..dad4b0c2c
--- /dev/null
+++ b/client/components/open/forms/components/templates/QuestionsEditor.vue
@@ -0,0 +1,77 @@
+<template>
+ <div :class="wrapperClass">
+ <label v-if="label" :for="id?id:name"
+ :class="[theme.default.label,{'uppercase text-xs':uppercaseLabels, 'text-sm':!uppercaseLabels}]"
+ >
+ {{ label }}
+ <span v-if="required" class="text-red-500 required-dot">*</span>
+ </label>
+
+ <loader v-if="loading" key="loader" class="h-6 w-6 text-nt-blue mx-auto" />
+ <div v-else class="my-3">
+ <div v-for="(questionForm, quesKey) in allQuestions" :key="quesKey" class="bg-gray-100 p-2 mb-4">
+ <v-button color="red" size="small" class="mb-2" @click.prevent="onRemove(quesKey)">
+ <svg class="h-4 w-4 text-white inline mr-1 -mt-1" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M3 6H5M5 6H21M5 6V20C5 20.5304 5.21071 21.0391 5.58579 21.4142C5.96086 21.7893 6.46957 22 7 22H17C17.5304 22 18.0391 21.7893 18.4142 21.4142C18.7893 21.0391 19 20.5304 19 20V6H5ZM8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M10 11V17M14 11V17" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ Remove
+ </v-button>
+ <text-input name="question" :form="questionForm" placeholder="Question title" />
+ <rich-text-area-input name="answer" :form="questionForm" class="mt-4" placeholder="Question response" />
+ </div>
+ <v-button v-if="addNew" color="green" size="small" nativeType="button" class="mt-2 flex" @click.prevent="onAdd">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-1 inline" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v6m3-3H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
+ </svg>
+ Add New
+ </v-button>
+ </div>
+
+ <small v-if="help" :class="theme.SelectInput.help">
+ <slot name="help">{{ help }}</slot>
+ </small>
+ <has-error v-if="hasValidation" :form="form" :field="name" />
+ </div>
+</template>
+
+<script>
+import inputMixin from '~/mixins/forms/input.js'
+
+export default {
+ name: 'QuestionsEditor',
+ mixins: [inputMixin],
+
+ props: {
+ loading: { type: Boolean, default: false },
+ addNew: { type: Boolean, default: true },
+ questions: { type: Array, default: [] },
+ },
+
+ data () {
+ return {
+ allQuestions: null,
+ newQuestion: {
+ question: '',
+ answer: '',
+ }
+ }
+ },
+
+ mounted () {
+ this.allQuestions = (this.questions.length > 0) ? this.questions : [this.newQuestion]
+ },
+
+ watch: { },
+
+ computed: { },
+
+ methods: {
+ onAdd() {
+ this.allQuestions.push(this.newQuestion)
+ },
+ onRemove(key){
+ this.allQuestions.splice(key, 1)
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/fields/FormFieldEdit.vue b/client/components/open/forms/fields/FormFieldEdit.vue
new file mode 100644
index 000000000..9df22313b
--- /dev/null
+++ b/client/components/open/forms/fields/FormFieldEdit.vue
@@ -0,0 +1,166 @@
+<template>
+ <div>
+ <div class="p-4 border-b sticky top-0 z-10 bg-white">
+ <button v-if="!field" class="text-gray-500 hover:text-gray-900 cursor-pointer" @click.prevent="closeSidebar">
+ <svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M18 6L6 18M6 6L18 18" stroke="currentColor" stroke-width="2" stroke-linecap="round"
+ stroke-linejoin="round"
+ />
+ </svg>
+ </button>
+ <template v-else>
+ <div class="flex">
+ <button class="text-gray-500 hover:text-gray-900 cursor-pointer" @click.prevent="closeSidebar">
+ <svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M18 6L6 18M6 6L18 18" stroke="currentColor" stroke-width="2" stroke-linecap="round"
+ stroke-linejoin="round"
+ />
+ </svg>
+ </button>
+ <div class="font-semibold inline ml-2 truncate flex-grow truncate">
+ Configure "<span class="truncate">{{ field.name }}</span>"
+ </div>
+ </div>
+ <div class="flex mt-2">
+ <v-button color="light-gray" class="border-r-0 rounded-r-none text-xs hover:bg-red-50" size="small"
+ @click="removeBlock"
+ >
+ <svg class="h-4 w-4 text-red-600 inline mr-1 -mt-1" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M3 6H5M5 6H21M5 6V20C5 20.5304 5.21071 21.0391 5.58579 21.4142C5.96086 21.7893 6.46957 22 7 22H17C17.5304 22 18.0391 21.7893 18.4142 21.4142C18.7893 21.0391 19 20.5304 19 20V6H5ZM8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M10 11V17M14 11V17"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ Remove
+ </v-button>
+ <v-button size="small" class="text-xs" :class="{
+ 'rounded-none border-r-0':!isBlockField && typeCanBeChanged,
+ 'rounded-l-none':isBlockField || !typeCanBeChanged
+ }" color="light-gray" @click="duplicateBlock"
+ >
+ <svg class="h-4 w-4 text-blue-600 inline mr-1 -mt-1" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5M11 9H20C21.1046 9 22 9.89543 22 11V20C22 21.1046 21.1046 22 20 22H11C9.89543 22 9 21.1046 9 20V11C9 9.89543 9.89543 9 11 9Z"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ Duplicate
+ </v-button>
+ <change-field-type v-if="!isBlockField" btn-classes="rounded-l-none text-xs" :field="field"
+ @changeType="onChangeType"
+ />
+ </div>
+ </template>
+ </div>
+
+ <template v-if="field">
+ <field-options v-if="!isBlockField" :form="form" :field="field" />
+ <block-options v-if="isBlockField" :form="form" :field="field" />
+ </template>
+ <div v-else class="text-center p-10">
+ Click on field's setting icon in your form to modify it
+ </div>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import clonedeep from 'clone-deep'
+import { useWorkingFormStore } from '../../../../stores/working_form'
+import ChangeFieldType from './components/ChangeFieldType.vue'
+import FieldOptions from './components/FieldOptions.vue'
+import BlockOptions from './components/BlockOptions.vue'
+
+export default {
+ name: 'FormFieldEdit',
+ components: { ChangeFieldType, FieldOptions, BlockOptions },
+ props: {},
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore,
+ selectedFieldIndex : computed(() => workingFormStore.selectedFieldIndex)
+ }
+ },
+ data () {
+ return {
+
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ field () {
+ return (this.form && this.selectedFieldIndex !== null) ? this.form.properties[this.selectedFieldIndex] : null
+ },
+ isBlockField () {
+ return this.field && this.field.type.startsWith('nf')
+ },
+ typeCanBeChanged () {
+ return ['text', 'email', 'phone', 'number', 'select', 'multi_select'].includes(this.field.type)
+ }
+ },
+
+ watch: {},
+
+ created () {
+ },
+
+ mounted () {
+ },
+
+ methods: {
+ onChangeType (newType) {
+ if (['select', 'multi_select'].includes(this.field.type)) {
+ this.field[newType] = this.field[this.field.type] // Set new options with new type
+ delete this.field[this.field.type] // remove old type options
+ }
+ this.field.type = newType
+ },
+ removeBlock () {
+ const newFields = clonedeep(this.form.properties)
+ newFields.splice(this.selectedFieldIndex, 1)
+ this.form.properties = newFields
+ this.closeSidebar()
+ },
+ duplicateBlock () {
+ const newFields = clonedeep(this.form.properties)
+ const newField = clonedeep(this.form.properties[this.selectedFieldIndex])
+ newField.id = this.generateUUID()
+ newFields.push(newField)
+ this.form.properties = newFields
+ this.closeSidebar()
+ },
+ closeSidebar () {
+ this.workingFormStore.closeEditFieldSidebar()
+ },
+ generateUUID () {
+ let d = new Date().getTime()// Timestamp
+ let d2 = ((typeof performance !== 'undefined') && performance.now && (performance.now() * 1000)) || 0// Time in microseconds since page-load or 0 if unsupported
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
+ let r = Math.random() * 16// random number between 0 and 16
+ if (d > 0) { // Use timestamp until depleted
+ r = (d + r) % 16 | 0
+ d = Math.floor(d / 16)
+ } else { // Use microseconds since page-load if supported
+ r = (d2 + r) % 16 | 0
+ d2 = Math.floor(d2 / 16)
+ }
+ return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16)
+ })
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/fields/components/BlockOptions.vue b/client/components/open/forms/fields/components/BlockOptions.vue
new file mode 100644
index 000000000..697bfed20
--- /dev/null
+++ b/client/components/open/forms/fields/components/BlockOptions.vue
@@ -0,0 +1,160 @@
+<template>
+ <div v-if="field">
+ <!-- General -->
+ <div class="border-b py-2 px-4">
+ <h3 class="font-semibold block text-lg">
+ General
+ </h3>
+ <p class="text-gray-400 mb-3 text-xs">
+ Exclude this field or make it required.
+ </p>
+ <v-checkbox v-model="field.hidden" class="mb-3"
+ :name="field.id+'_hidden'"
+ @update:model-value="onFieldHiddenChange"
+ >
+ Hidden
+ </v-checkbox>
+ <select-input name="width" class="mt-3"
+ :options="[
+ {name:'Full',value:'full'},
+ {name:'1/2 (half width)',value:'1/2'},
+ {name:'1/3 (a third of the width)',value:'1/3'},
+ {name:'2/3 (two thirds of the width)',value:'2/3'},
+ {name:'1/4 (a quarter of the width)',value:'1/4'},
+ {name:'3/4 (three quarters of the width)',value:'3/4'}
+ ]"
+ :form="field" label="Field Width"
+ />
+ <select-input v-if="['nf-text','nf-image'].includes(field.type)" name="align" class="mt-3"
+ :options="[
+ {name:'Left',value:'left'},
+ {name:'Center',value:'center'},
+ {name:'Right',value:'right'},
+ {name:'Justify',value:'justify'}
+ ]"
+ :form="field" label="Field Alignment"
+ />
+ </div>
+
+ <div v-if="field.type == 'nf-text'" class="border-b py-2 px-4">
+ <rich-text-area-input name="content"
+ :form="field"
+ label="Content"
+ :required="false"
+ />
+ </div>
+
+ <div v-else-if="field.type == 'nf-page-break'" class="border-b py-2 px-4">
+ <text-input name="next_btn_text"
+ :form="field"
+ label="Text of next button"
+ :required="true"
+ />
+ <text-input name="previous_btn_text"
+ :form="field"
+ label="Text of previous button"
+ help="Shown on the next page"
+ :required="true"
+ />
+ </div>
+
+ <div v-else-if="field.type == 'nf-divider'" class="border-b py-2 px-4">
+ <text-input name="name"
+ :form="field" :required="true"
+ label="Field Name"
+ />
+ </div>
+
+ <div v-else-if="field.type == 'nf-image'" class="border-b py-2 px-4">
+ <text-input name="name"
+ :form="field" :required="true"
+ label="Field Name"
+ />
+ <image-input name="image_block" class="mt-3"
+ :form="field" label="Upload Image" :required="false"
+ />
+ </div>
+
+ <div v-else-if="field.type == 'nf-code'" class="border-b py-2 px-4">
+ <code-input name="content" :form="field" label="Content"
+ help="You can add any html code, including iframes"
+ />
+ </div>
+
+ <div v-else class="border-b py-2 px-4">
+ <p>No settings found.</p>
+ </div>
+
+ <!-- Logic Block -->
+ <!-- <form-block-logic-editor class="py-2 px-4 border-b" :form="form" :field="field" />-->
+ </div>
+</template>
+
+<script>
+import CodeInput from '../../../../forms/CodeInput.vue'
+
+export default {
+ name: 'BlockOptions',
+ components: { CodeInput },
+ props: {
+ field: {
+ type: Object,
+ required: false
+ },
+ form: {
+ type: Object,
+ required: false
+ }
+ },
+ data () {
+ return {
+ editorToolbarCustom: [
+ ['bold', 'italic', 'underline', 'link']
+ ]
+ }
+ },
+
+ computed: {},
+
+ watch: {
+ 'field.width': {
+ handler (val) {
+ if (val === undefined || val === null) {
+ this.field.width = 'full'
+ }
+ },
+ immediate: true
+ },
+ 'field.align': {
+ handler (val) {
+ if (val === undefined || val === null) {
+ this.field.align = 'left'
+ }
+ },
+ immediate: true
+ }
+ },
+
+ created () {
+ if (this.field?.width === undefined || this.field?.width === null) {
+ this.field.width = 'full'
+ }
+ },
+
+ mounted () {},
+
+ methods: {
+ onFieldHiddenChange (val) {
+ this.field.hidden = val
+ if (this.field.hidden) {
+ this.field.required = false
+ }
+ },
+ onFieldHelpPositionChange (val) {
+ if (!val) {
+ this.field.help_position = 'below_input'
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/fields/components/ChangeFieldType.vue b/client/components/open/forms/fields/components/ChangeFieldType.vue
new file mode 100644
index 000000000..83db5bb2e
--- /dev/null
+++ b/client/components/open/forms/fields/components/ChangeFieldType.vue
@@ -0,0 +1,82 @@
+<template>
+ <dropdown v-if="changeTypeOptions.length > 0" dusk="nav-dropdown">
+ <template #trigger="{toggle}">
+ <v-button class="relative" :class="btnClasses" size="small" color="light-gray" @click.stop="toggle">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="h-4 w-4 text-blue-600 inline mr-1 -mt-1">
+ <path stroke-linecap="round" stroke-linejoin="round" d="M7.5 21L3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5" />
+ </svg>
+ <span class="whitespace-nowrap">Change Type</span>
+ </v-button>
+ </template>
+
+ <a v-for="(op, index) in changeTypeOptions" :key="index" href="#"
+ class="block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
+ @click.prevent="changeType(op.value)"
+ >
+ {{ op.name }}
+ </a>
+ </dropdown>
+</template>
+
+<script>
+import Dropdown from '~/components/global/Dropdown.vue'
+
+export default {
+ name: 'ChangeFieldType',
+ components: { Dropdown },
+ props: {
+ field: {
+ type: Object,
+ required: true
+ },
+ btnClasses: {
+ type: String,
+ required: true
+ }
+ },
+ data () {
+ return {}
+ },
+
+ computed: {
+ changeTypeOptions () {
+ let newTypes = []
+ if (['text', 'email', 'phone', 'number'].includes(this.field.type)) {
+ newTypes = [
+ { name: 'Text Input', value: 'text' },
+ { name: 'Email Input', value: 'email' },
+ { name: 'Phone Input', value: 'phone' },
+ { name: 'Number Input', value: 'number' }
+ ]
+ }
+ if (['select', 'multi_select'].includes(this.field.type)) {
+ newTypes = [
+ { name: 'Select Input', value: 'select' },
+ { name: 'Multi-Select Input', value: 'multi_select' }
+ ]
+ }
+ return newTypes.filter((item) => {
+ return item.value !== this.field.type
+ }).map((item) => {
+ return {
+ name: item.name,
+ value: item.value
+ }
+ })
+ }
+ },
+
+ watch: {},
+
+ mounted () {
+ },
+
+ methods: {
+ changeType (newType) {
+ if (newType) {
+ this.$emit('changeType', newType)
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/open/forms/fields/components/FieldOptions.vue b/client/components/open/forms/fields/components/FieldOptions.vue
new file mode 100644
index 000000000..729301368
--- /dev/null
+++ b/client/components/open/forms/fields/components/FieldOptions.vue
@@ -0,0 +1,615 @@
+<template>
+ <div v-if="field" class="py-2">
+ <!-- General -->
+ <div class="border-b px-4">
+ <h3 class="font-semibold block text-lg">
+ General
+ </h3>
+ <p class="text-gray-400 mb-2 text-xs">
+ Exclude this field or make it required.
+ </p>
+ <v-checkbox v-model="field.hidden" class="mb-3"
+ :name="field.id+'_hidden'"
+ @update:model-value="onFieldHiddenChange"
+ >
+ Hidden
+ </v-checkbox>
+ <v-checkbox v-model="field.required" class="mb-3"
+ :name="field.id+'_required'"
+ @update:model-value="onFieldRequiredChange"
+ >
+ Required
+ </v-checkbox>
+ <v-checkbox v-model="field.disabled" class="mb-3"
+ :name="field.id+'_disabled'"
+ @update:model-value="onFieldDisabledChange"
+ >
+ Disabled
+ </v-checkbox>
+ </div>
+
+ <!-- Checkbox -->
+ <div v-if="field.type === 'checkbox'" class="border-b py-2 px-4">
+ <h3 class="font-semibold block text-lg">
+ Checkbox
+ </h3>
+ <p class="text-gray-400 mb-3 text-xs">
+ Advanced options for checkbox.
+ </p>
+ <v-checkbox v-model="field.use_toggle_switch" class="mt-3"
+ name="use_toggle_switch" help=""
+ >
+ Use toggle switch
+ </v-checkbox>
+ <p class="text-gray-400 mb-3 text-xs">
+ If enabled, checkbox will be replaced with a toggle switch
+ </p>
+ </div>
+
+ <!-- File Uploads -->
+ <div v-if="field.type === 'files'" class="border-b py-2 px-4">
+ <h3 class="font-semibold block text-lg">
+ File uploads
+ </h3>
+ <v-checkbox v-model="field.multiple" class="mt-3"
+ :name="field.id+'_multiple'"
+ >
+ Allow multiple files
+ </v-checkbox>
+ <text-input name="allowed_file_types" class="mt-3" :form="field"
+ label="Allowed file types" placeholder="jpg,jpeg,png,gif"
+ help="Comma separated values, leave blank to allow all file types"
+ />
+ </div>
+
+ <!-- Number Options -->
+ <div v-if="field.type === 'number'" class="border-b py-2 px-4">
+ <h3 class="font-semibold block text-lg">
+ Number Options
+ </h3>
+ <v-checkbox v-model="field.is_rating" class="mt-3"
+ :name="field.id+'_is_rating'" @update:model-value="initRating"
+ >
+ Rating
+ </v-checkbox>
+ <p class="text-gray-400 mb-3 text-xs">
+ Transform this field into a star rating input.
+ </p>
+
+ <text-input v-if="field.is_rating" name="rating_max_value" native-type="number" :min="1" class="mt-3"
+ :form="field" required
+ label="Max rating value"
+ />
+
+ <v-checkbox v-model="field.is_scale" class="mt-4"
+ :name="field.id+'_is_scale'" @input="initScale"
+ >
+ Scale
+ </v-checkbox>
+ <p class="text-gray-400 text-xs mb-5">
+ Transform this field into a scale/score input.
+ </p>
+ <template v-if="field.is_scale">
+ <text-input name="scale_min_value" native-type="number" class="mt-4"
+ :form="field" required
+ label="Min scale value"
+ />
+ <text-input name="scale_max_value" native-type="number" :min="1" class="mt-4"
+ :form="field" required
+ label="Max scale value"
+ />
+ <text-input name="scale_step_value" native-type="number" :min="1" class="mt-4"
+ :form="field" required
+ label="Scale step svalue"
+ />
+ </template>
+ </div>
+
+ <!-- Text Options -->
+ <div v-if="field.type === 'text' && displayBasedOnAdvanced" class="border-b py-2 px-4">
+ <h3 class="font-semibold block text-lg">
+ Text Options
+ </h3>
+ <p class="text-gray-400 mb-3 text-xs">
+ Keep it simple or make it a multi-lines input.
+ </p>
+ <v-checkbox v-model="field.multi_lines" class="mb-2"
+ :name="field.id+'_multi_lines'"
+ @update:model-value="field.multi_lines = $event"
+ >
+ Multi-lines input
+ </v-checkbox>
+ </div>
+
+ <!-- Date Options -->
+ <div v-if="field.type === 'date'" class="border-b py-2 px-4">
+ <h3 class="font-semibold block text-lg">
+ Date Options
+ </h3>
+ <v-checkbox v-model="field.date_range" class="mt-3"
+ :name="field.id+'_date_range'"
+ @update:model-value="onFieldDateRangeChange"
+ >
+ Date Range
+ </v-checkbox>
+ <p class="text-gray-400 mb-3 text-xs">
+ Adds an end date. This cannot be used with the time option yet.
+ </p>
+ <v-checkbox v-model="field.with_time"
+ :name="field.id+'_with_time'"
+ @update:model-value="onFieldWithTimeChange"
+ >
+ Date with time
+ </v-checkbox>
+ <p class="text-gray-400 mb-3 text-xs">
+ Include time. Or not. This cannot be used with the date range option yet.
+ </p>
+
+ <select-input v-if="field.with_time" name="timezone" class="mt-3"
+ :form="field" :options="timezonesOptions"
+ label="Timezone" :searchable="true"
+ help="Make sure to select correct timezone. Leave blank otherwise."
+ />
+ <v-checkbox v-model="field.prefill_today"
+ name="prefill_today"
+ @update:model-value="onFieldPrefillTodayChange"
+ >
+ Prefill with 'today'
+ </v-checkbox>
+ <p class="text-gray-400 mb-3 text-xs">
+ if enabled we will pre-fill this field with the current date
+ </p>
+
+ <v-checkbox v-model="field.disable_past_dates"
+ name="disable_past_dates" class="mb-3"
+ @update:model-value="onFieldDisablePastDatesChange"
+ >
+ Disable past dates
+ </v-checkbox>
+
+ <v-checkbox v-model="field.disable_future_dates"
+ name="disable_future_dates" class="mb-3"
+ @update:model-value="onFieldDisableFutureDatesChange"
+ >
+ Disable future dates
+ </v-checkbox>
+ </div>
+
+ <!-- select/multiselect Options -->
+ <div v-if="['select','multi_select'].includes(field.type)" class="border-b py-2 px-4">
+ <h3 class="font-semibold block text-lg">
+ Select Options
+ </h3>
+ <p class="text-gray-400 mb-3 text-xs">
+ Advanced options for your select/multiselect fields.
+ </p>
+ <text-area-input v-model="optionsText" :name="field.id+'_options_text'" class="mt-3"
+ label="Set selection options"
+ help="Add one option per line"
+ @update:model-value="onFieldOptionsChange"
+ />
+ <v-checkbox v-model="field.allow_creation"
+ name="allow_creation" help="" @update:model-value="onFieldAllowCreationChange"
+ >
+ Allow respondent to create new options
+ </v-checkbox>
+ <v-checkbox v-model="field.without_dropdown" class="mt-3"
+ name="without_dropdown" help="" @update:model-value="onFieldWithoutDropdownChange"
+ >
+ Always show all select options
+ </v-checkbox>
+ <p class="text-gray-400 mb-3 text-xs">
+ Options won't be in a dropdown anymore, but will all be visible
+ </p>
+ </div>
+
+ <!-- Customization - Placeholder, Prefill, Relabel, Field Help -->
+ <div v-if="displayBasedOnAdvanced" class="border-b py-2 px-4">
+ <h3 class="font-semibold block text-lg">
+ Customization
+ </h3>
+
+ <p class="text-gray-400 mb-3 text-xs">
+ Change your form field name, pre-fill a value, add hints, etc.
+ </p>
+
+ <text-input name="name" class="mt-3"
+ :form="field" :required="true"
+ label="Field Name"
+ />
+
+ <v-checkbox v-model="field.hide_field_name" class="mt-3"
+ :name="field.id+'_hide_field_name'"
+ >
+ Hide field name
+ </v-checkbox>
+
+ <v-checkbox v-if="field.type === 'phone_number'" v-model="field.use_simple_text_input" class="mt-3"
+ :name="field.id+'_use_simple_text_input'"
+ >
+ Use simple text input
+ </v-checkbox>
+ <template v-if="field.type === 'phone_number' && !field.use_simple_text_input">
+ <select-input v-model="field.unavailable_countries" class="mt-4" wrapper-class="relative"
+ :options="allCountries" :multiple="true"
+ :searchable="true" :search-keys="['name']" :option-key="'code'" :emit-key="'code'"
+ label="Disabled countries" :placeholder="'Select a country'"
+ help="Remove countries from the phone input"
+ >
+ <template #selected="{option, selected}">
+ <div class="flex items-center space-x-2 justify-center overflow-hidden">
+ {{ option.length }} selected
+ </div>
+ </template>
+ <template #option="{option, selected}">
+ <div class="flex items-center space-x-2 hover:text-white">
+ <country-flag size="normal" class="!-mt-[9px]" :country="option.code" />
+ <span class="grow">{{ option.name }}</span>
+ <span>{{ option.dial_code }}</span>
+ </div>
+ <span v-if="selected" class="absolute inset-y-0 right-0 flex items-center pr-2 dark:text-white">
+ <svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
+ <path fill-rule="evenodd"
+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ </span>
+ </template>
+ </select-input>
+ <small class="flex -mt-2">
+ <a href="#" class="grow" @click.prevent="selectAllCountries">Select All</a>
+ <a href="#" @click.prevent="field.unavailable_countries=null">Un-select All</a>
+ </small>
+ </template>
+
+ <!-- Pre-fill depends on type -->
+ <v-checkbox v-if="field.type=='checkbox'" v-model="field.prefill" class="mt-3"
+ :name="field.id+'_prefill'"
+ @update:model-value="field.prefill = $event"
+ >
+ Pre-filled value
+ </v-checkbox>
+ <select-input v-else-if="['select','multi_select'].includes(field.type)" name="prefill" class="mt-3"
+ :form="field" :options="prefillSelectsOptions"
+ label="Pre-filled value"
+ :multiple="field.type==='multi_select'"
+ />
+ <date-input v-else-if="field.type==='date' && field.prefill_today!==true" name="prefill" class="mt-3"
+ :form="field" :with-time="field.with_time===true"
+ :date-range="field.date_range===true"
+ label="Pre-filled value"
+ />
+ <phone-input v-else-if="field.type === 'phone_number' && !field.use_simple_text_input"
+ name="prefill" class="mt-3"
+ :form="field" :can-only-country="true" :unavailable-countries="field.unavailable_countries ?? []"
+ label="Pre-filled value"
+ />
+ <text-area-input v-else-if="field.type === 'text' && field.multi_lines"
+ name="prefill" class="mt-3"
+ :form="field"
+ label="Pre-filled value"
+ />
+ <file-input v-else-if="field.type==='files'" name="prefill" class="mt-4"
+ :form="field"
+ label="Pre-filled file"
+ :multiple="field.multiple===true" :move-to-form-assets="true"
+ />
+ <text-input v-else-if="!['files', 'signature'].includes(field.type)" name="prefill" class="mt-3"
+ :form="field"
+ label="Pre-filled value"
+ />
+ <div v-if="['select','multi_select'].includes(field.type)" class="-mt-3 mb-3 text-gray-400 dark:text-gray-500">
+ <small>
+ A problem? <a href="#" @click.prevent="field.prefill=null">Click here to clear your pre-fill</a>
+ </small>
+ </div>
+
+ <!-- Placeholder -->
+ <text-input v-if="hasPlaceholder" name="placeholder" class="mt-3"
+ :form="field"
+ label="Empty Input Text (Placeholder)"
+ />
+
+ <select-input name="width" class="mt-3"
+ :options="[
+ {name:'Full',value:'full'},
+ {name:'1/2 (half width)',value:'1/2'},
+ {name:'1/3 (a third of the width)',value:'1/3'},
+ {name:'2/3 (two thirds of the width)',value:'2/3'},
+ {name:'1/4 (a quarter of the width)',value:'1/4'},
+ {name:'3/4 (three quarters of the width)',value:'3/4'},
+ ]"
+ :form="field" label="Field Width"
+ />
+
+ <!-- Help -->
+ <rich-text-area-input name="help" class="mt-3"
+ :form="field"
+ :editor-toolbar="editorToolbarCustom"
+ label="Field Help"
+ help="Your field help will be shown below/above the field, just like this message."
+ :help-position="field.help_position"
+ />
+ <select-input name="help_position" class="mt-3"
+ :options="[
+ {name:'Below input',value:'below_input'},
+ {name:'Above input',value:'above_input'},
+ ]"
+ :form="field" label="Field Help Position"
+ @input="onFieldHelpPositionChange"
+ />
+
+ <template v-if="['text','number','url','email'].includes(field.type)">
+ <text-input name="max_char_limit" native-type="number" :min="1" :max="2000"
+ :form="field"
+ label="Max character limit"
+ help="Maximum character limit of 2000"
+ :required="false"
+ />
+ <checkbox-input name="show_char_limit" :form="field" class="mt-3"
+ label="Always show character limit"
+ />
+ </template>
+ </div>
+
+ <!-- Advanced Options -->
+ <div v-if="field.type === 'text'" class="border-b py-2 px-4">
+ <h3 class="font-semibold block text-lg mb-3">
+ Advanced Options
+ </h3>
+
+ <v-checkbox v-model="field.generates_uuid"
+ :name="field.id+'_generates_uuid'"
+ @update:model-value="onFieldGenUIdChange"
+ >
+ Generates a unique id
+ </v-checkbox>
+ <p class="text-gray-400 mb-3 text-xs">
+ If you enable this, we will hide this field and fill it with a unique id (UUID format) on each new form
+ submission
+ </p>
+
+ <v-checkbox v-model="field.generates_auto_increment_id"
+ :name="field.id+'_generates_auto_increment_id'"
+ @update:model-value="onFieldGenAutoIdChange"
+ >
+ Generates an auto-incremented id
+ </v-checkbox>
+ <p class="text-gray-400 mb-3 text-xs">
+ If you enable this, we will hide this field and fill it a unique incrementing number on each new form submission
+ </p>
+ </div>
+
+ <!-- Logic Block -->
+ <!-- <form-block-logic-editor class="py-2 px-4 border-b" :form="form" :field="field" />-->
+ </div>
+</template>
+
+<script>
+import timezones from '../../../../../../data/timezones.json'
+import countryCodes from '../../../../../../data/country_codes.json'
+import CountryFlag from 'vue-country-flag-next'
+
+export default {
+ name: 'FieldOptions',
+ components: { CountryFlag },
+ props: {
+ field: {
+ type: Object,
+ required: false
+ },
+ form: {
+ type: Object,
+ required: false
+ }
+ },
+ data () {
+ return {
+ typesWithoutPlaceholder: ['date', 'checkbox', 'files'],
+ editorToolbarCustom: [
+ ['bold', 'italic', 'underline', 'link']
+ ],
+ allCountries: countryCodes
+ }
+ },
+
+ computed: {
+ hasPlaceholder () {
+ return !this.typesWithoutPlaceholder.includes(this.field.type)
+ },
+ prefillSelectsOptions () {
+ if (!['select', 'multi_select'].includes(this.field.type)) return {}
+
+ return this.field[this.field.type].options.map(option => {
+ return {
+ name: option.name,
+ value: option.id
+ }
+ })
+ },
+ timezonesOptions () {
+ if (this.field.type !== 'date') return []
+ return timezones.map((timezone) => {
+ return {
+ name: timezone.text,
+ value: timezone.utc[0]
+ }
+ })
+ },
+ displayBasedOnAdvanced () {
+ if (this.field.generates_uuid || this.field.generates_auto_increment_id) {
+ return false
+ }
+ return true
+ },
+ optionsText () {
+ return this.field[this.field.type].options.map(option => {
+ return option.name
+ }).join('\n')
+ }
+ },
+
+ watch: {
+ 'field.width': {
+ handler (val) {
+ if (val === undefined || val === null) {
+ this.field.width = 'full'
+ }
+ },
+ immediate: true
+ },
+ 'field.align': {
+ handler (val) {
+ if (val === undefined || val === null) {
+ this.field.align = 'left'
+ }
+ },
+ immediate: true
+ }
+ },
+
+ created () {
+ if (this.field?.width === undefined || this.field?.width === null) {
+ this.field.width = 'full'
+ }
+ },
+
+ mounted () {
+ if (['text', 'number', 'url', 'email'].includes(this.field?.type) && !this.field?.max_char_limit) {
+ this.field.max_char_limit = 2000
+ }
+ },
+
+ methods: {
+ onFieldDisabledChange (val) {
+ this.field.disabled = val
+ if (this.field.disabled) {
+ this.field.hidden = false
+ }
+ },
+ onFieldRequiredChange (val) {
+ this.field.required = val
+ if (this.field.required) {
+ this.field.hidden = false
+ }
+ },
+ onFieldHiddenChange (val) {
+ this.field.hidden = val
+ if (this.field.hidden) {
+ this.field.required = false
+ this.field.disabled = false
+ } else {
+ this.field.generates_uuid = false
+ this.field.generates_auto_increment_id = false
+ }
+ },
+ onFieldDateRangeChange (val) {
+ this.field.date_range = val
+ if (this.field.date_range) {
+ this.field.with_time = false
+ this.field.prefill_today = false
+ }
+ },
+ onFieldWithTimeChange (val) {
+ this.field.with_time = val
+ if (this.field.with_time) {
+ this.field.date_range = false
+ }
+ },
+ onFieldGenUIdChange (val) {
+ this.field.generates_uuid = val
+ if (this.field.generates_uuid) {
+ this.field.generates_auto_increment_id = false
+ this.field.hidden = true
+ }
+ },
+ onFieldGenAutoIdChange (val) {
+ this.field.generates_auto_increment_id = val
+ if (this.field.generates_auto_increment_id) {
+ this.field.generates_uuid = false
+ this.field.hidden = true
+ }
+ },
+ initRating () {
+ if (this.field.is_rating) {
+ this.$set(this.field, 'is_scale', false)
+ if (!this.field.rating_max_value) {
+ this.$set(this.field, 'rating_max_value', 5)
+ }
+ }
+ },
+ initScale () {
+ if (this.field.is_scale) {
+ this.$set(this.field, 'is_rating', false)
+ if (!this.field.scale_min_value) {
+ this.$set(this.field, 'scale_min_value', 1)
+ }
+ if (!this.field.scale_max_value) {
+ this.$set(this.field, 'scale_max_value', 5)
+ }
+ if (!this.field.scale_step_value) {
+ this.$set(this.field, 'scale_step_value', 1)
+ }
+ }
+ },
+ onFieldOptionsChange (val) {
+ const vals = (val) ? val.trim().split('\n') : []
+ const tmpOpts = vals.map(name => {
+ return {
+ name: name,
+ id: name
+ }
+ })
+ this.field[this.field.type] = { options: tmpOpts }
+ },
+ onFieldPrefillTodayChange (val) {
+ this.field.prefill_today = val
+ if (this.field.prefill_today) {
+ this.field.prefill = 'Pre-filled with current date'
+ this.field.date_range = false
+ this.field.disable_future_dates = false
+ this.field.disable_past_dates = false
+ } else {
+ this.field.prefill = null
+ }
+ },
+ onFieldAllowCreationChange (val) {
+ this.field.allow_creation = val
+ if (this.field.allow_creation) {
+ this.field.without_dropdown = false
+ }
+ },
+ onFieldWithoutDropdownChange (val) {
+ this.field.without_dropdown = val
+ if (this.field.without_dropdown) {
+ this.field.allow_creation = false
+ }
+ },
+ onFieldDisablePastDatesChange (val) {
+ this.field.disable_past_dates = val
+ if (this.field.disable_past_dates) {
+ this.field.disable_future_dates = false
+ this.field.prefill_today = false
+ }
+ },
+ onFieldDisableFutureDatesChange (val) {
+ this.field.disable_future_dates = val
+ if (this.field.disable_future_dates) {
+ this.field.disable_past_dates = false
+ this.field.prefill_today = false
+ }
+ },
+ onFieldHelpPositionChange (val) {
+ if (!val) {
+ this.field.help_position = 'below_input'
+ }
+ },
+ selectAllCountries () {
+ this.field.unavailable_countries = this.allCountries.map(item => {
+ return item.code
+ })
+ }
+ }
+}
+</script>
diff --git a/client/components/open/tables/OpenTable.vue b/client/components/open/tables/OpenTable.vue
new file mode 100644
index 000000000..61887eb39
--- /dev/null
+++ b/client/components/open/tables/OpenTable.vue
@@ -0,0 +1,391 @@
+<template>
+ <table :id="'table-'+tableHash" ref="table"
+ class="notion-table n-table whitespace-no-wrap bg-white dark:bg-notion-dark-light relative"
+ >
+ <thead :id="'table-header-'+tableHash" ref="header"
+ class="n-table-head top-0"
+ :class="{'absolute': data.length !== 0}"
+ style="will-change: transform; transform: translate3d(0px, 0px, 0px)"
+ >
+ <tr class="n-table-row overflow-x-hidden">
+ <resizable-th v-for="col, index in form.properties" :id="'table-head-cell-' + col.id" :key="col.id"
+ scope="col" :allow-resize="allowResize" :width="(col.cell_width ? col.cell_width + 'px':'auto')"
+ class="n-table-cell p-0 relative"
+ @resize-width="resizeCol(col, $event)"
+ >
+ <p
+ :class="{'border-r': index < form.properties.length - 1 || hasActions}"
+ class="bg-gray-50 dark:bg-notion-dark truncate sticky top-0 border-b border-gray-200 dark:border-gray-800 px-4 py-2 text-gray-500 font-semibold tracking-wider uppercase text-xs"
+ >
+ {{ col.name }}
+ </p>
+ </resizable-th>
+ <th v-if="hasActions" class="n-table-cell p-0 relative" style="width: 100px">
+ <p
+ class="bg-gray-50 dark:bg-notion-dark truncate sticky top-0 border-b border-gray-200 dark:border-gray-800 px-4 py-2 text-gray-500 font-semibold tracking-wider uppercase text-xs"
+ >
+ Actions
+ </p>
+ </th>
+ </tr>
+ </thead>
+ <tbody v-if="data.length > 0" class="n-table-body bg-white dark:bg-notion-dark-light">
+ <tr v-if="$slots.hasOwnProperty('actions')"
+ :id="'table-actions-'+tableHash"
+ ref="actions-row"
+ class="action-row absolute w-full"
+ style="will-change: transform; transform: translate3d(0px, 32px, 0px)"
+ >
+ <td :colspan="form.properties.length" class="p-1">
+ <slot name="actions" />
+ </td>
+ </tr>
+ <tr v-for="row, index in data" :key="index" class="n-table-row" :class="{'first':index===0}">
+ <td v-for="col, colIndex in form.properties"
+ :key="col.id"
+ :style="{width: col.cell_width + 'px'}"
+ class="n-table-cell border-gray-100 dark:border-gray-900 text-sm p-2 overflow-hidden"
+ :class="[{'border-b': index !== data.length - 1, 'border-r': colIndex !== form.properties.length - 1 || hasActions},
+ colClasses(col)]"
+ >
+ <component :is="fieldComponents[col.type]" class="border-gray-100 dark:border-gray-900"
+ :property="col" :value="row[col.id]"
+ />
+ </td>
+ <td v-if="hasActions" class="n-table-cell border-gray-100 dark:border-gray-900 text-sm p-2 border-b"
+ style="width: 100px"
+ >
+ <record-operations :form="form" :structure="form.properties" :rowid="row.id" @deleted="$emit('deleted')" />
+ </td>
+ </tr>
+ <tr v-if="loading" class="n-table-row border-t bg-gray-50 dark:bg-gray-900">
+ <td :colspan="form.properties.length" class="p-8 w-full">
+ <loader class="w-4 h-4 mx-auto" />
+ </td>
+ </tr>
+ </tbody>
+ <tbody v-else key="body-content" class="n-table-body">
+ <tr class="n-table-row loader w-full">
+ <td :colspan="form.properties.length" class="n-table-cell w-full p-8">
+ <loader v-if="loading" class="w-4 h-4 mx-auto" />
+ <p v-else class="text-gray-500 text-center">
+ No data found.
+ </p>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</template>
+
+<script>
+import { useWorkingFormStore } from '../../../stores/working_form'
+import OpenText from './components/OpenText.vue'
+import OpenUrl from './components/OpenUrl.vue'
+import OpenSelect from './components/OpenSelect.vue'
+import OpenDate from './components/OpenDate.vue'
+import OpenFile from './components/OpenFile.vue'
+import OpenCheckbox from './components/OpenCheckbox.vue'
+import ResizableTh from './components/ResizableTh.vue'
+import RecordOperations from '../components/RecordOperations.vue'
+import clonedeep from 'clone-deep'
+
+const cyrb53 = function (str, seed = 0) {
+ let h1 = 0xdeadbeef ^ seed
+ let h2 = 0x41c6ce57 ^ seed
+ for (let i = 0, ch; i < str.length; i++) {
+ ch = str.charCodeAt(i)
+ h1 = Math.imul(h1 ^ ch, 2654435761)
+ h2 = Math.imul(h2 ^ ch, 1597334677)
+ }
+ h1 = Math.imul(h1 ^ (h1 >>> 16), 2246822507) ^ Math.imul(h2 ^ (h2 >>> 13), 3266489909)
+ h2 = Math.imul(h2 ^ (h2 >>> 16), 2246822507) ^ Math.imul(h1 ^ (h1 >>> 13), 3266489909)
+ return 4294967296 * (2097151 & h2) + (h1 >>> 0)
+}
+
+export default {
+ components: { ResizableTh, RecordOperations },
+ props: {
+ data: {
+ type: Array,
+ default: () => []
+ },
+ loading: {
+ type: Boolean,
+ default: false
+ },
+ allowResize: {
+ required: false,
+ default: true,
+ type: Boolean
+ }
+ },
+
+ setup () {
+ const workingFormStore = useWorkingFormStore()
+ return {
+ workingFormStore
+ }
+ },
+
+ data () {
+ return {
+ tableHash: null,
+ skip: false
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ hasActions () {
+ // In future if want to hide based on condition
+ return true
+ },
+ fieldComponents () {
+ return {
+ text: OpenText,
+ number: OpenText,
+ select: OpenSelect,
+ multi_select: OpenSelect,
+ date: OpenDate,
+ files: OpenFile,
+ checkbox: OpenCheckbox,
+ url: OpenUrl,
+ email: OpenText,
+ phone_number: OpenText,
+ signature: OpenFile
+ }
+ }
+ },
+
+ watch: {
+ 'form.properties': {
+ handler () {
+ this.onStructureChange()
+ },
+ deep: true
+ },
+ data () {
+ this.$nextTick(() => {
+ this.handleScroll()
+ })
+ }
+ },
+
+ mounted () {
+ const parent = document.getElementById('table-page')
+ this.tableHash = cyrb53(JSON.stringify(this.form.properties))
+ if (parent) {
+ parent.addEventListener('scroll', this.handleScroll, { passive: true })
+ }
+ window.addEventListener('resize', this.handleScroll)
+ this.onStructureChange()
+ this.handleScroll()
+ },
+
+ beforeUnmount () {
+ const parent = document.getElementById('table-page')
+ if (parent) {
+ parent.removeEventListener('scroll', this.handleScroll)
+ }
+ window.removeEventListener('resize', this.handleScroll)
+ },
+
+ methods: {
+ colClasses (col) {
+ let colAlign, colColor, colFontWeight, colWrap
+
+ // Column align
+ colAlign = `text-${col.alignment ? col.alignment : 'left'}`
+
+ // Column color
+ colColor = null
+ if (!col.hasOwnProperty('color') || col.color === 'default') {
+ colColor = 'text-gray-700 dark:text-gray-300'
+ }
+ colColor = `text-${col.color}`
+
+ // Column font weight
+ if (col.hasOwnProperty('bold') && col.bold) {
+ colFontWeight = 'font-semibold'
+ }
+
+ // Column wrapping
+ if (!col.hasOwnProperty('wrap_text') || !col.wrap_text) {
+ colWrap = 'truncate'
+ }
+
+ return [colAlign, colColor, colWrap, colFontWeight]
+ },
+ onStructureChange () {
+ if (this.form && this.form.properties) {
+ this.$nextTick(() => {
+ this.form.properties.forEach(col => {
+ if (!col.hasOwnProperty('cell_width')) {
+ if (this.allowResize && this.form !== null && document.getElementById('table-head-cell-' + col.id)) {
+ // Within editor
+ this.resizeCol(col, document.getElementById('table-head-cell-' + col.id).offsetWidth)
+ }
+ }
+ })
+ })
+ }
+ },
+ resizeCol (col, width) {
+ if (!this.form) return
+ const columns = clonedeep(this.form.properties)
+ const index = this.form.properties.findIndex(c => c.id === col.id)
+ columns[index].cell_width = width
+ this.form.properties = columns
+ this.$nextTick(() => {
+ this.$emit('resize')
+ })
+ },
+ handleScroll () {
+ const parent = document.getElementById('table-page')
+ const posTop = parent.getBoundingClientRect().top
+ const tablePosition = Math.max(0, posTop - this.$refs.table.getBoundingClientRect().top)
+ const tableHeader = document.getElementById('table-header-' + this.tableHash)
+
+ // Set position of table header
+ if (tableHeader) {
+ tableHeader.style.transform = `translate3d(0px, ${tablePosition}px, 0px)`
+ if (tablePosition > 0) {
+ tableHeader.classList.add('border-t')
+ } else {
+ tableHeader.classList.remove('border-t')
+ }
+ }
+
+ // Set position of actions row
+ if (this.$slots.hasOwnProperty('actions')) {
+ const tableActionsRow = document.getElementById('table-actions-' + this.tableHash)
+ if (tableActionsRow) {
+ if (tablePosition > 100) {
+ tableActionsRow.style.transform = `translate3d(0px, ${tablePosition + 33}px, 0px)`
+ } else {
+ const parentContainer = document.getElementById('table-page')
+ tableActionsRow.style.transform = `translate3d(0px, ${parentContainer.offsetHeight + (posTop - this.$refs.table.getBoundingClientRect().top) - 35}px, 0px)`
+ }
+ }
+ }
+ }
+ }
+}
+</script>
+
+<style lang="scss">
+.n-table {
+ .n-table-head {
+ height: 33px;
+
+ .resize-handler {
+ height: 33px;
+ width: 5px;
+ margin-left: -3px;
+ }
+ }
+
+ .n-table-row {
+ display: flex;
+
+ &.first, &.loader {
+ margin-top: 33px;
+ }
+ }
+
+ .n-table-cell {
+ min-width: 80px;
+ }
+}
+
+.notion-table {
+
+ td {
+ &.text-gray {
+ color: #787774;
+ }
+
+ &.text-brown {
+ color: #9f6b53;
+ }
+
+ &.text-orange {
+ color: #d9730d;
+ }
+
+ &.text-yellow {
+ color: #cb912f;
+ }
+
+ &.text-green {
+ color: #448361;
+ }
+
+ &.text-blue {
+ color: #337ea9;
+ }
+
+ &.text-purple {
+ color: #9065b0;
+ }
+
+ &.text-pink {
+ color: #c14c8a;
+ }
+
+ &.text-red {
+ color: #d44c47;
+ }
+ }
+}
+
+.dark {
+ .notion-table {
+ td {
+ &.text-gray {
+ color: #9b9b9b;
+ }
+
+ &.text-brown {
+ color: #ba856f;
+ }
+
+ &.text-orange {
+ color: #c77d48;
+ }
+
+ &.text-yellow {
+ color: #ca9849;
+ }
+
+ &.text-green {
+ color: #529e72;
+ }
+
+ &.text-blue {
+ color: #5e87c9;
+ }
+
+ &.text-purple {
+ color: #9d68d3;
+ }
+
+ &.text-pink {
+ color: #d15796;
+ }
+
+ &.text-red {
+ color: #df5452;
+ }
+ }
+ }
+}
+</style>
diff --git a/client/components/open/tables/components/OpenCheckbox.vue b/client/components/open/tables/components/OpenCheckbox.vue
new file mode 100644
index 000000000..21b2c1ebd
--- /dev/null
+++ b/client/components/open/tables/components/OpenCheckbox.vue
@@ -0,0 +1,33 @@
+<template>
+ <svg v-if="value===true" xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mx-auto" fill="none"
+ viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
+ <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/>
+ </svg>
+ <svg v-else-if="value===false" xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mx-auto" fill="none"
+ viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
+ <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/>
+ </svg>
+</template>
+
+<script>
+export default {
+ components: {},
+ props: {
+ value: {
+ required: true
+ },
+
+ },
+ mounted() {
+ },
+
+ data() {
+ return {}
+ },
+
+ computed: {
+ },
+
+ methods: {},
+}
+</script>
diff --git a/client/components/open/tables/components/OpenDate.vue b/client/components/open/tables/components/OpenDate.vue
new file mode 100644
index 000000000..18f9f103d
--- /dev/null
+++ b/client/components/open/tables/components/OpenDate.vue
@@ -0,0 +1,35 @@
+<template>
+ <span v-if="valueIsObject">
+ <template v-if="value[0]">{{ value[0] }}</template>
+ <template v-if="value[1]"><b>to</b> {{ value[1] }}</template>
+ </span>
+ <span v-else>
+ {{ value }}
+ </span>
+</template>
+
+<script>
+export default {
+ components: {},
+ props: {
+ value: {
+ required: true
+ }
+ },
+ data () {
+ return {}
+ },
+ computed: {
+ valueIsObject () {
+ if (typeof this.value === 'object' && this.value !== null) {
+ return true
+ }
+ return false
+ }
+ },
+ mounted () {
+ },
+ methods: {
+ }
+}
+</script>
diff --git a/client/components/open/tables/components/OpenFile.vue b/client/components/open/tables/components/OpenFile.vue
new file mode 100644
index 000000000..2a4e51742
--- /dev/null
+++ b/client/components/open/tables/components/OpenFile.vue
@@ -0,0 +1,71 @@
+<template>
+ <p class="text-xs">
+ <span v-for="file in value" :key="file.file_url"
+ class="whitespace-nowrap rounded-md transition-colors hover:decoration-none"
+ :class="{'open-file text-gray-700 dark:text-gray-300 truncate':!isImage(file.file_url), 'open-file-img':isImage(file.file_url)}"
+ >
+ <a class="text-gray-700 dark:text-gray-300" :href="file.file_url" target="_blank"
+ rel="nofollow"
+ >
+ <div v-if="isImage(file.file_url)" class="w-8 h-8">
+ <img class="object-cover h-full w-full rounded" :src="file.file_url">
+ </div>
+ <span v-else
+ class="py-1 px-2"
+ >
+ <a :href="file.file_url" target="_blank" download>{{ displayedFileName(file.file_name) }}</a>
+ </span>
+ </a>
+ </span>
+ </p>
+</template>
+
+<script>
+export default {
+ components: {},
+ props: {
+ value: {
+ type: Array,
+ required: false
+ }
+ },
+
+ data() {
+ return {}
+ },
+
+ computed: {},
+ mounted() {
+ },
+
+ methods: {
+ isImage(url) {
+ return ['png', 'gif', 'jpg', 'jpeg', 'tif'].some((suffix) => {
+ return url && url.endsWith(suffix)
+ })
+ },
+ displayedFileName(fileName) {
+ const extension = fileName.substr(fileName.lastIndexOf(".") + 1)
+ const filename = fileName.substr(0, fileName.lastIndexOf("."))
+
+ if (filename.length > 12) {
+ return filename.substr(0, 12) + '(...).' + extension
+ }
+ return filename + '.' + extension
+ }
+ }
+}
+</script>
+
+<style lang="scss">
+.open-file {
+ max-width: 120px;
+ background-color: #e3e2e0;
+}
+
+.dark {
+ .open-file {
+ background-color: #5a5a5a;
+ }
+}
+</style>
diff --git a/client/components/open/tables/components/OpenSelect.vue b/client/components/open/tables/components/OpenSelect.vue
new file mode 100644
index 000000000..315845e15
--- /dev/null
+++ b/client/components/open/tables/components/OpenSelect.vue
@@ -0,0 +1,39 @@
+<template>
+ <span v-if="value" class="-mb-2">
+ <template v-if="valueIsObject">
+ <open-tag v-for="(val,index) in value" :key="index+val" :opt="val" />
+ </template>
+ <open-tag v-else :opt="value" />
+ </span>
+</template>
+
+<script>
+import OpenTag from './OpenTag.vue'
+
+export default {
+ components: { OpenTag },
+ props: {
+ value: {
+ type: Object | null,
+ required: true
+ }
+
+ },
+
+ data () {
+ return {}
+ },
+
+ computed: {
+ valueIsObject () {
+ if (typeof this.value === 'object' && this.value !== null) {
+ return true
+ }
+ return false
+ }
+ },
+ mounted () {
+ },
+ methods: {}
+}
+</script>
diff --git a/client/components/open/tables/components/OpenTag.vue b/client/components/open/tables/components/OpenTag.vue
new file mode 100644
index 000000000..800a5a7f2
--- /dev/null
+++ b/client/components/open/tables/components/OpenTag.vue
@@ -0,0 +1,101 @@
+<template>
+ <span :id="opt"
+ class="py-1 px-2 mb-1 open-tag default mr-2 text-gray-700 dark:text-gray-300 text-xs whitespace-nowrap rounded-md transition-colors"
+ >
+ {{ opt }}
+ </span>
+</template>
+
+<script>
+export default {
+ components: {},
+ props: {
+ opt: {
+ type: String,
+ required: true
+ }
+ },
+
+ data () {
+ return {}
+ },
+
+ computed: {
+ },
+ mounted () {
+ },
+
+ methods: {}
+}
+</script>
+
+<style lang="scss">
+.open-tag {
+ display: inline-block;
+ &.gray {
+ background-color: #e3e2e0;
+ }
+ &.light-gray,&.default {
+ background-color: #e3e2e080;
+ }
+ &.brown {
+ background-color: #eee0da;
+ }
+ &.orange {
+ background-color: #fadec9;
+ }
+ &.yellow {
+ background-color: #fdecc8;
+ }
+ &.green {
+ background-color: #dbeddb;
+ }
+ &.blue {
+ background-color: #d3e5ef;
+ }
+ &.purple {
+ background-color: #e8deee;
+ }
+ &.pink {
+ background-color: #f5e0e9;
+ }
+ &.red {
+ background-color: #ffe2dd;
+ }
+}
+
+.dark {
+ .open-tag {
+ &.gray {
+ background-color: #5a5a5a;
+ }
+ &.light-gray,&.default {
+ background-color: #ffffff21;
+ }
+ &.brown {
+ background-color: #603b2c;
+ }
+ &.orange {
+ background-color: #854c1d;
+ }
+ &.yellow {
+ background-color: #89632a;
+ }
+ &.green {
+ background-color: #2b593f;
+ }
+ &.blue {
+ background-color: #28456c;
+ }
+ &.purple {
+ background-color: #492f64;
+ }
+ &.pink {
+ background-color: #69314c;
+ }
+ &.red {
+ background-color: #6e3630;
+ }
+ }
+}
+</style>
\ No newline at end of file
diff --git a/client/components/open/tables/components/OpenText.vue b/client/components/open/tables/components/OpenText.vue
new file mode 100644
index 000000000..547c572cc
--- /dev/null
+++ b/client/components/open/tables/components/OpenText.vue
@@ -0,0 +1,99 @@
+<template>
+ <span v-if="!valueIsObject">
+ {{ value }}
+ </span>
+ <span v-else>
+ <span
+ v-for="(item, i) in value.responseData"
+ :key="i"
+ :class="{
+ 'font-semibold': item.annotations.bold && !item.annotations.code,
+ italic: item.annotations.italic,
+ 'line-through': item.annotations.strikethrough,
+ underline: item.annotations.underline,
+ 'bg-pink-100 py-1 px-2 rounded-lg text-pink-500': item.annotations.code,
+ 'font-serif': item.type == 'equation',
+ }"
+ :style="{
+ color:
+ item.annotations.color != 'default'
+ ? getColor(item.annotations.color)
+ : null,
+ 'background-color':
+ item.annotations.color != 'default' &&
+ item.annotations.color.split('_')[1]
+ ? getBgColor(item.annotations.color.split('_')[0])
+ : 'none',
+ }"
+ >
+ <a
+ v-if="item.href"
+ :href="item.href"
+ rel="noopener noreferrer"
+ target="_blank"
+ class="text-blue-600 underline"
+ >{{ item.plain_text }}</a>
+ <span v-else-if="!item.href">{{ item.plain_text }}</span>
+ </span>
+ </span>
+</template>
+
+<script>
+export default {
+ components: {},
+ props: {
+ value: {
+ required: true
+ }
+
+ },
+
+ data () {
+ return {}
+ },
+
+ computed: {
+ valueIsObject () {
+ if (
+ typeof this.value === 'object' &&
+ !Array.isArray(this.value) &&
+ this.value !== null
+ ) {
+ return true
+ }
+ return false
+ }
+ },
+ mounted () {
+ },
+
+ methods: {
+ getColor (color) {
+ return {
+ red: '#e03e3e',
+ gray: '#9b9a97',
+ brown: '#64473a',
+ orange: '#d9730d',
+ yellow: '#dfab01',
+ teal: '#0f7b6c',
+ blue: '#0b6e99',
+ purple: '#6940a5',
+ pink: '#ad1a72'
+ }[color]
+ },
+ getBgColor (color) {
+ return {
+ red: '#fbe4e4',
+ gray: '#ebeced',
+ brown: '#e9e5e3',
+ orange: '#faebdd',
+ yellow: '#fbf3db',
+ teal: '#ddedea',
+ blue: '#ddebf1',
+ purple: '#eae4f2',
+ pink: '#f4dfeb'
+ }[color]
+ }
+ }
+}
+</script>
diff --git a/client/components/open/tables/components/OpenUrl.vue b/client/components/open/tables/components/OpenUrl.vue
new file mode 100644
index 000000000..5f488df86
--- /dev/null
+++ b/client/components/open/tables/components/OpenUrl.vue
@@ -0,0 +1,26 @@
+<template>
+ <a class="text-gray-700 dark:text-gray-300 hover:underline" :href="value" target="_blank" rel="nofollow">{{ value }}</a>
+</template>
+
+<script>
+export default {
+ components: {},
+ props: {
+ value: {
+ required: true
+ },
+
+ },
+ mounted() {
+ },
+
+ data() {
+ return {}
+ },
+
+ computed: {
+ },
+
+ methods: {},
+}
+</script>
diff --git a/client/components/open/tables/components/ResizableTh.vue b/client/components/open/tables/components/ResizableTh.vue
new file mode 100644
index 000000000..9c47aaade
--- /dev/null
+++ b/client/components/open/tables/components/ResizableTh.vue
@@ -0,0 +1,67 @@
+<template>
+ <th ref="th" :style="{width: width}">
+ <slot />
+ <div v-if="allowResize" class="absolute right-0 top-0 w-0 z-10">
+ <div class="resize-handler bg-transparent cursor-move hover:bg-blue-500 opacity-80 transition-colors"
+ @mousedown="mouseDownHandler"
+ />
+ </div>
+ </th>
+</template>
+
+<script>
+export default {
+ components: {},
+ props: {
+ allowResize: {
+ required: true
+ },
+ width: {
+ required: true
+ }
+ },
+
+ data () {
+ return {
+ x: 0,
+ w: 0
+ }
+ },
+
+ computed: {
+ },
+ mounted () {
+ },
+
+ methods: {
+ mouseDownHandler (e) {
+ // Get the current mouse position
+ this.x = e.clientX
+
+ // Calculate the dimension of element
+ const styles = window.getComputedStyle(this.$refs.th)
+ this.w = parseInt(styles.width, 10)
+
+ // Attach the listeners to `document`
+ if (process.server) {
+ document.addEventListener('mousemove', this.mouseMoveHandler)
+ document.addEventListener('mouseup', this.mouseUpHandler)
+ }
+ },
+ mouseMoveHandler (e) {
+ // How far the mouse has been moved
+ const dx = e.clientX - this.x
+
+ // Adjust the dimension of element
+ this.$emit('resize-width', this.w + dx)
+ },
+ mouseUpHandler () {
+ // Remove the handlers of `mousemove` and `mouseup`
+ if (process.server) {
+ document.removeEventListener('mousemove', this.mouseMoveHandler)
+ document.removeEventListener('mouseup', this.mouseUpHandler)
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/OpenFormFooter.vue b/client/components/pages/OpenFormFooter.vue
new file mode 100644
index 000000000..c9d45d646
--- /dev/null
+++ b/client/components/pages/OpenFormFooter.vue
@@ -0,0 +1,64 @@
+<template>
+ <div class="w-full">
+ <div class="grid md:grid-cols-3 my-8">
+ <div class="flex mt-2">
+ <p class="text-sm text-gray-600 dark:text-gray-400 text-center w-full">
+ © Copyright {{ currYear }}. All Rights Reserved
+ </p>
+ </div>
+ <div class="flex justify-center mt-5 md:mt-0">
+ <router-link :to="{ name: user ? 'home' : 'index' }" class="flex-shrink-0 font-semibold flex items-center">
+ <img src="/img/logo.svg" alt="notion tools logo" class="w-10 h-10">
+
+ <span class="ml-2 text-xl text-black dark:text-white">
+ OpnForm
+ </span>
+ </router-link>
+ </div>
+ <ul class="flex justify-center mt-5 md:mt-1">
+ <li class="mr-10">
+ <router-link :to="{name:'privacy-policy'}" class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue">
+ Privacy Policy
+ </router-link>
+ </li>
+ <li class="list-disc pl-3">
+ <router-link :to="{name:'terms-conditions'}" class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue">
+ Terms & Conditions
+ </router-link>
+ </li>
+ </ul>
+ </div>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../../stores/auth'
+
+export default {
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ user : computed(() => authStore.user)
+ }
+ },
+
+ data: () => ({
+ currYear: new Date().getFullYear(),
+ }),
+
+ computed: {
+ helpUrl: () => this.$config.links.help_url,
+ githubUrl: () => this.$config.links.github_url,
+ forumUrl: () => this.$config.links.github_forum_url,
+ changelogUrl: () => this.$config.links.changelog_url,
+ facebookGroupUrl: () => this.$config.links.facebook_group,
+ twitterUrl: () => this.$config.links.twitter,
+ featureRequestsUrl: () => this.$config.links.feature_requests
+ },
+
+ mounted () {},
+
+ methods: {}
+}
+</script>
diff --git a/client/components/pages/auth/ForgotPasswordModal.vue b/client/components/pages/auth/ForgotPasswordModal.vue
new file mode 100644
index 000000000..4d48849c7
--- /dev/null
+++ b/client/components/pages/auth/ForgotPasswordModal.vue
@@ -0,0 +1,78 @@
+<template>
+ <!-- Forgot password modal -->
+ <modal :show="show" @close="close" max-width="lg">
+ <template #icon>
+ <template v-if="isMailSent">
+ <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <rect class="text-blue-50" width="56" height="56" rx="28" fill="currentColor"/>
+ <path d="M16.3333 22.1666L25.859 28.8346C26.6304 29.3746 27.016 29.6446 27.4356 29.7492C27.8061 29.8415 28.1937 29.8415 28.5643 29.7492C28.9838 29.6446 29.3695 29.3746 30.1408 28.8346L39.6666 22.1666M21.9333 37.3333H34.0666C36.0268 37.3333 37.0069 37.3333 37.7556 36.9518C38.4141 36.6163 38.9496 36.0808 39.2851 35.4223C39.6666 34.6736 39.6666 33.6935 39.6666 31.7333V24.2666C39.6666 22.3064 39.6666 21.3264 39.2851 20.5777C38.9496 19.9191 38.4141 19.3837 37.7556 19.0481C37.0069 18.6666 36.0268 18.6666 34.0666 18.6666H21.9333C19.9731 18.6666 18.993 18.6666 18.2443 19.0481C17.5857 19.3837 17.0503 19.9191 16.7147 20.5777C16.3333 21.3264 16.3333 22.3064 16.3333 24.2666V31.7333C16.3333 33.6935 16.3333 34.6736 16.7147 35.4223C17.0503 36.0808 17.5857 36.6163 18.2443 36.9518C18.993 37.3333 19.9731 37.3333 21.9333 37.3333Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ </template>
+ <template v-else>
+ <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <rect class="text-blue-50" width="56" height="56" rx="28" fill="currentColor"/>
+ <path d="M33.8333 24.4999C33.8333 23.9028 33.6055 23.3057 33.1499 22.8501C32.6943 22.3945 32.0972 22.1667 31.5 22.1667M31.5 31.5C35.366 31.5 38.5 28.366 38.5 24.5C38.5 20.634 35.366 17.5 31.5 17.5C27.634 17.5 24.5 20.634 24.5 24.5C24.5 24.8193 24.5214 25.1336 24.5628 25.4415C24.6309 25.948 24.6649 26.2013 24.642 26.3615C24.6181 26.5284 24.5877 26.6184 24.5055 26.7655C24.4265 26.9068 24.2873 27.046 24.009 27.3243L18.0467 33.2866C17.845 33.4884 17.7441 33.5893 17.6719 33.707C17.608 33.8114 17.5608 33.9252 17.5322 34.0442C17.5 34.1785 17.5 34.3212 17.5 34.6065V36.6333C17.5 37.2867 17.5 37.6134 17.6272 37.863C17.739 38.0825 17.9175 38.261 18.137 38.3728C18.3866 38.5 18.7133 38.5 19.3667 38.5H22.1667V36.1667H24.5V33.8333H26.8333L28.6757 31.991C28.954 31.7127 29.0932 31.5735 29.2345 31.4945C29.3816 31.4123 29.4716 31.3819 29.6385 31.358C29.7987 31.3351 30.052 31.3691 30.5585 31.4372C30.8664 31.4786 31.1807 31.5 31.5 31.5Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ </template>
+ </template>
+ <template #title>
+ <template v-if="isMailSent">Check your email</template>
+ <template v-else>Forgot password?</template>
+ </template>
+ <template v-if="isMailSent">
+ <div class="text-center">We sent a password reset link to <br/><span>{{form.email}}</span></div>
+ <div class="w-full p-4 text-center">
+ <span class="mt-4">Didn't receive the email? <a href="#" class="ml-1" @click.prevent="send">Click to resend</a></span>
+ </div>
+ </template>
+ <template v-else>
+ <div class="text-center">No worries, we'll send you reset instructions.</div>
+ <form @submit.prevent="send" @keydown="form.onKeydown($event)" class="p-4">
+ <text-input name="email" :form="form" label="Email" placeholder="Your email address" :required="true" />
+
+ <div class="w-full mt-6">
+ <v-button :loading="form.busy" class="w-full my-3">Reset password</v-button>
+ </div>
+ </form>
+ </template>
+ <div class="w-full text-center">
+ <a href="#" @click.prevent="close" class="text-xs hover:underline text-gray-500 sm:text-sm hover:text-gray-700">
+ <svg class="inline mr-1" width="15" height="14" viewBox="0 0 15 14" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M13.3334 6.99996H1.66669M1.66669 6.99996L7.50002 12.8333M1.66669 6.99996L7.50002 1.16663" stroke="#475467" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ Back to log in
+ </a>
+ </div>
+ </modal>
+ </template>
+
+ <script>
+ import Form from 'vform'
+
+ export default {
+ name: 'ForgotPasswordModal',
+ components: { },
+ props: {
+ show: {
+ type: Boolean,
+ required: true
+ }
+ },
+ data: () => ({
+ isMailSent: false,
+ form: new Form({
+ email: ''
+ })
+ }),
+ methods: {
+ async send () {
+ const { data } = await this.form.post('/api/password/email')
+ this.isMailSent = true
+ },
+ close () {
+ this.$emit('close')
+ this.isMailSent = false
+ }
+ }
+ }
+ </script>
diff --git a/client/components/pages/auth/components/LoginForm.vue b/client/components/pages/auth/components/LoginForm.vue
new file mode 100644
index 000000000..c1fbfba11
--- /dev/null
+++ b/client/components/pages/auth/components/LoginForm.vue
@@ -0,0 +1,115 @@
+<template>
+ <div>
+ <forgot-password-modal :show="showForgotModal" @close="showForgotModal=false" />
+
+ <form class="mt-4" @submit.prevent="login" @keydown="form.onKeydown($event)">
+ <!-- Email -->
+ <text-input name="email" :form="form" label="Email" :required="true" placeholder="Your email address" />
+
+ <!-- Password -->
+ <text-input native-type="password" placeholder="Your password"
+ name="password" :form="form" label="Password" :required="true"
+ />
+
+ <!-- Remember Me -->
+ <div class="relative flex items-center my-5">
+ <v-checkbox v-model="remember" class="w-full md:w-1/2" name="remember" size="small">
+ Remember me
+ </v-checkbox>
+
+ <div class="w-full md:w-1/2 text-right">
+ <a href="#" class="text-xs hover:underline text-gray-500 sm:text-sm hover:text-gray-700" @click.prevent="showForgotModal=true">
+ Forgot your password?
+ </a>
+ </div>
+ </div>
+
+ <!-- Submit Button -->
+ <v-button dusk="btn_login" :loading="form.busy">
+ Log in to continue
+ </v-button>
+
+ <p class="text-gray-500 mt-4">
+ Don't have an account?
+ <a v-if="isQuick" href="#" class="font-semibold ml-1" @click.prevent="$emit('openRegister')">Sign Up</a>
+ <router-link v-else :to="{name:'register'}" class="font-semibold ml-1">
+ Sign Up
+ </router-link>
+ </p>
+ </form>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import Form from 'vform'
+import Cookies from 'js-cookie'
+import { useAuthStore } from '../../../../stores/auth.js'
+import OpenFormFooter from '../../OpenFormFooter.vue'
+import Testimonials from '../../welcome/Testimonials.vue'
+import ForgotPasswordModal from '../ForgotPasswordModal.vue'
+
+export default {
+ name: 'LoginForm',
+ components: {
+ OpenFormFooter,
+ Testimonials,
+ ForgotPasswordModal
+ },
+ props: {
+ isQuick: {
+ type: Boolean,
+ required: false,
+ default: false
+ }
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ authStore
+ }
+ },
+
+ data: () => ({
+ form: new Form({
+ email: '',
+ password: ''
+ }),
+ remember: false,
+ showForgotModal: false
+ }),
+
+ methods: {
+ async login () {
+ // Submit the form.
+ const { data } = await this.form.post('/api/login')
+
+ // Save the token.
+ this.authStore.saveToken(data.token, this.remember)
+
+ // Fetch the user.
+ await this.authStore.fetchUser()
+
+ // Redirect home.
+ this.redirect()
+ },
+
+ redirect () {
+ if (this.isQuick) {
+ this.$emit('afterQuickLogin')
+ return
+ }
+
+ const intendedUrl = Cookies.get('intended_url')
+
+ if (intendedUrl) {
+ Cookies.remove('intended_url')
+ this.$router.push({ path: intendedUrl })
+ } else {
+ this.$router.push({ name: 'home' })
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/auth/components/QuickRegister.vue b/client/components/pages/auth/components/QuickRegister.vue
new file mode 100644
index 000000000..41a152fd0
--- /dev/null
+++ b/client/components/pages/auth/components/QuickRegister.vue
@@ -0,0 +1,76 @@
+<template>
+ <div>
+ <!-- Login modal -->
+ <modal :show="showLoginModal" @close="showLoginModal=false" max-width="lg">
+ <template #icon>
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-8 h-8">
+ <path stroke-linecap="round" stroke-linejoin="round" d="M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z" />
+ </svg>
+ </template>
+ <template #title>
+ Login to OpnForm
+ </template>
+ <div class="px-4">
+ <login-form :isQuick="true" @openRegister="openRegister" @afterQuickLogin="afterQuickLogin" />
+ </div>
+ </modal>
+
+
+ <!-- Register modal -->
+ <modal :show="showRegisterModal" @close="$emit('close')" max-width="lg">
+ <template #icon>
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-8 h-8">
+ <path stroke-linecap="round" stroke-linejoin="round" d="M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z" />
+ </svg>
+ </template>
+ <template #title>
+ Create an account
+ </template>
+ <div class="px-4">
+ <register-form :isQuick="true" @openLogin="openLogin" @afterQuickLogin="afterQuickLogin" />
+ </div>
+ </modal>
+
+ </div>
+</template>
+
+<script>
+import LoginForm from './LoginForm.vue'
+import RegisterForm from './RegisterForm.vue'
+
+export default {
+ name: 'QuickRegister',
+ components: {
+ LoginForm,
+ RegisterForm
+ },
+ props: {
+ showRegisterModal: {
+ type: Boolean,
+ required: true
+ }
+ },
+
+ data: () => ({
+ showLoginModal: false,
+ }),
+
+ mounted() {
+ },
+
+ methods: {
+ openLogin(){
+ this.showLoginModal = true
+ this.$emit('close')
+ },
+ openRegister(){
+ this.showLoginModal = false
+ this.$emit('reopen')
+ },
+ afterQuickLogin(){
+ this.showLoginModal = false
+ this.$emit('afterLogin')
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/auth/components/RegisterForm.vue b/client/components/pages/auth/components/RegisterForm.vue
new file mode 100644
index 000000000..740e8c512
--- /dev/null
+++ b/client/components/pages/auth/components/RegisterForm.vue
@@ -0,0 +1,154 @@
+<template>
+ <div>
+ <form class="mt-4" @submit.prevent="register" @keydown="form.onKeydown($event)">
+ <!-- Name -->
+ <text-input name="name" :form="form" label="Name" placeholder="Your name" :required="true" />
+
+ <!-- Email -->
+ <text-input name="email" :form="form" label="Email" :required="true" placeholder="Your email address" />
+
+ <select-input name="hear_about_us" :options="hearAboutUsOptions" :form="form" placeholder="Select option"
+ label="How did you hear about us?" :required="true"
+ />
+
+ <!-- Password -->
+ <text-input native-type="password" placeholder="Enter password"
+ name="password" :form="form" label="Password" :required="true"
+ />
+
+ <!-- Password Confirmation-->
+ <text-input native-type="password" :form="form" :required="true" placeholder="Enter confirm password"
+ name="password_confirmation" label="Confirm Password"
+ />
+
+ <checkbox-input :form="form" name="agree_terms" :required="true">
+ <template #label>
+ I agree with the <router-link :to="{name:'terms-conditions'}" target="_blank">
+ Terms and conditions
+ </router-link> and <router-link :to="{name:'privacy-policy'}" target="_blank">
+ Privacy policy
+ </router-link> of the website and I accept them.
+ </template>
+ </checkbox-input>
+
+ <!-- Submit Button -->
+ <v-button :loading="form.busy">
+ Create an account
+ </v-button>
+
+ <p class="text-gray-500 mt-4">
+ Already have an account?
+ <a v-if="isQuick" href="#" class="font-semibold ml-1" @click.prevent="$emit('openLogin')">Log In</a>
+ <router-link v-else :to="{name:'login'}" class="font-semibold ml-1">
+ Log In
+ </router-link>
+ </p>
+ </form>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import Form from 'vform'
+import { useAuthStore } from '../../../../stores/auth.js'
+import { initCrisp } from '../../../middleware/check-auth.js'
+
+export default {
+ name: 'RegisterForm',
+ components: {},
+ props: {
+ isQuick: {
+ type: Boolean,
+ required: false,
+ default: false
+ }
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ authStore
+ }
+ },
+
+ data: () => ({
+ form: new Form({
+ name: '',
+ email: '',
+ password: '',
+ password_confirmation: '',
+ agree_terms: false,
+ appsumo_license: null
+ }),
+ mustVerifyEmail: false
+ }),
+
+ computed: {
+ hearAboutUsOptions () {
+ const options = [
+ { name: 'Facebook', value: 'facebook' },
+ { name: 'Twitter', value: 'twitter' },
+ { name: 'Reddit', value: 'reddit' },
+ { name: 'Github', value: 'github' },
+ { name: 'Search Engine (Google, DuckDuckGo...)', value: 'search_engine' },
+ { name: 'Friend or Colleague', value: 'friend_colleague' },
+ { name: 'Blog/Article', value: 'blog_article' }
+ ].map((value) => ({ value, sort: Math.random() }))
+ .sort((a, b) => a.sort - b.sort)
+ .map(({ value }) => value)
+ options.push({ name: 'Other', value: 'other' })
+ return options
+ }
+ },
+
+ mounted () {
+ // Set appsumo license
+ if (this.$route.query.appsumo_license !== undefined && this.$route.query.appsumo_license) {
+ this.form.appsumo_license = this.$route.query.appsumo_license
+ }
+ },
+
+ methods: {
+ async register () {
+ // Register the user.
+ const { data } = await this.form.post('/api/register')
+
+ // Must verify email fist.
+ if (data.status) {
+ this.mustVerifyEmail = true
+ } else {
+ // Log in the user.
+ const { data: { token } } = await this.form.post('/api/login')
+
+ // Save the token.
+ this.authStore.saveToken(token)
+
+ // Update the user.
+ await this.authStore.updateUser(data)
+
+ // Track event
+ this.$logEvent('register', { source: this.form.hear_about_us })
+
+ initCrisp(data)
+ this.$crisp.push(['set', 'session:event', [[['register', {}, 'blue']]]])
+
+ // AppSumo License
+ if (data.appsumo_license === false) {
+ this.alertError('Invalid AppSumo license. This probably happened because this license was already' +
+ ' attached to another OpnForm account. Please contact support.')
+ } else if (data.appsumo_license === true) {
+ this.alertSuccess('Your AppSumo license was successfully activated! You now have access to all the' +
+ ' features of the AppSumo deal.')
+ }
+
+ // Redirect
+ if (this.isQuick) {
+ this.$emit('afterQuickLogin')
+ } else {
+ this.$router.push({ name: 'forms.create' })
+ }
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/forms/NewFeatures.vue b/client/components/pages/forms/NewFeatures.vue
new file mode 100644
index 000000000..4841b19ce
--- /dev/null
+++ b/client/components/pages/forms/NewFeatures.vue
@@ -0,0 +1,107 @@
+<template>
+ <div id="new-features"
+ class="w-full bg-gray-50 dark:bg-gray-800 border rounded-lg mt-4"
+ >
+ <div class="border-b">
+ <div v-track.new_in_notionforms_click
+ class="relative flex items-center cursor-pointer hover:bg-gray-100 p-4" role="button"
+ @click.prevent="showNewFeatures=!showNewFeatures"
+ >
+ <div class="text-gray-700 dark:text-gray-300 pr-4">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor" stroke-width="2"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"
+ />
+ </svg>
+ </div>
+ <div>
+ <p class="text-gray-700 dark:text-gray-300 font-semibold">
+ New in OpnForm
+ </p>
+ <p class="text-sm text-gray-700 dark:text-gray-300">
+ Click here to see our new features
+ </p>
+ </div>
+ </div>
+ <v-transition>
+ <ul v-if="showNewFeatures" class="list-disc list-inside border-t pt-2 p-4">
+ <li v-for="changelog in changelogEntries" :key="changelog.id" v-track.new_feature_click class="text-sm">
+ <a :href="changelog.url" target="_blank" class="text-gray-700 dark:text-gray-300">{{ changelog.title }}</a>
+ </li>
+ <li v-track.new_feature_read_more_click class="text-sm">
+ <a class="text-gray-700 dark:text-gray-300" :href="changelogLink" target="_blank">Read more</a>
+ </li>
+ </ul>
+ </v-transition>
+ </div>
+ <div class="relative flex items-center cursor-pointer hover:bg-gray-100 p-4">
+ <a v-track.feature_request_click="{user_has_forms:user.has_forms}" :href="requestFeatureLink"
+ class="absolute inset-0" target="_blank"
+ />
+ <div class="text-gray-700 dark:text-gray-300 pr-4">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"
+ stroke-width="2"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"
+ />
+ </svg>
+ </div>
+ <div>
+ <p class="text-gray-700 dark:text-gray-300 font-semibold">
+ An idea for a new feature?
+ </p>
+ <p class="text-sm text-gray-700 dark:text-gray-300">
+ Click here to request a new feature
+ </p>
+ </div>
+ </div>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import axios from 'axios'
+import { useAuthStore } from '../../../stores/auth';
+import VTransition from '~/components/global/transitions/VTransition.vue'
+
+export default {
+ components: { VTransition },
+ props: {},
+
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ user : computed(() => authStore.user)
+ }
+ },
+
+ data: () => ({
+ changelogEntries: [],
+ showNewFeatures: false
+ }),
+
+ mounted () {
+ this.loadChangelogEntries()
+ },
+
+ computed: {
+ requestFeatureLink () {
+ return this.$config.links.feature_requests
+ },
+ changelogLink () {
+ return this.$config.links.changelog_url
+ }
+ },
+
+ methods: {
+ loadChangelogEntries () {
+ axios.get('/api/content/changelog/entries').then(response => {
+ this.changelogEntries = response.data.splice(0, 3)
+ })
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/forms/create/CreateFormBaseModal.vue b/client/components/pages/forms/create/CreateFormBaseModal.vue
new file mode 100644
index 000000000..aa9cca493
--- /dev/null
+++ b/client/components/pages/forms/create/CreateFormBaseModal.vue
@@ -0,0 +1,157 @@
+<template>
+ <modal :show="show" :closeable="!aiForm.busy" @close="$emit('close')">
+ <template #icon>
+ <template v-if="state=='default'">
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-10 h-10 text-blue">
+ <path fill-rule="evenodd"
+ d="M12 3.75a.75.75 0 01.75.75v6.75h6.75a.75.75 0 010 1.5h-6.75v6.75a.75.75 0 01-1.5 0v-6.75H4.5a.75.75 0 010-1.5h6.75V4.5a.75.75 0 01.75-.75z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ </template>
+ <template v-else-if="state=='ai'">
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-8 h-8 text-blue-500">
+ <path fill-rule="evenodd"
+ d="M14.615 1.595a.75.75 0 01.359.852L12.982 9.75h7.268a.75.75 0 01.548 1.262l-10.5 11.25a.75.75 0 01-1.272-.71l1.992-7.302H3.75a.75.75 0 01-.548-1.262l10.5-11.25a.75.75 0 01.913-.143z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ </template>
+ </template>
+ <template #title>
+ <template v-if="state=='default'">
+ Choose a base for your form
+ </template>
+ <template v-else-if="state=='ai'">
+ AI-powered form generator
+ </template>
+ </template>
+ <div v-if="state=='default'" class="grid grid-cols-1 sm:grid-cols-2 gap-4 mt-8">
+ <div v-track.select_form_base="{base:'contact-form'}"
+ class="rounded-md border p-4 flex flex-col items-center cursor-pointer hover:bg-gray-50" @click="$emit('close')"
+ >
+ <div class="p-4">
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-8 h-8 text-blue-500">
+ <path d="M1.5 8.67v8.58a3 3 0 003 3h15a3 3 0 003-3V8.67l-8.928 5.493a3 3 0 01-3.144 0L1.5 8.67z" />
+ <path d="M22.5 6.908V6.75a3 3 0 00-3-3h-15a3 3 0 00-3 3v.158l9.714 5.978a1.5 1.5 0 001.572 0L22.5 6.908z" />
+ </svg>
+ </div>
+ <p class="font-medium">
+ Start from a simple contact form
+ </p>
+ </div>
+ <div v-if="aiFeaturesEnabled" v-track.select_form_base="{base:'ai'}"
+ class="rounded-md border p-4 flex flex-col items-center cursor-pointer hover:bg-gray-50" @click="state='ai'"
+ >
+ <div class="p-4 relative">
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-8 h-8 text-blue-500">
+ <path fill-rule="evenodd"
+ d="M14.615 1.595a.75.75 0 01.359.852L12.982 9.75h7.268a.75.75 0 01.548 1.262l-10.5 11.25a.75.75 0 01-1.272-.71l1.992-7.302H3.75a.75.75 0 01-.548-1.262l10.5-11.25a.75.75 0 01.913-.143z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ </div>
+ <p class="font-medium text-blue-700">
+ Use our AI to create the form
+ </p>
+ <span class="text-xs text-gray-500">(1 min)</span>
+ </div>
+ <div class="rounded-md border p-4 flex flex-col items-center cursor-pointer hover:bg-gray-50 relative">
+ <div class="p-4 relative">
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-8 h-8 text-blue-500">
+ <path
+ d="M11.25 5.337c0-.355-.186-.676-.401-.959a1.647 1.647 0 01-.349-1.003c0-1.036 1.007-1.875 2.25-1.875S15 2.34 15 3.375c0 .369-.128.713-.349 1.003-.215.283-.401.604-.401.959 0 .332.278.598.61.578 1.91-.114 3.79-.342 5.632-.676a.75.75 0 01.878.645 49.17 49.17 0 01.376 5.452.657.657 0 01-.66.664c-.354 0-.675-.186-.958-.401a1.647 1.647 0 00-1.003-.349c-1.035 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401.31 0 .557.262.534.571a48.774 48.774 0 01-.595 4.845.75.75 0 01-.61.61c-1.82.317-3.673.533-5.555.642a.58.58 0 01-.611-.581c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.035-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959a.641.641 0 01-.658.643 49.118 49.118 0 01-4.708-.36.75.75 0 01-.645-.878c.293-1.614.504-3.257.629-4.924A.53.53 0 005.337 15c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.036 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.369 0 .713.128 1.003.349.283.215.604.401.959.401a.656.656 0 00.659-.663 47.703 47.703 0 00-.31-4.82.75.75 0 01.83-.832c1.343.155 2.703.254 4.077.294a.64.64 0 00.657-.642z"
+ />
+ </svg>
+ </div>
+ <p class="font-medium">
+ Start from a template
+ </p>
+ <router-link v-track.select_form_base="{base:'template'}" :to="{name:'templates'}" class="absolute inset-0" />
+ </div>
+ </div>
+ <div v-else-if="state=='ai'">
+ <a class="absolute top-4 left-4" href="#" @click.prevent="state='default'">
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-4 h-4 inline -mt-1">
+ <path fill-rule="evenodd" d="M7.72 12.53a.75.75 0 010-1.06l7.5-7.5a.75.75 0 111.06 1.06L9.31 12l6.97 6.97a.75.75 0 11-1.06 1.06l-7.5-7.5z" clip-rule="evenodd" />
+ </svg>
+ Back
+ </a>
+ <text-area-input label="Form Description" :disabled="loading?true:null" :form="aiForm" name="form_prompt" help="Give us a description of the form you want to build (the more details the better)"
+ placeholder="A simple contact form, with a name, email and message field"
+ />
+ <v-button class="w-full" :loading="loading" @click.prevent="generateForm">
+ Generate a form
+ </v-button>
+ <p class="text-gray-500 text-xs text-center mt-1">
+ ~60 sec
+ </p>
+ </div>
+ </modal>
+</template>
+
+<script>
+import Loader from '~/components/global/Loader.vue'
+import Form from 'vform'
+import axios from 'axios'
+
+export default {
+ name: 'CreateFormBaseModal',
+ components: { Loader },
+ props: {
+ show: { type: Boolean, required: true }
+ },
+
+ data: () => ({
+ state: 'default',
+ aiForm: new Form({
+ form_prompt: ''
+ }),
+ loading: false
+ }),
+
+ computed: {
+ aiFeaturesEnabled () {
+ return this.$config.ai_features_enabled
+ }
+ },
+
+ methods: {
+ generateForm () {
+ if (this.loading) return
+
+ this.loading = true
+ this.aiForm.post('/api/forms/ai/generate').then(response => {
+ this.alertSuccess(response.data.message)
+ this.fetchGeneratedForm(response.data.ai_form_completion_id)
+ }).catch(error => {
+ this.alertError(error.response.data.message)
+ this.loading = false
+ this.state = 'default'
+ })
+ },
+ fetchGeneratedForm (generationId) {
+ // check every 4 seconds if form is generated
+ setTimeout(() => {
+ axios.get('/api/forms/ai/' + generationId).then(response => {
+ if (response.data.ai_form_completion.status === 'completed') {
+ this.alertSuccess(response.data.message)
+ this.$emit('form-generated', JSON.parse(response.data.ai_form_completion.result))
+ this.$emit('close')
+ } else if (response.data.ai_form_completion.status === 'failed') {
+ this.alertError('Something went wrong, please try again.')
+ this.state = 'default'
+ this.loading = false
+ } else {
+ this.fetchGeneratedForm(generationId)
+ }
+ }).catch(error => {
+ this.alertError(error.response.data.message)
+ this.state = 'default'
+ this.loading = false
+ })
+ }, 4000)
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/forms/show/EmbedCode.vue b/client/components/pages/forms/show/EmbedCode.vue
new file mode 100644
index 000000000..11c843b2d
--- /dev/null
+++ b/client/components/pages/forms/show/EmbedCode.vue
@@ -0,0 +1,55 @@
+<template>
+ <div>
+ <h3 class="font-semibold text-xl">Embed</h3>
+ <p>Embed your form on your website by copying the HTML code below.</p>
+ <copy-content :content="embedCode" buttonText="Copy Code">
+ <template #icon>
+ <svg class="h-4 w-4 -mt-1 text-blue-600 inline mr-1" viewBox="0 0 18 18" fill="none"
+ xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M11.0833 11.5L13.5833 9L11.0833 6.5M6.91667 6.5L4.41667 9L6.91667 11.5M5.5 16.5H12.5C13.9001 16.5 14.6002 16.5 15.135 16.2275C15.6054 15.9878 15.9878 15.6054 16.2275 15.135C16.5 14.6002 16.5 13.9001 16.5 12.5V5.5C16.5 4.09987 16.5 3.3998 16.2275 2.86502C15.9878 2.39462 15.6054 2.01217 15.135 1.77248C14.6002 1.5 13.9001 1.5 12.5 1.5H5.5C4.09987 1.5 3.3998 1.5 2.86502 1.77248C2.39462 2.01217 2.01217 2.39462 1.77248 2.86502C1.5 3.3998 1.5 4.09987 1.5 5.5V12.5C1.5 13.9001 1.5 14.6002 1.77248 15.135C2.01217 15.6054 2.39462 15.9878 2.86502 16.2275C3.3998 16.5 4.09987 16.5 5.5 16.5Z"
+ stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ </template>
+ Copy Code
+ </copy-content>
+ </div>
+</template>
+
+<script>
+import CopyContent from '../../../open/forms/components/CopyContent.vue'
+
+export default {
+ name: 'EmbedCode',
+ components: { CopyContent },
+ props: {
+ form: { type: Object, required: true },
+ extraQueryParam: { type: String, default: '' }
+ },
+
+ data: () => ({
+
+ }),
+
+ computed: {
+ embedCode() {
+ const share_url = (this.extraQueryParam) ? this.form.share_url + "?" + this.extraQueryParam : this.form.share_url + this.extraQueryParam
+ return '<iframe style="border:none;width:100%;" height="' + this.formHeight + 'px" src="' + share_url + '"></iframe>'
+ },
+ formHeight() {
+ let height = 200
+ if (!this.form.hide_title && !this.extraQueryParam) {
+ height += 60
+ }
+ height += this.form.properties.filter((property) => {
+ return !property.hidden
+ }).length * 70
+
+ return height
+ }
+ },
+
+ methods: {}
+}
+</script>
+
\ No newline at end of file
diff --git a/client/components/pages/forms/show/EmbedFormAsPopupModal.vue b/client/components/pages/forms/show/EmbedFormAsPopupModal.vue
new file mode 100644
index 000000000..bc6a3d0da
--- /dev/null
+++ b/client/components/pages/forms/show/EmbedFormAsPopupModal.vue
@@ -0,0 +1,199 @@
+<template>
+ <div>
+ <v-button
+ v-track.share_embed_form_popup_click="{form_id:form.id, form_slug:form.slug}"
+ class="w-full"
+ color="light-gray"
+ @click="showEmbedFormAsPopupModal=true"
+ >
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-4 text-blue-600 inline" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.068.157 2.148.279 3.238.364.466.037.893.281 1.153.671L12 21l2.652-3.978c.26-.39.687-.634 1.153-.67 1.09-.086 2.17-.208 3.238-.365 1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"
+ />
+ </svg>
+ Embed form as popup
+ </v-button>
+
+ <modal :show="showEmbedFormAsPopupModal" @close="onClose">
+ <template #icon>
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-10 h-10 text-blue" fill="none" viewBox="0 0 24 24" stroke="currentColor">
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.068.157 2.148.279 3.238.364.466.037.893.281 1.153.671L12 21l2.652-3.978c.26-.39.687-.634 1.153-.67 1.09-.086 2.17-.208 3.238-.365 1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"
+ />
+ </svg>
+ </template>
+ <template #title>
+ <span>Add the popup to your website</span>
+ </template>
+
+ <div class="p-4">
+ <h3 class="border-t text-xl font-semibold mb-2 pt-6">
+ Demo
+ </h3>
+ <p class="pb-6">
+ A live preview of your form popup was just added to this page. <span class="font-semibold text-blue-800">Click on the button on the bottom
+ {{ advancedOptions.position }} corner to try it</span>.
+ </p>
+
+ <h3 class="border-t text-xl font-semibold mb-2 pt-6">
+ How does it work?
+ </h3>
+ <p>Paste the following code snippet in the <b>&lt;head&gt;</b> section of your website.</p>
+
+ <div
+ class="border border-nt-blue-light bg-blue-50 dark:bg-notion-dark-light rounded-md p-4 mb-5 w-full mx-auto mt-4 select-all"
+ >
+ <div class="flex items-center">
+ <p class="select-all text-nt-blue flex-grow break-all">
+ {{ embedPopupCode }}
+ </p>
+ <div class="hover:bg-nt-blue-lighter rounded transition-colors cursor-pointer" @click="copyToClipboard">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-nt-blue" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M8 5H6a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2v-1M8 5a2 2 0 002 2h2a2 2 0 002-2M8 5a2 2 0 012-2h2a2 2 0 012 2m0 0h2a2 2 0 012 2v3m2 4H10m0 0l3-3m-3 3l3 3"
+ />
+ </svg>
+ </div>
+ </div>
+ </div>
+
+ <collapse class="py-5 w-full border rounded-md px-4" :model-value="false">
+ <template #title>
+ <div class="flex">
+ <h3 class="font-semibold block text-lg">
+ Advanced options
+ </h3>
+ </div>
+ </template>
+ <div class="border-t mt-4 -mx-4" />
+ <toggle-switch-input v-model="advancedOptions.hide_title" name="hide_title" class="mt-4"
+ label="Hide Form Title"
+ :disabled="(form.hide_title===true)?true:null"
+ :help="hideTitleHelp"
+ />
+ <color-input v-model="advancedOptions.bgcolor" name="bgcolor" class="mt-4"
+ label="Circle Background Color"
+ />
+ <text-input v-model="advancedOptions.emoji" name="emoji" class="mt-4"
+ label="Emoji" :max-char-limit="2"
+ />
+ <flat-select-input v-model="advancedOptions.position" name="position" class="mt-4"
+ label="Position"
+ :options="[
+ {name:'Bottom Right',value:'right'},
+ {name:'Bottom Left',value:'left'},
+ ]"
+ />
+ <text-input v-model="advancedOptions.width" name="width" class="mt-4"
+ label="Form pop max width (px)" native-type="number"
+ />
+ </collapse>
+
+ <div class="flex justify-end mt-4">
+ <v-button color="gray" shade="light" @click="onClose">
+ Close
+ </v-button>
+ </div>
+ </div>
+ </modal>
+ </div>
+</template>
+
+<script>
+import Collapse from '~/components/global/Collapse.vue'
+
+export default {
+ name: 'EmbedFormAsPopupModal',
+ components: { Collapse },
+ props: {
+ form: { type: Object, required: true }
+ },
+
+ data: () => ({
+ showEmbedFormAsPopupModal: false,
+ embedScriptUrl: 'widgets/embed-min.js',
+ advancedOptions: {
+ hide_title: false,
+ emoji: '💬',
+ position: 'right',
+ bgcolor: '#3B82F6',
+ width: '500'
+ }
+ }),
+
+ computed: {
+ hideTitleHelp () {
+ return this.form.hide_title ? 'This option is disabled because the form title is already hidden' : null
+ },
+ shareUrl () {
+ return (this.advancedOptions.hide_title) ? this.form.share_url + '?hide_title=true' : this.form.share_url
+ },
+ embedPopupCode () {
+ const nfData = {
+ formurl: this.shareUrl,
+ emoji: this.advancedOptions.emoji,
+ position: this.advancedOptions.position,
+ bgcolor: this.advancedOptions.bgcolor,
+ width: this.advancedOptions.width
+ }
+ this.previewPopup(nfData)
+ return '<script async data-nf=\'' + JSON.stringify(nfData) + '\' src=\'' + this.asset(this.embedScriptUrl) + '\'></scrip' + 't>'
+ }
+ },
+
+ mounted () {
+ this.advancedOptions.bgcolor = this.form.color
+ },
+
+ methods: {
+ onClose () {
+ this.removePreview()
+ this.$crisp.push(['do', 'chat:show'])
+ this.showEmbedFormAsPopupModal = false
+ },
+ copyToClipboard () {
+ if (process.server) return
+ const str = this.embedPopupCode
+ const el = document.createElement('textarea')
+ el.value = str
+ document.body.appendChild(el)
+ el.select()
+ document.execCommand('copy')
+ document.body.removeChild(el)
+ },
+ removePreview () {
+ if (process.server) return
+ const oldP = document.head.querySelector('#nf-popup-preview')
+ if (oldP) {
+ oldP.remove()
+ }
+ const oldM = document.body.querySelector('.nf-main')
+ if (oldM) {
+ oldM.remove()
+ }
+ },
+ previewPopup (nfData) {
+ if (process.server) return
+ if (!this.showEmbedFormAsPopupModal) {
+ return
+ }
+
+ // Remove old preview, if there
+ this.removePreview()
+
+ // Hide crisp
+ this.$crisp.push(['do', 'chat:hide'])
+
+ // Add new preview
+ const el = document.createElement('script')
+ el.id = 'nf-popup-preview'
+ el.async = true
+ el.src = this.asset(this.embedScriptUrl)
+ el.setAttribute('data-nf', JSON.stringify(nfData))
+ document.head.appendChild(el)
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/forms/show/ExtraMenu.vue b/client/components/pages/forms/show/ExtraMenu.vue
new file mode 100644
index 000000000..5c5a2fc8e
--- /dev/null
+++ b/client/components/pages/forms/show/ExtraMenu.vue
@@ -0,0 +1,209 @@
+<template>
+ <div>
+ <div v-if="loadingDuplicate || loadingDelete" class="pr-4 pt-2">
+ <loader class="h-6 w-6 mx-auto" />
+ </div>
+ <dropdown v-else class="inline" dusk="nav-dropdown">
+ <template #trigger="{toggle}">
+ <v-button color="white" class="mr-2" @click.stop="toggle">
+ <svg class="w-4 h-4 inline -mt-1" viewBox="0 0 16 4" fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M8.00016 2.83366C8.4604 2.83366 8.8335 2.46056 8.8335 2.00033C8.8335 1.54009 8.4604 1.16699 8.00016 1.16699C7.53993 1.16699 7.16683 1.54009 7.16683 2.00033C7.16683 2.46056 7.53993 2.83366 8.00016 2.83366Z"
+ stroke="#344054" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"
+ />
+ <path
+ d="M13.8335 2.83366C14.2937 2.83366 14.6668 2.46056 14.6668 2.00033C14.6668 1.54009 14.2937 1.16699 13.8335 1.16699C13.3733 1.16699 13.0002 1.54009 13.0002 2.00033C13.0002 2.46056 13.3733 2.83366 13.8335 2.83366Z"
+ stroke="#344054" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"
+ />
+ <path
+ d="M2.16683 2.83366C2.62707 2.83366 3.00016 2.46056 3.00016 2.00033C3.00016 1.54009 2.62707 1.16699 2.16683 1.16699C1.70659 1.16699 1.3335 1.54009 1.3335 2.00033C1.3335 2.46056 1.70659 2.83366 2.16683 2.83366Z"
+ stroke="#344054" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ </v-button>
+ </template>
+ <a v-if="isMainPage && user" v-track.view_form_click="{form_id:form.id, form_slug:form.slug}" :href="form.share_url"
+ target="_blank"
+ class="block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
+ >
+ <svg class="w-4 h-4 mr-2" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path d="M1 12C1 12 5 4 12 4C19 4 23 12 23 12C23 12 19 20 12 20C5 20 1 12 1 12Z"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ <path
+ d="M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ View form
+ </a>
+ <router-link v-if="isMainPage" v-track.edit_form_click="{form_id:form.id, form_slug:form.slug}"
+ :to="{name:'forms.edit', params: {slug: form.slug}}"
+ class="block block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
+ >
+ <svg class="w-4 h-4 mr-2" width="18" height="17" viewBox="0 0 18 17" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M8.99998 15.6662H16.5M1.5 15.6662H2.89545C3.3031 15.6662 3.50693 15.6662 3.69874 15.6202C3.8688 15.5793 4.03138 15.512 4.1805 15.4206C4.34869 15.3175 4.49282 15.1734 4.78107 14.8852L15.25 4.4162C15.9404 3.72585 15.9404 2.60656 15.25 1.9162C14.5597 1.22585 13.4404 1.22585 12.75 1.9162L2.28105 12.3852C1.9928 12.6734 1.84867 12.8175 1.7456 12.9857C1.65422 13.1348 1.58688 13.2974 1.54605 13.4675C1.5 13.6593 1.5 13.8631 1.5 14.2708V15.6662Z"
+ stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ Edit
+ </router-link>
+ <a v-if="isMainPage" href="#"
+ class="block block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
+ @click.prevent="copyLink"
+ >
+ <svg class="w-4 h-4 mr-2" viewBox="0 0 16 10" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M6.00016 8.33317H4.66683C2.82588 8.33317 1.3335 6.84079 1.3335 4.99984C1.3335 3.15889 2.82588 1.6665 4.66683 1.6665H6.00016M10.0002 8.33317H11.3335C13.1744 8.33317 14.6668 6.84079 14.6668 4.99984C14.6668 3.15889 13.1744 1.6665 11.3335 1.6665H10.0002M4.66683 4.99984L11.3335 4.99984" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
+ </svg>
+ Copy link to share
+ </a>
+ <a v-track.duplicate_form_click="{form_id:form.id, form_slug:form.slug}"
+ href="#"
+ class="block block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
+ @click.prevent="duplicateForm"
+ >
+ <svg class="w-4 h-4 mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M8 7v8a2 2 0 002 2h6M8 7V5a2 2 0 012-2h4.586a1 1 0 01.707.293l4.414 4.414a1 1 0 01.293.707V15a2 2 0 01-2 2h-2M8 7H6a2 2 0 00-2 2v10a2 2 0 002 2h8a2 2 0 002-2v-2"
+ />
+ </svg>
+ Duplicate form
+ </a>
+ <a v-if="!isMainPage" v-track.create_template_click="{form_id:form.id, form_slug:form.slug}" href="#"
+ class="block block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
+ @click.prevent="showFormTemplateModal=true"
+ >
+ <svg class="w-4 h-4 mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor" stroke-width="2"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M17 14v6m-3-3h6M6 10h2a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v2a2 2 0 002 2zm10 0h2a2 2 0 002-2V6a2 2 0 00-2-2h-2a2 2 0 00-2 2v2a2 2 0 002 2zM6 20h2a2 2 0 002-2v-2a2 2 0 00-2-2H6a2 2 0 00-2 2v2a2 2 0 002 2z"
+ />
+ </svg>
+ Create Template
+ </a>
+ <a v-track.delete_form_click="{form_id:form.id, form_slug:form.slug}"
+ href="#"
+ class="block block px-4 py-2 text-md text-red-600 hover:bg-red-50 flex items-center"
+ @click.prevent="showDeleteFormModal=true"
+ >
+ <svg class="w-4 h-4 mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
+ />
+ </svg>
+ Delete form
+ </a>
+ </dropdown>
+
+ <!-- Delete Form Modal -->
+ <modal :show="showDeleteFormModal" icon-color="red" max-width="sm" @close="showDeleteFormModal=false">
+ <template #icon>
+ <svg class="w-10 h-10" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
+ />
+ </svg>
+ </template>
+ <template #title>
+ Delete form
+ </template>
+ <div class="p-3">
+ <p>
+ If you want to permanently delete this form and all of its data, you can do so below.
+ </p>
+ <div class="flex mt-4">
+ <v-button class="sm:w-1/2 mr-4" color="white" @click.prevent="showDeleteFormModal=false">
+ Cancel
+ </v-button>
+ <v-button class="sm:w-1/2" color="red" :loading="loadingDelete" @click.prevent="deleteForm">
+ Yes, delete it
+ </v-button>
+ </div>
+ </div>
+ </modal>
+
+ <form-template-modal v-if="!isMainPage && user" :form="form" :show="showFormTemplateModal" @close="showFormTemplateModal=false" />
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import axios from 'axios'
+import { useAuthStore } from '../../../../stores/auth'
+import { useFormsStore } from '../../../../stores/forms'
+import Dropdown from '~/components/global/Dropdown.vue'
+import FormTemplateModal from '../../../open/forms/components/templates/FormTemplateModal.vue'
+
+export default {
+ name: 'ExtraMenu',
+ components: { Dropdown, FormTemplateModal },
+ props: {
+ form: { type: Object, required: true },
+ isMainPage: { type: Boolean, required: false, default: false }
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ const formsStore = useFormsStore()
+ return {
+ formsStore,
+ user: computed(() => authStore.user)
+ }
+ },
+
+ data: () => ({
+ loadingDuplicate: false,
+ loadingDelete: false,
+ showDeleteFormModal: false,
+ showFormTemplateModal: false
+ }),
+
+ computed: {
+ formEndpoint: () => '/api/open/forms/{id}'
+ },
+
+ methods: {
+ copyLink () {
+ const el = document.createElement('textarea')
+ el.value = this.form.share_url
+ document.body.appendChild(el)
+ el.select()
+ document.execCommand('copy')
+ document.body.removeChild(el)
+ this.alertSuccess('Copied!')
+ },
+ duplicateForm () {
+ if (this.loadingDuplicate) return
+ this.loadingDuplicate = true
+ axios.post(this.formEndpoint.replace('{id}', this.form.id) + '/duplicate').then((response) => {
+ this.formsStore.addOrUpdate(response.data.new_form)
+ this.$router.push({ name: 'forms.show', params: { slug: response.data.new_form.slug } })
+ this.alertSuccess('Form was successfully duplicated.')
+ this.loadingDuplicate = false
+ })
+ },
+ deleteForm () {
+ if (this.loadingDelete) return
+ this.loadingDelete = true
+ axios.delete(this.formEndpoint.replace('{id}', this.form.id)).then(() => {
+ this.formsStore.remove(this.form)
+ this.$router.push({ name: 'home' })
+ this.alertSuccess('Form was deleted.')
+ this.loadingDelete = false
+ })
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/forms/show/FormCleanings.vue b/client/components/pages/forms/show/FormCleanings.vue
new file mode 100644
index 000000000..be3afc872
--- /dev/null
+++ b/client/components/pages/forms/show/FormCleanings.vue
@@ -0,0 +1,107 @@
+<template>
+ <v-transition>
+ <div v-if="hasCleanings && !hideWarning" class="border border-gray-300 dark:border-gray-600 rounded-md bg-white p-2"
+ :class="{'hover:bg-yellow-50 dark:hover:bg-yellow-900':!collapseOpened}"
+ >
+ <collapse v-model="collapseOpened">
+ <template #title>
+ <p class="text-yellow-500 dark:text-yellow-400 font-semibold text-sm p-1 pr-4">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
+ stroke="currentColor" class="w-6 h-6 inline"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"
+ />
+ </svg>
+ Some features that are included in our {{ form.is_pro ? 'Enterprise' : 'Pro' }} plan are disabled when
+ publicly sharing this form<span v-if="specifyFormOwner"> (only owners of this form can see this)</span>.
+ </p>
+ </template>
+
+ <div class="border-t mt-1 p-4 pb-2 -mx-2">
+ <p class="text-gray-500 text-sm" v-html="cleaningContent" />
+ <p class="text-gray-500 text-sm mb-4 font-semibold">
+ <router-link :to="{name:'pricing'}">
+ {{ form.is_pro ? 'Upgrade your OpnForms plan today' : 'Start your free OpnForms trial' }}
+ </router-link>
+ to unlock all of our features and build powerful forms.
+ </p>
+ <div class="flex flex-wrap items-end w-full">
+ <div class="flex-grow flex pr-2">
+ <v-button v-track.upgrade_from_form_cleanings_click size="small" class="inline-block" :to="{name:'pricing'}">
+ {{ form.is_pro ? 'Upgrade plan' : 'Start free trial' }}
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
+ stroke="currentColor" class="w-4 h-4 inline -mt-[2px]"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" d="M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3" />
+ </svg>
+ </v-button>
+ <v-button color="white" size="small" class="ml-2" @click.prevent="openCrisp">
+ Contact us
+ </v-button>
+ </div>
+ <v-button v-if="hideable" color="white" size="small" class="mt-2" @click.prevent="hideWarning=true">
+ Hide warning
+ </v-button>
+ </div>
+ </div>
+ </collapse>
+ </div>
+ </v-transition>
+</template>
+<script>
+
+import Collapse from '~/components/global/Collapse.vue'
+import VButton from '~/components/global/VButton.vue'
+import VTransition from '~/components/global/transitions/VTransition.vue'
+
+export default {
+ name: 'FormCleanings',
+ components: { VTransition, VButton, Collapse },
+ props: {
+ form: { type: Object, required: true },
+ specifyFormOwner: { type: Boolean, default: false },
+ hideable: { type: Boolean, default: false }
+ },
+ data () {
+ return {
+ collapseOpened: false,
+ hideWarning: false
+ }
+ },
+ computed: {
+ hasCleanings () {
+ return this.form.cleanings && Object.keys(this.form.cleanings).length > 0
+ },
+ cleanings () {
+ return this.form.cleanings
+ },
+ cleaningContent () {
+ let message = ''
+ Object.keys(this.cleanings).forEach((key) => {
+ let fieldName = key.charAt(0).toUpperCase() + key.slice(1)
+ if (fieldName !== 'Form') {
+ fieldName = '"' + fieldName + '" field'
+ }
+ let fieldInfo = '<span class="font-semibold">' + fieldName + '</span><br/><ul class=\'list-disc list-inside\'>'
+ this.cleanings[key].forEach((msg) => {
+ fieldInfo = fieldInfo + '<li>' + msg + '</li>'
+ })
+ if (fieldInfo) {
+ message = message + fieldInfo + '<ul/><br/>'
+ }
+ })
+ return message
+ }
+ },
+ watch: {},
+ mounted () {
+ },
+ methods: {
+ openCrisp () {
+ this.$crisp.push(['do', 'chat:show'])
+ this.$crisp.push(['do', 'chat:open'])
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/forms/show/FormQrCode.vue b/client/components/pages/forms/show/FormQrCode.vue
new file mode 100644
index 000000000..d01b25a65
--- /dev/null
+++ b/client/components/pages/forms/show/FormQrCode.vue
@@ -0,0 +1,50 @@
+<template>
+ <div>
+ <h3 class="font-semibold text-xl">QR Code</h3>
+ <p>Scan the QR code to open the form (Right click to copy the image)</p>
+ <div class="flex items-center">
+ <img v-if="QrUrl" :src="QrUrl" class="m-auto" />
+ </div>
+ </div>
+</template>
+
+<script>
+import QRCode from 'qrcode'
+export default {
+ name: 'FormQrCode',
+ props: {
+ form: { type: Object, required: true },
+ extraQueryParam: { type: String, default: '' }
+ },
+
+ data () {
+ return {
+ QrUrl: null
+ }
+ },
+
+ computed: {
+ shareUrl () {
+ return (this.extraQueryParam) ? this.form.share_url + "?" + this.extraQueryParam : this.form.share_url + this.extraQueryParam
+ }
+ },
+
+ watch: {
+ shareUrl () {
+ this.generateQR()
+ }
+ },
+
+ mounted () {
+ this.generateQR()
+ },
+
+ methods: {
+ generateQR () {
+ QRCode.toDataURL(this.shareUrl).then(url => {
+ this.QrUrl = url
+ })
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/forms/show/RegenerateFormLink.vue b/client/components/pages/forms/show/RegenerateFormLink.vue
new file mode 100644
index 000000000..3d35ef1ed
--- /dev/null
+++ b/client/components/pages/forms/show/RegenerateFormLink.vue
@@ -0,0 +1,117 @@
+<template>
+ <div>
+ <v-button
+ class="w-full"
+ color="light-gray"
+ v-track.regenerate_form_link_click="{form_id:form.id, form_slug:form.slug}"
+ @click="showGenerateFormLinkModal=true"
+ >
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-4 text-blue-600 inline" fill="none"
+ viewBox="0 0 24 24" stroke="currentColor">
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"
+ />
+ </svg>
+ Regenerate form link
+ </v-button>
+
+ <!-- Regenerate form link modal -->
+ <modal :show="showGenerateFormLinkModal" @close="showGenerateFormLinkModal=false">
+ <template #icon>
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-10 h-10 text-blue-600" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor">
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"
+ />
+ </svg>
+ </template>
+ <template #title>
+ Generate new form link
+ </template>
+ <div class="p-4">
+ <p>
+ You can choose between two different URL formats for your form.
+ <span class="font-semibold">Be careful, changing your form URL is not a reversible operation</span>.
+ Make sure to udpate your form URL everywhere where it's used.
+ </p>
+ <div class="border-t py-4 mt-4">
+ <h3 class="text-xl text-gray-700 font-semibold">
+ Human Readable URL
+ </h3>
+ <p>If your users are going to see this url, you might want to make nice and readable. Example:</p>
+ <p class="text-gray-600 border p-4 bg-gray-50 rounded-md mt-4">
+ https://opnform.com/forms/contact
+ </p>
+ <div class="text-center mt-4">
+ <v-button :loading="loadingNewLink" color="outline-blue" @click="regenerateLink('slug')">
+ Generate a Human Readable URL
+ </v-button>
+ </div>
+ </div>
+ <div class="border-t pt-4 mt-4">
+ <h3 class="text-xl text-gray-700 font-semibold">
+ Random ID URL
+ </h3>
+ <p>
+ If your user are not going to see your form url (if it's embedded), and if you prefer to have a random
+ non-guessable URL. Example:
+ </p>
+ <p class="text-gray-600 p-4 border bg-gray-50 rounded-md mt-4">
+ https://opnform.com/forms/b4417f9c-34ae-4421-8006-832ee47786e7
+ </p>
+ <div class="text-center mt-4">
+ <v-button :loading="loadingNewLink" color="outline-blue" @click="regenerateLink('uuid')">
+ Generate a Random ID URL
+ </v-button>
+ </div>
+ </div>
+ </div>
+ </modal>
+
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import axios from 'axios'
+import { useFormsStore } from '../../../../stores/forms'
+
+export default {
+ name: 'RegenerateFormLink',
+ components: {},
+ props: {
+ form: { type: Object, required: true }
+ },
+
+ setup () {
+ const formsStore = useFormsStore()
+ return {
+ formsStore
+ }
+ },
+
+ data: () => ({
+ loadingNewLink: false,
+ showGenerateFormLinkModal: false,
+ }),
+
+ computed: {
+ formEndpoint: () => '/api/open/forms/{id}',
+ },
+
+ methods: {
+ regenerateLink(option) {
+ if (this.loadingNewLink) return
+ this.loadingNewLink = true
+ axios.put(this.formEndpoint.replace('{id}', this.form.id) + '/regenerate-link/' + option).then((response) => {
+ this.formsStore.addOrUpdate(response.data.form)
+ this.$router.push({name: 'forms.show', params: {slug: response.data.form.slug}})
+ this.alertSuccess(response.data.message)
+ this.loadingNewLink = false
+ }).finally(() => {
+ this.showGenerateFormLinkModal = false
+ })
+ },
+ }
+}
+</script>
diff --git a/client/components/pages/forms/show/ShareLink.vue b/client/components/pages/forms/show/ShareLink.vue
new file mode 100644
index 000000000..b9e0f88a9
--- /dev/null
+++ b/client/components/pages/forms/show/ShareLink.vue
@@ -0,0 +1,44 @@
+<template>
+ <div>
+ <h3 class="font-semibold text-xl">Share Link</h3>
+ <p>Your form is now published and ready to be shared with the world! Copy this link to share your form
+ on social media, messaging apps or via email.</p>
+ <copy-content :content="share_url" :is-draft="form.visibility=='draft'">
+ <template #icon>
+ <svg class="h-4 w-4 -mt-1 text-blue-600 inline mr-1" viewBox="0 0 20 10" fill="none"
+ xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M7.49984 9.16634H5.83317C3.53198 9.16634 1.6665 7.30086 1.6665 4.99967C1.6665 2.69849 3.53198 0.833008 5.83317 0.833008H7.49984M12.4998 9.16634H14.1665C16.4677 9.16634 18.3332 7.30086 18.3332 4.99967C18.3332 2.69849 16.4677 0.833008 14.1665 0.833008H12.4998M5.83317 4.99967L14.1665 4.99968"
+ stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ </template>
+ Copy Link
+ </copy-content>
+ </div>
+</template>
+
+<script>
+import CopyContent from '../../../open/forms/components/CopyContent.vue'
+
+export default {
+ name: 'ShareLink',
+ components: { CopyContent },
+ props: {
+ form: { type: Object, required: true },
+ extraQueryParam: { type: String, default: '' }
+ },
+
+ data: () => ({
+
+ }),
+
+ computed: {
+ share_url () {
+ return (this.extraQueryParam) ? this.form.share_url + '?' + this.extraQueryParam : this.form.share_url + this.extraQueryParam
+ }
+ },
+
+ methods: {}
+}
+</script>
+
\ No newline at end of file
diff --git a/client/components/pages/forms/show/UrlFormPrefill.vue b/client/components/pages/forms/show/UrlFormPrefill.vue
new file mode 100644
index 000000000..5eb3f5ba8
--- /dev/null
+++ b/client/components/pages/forms/show/UrlFormPrefill.vue
@@ -0,0 +1,99 @@
+<template>
+ <div class="flex">
+ <v-button
+ class="w-full"
+ color="light-gray"
+ v-track.url_form_prefill_click="{form_id:form.id, form_slug:form.slug}"
+ @click="showUrlFormPrefillModal=true"
+ >
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-4 text-blue-600 inline" fill="none"
+ viewBox="0 0 24 24" stroke="currentColor">
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M17 16v2a2 2 0 01-2 2H5a2 2 0 01-2-2v-7a2 2 0 012-2h2m3-4H9a2 2 0 00-2 2v7a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-1m-1 4l-3 3m0 0l-3-3m3 3V3"
+ />
+ </svg>
+ Url form pre-fill
+ </v-button>
+
+ <modal :show="showUrlFormPrefillModal" @close="showUrlFormPrefillModal=false">
+ <template #icon>
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-10 h-10 text-blue" fill="none" viewBox="0 0 24 24" stroke="currentColor">
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M17 16v2a2 2 0 01-2 2H5a2 2 0 01-2-2v-7a2 2 0 012-2h2m3-4H9a2 2 0 00-2 2v7a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-1m-1 4l-3 3m0 0l-3-3m3 3V3"
+ />
+ </svg>
+ </template>
+ <template #title>
+ <span>Url Form Prefill</span>
+ </template>
+
+ <div class="p-4" ref="content">
+ <p>
+ Create dynamic links when sharing your form (whether it's embedded or not), that allows you to prefill
+ your form fields. You can use this to personalize the form when sending it to multiple contacts for instance.
+ </p>
+
+ <h3 class="mt-6 border-t text-xl font-semibold mb-4 pt-6">
+ How does it work?
+ </h3>
+
+ <p>
+ Complete your form below and fill only the fields you want to prefill. You can even leave the required fields empty.
+ </p>
+
+ <div class="rounded-lg p-5 bg-gray-100 dark:bg-gray-900 mt-4">
+ <open-form v-if="form" :theme="theme" :loading="false" :show-hidden="true" :form="form" :fields="form.properties" @submit="generateUrl">
+ <template #submit-btn="{submitForm}">
+ <v-button class="mt-2 px-8 mx-1" @click.prevent="submitForm">
+ Generate Pre-filled URL
+ </v-button>
+ </template>
+ </open-form>
+ </div>
+
+ <template v-if="prefillFormData">
+ <h3 class="mt-6 text-xl font-semibold mb-4 pt-6">
+ Your Prefill url
+ </h3>
+ <form-url-prefill :form="form" :form-data="prefillFormData" :extra-query-param="extraQueryParam" />
+ </template>
+
+ </div>
+ </modal>
+ </div>
+</template>
+
+<script>
+import FormUrlPrefill from '../../../open/forms/components/FormUrlPrefill.vue'
+import ProTag from '~/components/global/ProTag.vue'
+import OpenForm from '../../../open/forms/OpenForm.vue'
+import { themes } from '~/config/form-themes.js'
+
+export default {
+ name: 'UrlFormPrefill',
+ components: { FormUrlPrefill, ProTag, OpenForm },
+ props: {
+ form: { type: Object, required: true },
+ extraQueryParam: { type: String, default: '' }
+ },
+
+ data: () => ({
+ prefillFormData: null,
+ theme: themes.default,
+ showUrlFormPrefillModal: false,
+ }),
+
+ computed: {},
+
+ methods: {
+ generateUrl (formData, onFailure) {
+ this.prefillFormData = formData
+ this.$nextTick().then(() => {
+ if (this.$refs.content) {
+ this.$refs.content.parentElement.parentElement.parentElement.scrollTop = this.$refs.content.offsetHeight
+ }
+ })
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/pricing/CheckoutDetailsModal.vue b/client/components/pages/pricing/CheckoutDetailsModal.vue
new file mode 100644
index 000000000..a39aabbcd
--- /dev/null
+++ b/client/components/pages/pricing/CheckoutDetailsModal.vue
@@ -0,0 +1,101 @@
+<template>
+ <modal :show="show" max-width="lg" @close="close">
+ <text-input ref="companyName" label="Company Name" name="name" :required="true" :form="form" help="Name that will appear on invoices" />
+ <text-input label="Email" name="email" native-type="email" :required="true" :form="form" help="Where invoices will be sent" />
+ <v-button :loading="form.busy || loading" :disabled="(form.busy || loading)?true:null" class="mt-6 block mx-auto"
+ :arrow="true" @click="saveDetails"
+ >
+ Go to checkout
+ </v-button>
+ </modal>
+</template>
+
+<script>
+import { computed } from 'vue'
+import axios from 'axios'
+import Form from 'vform'
+import { useAuthStore } from '../../../stores/auth'
+import TextInput from '../../forms/TextInput.vue'
+import VButton from '~/components/global/VButton.vue'
+
+export default {
+ components: { VButton, TextInput },
+ props: {
+ show: {
+ type: Boolean,
+ default: false
+ },
+ plan: {
+ type: String,
+ default: 'pro'
+ },
+ yearly: {
+ type: Boolean,
+ default: true
+ }
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ user: computed(() => authStore.user)
+ }
+ },
+
+ data: () => ({
+ form: new Form({
+ name: '',
+ email: ''
+ }),
+ loading: false
+ }),
+
+ computed: {},
+
+ watch: {
+ user () {
+ this.updateUser()
+ },
+ show () {
+ // Wait for modal to open and focus on first field
+ setTimeout(() => {
+ if (this.$refs.companyName) {
+ this.$refs.companyName.$el.querySelector('input').focus()
+ }
+ }, 300)
+
+ this.loading = false
+ }
+ },
+
+ mounted () {
+ this.updateUser()
+ },
+
+ methods: {
+ updateUser () {
+ if (this.user) {
+ this.form.name = this.user.name
+ this.form.email = this.user.email
+ }
+ },
+ saveDetails () {
+ if (this.form.busy) return
+ this.form.put('api/subscription/update-customer-details').then(() => {
+ this.loading = true
+ axios.get('/api/subscription/new/' + this.plan + '/' + (!this.yearly ? 'monthly' : 'yearly') + '/checkout/with-trial').then((response) => {
+ window.location = response.data.checkout_url
+ }).catch((error) => {
+ this.alertError(error.response.data.message)
+ }).finally(() => {
+ this.loading = false
+ this.close()
+ })
+ })
+ },
+ close () {
+ this.$emit('close')
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/pricing/CustomPlan.vue b/client/components/pages/pricing/CustomPlan.vue
new file mode 100644
index 000000000..c4f170424
--- /dev/null
+++ b/client/components/pages/pricing/CustomPlan.vue
@@ -0,0 +1,41 @@
+<template>
+ <div class="border relative max-w-5xl mx-auto mt-4 lg:mt-10">
+ <div class="w-full">
+ <div class="rounded-lg bg-gray-50 dark:bg-gray-800 px-6 py-8 sm:p-10 lg:flex lg:items-center">
+ <div class="flex-1">
+ <h3 class="inline-flex px-4 py-1 rounded-full text-md font-bold tracking-wide uppercase bg-white text-gray-800">
+ Custom plan
+ </h3>
+ <div class="mt-4 text-md text-gray-600 dark:text-gray-400">
+ Get a custom file upload limit, enterprise-level support, custom contract, dedicated application instance in a specific region, payment via invoice/PO etc.
+ </div>
+ </div>
+ <div class="mt-6 rounded-md lg:mt-0 lg:ml-10 lg:flex-shrink-0">
+ <v-button color="white" class="w-full mt-4" @click.prevent="customPlanClick">
+ Contact us
+ </v-button>
+ </div>
+ </div>
+ </div>
+ </div>
+</template>
+
+<script>
+export default {
+ name: 'CustomPlan',
+ components: {},
+ props: {},
+
+ data: () => ({}),
+
+ computed: {},
+
+ methods: {
+ customPlanClick () {
+ window.$crisp.push(['do', 'chat:show'])
+ window.$crisp.push(['do', 'chat:open'])
+ window.$crisp.push(['do', 'message:send', ['text', 'Hi, I would like to discuss about a custom plan']])
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/pricing/MonthlyYearlySelector.vue b/client/components/pages/pricing/MonthlyYearlySelector.vue
new file mode 100644
index 000000000..fdf5be7b1
--- /dev/null
+++ b/client/components/pages/pricing/MonthlyYearlySelector.vue
@@ -0,0 +1,37 @@
+<template>
+ <div class="border border-gray-300 rounded-xl flex p-1 relative">
+ <button class="font-semibold block flex-grow cursor-pointer">
+ <div
+ class="p-2 px-3 rounded-lg transition-colors"
+ :class="{'bg-blue-500 text-white': !modelValue}"
+ @click="set(false)"
+ >
+ Monthly
+ </div>
+ </button>
+ <button class="font-semibold block flex-grow cursor-pointer" @click="set(true)">
+ <div
+ class="p-2 px-4 rounded-lg transition-colors"
+ :class="{'bg-blue-500 text-white': modelValue}"
+ >
+ Yearly
+ </div>
+ </button>
+ <div class="absolute hidden sm:block text-gray-500 text-xs mt-12">
+ Save 20% with annual plans
+ </div>
+ </div>
+</template>
+
+<script setup>
+import { defineEmits, defineProps } from 'vue'
+
+defineProps({
+ modelValue: { type: Boolean, required: true }
+})
+const emit = defineEmits()
+
+const set = (value) => {
+ emit('update:modelValue', value)
+}
+</script>
diff --git a/client/components/pages/pricing/PricingTable.vue b/client/components/pages/pricing/PricingTable.vue
new file mode 100644
index 000000000..32dbaeb84
--- /dev/null
+++ b/client/components/pages/pricing/PricingTable.vue
@@ -0,0 +1,173 @@
+<template>
+ <div class="w-full">
+ <section class="relative">
+ <div v-if="!homePage" class="absolute inset-0 grid" aria-hidden="true">
+ <div class="bg-gray-100" />
+ <div class="bg-white" />
+ </div>
+
+ <div class="px-4 mx-auto max-w-7xl sm:px-6 lg:px-8">
+ <div class="max-w-5xl mx-auto bg-white shadow-xl rounded-3xl ring-1 ring-gray-200 lg:flex isolate">
+ <div class="p-8 sm:p-8 lg:flex-auto">
+ <h3 v-if="homePage" class="text-3xl font-semibold tracking-tight text-gray-950">
+ Check out our
+ <span class="ml-2 text-nt-blue">
+ <svg class="inline w-10 h-10" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <g opacity="0.12">
+ <path d="M15.9998 27.3333L10.6665 12H21.3332L15.9998 27.3333Z" fill="currentColor" />
+ <path d="M13.3332 4H9.33317L2.6665 12L10.6665 12L13.3332 4Z" fill="currentColor" />
+ <path d="M18.6665 4H22.6665L29.3332 12L21.3332 12L18.6665 4Z" fill="currentColor" />
+ </g>
+ <path
+ d="M3.33345 12H28.6668M13.3334 4L10.6668 12L16.0001 27.3333L21.3334 12L18.6668 4M16.8195 27.0167L28.7644 12.6829C28.9668 12.4399 29.0681 12.3185 29.1067 12.1829C29.1408 12.0633 29.1408 11.9367 29.1067 11.8171C29.0681 11.6815 28.9668 11.5601 28.7644 11.3171L22.9866 4.3838C22.8691 4.24273 22.8103 4.17219 22.7382 4.12148C22.6744 4.07654 22.6031 4.04318 22.5277 4.02289C22.4426 4 22.3508 4 22.1672 4H9.83305C9.64941 4 9.55758 4 9.4725 4.02289C9.39711 4.04318 9.32586 4.07654 9.26202 4.12148C9.18996 4.17219 9.13118 4.24273 9.01361 4.3838L3.23583 11.3171C3.0334 11.5601 2.93218 11.6815 2.8935 11.8171C2.85939 11.9366 2.85939 12.0633 2.8935 12.1829C2.93218 12.3185 3.0334 12.4399 3.23583 12.6829L15.1807 27.0167C15.4621 27.3544 15.6028 27.5232 15.7713 27.5848C15.919 27.6388 16.0812 27.6388 16.229 27.5848C16.3974 27.5232 16.5381 27.3544 16.8195 27.0167Z"
+ stroke="currentColor" stroke-width="2.66667" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ Pro Features
+ </span>
+ </h3>
+ <h3 v-else class="text-3xl font-semibold tracking-tight text-gray-950">
+ Pro Plan
+ </h3>
+ <p class="mt-2 text-base font-medium leading-7 text-gray-600">
+ OpnForm Pro offers empowering features tailored to the advanced needs of teams and creators. Enjoy our
+ free 3-day trial!
+ </p>
+
+ <div class="flex items-center mt-6 gap-x-4">
+ <h4 class="flex-none text-sm font-semibold leading-6 tracking-widest text-gray-400 uppercase">
+ What's included
+ </h4>
+ <div class="flex-auto h-px bg-gray-200" />
+ </div>
+
+ <ul role="list"
+ class="grid grid-cols-1 gap-4 mt-4 text-sm font-medium leading-6 text-gray-900 sm:grid-cols-2 sm:gap-x-6 sm:gap-y-2"
+ >
+ <li v-for="(title, i) in pricingInfo" :key="i" class="flex gap-x-3">
+ <svg aria-hidden="true" class="w-5 h-5 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path d="M20 6L9 17L4 12" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
+ </svg>
+ {{ title }}
+ </li>
+ <slot name="pricing-table" />
+ </ul>
+ </div>
+
+ <div class="p-2 -mt-2 flex-col lg:mt-0 lg:w-full lg:max-w-md lg:flex-shrink-0">
+ <div
+ class="grow h-full py-10 text-center rounded-2xl bg-gray-50 ring-1 ring-inset ring-gray-900/5 lg:flex lg:flex-col lg:justify-center lg:py-12"
+ >
+ <div class="max-w-xs px-8 mx-auto space-y-6">
+ <div class="flex items-center justify-center mb-10">
+ <monthly-yearly-selector v-model="isYearly" />
+ </div><!-- lg+ -->
+
+ <p class="flex flex-col items-center">
+ <span class="text-6xl font-semibold tracking-tight text-gray-950">
+ <template v-if="isYearly">$16</template>
+ <template v-else>$19</template>
+ </span>
+ <span class="text-sm font-medium leading-6 text-gray-600">
+ per month
+ </span>
+ </p>
+
+ <div class="flex justify-center">
+ <v-button v-if="!authenticated" class="mr-1" :to="{ name: 'register' }" :arrow="true">
+ Start free trial
+ </v-button>
+ <v-button v-else-if="authenticated && user.is_subscribed" class="mr-1" :arrow="true"
+ @click.prevent="openBilling"
+ >
+ View Billing
+ </v-button>
+ <v-button v-else class="mr-1" :arrow="true" @click.prevent="openCustomerCheckout('default')">
+ Start free trial
+ </v-button>
+ </div>
+ <p v-if="!homePage" class="text-xs font-medium leading-5 text-gray-600">
+ Invoices and receipts available for easy company reimbursement.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <custom-plan v-if="!homePage" />
+
+ <checkout-details-modal :show="showDetailsModal" :yearly="isYearly" :plan="selectedPlan"
+ @close="showDetailsModal=false"
+ />
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../../../stores/auth'
+import axios from 'axios'
+import MonthlyYearlySelector from './MonthlyYearlySelector.vue'
+import CheckoutDetailsModal from './CheckoutDetailsModal.vue'
+import CustomPlan from './CustomPlan.vue'
+
+MonthlyYearlySelector.compatConfig = { MODE: 3 }
+
+export default {
+ components: {
+ MonthlyYearlySelector,
+ CheckoutDetailsModal,
+ CustomPlan
+ },
+ props: {
+ homePage: {
+ type: Boolean,
+ default: false
+ }
+ },
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ authenticated : computed(() => authStore.check),
+ user : computed(() => authStore.user)
+ }
+ },
+ data: () => ({
+ isYearly: true,
+ selectedPlan: 'pro',
+ showDetailsModal: false,
+
+ pricingInfo: [
+ 'Form confirmation emails',
+ 'Slack notifications',
+ 'Discord notifications',
+ 'Editable submissions',
+ '1 Custom domain',
+ 'Custom code',
+ 'Larger file uploads (50mb)',
+ 'Remove OpnForm branding',
+ 'Priority support'
+ ]
+ }),
+
+ methods: {
+ openCustomerCheckout (plan) {
+ this.selectedPlan = plan
+ this.showDetailsModal = true
+ },
+ openBilling () {
+ this.billingLoading = true
+ axios.get('/api/subscription/billing-portal').then((response) => {
+ this.billingLoading = false
+ const url = response.data.portal_url
+ window.location = url
+ })
+ }
+ },
+
+ computed: {}
+}
+</script>
diff --git a/client/components/pages/templates/SingleTemplate.vue b/client/components/pages/templates/SingleTemplate.vue
new file mode 100644
index 000000000..cd8208df6
--- /dev/null
+++ b/client/components/pages/templates/SingleTemplate.vue
@@ -0,0 +1,88 @@
+<template>
+ <div v-if="template" class="relative group">
+ <div v-if="template.is_new" class="absolute top-0 right-0 p-3 z-10">
+ <span
+ class="inline-flex items-center gap-1 rounded-full bg-blue-500 px-2 py-1 text-xs font-medium text-white"
+ >
+ <svg aria-hidden="true" class="h-3 w-3" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"
+ fill="currentColor"
+ >
+ <path fill-rule="evenodd"
+ d="M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ New
+ </span>
+ </div>
+
+ <div class="aspect-[4/3] rounded-lg shadow-sm overflow-hidden">
+ <img class="group-hover:scale-110 transition-all duration-200 h-full object-cover w-full"
+ :src="template.image_url" alt=""
+ >
+ </div>
+ <p
+ class="text-lg font-semibold leading-tight tracking-tight text-gray-900 mt-4 group-hover:text-blue-500 transition-all duration-150"
+ >
+ {{ template.name }}
+ </p>
+ <p class="line-clamp-2 mt-2 text-sm font-normal text-gray-600">
+ {{ cleanQuotes(template.short_description) }}
+ </p>
+ <template-tags :slug="template.slug"
+ class="flex mt-4 items-center flex-wrap gap-3"
+ />
+ <router-link :to="{params:{slug:template.slug},name:'templates.show'}" title="">
+ <span class="absolute inset-0" aria-hidden="true" />
+ </router-link>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useTemplatesStore } from '../../../stores/templates'
+import TemplateTags from './TemplateTags.vue'
+
+export default {
+ components: { TemplateTags },
+
+ props: {
+ slug: {
+ type: String,
+ required: true
+ }
+ },
+
+ setup () {
+ const templatesStore = useTemplatesStore()
+ return {
+ templatesStore
+ }
+ },
+
+ data: () => ({}),
+
+ computed: {
+ template () {
+ return this.templatesStore.getBySlug(this.slug)
+ }
+ },
+
+ watch: {
+ slug () {
+ this.templatesStore.loadTemplate(this.slug)
+ }
+ },
+
+ mounted () {
+ this.templatesStore.loadTemplate(this.slug)
+ },
+
+ methods: {
+ cleanQuotes (str) {
+ // Remove starting and ending quotes if any
+ return (str) ? str.replace(/^"/, '').replace(/"$/, '') : ''
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/templates/TemplateTags.vue b/client/components/pages/templates/TemplateTags.vue
new file mode 100644
index 000000000..b84cf7b1a
--- /dev/null
+++ b/client/components/pages/templates/TemplateTags.vue
@@ -0,0 +1,84 @@
+<template>
+ <div v-if="template">
+ <template v-if="displayAll">
+ <span v-if="template.is_new"
+ class="inline-flex items-center gap-1 px-2 py-1 text-xs font-medium text-white bg-blue-500 rounded-full"
+ >
+ <svg aria-hidden="true" class="w-3 h-3" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"
+ fill="currentColor"
+ >
+ <path fill-rule="evenodd"
+ d="M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ New
+ </span>
+ <span v-for="item in types"
+ class="inline-flex items-center rounded-full bg-gray-50 dark:bg-gray-800 dark:text-gray-400 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10"
+ >
+ {{ item }}
+ </span>
+ <span v-for="item in industries"
+ class="inline-flex items-center rounded-full bg-blue-50 dark:bg-blue-900 dark:text-gray-400 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-700/10"
+ >
+ {{ item }}
+ </span>
+ </template>
+ <template v-else>
+ <span v-if="types.length > 0"
+ class="inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10"
+ >
+ {{ types[0] }} <template v-if="types.length > 1">+{{ types.length - 1 }}</template>
+ </span>
+ <span v-if="industries.length > 0"
+ class="inline-flex items-center rounded-full bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-700/10"
+ >
+ {{ industries[0] }} <template v-if="industries.length > 1">+{{ industries.length - 1 }}</template>
+ </span>
+ </template>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useTemplatesStore } from '../../../stores/templates'
+
+export default {
+ props: {
+ slug: {
+ type: String,
+ required: true
+ },
+ displayAll: {
+ type: Boolean,
+ default: false
+ }
+ },
+
+ setup () {
+ const templatesStore = useTemplatesStore()
+ return {
+ templatesStore
+ }
+ },
+
+ data: () => ({}),
+
+ computed: {
+ template () {
+ return this.templatesStore.getBySlug(this.slug)
+ },
+ types () {
+ if (!this.template) return null
+ return this.templatesStore.getTemplateTypes(this.template.types)
+ },
+ industries () {
+ if (!this.template) return null
+ return this.templatesStore.getTemplateIndustries(this.template.industries)
+ }
+ },
+
+ methods: {}
+}
+</script>
diff --git a/client/components/pages/templates/TemplatesList.vue b/client/components/pages/templates/TemplatesList.vue
new file mode 100644
index 000000000..5a2468f74
--- /dev/null
+++ b/client/components/pages/templates/TemplatesList.vue
@@ -0,0 +1,190 @@
+<template>
+ <div>
+ <section class="bg-white py-12">
+ <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
+ <div class="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 sm:gap-6 relative z-20">
+ <div class="flex items-center gap-4">
+ <div class="flex-1 sm:flex-none">
+ <select-input v-model="selectedType" name="type"
+ :options="typesOptions" class="w-full sm:w-auto md:w-56"
+ />
+ </div>
+ <div class="flex-1 sm:flex-none">
+ <select-input v-model="selectedIndustry" name="industry"
+ :options="industriesOptions" class="w-full sm:w-auto md:w-56"
+ />
+ </div>
+ </div>
+ <div class="flex-1 w-full md:max-w-xs">
+ <text-input name="search" :form="searchTemplate" placeholder="Search..." />
+ </div>
+ </div>
+
+ <div v-if="templatesLoading" class="text-center mt-4">
+ <loader class="h-6 w-6 text-nt-blue mx-auto" />
+ </div>
+ <p v-else-if="enrichedTemplates.length === 0" class="text-center mt-4">
+ No templates found.
+ </p>
+ <div v-else class="relative z-10">
+ <div class="grid grid-cols-1 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8 sm:gap-y-12">
+ <single-template v-for="template in enrichedTemplates" :key="template.id" :slug="template.slug" />
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <template v-if="!onlyMy">
+ <section class="py-12 bg-white border-t border-gray-200 sm:py-16">
+ <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
+ <div class="flex items-center justify-between">
+ <h4 class="text-xl font-bold tracking-tight text-gray-900 sm:text-2xl">
+ All Types
+ </h4>
+ </div>
+
+ <div class="grid grid-cols-1 gap-8 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
+ <router-link v-for="row in types" :key="row.slug"
+ :to="{params:{slug:row.slug}, name:'templates.types.show'}"
+ :title="row.name"
+ class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue"
+ >
+ {{ row.name }}
+ </router-link>
+ </div>
+ </div>
+ </section>
+
+ <section class="py-12 bg-white border-t border-gray-200 sm:py-16">
+ <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
+ <div class="flex items-center justify-between">
+ <h4 class="text-xl font-bold tracking-tight text-gray-900 sm:text-2xl">
+ All Industries
+ </h4>
+ </div>
+
+ <div class="grid grid-cols-1 gap-8 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
+ <router-link v-for="row in industries" :key="row.slug"
+ :to="{params:{slug:row.slug}, name:'templates.industries.show'}"
+ :title="row.name"
+ class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue"
+ >
+ {{ row.name }}
+ </router-link>
+ </div>
+ </div>
+ </section>
+ </template>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../../../stores/auth'
+import { useTemplatesStore } from '../../../stores/templates'
+import Form from 'vform'
+import Fuse from 'fuse.js'
+import SingleTemplate from './SingleTemplate.vue'
+
+const loadTemplates = function (onlyMy) {
+ const templatesStore = useTemplatesStore()
+ if(onlyMy){
+ templatesStore.loadAll({'onlymy':true})
+ } else {
+ templatesStore.loadIfEmpty()
+ }
+}
+
+export default {
+ name: 'TemplatesList',
+ components: { SingleTemplate },
+ props: {
+ onlyMy: {
+ type: Boolean,
+ required: false
+ }
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ const templatesStore = useTemplatesStore()
+ return {
+ user : computed(() => authStore.user),
+ templates : computed(() => templatesStore.content),
+ templatesLoading : computed(() => templatesStore.loading),
+ industries : computed(() => templatesStore.industries),
+ types : computed(() => templatesStore.types)
+ }
+ },
+
+ data: () => ({
+ selectedType: 'all',
+ selectedIndustry: 'all',
+ searchTemplate: new Form({
+ search: ''
+ })
+ }),
+
+ watch: {},
+
+ mounted () {
+ loadTemplates(this.onlyMy)
+ },
+
+ computed: {
+ industriesOptions () {
+ return [{ name: 'All Industries', value: 'all' }].concat(Object.values(this.industries).map((industry) => {
+ return {
+ name: industry.name,
+ value: industry.slug
+ }
+ }))
+ },
+ typesOptions () {
+ return [{ name: 'All Types', value: 'all' }].concat(Object.values(this.types).map((type) => {
+ return {
+ name: type.name,
+ value: type.slug
+ }
+ }))
+ },
+ enrichedTemplates () {
+ let enrichedTemplates = (this.onlyMy && this.user) ? this.templates.filter((item) => { return item.creator_id === this.user.id}) : this.templates
+
+ // Filter by Selected Type
+ if (this.selectedType && this.selectedType !== 'all') {
+ enrichedTemplates = enrichedTemplates.filter((item) => {
+ return (item.types && item.types.length > 0) ? item.types.includes(this.selectedType) : false
+ })
+ }
+
+ // Filter by Selected Industry
+ if (this.selectedIndustry && this.selectedIndustry !== 'all') {
+ enrichedTemplates = enrichedTemplates.filter((item) => {
+ return (item.industries && item.industries.length > 0) ? item.industries.includes(this.selectedIndustry) : false
+ })
+ }
+
+ if (this.searchTemplate.search === '' || this.searchTemplate.search === null) {
+ return enrichedTemplates
+ }
+
+ // Fuze search
+ const fuzeOptions = {
+ keys: [
+ 'name',
+ 'slug',
+ 'description',
+ 'short_description'
+ ]
+ }
+ const fuse = new Fuse(enrichedTemplates, fuzeOptions)
+ return fuse.search(this.searchTemplate.search).map((res) => {
+ return res.item
+ })
+ }
+ },
+
+ methods: {}
+}
+</script>
diff --git a/client/components/pages/welcome/AiFeature.vue b/client/components/pages/welcome/AiFeature.vue
new file mode 100644
index 000000000..ec0226826
--- /dev/null
+++ b/client/components/pages/welcome/AiFeature.vue
@@ -0,0 +1,107 @@
+<template>
+ <div class="py-8">
+ <section>
+ <div class="mx-auto max-w-7xl isolate sm:px-6 lg:px-8">
+ <div
+ class="relative px-4 pt-16 overflow-hidden bg-blue-100 ring-blue-100 ring-1 sm:shadow-lg isolate sm:rounded-2xl sm:px-16 md:pt-20 lg:flex lg:gap-x-20 lg:px-16 lg:pt-0 sm:shadow-gray-600/10">
+ <div class="absolute inset-0">
+ <img class="object-cover object-top w-full h-full" src="/img/pages/ai_form_builder/background-pattern-ai.svg" alt="">
+
+ </div>
+
+ <div class="relative max-w-md mx-auto text-center xl:max-w-lg lg:mx-0 lg:flex-auto lg:py-16 lg:text-left">
+ <span
+ class="bg-white text-xs font-semibold inline-flex items-center shadow-sm ring-blue-200 ring-1 text-blue-600 px-2.5 py-1.5 rounded-full">
+ <svg aria-hidden="true" class="w-4 h-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"
+ fill="currentColor">
+ <path fill-rule="evenodd"
+ d="M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z"
+ clip-rule="evenodd" />
+ </svg>
+ Introducing OpnForm AI
+ </span>
+
+ <h2 class="mt-6 text-2xl font-semibold tracking-tight text-gray-900 sm:text-3xl lg:text-4xl">
+ Say goodbye to tedious form building with OpnForm's new <span
+ class="text-transparent bg-clip-text bg-gradient-to-r lg:block from-blue-600 to-blue-300">AI-powered
+ feature!</span>
+ </h2>
+ <p class="mt-4 text-base font-medium leading-7 text-gray-500 sm:text-lg sm:leading-8">
+ Easily generate a fully working form in seconds with just a simple description.
+ </p>
+
+ <ul
+ class="flex flex-wrap items-center justify-center gap-4 mt-6 text-sm font-medium text-gray-900 lg:justify-start sm:mt-8">
+ <li class="flex items-center gap-2">
+ <svg aria-hidden="true" class="w-5 h-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 20 20" fill="currentColor">
+ <path fill-rule="evenodd"
+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
+ clip-rule="evenodd" />
+ </svg>
+ Create form in minutes
+ </li>
+
+ <li class="flex items-center gap-2">
+ <svg aria-hidden="true" class="w-5 h-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 20 20" fill="currentColor">
+ <path fill-rule="evenodd"
+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
+ clip-rule="evenodd" />
+ </svg>
+ Customizations
+ </li>
+
+ <li class="flex items-center gap-2">
+ <svg aria-hidden="true" class="w-5 h-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 20 20" fill="currentColor">
+ <path fill-rule="evenodd"
+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
+ clip-rule="evenodd" />
+ </svg>
+ No-coding required
+ </li>
+ </ul>
+
+ <div class="mt-6 sm:mt-8 flex text-center justify-center lg:justify-start">
+<!-- <v-button v-if="!authenticated" class="mr-2 block" :to="{ name: 'forms.create.guest' }" :arrow="true">-->
+<!-- Get started for free-->
+<!-- </v-button>-->
+<!-- <v-button v-else class="mr-2 block" :to="{ name: 'forms.create' }" :arrow="true">-->
+<!-- Get started for free-->
+<!-- </v-button>-->
+<!-- <v-button color="light-gray" class="mr-1 block" :to="{ name: 'aiformbuilder' }">-->
+<!-- Learn more-->
+<!-- </v-button>-->
+ </div>
+ </div>
+
+ <div
+ class="relative px-6 mx-auto mt-8 lg:px-0 sm:mt-12 lg:bottom-0 lg:right-0 lg:absolute lg:max-w-md xl:max-w-none">
+ <img class="rounded-t-2xl ring-1 ring-blue-100 lg:rounded-tr-none"
+ src="/img/pages/ai_form_builder/ai-feature-illustration.svg" alt="App screenshot">
+
+ </div>
+ </div>
+ </div>
+ </section>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../../../stores/auth'
+
+export default {
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ authenticated : computed(() => authStore.check)
+ }
+ },
+ props: {},
+ data: () => ({}),
+ computed: {},
+ methods: {}
+}
+</script>
diff --git a/client/components/pages/welcome/Features.vue b/client/components/pages/welcome/Features.vue
new file mode 100644
index 000000000..1251db8a3
--- /dev/null
+++ b/client/components/pages/welcome/Features.vue
@@ -0,0 +1,130 @@
+<template>
+ <div id="features" class="px-4 mx-auto sm:max-w-xl md:max-w-full lg:max-w-screen-xl md:px-24 lg:px-8">
+
+ <div class="mb-16 max-w-xl md:mx-auto sm:text-center lg:max-w-2xl ">
+ <h2
+ class="mb-6 font-sans text-4xl font-semibold leading-none tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl md:mx-auto">
+ The easiest way to create forms. <br/>
+ Generous unlimited <span class="text-nt-blue">free plan.</span>
+ </h2>
+ <p class="text-base text-gray-700 dark:text-gray-300 md:text-lg">
+ Need a contact form? Doing a survey? Create a form in 2 minutes and start receiving submissions.
+ </p>
+ </div>
+
+ <div class="flex flex-wrap items-center mt-16" :class="{'md:flex-row-reverse':index%2==1}" v-for="(step,index) in [
+ {
+ title: 'Create',
+ description: 'Create a form in 2 minutes. More than 10 input types, images, logic and much more.',
+ features: [
+ 'Build a simple form in minutes.',
+ 'No coding needed.'
+ ],
+ img: '/img/pages/welcome/step-1.jpg'
+ },
+ {
+ title: 'Share',
+ description: 'Your form has a unique link that you can share everywhere. Send the link, or even embed the form on your website.',
+ features: [
+ 'Share the link to your form',
+ 'Embed the form on your website'
+ ],
+ img: '/img/pages/welcome/step-2.jpg'
+ },
+ {
+ title: 'Get Results',
+ description: 'Receive your form submissions. Receive notifications, send confirmations. Export submissions and check your form analytics.',
+ features: [
+ 'Unlimited form submissions for free',
+ 'Easily export submissions as CSV',
+ 'Views & Submissions Analytics'
+ ],
+ img: '/img/pages/welcome/step-3.jpg'
+ }
+ ]" :key="step.title">
+ <div class="w-full md:w-1/2 lg:w-5/12" :class="{'md:pl-4':index%2==1, 'md:pr-4':index%2==0}">
+ <svg v-if="step.title=='Create'" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"
+ stroke="currentColor" class="w-10 h-10 text-nt-blue">
+ <path
+ d="M22 7.99997H13.6C10.2397 7.99997 8.55953 7.99997 7.27606 8.65393C6.14708 9.22917 5.2292 10.1471 4.65396 11.276C4 12.5595 4 14.2397 4 17.6V34.4C4 37.7603 4 39.4404 4.65396 40.7239C5.2292 41.8529 6.14708 42.7708 7.27606 43.346C8.55953 44 10.2397 44 13.6 44H30.4C33.7603 44 35.4405 44 36.7239 43.346C37.8529 42.7708 38.7708 41.8529 39.346 40.7239C40 39.4404 40 37.7603 40 34.4V26M15.9999 32H19.349C20.3274 32 20.8166 32 21.2769 31.8894C21.6851 31.7915 22.0753 31.6298 22.4331 31.4105C22.8368 31.1632 23.1827 30.8173 23.8745 30.1255L43 11C44.6569 9.34311 44.6569 6.65682 43 4.99997C41.3431 3.34311 38.6569 3.34311 37 4.99996L17.8745 24.1255C17.1827 24.8173 16.8368 25.1632 16.5894 25.5668C16.3701 25.9247 16.2085 26.3149 16.1105 26.723C15.9999 27.1834 15.9999 27.6726 15.9999 28.6509V32Z"
+ stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ <svg v-else-if="step.title=='Share'" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"
+ stroke="currentColor" class="w-10 h-10 text-nt-blue">
+ <path
+ d="M17.18 27.02L30.84 34.98M30.82 13.02L17.18 20.98M42 10C42 13.3137 39.3137 16 36 16C32.6863 16 30 13.3137 30 10C30 6.68629 32.6863 4 36 4C39.3137 4 42 6.68629 42 10ZM18 24C18 27.3137 15.3137 30 12 30C8.68629 30 6 27.3137 6 24C6 20.6863 8.68629 18 12 18C15.3137 18 18 20.6863 18 24ZM42 38C42 41.3137 39.3137 44 36 44C32.6863 44 30 41.3137 30 38C30 34.6863 32.6863 32 36 32C39.3137 32 42 34.6863 42 38Z"
+ stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ <svg v-else-if="step.title=='Share'" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
+ stroke-width="1.5" stroke="currentColor" class="w-10 h-10 text-nt-blue">
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10"/>
+ </svg>
+ <svg v-else-if="step.title=='Get Results'" class="w-10 h-10 text-nt-blue" viewBox="0 0 48 48" fill="none"
+ xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M42 42H9.2C8.07989 42 7.51984 42 7.09202 41.782C6.71569 41.5903 6.40973 41.2843 6.21799 40.908C6 40.4802 6 39.9201 6 38.8V6M40 16L32.1623 24.3653C31.8652 24.6823 31.7167 24.8409 31.5375 24.9228C31.3794 24.9951 31.2051 25.0249 31.0319 25.0093C30.8357 24.9916 30.6429 24.8915 30.2574 24.6913L23.7426 21.3087C23.3571 21.1085 23.1643 21.0084 22.9681 20.9907C22.7949 20.9751 22.6206 21.0049 22.4625 21.0772C22.2833 21.1591 22.1348 21.3177 21.8377 21.6347L14 30"
+ stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+
+
+ <h4 class="my-5 text-2xl font-medium">{{ index + 1 }}. {{ step.title }}</h4>
+ <p class="dark:text-white">
+ {{ step.description }}
+ </p>
+ <div class="mb-8">
+ <div class="flex mt-4" v-for="feature in step.features" :key="feature">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
+ stroke="currentColor" class="w-4 h-4 mt-1 mr-2 text-nt-blue">
+ <path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/>
+ </svg>
+ {{ feature }}
+ </div>
+ </div>
+ </div>
+ <div class="w-full md:w-1/2 lg:w-7/12 flex items-center justify-center relative w-full"
+ :class="{'md:pr-8':index%2==1, 'md:pl-8':index%2==0}">
+ <img loading="lazy" class="block rounded-2xl w-full"
+ :src="step.img" alt="cover-product">
+ </div>
+ </div>
+
+ <div class="grid md:grid-cols-3 mt-20">
+ <div class="mb-8 md:mr-10">
+ <svg class="w-10 h-10 text-nt-blue" viewBox="0 0 44 42" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M26.0006 40H18.0006M2.58828 9.63978C2.55958 6.73709 4.12455 4.02649 6.6527 2.59999M41.405 9.6398C41.4337 6.7371 39.8687 4.0265 37.3406 2.60001M34.0006 14C34.0006 10.8174 32.7363 7.76516 30.4859 5.51472C28.2354 3.26428 25.1832 2 22.0006 2C18.818 2 15.7658 3.26428 13.5153 5.51472C11.2649 7.76516 10.0006 10.8174 10.0006 14C10.0006 20.1804 8.44154 24.4119 6.69993 27.2108C5.23085 29.5717 4.49631 30.7522 4.52325 31.0815C4.55307 31.4461 4.63032 31.5852 4.92415 31.8032C5.18951 32 6.38578 32 8.7783 32H35.2229C37.6154 32 38.8117 32 39.077 31.8032C39.3709 31.5852 39.4481 31.4461 39.4779 31.0815C39.5049 30.7522 38.7703 29.5718 37.3013 27.2108C35.5597 24.4119 34.0006 20.1804 34.0006 14Z" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ <h3 class="my-3 font-semibold">Notifications</h3>
+ <p>Receive notifications directly in Slack or in your mailbox whenever your from has a new submission (if you
+ want to).</p>
+ </div>
+ <div class="mb-8 md:mr-10">
+ <svg class="w-10 h-10 text-nt-blue" viewBox="0 0 45 44" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M21.6666 2H27.0666C30.4269 2 32.1071 2 33.3906 2.65396C34.5195 3.2292 35.4374 4.14708 36.0127 5.27606C36.6666 6.55953 36.6666 8.23969 36.6666 11.6V32.4C36.6666 35.7603 36.6666 37.4405 36.0127 38.7239C35.4374 39.8529 34.5195 40.7708 33.3906 41.346C32.1071 42 30.4269 42 27.0666 42H14.2666C10.9063 42 9.22615 42 7.94268 41.346C6.81371 40.7708 5.89583 39.8529 5.32059 38.7239C4.66663 37.4405 4.66663 35.7603 4.66663 32.4V31M28.6666 24H19.6666M28.6666 16H21.6666M28.6666 32H12.6666M8.66663 18V7C8.66663 5.34315 10.0098 4 11.6666 4C13.3235 4 14.6666 5.34315 14.6666 7V18C14.6666 21.3137 11.9803 24 8.66663 24C5.35292 24 2.66663 21.3137 2.66663 18V10" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ <h3 class="my-3 font-semibold">File Uploads</h3>
+ <p>Easily add file upload inputs to your forms. Uploaded files are securely stored for you. Up to 5mb!</p>
+ </div>
+ <div class="mb-8 md:mr-10">
+ <svg class="w-10 h-10 text-nt-blue" viewBox="0 0 45 44" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M2.33331 22C2.33331 33.0457 11.2876 42 22.3333 42C25.647 42 28.3333 39.3137 28.3333 36V35C28.3333 34.0712 28.3333 33.6067 28.3846 33.2168C28.7391 30.5244 30.8578 28.4058 33.5502 28.0513C33.9401 28 34.4045 28 35.3333 28H36.3333C39.647 28 42.3333 25.3137 42.3333 22C42.3333 10.9543 33.379 2 22.3333 2C11.2876 2 2.33331 10.9543 2.33331 22Z" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M12.3333 24C13.4379 24 14.3333 23.1046 14.3333 22C14.3333 20.8954 13.4379 20 12.3333 20C11.2287 20 10.3333 20.8954 10.3333 22C10.3333 23.1046 11.2287 24 12.3333 24Z" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M30.3333 16C31.4379 16 32.3333 15.1046 32.3333 14C32.3333 12.8954 31.4379 12 30.3333 12C29.2287 12 28.3333 12.8954 28.3333 14C28.3333 15.1046 29.2287 16 30.3333 16Z" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M18.3333 14C19.4379 14 20.3333 13.1046 20.3333 12C20.3333 10.8954 19.4379 10 18.3333 10C17.2287 10 16.3333 10.8954 16.3333 12C16.3333 13.1046 17.2287 14 18.3333 14Z" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ <h3 class="my-3 font-semibold">Customize Everything</h3>
+ <p>Change form themes, change texts, colors, add images, add custom thank you pages and much more.</p>
+ </div>
+ </div>
+ </div>
+</template>
+
+<script>
+export default {
+
+ props: {},
+ data: () => ({}),
+
+ methods: {}
+}
+</script>
diff --git a/client/components/pages/welcome/MoreFeatures.vue b/client/components/pages/welcome/MoreFeatures.vue
new file mode 100644
index 000000000..da71f3a05
--- /dev/null
+++ b/client/components/pages/welcome/MoreFeatures.vue
@@ -0,0 +1,84 @@
+<template>
+ <div class="bg-gray-50 dark:bg-notion-dark py-8">
+ <div class="md:max-w-5xl md:mx-auto w-full">
+ <div class="my-5 text-center">
+ <h3 class="font-semibold text-3xl">And many more features</h3>
+ <p class="w-full mt-2 mb-8">
+ OpnForm makes form building easy and comes with powerful features.
+ </p>
+ <div class="grid grid-cols-2 md:grid-cols-3 mt-10 mb-5 ml-5 md:ml-0 px-4">
+ <div class="flex font-semibold my-3">
+ <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M10.5 3.5H17.8C18.9201 3.5 19.4802 3.5 19.908 3.71799C20.2843 3.90973 20.5903 4.21569 20.782 4.59202C21 5.01984 21 5.57989 21 6.7V8C21 8.93188 21 9.39783 20.8478 9.76537C20.6448 10.2554 20.2554 10.6448 19.7654 10.8478C19.3978 11 18.9319 11 18 11M12.5 18.5H5.2C4.0799 18.5 3.51984 18.5 3.09202 18.282C2.71569 18.0903 2.40973 17.7843 2.21799 17.408C2 16.9802 2 16.4201 2 15.3V14C2 13.0681 2 12.6022 2.15224 12.2346C2.35523 11.7446 2.74458 11.3552 3.23463 11.1522C3.60218 11 4.06812 11 5 11M9.8 13.5H13.2C13.48 13.5 13.62 13.5 13.727 13.4455C13.8211 13.3976 13.8976 13.3211 13.9455 13.227C14 13.12 14 12.98 14 12.7V9.3C14 9.01997 14 8.87996 13.9455 8.773C13.8976 8.67892 13.8211 8.60243 13.727 8.5545C13.62 8.5 13.48 8.5 13.2 8.5H9.8C9.51997 8.5 9.37996 8.5 9.273 8.5545C9.17892 8.60243 9.10243 8.67892 9.0545 8.773C9 8.87996 9 9.01997 9 9.3V12.7C9 12.98 9 13.12 9.0545 13.227C9.10243 13.3211 9.17892 13.3976 9.273 13.4455C9.37996 13.5 9.51997 13.5 9.8 13.5ZM17.3 21H20.7C20.98 21 21.12 21 21.227 20.9455C21.3211 20.8976 21.3976 20.8211 21.4455 20.727C21.5 20.62 21.5 20.48 21.5 20.2V16.8C21.5 16.52 21.5 16.38 21.4455 16.273C21.3976 16.1789 21.3211 16.1024 21.227 16.0545C21.12 16 20.98 16 20.7 16H17.3C17.02 16 16.88 16 16.773 16.0545C16.6789 16.1024 16.6024 16.1789 16.5545 16.273C16.5 16.38 16.5 16.52 16.5 16.8V20.2C16.5 20.48 16.5 20.62 16.5545 20.727C16.6024 20.8211 16.6789 20.8976 16.773 20.9455C16.88 21 17.02 21 17.3 21ZM2.3 6H5.7C5.98003 6 6.12004 6 6.227 5.9455C6.32108 5.89757 6.39757 5.82108 6.4455 5.727C6.5 5.62004 6.5 5.48003 6.5 5.2V1.8C6.5 1.51997 6.5 1.37996 6.4455 1.273C6.39757 1.17892 6.32108 1.10243 6.227 1.0545C6.12004 1 5.98003 1 5.7 1H2.3C2.01997 1 1.87996 1 1.773 1.0545C1.67892 1.10243 1.60243 1.17892 1.5545 1.273C1.5 1.37996 1.5 1.51997 1.5 1.8V5.2C1.5 5.48003 1.5 5.62004 1.5545 5.727C1.60243 5.82108 1.67892 5.89757 1.773 5.9455C1.87996 6 2.01997 6 2.3 6Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ Form logic
+ </div>
+ <div class="flex font-semibold my-3">
+ <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M1.5 11H21.5M1.5 11C1.5 16.5228 5.97715 21 11.5 21M1.5 11C1.5 5.47715 5.97715 1 11.5 1M21.5 11C21.5 16.5228 17.0228 21 11.5 21M21.5 11C21.5 5.47715 17.0228 1 11.5 1M11.5 1C14.0013 3.73835 15.4228 7.29203 15.5 11C15.4228 14.708 14.0013 18.2616 11.5 21M11.5 1C8.99872 3.73835 7.57725 7.29203 7.5 11C7.57725 14.708 8.99872 18.2616 11.5 21" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ URL pre-fill
+ </div>
+ <div class="flex font-semibold my-3">
+ <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M7.99999 1L4.99999 19M16 1L13 19M19 6H2M18 14H1" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ Unique submission ID
+ </div>
+ <div class="flex font-semibold my-3">
+ <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 23 20" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M10.2429 3.09232C10.6494 3.03223 11.0686 3 11.5004 3C16.6054 3 19.9553 7.50484 21.0807 9.28682C21.2169 9.5025 21.285 9.61034 21.3231 9.77667C21.3518 9.90159 21.3517 10.0987 21.3231 10.2236C21.2849 10.3899 21.2164 10.4985 21.0792 10.7156C20.7793 11.1901 20.3222 11.8571 19.7165 12.5805M6.22432 4.71504C4.06225 6.1817 2.59445 8.21938 1.92111 9.28528C1.78428 9.50187 1.71587 9.61016 1.67774 9.77648C1.6491 9.9014 1.64909 10.0984 1.67771 10.2234C1.71583 10.3897 1.78393 10.4975 1.92013 10.7132C3.04554 12.4952 6.39541 17 11.5004 17C13.5588 17 15.3319 16.2676 16.7888 15.2766M2.50042 1L20.5004 19M9.3791 7.87868C8.8362 8.42157 8.50042 9.17157 8.50042 10C8.50042 11.6569 9.84356 13 11.5004 13C12.3288 13 13.0788 12.6642 13.6217 12.1213" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ Hidden fields
+ </div>
+ <div class="flex font-semibold my-3">
+ <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M14.5 8V6C14.5 3.23858 12.2614 1 9.5 1C6.73858 1 4.5 3.23858 4.5 6V8M9.5 12.5V14.5M6.3 19H12.7C14.3802 19 15.2202 19 15.862 18.673C16.4265 18.3854 16.8854 17.9265 17.173 17.362C17.5 16.7202 17.5 15.8802 17.5 14.2V12.8C17.5 11.1198 17.5 10.2798 17.173 9.63803C16.8854 9.07354 16.4265 8.6146 15.862 8.32698C15.2202 8 14.3802 8 12.7 8H6.3C4.61984 8 3.77976 8 3.13803 8.32698C2.57354 8.6146 2.1146 9.07354 1.82698 9.63803C1.5 10.2798 1.5 11.1198 1.5 12.8V14.2C1.5 15.8802 1.5 16.7202 1.82698 17.362C2.1146 17.9265 2.57354 18.3854 3.13803 18.673C3.77976 19 4.61984 19 6.3 19Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ Form password
+ </div>
+ <div class="flex font-semibold my-3">
+ <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M16.5 13C14.8431 13 13.5 14.3431 13.5 16C13.5 17.6569 14.8431 19 16.5 19C18.1569 19 19.5 17.6569 19.5 16C19.5 14.3431 18.1569 13 16.5 13ZM16.5 13V6C16.5 5.46957 16.2893 4.96086 15.9142 4.58579C15.5391 4.21071 15.0304 4 14.5 4H11.5M4.5 7C6.15685 7 7.5 5.65685 7.5 4C7.5 2.34315 6.15685 1 4.5 1C2.84315 1 1.5 2.34315 1.5 4C1.5 5.65685 2.84315 7 4.5 7ZM4.5 7V19" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ Webhooks
+ </div>
+ <div class="flex font-semibold my-3">
+ <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M13 13L16 10L13 7M8 7L5 10L8 13M6.3 19H14.7C16.3802 19 17.2202 19 17.862 18.673C18.4265 18.3854 18.8854 17.9265 19.173 17.362C19.5 16.7202 19.5 15.8802 19.5 14.2V5.8C19.5 4.11984 19.5 3.27976 19.173 2.63803C18.8854 2.07354 18.4265 1.6146 17.862 1.32698C17.2202 1 16.3802 1 14.7 1H6.3C4.61984 1 3.77976 1 3.13803 1.32698C2.57354 1.6146 2.1146 2.07354 1.82698 2.63803C1.5 3.27976 1.5 4.11984 1.5 5.8V14.2C1.5 15.8802 1.5 16.7202 1.82698 17.362C2.1146 17.9265 2.57354 18.3854 3.13803 18.673C3.77976 19 4.61984 19 6.3 19Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ Custom code
+ </div>
+ <div class="flex font-semibold my-3">
+ <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 21 22" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M19.5 7H1.5M14.5 1V4M6.5 1V4M10.5 17V11M7.5 14H13.5M6.3 21H14.7C16.3802 21 17.2202 21 17.862 20.673C18.4265 20.3854 18.8854 19.9265 19.173 19.362C19.5 18.7202 19.5 17.8802 19.5 16.2V7.8C19.5 6.11984 19.5 5.27976 19.173 4.63803C18.8854 4.07354 18.4265 3.6146 17.862 3.32698C17.2202 3 16.3802 3 14.7 3H6.3C4.61984 3 3.77976 3 3.13803 3.32698C2.57354 3.6146 2.1146 4.07354 1.82698 4.63803C1.5 5.27976 1.5 6.11984 1.5 7.8V16.2C1.5 17.8802 1.5 18.7202 1.82698 19.362C2.1146 19.9265 2.57354 20.3854 3.13803 20.673C3.77976 21 4.61984 21 6.3 21Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ Closing date
+ </div>
+ <div class="flex font-semibold my-3">
+ <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M9.5 3C10.0523 3 10.5 2.55228 10.5 2C10.5 1.44772 10.0523 1 9.5 1C8.94772 1 8.5 1.44772 8.5 2C8.5 2.55228 8.94772 3 9.5 3Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M9.5 10C10.0523 10 10.5 9.55228 10.5 9C10.5 8.44772 10.0523 8 9.5 8C8.94772 8 8.5 8.44772 8.5 9C8.5 9.55228 8.94772 10 9.5 10Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M9.5 17C10.0523 17 10.5 16.5523 10.5 16C10.5 15.4477 10.0523 15 9.5 15C8.94772 15 8.5 15.4477 8.5 16C8.5 16.5523 8.94772 17 9.5 17Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M16.5 3C17.0523 3 17.5 2.55228 17.5 2C17.5 1.44772 17.0523 1 16.5 1C15.9477 1 15.5 1.44772 15.5 2C15.5 2.55228 15.9477 3 16.5 3Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M16.5 10C17.0523 10 17.5 9.55228 17.5 9C17.5 8.44772 17.0523 8 16.5 8C15.9477 8 15.5 8.44772 15.5 9C15.5 9.55228 15.9477 10 16.5 10Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M16.5 17C17.0523 17 17.5 16.5523 17.5 16C17.5 15.4477 17.0523 15 16.5 15C15.9477 15 15.5 15.4477 15.5 16C15.5 16.5523 15.9477 17 16.5 17Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M2.5 3C3.05228 3 3.5 2.55228 3.5 2C3.5 1.44772 3.05228 1 2.5 1C1.94772 1 1.5 1.44772 1.5 2C1.5 2.55228 1.94772 3 2.5 3Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M2.5 10C3.05228 10 3.5 9.55228 3.5 9C3.5 8.44772 3.05228 8 2.5 8C1.94772 8 1.5 8.44772 1.5 9C1.5 9.55228 1.94772 10 2.5 10Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M2.5 17C3.05228 17 3.5 16.5523 3.5 16C3.5 15.4477 3.05228 15 2.5 15C1.94772 15 1.5 15.4477 1.5 16C1.5 16.5523 1.94772 17 2.5 17Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
+ </svg>
+ And much more...
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</template>
+
+<script>
+export default {
+ props: {},
+ data: () => ({}),
+ methods: {}
+}
+</script>
diff --git a/client/components/pages/welcome/TemplatesSlider.vue b/client/components/pages/welcome/TemplatesSlider.vue
new file mode 100644
index 000000000..eb6725ecf
--- /dev/null
+++ b/client/components/pages/welcome/TemplatesSlider.vue
@@ -0,0 +1,86 @@
+<template>
+ <div class="mx-auto mb-12 max-w-7xl px-6 lg:px-8">
+ <div class="mx-auto max-w-2xl text-center">
+ <h2 class="text-lg font-semibold leading-8 tracking-tight text-blue-500 ">
+ Single or multi-page forms
+ </h2>
+ <p class="mt-2 text-3xl font-semibold tracking-tight text-gray-900 sm:text-4xl">
+ Discover our beautiful templates
+ </p>
+ <p class="mt-3 px-8 text-center text-lg text-gray-400 ">
+ If you need inspiration, checkout our templates.
+ </p>
+ </div>
+ <div class="my-3 flex justify-center">
+ <router-link :to="{name:'templates'}">
+ See all templates
+ <svg class="h-4 w-4 inline" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
+ <path fill-rule="evenodd"
+ d="M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z"
+ clip-rule="evenodd"
+ />
+ </svg>
+ </router-link>
+ </div>
+
+ <div v-if="templates.length > 0"
+ class="w-full inline-flex flex-nowrap overflow-hidden [mask-image:_linear-gradient(to_right,transparent_0,_black_128px,_black_calc(100%-128px),transparent_100%)]"
+ >
+ <ul ref="templates-slider" class="flex justify-center md:justify-start animate-infinite-scroll">
+ <li v-for="(template, i) in sliderTemplates" :key="template.id" class="mx-4 w-72 h-auto">
+ <single-template :slug="template.slug" />
+ </li>
+ </ul>
+ </div>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useTemplatesStore } from '../../../stores/templates'
+import SingleTemplate from '../templates/SingleTemplate.vue'
+
+export default {
+ components: { SingleTemplate },
+ props: { },
+ setup () {
+ const templatesStore = useTemplatesStore()
+ return {
+ templatesStore,
+ templates : computed(() => templatesStore.content)
+ }
+ },
+ data: () => ({}),
+
+ computed: {
+ sliderTemplates () {
+ return this.templates.slice(0, 20)
+ }
+ },
+
+ watch: {
+ templates: {
+ deep: true,
+ handler () {
+ this.$nextTick(() => {
+ this.setInfinite()
+ })
+ }
+ }
+ },
+
+ mounted() {
+ this.templatesStore.loadAll({ limit: 20 })
+ },
+
+ methods: {
+ setInfinite () {
+ const ul = this.$refs['templates-slider']
+ if (ul) {
+ ul.insertAdjacentHTML('afterend', ul.outerHTML)
+ ul.nextSibling.setAttribute('aria-hidden', 'true')
+ }
+ }
+ }
+}
+</script>
diff --git a/client/components/pages/welcome/Testimonials.vue b/client/components/pages/welcome/Testimonials.vue
new file mode 100644
index 000000000..c5bddeb35
--- /dev/null
+++ b/client/components/pages/welcome/Testimonials.vue
@@ -0,0 +1,46 @@
+<template>
+ <iframe v-if="!isDarkMode" id="testimonialto-carousel-all-notionforms"
+ loading="lazy"
+ src="https://embed.testimonial.to/carousel/all/notionforms?theme=light&autoplay=on&showmore=on&one-row=on&same-height=off"
+ frameBorder="0" scrolling="no" width="100%"
+ />
+ <iframe v-else id="testimonialto-carousel-all-notionforms" src="https://embed.testimonial.to/carousel/all/notionforms?theme=dark&autoplay=on&showmore=on&one-row=on&same-height=off" frameborder="0" scrolling="no" width="100%" />
+</template>
+
+<script>
+export default {
+
+ props: {
+ featuresOnly: {
+ type: Boolean,
+ default: false
+ }
+ },
+ data: () => ({}),
+
+ computed: {
+ isDarkMode () {
+ return window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
+ }
+ },
+
+ mounted () {
+ this.loadScript()
+ },
+
+ methods: {
+ loadScript () {
+ if (process.server) return
+ const script = document.createElement('script')
+ script.setAttribute('src', 'https://testimonial.to/js/iframeResizer.min.js')
+ document.head.appendChild(script)
+ script.addEventListener('load', function () {
+ window.iFrameResize({
+ log: false,
+ checkOrigin: false
+ }, '#testimonialto-carousel-all-notionforms')
+ })
+ }
+ }
+}
+</script>
diff --git a/client/components/service/Crisp.vue b/client/components/service/Crisp.vue
new file mode 100644
index 000000000..b6d22078f
--- /dev/null
+++ b/client/components/service/Crisp.vue
@@ -0,0 +1,32 @@
+<template />
+
+<script>
+export default {
+ name: 'Crisp',
+
+ setup () {
+ return {
+ isIframe: useIsIframe()
+ }
+ },
+
+ mounted () {
+ this.loadCrisp()
+ },
+
+ methods: {
+ loadCrisp () {
+ if (process.server) return
+ if (this.isIframe || !this.$config.crisp_website_id) return
+
+ window.CRISP_WEBSITE_ID = this.$config.crisp_website_id
+
+ const script = document.createElement('script')
+ script.setAttribute('src', 'https://client.crisp.chat/l.js')
+ script.setAttribute('id', 'crisp-widget')
+ script.setAttribute('async', 1)
+ document.head.appendChild(script)
+ }
+ }
+}
+</script>
diff --git a/client/components/tools/StopImpersonation.vue b/client/components/tools/StopImpersonation.vue
new file mode 100644
index 000000000..70241aaf3
--- /dev/null
+++ b/client/components/tools/StopImpersonation.vue
@@ -0,0 +1,61 @@
+<template>
+ <transition name="fade">
+ <button v-if="isImpersonating"
+ class="cursor-pointer group hover:bg-blue-50 text-gray-600 py-2 px-5 fixed bottom-0 left-0 rounded-tr-md bg-white border-t border-r"
+ @click="reverseImpersonation"
+ >
+ <template v-if="!loading">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 -mt-1 group-hover:text-blue-500 inline text-gray-400"
+ fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round"
+ d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"
+ />
+ </svg>
+ Stop Impersonation
+ </template>
+ <template v-else>
+ <div class="px-6">
+ <loader class="h-4 w-4 inline" />
+ </div>
+ </template>
+ </button>
+ </transition>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../../stores/auth.js';
+import { useWorkspacesStore } from '../../stores/workspaces.js';
+
+export default {
+ setup () {
+ const authStore = useAuthStore()
+ const workspacesStore = useWorkspacesStore()
+ return {
+ authStore,
+ workspacesStore,
+ isImpersonating : computed(() => authStore.isImpersonating),
+ }
+ },
+
+ data: () => ({
+ loading: false
+ }),
+
+ computed: {},
+
+ mounted () {},
+
+ methods: {
+ reverseImpersonation () {
+ this.loading = true
+ this.authStore.stopImpersonating().then(() => {
+ this.workspacesStore.set([])
+ this.$router.push({ name: 'settings.admin' })
+ this.loading = false
+ })
+ }
+ }
+}
+</script>
diff --git a/client/components/vendor/appsumo/AppSumoBilling.vue b/client/components/vendor/appsumo/AppSumoBilling.vue
new file mode 100644
index 000000000..c57f44b0c
--- /dev/null
+++ b/client/components/vendor/appsumo/AppSumoBilling.vue
@@ -0,0 +1,82 @@
+<template>
+ <div v-if="user.active_license" class="border p-5 shadow-md rounded-md">
+ <div class="w-auto flex flex-col items-center">
+ <img src="/img/appsumo/as-taco-white-bg.png" class="max-w-[60px]" alt="AppSumo">
+
+ <img src="/img/appsumo/as-Select-dark.png" class="max-w-[150px]" alt="AppSumo">
+
+ </div>
+ <p class="mt-6">
+ Your AppSumo <span class="font-semibold">lifetime deal tier {{ licenseTier }}</span> license is active. Here's a reminder of your plan details:
+ </p>
+ <ul class="list-disc pl-5 mt-4">
+ <li>Number of Forms: <span class="font-semibold">{{ tierFeatures.form_quantity }}</span></li>
+ <li>Custom domains: <span class="font-semibold">{{ tierFeatures.domain_names }}</span></li>
+ <li>File Size Uploads: <span class="font-semibold">{{ tierFeatures.file_upload_size }}</span></li>
+ </ul>
+ <div class="w-max">
+ <v-button color="outline-gray" shade="lighter" class="mt-4 block" href="https://appsumo.com/account/products/" target="_blank">
+ Mangage in AppSumo
+ </v-button>
+ </div>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../../../stores/auth'
+import VButton from '~/components/global/VButton.vue'
+
+export default {
+ name: 'AppSumoBilling',
+ components: { VButton },
+
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ user : computed(() => authStore.user),
+ }
+ },
+
+ data () {
+ return {
+ }
+ },
+
+ computed: {
+ licenseTier () {
+ return this.user?.active_license?.meta?.tier
+ },
+ tierFeatures () {
+ if (!this.licenseTier) return {}
+ return {
+ 1: {
+ form_quantity: 'Unlimited',
+ file_upload_size: '25mb',
+ domain_names: '5'
+ },
+ 2: {
+ form_quantity: 'Unlimited',
+ file_upload_size: '50mb',
+ domain_names: '25'
+ },
+ 3: {
+ form_quantity: 'Unlimited',
+ file_upload_size: '75mb',
+ domain_names: 'Unlimited'
+ }
+ }[this.licenseTier]
+ }
+ },
+
+ watch: {},
+
+ mounted () {},
+
+ created () {},
+
+ destroyed () {},
+
+ methods: {}
+}
+</script>
diff --git a/client/components/vendor/appsumo/AppSumoRegister.vue b/client/components/vendor/appsumo/AppSumoRegister.vue
new file mode 100644
index 000000000..48a61a030
--- /dev/null
+++ b/client/components/vendor/appsumo/AppSumoRegister.vue
@@ -0,0 +1,54 @@
+<template>
+ <div v-if="hasValidLicense" class="p-6 bg-white border shadow-md rounded-md">
+ <img src="/img/appsumo/as-taco-white-bg.png" class="max-w-[60px] mx-auto" alt="AppSumo">
+
+ <img src="/img/appsumo/as-Select-dark.png" class="max-w-[300px] mx-auto" alt="AppSumo">
+
+ <p class="mt-6">
+ <span class="text-green-500">We found your AppSumo Lifetime deal license!</span> Just complete the registration form to finalize the activation of
+ your license.
+ </p>
+ </div>
+ <div v-else-if="hasLicenseError" class="p-6 bg-white border border-red-500 shadow-md rounded-md">
+ <img src="/img/appsumo/as-taco-white-bg.png" class="max-w-[60px] mx-auto" alt="AppSumo">
+
+ <img src="/img/appsumo/as-Select-dark.png" class="max-w-[300px] mx-auto" alt="AppSumo">
+
+ <p class="mt-6">
+ <span class="text-red-600">Invalid AppSumo license</span>. The license was probably already attached to an OpnForm account. Please contact support.
+ </p>
+ </div>
+</template>
+
+<script>
+export default {
+
+ name: 'AppSumoRegister',
+
+ data () {
+ return {
+ hasValidLicense: false,
+ hasLicenseError: false
+ }
+ },
+
+ computed: {},
+
+ watch: {},
+
+ mounted () {
+ if (this.$route.query.appsumo_license !== undefined && this.$route.query.appsumo_license) {
+ this.hasValidLicense = true
+ } else if (this.$route.query.appsumo_error !== undefined && this.$route.query.appsumo_error) {
+ this.hasLicenseError = true
+ }
+ },
+
+ created () {
+ },
+ destroyed () {
+ },
+
+ methods: {}
+}
+</script>
diff --git a/client/composables/useAmplitude.js b/client/composables/useAmplitude.js
new file mode 100644
index 000000000..d4c6fe878
--- /dev/null
+++ b/client/composables/useAmplitude.js
@@ -0,0 +1,34 @@
+import amplitude from 'amplitude-js'
+import config from '~/opnform.config.js'
+
+export default () => {
+ const amplitudeClient = config.amplitude_code ? amplitude.getInstance().init(config.amplitude_code) : null;
+
+ const logEvent = function (eventName, eventData) {
+ if (!config.production || !amplitudeClient) {
+ console.log('[DEBUG] Amplitude logged event:', eventName, eventData)
+ }
+
+ if (eventData && typeof eventData !== 'object') {
+ throw new Error('Amplitude event value must be an object.')
+ }
+
+ amplitudeClient.logEvent(eventName, eventData)
+ }
+
+ const setUser = function (user) {
+ amplitudeClient.setUserId(user.id)
+ amplitudeClient.setUserProperties({
+ email: this.user.email,
+ subscribed: this.user.is_subscribed,
+ enterprise_subscription: this.user.has_enterprise_subscription
+ })
+ }
+
+
+ return {
+ logEvent,
+ setUser,
+ amplitude: amplitudeClient
+ }
+}
diff --git a/client/composables/useConfig.js b/client/composables/useConfig.js
new file mode 100644
index 000000000..751243fd3
--- /dev/null
+++ b/client/composables/useConfig.js
@@ -0,0 +1,2 @@
+import opnformConfig from "~/opnform.config.js";
+export const useConfig = () => opnformConfig
diff --git a/client/composables/useCrisp.js b/client/composables/useCrisp.js
new file mode 100644
index 000000000..fdb9059b5
--- /dev/null
+++ b/client/composables/useCrisp.js
@@ -0,0 +1,53 @@
+export const useCrisp = () => {
+
+ function push(args) {
+ if (process.client) {
+ window.$crisp.push(args)
+ }
+ }
+
+ function openChat() {
+ push(['do', 'chat:open'])
+ }
+
+ function showChat() {
+ push(['do', 'chat:show'])
+ }
+
+ function hideChat() {
+ push(['do', 'chat:hide'])
+ }
+
+ function closeChat() {
+ push(['do', 'chat:close'])
+ }
+
+ function openAndShowChat(message = null) {
+ showChat()
+ openChat()
+ if (message) sendTextMessage(message)
+ }
+
+ function openHelpdesk(){
+ push(['do', 'helpdesk:search'])
+ }
+ function openHelpdeskArticle(articleSlug, lang = 'en') {
+ push(['do', 'helpdesk:article:open', [lang, articleSlug]])
+ }
+
+ function sendTextMessage(message) {
+ push(['do', 'message:send', ['text',message]])
+ }
+
+ return {
+ push,
+ openChat,
+ showChat,
+ hideChat,
+ closeChat,
+ openAndShowChat,
+ openHelpdesk,
+ openHelpdeskArticle,
+ sendTextMessage
+ }
+}
diff --git a/client/composables/useIsIframe.js b/client/composables/useIsIframe.js
new file mode 100644
index 000000000..4a123f175
--- /dev/null
+++ b/client/composables/useIsIframe.js
@@ -0,0 +1,6 @@
+export const useIsIframe = () => {
+ if (process.client) {
+ return window.location !== window.parent.location || window.frameElement
+ }
+ return false
+}
diff --git a/client/config/form-themes.js b/client/config/form-themes.js
new file mode 100644
index 000000000..56c761e90
--- /dev/null
+++ b/client/config/form-themes.js
@@ -0,0 +1,123 @@
+/**
+ Input classes for each supported form themes
+ */
+export const themes = {
+ default: {
+ default: {
+ label: 'text-gray-700 dark:text-gray-300 font-semibold',
+ input: 'rounded-lg border-gray-300 flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100',
+ help: 'text-gray-400 dark:text-gray-500'
+ },
+ Button: {
+ body: 'transition ease-in duration-200 text-center font-semibold shadow-md focus:outline-none focus:ring-2 focus:ring-offset-2 rounded-lg filter hover:brightness-110'
+ },
+ CodeInput: {
+ label: 'text-gray-700 dark:text-gray-300 font-semibold',
+ input: 'rounded-lg border border-gray-300 dark:border-gray-600 overflow-hidden',
+ help: 'text-gray-400 dark:text-gray-500'
+ },
+ RichTextAreaInput: {
+ label: 'text-gray-700 dark:text-gray-300 font-semibold',
+ input: 'rounded-lg border-gray-300 flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-1 focus:ring-opacity-100 focus:border-transparent focus:ring-2',
+ help: 'text-gray-400 dark:text-gray-500'
+ },
+ SelectInput: {
+ label: 'text-gray-700 dark:text-gray-300 font-semibold',
+ input: 'relative w-full rounded-lg border-gray-300 flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full px-4 bg-white text-gray-700 placeholder-gray-400 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-600 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent',
+ help: 'text-gray-400 dark:text-gray-500'
+ },
+ ScaleInput: {
+ label: 'text-gray-700 dark:text-gray-300 font-semibold',
+ button: 'cursor-pointer text-gray-700 inline-block rounded-lg border-gray-300 px-4 py-2 flex-grow dark:bg-notion-dark-light dark:text-gray-300 text-center',
+ unselectedButton: 'bg-white hover:bg-gray-50 border',
+ help: 'text-gray-400 dark:text-gray-500'
+ },
+ fileInput: {
+ input: 'min-h-40 border border-dashed border-gray-300 p-4 rounded-lg',
+ inputHover: {
+ light: 'bg-neutral-50',
+ dark: 'bg-notion-dark-light'
+ },
+ uploadedFile: 'border border-gray-300 dark:border-gray-600 bg-white dark:bg-notion-dark-light rounded-lg shadow-sm max-w-[10rem]'
+ }
+ },
+ simple: {
+ default: {
+ label: 'text-gray-700 dark:text-gray-300 font-semibold',
+ input: 'flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-2 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100',
+ help: 'text-gray-400 dark:text-gray-500'
+ },
+ Button: {
+ body: 'transition ease-in duration-200 text-center font-semibold focus:outline-none focus:ring-2 focus:ring-offset-2 filter hover:brightness-110'
+ },
+ SelectInput: {
+ label: 'text-gray-700 dark:text-gray-300 font-semibold',
+ input: 'relative w-full flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full px-2 bg-white text-gray-700 placeholder-gray-400 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-600 text-base focus:outline-none focus:ring-2 focus:border-transparent',
+ help: 'text-gray-400 dark:text-gray-500'
+ },
+ CodeInput: {
+ label: 'text-gray-700 dark:text-gray-300 font-semibold',
+ input: 'border border-gray-300 dark:border-gray-600 overflow-hidden',
+ help: 'text-gray-400 dark:text-gray-500'
+ },
+ RichTextAreaInput: {
+ label: 'text-gray-700 dark:text-gray-300 font-semibold',
+ input: 'border-transparent flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 text-base focus:outline-none focus:ring-1 focus:ring-opacity-100 focus:border-transparent focus:ring-2',
+ help: 'text-gray-400 dark:text-gray-500'
+ },
+ ScaleInput: {
+ label: 'text-gray-700 dark:text-gray-300 font-semibold',
+ button: 'flex-1 appearance-none border-gray-300 dark:border-gray-600 w-full py-2 px-2 bg-gray-50 text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 text-center',
+ unselectedButton: 'bg-white hover:bg-gray-50 border -mx-4',
+ help: 'text-gray-400 dark:text-gray-500'
+ },
+ fileInput: {
+ input: 'min-h-40 border border-dashed border-gray-300 p-4',
+ inputHover: {
+ light: 'bg-neutral-50',
+ dark: 'bg-notion-dark-light'
+ },
+ uploadedFile: 'border border-gray-300 dark:border-gray-600 bg-white dark:bg-notion-dark-light shadow-sm max-w-[10rem]'
+ }
+ },
+ notion: {
+ default: {
+ label: 'text-gray-900 dark:text-gray-100 mb-2 block mt-4',
+ input: 'rounded border-transparent flex-1 appearance-none shadow-inner-notion w-full py-2 px-2 bg-notion-input-background dark:bg-notion-dark-light text-gray-900 dark:text-gray-100 dark:placeholder-gray-500 placeholder-gray-400 text-base focus:outline-none focus:ring-0 focus:border-transparent focus:shadow-focus-notion',
+ help: 'text-notion-input-help dark:text-gray-500'
+ },
+ Button: {
+ body: 'rounded-md transition ease-in duration-200 text-center font-semibold shadow shadow-inner-notion focus:outline-none focus:ring-2 focus:ring-offset-2 filter hover:brightness-110'
+ },
+ SelectInput: {
+ label: 'text-gray-900 dark:text-gray-100 mb-2 block mt-4',
+ input: 'rounded relative w-full border-transparent flex-1 appearance-none bg-notion-input-background shadow-inner-notion w-full px-2 text-gray-900 placeholder-gray-400 dark:bg-notion-dark-light dark:placeholder-gray-500 text-base focus:outline-none focus:ring-0 focus:border-transparent focus:shadow-focus-notion',
+ help: 'text-notion-input-help dark:text-gray-500'
+ },
+ CodeInput: {
+ label: 'text-gray-900 dark:text-gray-100 mb-2 block mt-4',
+ input: 'rounded shadow-inner-notion border border-gray-300 dark:border-gray-600 overflow-hidden',
+ help: 'text-notion-input-help dark:text-gray-500'
+ },
+ RichTextAreaInput: {
+ label: 'text-gray-900 dark:text-gray-100 mb-2 block mt-4',
+ input: 'rounded border-transparent flex-1 appearance-none shadow-inner-notion border border-gray-300 dark:border-gray-600 w-full text-gray-900 bg-notion-input-background dark:bg-notion-dark-light shadow-inner dark:placeholder-gray-500 placeholder-gray-400 text-base focus:outline-none focus:ring-0 focus:ring-opacity-100 focus:border-transparent focus:ring-0 focus:shadow-focus-notion',
+ help: 'text-notion-input-help dark:text-gray-500'
+ },
+ ScaleInput: {
+ label: 'text-gray-900 dark:text-gray-100 mb-2 block mt-4',
+ button: 'rounded border-transparent flex-1 appearance-none shadow-inner-notion w-full py-2 px-2 bg-notion-input-background dark:bg-notion-dark-light text-gray-900 dark:text-gray-100 text-center',
+ unselectedButton: 'bg-notion-input-background dark:bg-notion-dark-light hover:bg-gray-50 border',
+ help: 'text-notion-input-help dark:text-gray-500'
+ },
+ fileInput: {
+ input: 'min-h-40 border border-dashed border-gray-300 p-4 rounded bg-notion-input-background',
+ inputHover: {
+ light: 'bg-neutral-50',
+ dark: 'bg-notion-dark-light'
+ },
+ uploadedFile: 'border border-gray-300 dark:border-gray-600 bg-white dark:bg-notion-dark-light rounded shadow-sm max-w-[10rem]'
+ }
+ }
+
+}
diff --git a/client/layouts/basic.vue b/client/layouts/basic.vue
new file mode 100644
index 000000000..435de3d7d
--- /dev/null
+++ b/client/layouts/basic.vue
@@ -0,0 +1,24 @@
+<template>
+ <div class="basic-layout flex items-center justify-center m-0">
+ <slot/>
+ </div>
+</template>
+
+<style lang="scss">
+.basic-layout {
+ color: #636b6f;
+ height: 100vh;
+ font-weight: 100;
+ position: relative;
+
+ .links > a {
+ color: #636b6f;
+ padding: 0 25px;
+ font-size: 12px;
+ font-weight: 600;
+ letter-spacing: .1rem;
+ text-decoration: none;
+ text-transform: uppercase;
+ }
+}
+</style>
diff --git a/client/layouts/default.vue b/client/layouts/default.vue
new file mode 100644
index 000000000..ff1161537
--- /dev/null
+++ b/client/layouts/default.vue
@@ -0,0 +1,8 @@
+<template>
+ <div class="main-layout min-h-screen flex flex-col">
+<!-- <Navbar />-->
+
+ <slot class="flex-grow">
+ </slot>
+ </div>
+</template>
diff --git a/client/mixins/form_editor/initForm.js b/client/mixins/form_editor/initForm.js
new file mode 100644
index 000000000..ea4737ccf
--- /dev/null
+++ b/client/mixins/form_editor/initForm.js
@@ -0,0 +1,57 @@
+import Form from "vform";
+
+export default {
+ methods: {
+ initForm() {
+ this.form = new Form({
+ title: 'My Form',
+ description: null,
+ visibility: 'public',
+ workspace_id: this.workspace?.id,
+ properties: [],
+
+ notifies: false,
+ slack_notifies: false,
+ send_submission_confirmation: false,
+ webhook_url: null,
+ notification_settings: {},
+
+ // Customization
+ theme: 'default',
+ width: 'centered',
+ dark_mode: 'auto',
+ color: '#3B82F6',
+ hide_title: false,
+ no_branding: false,
+ uppercase_labels: true,
+ transparent_background: false,
+ closes_at: null,
+ closed_text: 'This form has now been closed by its owner and does not accept submissions anymore.',
+ auto_save: true,
+
+ // Submission
+ submit_button_text: 'Submit',
+ re_fillable: false,
+ re_fill_button_text: 'Fill Again',
+ submitted_text: 'Amazing, we saved your answers. Thank you for your time and have a great day!',
+ notification_sender: 'OpnForm',
+ notification_subject: 'We saved your answers',
+ notification_body: 'Hello there 👋 <br>This is a confirmation that your submission was successfully saved.',
+ notifications_include_submission: true,
+ use_captcha: false,
+ is_rating: false,
+ rating_max_value: 5,
+ max_submissions_count: null,
+ max_submissions_reached_text: 'This form has now reached the maximum number of allowed submissions and is now closed.',
+ editable_submissions_button_text: 'Edit submission',
+ confetti_on_submission: false,
+
+ // Security & Privacy
+ can_be_indexed: true,
+
+ // Custom SEO
+ seo_meta: {}
+ })
+ },
+ }
+}
diff --git a/client/mixins/forms/fieldsLogic.js b/client/mixins/forms/fieldsLogic.js
new file mode 100644
index 000000000..014ee652e
--- /dev/null
+++ b/client/mixins/forms/fieldsLogic.js
@@ -0,0 +1,17 @@
+import FormPropertyLogicRule from '../../forms/FormPropertyLogicRule.js'
+export default {
+ methods: {
+ validateFieldsLogic (properties) {
+ properties.forEach((field) => {
+ const isValid = (new FormPropertyLogicRule(field)).isValid()
+ if(!isValid){
+ field.logic = {
+ conditions: null,
+ actions: []
+ }
+ }
+ })
+ return properties
+ }
+ }
+}
diff --git a/client/mixins/forms/form-pending-submission-key.js b/client/mixins/forms/form-pending-submission-key.js
new file mode 100644
index 000000000..30c5acbc2
--- /dev/null
+++ b/client/mixins/forms/form-pending-submission-key.js
@@ -0,0 +1,22 @@
+const cyrb53 = (str, seed = 0) => {
+ let h1 = 0xdeadbeef ^ seed,
+ h2 = 0x41c6ce57 ^ seed;
+ for (let i = 0, ch; i < str.length; i++) {
+ ch = str.charCodeAt(i);
+ h1 = Math.imul(h1 ^ ch, 2654435761);
+ h2 = Math.imul(h2 ^ ch, 1597334677);
+ }
+
+ h1 = Math.imul(h1 ^ (h1 >>> 16), 2246822507) ^ Math.imul(h2 ^ (h2 >>> 13), 3266489909);
+ h2 = Math.imul(h2 ^ (h2 >>> 16), 2246822507) ^ Math.imul(h1 ^ (h1 >>> 13), 3266489909);
+
+ return 4294967296 * (2097151 & h2) + (h1 >>> 0);
+};
+
+export default {
+ computed: {
+ formPendingSubmissionKey() {
+ return (this.form) ? this.form.form_pending_submission_key + '-' + cyrb53(window.location.href) : ''
+ }
+ }
+}
diff --git a/client/mixins/forms/input.js b/client/mixins/forms/input.js
new file mode 100644
index 000000000..b7a7d0282
--- /dev/null
+++ b/client/mixins/forms/input.js
@@ -0,0 +1,64 @@
+import { themes } from '~/config/form-themes.js'
+
+export default {
+ props: {
+ id: { type: String, default: null },
+ name: { type: String, required: true },
+ label: { type: String, required: false },
+ form: { type: Object, required: false },
+ value: { required: false },
+ required: { type: Boolean, default: false },
+ disabled: { type: Boolean, default: false },
+ placeholder: { type: String, default: null },
+ uppercaseLabels: { type: Boolean, default: false },
+ help: { type: String, default: null },
+ helpPosition: { type: String, default: 'below_input' },
+ theme: { type: Object, default: () => themes.default },
+ color: { type: String, default: '#3B82F6' },
+ wrapperClass: { type: String, default: 'relative mb-3' }
+ },
+
+ data () {
+ return {
+ content: this.value
+ }
+ },
+
+ computed: {
+ inputStyle () {
+ return {
+ '--tw-ring-color': this.color
+ }
+ },
+ hasValidation () {
+ return this.form !== null && this.form !== undefined && this.form.hasOwnProperty('errors')
+ },
+ compVal: {
+ set (val) {
+ if (this.form) {
+ this.form[this.name] = val
+ } else {
+ this.content = val
+ }
+ if (this.hasValidation) {
+ this.form.errors.clear(this.name)
+ }
+ this.$emit('input', this.compVal)
+ },
+ get () {
+ if (this.form) {
+ return this.form[this.name]
+ }
+ return this.content
+ }
+ }
+ },
+
+ watch: {
+ value (val) {
+ if (val !== this.compVal) {
+ this.compVal = val
+ }
+ }
+ }
+}
diff --git a/client/mixins/forms/saveUpdateAlert.js b/client/mixins/forms/saveUpdateAlert.js
new file mode 100644
index 000000000..d53cb856e
--- /dev/null
+++ b/client/mixins/forms/saveUpdateAlert.js
@@ -0,0 +1,11 @@
+export default {
+ methods: {
+ displayFormModificationAlert (responseData) {
+ if (responseData.form && responseData.form.cleanings && Object.keys(responseData.form.cleanings).length > 0) {
+ this.alertWarning(responseData.message)
+ } else {
+ this.alertSuccess(responseData.message)
+ }
+ }
+ }
+}
diff --git a/client/mixins/seo-meta.js b/client/mixins/seo-meta.js
new file mode 100644
index 000000000..2d4044722
--- /dev/null
+++ b/client/mixins/seo-meta.js
@@ -0,0 +1,23 @@
+export default {
+ metaInfo () {
+ const title = this.metaTitle ?? 'OpnForm'
+ const description = this.metaDescription ?? "Create beautiful forms for free. Unlimited fields, unlimited submissions. It's free and it takes less than 1 minute to create your first form."
+ const image = this.metaImage ?? this.asset('img/social-preview.jpg')
+ const metaTemplate = this.metaTemplate ?? '%s · OpnForm'
+
+ return {
+ title: title,
+ titleTemplate: metaTemplate,
+ meta: [
+ ...(this.metaTags ?? []),
+ { vmid: 'og:title', property: 'og:title', content: title },
+ { vmid: 'twitter:title', property: 'twitter:title', content: title },
+ { vmid: 'description', name: 'description', content: description },
+ { vmid: 'og:description', property: 'og:description', content: description },
+ { vmid: 'twitter:description', property: 'twitter:description', content: description },
+ { vmid: 'twitter:image', property: 'twitter:image', content: image },
+ { vmid: 'og:image', property: 'og:image', content: image }
+ ]
+ }
+ }
+}
diff --git a/client/nuxt.config.ts b/client/nuxt.config.ts
new file mode 100644
index 000000000..a9bb830f1
--- /dev/null
+++ b/client/nuxt.config.ts
@@ -0,0 +1,33 @@
+// https://nuxt.com/docs/api/configuration/nuxt-config
+
+import opnformConfig from "./opnform.config";
+
+const modules = [
+ '@pinia/nuxt',
+ '@vueuse/nuxt',
+ '@vueuse/motion/nuxt'
+]
+
+if (opnformConfig.sentry_dsn) {
+ modules.push('@nuxtjs/sentry')
+}
+export default defineNuxtConfig({
+ devtools: {enabled: true},
+ css: ['~/scss/app.scss'],
+ modules: [
+ '@pinia/nuxt',
+ '@vueuse/nuxt',
+ '@vueuse/motion/nuxt'
+ ],
+ postcss: {
+ plugins: {
+ 'postcss-import': {},
+ 'tailwindcss/nesting': {},
+ tailwindcss: {},
+ autoprefixer: {},
+ },
+ },
+ sentry: {
+ dsn: opnformConfig.sentry_dsn,
+ }
+})
diff --git a/client/opnform.config.js b/client/opnform.config.js
new file mode 100644
index 000000000..9035e40e1
--- /dev/null
+++ b/client/opnform.config.js
@@ -0,0 +1,30 @@
+export default {
+ "appName": "OpnForm",
+ "app_url": "https://opnform.test",
+ "locale": "en",
+ "locales": {"en": "EN"},
+ "githubAuth": null,
+ "notion": {"worker": "https://notion-forms-worker.notionforms.workers.dev/v1"},
+ "links": {
+ "help_url": "https://github.com/JhumanJ/OpnForm/discussions",
+ "helpdesk_sitemap_url": "https://notionforms.crisp.help/sitemap.xml",
+ "changelog_url": "https://opnform.canny.io/changelog",
+ "github_url": "https://github.com/JhumanJ/OpnForm",
+ "github_forum_url": "https://github.com/JhumanJ/OpnForm/discussions",
+ "facebook_group": "https://www.facebook.com/groups/opnform/",
+ "twitter": "https://twitter.com/OpnForm",
+ "zapier_integration": "https://zapier.com/developer/public-invite/146950/58db583730cc46b821614468d94c35de/",
+ "book_onboarding": "https://zcal.co/i/YQVGEULQ",
+ "feature_requests": "https://opnform.canny.io/feature-requests"
+ },
+ "production": false,
+ "hCaptchaSiteKey": "4ee2dabb-4012-477e-8eb6-8017355f07cd",
+ "google_analytics_code": "",
+ "amplitude_code": "",
+ "sentry_dsn": "https://f1829a9d456704e776eccc73e1b30369@o4504910866612224.ingest.sentry.io/4506014678646784",
+ "crisp_website_id": "94219d77-06ff-4aec-b07a-5bf26ec8fde1",
+ "ai_features_enabled": true,
+ "s3_enabled": false,
+ "paid_plans_enabled": true,
+ "custom_domains_enabled": true
+}
diff --git a/client/package-lock.json b/client/package-lock.json
new file mode 100644
index 000000000..9d0133eb7
--- /dev/null
+++ b/client/package-lock.json
@@ -0,0 +1,12071 @@
+{
+ "name": "nuxt-app",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "nuxt-app",
+ "hasInstallScript": true,
+ "dependencies": {
+ "@hcaptcha/vue3-hcaptcha": "^1.3.0",
+ "@nuxtjs/sentry": "^8.0.6",
+ "@pinia/nuxt": "^0.5.1",
+ "@sentry/integrations": "^7.53.1",
+ "@sentry/tracing": "^6.11.0",
+ "@sentry/vue": "^6.11.0",
+ "@vueuse/components": "^10.5.0",
+ "@vueuse/core": "^10.5.0",
+ "@vueuse/motion": "^2.0.0",
+ "@vueuse/nuxt": "^10.7.0",
+ "amplitude-js": "^8.21.9",
+ "axios": "^0.21.1",
+ "chart.js": "^4.4.0",
+ "clone-deep": "^4.0.1",
+ "date-fns": "^2.28.0",
+ "debounce": "^1.2.1",
+ "fuse.js": "^6.4.6",
+ "js-cookie": "^2.2.1",
+ "js-sha256": "^0.9.0",
+ "libphonenumber-js": "^1.10.44",
+ "prismjs": "^1.24.1",
+ "qrcode": "^1.5.1",
+ "query-builder-vue-3": "^1.0.1",
+ "tinymotion": "^0.2.0",
+ "vform": "^2.1.1",
+ "vue": "^3.2.13",
+ "vue-chartjs": "^5.2.0",
+ "vue-codemirror": "^4.0.6",
+ "vue-confetti": "^2.3.0",
+ "vue-country-flag-next": "^2.3.2",
+ "vue-notion": "^3.0.0-beta.1",
+ "vue-signature-pad": "^3.0.2",
+ "vue3-editor": "^0.1.1",
+ "vue3-vt-notifications": "^1.0.0",
+ "vuedraggable": "next"
+ },
+ "devDependencies": {
+ "@nuxt/devtools": "latest",
+ "autoprefixer": "^10.4.16",
+ "nuxt": "^3.8.2",
+ "postcss": "^8.4.32",
+ "tailwindcss": "^3.3.6",
+ "vue": "^3.3.10",
+ "vue-router": "^4.2.5"
+ }
+ },
+ "node_modules/@alloc/quick-lru": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
+ "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@amplitude/analytics-connector": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@amplitude/analytics-connector/-/analytics-connector-1.5.0.tgz",
+ "integrity": "sha512-T8mOYzB9RRxckzhL0NTHwdge9xuFxXEOplC8B1Y3UX3NHa3BLh7DlBUZlCOwQgMc2nxDfnSweDL5S3bhC+W90g=="
+ },
+ "node_modules/@amplitude/types": {
+ "version": "1.10.2",
+ "resolved": "https://registry.npmjs.org/@amplitude/types/-/types-1.10.2.tgz",
+ "integrity": "sha512-I8qenRI7uU6wKNb9LiZrAosSHVoNHziXouKY81CrqxH9xhVTEIJFXeuCV0hbtBr0Al/8ejnGjQRx+S2SvU/pPg==",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@amplitude/ua-parser-js": {
+ "version": "0.7.33",
+ "resolved": "https://registry.npmjs.org/@amplitude/ua-parser-js/-/ua-parser-js-0.7.33.tgz",
+ "integrity": "sha512-wKEtVR4vXuPT9cVEIJkYWnlF++Gx3BdLatPBM+SZ1ztVIvnhdGBZR/mn9x/PzyrMcRlZmyi6L56I2J3doVBnjA==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/ua-parser-js"
+ },
+ {
+ "type": "paypal",
+ "url": "https://paypal.me/faisalman"
+ }
+ ],
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/@amplitude/utils": {
+ "version": "1.10.2",
+ "resolved": "https://registry.npmjs.org/@amplitude/utils/-/utils-1.10.2.tgz",
+ "integrity": "sha512-tVsHXu61jITEtRjB7NugQ5cVDd4QDzne8T3ifmZye7TiJeUfVRvqe44gDtf55A+7VqhDhyEIIXTA1iVcDGqlEw==",
+ "dependencies": {
+ "@amplitude/types": "^1.10.2",
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@amplitude/utils/node_modules/tslib": {
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
+ "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
+ },
+ "node_modules/@ampproject/remapping": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz",
+ "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.0",
+ "@jridgewell/trace-mapping": "^0.3.9"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@antfu/utils": {
+ "version": "0.7.6",
+ "resolved": "https://registry.npmjs.org/@antfu/utils/-/utils-0.7.6.tgz",
+ "integrity": "sha512-pvFiLP2BeOKA/ZOS6jxx4XhKzdVLHDhGlFEaZ2flWWYf2xOqVniqpk38I04DFRyz+L0ASggl7SkItTc+ZLju4w==",
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/@babel/code-frame": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz",
+ "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==",
+ "dependencies": {
+ "@babel/highlight": "^7.23.4",
+ "chalk": "^2.4.2"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
+ },
+ "node_modules/@babel/code-frame/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/@babel/code-frame/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/compat-data": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz",
+ "integrity": "sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.5.tgz",
+ "integrity": "sha512-Cwc2XjUrG4ilcfOw4wBAK+enbdgwAcAJCfGUItPBKR7Mjw4aEfAFYrLxeRp4jWgtNIKn3n2AlBOfwwafl+42/g==",
+ "dependencies": {
+ "@ampproject/remapping": "^2.2.0",
+ "@babel/code-frame": "^7.23.5",
+ "@babel/generator": "^7.23.5",
+ "@babel/helper-compilation-targets": "^7.22.15",
+ "@babel/helper-module-transforms": "^7.23.3",
+ "@babel/helpers": "^7.23.5",
+ "@babel/parser": "^7.23.5",
+ "@babel/template": "^7.22.15",
+ "@babel/traverse": "^7.23.5",
+ "@babel/types": "^7.23.5",
+ "convert-source-map": "^2.0.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.2.3",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/babel"
+ }
+ },
+ "node_modules/@babel/core/node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/@babel/generator": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.5.tgz",
+ "integrity": "sha512-BPssCHrBD+0YrxviOa3QzpqwhNIXKEtOa2jQrm4FlmkC2apYgRnQcmPWiGZDlGxiNtltnUFolMe8497Esry+jA==",
+ "dependencies": {
+ "@babel/types": "^7.23.5",
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "@jridgewell/trace-mapping": "^0.3.17",
+ "jsesc": "^2.5.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-annotate-as-pure": {
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz",
+ "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==",
+ "dependencies": {
+ "@babel/types": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets": {
+ "version": "7.22.15",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz",
+ "integrity": "sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==",
+ "dependencies": {
+ "@babel/compat-data": "^7.22.9",
+ "@babel/helper-validator-option": "^7.22.15",
+ "browserslist": "^4.21.9",
+ "lru-cache": "^5.1.1",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets/node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/@babel/helper-create-class-features-plugin": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.23.5.tgz",
+ "integrity": "sha512-QELlRWxSpgdwdJzSJn4WAhKC+hvw/AtHbbrIoncKHkhKKR/luAlKkgBDcri1EzWAo8f8VvYVryEHN4tax/V67A==",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.22.5",
+ "@babel/helper-environment-visitor": "^7.22.20",
+ "@babel/helper-function-name": "^7.23.0",
+ "@babel/helper-member-expression-to-functions": "^7.23.0",
+ "@babel/helper-optimise-call-expression": "^7.22.5",
+ "@babel/helper-replace-supers": "^7.22.20",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5",
+ "@babel/helper-split-export-declaration": "^7.22.6",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-create-class-features-plugin/node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/@babel/helper-environment-visitor": {
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz",
+ "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-function-name": {
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz",
+ "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==",
+ "dependencies": {
+ "@babel/template": "^7.22.15",
+ "@babel/types": "^7.23.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-hoist-variables": {
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz",
+ "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==",
+ "dependencies": {
+ "@babel/types": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-member-expression-to-functions": {
+ "version": "7.23.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.23.0.tgz",
+ "integrity": "sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==",
+ "dependencies": {
+ "@babel/types": "^7.23.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-imports": {
+ "version": "7.22.15",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz",
+ "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==",
+ "dependencies": {
+ "@babel/types": "^7.22.15"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-transforms": {
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz",
+ "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==",
+ "dependencies": {
+ "@babel/helper-environment-visitor": "^7.22.20",
+ "@babel/helper-module-imports": "^7.22.15",
+ "@babel/helper-simple-access": "^7.22.5",
+ "@babel/helper-split-export-declaration": "^7.22.6",
+ "@babel/helper-validator-identifier": "^7.22.20"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-optimise-call-expression": {
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz",
+ "integrity": "sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==",
+ "dependencies": {
+ "@babel/types": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-plugin-utils": {
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz",
+ "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-replace-supers": {
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.22.20.tgz",
+ "integrity": "sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw==",
+ "dependencies": {
+ "@babel/helper-environment-visitor": "^7.22.20",
+ "@babel/helper-member-expression-to-functions": "^7.22.15",
+ "@babel/helper-optimise-call-expression": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-simple-access": {
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz",
+ "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==",
+ "dependencies": {
+ "@babel/types": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-skip-transparent-expression-wrappers": {
+ "version": "7.22.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz",
+ "integrity": "sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==",
+ "dependencies": {
+ "@babel/types": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-split-export-declaration": {
+ "version": "7.22.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz",
+ "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==",
+ "dependencies": {
+ "@babel/types": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-string-parser": {
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz",
+ "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-identifier": {
+ "version": "7.22.20",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
+ "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz",
+ "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.5.tgz",
+ "integrity": "sha512-oO7us8FzTEsG3U6ag9MfdF1iA/7Z6dz+MtFhifZk8C8o453rGJFFWUP1t+ULM9TUIAzC9uxXEiXjOiVMyd7QPg==",
+ "dependencies": {
+ "@babel/template": "^7.22.15",
+ "@babel/traverse": "^7.23.5",
+ "@babel/types": "^7.23.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/highlight": {
+ "version": "7.23.4",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz",
+ "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==",
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.22.20",
+ "chalk": "^2.4.2",
+ "js-tokens": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dependencies": {
+ "color-convert": "^1.9.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dependencies": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dependencies": {
+ "color-name": "1.1.3"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
+ },
+ "node_modules/@babel/highlight/node_modules/escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/@babel/highlight/node_modules/supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dependencies": {
+ "has-flag": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/parser": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.5.tgz",
+ "integrity": "sha512-hOOqoiNXrmGdFbhgCzu6GiURxUgM27Xwd/aPuu8RfHEZPBzL1Z54okAHAQjXfcQNwvrlkAmAp4SlRTZ45vlthQ==",
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-proposal-decorators": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.23.5.tgz",
+ "integrity": "sha512-6IsY8jOeWibsengGlWIezp7cuZEFzNlAghFpzh9wiZwhQ42/hRcPnY/QV9HJoKTlujupinSlnQPiEy/u2C1ZfQ==",
+ "dependencies": {
+ "@babel/helper-create-class-features-plugin": "^7.23.5",
+ "@babel/helper-plugin-utils": "^7.22.5",
+ "@babel/helper-replace-supers": "^7.22.20",
+ "@babel/helper-split-export-declaration": "^7.22.6",
+ "@babel/plugin-syntax-decorators": "^7.23.3"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-decorators": {
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.23.3.tgz",
+ "integrity": "sha512-cf7Niq4/+/juY67E0PbgH0TDhLQ5J7zS8C/Q5FFx+DWyrRa9sUQdTXkjqKu8zGvuqr7vw1muKiukseihU+PJDA==",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-import-attributes": {
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.23.3.tgz",
+ "integrity": "sha512-pawnE0P9g10xgoP7yKr6CK63K2FMsTE+FZidZO/1PwRdzmAPVs+HS1mAURUsgaoxammTJvULUdIkEK0gOcU2tA==",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-import-meta": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz",
+ "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.10.4"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-jsx": {
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz",
+ "integrity": "sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-typescript": {
+ "version": "7.23.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.23.3.tgz",
+ "integrity": "sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ==",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.22.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-typescript": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.23.5.tgz",
+ "integrity": "sha512-2fMkXEJkrmwgu2Bsv1Saxgj30IXZdJ+84lQcKKI7sm719oXs0BBw2ZENKdJdR1PjWndgLCEBNXJOri0fk7RYQA==",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.22.5",
+ "@babel/helper-create-class-features-plugin": "^7.23.5",
+ "@babel/helper-plugin-utils": "^7.22.5",
+ "@babel/plugin-syntax-typescript": "^7.23.3"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/runtime": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.5.tgz",
+ "integrity": "sha512-NdUTHcPe4C99WxPub+K9l9tK5/lV4UXIoaHSYgzco9BCyjKAAwzdBI+wWtYqHt7LJdbo74ZjRPJgzVweq1sz0w==",
+ "dependencies": {
+ "regenerator-runtime": "^0.14.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/standalone": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/standalone/-/standalone-7.23.5.tgz",
+ "integrity": "sha512-4bqgawmyDPu+9gQhZOKh1ftCUa6BAT0KztElMcWAJgOgQJRNhmGVA0M0McedEqvGi7SbfiBBvlH13Jc47P919A==",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/template": {
+ "version": "7.22.15",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz",
+ "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==",
+ "dependencies": {
+ "@babel/code-frame": "^7.22.13",
+ "@babel/parser": "^7.22.15",
+ "@babel/types": "^7.22.15"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.5.tgz",
+ "integrity": "sha512-czx7Xy5a6sapWWRx61m1Ke1Ra4vczu1mCTtJam5zRTBOonfdJ+S/B6HYmGYu3fJtr8GGET3si6IhgWVBhJ/m8w==",
+ "dependencies": {
+ "@babel/code-frame": "^7.23.5",
+ "@babel/generator": "^7.23.5",
+ "@babel/helper-environment-visitor": "^7.22.20",
+ "@babel/helper-function-name": "^7.23.0",
+ "@babel/helper-hoist-variables": "^7.22.5",
+ "@babel/helper-split-export-declaration": "^7.22.6",
+ "@babel/parser": "^7.23.5",
+ "@babel/types": "^7.23.5",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/types": {
+ "version": "7.23.5",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.5.tgz",
+ "integrity": "sha512-ON5kSOJwVO6xXVRTvOI0eOnWe7VdUcIpsovGo9U/Br4Ie4UVFQTboO2cYnDhAGU6Fp+UxSiT+pMft0SMHfuq6w==",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.23.4",
+ "@babel/helper-validator-identifier": "^7.22.20",
+ "to-fast-properties": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@cloudflare/kv-asset-handler": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/@cloudflare/kv-asset-handler/-/kv-asset-handler-0.3.0.tgz",
+ "integrity": "sha512-9CB/MKf/wdvbfkUdfrj+OkEwZ5b7rws0eogJ4293h+7b6KX5toPwym+VQKmILafNB9YiehqY0DlNrDcDhdWHSQ==",
+ "dependencies": {
+ "mime": "^3.0.0"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.8.tgz",
+ "integrity": "sha512-31E2lxlGM1KEfivQl8Yf5aYU/mflz9g06H6S15ITUFQueMFtFjESRMoDSkvMo8thYvLBax+VKTPlpnx+sPicOA==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.8.tgz",
+ "integrity": "sha512-B8JbS61bEunhfx8kasogFENgQfr/dIp+ggYXwTqdbMAgGDhRa3AaPpQMuQU0rNxDLECj6FhDzk1cF9WHMVwrtA==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.8.tgz",
+ "integrity": "sha512-rdqqYfRIn4jWOp+lzQttYMa2Xar3OK9Yt2fhOhzFXqg0rVWEfSclJvZq5fZslnz6ypHvVf3CT7qyf0A5pM682A==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.8.tgz",
+ "integrity": "sha512-RQw9DemMbIq35Bprbboyf8SmOr4UXsRVxJ97LgB55VKKeJOOdvsIPy0nFyF2l8U+h4PtBx/1kRf0BelOYCiQcw==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.8.tgz",
+ "integrity": "sha512-3sur80OT9YdeZwIVgERAysAbwncom7b4bCI2XKLjMfPymTud7e/oY4y+ci1XVp5TfQp/bppn7xLw1n/oSQY3/Q==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.8.tgz",
+ "integrity": "sha512-WAnPJSDattvS/XtPCTj1tPoTxERjcTpH6HsMr6ujTT+X6rylVe8ggxk8pVxzf5U1wh5sPODpawNicF5ta/9Tmw==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.8.tgz",
+ "integrity": "sha512-ICvZyOplIjmmhjd6mxi+zxSdpPTKFfyPPQMQTK/w+8eNK6WV01AjIztJALDtwNNfFhfZLux0tZLC+U9nSyA5Zg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.8.tgz",
+ "integrity": "sha512-H4vmI5PYqSvosPaTJuEppU9oz1dq2A7Mr2vyg5TF9Ga+3+MGgBdGzcyBP7qK9MrwFQZlvNyJrvz6GuCaj3OukQ==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.8.tgz",
+ "integrity": "sha512-z1zMZivxDLHWnyGOctT9JP70h0beY54xDDDJt4VpTX+iwA77IFsE1vCXWmprajJGa+ZYSqkSbRQ4eyLCpCmiCQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.8.tgz",
+ "integrity": "sha512-1a8suQiFJmZz1khm/rDglOc8lavtzEMRo0v6WhPgxkrjcU0LkHj+TwBrALwoz/OtMExvsqbbMI0ChyelKabSvQ==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.8.tgz",
+ "integrity": "sha512-fHZWS2JJxnXt1uYJsDv9+b60WCc2RlvVAy1F76qOLtXRO+H4mjt3Tr6MJ5l7Q78X8KgCFudnTuiQRBhULUyBKQ==",
+ "cpu": [
+ "loong64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.8.tgz",
+ "integrity": "sha512-Wy/z0EL5qZYLX66dVnEg9riiwls5IYnziwuju2oUiuxVc+/edvqXa04qNtbrs0Ukatg5HEzqT94Zs7J207dN5Q==",
+ "cpu": [
+ "mips64el"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.8.tgz",
+ "integrity": "sha512-ETaW6245wK23YIEufhMQ3HSeHO7NgsLx8gygBVldRHKhOlD1oNeNy/P67mIh1zPn2Hr2HLieQrt6tWrVwuqrxg==",
+ "cpu": [
+ "ppc64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.8.tgz",
+ "integrity": "sha512-T2DRQk55SgoleTP+DtPlMrxi/5r9AeFgkhkZ/B0ap99zmxtxdOixOMI570VjdRCs9pE4Wdkz7JYrsPvsl7eESg==",
+ "cpu": [
+ "riscv64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.8.tgz",
+ "integrity": "sha512-NPxbdmmo3Bk7mbNeHmcCd7R7fptJaczPYBaELk6NcXxy7HLNyWwCyDJ/Xx+/YcNH7Im5dHdx9gZ5xIwyliQCbg==",
+ "cpu": [
+ "s390x"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.8.tgz",
+ "integrity": "sha512-lytMAVOM3b1gPypL2TRmZ5rnXl7+6IIk8uB3eLsV1JwcizuolblXRrc5ShPrO9ls/b+RTp+E6gbsuLWHWi2zGg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.8.tgz",
+ "integrity": "sha512-hvWVo2VsXz/8NVt1UhLzxwAfo5sioj92uo0bCfLibB0xlOmimU/DeAEsQILlBQvkhrGjamP0/el5HU76HAitGw==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.8.tgz",
+ "integrity": "sha512-/7Y7u77rdvmGTxR83PgaSvSBJCC2L3Kb1M/+dmSIvRvQPXXCuC97QAwMugBNG0yGcbEGfFBH7ojPzAOxfGNkwQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.8.tgz",
+ "integrity": "sha512-9Lc4s7Oi98GqFA4HzA/W2JHIYfnXbUYgekUP/Sm4BG9sfLjyv6GKKHKKVs83SMicBF2JwAX6A1PuOLMqpD001w==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.8.tgz",
+ "integrity": "sha512-rq6WzBGjSzihI9deW3fC2Gqiak68+b7qo5/3kmB6Gvbh/NYPA0sJhrnp7wgV4bNwjqM+R2AApXGxMO7ZoGhIJg==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.8.tgz",
+ "integrity": "sha512-AIAbverbg5jMvJznYiGhrd3sumfwWs8572mIJL5NQjJa06P8KfCPWZQ0NwZbPQnbQi9OWSZhFVSUWjjIrn4hSw==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.8.tgz",
+ "integrity": "sha512-bfZ0cQ1uZs2PqpulNL5j/3w+GDhP36k1K5c38QdQg+Swy51jFZWWeIkteNsufkQxp986wnqRRsb/bHbY1WQ7TA==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@fastify/busboy": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.0.tgz",
+ "integrity": "sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA==",
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "node_modules/@hcaptcha/vue3-hcaptcha": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@hcaptcha/vue3-hcaptcha/-/vue3-hcaptcha-1.3.0.tgz",
+ "integrity": "sha512-IEonS6JiYdU7uy6aeib8cYtMO4nj8utwStbA9bWHyYbOvOvhpkV+AW8vfSKh6SntYxqle/TRwhv+kU9p92CfsA==",
+ "dependencies": {
+ "vue": "^3.2.19"
+ },
+ "peerDependencies": {
+ "vue": "^3.0.0"
+ }
+ },
+ "node_modules/@ioredis/commands": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@ioredis/commands/-/commands-1.2.0.tgz",
+ "integrity": "sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg=="
+ },
+ "node_modules/@isaacs/cliui": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
+ "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
+ "dependencies": {
+ "string-width": "^5.1.2",
+ "string-width-cjs": "npm:string-width@^4.2.0",
+ "strip-ansi": "^7.0.1",
+ "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
+ "wrap-ansi": "^8.1.0",
+ "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/ansi-regex": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/ansi-styles": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="
+ },
+ "node_modules/@isaacs/cliui/node_modules/string-width": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
+ "dependencies": {
+ "eastasianwidth": "^0.2.0",
+ "emoji-regex": "^9.2.2",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/strip-ansi": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/wrap-ansi": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
+ "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
+ "dependencies": {
+ "ansi-styles": "^6.1.0",
+ "string-width": "^5.0.1",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/@janniks/vue3-katex": {
+ "version": "0.6.0-rc.5.1",
+ "resolved": "https://registry.npmjs.org/@janniks/vue3-katex/-/vue3-katex-0.6.0-rc.5.1.tgz",
+ "integrity": "sha512-3VEvVQ5a/1DK2bo4JJJA2uk6Q+oygpVPwnx/wnVgA8AYH49vZzFI/1YNZQUCEssfXjB7Hk3epAoT4oIYGjGfNw==",
+ "peer": true,
+ "dependencies": {
+ "deepmerge": "^4.3.0",
+ "katex": "^0.16.4"
+ },
+ "peerDependencies": {
+ "katex": "0.x",
+ "vue": "3.x"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",
+ "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==",
+ "dependencies": {
+ "@jridgewell/set-array": "^1.0.1",
+ "@jridgewell/sourcemap-codec": "^1.4.10",
+ "@jridgewell/trace-mapping": "^0.3.9"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz",
+ "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/set-array": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
+ "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/source-map": {
+ "version": "0.3.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz",
+ "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.0",
+ "@jridgewell/trace-mapping": "^0.3.9"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.15",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
+ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg=="
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.20",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz",
+ "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@kurkle/color": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.2.tgz",
+ "integrity": "sha512-fuscdXJ9G1qb7W8VdHi+IwRqij3lBkosAm4ydQtEmbY58OzHXqQhvlxqEkoz0yssNVn38bcpRWgA9PP+OGoisw=="
+ },
+ "node_modules/@kwsites/file-exists": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@kwsites/file-exists/-/file-exists-1.1.1.tgz",
+ "integrity": "sha512-m9/5YGR18lIwxSFDwfE3oA7bWuq9kdau6ugN4H2rJeyhFQZcG9AgSHkQtSD15a8WvTgfz9aikZMrKPHvbpqFiw==",
+ "dependencies": {
+ "debug": "^4.1.1"
+ }
+ },
+ "node_modules/@kwsites/promise-deferred": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@kwsites/promise-deferred/-/promise-deferred-1.1.1.tgz",
+ "integrity": "sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw=="
+ },
+ "node_modules/@mapbox/node-pre-gyp": {
+ "version": "1.0.11",
+ "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz",
+ "integrity": "sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==",
+ "dependencies": {
+ "detect-libc": "^2.0.0",
+ "https-proxy-agent": "^5.0.0",
+ "make-dir": "^3.1.0",
+ "node-fetch": "^2.6.7",
+ "nopt": "^5.0.0",
+ "npmlog": "^5.0.1",
+ "rimraf": "^3.0.2",
+ "semver": "^7.3.5",
+ "tar": "^6.1.11"
+ },
+ "bin": {
+ "node-pre-gyp": "bin/node-pre-gyp"
+ }
+ },
+ "node_modules/@mapbox/node-pre-gyp/node_modules/agent-base": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
+ "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
+ "dependencies": {
+ "debug": "4"
+ },
+ "engines": {
+ "node": ">= 6.0.0"
+ }
+ },
+ "node_modules/@mapbox/node-pre-gyp/node_modules/https-proxy-agent": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
+ "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
+ "dependencies": {
+ "agent-base": "6",
+ "debug": "4"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/@netlify/functions": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-2.4.0.tgz",
+ "integrity": "sha512-dIqhdj5u4Lu/8qbYwtYpn8NfvIyPHbSTV2lAP4ocL+iwC9As06AXT0wa/xOpO2vRWJa0IMxdZaqCPnkyHlHiyg==",
+ "dependencies": {
+ "@netlify/serverless-functions-api": "1.11.0",
+ "is-promise": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@netlify/node-cookies": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/@netlify/node-cookies/-/node-cookies-0.1.0.tgz",
+ "integrity": "sha512-OAs1xG+FfLX0LoRASpqzVntVV/RpYkgpI0VrUnw2u0Q1qiZUzcPffxRK8HF3gc4GjuhG5ahOEMJ9bswBiZPq0g==",
+ "engines": {
+ "node": "^14.16.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@netlify/serverless-functions-api": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.11.0.tgz",
+ "integrity": "sha512-3splAsr2CekL7VTwgo6yTvzD2+f269/s+TJafYazonqMNNo31yzvFxD5HpLtni4DNE1ppymVKZ4X/rLN3yl0vQ==",
+ "dependencies": {
+ "@netlify/node-cookies": "^0.1.0",
+ "urlpattern-polyfill": "8.0.2"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@nodelib/fs.scandir": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
+ "dependencies": {
+ "@nodelib/fs.stat": "2.0.5",
+ "run-parallel": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.stat": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.walk": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
+ "dependencies": {
+ "@nodelib/fs.scandir": "2.1.5",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@npmcli/agent": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-2.2.0.tgz",
+ "integrity": "sha512-2yThA1Es98orMkpSLVqlDZAMPK3jHJhifP2gnNUdk1754uZ8yI5c+ulCoVG+WlntQA6MzhrURMXjSd9Z7dJ2/Q==",
+ "dependencies": {
+ "agent-base": "^7.1.0",
+ "http-proxy-agent": "^7.0.0",
+ "https-proxy-agent": "^7.0.1",
+ "lru-cache": "^10.0.1",
+ "socks-proxy-agent": "^8.0.1"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@npmcli/agent/node_modules/lru-cache": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz",
+ "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==",
+ "engines": {
+ "node": "14 || >=16.14"
+ }
+ },
+ "node_modules/@npmcli/fs": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.0.tgz",
+ "integrity": "sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==",
+ "dependencies": {
+ "semver": "^7.3.5"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@npmcli/git": {
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-5.0.3.tgz",
+ "integrity": "sha512-UZp9NwK+AynTrKvHn5k3KviW/hA5eENmFsu3iAPe7sWRt0lFUdsY/wXIYjpDFe7cdSNwOIzbObfwgt6eL5/2zw==",
+ "dependencies": {
+ "@npmcli/promise-spawn": "^7.0.0",
+ "lru-cache": "^10.0.1",
+ "npm-pick-manifest": "^9.0.0",
+ "proc-log": "^3.0.0",
+ "promise-inflight": "^1.0.1",
+ "promise-retry": "^2.0.1",
+ "semver": "^7.3.5",
+ "which": "^4.0.0"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@npmcli/git/node_modules/isexe": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz",
+ "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==",
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@npmcli/git/node_modules/lru-cache": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz",
+ "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==",
+ "engines": {
+ "node": "14 || >=16.14"
+ }
+ },
+ "node_modules/@npmcli/git/node_modules/which": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz",
+ "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==",
+ "dependencies": {
+ "isexe": "^3.1.1"
+ },
+ "bin": {
+ "node-which": "bin/which.js"
+ },
+ "engines": {
+ "node": "^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@npmcli/installed-package-contents": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz",
+ "integrity": "sha512-xACzLPhnfD51GKvTOOuNX2/V4G4mz9/1I2MfDoye9kBM3RYe5g2YbscsaGoTlaWqkxeiapBWyseULVKpSVHtKQ==",
+ "dependencies": {
+ "npm-bundled": "^3.0.0",
+ "npm-normalize-package-bin": "^3.0.0"
+ },
+ "bin": {
+ "installed-package-contents": "lib/index.js"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@npmcli/node-gyp": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz",
+ "integrity": "sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA==",
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@npmcli/promise-spawn": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-7.0.0.tgz",
+ "integrity": "sha512-wBqcGsMELZna0jDblGd7UXgOby45TQaMWmbFwWX+SEotk4HV6zG2t6rT9siyLhPk4P6YYqgfL1UO8nMWDBVJXQ==",
+ "dependencies": {
+ "which": "^4.0.0"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@npmcli/promise-spawn/node_modules/isexe": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz",
+ "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==",
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@npmcli/promise-spawn/node_modules/which": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz",
+ "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==",
+ "dependencies": {
+ "isexe": "^3.1.1"
+ },
+ "bin": {
+ "node-which": "bin/which.js"
+ },
+ "engines": {
+ "node": "^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@npmcli/run-script": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-7.0.2.tgz",
+ "integrity": "sha512-Omu0rpA8WXvcGeY6DDzyRoY1i5DkCBkzyJ+m2u7PD6quzb0TvSqdIPOkTn8ZBOj7LbbcbMfZ3c5skwSu6m8y2w==",
+ "dependencies": {
+ "@npmcli/node-gyp": "^3.0.0",
+ "@npmcli/promise-spawn": "^7.0.0",
+ "node-gyp": "^10.0.0",
+ "read-package-json-fast": "^3.0.0",
+ "which": "^4.0.0"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@npmcli/run-script/node_modules/isexe": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz",
+ "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==",
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@npmcli/run-script/node_modules/which": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz",
+ "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==",
+ "dependencies": {
+ "isexe": "^3.1.1"
+ },
+ "bin": {
+ "node-which": "bin/which.js"
+ },
+ "engines": {
+ "node": "^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@nuxt/devalue": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/@nuxt/devalue/-/devalue-2.0.2.tgz",
+ "integrity": "sha512-GBzP8zOc7CGWyFQS6dv1lQz8VVpz5C2yRszbXufwG/9zhStTIH50EtD87NmWbTMwXDvZLNg8GIpb1UFdH93JCA=="
+ },
+ "node_modules/@nuxt/devtools": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@nuxt/devtools/-/devtools-1.0.5.tgz",
+ "integrity": "sha512-kGgxDFD3/Zw0HqCRl+S+ZIZ0NxGJoiseTzKreD2sW8q7otnqSSjte3z4qhGWI2HpvwN0Gwu/C4FtfkAVGUxPTQ==",
+ "dependencies": {
+ "@antfu/utils": "^0.7.6",
+ "@nuxt/devtools-kit": "1.0.5",
+ "@nuxt/devtools-wizard": "1.0.5",
+ "@nuxt/kit": "^3.8.2",
+ "birpc": "^0.2.14",
+ "consola": "^3.2.3",
+ "destr": "^2.0.2",
+ "error-stack-parser-es": "^0.1.1",
+ "execa": "^7.2.0",
+ "fast-glob": "^3.3.2",
+ "flatted": "^3.2.9",
+ "get-port-please": "^3.1.1",
+ "h3": "^1.9.0",
+ "hookable": "^5.5.3",
+ "image-meta": "^0.2.0",
+ "is-installed-globally": "^1.0.0",
+ "launch-editor": "^2.6.1",
+ "local-pkg": "^0.5.0",
+ "magicast": "^0.3.2",
+ "nitropack": "^2.8.1",
+ "nypm": "^0.3.3",
+ "ofetch": "^1.3.3",
+ "ohash": "^1.1.3",
+ "pacote": "^17.0.5",
+ "pathe": "^1.1.1",
+ "perfect-debounce": "^1.0.0",
+ "pkg-types": "^1.0.3",
+ "rc9": "^2.1.1",
+ "scule": "^1.1.1",
+ "semver": "^7.5.4",
+ "simple-git": "^3.21.0",
+ "sirv": "^2.0.3",
+ "unimport": "^3.6.1",
+ "vite-plugin-inspect": "^0.8.1",
+ "vite-plugin-vue-inspector": "^4.0.2",
+ "which": "^3.0.1",
+ "ws": "^8.14.2"
+ },
+ "bin": {
+ "devtools": "cli.mjs"
+ },
+ "peerDependencies": {
+ "nuxt": "^3.8.1",
+ "vite": "*"
+ }
+ },
+ "node_modules/@nuxt/devtools-kit": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@nuxt/devtools-kit/-/devtools-kit-1.0.5.tgz",
+ "integrity": "sha512-2SbsYZngD0r6nZCXhEKQ8E6sc10uaYMiN3VicoHj0fZSXNEYjJjLRQ3xD+hbmiqM4dRMGeR06IU6E/Ff0asDcQ==",
+ "dependencies": {
+ "@nuxt/kit": "^3.8.2",
+ "@nuxt/schema": "^3.8.2",
+ "execa": "^7.2.0"
+ },
+ "peerDependencies": {
+ "nuxt": "^3.8.1",
+ "vite": "*"
+ }
+ },
+ "node_modules/@nuxt/devtools-wizard": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@nuxt/devtools-wizard/-/devtools-wizard-1.0.5.tgz",
+ "integrity": "sha512-1O6uZaR76bu9NGN5qEtxYRf6INLA7FFr4agnw+UUdWKxJqbYoPNrKe9TqgukoPoDdrEG5vm0tDuRMNPIpVJ3mg==",
+ "dependencies": {
+ "consola": "^3.2.3",
+ "diff": "^5.1.0",
+ "execa": "^7.2.0",
+ "global-directory": "^4.0.1",
+ "magicast": "^0.3.2",
+ "pathe": "^1.1.1",
+ "pkg-types": "^1.0.3",
+ "prompts": "^2.4.2",
+ "rc9": "^2.1.1",
+ "semver": "^7.5.4"
+ },
+ "bin": {
+ "devtools-wizard": "cli.mjs"
+ }
+ },
+ "node_modules/@nuxt/kit": {
+ "version": "3.8.2",
+ "resolved": "https://registry.npmjs.org/@nuxt/kit/-/kit-3.8.2.tgz",
+ "integrity": "sha512-LrXCm8hAkw+zpX8teUSD/LqXRarlXjbRiYxDkaqw739JSHFReWzBFgJbojsJqL4h1XIEScDGGOWiEgO4QO1sMg==",
+ "dependencies": {
+ "@nuxt/schema": "3.8.2",
+ "c12": "^1.5.1",
+ "consola": "^3.2.3",
+ "defu": "^6.1.3",
+ "globby": "^14.0.0",
+ "hash-sum": "^2.0.0",
+ "ignore": "^5.3.0",
+ "jiti": "^1.21.0",
+ "knitwork": "^1.0.0",
+ "mlly": "^1.4.2",
+ "pathe": "^1.1.1",
+ "pkg-types": "^1.0.3",
+ "scule": "^1.1.0",
+ "semver": "^7.5.4",
+ "ufo": "^1.3.2",
+ "unctx": "^2.3.1",
+ "unimport": "^3.5.0",
+ "untyped": "^1.4.0"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.10.0"
+ }
+ },
+ "node_modules/@nuxt/schema": {
+ "version": "3.8.2",
+ "resolved": "https://registry.npmjs.org/@nuxt/schema/-/schema-3.8.2.tgz",
+ "integrity": "sha512-AMpysQ/wHK2sOujLShqYdC4OSj/S3fFJGjhYXqA2g6dgmz+FNQWJRG/ie5sI9r2EX9Ela1wt0GN1jZR3wYNE8Q==",
+ "dependencies": {
+ "@nuxt/ui-templates": "^1.3.1",
+ "consola": "^3.2.3",
+ "defu": "^6.1.3",
+ "hookable": "^5.5.3",
+ "pathe": "^1.1.1",
+ "pkg-types": "^1.0.3",
+ "scule": "^1.1.0",
+ "std-env": "^3.5.0",
+ "ufo": "^1.3.2",
+ "unimport": "^3.5.0",
+ "untyped": "^1.4.0"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.10.0"
+ }
+ },
+ "node_modules/@nuxt/telemetry": {
+ "version": "2.5.3",
+ "resolved": "https://registry.npmjs.org/@nuxt/telemetry/-/telemetry-2.5.3.tgz",
+ "integrity": "sha512-Ghv2MgWbJcUM9G5Dy3oQP0cJkUwEgaiuQxEF61FXJdn0a69Q4StZEP/hLF0MWPM9m6EvAwI7orxkJHM7MrmtVg==",
+ "dependencies": {
+ "@nuxt/kit": "^3.8.2",
+ "ci-info": "^4.0.0",
+ "consola": "^3.2.3",
+ "create-require": "^1.1.1",
+ "defu": "^6.1.3",
+ "destr": "^2.0.2",
+ "dotenv": "^16.3.1",
+ "git-url-parse": "^13.1.1",
+ "is-docker": "^3.0.0",
+ "jiti": "^1.21.0",
+ "mri": "^1.2.0",
+ "nanoid": "^4.0.2",
+ "ofetch": "^1.3.3",
+ "parse-git-config": "^3.0.0",
+ "pathe": "^1.1.1",
+ "rc9": "^2.1.1",
+ "std-env": "^3.5.0"
+ },
+ "bin": {
+ "nuxt-telemetry": "bin/nuxt-telemetry.mjs"
+ }
+ },
+ "node_modules/@nuxt/telemetry/node_modules/is-docker": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz",
+ "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==",
+ "bin": {
+ "is-docker": "cli.js"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@nuxt/ui-templates": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/@nuxt/ui-templates/-/ui-templates-1.3.1.tgz",
+ "integrity": "sha512-5gc02Pu1HycOVUWJ8aYsWeeXcSTPe8iX8+KIrhyEtEoOSkY0eMBuo0ssljB8wALuEmepv31DlYe5gpiRwkjESA=="
+ },
+ "node_modules/@nuxt/vite-builder": {
+ "version": "3.8.2",
+ "resolved": "https://registry.npmjs.org/@nuxt/vite-builder/-/vite-builder-3.8.2.tgz",
+ "integrity": "sha512-l/lzDDTbd3M89BpmWqjhVLgLVRqfkKp0tyYgV5seJQjj3SX+IeqI7k6k8+dMEifdeO34jUajVWptNpITXQryyg==",
+ "dependencies": {
+ "@nuxt/kit": "3.8.2",
+ "@rollup/plugin-replace": "^5.0.5",
+ "@vitejs/plugin-vue": "^4.5.0",
+ "@vitejs/plugin-vue-jsx": "^3.1.0",
+ "autoprefixer": "^10.4.16",
+ "clear": "^0.1.0",
+ "consola": "^3.2.3",
+ "cssnano": "^6.0.1",
+ "defu": "^6.1.3",
+ "esbuild": "^0.19.6",
+ "escape-string-regexp": "^5.0.0",
+ "estree-walker": "^3.0.3",
+ "externality": "^1.0.2",
+ "fs-extra": "^11.1.1",
+ "get-port-please": "^3.1.1",
+ "h3": "^1.9.0",
+ "knitwork": "^1.0.0",
+ "magic-string": "^0.30.5",
+ "mlly": "^1.4.2",
+ "ohash": "^1.1.3",
+ "pathe": "^1.1.1",
+ "perfect-debounce": "^1.0.0",
+ "pkg-types": "^1.0.3",
+ "postcss": "^8.4.31",
+ "rollup-plugin-visualizer": "^5.9.2",
+ "std-env": "^3.5.0",
+ "strip-literal": "^1.3.0",
+ "ufo": "^1.3.2",
+ "unplugin": "^1.5.1",
+ "vite": "^4.5.0",
+ "vite-node": "^0.33.0",
+ "vite-plugin-checker": "^0.6.2",
+ "vue-bundle-renderer": "^2.0.0"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.10.0"
+ },
+ "peerDependencies": {
+ "vue": "^3.3.4"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/android-arm": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
+ "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/android-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
+ "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/android-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
+ "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/darwin-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
+ "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/darwin-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
+ "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
+ "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/freebsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
+ "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-arm": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
+ "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
+ "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-ia32": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
+ "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-loong64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
+ "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
+ "cpu": [
+ "loong64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-mips64el": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
+ "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
+ "cpu": [
+ "mips64el"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-ppc64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
+ "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-riscv64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
+ "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
+ "cpu": [
+ "riscv64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-s390x": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
+ "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
+ "cpu": [
+ "s390x"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/linux-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
+ "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/netbsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/openbsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/sunos-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
+ "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/win32-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
+ "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/win32-ia32": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
+ "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/@esbuild/win32-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
+ "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/rollup": {
+ "version": "3.29.4",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz",
+ "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==",
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=14.18.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/vite": {
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.1.tgz",
+ "integrity": "sha512-AXXFaAJ8yebyqzoNB9fu2pHoo/nWX+xZlaRwoeYUxEqBO+Zj4msE5G+BhGBll9lYEKv9Hfks52PAF2X7qDYXQA==",
+ "dependencies": {
+ "esbuild": "^0.18.10",
+ "postcss": "^8.4.27",
+ "rollup": "^3.27.1"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ },
+ "peerDependencies": {
+ "@types/node": ">= 14",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@nuxt/vite-builder/node_modules/vite/node_modules/esbuild": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
+ "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
+ "hasInstallScript": true,
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "optionalDependencies": {
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
+ }
+ },
+ "node_modules/@nuxtjs/sentry": {
+ "version": "8.0.6",
+ "resolved": "https://registry.npmjs.org/@nuxtjs/sentry/-/sentry-8.0.6.tgz",
+ "integrity": "sha512-hovyal4XrdPEr7wtiUTt8vrm1eB23UYU2Yb/Sqwx8SPqnwOoUTkeVOB0IoL0johMOjtFt5c7GpfGsJ8iGhU+8A==",
+ "dependencies": {
+ "@sentry/core": "^7.81.1",
+ "@sentry/integrations": "^7.81.1",
+ "@sentry/node": "^7.81.1",
+ "@sentry/utils": "^7.81.1",
+ "@sentry/vue": "^7.81.1",
+ "consola": "^3.2.3",
+ "defu": "^6.1.2",
+ "hash-sum": "^2.0.0",
+ "jiti": "^1.20.0",
+ "lodash.mergewith": "^4.6.2",
+ "mlly": "^1.4.2",
+ "pathe": "^1.1.1"
+ }
+ },
+ "node_modules/@nuxtjs/sentry/node_modules/@sentry/browser": {
+ "version": "7.86.0",
+ "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.86.0.tgz",
+ "integrity": "sha512-nfYWpVOmug+W7KJO7/xhA1JScMZcYHcoOVHLsUFm4znx51U4qZEk+zZDM11Q2Nw6MuDyEYg6bsH1QCwaoC6nLw==",
+ "dependencies": {
+ "@sentry-internal/feedback": "7.86.0",
+ "@sentry-internal/tracing": "7.86.0",
+ "@sentry/core": "7.86.0",
+ "@sentry/replay": "7.86.0",
+ "@sentry/types": "7.86.0",
+ "@sentry/utils": "7.86.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@nuxtjs/sentry/node_modules/@sentry/vue": {
+ "version": "7.86.0",
+ "resolved": "https://registry.npmjs.org/@sentry/vue/-/vue-7.86.0.tgz",
+ "integrity": "sha512-UYNwCn7VOi56HygJvR0V63us824kJHUnlSye4kF4U9+LGK7uqtVubzY5DLSSF+m2oiBozZ3oT+aoAQBSaBIddQ==",
+ "dependencies": {
+ "@sentry/browser": "7.86.0",
+ "@sentry/core": "7.86.0",
+ "@sentry/types": "7.86.0",
+ "@sentry/utils": "7.86.0"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "peerDependencies": {
+ "vue": "2.x || 3.x"
+ }
+ },
+ "node_modules/@parcel/watcher": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.3.0.tgz",
+ "integrity": "sha512-pW7QaFiL11O0BphO+bq3MgqeX/INAk9jgBldVDYjlQPO4VddoZnF22TcF9onMhnLVHuNqBJeRf+Fj7eezi/+rQ==",
+ "hasInstallScript": true,
+ "dependencies": {
+ "detect-libc": "^1.0.3",
+ "is-glob": "^4.0.3",
+ "micromatch": "^4.0.5",
+ "node-addon-api": "^7.0.0"
+ },
+ "engines": {
+ "node": ">= 10.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ },
+ "optionalDependencies": {
+ "@parcel/watcher-android-arm64": "2.3.0",
+ "@parcel/watcher-darwin-arm64": "2.3.0",
+ "@parcel/watcher-darwin-x64": "2.3.0",
+ "@parcel/watcher-freebsd-x64": "2.3.0",
+ "@parcel/watcher-linux-arm-glibc": "2.3.0",
+ "@parcel/watcher-linux-arm64-glibc": "2.3.0",
+ "@parcel/watcher-linux-arm64-musl": "2.3.0",
+ "@parcel/watcher-linux-x64-glibc": "2.3.0",
+ "@parcel/watcher-linux-x64-musl": "2.3.0",
+ "@parcel/watcher-win32-arm64": "2.3.0",
+ "@parcel/watcher-win32-ia32": "2.3.0",
+ "@parcel/watcher-win32-x64": "2.3.0"
+ }
+ },
+ "node_modules/@parcel/watcher-android-arm64": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.3.0.tgz",
+ "integrity": "sha512-f4o9eA3dgk0XRT3XhB0UWpWpLnKgrh1IwNJKJ7UJek7eTYccQ8LR7XUWFKqw6aEq5KUNlCcGvSzKqSX/vtWVVA==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 10.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@parcel/watcher-darwin-arm64": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.3.0.tgz",
+ "integrity": "sha512-mKY+oijI4ahBMc/GygVGvEdOq0L4DxhYgwQqYAz/7yPzuGi79oXrZG52WdpGA1wLBPrYb0T8uBaGFo7I6rvSKw==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@parcel/watcher-darwin-x64": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.3.0.tgz",
+ "integrity": "sha512-20oBj8LcEOnLE3mgpy6zuOq8AplPu9NcSSSfyVKgfOhNAc4eF4ob3ldj0xWjGGbOF7Dcy1Tvm6ytvgdjlfUeow==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@parcel/watcher-freebsd-x64": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.3.0.tgz",
+ "integrity": "sha512-7LftKlaHunueAEiojhCn+Ef2CTXWsLgTl4hq0pkhkTBFI3ssj2bJXmH2L67mKpiAD5dz66JYk4zS66qzdnIOgw==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 10.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@parcel/watcher-linux-arm-glibc": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.3.0.tgz",
+ "integrity": "sha512-1apPw5cD2xBv1XIHPUlq0cO6iAaEUQ3BcY0ysSyD9Kuyw4MoWm1DV+W9mneWI+1g6OeP6dhikiFE6BlU+AToTQ==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@parcel/watcher-linux-arm64-glibc": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.3.0.tgz",
+ "integrity": "sha512-mQ0gBSQEiq1k/MMkgcSB0Ic47UORZBmWoAWlMrTW6nbAGoLZP+h7AtUM7H3oDu34TBFFvjy4JCGP43JlylkTQA==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@parcel/watcher-linux-arm64-musl": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.3.0.tgz",
+ "integrity": "sha512-LXZAExpepJew0Gp8ZkJ+xDZaTQjLHv48h0p0Vw2VMFQ8A+RKrAvpFuPVCVwKJCr5SE+zvaG+Etg56qXvTDIedw==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@parcel/watcher-linux-x64-glibc": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.3.0.tgz",
+ "integrity": "sha512-P7Wo91lKSeSgMTtG7CnBS6WrA5otr1K7shhSjKHNePVmfBHDoAOHYRXgUmhiNfbcGk0uMCHVcdbfxtuiZCHVow==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@parcel/watcher-linux-x64-musl": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.3.0.tgz",
+ "integrity": "sha512-+kiRE1JIq8QdxzwoYY+wzBs9YbJ34guBweTK8nlzLKimn5EQ2b2FSC+tAOpq302BuIMjyuUGvBiUhEcLIGMQ5g==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@parcel/watcher-wasm": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@parcel/watcher-wasm/-/watcher-wasm-2.3.0.tgz",
+ "integrity": "sha512-ejBAX8H0ZGsD8lSICDNyMbSEtPMWgDL0WFCt/0z7hyf5v8Imz4rAM8xY379mBsECkq/Wdqa5WEDLqtjZ+6NxfA==",
+ "bundleDependencies": [
+ "napi-wasm"
+ ],
+ "dependencies": {
+ "is-glob": "^4.0.3",
+ "micromatch": "^4.0.5",
+ "napi-wasm": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 10.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@parcel/watcher-wasm/node_modules/napi-wasm": {
+ "version": "1.1.0",
+ "inBundle": true,
+ "license": "MIT"
+ },
+ "node_modules/@parcel/watcher-win32-arm64": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.3.0.tgz",
+ "integrity": "sha512-35gXCnaz1AqIXpG42evcoP2+sNL62gZTMZne3IackM+6QlfMcJLy3DrjuL6Iks7Czpd3j4xRBzez3ADCj1l7Aw==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@parcel/watcher-win32-ia32": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.3.0.tgz",
+ "integrity": "sha512-FJS/IBQHhRpZ6PiCjFt1UAcPr0YmCLHRbTc00IBTrelEjlmmgIVLeOx4MSXzx2HFEy5Jo5YdhGpxCuqCyDJ5ow==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@parcel/watcher-win32-x64": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.3.0.tgz",
+ "integrity": "sha512-dLx+0XRdMnVI62kU3wbXvbIRhLck4aE28bIGKbRGS7BJNt54IIj9+c/Dkqb+7DJEbHUZAX1bwaoM8PqVlHJmCA==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/@parcel/watcher/node_modules/detect-libc": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz",
+ "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==",
+ "bin": {
+ "detect-libc": "bin/detect-libc.js"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/@pinia/nuxt": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/@pinia/nuxt/-/nuxt-0.5.1.tgz",
+ "integrity": "sha512-6wT6TqY81n+7/x3Yhf0yfaJVKkZU42AGqOR0T3+UvChcaOJhSma7OWPN64v+ptYlznat+fS1VTwNAcbi2lzHnw==",
+ "dependencies": {
+ "@nuxt/kit": "^3.5.0",
+ "pinia": ">=2.1.7"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/posva"
+ }
+ },
+ "node_modules/@pinia/nuxt/node_modules/pinia": {
+ "version": "2.1.7",
+ "resolved": "https://registry.npmjs.org/pinia/-/pinia-2.1.7.tgz",
+ "integrity": "sha512-+C2AHFtcFqjPih0zpYuvof37SFxMQ7OEG2zV9jRI12i9BOy3YQVAHwdKtyyc8pDcDyIc33WCIsZaCFWU7WWxGQ==",
+ "dependencies": {
+ "@vue/devtools-api": "^6.5.0",
+ "vue-demi": ">=0.14.5"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/posva"
+ },
+ "peerDependencies": {
+ "@vue/composition-api": "^1.4.0",
+ "typescript": ">=4.4.4",
+ "vue": "^2.6.14 || ^3.3.0"
+ },
+ "peerDependenciesMeta": {
+ "@vue/composition-api": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@pinia/nuxt/node_modules/vue-demi": {
+ "version": "0.14.6",
+ "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.6.tgz",
+ "integrity": "sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==",
+ "hasInstallScript": true,
+ "bin": {
+ "vue-demi-fix": "bin/vue-demi-fix.js",
+ "vue-demi-switch": "bin/vue-demi-switch.js"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ },
+ "peerDependencies": {
+ "@vue/composition-api": "^1.0.0-rc.1",
+ "vue": "^3.0.0-0 || ^2.6.0"
+ },
+ "peerDependenciesMeta": {
+ "@vue/composition-api": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@pkgjs/parseargs": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
+ "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
+ "optional": true,
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "node_modules/@polka/url": {
+ "version": "1.0.0-next.24",
+ "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.24.tgz",
+ "integrity": "sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ=="
+ },
+ "node_modules/@rollup/plugin-alias": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-alias/-/plugin-alias-5.1.0.tgz",
+ "integrity": "sha512-lpA3RZ9PdIG7qqhEfv79tBffNaoDuukFDrmhLqg9ifv99u/ehn+lOg30x2zmhf8AQqQUZaMk/B9fZraQ6/acDQ==",
+ "dependencies": {
+ "slash": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rollup/plugin-alias/node_modules/slash": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz",
+ "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@rollup/plugin-commonjs": {
+ "version": "25.0.7",
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-25.0.7.tgz",
+ "integrity": "sha512-nEvcR+LRjEjsaSsc4x3XZfCCvZIaSMenZu/OiwOKGN2UhQpAYI7ru7czFvyWbErlpoGjnSX3D5Ch5FcMA3kRWQ==",
+ "dependencies": {
+ "@rollup/pluginutils": "^5.0.1",
+ "commondir": "^1.0.1",
+ "estree-walker": "^2.0.2",
+ "glob": "^8.0.3",
+ "is-reference": "1.2.1",
+ "magic-string": "^0.30.3"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^2.68.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rollup/plugin-commonjs/node_modules/estree-walker": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="
+ },
+ "node_modules/@rollup/plugin-inject": {
+ "version": "5.0.5",
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-inject/-/plugin-inject-5.0.5.tgz",
+ "integrity": "sha512-2+DEJbNBoPROPkgTDNe8/1YXWcqxbN5DTjASVIOx8HS+pITXushyNiBV56RB08zuptzz8gT3YfkqriTBVycepg==",
+ "dependencies": {
+ "@rollup/pluginutils": "^5.0.1",
+ "estree-walker": "^2.0.2",
+ "magic-string": "^0.30.3"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rollup/plugin-inject/node_modules/estree-walker": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="
+ },
+ "node_modules/@rollup/plugin-json": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-6.0.1.tgz",
+ "integrity": "sha512-RgVfl5hWMkxN1h/uZj8FVESvPuBJ/uf6ly6GTj0GONnkfoBN5KC0MSz+PN2OLDgYXMhtG0mWpTrkiOjoxAIevw==",
+ "dependencies": {
+ "@rollup/pluginutils": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rollup/plugin-node-resolve": {
+ "version": "15.2.3",
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.2.3.tgz",
+ "integrity": "sha512-j/lym8nf5E21LwBT4Df1VD6hRO2L2iwUeUmP7litikRsVp1H6NWx20NEp0Y7su+7XGc476GnXXc4kFeZNGmaSQ==",
+ "dependencies": {
+ "@rollup/pluginutils": "^5.0.1",
+ "@types/resolve": "1.20.2",
+ "deepmerge": "^4.2.2",
+ "is-builtin-module": "^3.2.1",
+ "is-module": "^1.0.0",
+ "resolve": "^1.22.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^2.78.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rollup/plugin-replace": {
+ "version": "5.0.5",
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-5.0.5.tgz",
+ "integrity": "sha512-rYO4fOi8lMaTg/z5Jb+hKnrHHVn8j2lwkqwyS4kTRhKyWOLf2wST2sWXr4WzWiTcoHTp2sTjqUbqIj2E39slKQ==",
+ "dependencies": {
+ "@rollup/pluginutils": "^5.0.1",
+ "magic-string": "^0.30.3"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rollup/plugin-terser": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-terser/-/plugin-terser-0.4.4.tgz",
+ "integrity": "sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==",
+ "dependencies": {
+ "serialize-javascript": "^6.0.1",
+ "smob": "^1.0.0",
+ "terser": "^5.17.4"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^2.0.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rollup/plugin-wasm": {
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-wasm/-/plugin-wasm-6.2.2.tgz",
+ "integrity": "sha512-gpC4R1G9Ni92ZIRTexqbhX7U+9estZrbhP+9SRb0DW9xpB9g7j34r+J2hqrcW/lRI7dJaU84MxZM0Rt82tqYPQ==",
+ "dependencies": {
+ "@rollup/pluginutils": "^5.0.2"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rollup/pluginutils": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.0.tgz",
+ "integrity": "sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==",
+ "dependencies": {
+ "@types/estree": "^1.0.0",
+ "estree-walker": "^2.0.2",
+ "picomatch": "^2.3.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rollup/pluginutils/node_modules/estree-walker": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.7.0.tgz",
+ "integrity": "sha512-rGku10pL1StFlFvXX5pEv88KdGW6DHUghsxyP/aRYb9eH+74jTGJ3U0S/rtlsQ4yYq1Hcc7AMkoJOb1xu29Fxw==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.7.0.tgz",
+ "integrity": "sha512-/EBw0cuJ/KVHiU2qyVYUhogXz7W2vXxBzeE9xtVIMC+RyitlY2vvaoysMUqASpkUtoNIHlnKTu/l7mXOPgnKOA==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.7.0.tgz",
+ "integrity": "sha512-4VXG1bgvClJdbEYYjQ85RkOtwN8sqI3uCxH0HC5w9fKdqzRzgG39K7GAehATGS8jghA7zNoS5CjSKkDEqWmNZg==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.7.0.tgz",
+ "integrity": "sha512-/ImhO+T/RWJ96hUbxiCn2yWI0/MeQZV/aeukQQfhxiSXuZJfyqtdHPUPrc84jxCfXTxbJLmg4q+GBETeb61aNw==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.7.0.tgz",
+ "integrity": "sha512-zhye8POvTyUXlKbfPBVqoHy3t43gIgffY+7qBFqFxNqVtltQLtWeHNAbrMnXiLIfYmxcoL/feuLDote2tx+Qbg==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.7.0.tgz",
+ "integrity": "sha512-RAdr3OJnUum6Vs83cQmKjxdTg31zJnLLTkjhcFt0auxM6jw00GD6IPFF42uasYPr/wGC6TRm7FsQiJyk0qIEfg==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.7.0.tgz",
+ "integrity": "sha512-nhWwYsiJwZGq7SyR3afS3EekEOsEAlrNMpPC4ZDKn5ooYSEjDLe9W/xGvoIV8/F/+HNIY6jY8lIdXjjxfxopXw==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.7.0.tgz",
+ "integrity": "sha512-rlfy5RnQG1aop1BL/gjdH42M2geMUyVQqd52GJVirqYc787A/XVvl3kQ5NG/43KXgOgE9HXgCaEH05kzQ+hLoA==",
+ "cpu": [
+ "riscv64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.7.0.tgz",
+ "integrity": "sha512-cCkoGlGWfBobdDtiiypxf79q6k3/iRVGu1HVLbD92gWV5WZbmuWJCgRM4x2N6i7ljGn1cGytPn9ZAfS8UwF6vg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.7.0.tgz",
+ "integrity": "sha512-R2oBf2p/Arc1m+tWmiWbpHBjEcJnHVnv6bsypu4tcKdrYTpDfl1UT9qTyfkIL1iiii5D4WHxUHCg5X0pzqmxFg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.7.0.tgz",
+ "integrity": "sha512-CPtgaQL1aaPc80m8SCVEoxFGHxKYIt3zQYC3AccL/SqqiWXblo3pgToHuBwR8eCP2Toa+X1WmTR/QKFMykws7g==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.7.0.tgz",
+ "integrity": "sha512-pmioUlttNh9GXF5x2CzNa7Z8kmRTyhEzzAC+2WOOapjewMbl+3tGuAnxbwc5JyG8Jsz2+hf/QD/n5VjimOZ63g==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.7.0.tgz",
+ "integrity": "sha512-SeZzC2QhhdBQUm3U0c8+c/P6UlRyBcLL2Xp5KX7z46WXZxzR8RJSIWL9wSUeBTgxog5LTPJuPj0WOT9lvrtP7Q==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@sentry-internal/feedback": {
+ "version": "7.86.0",
+ "resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-7.86.0.tgz",
+ "integrity": "sha512-6rl0JYjmAKnhm4/fuFaROh4Ht8oi9f6ZeIcViCuGJcrGICZJJY0s+R77XJI78rNa82PYFrSCcnWXcGji4T8E7g==",
+ "dependencies": {
+ "@sentry/core": "7.86.0",
+ "@sentry/types": "7.86.0",
+ "@sentry/utils": "7.86.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@sentry-internal/tracing": {
+ "version": "7.86.0",
+ "resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.86.0.tgz",
+ "integrity": "sha512-b4dUsNWlPWRwakGwR7bhOkqiFlqQszH1hhVFwrm/8s3kqEBZ+E4CeIfCvuHBHQ1cM/fx55xpXX/BU163cy+3iQ==",
+ "dependencies": {
+ "@sentry/core": "7.86.0",
+ "@sentry/types": "7.86.0",
+ "@sentry/utils": "7.86.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@sentry/browser": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-6.19.7.tgz",
+ "integrity": "sha512-oDbklp4O3MtAM4mtuwyZLrgO1qDVYIujzNJQzXmi9YzymJCuzMLSRDvhY83NNDCRxf0pds4DShgYeZdbSyKraA==",
+ "dependencies": {
+ "@sentry/core": "6.19.7",
+ "@sentry/types": "6.19.7",
+ "@sentry/utils": "6.19.7",
+ "tslib": "^1.9.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sentry/browser/node_modules/@sentry/core": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.19.7.tgz",
+ "integrity": "sha512-tOfZ/umqB2AcHPGbIrsFLcvApdTm9ggpi/kQZFkej7kMphjT+SGBiQfYtjyg9jcRW+ilAR4JXC9BGKsdEQ+8Vw==",
+ "dependencies": {
+ "@sentry/hub": "6.19.7",
+ "@sentry/minimal": "6.19.7",
+ "@sentry/types": "6.19.7",
+ "@sentry/utils": "6.19.7",
+ "tslib": "^1.9.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sentry/browser/node_modules/@sentry/types": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.19.7.tgz",
+ "integrity": "sha512-jH84pDYE+hHIbVnab3Hr+ZXr1v8QABfhx39KknxqKWr2l0oEItzepV0URvbEhB446lk/S/59230dlUUIBGsXbg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sentry/browser/node_modules/@sentry/utils": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.19.7.tgz",
+ "integrity": "sha512-z95ECmE3i9pbWoXQrD/7PgkBAzJYR+iXtPuTkpBjDKs86O3mT+PXOT3BAn79w2wkn7/i3vOGD2xVr1uiMl26dA==",
+ "dependencies": {
+ "@sentry/types": "6.19.7",
+ "tslib": "^1.9.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sentry/core": {
+ "version": "7.86.0",
+ "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.86.0.tgz",
+ "integrity": "sha512-SbLvqd1bRYzhDS42u7GMnmbDMfth/zRiLElQWbLK/shmuZzTcfQSwNNdF4Yj+VfjOkqPFgGmICHSHVUc9dh01g==",
+ "dependencies": {
+ "@sentry/types": "7.86.0",
+ "@sentry/utils": "7.86.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@sentry/hub": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-6.19.7.tgz",
+ "integrity": "sha512-y3OtbYFAqKHCWezF0EGGr5lcyI2KbaXW2Ik7Xp8Mu9TxbSTuwTe4rTntwg8ngPjUQU3SUHzgjqVB8qjiGqFXCA==",
+ "dependencies": {
+ "@sentry/types": "6.19.7",
+ "@sentry/utils": "6.19.7",
+ "tslib": "^1.9.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sentry/hub/node_modules/@sentry/types": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.19.7.tgz",
+ "integrity": "sha512-jH84pDYE+hHIbVnab3Hr+ZXr1v8QABfhx39KknxqKWr2l0oEItzepV0URvbEhB446lk/S/59230dlUUIBGsXbg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sentry/hub/node_modules/@sentry/utils": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.19.7.tgz",
+ "integrity": "sha512-z95ECmE3i9pbWoXQrD/7PgkBAzJYR+iXtPuTkpBjDKs86O3mT+PXOT3BAn79w2wkn7/i3vOGD2xVr1uiMl26dA==",
+ "dependencies": {
+ "@sentry/types": "6.19.7",
+ "tslib": "^1.9.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sentry/integrations": {
+ "version": "7.86.0",
+ "resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-7.86.0.tgz",
+ "integrity": "sha512-BStRH1yBhhUsvmCXWx88/1+cY93l4B+3RW60RPeYcupvUQ1DJ8qxfN918+nA9XoZt9XELXvs8USCqqynG/aEkg==",
+ "dependencies": {
+ "@sentry/core": "7.86.0",
+ "@sentry/types": "7.86.0",
+ "@sentry/utils": "7.86.0",
+ "localforage": "^1.8.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@sentry/minimal": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.19.7.tgz",
+ "integrity": "sha512-wcYmSJOdvk6VAPx8IcmZgN08XTXRwRtB1aOLZm+MVHjIZIhHoBGZJYTVQS/BWjldsamj2cX3YGbGXNunaCfYJQ==",
+ "dependencies": {
+ "@sentry/hub": "6.19.7",
+ "@sentry/types": "6.19.7",
+ "tslib": "^1.9.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sentry/minimal/node_modules/@sentry/types": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.19.7.tgz",
+ "integrity": "sha512-jH84pDYE+hHIbVnab3Hr+ZXr1v8QABfhx39KknxqKWr2l0oEItzepV0URvbEhB446lk/S/59230dlUUIBGsXbg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sentry/node": {
+ "version": "7.86.0",
+ "resolved": "https://registry.npmjs.org/@sentry/node/-/node-7.86.0.tgz",
+ "integrity": "sha512-cB1bn/LMn2Km97Y3hv63xwWxT50/G5ixGuSxTZ3dCQM6VDhmZoCuC5NGT3itVvaRd6upQXRZa5W0Zgyh0HXKig==",
+ "dependencies": {
+ "@sentry-internal/tracing": "7.86.0",
+ "@sentry/core": "7.86.0",
+ "@sentry/types": "7.86.0",
+ "@sentry/utils": "7.86.0",
+ "https-proxy-agent": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@sentry/node/node_modules/agent-base": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
+ "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
+ "dependencies": {
+ "debug": "4"
+ },
+ "engines": {
+ "node": ">= 6.0.0"
+ }
+ },
+ "node_modules/@sentry/node/node_modules/https-proxy-agent": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
+ "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
+ "dependencies": {
+ "agent-base": "6",
+ "debug": "4"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/@sentry/replay": {
+ "version": "7.86.0",
+ "resolved": "https://registry.npmjs.org/@sentry/replay/-/replay-7.86.0.tgz",
+ "integrity": "sha512-YYZO8bfQSx1H87Te/zzyHPLHvExWiYwUfMWW68yGX+PPZIIzxaM81/iCQHkoucxlvuPCOtxCgf7RSMbsnqEa8g==",
+ "dependencies": {
+ "@sentry-internal/tracing": "7.86.0",
+ "@sentry/core": "7.86.0",
+ "@sentry/types": "7.86.0",
+ "@sentry/utils": "7.86.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@sentry/tracing": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-6.19.7.tgz",
+ "integrity": "sha512-ol4TupNnv9Zd+bZei7B6Ygnr9N3Gp1PUrNI761QSlHtPC25xXC5ssSD3GMhBgyQrcvpuRcCFHVNNM97tN5cZiA==",
+ "dependencies": {
+ "@sentry/hub": "6.19.7",
+ "@sentry/minimal": "6.19.7",
+ "@sentry/types": "6.19.7",
+ "@sentry/utils": "6.19.7",
+ "tslib": "^1.9.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sentry/tracing/node_modules/@sentry/types": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.19.7.tgz",
+ "integrity": "sha512-jH84pDYE+hHIbVnab3Hr+ZXr1v8QABfhx39KknxqKWr2l0oEItzepV0URvbEhB446lk/S/59230dlUUIBGsXbg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sentry/tracing/node_modules/@sentry/utils": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.19.7.tgz",
+ "integrity": "sha512-z95ECmE3i9pbWoXQrD/7PgkBAzJYR+iXtPuTkpBjDKs86O3mT+PXOT3BAn79w2wkn7/i3vOGD2xVr1uiMl26dA==",
+ "dependencies": {
+ "@sentry/types": "6.19.7",
+ "tslib": "^1.9.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sentry/types": {
+ "version": "7.86.0",
+ "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.86.0.tgz",
+ "integrity": "sha512-pGAt0+bMfWgo0KG2epthfNV4Wae03tURpoxNjGo5Fr4cXxvLTSijSAQ6rmmO4bXBJ7+rErEjX30g30o/eEdP9g==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@sentry/utils": {
+ "version": "7.86.0",
+ "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.86.0.tgz",
+ "integrity": "sha512-6PejFtw9VTFFy5vu0ks+U7Ozkqz+eMt+HN8AZKBKErYzX5/xs0kpkOcSRpu3ETdTYcZf8VAmLVgFgE2BE+3WuQ==",
+ "dependencies": {
+ "@sentry/types": "7.86.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@sentry/vue": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/vue/-/vue-6.19.7.tgz",
+ "integrity": "sha512-TW2yrbNebpWDN9CcQQuDNWZ3BCM/noDS1jz91W0bcsaAeoZwG0xgcHZqFwL+ms0G/yQmRc2Joe0fKPYp03IBGg==",
+ "dependencies": {
+ "@sentry/browser": "6.19.7",
+ "@sentry/core": "6.19.7",
+ "@sentry/minimal": "6.19.7",
+ "@sentry/types": "6.19.7",
+ "@sentry/utils": "6.19.7",
+ "tslib": "^1.9.3"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "peerDependencies": {
+ "vue": "2.x || 3.x"
+ }
+ },
+ "node_modules/@sentry/vue/node_modules/@sentry/core": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.19.7.tgz",
+ "integrity": "sha512-tOfZ/umqB2AcHPGbIrsFLcvApdTm9ggpi/kQZFkej7kMphjT+SGBiQfYtjyg9jcRW+ilAR4JXC9BGKsdEQ+8Vw==",
+ "dependencies": {
+ "@sentry/hub": "6.19.7",
+ "@sentry/minimal": "6.19.7",
+ "@sentry/types": "6.19.7",
+ "@sentry/utils": "6.19.7",
+ "tslib": "^1.9.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sentry/vue/node_modules/@sentry/types": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.19.7.tgz",
+ "integrity": "sha512-jH84pDYE+hHIbVnab3Hr+ZXr1v8QABfhx39KknxqKWr2l0oEItzepV0URvbEhB446lk/S/59230dlUUIBGsXbg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sentry/vue/node_modules/@sentry/utils": {
+ "version": "6.19.7",
+ "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.19.7.tgz",
+ "integrity": "sha512-z95ECmE3i9pbWoXQrD/7PgkBAzJYR+iXtPuTkpBjDKs86O3mT+PXOT3BAn79w2wkn7/i3vOGD2xVr1uiMl26dA==",
+ "dependencies": {
+ "@sentry/types": "6.19.7",
+ "tslib": "^1.9.3"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@sigstore/bundle": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-2.1.0.tgz",
+ "integrity": "sha512-89uOo6yh/oxaU8AeOUnVrTdVMcGk9Q1hJa7Hkvalc6G3Z3CupWk4Xe9djSgJm9fMkH69s0P0cVHUoKSOemLdng==",
+ "dependencies": {
+ "@sigstore/protobuf-specs": "^0.2.1"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@sigstore/protobuf-specs": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.2.1.tgz",
+ "integrity": "sha512-XTWVxnWJu+c1oCshMLwnKvz8ZQJJDVOlciMfgpJBQbThVjKTCG8dwyhgLngBD2KN0ap9F/gOV8rFDEx8uh7R2A==",
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@sigstore/sign": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-2.2.0.tgz",
+ "integrity": "sha512-AAbmnEHDQv6CSfrWA5wXslGtzLPtAtHZleKOgxdQYvx/s76Fk6T6ZVt7w2IGV9j1UrFeBocTTQxaXG2oRrDhYA==",
+ "dependencies": {
+ "@sigstore/bundle": "^2.1.0",
+ "@sigstore/protobuf-specs": "^0.2.1",
+ "make-fetch-happen": "^13.0.0"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@sigstore/tuf": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-2.2.0.tgz",
+ "integrity": "sha512-KKATZ5orWfqd9ZG6MN8PtCIx4eevWSuGRKQvofnWXRpyMyUEpmrzg5M5BrCpjM+NfZ0RbNGOh5tCz/P2uoRqOA==",
+ "dependencies": {
+ "@sigstore/protobuf-specs": "^0.2.1",
+ "tuf-js": "^2.1.0"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@sindresorhus/merge-streams": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-1.0.0.tgz",
+ "integrity": "sha512-rUV5WyJrJLoloD4NDN1V1+LDMDWOa4OTsT4yYJwQNpTU6FWxkxHpL7eu4w+DmiH8x/EAM1otkPE1+LaspIbplw==",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@trysound/sax": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz",
+ "integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==",
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/@tufjs/canonical-json": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-2.0.0.tgz",
+ "integrity": "sha512-yVtV8zsdo8qFHe+/3kw81dSLyF7D576A5cCFCi4X7B39tWT7SekaEFUnvnWJHz+9qO7qJTah1JbrDjWKqFtdWA==",
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@tufjs/models": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-2.0.0.tgz",
+ "integrity": "sha512-c8nj8BaOExmZKO2DXhDfegyhSGcG9E/mPN3U13L+/PsoWm1uaGiHHjxqSHQiasDBQwDA3aHuw9+9spYAP1qvvg==",
+ "dependencies": {
+ "@tufjs/canonical-json": "2.0.0",
+ "minimatch": "^9.0.3"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@tufjs/models/node_modules/minimatch": {
+ "version": "9.0.3",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
+ "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
+ "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw=="
+ },
+ "node_modules/@types/http-proxy": {
+ "version": "1.17.14",
+ "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.14.tgz",
+ "integrity": "sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w==",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/node": {
+ "version": "20.10.4",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.4.tgz",
+ "integrity": "sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==",
+ "dependencies": {
+ "undici-types": "~5.26.4"
+ }
+ },
+ "node_modules/@types/resolve": {
+ "version": "1.20.2",
+ "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.2.tgz",
+ "integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q=="
+ },
+ "node_modules/@types/web-bluetooth": {
+ "version": "0.0.20",
+ "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.20.tgz",
+ "integrity": "sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow=="
+ },
+ "node_modules/@unhead/dom": {
+ "version": "1.8.9",
+ "resolved": "https://registry.npmjs.org/@unhead/dom/-/dom-1.8.9.tgz",
+ "integrity": "sha512-qY4CUVNKEM7lEAcTz5t71QYca+NXgUY5RwhSzB6sBBzZxQTiFOeTVKC6uWXU0N+3jBUdP/zdD3iN1JIjziDlng==",
+ "dependencies": {
+ "@unhead/schema": "1.8.9",
+ "@unhead/shared": "1.8.9"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/harlan-zw"
+ }
+ },
+ "node_modules/@unhead/schema": {
+ "version": "1.8.9",
+ "resolved": "https://registry.npmjs.org/@unhead/schema/-/schema-1.8.9.tgz",
+ "integrity": "sha512-Cumjt2uLfBMEXflvq7Nk8KNqa/JS4MlRGWkjXx/uUXJ1vUeQqeMV8o3hrnRvDDoTXr9LwPapTMUbtClN3TSBgw==",
+ "dependencies": {
+ "hookable": "^5.5.3",
+ "zhead": "^2.2.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/harlan-zw"
+ }
+ },
+ "node_modules/@unhead/shared": {
+ "version": "1.8.9",
+ "resolved": "https://registry.npmjs.org/@unhead/shared/-/shared-1.8.9.tgz",
+ "integrity": "sha512-0o4+CBCi9EnTKPF6cEuLacnUHUkF0u/FfiKrWnKWUiB8wTD1v3UCf5ZCrNCjuJmKHTqj6ZtZ2hIfXsqWfc+3tA==",
+ "dependencies": {
+ "@unhead/schema": "1.8.9"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/harlan-zw"
+ }
+ },
+ "node_modules/@unhead/ssr": {
+ "version": "1.8.9",
+ "resolved": "https://registry.npmjs.org/@unhead/ssr/-/ssr-1.8.9.tgz",
+ "integrity": "sha512-sQaA4FDFD1tRD2JiiHfdEY5rF1i54qFxCRqdX0pB+15JJCYBfIPJMr5T1SLJBgc9pqX4rS3MPg2Fc9DW+0p9yw==",
+ "dependencies": {
+ "@unhead/schema": "1.8.9",
+ "@unhead/shared": "1.8.9"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/harlan-zw"
+ }
+ },
+ "node_modules/@unhead/vue": {
+ "version": "1.8.9",
+ "resolved": "https://registry.npmjs.org/@unhead/vue/-/vue-1.8.9.tgz",
+ "integrity": "sha512-sL1d2IRBZd5rjzhgTYni2DiociSpt+Cfz3iVWKb0EZwQHgg0GzV8Hkoj5TjZYZow6EjDSPRfVPXDwOwxkVOgug==",
+ "dependencies": {
+ "@unhead/schema": "1.8.9",
+ "@unhead/shared": "1.8.9",
+ "hookable": "^5.5.3",
+ "unhead": "1.8.9"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/harlan-zw"
+ },
+ "peerDependencies": {
+ "vue": ">=2.7 || >=3"
+ }
+ },
+ "node_modules/@vercel/nft": {
+ "version": "0.24.4",
+ "resolved": "https://registry.npmjs.org/@vercel/nft/-/nft-0.24.4.tgz",
+ "integrity": "sha512-KjYAZty7boH5fi5udp6p+lNu6nawgs++pHW+3koErMgbRkkHuToGX/FwjN5clV1FcaM3udfd4zW/sUapkMgpZw==",
+ "dependencies": {
+ "@mapbox/node-pre-gyp": "^1.0.5",
+ "@rollup/pluginutils": "^4.0.0",
+ "acorn": "^8.6.0",
+ "async-sema": "^3.1.1",
+ "bindings": "^1.4.0",
+ "estree-walker": "2.0.2",
+ "glob": "^7.1.3",
+ "graceful-fs": "^4.2.9",
+ "micromatch": "^4.0.2",
+ "node-gyp-build": "^4.2.2",
+ "resolve-from": "^5.0.0"
+ },
+ "bin": {
+ "nft": "out/cli.js"
+ },
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@vercel/nft/node_modules/@rollup/pluginutils": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz",
+ "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==",
+ "dependencies": {
+ "estree-walker": "^2.0.1",
+ "picomatch": "^2.2.2"
+ },
+ "engines": {
+ "node": ">= 8.0.0"
+ }
+ },
+ "node_modules/@vercel/nft/node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/@vercel/nft/node_modules/estree-walker": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="
+ },
+ "node_modules/@vercel/nft/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@vercel/nft/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/@vitejs/plugin-vue": {
+ "version": "4.5.2",
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.5.2.tgz",
+ "integrity": "sha512-UGR3DlzLi/SaVBPX0cnSyE37vqxU3O6chn8l0HJNzQzDia6/Au2A4xKv+iIJW8w2daf80G7TYHhi1pAUjdZ0bQ==",
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "vite": "^4.0.0 || ^5.0.0",
+ "vue": "^3.2.25"
+ }
+ },
+ "node_modules/@vitejs/plugin-vue-jsx": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue-jsx/-/plugin-vue-jsx-3.1.0.tgz",
+ "integrity": "sha512-w9M6F3LSEU5kszVb9An2/MmXNxocAnUb3WhRr8bHlimhDrXNt6n6D2nJQR3UXpGlZHh/EsgouOHCsM8V3Ln+WA==",
+ "dependencies": {
+ "@babel/core": "^7.23.3",
+ "@babel/plugin-transform-typescript": "^7.23.3",
+ "@vue/babel-plugin-jsx": "^1.1.5"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "vite": "^4.0.0 || ^5.0.0",
+ "vue": "^3.0.0"
+ }
+ },
+ "node_modules/@vue-macros/common": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@vue-macros/common/-/common-1.9.0.tgz",
+ "integrity": "sha512-LbfRHDkceuokkLlVuQW9Wq3ZLmRs6KIDPzCjUvvL14HB4GslWdtvBB1suFfNs6VMvh9Zj30cEKF/EAP7QBCZ6Q==",
+ "dependencies": {
+ "@babel/types": "^7.23.3",
+ "@rollup/pluginutils": "^5.0.5",
+ "@vue/compiler-sfc": "^3.3.8",
+ "ast-kit": "^0.11.2",
+ "local-pkg": "^0.5.0",
+ "magic-string-ast": "^0.3.0"
+ },
+ "engines": {
+ "node": ">=16.14.0"
+ },
+ "peerDependencies": {
+ "vue": "^2.7.0 || ^3.2.25"
+ },
+ "peerDependenciesMeta": {
+ "vue": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vue/babel-helper-vue-transform-on": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@vue/babel-helper-vue-transform-on/-/babel-helper-vue-transform-on-1.1.5.tgz",
+ "integrity": "sha512-SgUymFpMoAyWeYWLAY+MkCK3QEROsiUnfaw5zxOVD/M64KQs8D/4oK6Q5omVA2hnvEOE0SCkH2TZxs/jnnUj7w=="
+ },
+ "node_modules/@vue/babel-plugin-jsx": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@vue/babel-plugin-jsx/-/babel-plugin-jsx-1.1.5.tgz",
+ "integrity": "sha512-nKs1/Bg9U1n3qSWnsHhCVQtAzI6aQXqua8j/bZrau8ywT1ilXQbK4FwEJGmU8fV7tcpuFvWmmN7TMmV1OBma1g==",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.22.5",
+ "@babel/plugin-syntax-jsx": "^7.22.5",
+ "@babel/template": "^7.22.5",
+ "@babel/traverse": "^7.22.5",
+ "@babel/types": "^7.22.5",
+ "@vue/babel-helper-vue-transform-on": "^1.1.5",
+ "camelcase": "^6.3.0",
+ "html-tags": "^3.3.1",
+ "svg-tags": "^1.0.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@vue/compiler-core": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.11.tgz",
+ "integrity": "sha512-h97/TGWBilnLuRaj58sxNrsUU66fwdRKLOLQ9N/5iNDfp+DZhYH9Obhe0bXxhedl8fjAgpRANpiZfbgWyruQ0w==",
+ "dependencies": {
+ "@babel/parser": "^7.23.5",
+ "@vue/shared": "3.3.11",
+ "estree-walker": "^2.0.2",
+ "source-map-js": "^1.0.2"
+ }
+ },
+ "node_modules/@vue/compiler-core/node_modules/estree-walker": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="
+ },
+ "node_modules/@vue/compiler-dom": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.11.tgz",
+ "integrity": "sha512-zoAiUIqSKqAJ81WhfPXYmFGwDRuO+loqLxvXmfUdR5fOitPoUiIeFI9cTTyv9MU5O1+ZZglJVTusWzy+wfk5hw==",
+ "dependencies": {
+ "@vue/compiler-core": "3.3.11",
+ "@vue/shared": "3.3.11"
+ }
+ },
+ "node_modules/@vue/compiler-sfc": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.11.tgz",
+ "integrity": "sha512-U4iqPlHO0KQeK1mrsxCN0vZzw43/lL8POxgpzcJweopmqtoYy9nljJzWDIQS3EfjiYhfdtdk9Gtgz7MRXnz3GA==",
+ "dependencies": {
+ "@babel/parser": "^7.23.5",
+ "@vue/compiler-core": "3.3.11",
+ "@vue/compiler-dom": "3.3.11",
+ "@vue/compiler-ssr": "3.3.11",
+ "@vue/reactivity-transform": "3.3.11",
+ "@vue/shared": "3.3.11",
+ "estree-walker": "^2.0.2",
+ "magic-string": "^0.30.5",
+ "postcss": "^8.4.32",
+ "source-map-js": "^1.0.2"
+ }
+ },
+ "node_modules/@vue/compiler-sfc/node_modules/estree-walker": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="
+ },
+ "node_modules/@vue/compiler-ssr": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.11.tgz",
+ "integrity": "sha512-Zd66ZwMvndxRTgVPdo+muV4Rv9n9DwQ4SSgWWKWkPFebHQfVYRrVjeygmmDmPewsHyznCNvJ2P2d6iOOhdv8Qg==",
+ "dependencies": {
+ "@vue/compiler-dom": "3.3.11",
+ "@vue/shared": "3.3.11"
+ }
+ },
+ "node_modules/@vue/devtools-api": {
+ "version": "6.5.1",
+ "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.5.1.tgz",
+ "integrity": "sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA=="
+ },
+ "node_modules/@vue/reactivity": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.11.tgz",
+ "integrity": "sha512-D5tcw091f0nuu+hXq5XANofD0OXnBmaRqMYl5B3fCR+mX+cXJIGNw/VNawBqkjLNWETrFW0i+xH9NvDbTPVh7g==",
+ "dependencies": {
+ "@vue/shared": "3.3.11"
+ }
+ },
+ "node_modules/@vue/reactivity-transform": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.11.tgz",
+ "integrity": "sha512-fPGjH0wqJo68A0wQ1k158utDq/cRyZNlFoxGwNScE28aUFOKFEnCBsvyD8jHn+0kd0UKVpuGuaZEQ6r9FJRqCg==",
+ "dependencies": {
+ "@babel/parser": "^7.23.5",
+ "@vue/compiler-core": "3.3.11",
+ "@vue/shared": "3.3.11",
+ "estree-walker": "^2.0.2",
+ "magic-string": "^0.30.5"
+ }
+ },
+ "node_modules/@vue/reactivity-transform/node_modules/estree-walker": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="
+ },
+ "node_modules/@vue/runtime-core": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.11.tgz",
+ "integrity": "sha512-g9ztHGwEbS5RyWaOpXuyIVFTschclnwhqEbdy5AwGhYOgc7m/q3NFwr50MirZwTTzX55JY8pSkeib9BX04NIpw==",
+ "dependencies": {
+ "@vue/reactivity": "3.3.11",
+ "@vue/shared": "3.3.11"
+ }
+ },
+ "node_modules/@vue/runtime-dom": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.11.tgz",
+ "integrity": "sha512-OlhtV1PVpbgk+I2zl+Y5rQtDNcCDs12rsRg71XwaA2/Rbllw6mBLMi57VOn8G0AjOJ4Mdb4k56V37+g8ukShpQ==",
+ "dependencies": {
+ "@vue/runtime-core": "3.3.11",
+ "@vue/shared": "3.3.11",
+ "csstype": "^3.1.2"
+ }
+ },
+ "node_modules/@vue/server-renderer": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.11.tgz",
+ "integrity": "sha512-AIWk0VwwxCAm4wqtJyxBylRTXSy1wCLOKbWxHaHiu14wjsNYtiRCSgVuqEPVuDpErOlRdNnuRgipQfXRLjLN5A==",
+ "dependencies": {
+ "@vue/compiler-ssr": "3.3.11",
+ "@vue/shared": "3.3.11"
+ },
+ "peerDependencies": {
+ "vue": "3.3.11"
+ }
+ },
+ "node_modules/@vue/shared": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.11.tgz",
+ "integrity": "sha512-u2G8ZQ9IhMWTMXaWqZycnK4UthG1fA238CD+DP4Dm4WJi5hdUKKLg0RMRaRpDPNMdkTwIDkp7WtD0Rd9BH9fLw=="
+ },
+ "node_modules/@vueuse/components": {
+ "version": "10.7.0",
+ "resolved": "https://registry.npmjs.org/@vueuse/components/-/components-10.7.0.tgz",
+ "integrity": "sha512-ycyF+fZtipP/8WVWZ5y6Cb9twJ0EeVHIqcqkCcTpmAJdheRjorT8v6cHk3h144HHTMgIfBWC6TaSukDG7QFmsw==",
+ "dependencies": {
+ "@vueuse/core": "10.7.0",
+ "@vueuse/shared": "10.7.0",
+ "vue-demi": ">=0.14.6"
+ }
+ },
+ "node_modules/@vueuse/components/node_modules/vue-demi": {
+ "version": "0.14.6",
+ "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.6.tgz",
+ "integrity": "sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==",
+ "hasInstallScript": true,
+ "bin": {
+ "vue-demi-fix": "bin/vue-demi-fix.js",
+ "vue-demi-switch": "bin/vue-demi-switch.js"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ },
+ "peerDependencies": {
+ "@vue/composition-api": "^1.0.0-rc.1",
+ "vue": "^3.0.0-0 || ^2.6.0"
+ },
+ "peerDependenciesMeta": {
+ "@vue/composition-api": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vueuse/core": {
+ "version": "10.7.0",
+ "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.7.0.tgz",
+ "integrity": "sha512-4EUDESCHtwu44ZWK3Gc/hZUVhVo/ysvdtwocB5vcauSV4B7NiGY5972WnsojB3vRNdxvAt7kzJWE2h9h7C9d5w==",
+ "dependencies": {
+ "@types/web-bluetooth": "^0.0.20",
+ "@vueuse/metadata": "10.7.0",
+ "@vueuse/shared": "10.7.0",
+ "vue-demi": ">=0.14.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/@vueuse/core/node_modules/vue-demi": {
+ "version": "0.14.6",
+ "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.6.tgz",
+ "integrity": "sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==",
+ "hasInstallScript": true,
+ "bin": {
+ "vue-demi-fix": "bin/vue-demi-fix.js",
+ "vue-demi-switch": "bin/vue-demi-switch.js"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ },
+ "peerDependencies": {
+ "@vue/composition-api": "^1.0.0-rc.1",
+ "vue": "^3.0.0-0 || ^2.6.0"
+ },
+ "peerDependenciesMeta": {
+ "@vue/composition-api": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vueuse/metadata": {
+ "version": "10.7.0",
+ "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.7.0.tgz",
+ "integrity": "sha512-GlaH7tKP2iBCZ3bHNZ6b0cl9g0CJK8lttkBNUX156gWvNYhTKEtbweWLm9rxCPIiwzYcr/5xML6T8ZUEt+DkvA==",
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/@vueuse/motion": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@vueuse/motion/-/motion-2.0.0.tgz",
+ "integrity": "sha512-V3TAlbt1OPmb9DZFoFCz9WC3Oue54t9VHlavSWm+VU1JNimYcd+pc6aGR/hgaHUAU9tOPRHoDTleSrv2zrdIsw==",
+ "dependencies": {
+ "@vueuse/core": "^10.1.2",
+ "@vueuse/shared": "^10.1.2",
+ "csstype": "^3.1.2",
+ "framesync": "^6.1.2",
+ "popmotion": "^11.0.5",
+ "style-value-types": "^5.1.2"
+ },
+ "optionalDependencies": {
+ "@nuxt/kit": "^3.5.1"
+ },
+ "peerDependencies": {
+ "vue": ">=3.0.0"
+ }
+ },
+ "node_modules/@vueuse/nuxt": {
+ "version": "10.7.0",
+ "resolved": "https://registry.npmjs.org/@vueuse/nuxt/-/nuxt-10.7.0.tgz",
+ "integrity": "sha512-CYKMFRwTlZmfUuopC2jGJZ03s7RL5H1L/Xoz9xhQfs7seMS6kCSsVUT9iB0LqiuLxeP7WiInThgFnBbBc6LMTw==",
+ "dependencies": {
+ "@nuxt/kit": "^3.8.2",
+ "@vueuse/core": "10.7.0",
+ "@vueuse/metadata": "10.7.0",
+ "local-pkg": "^0.5.0",
+ "nuxt": "^3.8.2",
+ "vue-demi": ">=0.14.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ },
+ "peerDependencies": {
+ "nuxt": "^3.0.0"
+ }
+ },
+ "node_modules/@vueuse/nuxt/node_modules/vue-demi": {
+ "version": "0.14.6",
+ "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.6.tgz",
+ "integrity": "sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==",
+ "hasInstallScript": true,
+ "bin": {
+ "vue-demi-fix": "bin/vue-demi-fix.js",
+ "vue-demi-switch": "bin/vue-demi-switch.js"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ },
+ "peerDependencies": {
+ "@vue/composition-api": "^1.0.0-rc.1",
+ "vue": "^3.0.0-0 || ^2.6.0"
+ },
+ "peerDependenciesMeta": {
+ "@vue/composition-api": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vueuse/shared": {
+ "version": "10.7.0",
+ "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.7.0.tgz",
+ "integrity": "sha512-kc00uV6CiaTdc3i1CDC4a3lBxzaBE9AgYNtFN87B5OOscqeWElj/uza8qVDmk7/U8JbqoONLbtqiLJ5LGRuqlw==",
+ "dependencies": {
+ "vue-demi": ">=0.14.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/@vueuse/shared/node_modules/vue-demi": {
+ "version": "0.14.6",
+ "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.6.tgz",
+ "integrity": "sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==",
+ "hasInstallScript": true,
+ "bin": {
+ "vue-demi-fix": "bin/vue-demi-fix.js",
+ "vue-demi-switch": "bin/vue-demi-switch.js"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ },
+ "peerDependencies": {
+ "@vue/composition-api": "^1.0.0-rc.1",
+ "vue": "^3.0.0-0 || ^2.6.0"
+ },
+ "peerDependenciesMeta": {
+ "@vue/composition-api": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/abbrev": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
+ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="
+ },
+ "node_modules/acorn": {
+ "version": "8.11.2",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
+ "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/agent-base": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz",
+ "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==",
+ "dependencies": {
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/aggregate-error": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz",
+ "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==",
+ "dependencies": {
+ "clean-stack": "^2.0.0",
+ "indent-string": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/amplitude-js": {
+ "version": "8.21.9",
+ "resolved": "https://registry.npmjs.org/amplitude-js/-/amplitude-js-8.21.9.tgz",
+ "integrity": "sha512-d0jJH00wbXu7sxKtVwkdSXtVffjqdUrxuACKlnzP7jU5qt9wriXXMgHifdH5Oq+buKmyF8wKL9S02gAykysURA==",
+ "dependencies": {
+ "@amplitude/analytics-connector": "^1.4.6",
+ "@amplitude/ua-parser-js": "0.7.33",
+ "@amplitude/utils": "^1.10.2",
+ "@babel/runtime": "^7.21.0",
+ "blueimp-md5": "^2.19.0",
+ "query-string": "8.1.0"
+ }
+ },
+ "node_modules/ansi-colors": {
+ "version": "4.1.3",
+ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz",
+ "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ansi-escapes": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
+ "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
+ "dependencies": {
+ "type-fest": "^0.21.3"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ansi-escapes/node_modules/type-fest": {
+ "version": "0.21.3",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/any-promise": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
+ "dev": true
+ },
+ "node_modules/anymatch": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
+ "dependencies": {
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/aproba": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz",
+ "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ=="
+ },
+ "node_modules/arch": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/arch/-/arch-2.2.0.tgz",
+ "integrity": "sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
+ },
+ "node_modules/archiver": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/archiver/-/archiver-6.0.1.tgz",
+ "integrity": "sha512-CXGy4poOLBKptiZH//VlWdFuUC1RESbdZjGjILwBuZ73P7WkAUN0htfSfBq/7k6FRFlpu7bg4JOkj1vU9G6jcQ==",
+ "dependencies": {
+ "archiver-utils": "^4.0.1",
+ "async": "^3.2.4",
+ "buffer-crc32": "^0.2.1",
+ "readable-stream": "^3.6.0",
+ "readdir-glob": "^1.1.2",
+ "tar-stream": "^3.0.0",
+ "zip-stream": "^5.0.1"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ }
+ },
+ "node_modules/archiver-utils": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-4.0.1.tgz",
+ "integrity": "sha512-Q4Q99idbvzmgCTEAAhi32BkOyq8iVI5EwdO0PmBDSGIzzjYNdcFn7Q7k3OzbLy4kLUPXfJtG6fO2RjftXbobBg==",
+ "dependencies": {
+ "glob": "^8.0.0",
+ "graceful-fs": "^4.2.0",
+ "lazystream": "^1.0.0",
+ "lodash": "^4.17.15",
+ "normalize-path": "^3.0.0",
+ "readable-stream": "^3.6.0"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ }
+ },
+ "node_modules/are-we-there-yet": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz",
+ "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==",
+ "dependencies": {
+ "delegates": "^1.0.0",
+ "readable-stream": "^3.6.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/arg": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
+ "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",
+ "dev": true
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
+ },
+ "node_modules/ast-kit": {
+ "version": "0.11.3",
+ "resolved": "https://registry.npmjs.org/ast-kit/-/ast-kit-0.11.3.tgz",
+ "integrity": "sha512-qdwwKEhckRk0XE22/xDdmU3v/60E8Edu4qFhgTLIhGGDs/PAJwLw9pQn8Rj99PitlbBZbYpx0k/lbir4kg0SuA==",
+ "dependencies": {
+ "@babel/parser": "^7.23.5",
+ "@rollup/pluginutils": "^5.1.0",
+ "pathe": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=16.14.0"
+ }
+ },
+ "node_modules/ast-walker-scope": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/ast-walker-scope/-/ast-walker-scope-0.5.0.tgz",
+ "integrity": "sha512-NsyHMxBh4dmdEHjBo1/TBZvCKxffmZxRYhmclfu0PP6Aftre47jOHYaYaNqJcV0bxihxFXhDkzLHUwHc0ocd0Q==",
+ "dependencies": {
+ "@babel/parser": "^7.22.7",
+ "ast-kit": "^0.9.4"
+ },
+ "engines": {
+ "node": ">=16.14.0"
+ }
+ },
+ "node_modules/ast-walker-scope/node_modules/ast-kit": {
+ "version": "0.9.5",
+ "resolved": "https://registry.npmjs.org/ast-kit/-/ast-kit-0.9.5.tgz",
+ "integrity": "sha512-kbL7ERlqjXubdDd+szuwdlQ1xUxEz9mCz1+m07ftNVStgwRb2RWw+U6oKo08PAvOishMxiqz1mlJyLl8yQx2Qg==",
+ "dependencies": {
+ "@babel/parser": "^7.22.7",
+ "@rollup/pluginutils": "^5.0.2",
+ "pathe": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=16.14.0"
+ }
+ },
+ "node_modules/async": {
+ "version": "3.2.5",
+ "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz",
+ "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg=="
+ },
+ "node_modules/async-sema": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/async-sema/-/async-sema-3.1.1.tgz",
+ "integrity": "sha512-tLRNUXati5MFePdAk8dw7Qt7DpxPB60ofAgn8WRhW6a2rcimZnYBP9oxHiv0OHy+Wz7kPMG+t4LGdt31+4EmGg=="
+ },
+ "node_modules/autoprefixer": {
+ "version": "10.4.16",
+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.16.tgz",
+ "integrity": "sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/autoprefixer"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "dependencies": {
+ "browserslist": "^4.21.10",
+ "caniuse-lite": "^1.0.30001538",
+ "fraction.js": "^4.3.6",
+ "normalize-range": "^0.1.2",
+ "picocolors": "^1.0.0",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "bin": {
+ "autoprefixer": "bin/autoprefixer"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+ },
+ "node_modules/axios": {
+ "version": "0.21.4",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",
+ "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",
+ "dependencies": {
+ "follow-redirects": "^1.14.0"
+ }
+ },
+ "node_modules/b4a": {
+ "version": "1.6.4",
+ "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.4.tgz",
+ "integrity": "sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw=="
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
+ },
+ "node_modules/big-integer": {
+ "version": "1.6.52",
+ "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz",
+ "integrity": "sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/binary-extensions": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
+ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/bindings": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
+ "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
+ "dependencies": {
+ "file-uri-to-path": "1.0.0"
+ }
+ },
+ "node_modules/birpc": {
+ "version": "0.2.14",
+ "resolved": "https://registry.npmjs.org/birpc/-/birpc-0.2.14.tgz",
+ "integrity": "sha512-37FHE8rqsYM5JEKCnXFyHpBCzvgHEExwVVTq+nUmloInU7l8ezD1TpOhKpS8oe1DTYFqEK27rFZVKG43oTqXRA==",
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/blueimp-md5": {
+ "version": "2.19.0",
+ "resolved": "https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.19.0.tgz",
+ "integrity": "sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w=="
+ },
+ "node_modules/boolbase": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
+ "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww=="
+ },
+ "node_modules/bplist-parser": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz",
+ "integrity": "sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==",
+ "dependencies": {
+ "big-integer": "^1.6.44"
+ },
+ "engines": {
+ "node": ">= 5.10.0"
+ }
+ },
+ "node_modules/brace-expansion": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
+ "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "dependencies": {
+ "fill-range": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/browserslist": {
+ "version": "4.22.2",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz",
+ "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "dependencies": {
+ "caniuse-lite": "^1.0.30001565",
+ "electron-to-chromium": "^1.4.601",
+ "node-releases": "^2.0.14",
+ "update-browserslist-db": "^1.0.13"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ }
+ },
+ "node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
+ "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/buffer-from": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
+ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="
+ },
+ "node_modules/builtin-modules": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz",
+ "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==",
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/builtins": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz",
+ "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==",
+ "dependencies": {
+ "semver": "^7.0.0"
+ }
+ },
+ "node_modules/bundle-name": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-3.0.0.tgz",
+ "integrity": "sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==",
+ "dependencies": {
+ "run-applescript": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/c12": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/c12/-/c12-1.5.1.tgz",
+ "integrity": "sha512-BWZRJgDEveT8uI+cliCwvYSSSSvb4xKoiiu5S0jaDbKBopQLQF7E+bq9xKk1pTcG+mUa3yXuFO7bD9d8Lr9Xxg==",
+ "dependencies": {
+ "chokidar": "^3.5.3",
+ "defu": "^6.1.2",
+ "dotenv": "^16.3.1",
+ "giget": "^1.1.3",
+ "jiti": "^1.20.0",
+ "mlly": "^1.4.2",
+ "ohash": "^1.1.3",
+ "pathe": "^1.1.1",
+ "perfect-debounce": "^1.0.0",
+ "pkg-types": "^1.0.3",
+ "rc9": "^2.1.1"
+ }
+ },
+ "node_modules/cac": {
+ "version": "6.7.14",
+ "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
+ "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/cacache": {
+ "version": "18.0.1",
+ "resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.1.tgz",
+ "integrity": "sha512-g4Uf2CFZPaxtJKre6qr4zqLDOOPU7bNVhWjlNhvzc51xaTOx2noMOLhfFkTAqwtrAZAKQUuDfyjitzilpA8WsQ==",
+ "dependencies": {
+ "@npmcli/fs": "^3.1.0",
+ "fs-minipass": "^3.0.0",
+ "glob": "^10.2.2",
+ "lru-cache": "^10.0.1",
+ "minipass": "^7.0.3",
+ "minipass-collect": "^2.0.1",
+ "minipass-flush": "^1.0.5",
+ "minipass-pipeline": "^1.2.4",
+ "p-map": "^4.0.0",
+ "ssri": "^10.0.0",
+ "tar": "^6.1.11",
+ "unique-filename": "^3.0.0"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/cacache/node_modules/glob": {
+ "version": "10.3.10",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz",
+ "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==",
+ "dependencies": {
+ "foreground-child": "^3.1.0",
+ "jackspeak": "^2.3.5",
+ "minimatch": "^9.0.1",
+ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0",
+ "path-scurry": "^1.10.1"
+ },
+ "bin": {
+ "glob": "dist/esm/bin.mjs"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/cacache/node_modules/lru-cache": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz",
+ "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==",
+ "engines": {
+ "node": "14 || >=16.14"
+ }
+ },
+ "node_modules/cacache/node_modules/minimatch": {
+ "version": "9.0.3",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
+ "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/call-bind": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz",
+ "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==",
+ "dependencies": {
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.1",
+ "set-function-length": "^1.1.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/camelcase": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",
+ "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/camelcase-css": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
+ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
+ "dev": true,
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/caniuse-api": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz",
+ "integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==",
+ "dependencies": {
+ "browserslist": "^4.0.0",
+ "caniuse-lite": "^1.0.0",
+ "lodash.memoize": "^4.1.2",
+ "lodash.uniq": "^4.5.0"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001566",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001566.tgz",
+ "integrity": "sha512-ggIhCsTxmITBAMmK8yZjEhCO5/47jKXPu6Dha/wuCS4JePVL+3uiDEBuhu2aIoT+bqTOR8L76Ip1ARL9xYsEJA==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ]
+ },
+ "node_modules/chalk": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",
+ "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",
+ "engines": {
+ "node": "^12.17.0 || ^14.13 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/chart.js": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.1.tgz",
+ "integrity": "sha512-C74QN1bxwV1v2PEujhmKjOZ7iUM4w6BWs23Md/6aOZZSlwMzeCIDGuZay++rBgChYru7/+QFeoQW0fQoP534Dg==",
+ "dependencies": {
+ "@kurkle/color": "^0.3.0"
+ },
+ "engines": {
+ "pnpm": ">=7"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "3.5.3",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
+ "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://paulmillr.com/funding/"
+ }
+ ],
+ "dependencies": {
+ "anymatch": "~3.1.2",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.2",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.6.0"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/chownr": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",
+ "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/ci-info": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.0.0.tgz",
+ "integrity": "sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/sibiraj-s"
+ }
+ ],
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/citty": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/citty/-/citty-0.1.5.tgz",
+ "integrity": "sha512-AS7n5NSc0OQVMV9v6wt3ByujNIrne0/cTjiC2MYqhvao57VNfiuVksTSr2p17nVOhEr2KtqiAkGwHcgMC/qUuQ==",
+ "dependencies": {
+ "consola": "^3.2.3"
+ }
+ },
+ "node_modules/clean-stack": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz",
+ "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/clear": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/clear/-/clear-0.1.0.tgz",
+ "integrity": "sha512-qMjRnoL+JDPJHeLePZJuao6+8orzHMGP04A8CdwCNsKhRbOnKRjefxONR7bwILT3MHecxKBjHkKL/tkZ8r4Uzw==",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/clipboardy": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-3.0.0.tgz",
+ "integrity": "sha512-Su+uU5sr1jkUy1sGRpLKjKrvEOVXgSgiSInwa/qeID6aJ07yh+5NWc3h2QfjHjBnfX4LhtFcuAWKUsJ3r+fjbg==",
+ "dependencies": {
+ "arch": "^2.2.0",
+ "execa": "^5.1.1",
+ "is-wsl": "^2.2.0"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/clipboardy/node_modules/execa": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
+ "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
+ "dependencies": {
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^6.0.0",
+ "human-signals": "^2.1.0",
+ "is-stream": "^2.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^4.0.1",
+ "onetime": "^5.1.2",
+ "signal-exit": "^3.0.3",
+ "strip-final-newline": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ }
+ },
+ "node_modules/clipboardy/node_modules/human-signals": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
+ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
+ "engines": {
+ "node": ">=10.17.0"
+ }
+ },
+ "node_modules/clipboardy/node_modules/is-stream": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
+ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/clipboardy/node_modules/mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/clipboardy/node_modules/npm-run-path": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "dependencies": {
+ "path-key": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/clipboardy/node_modules/onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "dependencies": {
+ "mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/clipboardy/node_modules/strip-final-newline": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/cliui": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
+ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.1",
+ "wrap-ansi": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/clone": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
+ "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==",
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/clone-deep": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz",
+ "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==",
+ "dependencies": {
+ "is-plain-object": "^2.0.4",
+ "kind-of": "^6.0.2",
+ "shallow-clone": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/cluster-key-slot": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz",
+ "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/codemirror": {
+ "version": "5.65.16",
+ "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.65.16.tgz",
+ "integrity": "sha512-br21LjYmSlVL0vFCPWPfhzUCT34FM/pAdK7rRIZwa0rrtrIdotvP4Oh4GUHsu2E3IrQMCfRkL/fN3ytMNxVQvg=="
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
+ },
+ "node_modules/color-support": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz",
+ "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==",
+ "bin": {
+ "color-support": "bin.js"
+ }
+ },
+ "node_modules/colord": {
+ "version": "2.9.3",
+ "resolved": "https://registry.npmjs.org/colord/-/colord-2.9.3.tgz",
+ "integrity": "sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw=="
+ },
+ "node_modules/colorette": {
+ "version": "2.0.20",
+ "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz",
+ "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w=="
+ },
+ "node_modules/commander": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
+ "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/commondir": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",
+ "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg=="
+ },
+ "node_modules/compress-commons": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-5.0.1.tgz",
+ "integrity": "sha512-MPh//1cERdLtqwO3pOFLeXtpuai0Y2WCd5AhtKxznqM7WtaMYaOEMSgn45d9D10sIHSfIKE603HlOp8OPGrvag==",
+ "dependencies": {
+ "crc-32": "^1.2.0",
+ "crc32-stream": "^5.0.0",
+ "normalize-path": "^3.0.0",
+ "readable-stream": "^3.6.0"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ }
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
+ },
+ "node_modules/consola": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/consola/-/consola-3.2.3.tgz",
+ "integrity": "sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==",
+ "engines": {
+ "node": "^14.18.0 || >=16.10.0"
+ }
+ },
+ "node_modules/console-control-strings": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
+ "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ=="
+ },
+ "node_modules/convert-source-map": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="
+ },
+ "node_modules/cookie-es": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/cookie-es/-/cookie-es-1.0.0.tgz",
+ "integrity": "sha512-mWYvfOLrfEc996hlKcdABeIiPHUPC6DM2QYZdGGOvhOTbA3tjm2eBwqlJpoFdjC89NI4Qt6h0Pu06Mp+1Pj5OQ=="
+ },
+ "node_modules/core-js": {
+ "version": "3.34.0",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.34.0.tgz",
+ "integrity": "sha512-aDdvlDder8QmY91H88GzNi9EtQi2TjvQhpCX6B1v/dAZHU1AuLgHvRh54RiOerpEhEW46Tkf+vgAViB/CWC0ag==",
+ "hasInstallScript": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/core-js"
+ }
+ },
+ "node_modules/core-util-is": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
+ "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="
+ },
+ "node_modules/crc-32": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz",
+ "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==",
+ "bin": {
+ "crc32": "bin/crc32.njs"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/crc32-stream": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-5.0.0.tgz",
+ "integrity": "sha512-B0EPa1UK+qnpBZpG+7FgPCu0J2ETLpXq09o9BkLkEAhdB6Z61Qo4pJ3JYu0c+Qi+/SAL7QThqnzS06pmSSyZaw==",
+ "dependencies": {
+ "crc-32": "^1.2.0",
+ "readable-stream": "^3.4.0"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ }
+ },
+ "node_modules/create-require": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
+ "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ=="
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
+ "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/cross-spawn/node_modules/which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/css-declaration-sorter": {
+ "version": "6.4.1",
+ "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-6.4.1.tgz",
+ "integrity": "sha512-rtdthzxKuyq6IzqX6jEcIzQF/YqccluefyCYheovBOLhFT/drQA9zj/UbRAa9J7C0o6EG6u3E6g+vKkay7/k3g==",
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ },
+ "peerDependencies": {
+ "postcss": "^8.0.9"
+ }
+ },
+ "node_modules/css-select": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz",
+ "integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==",
+ "dependencies": {
+ "boolbase": "^1.0.0",
+ "css-what": "^6.1.0",
+ "domhandler": "^5.0.2",
+ "domutils": "^3.0.1",
+ "nth-check": "^2.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/fb55"
+ }
+ },
+ "node_modules/css-tree": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz",
+ "integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==",
+ "dependencies": {
+ "mdn-data": "2.0.30",
+ "source-map-js": "^1.0.1"
+ },
+ "engines": {
+ "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0"
+ }
+ },
+ "node_modules/css-what": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz",
+ "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==",
+ "engines": {
+ "node": ">= 6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/fb55"
+ }
+ },
+ "node_modules/cssesc": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
+ "bin": {
+ "cssesc": "bin/cssesc"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/cssnano": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-6.0.1.tgz",
+ "integrity": "sha512-fVO1JdJ0LSdIGJq68eIxOqFpIJrZqXUsBt8fkrBcztCQqAjQD51OhZp7tc0ImcbwXD4k7ny84QTV90nZhmqbkg==",
+ "dependencies": {
+ "cssnano-preset-default": "^6.0.1",
+ "lilconfig": "^2.1.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/cssnano"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/cssnano-preset-default": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-6.0.1.tgz",
+ "integrity": "sha512-7VzyFZ5zEB1+l1nToKyrRkuaJIx0zi/1npjvZfbBwbtNTzhLtlvYraK/7/uqmX2Wb2aQtd983uuGw79jAjLSuQ==",
+ "dependencies": {
+ "css-declaration-sorter": "^6.3.1",
+ "cssnano-utils": "^4.0.0",
+ "postcss-calc": "^9.0.0",
+ "postcss-colormin": "^6.0.0",
+ "postcss-convert-values": "^6.0.0",
+ "postcss-discard-comments": "^6.0.0",
+ "postcss-discard-duplicates": "^6.0.0",
+ "postcss-discard-empty": "^6.0.0",
+ "postcss-discard-overridden": "^6.0.0",
+ "postcss-merge-longhand": "^6.0.0",
+ "postcss-merge-rules": "^6.0.1",
+ "postcss-minify-font-values": "^6.0.0",
+ "postcss-minify-gradients": "^6.0.0",
+ "postcss-minify-params": "^6.0.0",
+ "postcss-minify-selectors": "^6.0.0",
+ "postcss-normalize-charset": "^6.0.0",
+ "postcss-normalize-display-values": "^6.0.0",
+ "postcss-normalize-positions": "^6.0.0",
+ "postcss-normalize-repeat-style": "^6.0.0",
+ "postcss-normalize-string": "^6.0.0",
+ "postcss-normalize-timing-functions": "^6.0.0",
+ "postcss-normalize-unicode": "^6.0.0",
+ "postcss-normalize-url": "^6.0.0",
+ "postcss-normalize-whitespace": "^6.0.0",
+ "postcss-ordered-values": "^6.0.0",
+ "postcss-reduce-initial": "^6.0.0",
+ "postcss-reduce-transforms": "^6.0.0",
+ "postcss-svgo": "^6.0.0",
+ "postcss-unique-selectors": "^6.0.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/cssnano-utils": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/cssnano-utils/-/cssnano-utils-4.0.0.tgz",
+ "integrity": "sha512-Z39TLP+1E0KUcd7LGyF4qMfu8ZufI0rDzhdyAMsa/8UyNUU8wpS0fhdBxbQbv32r64ea00h4878gommRVg2BHw==",
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/csso": {
+ "version": "5.0.5",
+ "resolved": "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz",
+ "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==",
+ "dependencies": {
+ "css-tree": "~2.2.0"
+ },
+ "engines": {
+ "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",
+ "npm": ">=7.0.0"
+ }
+ },
+ "node_modules/csso/node_modules/css-tree": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz",
+ "integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==",
+ "dependencies": {
+ "mdn-data": "2.0.28",
+ "source-map-js": "^1.0.1"
+ },
+ "engines": {
+ "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",
+ "npm": ">=7.0.0"
+ }
+ },
+ "node_modules/csso/node_modules/mdn-data": {
+ "version": "2.0.28",
+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz",
+ "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g=="
+ },
+ "node_modules/csstype": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="
+ },
+ "node_modules/date-fns": {
+ "version": "2.30.0",
+ "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz",
+ "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==",
+ "dependencies": {
+ "@babel/runtime": "^7.21.0"
+ },
+ "engines": {
+ "node": ">=0.11"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/date-fns"
+ }
+ },
+ "node_modules/debounce": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/debounce/-/debounce-1.2.1.tgz",
+ "integrity": "sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug=="
+ },
+ "node_modules/debug": {
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
+ "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/decamelize": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
+ "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/decode-uri-component": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.4.1.tgz",
+ "integrity": "sha512-+8VxcR21HhTy8nOt6jf20w0c9CADrw1O8d+VZ/YzzCt4bJ3uBjw+D1q2osAB8RnpwwaeYBxy0HyKQxD5JBMuuQ==",
+ "engines": {
+ "node": ">=14.16"
+ }
+ },
+ "node_modules/deep-equal": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.2.tgz",
+ "integrity": "sha512-5tdhKF6DbU7iIzrIOa1AOUt39ZRm13cmL1cGEh//aqR8x9+tNfbywRf0n5FD/18OKMdo7DNEtrX2t22ZAkI+eg==",
+ "dependencies": {
+ "is-arguments": "^1.1.1",
+ "is-date-object": "^1.0.5",
+ "is-regex": "^1.1.4",
+ "object-is": "^1.1.5",
+ "object-keys": "^1.1.1",
+ "regexp.prototype.flags": "^1.5.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/deepmerge": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
+ "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/default-browser": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-4.0.0.tgz",
+ "integrity": "sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==",
+ "dependencies": {
+ "bundle-name": "^3.0.0",
+ "default-browser-id": "^3.0.0",
+ "execa": "^7.1.1",
+ "titleize": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/default-browser-id": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-3.0.0.tgz",
+ "integrity": "sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==",
+ "dependencies": {
+ "bplist-parser": "^0.2.0",
+ "untildify": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/define-data-property": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz",
+ "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==",
+ "dependencies": {
+ "get-intrinsic": "^1.2.1",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/define-lazy-prop": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz",
+ "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/define-properties": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
+ "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
+ "dependencies": {
+ "define-data-property": "^1.0.1",
+ "has-property-descriptors": "^1.0.0",
+ "object-keys": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/defu": {
+ "version": "6.1.3",
+ "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.3.tgz",
+ "integrity": "sha512-Vy2wmG3NTkmHNg/kzpuvHhkqeIx3ODWqasgCRbKtbXEN0G+HpEEv9BtJLp7ZG1CZloFaC41Ah3ZFbq7aqCqMeQ=="
+ },
+ "node_modules/delegates": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
+ "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ=="
+ },
+ "node_modules/denque": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz",
+ "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==",
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/depd": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
+ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/destr": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/destr/-/destr-2.0.2.tgz",
+ "integrity": "sha512-65AlobnZMiCET00KaFFjUefxDX0khFA/E4myqZ7a6Sq1yZtR8+FVIvilVX66vF2uobSumxooYZChiRPCKNqhmg=="
+ },
+ "node_modules/destroy": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
+ "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
+ "engines": {
+ "node": ">= 0.8",
+ "npm": "1.2.8000 || >= 1.4.16"
+ }
+ },
+ "node_modules/detect-libc": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.2.tgz",
+ "integrity": "sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/devalue": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/devalue/-/devalue-4.3.2.tgz",
+ "integrity": "sha512-KqFl6pOgOW+Y6wJgu80rHpo2/3H07vr8ntR9rkkFIRETewbf5GaYYcakYfiKz89K+sLsuPkQIZaXDMjUObZwWg=="
+ },
+ "node_modules/didyoumean": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
+ "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",
+ "dev": true
+ },
+ "node_modules/diff": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz",
+ "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==",
+ "engines": {
+ "node": ">=0.3.1"
+ }
+ },
+ "node_modules/diff-match-patch": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/diff-match-patch/-/diff-match-patch-1.0.5.tgz",
+ "integrity": "sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw=="
+ },
+ "node_modules/dijkstrajs": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/dijkstrajs/-/dijkstrajs-1.0.3.tgz",
+ "integrity": "sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA=="
+ },
+ "node_modules/dlv": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
+ "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
+ "dev": true
+ },
+ "node_modules/dom-serializer": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",
+ "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",
+ "dependencies": {
+ "domelementtype": "^2.3.0",
+ "domhandler": "^5.0.2",
+ "entities": "^4.2.0"
+ },
+ "funding": {
+ "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
+ }
+ },
+ "node_modules/domelementtype": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz",
+ "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/fb55"
+ }
+ ]
+ },
+ "node_modules/domhandler": {
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",
+ "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",
+ "dependencies": {
+ "domelementtype": "^2.3.0"
+ },
+ "engines": {
+ "node": ">= 4"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/domhandler?sponsor=1"
+ }
+ },
+ "node_modules/domutils": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz",
+ "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==",
+ "dependencies": {
+ "dom-serializer": "^2.0.0",
+ "domelementtype": "^2.3.0",
+ "domhandler": "^5.0.3"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/domutils?sponsor=1"
+ }
+ },
+ "node_modules/dot-prop": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-8.0.2.tgz",
+ "integrity": "sha512-xaBe6ZT4DHPkg0k4Ytbvn5xoxgpG0jOS1dYxSOwAHPuNLjP3/OzN0gH55SrLqpx8cBfSaVt91lXYkApjb+nYdQ==",
+ "dependencies": {
+ "type-fest": "^3.8.0"
+ },
+ "engines": {
+ "node": ">=16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/dotenv": {
+ "version": "16.3.1",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz",
+ "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/motdotla/dotenv?sponsor=1"
+ }
+ },
+ "node_modules/duplexer": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz",
+ "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg=="
+ },
+ "node_modules/eastasianwidth": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
+ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="
+ },
+ "node_modules/ee-first": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
+ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.4.608",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.608.tgz",
+ "integrity": "sha512-J2f/3iIIm3Mo0npneITZ2UPe4B1bg8fTNrFjD8715F/k1BvbviRuqYGkET1PgprrczXYTHFvotbBOmUp6KE0uA=="
+ },
+ "node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
+ },
+ "node_modules/encode-utf8": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/encode-utf8/-/encode-utf8-1.0.3.tgz",
+ "integrity": "sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw=="
+ },
+ "node_modules/encodeurl": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
+ "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/encoding": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",
+ "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",
+ "optional": true,
+ "dependencies": {
+ "iconv-lite": "^0.6.2"
+ }
+ },
+ "node_modules/enhanced-resolve": {
+ "version": "5.15.0",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz",
+ "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==",
+ "dependencies": {
+ "graceful-fs": "^4.2.4",
+ "tapable": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/entities": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
+ "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
+ "engines": {
+ "node": ">=0.12"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
+ }
+ },
+ "node_modules/env-paths": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
+ "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/err-code": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz",
+ "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA=="
+ },
+ "node_modules/error-stack-parser-es": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/error-stack-parser-es/-/error-stack-parser-es-0.1.1.tgz",
+ "integrity": "sha512-g/9rfnvnagiNf+DRMHEVGuGuIBlCIMDFoTA616HaP2l9PlCjGjVhD98PNbVSJvmK4TttqT5mV5tInMhoFgi+aA==",
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/esbuild": {
+ "version": "0.19.8",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.8.tgz",
+ "integrity": "sha512-l7iffQpT2OrZfH2rXIp7/FkmaeZM0vxbxN9KfiCwGYuZqzMg/JdvX26R31Zxn/Pxvsrg3Y9N6XTcnknqDyyv4w==",
+ "hasInstallScript": true,
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "optionalDependencies": {
+ "@esbuild/android-arm": "0.19.8",
+ "@esbuild/android-arm64": "0.19.8",
+ "@esbuild/android-x64": "0.19.8",
+ "@esbuild/darwin-arm64": "0.19.8",
+ "@esbuild/darwin-x64": "0.19.8",
+ "@esbuild/freebsd-arm64": "0.19.8",
+ "@esbuild/freebsd-x64": "0.19.8",
+ "@esbuild/linux-arm": "0.19.8",
+ "@esbuild/linux-arm64": "0.19.8",
+ "@esbuild/linux-ia32": "0.19.8",
+ "@esbuild/linux-loong64": "0.19.8",
+ "@esbuild/linux-mips64el": "0.19.8",
+ "@esbuild/linux-ppc64": "0.19.8",
+ "@esbuild/linux-riscv64": "0.19.8",
+ "@esbuild/linux-s390x": "0.19.8",
+ "@esbuild/linux-x64": "0.19.8",
+ "@esbuild/netbsd-x64": "0.19.8",
+ "@esbuild/openbsd-x64": "0.19.8",
+ "@esbuild/sunos-x64": "0.19.8",
+ "@esbuild/win32-arm64": "0.19.8",
+ "@esbuild/win32-ia32": "0.19.8",
+ "@esbuild/win32-x64": "0.19.8"
+ }
+ },
+ "node_modules/escalade": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/escape-html": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
+ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
+ "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/estree-walker": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
+ "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
+ "dependencies": {
+ "@types/estree": "^1.0.0"
+ }
+ },
+ "node_modules/etag": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
+ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/eventemitter3": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-2.0.3.tgz",
+ "integrity": "sha512-jLN68Dx5kyFHaePoXWPsCGW5qdyZQtLYHkxkg02/Mz6g0kYpDx4FyP6XfArhQdlOC4b8Mv+EMxPo/8La7Tzghg=="
+ },
+ "node_modules/execa": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-7.2.0.tgz",
+ "integrity": "sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==",
+ "dependencies": {
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^6.0.1",
+ "human-signals": "^4.3.0",
+ "is-stream": "^3.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^5.1.0",
+ "onetime": "^6.0.0",
+ "signal-exit": "^3.0.7",
+ "strip-final-newline": "^3.0.0"
+ },
+ "engines": {
+ "node": "^14.18.0 || ^16.14.0 || >=18.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ }
+ },
+ "node_modules/exponential-backoff": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz",
+ "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw=="
+ },
+ "node_modules/extend": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
+ },
+ "node_modules/externality": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/externality/-/externality-1.0.2.tgz",
+ "integrity": "sha512-LyExtJWKxtgVzmgtEHyQtLFpw1KFhQphF9nTG8TpAIVkiI/xQ3FJh75tRFLYl4hkn7BNIIdLJInuDAavX35pMw==",
+ "dependencies": {
+ "enhanced-resolve": "^5.14.1",
+ "mlly": "^1.3.0",
+ "pathe": "^1.1.1",
+ "ufo": "^1.1.2"
+ }
+ },
+ "node_modules/fast-diff": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.2.tgz",
+ "integrity": "sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig=="
+ },
+ "node_modules/fast-fifo": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz",
+ "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ=="
+ },
+ "node_modules/fast-glob": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
+ "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
+ "dependencies": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.2",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=8.6.0"
+ }
+ },
+ "node_modules/fastq": {
+ "version": "1.15.0",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz",
+ "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==",
+ "dependencies": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "node_modules/file-uri-to-path": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
+ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw=="
+ },
+ "node_modules/fill-range": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/filter-obj": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-5.1.0.tgz",
+ "integrity": "sha512-qWeTREPoT7I0bifpPUXtxkZJ1XJzxWtfoWWkdVGqa+eCr3SHW/Ocp89o8vLvbUuQnadybJpjOKu4V+RwO6sGng==",
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/find-up": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "dependencies": {
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/flat": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz",
+ "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==",
+ "bin": {
+ "flat": "cli.js"
+ }
+ },
+ "node_modules/flatted": {
+ "version": "3.2.9",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz",
+ "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ=="
+ },
+ "node_modules/follow-redirects": {
+ "version": "1.15.3",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz",
+ "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/RubenVerborgh"
+ }
+ ],
+ "engines": {
+ "node": ">=4.0"
+ },
+ "peerDependenciesMeta": {
+ "debug": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/foreground-child": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz",
+ "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==",
+ "dependencies": {
+ "cross-spawn": "^7.0.0",
+ "signal-exit": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/foreground-child/node_modules/signal-exit": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
+ "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/fraction.js": {
+ "version": "4.3.7",
+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz",
+ "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==",
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "type": "patreon",
+ "url": "https://github.com/sponsors/rawify"
+ }
+ },
+ "node_modules/framesync": {
+ "version": "6.1.2",
+ "resolved": "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz",
+ "integrity": "sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g==",
+ "dependencies": {
+ "tslib": "2.4.0"
+ }
+ },
+ "node_modules/framesync/node_modules/tslib": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz",
+ "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ=="
+ },
+ "node_modules/fresh": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
+ "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/fs-extra": {
+ "version": "11.2.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz",
+ "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==",
+ "dependencies": {
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=14.14"
+ }
+ },
+ "node_modules/fs-minipass": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz",
+ "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==",
+ "dependencies": {
+ "minipass": "^7.0.3"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "hasInstallScript": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/functions-have-names": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
+ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/fuse.js": {
+ "version": "6.6.2",
+ "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-6.6.2.tgz",
+ "integrity": "sha512-cJaJkxCCxC8qIIcPBF9yGxY0W/tVZS3uEISDxhYIdtk8OL93pe+6Zj7LjCqVV4dzbqcriOZ+kQ/NE4RXZHsIGA==",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/gauge": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz",
+ "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==",
+ "dependencies": {
+ "aproba": "^1.0.3 || ^2.0.0",
+ "color-support": "^1.1.2",
+ "console-control-strings": "^1.0.0",
+ "has-unicode": "^2.0.1",
+ "object-assign": "^4.1.1",
+ "signal-exit": "^3.0.0",
+ "string-width": "^4.2.3",
+ "strip-ansi": "^6.0.1",
+ "wide-align": "^1.1.2"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
+ "engines": {
+ "node": "6.* || 8.* || >= 10.*"
+ }
+ },
+ "node_modules/get-intrinsic": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz",
+ "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==",
+ "dependencies": {
+ "function-bind": "^1.1.2",
+ "has-proto": "^1.0.1",
+ "has-symbols": "^1.0.3",
+ "hasown": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-port-please": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/get-port-please/-/get-port-please-3.1.1.tgz",
+ "integrity": "sha512-3UBAyM3u4ZBVYDsxOQfJDxEa6XTbpBDrOjp4mf7ExFRt5BKs/QywQQiJsh2B+hxcZLSapWqCRvElUe8DnKcFHA=="
+ },
+ "node_modules/get-stream": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
+ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/giget": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/giget/-/giget-1.1.3.tgz",
+ "integrity": "sha512-zHuCeqtfgqgDwvXlR84UNgnJDuUHQcNI5OqWqFxxuk2BshuKbYhJWdxBsEo4PvKqoGh23lUAIvBNpChMLv7/9Q==",
+ "dependencies": {
+ "colorette": "^2.0.20",
+ "defu": "^6.1.2",
+ "https-proxy-agent": "^7.0.2",
+ "mri": "^1.2.0",
+ "node-fetch-native": "^1.4.0",
+ "pathe": "^1.1.1",
+ "tar": "^6.2.0"
+ },
+ "bin": {
+ "giget": "dist/cli.mjs"
+ }
+ },
+ "node_modules/git-config-path": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/git-config-path/-/git-config-path-2.0.0.tgz",
+ "integrity": "sha512-qc8h1KIQbJpp+241id3GuAtkdyJ+IK+LIVtkiFTRKRrmddDzs3SI9CvP1QYmWBFvm1I/PWRwj//of8bgAc0ltA==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/git-up": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/git-up/-/git-up-7.0.0.tgz",
+ "integrity": "sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ==",
+ "dependencies": {
+ "is-ssh": "^1.4.0",
+ "parse-url": "^8.1.0"
+ }
+ },
+ "node_modules/git-url-parse": {
+ "version": "13.1.1",
+ "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-13.1.1.tgz",
+ "integrity": "sha512-PCFJyeSSdtnbfhSNRw9Wk96dDCNx+sogTe4YNXeXSJxt7xz5hvXekuRn9JX7m+Mf4OscCu8h+mtAl3+h5Fo8lQ==",
+ "dependencies": {
+ "git-up": "^7.0.0"
+ }
+ },
+ "node_modules/glob": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",
+ "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^5.0.1",
+ "once": "^1.3.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/global-directory": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/global-directory/-/global-directory-4.0.1.tgz",
+ "integrity": "sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==",
+ "dependencies": {
+ "ini": "4.1.1"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/globals": {
+ "version": "11.12.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/globby": {
+ "version": "14.0.0",
+ "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.0.tgz",
+ "integrity": "sha512-/1WM/LNHRAOH9lZta77uGbq0dAEQM+XjNesWwhlERDVenqothRbnzTrL3/LrIoEPPjeUHC3vrS6TwoyxeHs7MQ==",
+ "dependencies": {
+ "@sindresorhus/merge-streams": "^1.0.0",
+ "fast-glob": "^3.3.2",
+ "ignore": "^5.2.4",
+ "path-type": "^5.0.0",
+ "slash": "^5.1.0",
+ "unicorn-magic": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/gopd": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
+ "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
+ "dependencies": {
+ "get-intrinsic": "^1.1.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/graceful-fs": {
+ "version": "4.2.11",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
+ },
+ "node_modules/gzip-size": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-7.0.0.tgz",
+ "integrity": "sha512-O1Ld7Dr+nqPnmGpdhzLmMTQ4vAsD+rHwMm1NLUmoUFFymBOMKxCCrtDxqdBRYXdeEPEi3SyoR4TizJLQrnKBNA==",
+ "dependencies": {
+ "duplexer": "^0.1.2"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/h3": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/h3/-/h3-1.9.0.tgz",
+ "integrity": "sha512-+F3ZqrNV/CFXXfZ2lXBINHi+rM4Xw3CDC5z2CDK3NMPocjonKipGLLDSkrqY9DOrioZNPTIdDMWfQKm//3X2DA==",
+ "dependencies": {
+ "cookie-es": "^1.0.0",
+ "defu": "^6.1.3",
+ "destr": "^2.0.2",
+ "iron-webcrypto": "^1.0.0",
+ "radix3": "^1.1.0",
+ "ufo": "^1.3.2",
+ "uncrypto": "^0.1.3",
+ "unenv": "^1.7.4"
+ }
+ },
+ "node_modules/has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/has-property-descriptors": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz",
+ "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==",
+ "dependencies": {
+ "get-intrinsic": "^1.2.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz",
+ "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-symbols": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
+ "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-tostringtag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
+ "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
+ "dependencies": {
+ "has-symbols": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-unicode": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
+ "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ=="
+ },
+ "node_modules/hash-sum": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-2.0.0.tgz",
+ "integrity": "sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg=="
+ },
+ "node_modules/hasown": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz",
+ "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==",
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/hey-listen": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz",
+ "integrity": "sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q=="
+ },
+ "node_modules/hookable": {
+ "version": "5.5.3",
+ "resolved": "https://registry.npmjs.org/hookable/-/hookable-5.5.3.tgz",
+ "integrity": "sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ=="
+ },
+ "node_modules/hosted-git-info": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz",
+ "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==",
+ "dependencies": {
+ "lru-cache": "^10.0.1"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/hosted-git-info/node_modules/lru-cache": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz",
+ "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==",
+ "engines": {
+ "node": "14 || >=16.14"
+ }
+ },
+ "node_modules/html-tags": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.3.1.tgz",
+ "integrity": "sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/http-cache-semantics": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz",
+ "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ=="
+ },
+ "node_modules/http-errors": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
+ "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
+ "dependencies": {
+ "depd": "2.0.0",
+ "inherits": "2.0.4",
+ "setprototypeof": "1.2.0",
+ "statuses": "2.0.1",
+ "toidentifier": "1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/http-proxy-agent": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz",
+ "integrity": "sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==",
+ "dependencies": {
+ "agent-base": "^7.1.0",
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/http-shutdown": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/http-shutdown/-/http-shutdown-1.2.2.tgz",
+ "integrity": "sha512-S9wWkJ/VSY9/k4qcjG318bqJNruzE4HySUhFYknwmu6LBP97KLLfwNf+n4V1BHurvFNkSKLFnK/RsuUnRTf9Vw==",
+ "engines": {
+ "iojs": ">= 1.0.0",
+ "node": ">= 0.12.0"
+ }
+ },
+ "node_modules/https-proxy-agent": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz",
+ "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==",
+ "dependencies": {
+ "agent-base": "^7.0.2",
+ "debug": "4"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/httpxy": {
+ "version": "0.1.5",
+ "resolved": "https://registry.npmjs.org/httpxy/-/httpxy-0.1.5.tgz",
+ "integrity": "sha512-hqLDO+rfststuyEUTWObQK6zHEEmZ/kaIP2/zclGGZn6X8h/ESTWg+WKecQ/e5k4nPswjzZD+q2VqZIbr15CoQ=="
+ },
+ "node_modules/human-signals": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz",
+ "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==",
+ "engines": {
+ "node": ">=14.18.0"
+ }
+ },
+ "node_modules/iconv-lite": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
+ "optional": true,
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ignore": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz",
+ "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/ignore-walk": {
+ "version": "6.0.4",
+ "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.4.tgz",
+ "integrity": "sha512-t7sv42WkwFkyKbivUCglsQW5YWMskWtbEf4MNKX5u/CCWHKSPzN4FtBQGsQZgCLbxOzpVlcbWVK5KB3auIOjSw==",
+ "dependencies": {
+ "minimatch": "^9.0.0"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/ignore-walk/node_modules/minimatch": {
+ "version": "9.0.3",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
+ "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/image-meta": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/image-meta/-/image-meta-0.2.0.tgz",
+ "integrity": "sha512-ZBGjl0ZMEMeOC3Ns0wUF/5UdUmr3qQhBSCniT0LxOgGGIRHiNFOkMtIHB7EOznRU47V2AxPgiVP+s+0/UCU0Hg=="
+ },
+ "node_modules/immediate": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
+ "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ=="
+ },
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
+ "engines": {
+ "node": ">=0.8.19"
+ }
+ },
+ "node_modules/indent-string": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/inflight": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
+ "dependencies": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
+ },
+ "node_modules/ini": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz",
+ "integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==",
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/ioredis": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.3.2.tgz",
+ "integrity": "sha512-1DKMMzlIHM02eBBVOFQ1+AolGjs6+xEcM4PDL7NqOS6szq7H9jSaEkIUH6/a5Hl241LzW6JLSiAbNvTQjUupUA==",
+ "dependencies": {
+ "@ioredis/commands": "^1.1.1",
+ "cluster-key-slot": "^1.1.0",
+ "debug": "^4.3.4",
+ "denque": "^2.1.0",
+ "lodash.defaults": "^4.2.0",
+ "lodash.isarguments": "^3.1.0",
+ "redis-errors": "^1.2.0",
+ "redis-parser": "^3.0.0",
+ "standard-as-callback": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=12.22.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/ioredis"
+ }
+ },
+ "node_modules/ip": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz",
+ "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ=="
+ },
+ "node_modules/iron-webcrypto": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/iron-webcrypto/-/iron-webcrypto-1.0.0.tgz",
+ "integrity": "sha512-anOK1Mktt8U1Xi7fCM3RELTuYbnFikQY5VtrDj7kPgpejV7d43tWKhzgioO0zpkazLEL/j/iayRqnJhrGfqUsg==",
+ "funding": {
+ "url": "https://github.com/sponsors/brc-dd"
+ }
+ },
+ "node_modules/is-arguments": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",
+ "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "dependencies": {
+ "binary-extensions": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-builtin-module": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz",
+ "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==",
+ "dependencies": {
+ "builtin-modules": "^3.3.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-core-module": {
+ "version": "2.13.1",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
+ "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",
+ "dependencies": {
+ "hasown": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-date-object": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",
+ "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-docker": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
+ "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
+ "bin": {
+ "is-docker": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-inside-container": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz",
+ "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==",
+ "dependencies": {
+ "is-docker": "^3.0.0"
+ },
+ "bin": {
+ "is-inside-container": "cli.js"
+ },
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-inside-container/node_modules/is-docker": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz",
+ "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==",
+ "bin": {
+ "is-docker": "cli.js"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-installed-globally": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-1.0.0.tgz",
+ "integrity": "sha512-K55T22lfpQ63N4KEN57jZUAaAYqYHEe8veb/TycJRk9DdSCLLcovXz/mL6mOnhQaZsQGwPhuFopdQIlqGSEjiQ==",
+ "dependencies": {
+ "global-directory": "^4.0.1",
+ "is-path-inside": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-lambda": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz",
+ "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ=="
+ },
+ "node_modules/is-module": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz",
+ "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g=="
+ },
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/is-path-inside": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-4.0.0.tgz",
+ "integrity": "sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-plain-object": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
+ "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
+ "dependencies": {
+ "isobject": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-primitive": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-3.0.1.tgz",
+ "integrity": "sha512-GljRxhWvlCNRfZyORiH77FwdFwGcMO620o37EOYC0ORWdq+WYNVqW0w2Juzew4M+L81l6/QS3t5gkkihyRqv9w==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ=="
+ },
+ "node_modules/is-reference": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz",
+ "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==",
+ "dependencies": {
+ "@types/estree": "*"
+ }
+ },
+ "node_modules/is-regex": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
+ "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-ssh": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.0.tgz",
+ "integrity": "sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ==",
+ "dependencies": {
+ "protocols": "^2.0.1"
+ }
+ },
+ "node_modules/is-stream": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz",
+ "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==",
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-wsl": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
+ "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
+ "dependencies": {
+ "is-docker": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/isarray": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
+ "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ=="
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
+ },
+ "node_modules/isobject": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
+ "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/jackspeak": {
+ "version": "2.3.6",
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz",
+ "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==",
+ "dependencies": {
+ "@isaacs/cliui": "^8.0.2"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ },
+ "optionalDependencies": {
+ "@pkgjs/parseargs": "^0.11.0"
+ }
+ },
+ "node_modules/jiti": {
+ "version": "1.21.0",
+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz",
+ "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==",
+ "bin": {
+ "jiti": "bin/jiti.js"
+ }
+ },
+ "node_modules/js-cookie": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-2.2.1.tgz",
+ "integrity": "sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ=="
+ },
+ "node_modules/js-sha256": {
+ "version": "0.9.0",
+ "resolved": "https://registry.npmjs.org/js-sha256/-/js-sha256-0.9.0.tgz",
+ "integrity": "sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA=="
+ },
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
+ },
+ "node_modules/js-yaml": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/jsesc": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
+ "bin": {
+ "jsesc": "bin/jsesc"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/json-parse-even-better-errors": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz",
+ "integrity": "sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg==",
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/json5": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
+ "bin": {
+ "json5": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/jsonc-parser": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz",
+ "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w=="
+ },
+ "node_modules/jsonfile": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
+ "dependencies": {
+ "universalify": "^2.0.0"
+ },
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "node_modules/jsonparse": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz",
+ "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==",
+ "engines": [
+ "node >= 0.2.0"
+ ]
+ },
+ "node_modules/katex": {
+ "version": "0.16.9",
+ "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.9.tgz",
+ "integrity": "sha512-fsSYjWS0EEOwvy81j3vRA8TEAhQhKiqO+FQaKWp0m39qwOzHVBgAUBIXWj1pB+O2W3fIpNa6Y9KSKCVbfPhyAQ==",
+ "funding": [
+ "https://opencollective.com/katex",
+ "https://github.com/sponsors/katex"
+ ],
+ "peer": true,
+ "dependencies": {
+ "commander": "^8.3.0"
+ },
+ "bin": {
+ "katex": "cli.js"
+ }
+ },
+ "node_modules/katex/node_modules/commander": {
+ "version": "8.3.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz",
+ "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==",
+ "peer": true,
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/kind-of": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
+ "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/kleur": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
+ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/klona": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.6.tgz",
+ "integrity": "sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/knitwork": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/knitwork/-/knitwork-1.0.0.tgz",
+ "integrity": "sha512-dWl0Dbjm6Xm+kDxhPQJsCBTxrJzuGl0aP9rhr+TG8D3l+GL90N8O8lYUi7dTSAN2uuDqCtNgb6aEuQH5wsiV8Q=="
+ },
+ "node_modules/kolorist": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/kolorist/-/kolorist-1.8.0.tgz",
+ "integrity": "sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ=="
+ },
+ "node_modules/launch-editor": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.6.1.tgz",
+ "integrity": "sha512-eB/uXmFVpY4zezmGp5XtU21kwo7GBbKB+EQ+UZeWtGb9yAM5xt/Evk+lYH3eRNAtId+ej4u7TYPFZ07w4s7rRw==",
+ "dependencies": {
+ "picocolors": "^1.0.0",
+ "shell-quote": "^1.8.1"
+ }
+ },
+ "node_modules/lazystream": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz",
+ "integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==",
+ "dependencies": {
+ "readable-stream": "^2.0.5"
+ },
+ "engines": {
+ "node": ">= 0.6.3"
+ }
+ },
+ "node_modules/lazystream/node_modules/readable-stream": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
+ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
+ "dependencies": {
+ "core-util-is": "~1.0.0",
+ "inherits": "~2.0.3",
+ "isarray": "~1.0.0",
+ "process-nextick-args": "~2.0.0",
+ "safe-buffer": "~5.1.1",
+ "string_decoder": "~1.1.1",
+ "util-deprecate": "~1.0.1"
+ }
+ },
+ "node_modules/lazystream/node_modules/safe-buffer": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
+ },
+ "node_modules/lazystream/node_modules/string_decoder": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
+ "dependencies": {
+ "safe-buffer": "~5.1.0"
+ }
+ },
+ "node_modules/libphonenumber-js": {
+ "version": "1.10.51",
+ "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.51.tgz",
+ "integrity": "sha512-vY2I+rQwrDQzoPds0JeTEpeWzbUJgqoV0O4v31PauHBb/e+1KCXKylHcDnBMgJZ9fH9mErsEbROJY3Z3JtqEmg=="
+ },
+ "node_modules/lie": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz",
+ "integrity": "sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==",
+ "dependencies": {
+ "immediate": "~3.0.5"
+ }
+ },
+ "node_modules/lilconfig": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz",
+ "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "dev": true
+ },
+ "node_modules/listhen": {
+ "version": "1.5.5",
+ "resolved": "https://registry.npmjs.org/listhen/-/listhen-1.5.5.tgz",
+ "integrity": "sha512-LXe8Xlyh3gnxdv4tSjTjscD1vpr/2PRpzq8YIaMJgyKzRG8wdISlWVWnGThJfHnlJ6hmLt2wq1yeeix0TEbuoA==",
+ "dependencies": {
+ "@parcel/watcher": "^2.3.0",
+ "@parcel/watcher-wasm": "2.3.0",
+ "citty": "^0.1.4",
+ "clipboardy": "^3.0.0",
+ "consola": "^3.2.3",
+ "defu": "^6.1.2",
+ "get-port-please": "^3.1.1",
+ "h3": "^1.8.1",
+ "http-shutdown": "^1.2.2",
+ "jiti": "^1.20.0",
+ "mlly": "^1.4.2",
+ "node-forge": "^1.3.1",
+ "pathe": "^1.1.1",
+ "std-env": "^3.4.3",
+ "ufo": "^1.3.0",
+ "untun": "^0.1.2",
+ "uqr": "^0.1.2"
+ },
+ "bin": {
+ "listen": "bin/listhen.mjs",
+ "listhen": "bin/listhen.mjs"
+ }
+ },
+ "node_modules/local-pkg": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-0.5.0.tgz",
+ "integrity": "sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==",
+ "dependencies": {
+ "mlly": "^1.4.2",
+ "pkg-types": "^1.0.3"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/localforage": {
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/localforage/-/localforage-1.10.0.tgz",
+ "integrity": "sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==",
+ "dependencies": {
+ "lie": "3.1.1"
+ }
+ },
+ "node_modules/locate-path": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
+ "dependencies": {
+ "p-locate": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/lodash": {
+ "version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
+ },
+ "node_modules/lodash.debounce": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
+ "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow=="
+ },
+ "node_modules/lodash.defaults": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz",
+ "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ=="
+ },
+ "node_modules/lodash.isarguments": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz",
+ "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg=="
+ },
+ "node_modules/lodash.memoize": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz",
+ "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag=="
+ },
+ "node_modules/lodash.mergewith": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz",
+ "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ=="
+ },
+ "node_modules/lodash.pick": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz",
+ "integrity": "sha512-hXt6Ul/5yWjfklSGvLQl8vM//l3FtyHZeuelpzK6mm99pNvN9yTDruNZPEJZD1oWrqo+izBmB7oUfWgcCX7s4Q=="
+ },
+ "node_modules/lodash.uniq": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz",
+ "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ=="
+ },
+ "node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "dependencies": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.5",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz",
+ "integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.15"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/magic-string-ast": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/magic-string-ast/-/magic-string-ast-0.3.0.tgz",
+ "integrity": "sha512-0shqecEPgdFpnI3AP90epXyxZy9g6CRZ+SZ7BcqFwYmtFEnZ1jpevcV5HoyVnlDS9gCnc1UIg3Rsvp3Ci7r8OA==",
+ "dependencies": {
+ "magic-string": "^0.30.2"
+ },
+ "engines": {
+ "node": ">=16.14.0"
+ }
+ },
+ "node_modules/magicast": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/magicast/-/magicast-0.3.2.tgz",
+ "integrity": "sha512-Fjwkl6a0syt9TFN0JSYpOybxiMCkYNEeOTnOTNRbjphirLakznZXAqrXgj/7GG3D1dvETONNwrBfinvAbpunDg==",
+ "dependencies": {
+ "@babel/parser": "^7.23.3",
+ "@babel/types": "^7.23.3",
+ "source-map-js": "^1.0.2"
+ }
+ },
+ "node_modules/make-dir": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
+ "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",
+ "dependencies": {
+ "semver": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/make-dir/node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/make-fetch-happen": {
+ "version": "13.0.0",
+ "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-13.0.0.tgz",
+ "integrity": "sha512-7ThobcL8brtGo9CavByQrQi+23aIfgYU++wg4B87AIS8Rb2ZBt/MEaDqzA00Xwv/jUjAjYkLHjVolYuTLKda2A==",
+ "dependencies": {
+ "@npmcli/agent": "^2.0.0",
+ "cacache": "^18.0.0",
+ "http-cache-semantics": "^4.1.1",
+ "is-lambda": "^1.0.1",
+ "minipass": "^7.0.2",
+ "minipass-fetch": "^3.0.0",
+ "minipass-flush": "^1.0.5",
+ "minipass-pipeline": "^1.2.4",
+ "negotiator": "^0.6.3",
+ "promise-retry": "^2.0.1",
+ "ssri": "^10.0.0"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/mdn-data": {
+ "version": "2.0.30",
+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz",
+ "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA=="
+ },
+ "node_modules/merge-images": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/merge-images/-/merge-images-1.2.0.tgz",
+ "integrity": "sha512-hEGvgnTdXr08uzGvEArxRsKpy7WmozM73YaSi4s5IYF4LxrhANpqfHaz9CgBZ5+0+s2NsjPnPdStz3aCc0Yulw=="
+ },
+ "node_modules/merge-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="
+ },
+ "node_modules/merge2": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/micromatch": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
+ "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
+ "dependencies": {
+ "braces": "^3.0.2",
+ "picomatch": "^2.3.1"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/mime": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz",
+ "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==",
+ "bin": {
+ "mime": "cli.js"
+ },
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/mimic-fn": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz",
+ "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "5.1.6",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz",
+ "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/minipass": {
+ "version": "7.0.4",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz",
+ "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==",
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/minipass-collect": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-2.0.1.tgz",
+ "integrity": "sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==",
+ "dependencies": {
+ "minipass": "^7.0.3"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/minipass-fetch": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz",
+ "integrity": "sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg==",
+ "dependencies": {
+ "minipass": "^7.0.3",
+ "minipass-sized": "^1.0.3",
+ "minizlib": "^2.1.2"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ },
+ "optionalDependencies": {
+ "encoding": "^0.1.13"
+ }
+ },
+ "node_modules/minipass-flush": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz",
+ "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==",
+ "dependencies": {
+ "minipass": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/minipass-flush/node_modules/minipass": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minipass-flush/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
+ },
+ "node_modules/minipass-json-stream": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz",
+ "integrity": "sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==",
+ "dependencies": {
+ "jsonparse": "^1.3.1",
+ "minipass": "^3.0.0"
+ }
+ },
+ "node_modules/minipass-json-stream/node_modules/minipass": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minipass-json-stream/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
+ },
+ "node_modules/minipass-pipeline": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz",
+ "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==",
+ "dependencies": {
+ "minipass": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minipass-pipeline/node_modules/minipass": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minipass-pipeline/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
+ },
+ "node_modules/minipass-sized": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz",
+ "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==",
+ "dependencies": {
+ "minipass": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minipass-sized/node_modules/minipass": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minipass-sized/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
+ },
+ "node_modules/minizlib": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz",
+ "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",
+ "dependencies": {
+ "minipass": "^3.0.0",
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/minizlib/node_modules/minipass": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/minizlib/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
+ },
+ "node_modules/mitt": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz",
+ "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw=="
+ },
+ "node_modules/mkdirp": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
+ "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
+ "bin": {
+ "mkdirp": "bin/cmd.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/mlly": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.4.2.tgz",
+ "integrity": "sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==",
+ "dependencies": {
+ "acorn": "^8.10.0",
+ "pathe": "^1.1.1",
+ "pkg-types": "^1.0.3",
+ "ufo": "^1.3.0"
+ }
+ },
+ "node_modules/mri": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz",
+ "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/mrmime": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-1.0.1.tgz",
+ "integrity": "sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
+ },
+ "node_modules/mz": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
+ "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
+ "dev": true,
+ "dependencies": {
+ "any-promise": "^1.0.0",
+ "object-assign": "^4.0.1",
+ "thenify-all": "^1.0.0"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz",
+ "integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "bin": {
+ "nanoid": "bin/nanoid.js"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18"
+ }
+ },
+ "node_modules/negotiator": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
+ "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/nitropack": {
+ "version": "2.8.1",
+ "resolved": "https://registry.npmjs.org/nitropack/-/nitropack-2.8.1.tgz",
+ "integrity": "sha512-pODv2kEEzZSDQR+1UMXbGyNgMedUDq/qUomtiAnQKQvLy52VGlecXO1xDfH3i0kP1yKEcKTnWsx1TAF5gHM7xQ==",
+ "dependencies": {
+ "@cloudflare/kv-asset-handler": "^0.3.0",
+ "@netlify/functions": "^2.4.0",
+ "@rollup/plugin-alias": "^5.1.0",
+ "@rollup/plugin-commonjs": "^25.0.7",
+ "@rollup/plugin-inject": "^5.0.5",
+ "@rollup/plugin-json": "^6.0.1",
+ "@rollup/plugin-node-resolve": "^15.2.3",
+ "@rollup/plugin-replace": "^5.0.5",
+ "@rollup/plugin-terser": "^0.4.4",
+ "@rollup/plugin-wasm": "^6.2.2",
+ "@rollup/pluginutils": "^5.0.5",
+ "@types/http-proxy": "^1.17.14",
+ "@vercel/nft": "^0.24.3",
+ "archiver": "^6.0.1",
+ "c12": "^1.5.1",
+ "chalk": "^5.3.0",
+ "chokidar": "^3.5.3",
+ "citty": "^0.1.5",
+ "consola": "^3.2.3",
+ "cookie-es": "^1.0.0",
+ "defu": "^6.1.3",
+ "destr": "^2.0.2",
+ "dot-prop": "^8.0.2",
+ "esbuild": "^0.19.8",
+ "escape-string-regexp": "^5.0.0",
+ "estree-walker": "^3.0.3",
+ "etag": "^1.8.1",
+ "fs-extra": "^11.2.0",
+ "globby": "^14.0.0",
+ "gzip-size": "^7.0.0",
+ "h3": "^1.9.0",
+ "hookable": "^5.5.3",
+ "httpxy": "^0.1.5",
+ "is-primitive": "^3.0.1",
+ "jiti": "^1.21.0",
+ "klona": "^2.0.6",
+ "knitwork": "^1.0.0",
+ "listhen": "^1.5.5",
+ "magic-string": "^0.30.5",
+ "mime": "^3.0.0",
+ "mlly": "^1.4.2",
+ "mri": "^1.2.0",
+ "node-fetch-native": "^1.4.1",
+ "ofetch": "^1.3.3",
+ "ohash": "^1.1.3",
+ "openapi-typescript": "^6.7.1",
+ "pathe": "^1.1.1",
+ "perfect-debounce": "^1.0.0",
+ "pkg-types": "^1.0.3",
+ "pretty-bytes": "^6.1.1",
+ "radix3": "^1.1.0",
+ "rollup": "^4.6.0",
+ "rollup-plugin-visualizer": "^5.9.3",
+ "scule": "^1.1.0",
+ "semver": "^7.5.4",
+ "serve-placeholder": "^2.0.1",
+ "serve-static": "^1.15.0",
+ "std-env": "^3.5.0",
+ "ufo": "^1.3.2",
+ "uncrypto": "^0.1.3",
+ "unctx": "^2.3.1",
+ "unenv": "^1.8.0",
+ "unimport": "^3.6.0",
+ "unstorage": "^1.10.1"
+ },
+ "bin": {
+ "nitro": "dist/cli/index.mjs",
+ "nitropack": "dist/cli/index.mjs"
+ },
+ "engines": {
+ "node": "^16.11.0 || >=17.0.0"
+ },
+ "peerDependencies": {
+ "xml2js": "^0.6.2"
+ },
+ "peerDependenciesMeta": {
+ "xml2js": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/node-addon-api": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.0.0.tgz",
+ "integrity": "sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA=="
+ },
+ "node_modules/node-fetch": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
+ "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",
+ "dependencies": {
+ "whatwg-url": "^5.0.0"
+ },
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ },
+ "peerDependencies": {
+ "encoding": "^0.1.0"
+ },
+ "peerDependenciesMeta": {
+ "encoding": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/node-fetch-native": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/node-fetch-native/-/node-fetch-native-1.4.1.tgz",
+ "integrity": "sha512-NsXBU0UgBxo2rQLOeWNZqS3fvflWePMECr8CoSWoSTqCqGbVVsvl9vZu1HfQicYN0g5piV9Gh8RTEvo/uP752w=="
+ },
+ "node_modules/node-forge": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz",
+ "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==",
+ "engines": {
+ "node": ">= 6.13.0"
+ }
+ },
+ "node_modules/node-gyp": {
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-10.0.1.tgz",
+ "integrity": "sha512-gg3/bHehQfZivQVfqIyy8wTdSymF9yTyP4CJifK73imyNMU8AIGQE2pUa7dNWfmMeG9cDVF2eehiRMv0LC1iAg==",
+ "dependencies": {
+ "env-paths": "^2.2.0",
+ "exponential-backoff": "^3.1.1",
+ "glob": "^10.3.10",
+ "graceful-fs": "^4.2.6",
+ "make-fetch-happen": "^13.0.0",
+ "nopt": "^7.0.0",
+ "proc-log": "^3.0.0",
+ "semver": "^7.3.5",
+ "tar": "^6.1.2",
+ "which": "^4.0.0"
+ },
+ "bin": {
+ "node-gyp": "bin/node-gyp.js"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/node-gyp-build": {
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.7.1.tgz",
+ "integrity": "sha512-wTSrZ+8lsRRa3I3H8Xr65dLWSgCvY2l4AOnaeKdPA9TB/WYMPaTcrzf3rXvFoVvjKNVnu0CcWSx54qq9GKRUYg==",
+ "bin": {
+ "node-gyp-build": "bin.js",
+ "node-gyp-build-optional": "optional.js",
+ "node-gyp-build-test": "build-test.js"
+ }
+ },
+ "node_modules/node-gyp/node_modules/abbrev": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz",
+ "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==",
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/node-gyp/node_modules/glob": {
+ "version": "10.3.10",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz",
+ "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==",
+ "dependencies": {
+ "foreground-child": "^3.1.0",
+ "jackspeak": "^2.3.5",
+ "minimatch": "^9.0.1",
+ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0",
+ "path-scurry": "^1.10.1"
+ },
+ "bin": {
+ "glob": "dist/esm/bin.mjs"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/node-gyp/node_modules/isexe": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz",
+ "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==",
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/node-gyp/node_modules/minimatch": {
+ "version": "9.0.3",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
+ "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/node-gyp/node_modules/nopt": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.0.tgz",
+ "integrity": "sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA==",
+ "dependencies": {
+ "abbrev": "^2.0.0"
+ },
+ "bin": {
+ "nopt": "bin/nopt.js"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/node-gyp/node_modules/which": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz",
+ "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==",
+ "dependencies": {
+ "isexe": "^3.1.1"
+ },
+ "bin": {
+ "node-which": "bin/which.js"
+ },
+ "engines": {
+ "node": "^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/node-releases": {
+ "version": "2.0.14",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz",
+ "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw=="
+ },
+ "node_modules/nopt": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz",
+ "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==",
+ "dependencies": {
+ "abbrev": "1"
+ },
+ "bin": {
+ "nopt": "bin/nopt.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/normalize-package-data": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz",
+ "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==",
+ "dependencies": {
+ "hosted-git-info": "^7.0.0",
+ "is-core-module": "^2.8.1",
+ "semver": "^7.3.5",
+ "validate-npm-package-license": "^3.0.4"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/normalize-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/normalize-range": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz",
+ "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/npm-bundled": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-3.0.0.tgz",
+ "integrity": "sha512-Vq0eyEQy+elFpzsKjMss9kxqb9tG3YHg4dsyWuUENuzvSUWe1TCnW/vV9FkhvBk/brEDoDiVd+M1Btosa6ImdQ==",
+ "dependencies": {
+ "npm-normalize-package-bin": "^3.0.0"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/npm-install-checks": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz",
+ "integrity": "sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==",
+ "dependencies": {
+ "semver": "^7.1.1"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/npm-normalize-package-bin": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz",
+ "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==",
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/npm-package-arg": {
+ "version": "11.0.1",
+ "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.1.tgz",
+ "integrity": "sha512-M7s1BD4NxdAvBKUPqqRW957Xwcl/4Zvo8Aj+ANrzvIPzGJZElrH7Z//rSaec2ORcND6FHHLnZeY8qgTpXDMFQQ==",
+ "dependencies": {
+ "hosted-git-info": "^7.0.0",
+ "proc-log": "^3.0.0",
+ "semver": "^7.3.5",
+ "validate-npm-package-name": "^5.0.0"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/npm-packlist": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-8.0.1.tgz",
+ "integrity": "sha512-MQpL27ZrsJQ2kiAuQPpZb5LtJwydNRnI15QWXsf3WHERu4rzjRj6Zju/My2fov7tLuu3Gle/uoIX/DDZ3u4O4Q==",
+ "dependencies": {
+ "ignore-walk": "^6.0.4"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/npm-pick-manifest": {
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-9.0.0.tgz",
+ "integrity": "sha512-VfvRSs/b6n9ol4Qb+bDwNGUXutpy76x6MARw/XssevE0TnctIKcmklJZM5Z7nqs5z5aW+0S63pgCNbpkUNNXBg==",
+ "dependencies": {
+ "npm-install-checks": "^6.0.0",
+ "npm-normalize-package-bin": "^3.0.0",
+ "npm-package-arg": "^11.0.0",
+ "semver": "^7.3.5"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/npm-registry-fetch": {
+ "version": "16.1.0",
+ "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-16.1.0.tgz",
+ "integrity": "sha512-PQCELXKt8Azvxnt5Y85GseQDJJlglTFM9L9U9gkv2y4e9s0k3GVDdOx3YoB6gm2Do0hlkzC39iCGXby+Wve1Bw==",
+ "dependencies": {
+ "make-fetch-happen": "^13.0.0",
+ "minipass": "^7.0.2",
+ "minipass-fetch": "^3.0.0",
+ "minipass-json-stream": "^1.0.1",
+ "minizlib": "^2.1.2",
+ "npm-package-arg": "^11.0.0",
+ "proc-log": "^3.0.0"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/npm-run-path": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz",
+ "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==",
+ "dependencies": {
+ "path-key": "^4.0.0"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/npm-run-path/node_modules/path-key": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz",
+ "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/npmlog": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz",
+ "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==",
+ "dependencies": {
+ "are-we-there-yet": "^2.0.0",
+ "console-control-strings": "^1.1.0",
+ "gauge": "^3.0.0",
+ "set-blocking": "^2.0.0"
+ }
+ },
+ "node_modules/nth-check": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz",
+ "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==",
+ "dependencies": {
+ "boolbase": "^1.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/nth-check?sponsor=1"
+ }
+ },
+ "node_modules/nuxi": {
+ "version": "3.10.0",
+ "resolved": "https://registry.npmjs.org/nuxi/-/nuxi-3.10.0.tgz",
+ "integrity": "sha512-veZXw2NuaQ1PrpvHrnQ1dPgkAjv0WqPlvFReg5Iubum0QVGWdJJvGuNsltDQyPcZ7X7mhMXq9SLIpokK4kpvKA==",
+ "bin": {
+ "nuxi": "bin/nuxi.mjs",
+ "nuxi-ng": "bin/nuxi.mjs",
+ "nuxt": "bin/nuxi.mjs",
+ "nuxt-cli": "bin/nuxi.mjs"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.10.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ }
+ },
+ "node_modules/nuxt": {
+ "version": "3.8.2",
+ "resolved": "https://registry.npmjs.org/nuxt/-/nuxt-3.8.2.tgz",
+ "integrity": "sha512-HUAyifmqTs2zcQBGvcby3KNs2pBAk+l7ZbLjD1oCNqQQ+wBuZ1qgLC4Ebu++y4g3o3Y8WAWSvpafbKRLQZziPw==",
+ "dependencies": {
+ "@nuxt/devalue": "^2.0.2",
+ "@nuxt/devtools": "^1.0.3",
+ "@nuxt/kit": "3.8.2",
+ "@nuxt/schema": "3.8.2",
+ "@nuxt/telemetry": "^2.5.2",
+ "@nuxt/ui-templates": "^1.3.1",
+ "@nuxt/vite-builder": "3.8.2",
+ "@unhead/dom": "^1.8.4",
+ "@unhead/ssr": "^1.8.4",
+ "@unhead/vue": "^1.8.4",
+ "@vue/shared": "^3.3.8",
+ "acorn": "8.11.2",
+ "c12": "^1.5.1",
+ "chokidar": "^3.5.3",
+ "cookie-es": "^1.0.0",
+ "defu": "^6.1.3",
+ "destr": "^2.0.2",
+ "devalue": "^4.3.2",
+ "esbuild": "^0.19.6",
+ "escape-string-regexp": "^5.0.0",
+ "estree-walker": "^3.0.3",
+ "fs-extra": "^11.1.1",
+ "globby": "^14.0.0",
+ "h3": "^1.9.0",
+ "hookable": "^5.5.3",
+ "jiti": "^1.21.0",
+ "klona": "^2.0.6",
+ "knitwork": "^1.0.0",
+ "magic-string": "^0.30.5",
+ "mlly": "^1.4.2",
+ "nitropack": "^2.8.0",
+ "nuxi": "^3.10.0",
+ "nypm": "^0.3.3",
+ "ofetch": "^1.3.3",
+ "ohash": "^1.1.3",
+ "pathe": "^1.1.1",
+ "perfect-debounce": "^1.0.0",
+ "pkg-types": "^1.0.3",
+ "radix3": "^1.1.0",
+ "scule": "^1.1.0",
+ "std-env": "^3.5.0",
+ "strip-literal": "^1.3.0",
+ "ufo": "^1.3.2",
+ "ultrahtml": "^1.5.2",
+ "uncrypto": "^0.1.3",
+ "unctx": "^2.3.1",
+ "unenv": "^1.7.4",
+ "unimport": "^3.5.0",
+ "unplugin": "^1.5.1",
+ "unplugin-vue-router": "^0.7.0",
+ "untyped": "^1.4.0",
+ "vue": "^3.3.8",
+ "vue-bundle-renderer": "^2.0.0",
+ "vue-devtools-stub": "^0.1.0",
+ "vue-router": "^4.2.5"
+ },
+ "bin": {
+ "nuxi": "bin/nuxt.mjs",
+ "nuxt": "bin/nuxt.mjs"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.10.0"
+ },
+ "peerDependencies": {
+ "@parcel/watcher": "^2.1.0",
+ "@types/node": "^14.18.0 || >=16.10.0"
+ },
+ "peerDependenciesMeta": {
+ "@parcel/watcher": {
+ "optional": true
+ },
+ "@types/node": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/nypm": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/nypm/-/nypm-0.3.3.tgz",
+ "integrity": "sha512-FHoxtTscAE723e80d2M9cJRb4YVjL82Ra+ZV+YqC6rfNZUWahi+ZhPF+krnR+bdMvibsfHCtgKXnZf5R6kmEPA==",
+ "dependencies": {
+ "citty": "^0.1.4",
+ "execa": "^8.0.1",
+ "pathe": "^1.1.1",
+ "ufo": "^1.3.0"
+ },
+ "bin": {
+ "nypm": "dist/cli.mjs"
+ },
+ "engines": {
+ "node": "^14.16.0 || >=16.10.0"
+ }
+ },
+ "node_modules/nypm/node_modules/execa": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz",
+ "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==",
+ "dependencies": {
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^8.0.1",
+ "human-signals": "^5.0.0",
+ "is-stream": "^3.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^5.1.0",
+ "onetime": "^6.0.0",
+ "signal-exit": "^4.1.0",
+ "strip-final-newline": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=16.17"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ }
+ },
+ "node_modules/nypm/node_modules/get-stream": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz",
+ "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==",
+ "engines": {
+ "node": ">=16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/nypm/node_modules/human-signals": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz",
+ "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==",
+ "engines": {
+ "node": ">=16.17.0"
+ }
+ },
+ "node_modules/nypm/node_modules/signal-exit": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
+ "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-hash": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz",
+ "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==",
+ "dev": true,
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/object-is": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz",
+ "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ofetch": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/ofetch/-/ofetch-1.3.3.tgz",
+ "integrity": "sha512-s1ZCMmQWXy4b5K/TW9i/DtiN8Ku+xCiHcjQ6/J/nDdssirrQNOoB165Zu8EqLMA2lln1JUth9a0aW9Ap2ctrUg==",
+ "dependencies": {
+ "destr": "^2.0.1",
+ "node-fetch-native": "^1.4.0",
+ "ufo": "^1.3.0"
+ }
+ },
+ "node_modules/ohash": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/ohash/-/ohash-1.1.3.tgz",
+ "integrity": "sha512-zuHHiGTYTA1sYJ/wZN+t5HKZaH23i4yI1HMwbuXm24Nid7Dv0KcuRlKoNKS9UNfAVSBlnGLcuQrnOKWOZoEGaw=="
+ },
+ "node_modules/on-finished": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
+ "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
+ "dependencies": {
+ "ee-first": "1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/onetime": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz",
+ "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==",
+ "dependencies": {
+ "mimic-fn": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/open": {
+ "version": "8.4.2",
+ "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz",
+ "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==",
+ "dependencies": {
+ "define-lazy-prop": "^2.0.0",
+ "is-docker": "^2.1.1",
+ "is-wsl": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/openapi-typescript": {
+ "version": "6.7.2",
+ "resolved": "https://registry.npmjs.org/openapi-typescript/-/openapi-typescript-6.7.2.tgz",
+ "integrity": "sha512-7rsUArlMBqmSaRd6EzPl2nGKzPFNRicsRGrxf6W+/HLEDZoOxghR3B53YlyGjcqak8YDZMBNzZQ3o93Bp3qY9Q==",
+ "dependencies": {
+ "ansi-colors": "^4.1.3",
+ "fast-glob": "^3.3.1",
+ "js-yaml": "^4.1.0",
+ "supports-color": "^9.4.0",
+ "undici": "^5.27.2",
+ "yargs-parser": "^21.1.1"
+ },
+ "bin": {
+ "openapi-typescript": "bin/cli.js"
+ }
+ },
+ "node_modules/p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "dependencies": {
+ "p-try": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "dependencies": {
+ "p-limit": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/p-map": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",
+ "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==",
+ "dependencies": {
+ "aggregate-error": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pacote": {
+ "version": "17.0.5",
+ "resolved": "https://registry.npmjs.org/pacote/-/pacote-17.0.5.tgz",
+ "integrity": "sha512-TAE0m20zSDMnchPja9vtQjri19X3pZIyRpm2TJVeI+yU42leJBBDTRYhOcWFsPhaMxf+3iwQkFiKz16G9AEeeA==",
+ "dependencies": {
+ "@npmcli/git": "^5.0.0",
+ "@npmcli/installed-package-contents": "^2.0.1",
+ "@npmcli/promise-spawn": "^7.0.0",
+ "@npmcli/run-script": "^7.0.0",
+ "cacache": "^18.0.0",
+ "fs-minipass": "^3.0.0",
+ "minipass": "^7.0.2",
+ "npm-package-arg": "^11.0.0",
+ "npm-packlist": "^8.0.0",
+ "npm-pick-manifest": "^9.0.0",
+ "npm-registry-fetch": "^16.0.0",
+ "proc-log": "^3.0.0",
+ "promise-retry": "^2.0.1",
+ "read-package-json": "^7.0.0",
+ "read-package-json-fast": "^3.0.0",
+ "sigstore": "^2.0.0",
+ "ssri": "^10.0.0",
+ "tar": "^6.1.11"
+ },
+ "bin": {
+ "pacote": "lib/bin.js"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/parchment": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/parchment/-/parchment-1.1.4.tgz",
+ "integrity": "sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg=="
+ },
+ "node_modules/parse-git-config": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/parse-git-config/-/parse-git-config-3.0.0.tgz",
+ "integrity": "sha512-wXoQGL1D+2COYWCD35/xbiKma1Z15xvZL8cI25wvxzled58V51SJM04Urt/uznS900iQor7QO04SgdfT/XlbuA==",
+ "dependencies": {
+ "git-config-path": "^2.0.0",
+ "ini": "^1.3.5"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/parse-git-config/node_modules/ini": {
+ "version": "1.3.8",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
+ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
+ },
+ "node_modules/parse-path": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-7.0.0.tgz",
+ "integrity": "sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog==",
+ "dependencies": {
+ "protocols": "^2.0.0"
+ }
+ },
+ "node_modules/parse-url": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-8.1.0.tgz",
+ "integrity": "sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w==",
+ "dependencies": {
+ "parse-path": "^7.0.0"
+ }
+ },
+ "node_modules/parseurl": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-parse": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="
+ },
+ "node_modules/path-scurry": {
+ "version": "1.10.1",
+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz",
+ "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==",
+ "dependencies": {
+ "lru-cache": "^9.1.1 || ^10.0.0",
+ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/path-scurry/node_modules/lru-cache": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz",
+ "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==",
+ "engines": {
+ "node": "14 || >=16.14"
+ }
+ },
+ "node_modules/path-type": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz",
+ "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/pathe": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.1.tgz",
+ "integrity": "sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q=="
+ },
+ "node_modules/perfect-debounce": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-1.0.0.tgz",
+ "integrity": "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA=="
+ },
+ "node_modules/picocolors": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
+ },
+ "node_modules/picomatch": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/pirates": {
+ "version": "4.0.6",
+ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
+ "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==",
+ "dev": true,
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/pkg-types": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.0.3.tgz",
+ "integrity": "sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==",
+ "dependencies": {
+ "jsonc-parser": "^3.2.0",
+ "mlly": "^1.2.0",
+ "pathe": "^1.1.0"
+ }
+ },
+ "node_modules/pngjs": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz",
+ "integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==",
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/popmotion": {
+ "version": "11.0.5",
+ "resolved": "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz",
+ "integrity": "sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA==",
+ "dependencies": {
+ "framesync": "6.1.2",
+ "hey-listen": "^1.0.8",
+ "style-value-types": "5.1.2",
+ "tslib": "2.4.0"
+ }
+ },
+ "node_modules/popmotion/node_modules/tslib": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz",
+ "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ=="
+ },
+ "node_modules/postcss": {
+ "version": "8.4.32",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.32.tgz",
+ "integrity": "sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "dependencies": {
+ "nanoid": "^3.3.7",
+ "picocolors": "^1.0.0",
+ "source-map-js": "^1.0.2"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-calc": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-9.0.1.tgz",
+ "integrity": "sha512-TipgjGyzP5QzEhsOZUaIkeO5mKeMFpebWzRogWG/ysonUlnHcq5aJe0jOjpfzUU8PeSaBQnrE8ehR0QA5vs8PQ==",
+ "dependencies": {
+ "postcss-selector-parser": "^6.0.11",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.2"
+ }
+ },
+ "node_modules/postcss-colormin": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-6.0.0.tgz",
+ "integrity": "sha512-EuO+bAUmutWoZYgHn2T1dG1pPqHU6L4TjzPlu4t1wZGXQ/fxV16xg2EJmYi0z+6r+MGV1yvpx1BHkUaRrPa2bw==",
+ "dependencies": {
+ "browserslist": "^4.21.4",
+ "caniuse-api": "^3.0.0",
+ "colord": "^2.9.1",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-convert-values": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-6.0.0.tgz",
+ "integrity": "sha512-U5D8QhVwqT++ecmy8rnTb+RL9n/B806UVaS3m60lqle4YDFcpbS3ae5bTQIh3wOGUSDHSEtMYLs/38dNG7EYFw==",
+ "dependencies": {
+ "browserslist": "^4.21.4",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-discard-comments": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-6.0.0.tgz",
+ "integrity": "sha512-p2skSGqzPMZkEQvJsgnkBhCn8gI7NzRH2683EEjrIkoMiwRELx68yoUJ3q3DGSGuQ8Ug9Gsn+OuDr46yfO+eFw==",
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-discard-duplicates": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-6.0.0.tgz",
+ "integrity": "sha512-bU1SXIizMLtDW4oSsi5C/xHKbhLlhek/0/yCnoMQany9k3nPBq+Ctsv/9oMmyqbR96HYHxZcHyK2HR5P/mqoGA==",
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-discard-empty": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-6.0.0.tgz",
+ "integrity": "sha512-b+h1S1VT6dNhpcg+LpyiUrdnEZfICF0my7HAKgJixJLW7BnNmpRH34+uw/etf5AhOlIhIAuXApSzzDzMI9K/gQ==",
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-discard-overridden": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-6.0.0.tgz",
+ "integrity": "sha512-4VELwssYXDFigPYAZ8vL4yX4mUepF/oCBeeIT4OXsJPYOtvJumyz9WflmJWTfDwCUcpDR+z0zvCWBXgTx35SVw==",
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-import": {
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz",
+ "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==",
+ "dev": true,
+ "dependencies": {
+ "postcss-value-parser": "^4.0.0",
+ "read-cache": "^1.0.0",
+ "resolve": "^1.1.7"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.0.0"
+ }
+ },
+ "node_modules/postcss-js": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz",
+ "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==",
+ "dev": true,
+ "dependencies": {
+ "camelcase-css": "^2.0.1"
+ },
+ "engines": {
+ "node": "^12 || ^14 || >= 16"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4.21"
+ }
+ },
+ "node_modules/postcss-load-config": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz",
+ "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "dependencies": {
+ "lilconfig": "^3.0.0",
+ "yaml": "^2.3.4"
+ },
+ "engines": {
+ "node": ">= 14"
+ },
+ "peerDependencies": {
+ "postcss": ">=8.0.9",
+ "ts-node": ">=9.0.0"
+ },
+ "peerDependenciesMeta": {
+ "postcss": {
+ "optional": true
+ },
+ "ts-node": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/postcss-load-config/node_modules/lilconfig": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz",
+ "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==",
+ "dev": true,
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "node_modules/postcss-merge-longhand": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-6.0.0.tgz",
+ "integrity": "sha512-4VSfd1lvGkLTLYcxFuISDtWUfFS4zXe0FpF149AyziftPFQIWxjvFSKhA4MIxMe4XM3yTDgQMbSNgzIVxChbIg==",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0",
+ "stylehacks": "^6.0.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-merge-rules": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-6.0.1.tgz",
+ "integrity": "sha512-a4tlmJIQo9SCjcfiCcCMg/ZCEe0XTkl/xK0XHBs955GWg9xDX3NwP9pwZ78QUOWB8/0XCjZeJn98Dae0zg6AAw==",
+ "dependencies": {
+ "browserslist": "^4.21.4",
+ "caniuse-api": "^3.0.0",
+ "cssnano-utils": "^4.0.0",
+ "postcss-selector-parser": "^6.0.5"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-minify-font-values": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-6.0.0.tgz",
+ "integrity": "sha512-zNRAVtyh5E8ndZEYXA4WS8ZYsAp798HiIQ1V2UF/C/munLp2r1UGHwf1+6JFu7hdEhJFN+W1WJQKBrtjhFgEnA==",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-minify-gradients": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-6.0.0.tgz",
+ "integrity": "sha512-wO0F6YfVAR+K1xVxF53ueZJza3L+R3E6cp0VwuXJQejnNUH0DjcAFe3JEBeTY1dLwGa0NlDWueCA1VlEfiKgAA==",
+ "dependencies": {
+ "colord": "^2.9.1",
+ "cssnano-utils": "^4.0.0",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-minify-params": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-6.0.0.tgz",
+ "integrity": "sha512-Fz/wMQDveiS0n5JPcvsMeyNXOIMrwF88n7196puSuQSWSa+/Ofc1gDOSY2xi8+A4PqB5dlYCKk/WfqKqsI+ReQ==",
+ "dependencies": {
+ "browserslist": "^4.21.4",
+ "cssnano-utils": "^4.0.0",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-minify-selectors": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-6.0.0.tgz",
+ "integrity": "sha512-ec/q9JNCOC2CRDNnypipGfOhbYPuUkewGwLnbv6omue/PSASbHSU7s6uSQ0tcFRVv731oMIx8k0SP4ZX6be/0g==",
+ "dependencies": {
+ "postcss-selector-parser": "^6.0.5"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-nested": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz",
+ "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==",
+ "dev": true,
+ "dependencies": {
+ "postcss-selector-parser": "^6.0.11"
+ },
+ "engines": {
+ "node": ">=12.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.14"
+ }
+ },
+ "node_modules/postcss-normalize-charset": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-6.0.0.tgz",
+ "integrity": "sha512-cqundwChbu8yO/gSWkuFDmKrCZ2vJzDAocheT2JTd0sFNA4HMGoKMfbk2B+J0OmO0t5GUkiAkSM5yF2rSLUjgQ==",
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-normalize-display-values": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-6.0.0.tgz",
+ "integrity": "sha512-Qyt5kMrvy7dJRO3OjF7zkotGfuYALETZE+4lk66sziWSPzlBEt7FrUshV6VLECkI4EN8Z863O6Nci4NXQGNzYw==",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-normalize-positions": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-6.0.0.tgz",
+ "integrity": "sha512-mPCzhSV8+30FZyWhxi6UoVRYd3ZBJgTRly4hOkaSifo0H+pjDYcii/aVT4YE6QpOil15a5uiv6ftnY3rm0igPg==",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-normalize-repeat-style": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-6.0.0.tgz",
+ "integrity": "sha512-50W5JWEBiOOAez2AKBh4kRFm2uhrT3O1Uwdxz7k24aKtbD83vqmcVG7zoIwo6xI2FZ/HDlbrCopXhLeTpQib1A==",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-normalize-string": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-6.0.0.tgz",
+ "integrity": "sha512-KWkIB7TrPOiqb8ZZz6homet2KWKJwIlysF5ICPZrXAylGe2hzX/HSf4NTX2rRPJMAtlRsj/yfkrWGavFuB+c0w==",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-normalize-timing-functions": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-6.0.0.tgz",
+ "integrity": "sha512-tpIXWciXBp5CiFs8sem90IWlw76FV4oi6QEWfQwyeREVwUy39VSeSqjAT7X0Qw650yAimYW5gkl2Gd871N5SQg==",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-normalize-unicode": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-6.0.0.tgz",
+ "integrity": "sha512-ui5crYkb5ubEUDugDc786L/Me+DXp2dLg3fVJbqyAl0VPkAeALyAijF2zOsnZyaS1HyfPuMH0DwyY18VMFVNkg==",
+ "dependencies": {
+ "browserslist": "^4.21.4",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-normalize-url": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-6.0.0.tgz",
+ "integrity": "sha512-98mvh2QzIPbb02YDIrYvAg4OUzGH7s1ZgHlD3fIdTHLgPLRpv1ZTKJDnSAKr4Rt21ZQFzwhGMXxpXlfrUBKFHw==",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-normalize-whitespace": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-6.0.0.tgz",
+ "integrity": "sha512-7cfE1AyLiK0+ZBG6FmLziJzqQCpTQY+8XjMhMAz8WSBSCsCNNUKujgIgjCAmDT3cJ+3zjTXFkoD15ZPsckArVw==",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-ordered-values": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-6.0.0.tgz",
+ "integrity": "sha512-K36XzUDpvfG/nWkjs6d1hRBydeIxGpKS2+n+ywlKPzx1nMYDYpoGbcjhj5AwVYJK1qV2/SDoDEnHzlPD6s3nMg==",
+ "dependencies": {
+ "cssnano-utils": "^4.0.0",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-reduce-initial": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-6.0.0.tgz",
+ "integrity": "sha512-s2UOnidpVuXu6JiiI5U+fV2jamAw5YNA9Fdi/GRK0zLDLCfXmSGqQtzpUPtfN66RtCbb9fFHoyZdQaxOB3WxVA==",
+ "dependencies": {
+ "browserslist": "^4.21.4",
+ "caniuse-api": "^3.0.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-reduce-transforms": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-6.0.0.tgz",
+ "integrity": "sha512-FQ9f6xM1homnuy1wLe9lP1wujzxnwt1EwiigtWwuyf8FsqqXUDUp2Ulxf9A5yjlUOTdCJO6lonYjg1mgqIIi2w==",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-selector-parser": {
+ "version": "6.0.13",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz",
+ "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-svgo": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-6.0.0.tgz",
+ "integrity": "sha512-r9zvj/wGAoAIodn84dR/kFqwhINp5YsJkLoujybWG59grR/IHx+uQ2Zo+IcOwM0jskfYX3R0mo+1Kip1VSNcvw==",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0",
+ "svgo": "^3.0.2"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >= 18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-unique-selectors": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-6.0.0.tgz",
+ "integrity": "sha512-EPQzpZNxOxP7777t73RQpZE5e9TrnCrkvp7AH7a0l89JmZiPnS82y216JowHXwpBCQitfyxrof9TK3rYbi7/Yw==",
+ "dependencies": {
+ "postcss-selector-parser": "^6.0.5"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/postcss-value-parser": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
+ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="
+ },
+ "node_modules/postcss/node_modules/nanoid": {
+ "version": "3.3.7",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
+ "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/pretty-bytes": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-6.1.1.tgz",
+ "integrity": "sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==",
+ "engines": {
+ "node": "^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/prismjs": {
+ "version": "1.29.0",
+ "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz",
+ "integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/proc-log": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz",
+ "integrity": "sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==",
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/process-nextick-args": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
+ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
+ },
+ "node_modules/promise-inflight": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz",
+ "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g=="
+ },
+ "node_modules/promise-retry": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz",
+ "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==",
+ "dependencies": {
+ "err-code": "^2.0.2",
+ "retry": "^0.12.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/prompts": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
+ "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",
+ "dependencies": {
+ "kleur": "^3.0.3",
+ "sisteransi": "^1.0.5"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/protocols": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz",
+ "integrity": "sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q=="
+ },
+ "node_modules/qrcode": {
+ "version": "1.5.3",
+ "resolved": "https://registry.npmjs.org/qrcode/-/qrcode-1.5.3.tgz",
+ "integrity": "sha512-puyri6ApkEHYiVl4CFzo1tDkAZ+ATcnbJrJ6RiBM1Fhctdn/ix9MTE3hRph33omisEbC/2fcfemsseiKgBPKZg==",
+ "dependencies": {
+ "dijkstrajs": "^1.0.1",
+ "encode-utf8": "^1.0.3",
+ "pngjs": "^5.0.0",
+ "yargs": "^15.3.1"
+ },
+ "bin": {
+ "qrcode": "bin/qrcode"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/qrcode/node_modules/camelcase": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/qrcode/node_modules/cliui": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
+ "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.0",
+ "wrap-ansi": "^6.2.0"
+ }
+ },
+ "node_modules/qrcode/node_modules/wrap-ansi": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/qrcode/node_modules/y18n": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
+ "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
+ },
+ "node_modules/qrcode/node_modules/yargs": {
+ "version": "15.4.1",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
+ "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
+ "dependencies": {
+ "cliui": "^6.0.0",
+ "decamelize": "^1.2.0",
+ "find-up": "^4.1.0",
+ "get-caller-file": "^2.0.1",
+ "require-directory": "^2.1.1",
+ "require-main-filename": "^2.0.0",
+ "set-blocking": "^2.0.0",
+ "string-width": "^4.2.0",
+ "which-module": "^2.0.0",
+ "y18n": "^4.0.0",
+ "yargs-parser": "^18.1.2"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/qrcode/node_modules/yargs-parser": {
+ "version": "18.1.3",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
+ "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
+ "dependencies": {
+ "camelcase": "^5.0.0",
+ "decamelize": "^1.2.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/query-builder-vue-3": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/query-builder-vue-3/-/query-builder-vue-3-1.0.1.tgz",
+ "integrity": "sha512-fhEWsluNz8vRtrB8w2gjWeSmRkzn1KcOTv9ay6m6w3kX8yTdEUw0ZUv+0P04uhECoXQ+IZRfR4iUD1ffh3M/IQ==",
+ "dependencies": {
+ "mitt": "^3.0.0",
+ "sortablejs": "^1.14.0",
+ "vuedraggable": "^4.1.0"
+ },
+ "peerDependencies": {
+ "vue": "^3.2.20"
+ }
+ },
+ "node_modules/query-string": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/query-string/-/query-string-8.1.0.tgz",
+ "integrity": "sha512-BFQeWxJOZxZGix7y+SByG3F36dA0AbTy9o6pSmKFcFz7DAj0re9Frkty3saBn3nHo3D0oZJ/+rx3r8H8r8Jbpw==",
+ "dependencies": {
+ "decode-uri-component": "^0.4.1",
+ "filter-obj": "^5.1.0",
+ "split-on-first": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/queue-microtask": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
+ },
+ "node_modules/queue-tick": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz",
+ "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag=="
+ },
+ "node_modules/quill": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/quill/-/quill-1.3.7.tgz",
+ "integrity": "sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g==",
+ "dependencies": {
+ "clone": "^2.1.1",
+ "deep-equal": "^1.0.1",
+ "eventemitter3": "^2.0.3",
+ "extend": "^3.0.2",
+ "parchment": "^1.1.4",
+ "quill-delta": "^3.6.2"
+ }
+ },
+ "node_modules/quill-delta": {
+ "version": "3.6.3",
+ "resolved": "https://registry.npmjs.org/quill-delta/-/quill-delta-3.6.3.tgz",
+ "integrity": "sha512-wdIGBlcX13tCHOXGMVnnTVFtGRLoP0imqxM696fIPwIf5ODIYUHIvHbZcyvGlZFiFhK5XzDC2lpjbxRhnM05Tg==",
+ "dependencies": {
+ "deep-equal": "^1.0.1",
+ "extend": "^3.0.2",
+ "fast-diff": "1.1.2"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/radix3": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/radix3/-/radix3-1.1.0.tgz",
+ "integrity": "sha512-pNsHDxbGORSvuSScqNJ+3Km6QAVqk8CfsCBIEoDgpqLrkD2f3QM4I7d1ozJJ172OmIcoUcerZaNWqtLkRXTV3A=="
+ },
+ "node_modules/randombytes": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",
+ "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",
+ "dependencies": {
+ "safe-buffer": "^5.1.0"
+ }
+ },
+ "node_modules/range-parser": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/rc9": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/rc9/-/rc9-2.1.1.tgz",
+ "integrity": "sha512-lNeOl38Ws0eNxpO3+wD1I9rkHGQyj1NU1jlzv4go2CtEnEQEUfqnIvZG7W+bC/aXdJ27n5x/yUjb6RoT9tko+Q==",
+ "dependencies": {
+ "defu": "^6.1.2",
+ "destr": "^2.0.0",
+ "flat": "^5.0.2"
+ }
+ },
+ "node_modules/read-cache": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
+ "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",
+ "dev": true,
+ "dependencies": {
+ "pify": "^2.3.0"
+ }
+ },
+ "node_modules/read-package-json": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-7.0.0.tgz",
+ "integrity": "sha512-uL4Z10OKV4p6vbdvIXB+OzhInYtIozl/VxUBPgNkBuUi2DeRonnuspmaVAMcrkmfjKGNmRndyQAbE7/AmzGwFg==",
+ "dependencies": {
+ "glob": "^10.2.2",
+ "json-parse-even-better-errors": "^3.0.0",
+ "normalize-package-data": "^6.0.0",
+ "npm-normalize-package-bin": "^3.0.0"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/read-package-json-fast": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz",
+ "integrity": "sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==",
+ "dependencies": {
+ "json-parse-even-better-errors": "^3.0.0",
+ "npm-normalize-package-bin": "^3.0.0"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/read-package-json/node_modules/glob": {
+ "version": "10.3.10",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz",
+ "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==",
+ "dependencies": {
+ "foreground-child": "^3.1.0",
+ "jackspeak": "^2.3.5",
+ "minimatch": "^9.0.1",
+ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0",
+ "path-scurry": "^1.10.1"
+ },
+ "bin": {
+ "glob": "dist/esm/bin.mjs"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/read-package-json/node_modules/minimatch": {
+ "version": "9.0.3",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
+ "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/readable-stream": {
+ "version": "3.6.2",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
+ "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/readdir-glob": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/readdir-glob/-/readdir-glob-1.1.3.tgz",
+ "integrity": "sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==",
+ "dependencies": {
+ "minimatch": "^5.1.0"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
+ "dependencies": {
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/redis-errors": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz",
+ "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/redis-parser": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz",
+ "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==",
+ "dependencies": {
+ "redis-errors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/regenerator-runtime": {
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz",
+ "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA=="
+ },
+ "node_modules/regexp.prototype.flags": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz",
+ "integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==",
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "set-function-name": "^2.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/require-directory": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
+ "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/require-main-filename": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
+ "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
+ },
+ "node_modules/resolve": {
+ "version": "1.22.8",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
+ "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
+ "dependencies": {
+ "is-core-module": "^2.13.0",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/retry": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz",
+ "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/reusify": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
+ "engines": {
+ "iojs": ">=1.0.0",
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/rimraf": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/rimraf/node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/rimraf/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/rimraf/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.7.0.tgz",
+ "integrity": "sha512-7Kw0dUP4BWH78zaZCqF1rPyQ8D5DSU6URG45v1dqS/faNsx9WXyess00uTOZxKr7oR/4TOjO1CPudT8L1UsEgw==",
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.7.0",
+ "@rollup/rollup-android-arm64": "4.7.0",
+ "@rollup/rollup-darwin-arm64": "4.7.0",
+ "@rollup/rollup-darwin-x64": "4.7.0",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.7.0",
+ "@rollup/rollup-linux-arm64-gnu": "4.7.0",
+ "@rollup/rollup-linux-arm64-musl": "4.7.0",
+ "@rollup/rollup-linux-riscv64-gnu": "4.7.0",
+ "@rollup/rollup-linux-x64-gnu": "4.7.0",
+ "@rollup/rollup-linux-x64-musl": "4.7.0",
+ "@rollup/rollup-win32-arm64-msvc": "4.7.0",
+ "@rollup/rollup-win32-ia32-msvc": "4.7.0",
+ "@rollup/rollup-win32-x64-msvc": "4.7.0",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/rollup-plugin-visualizer": {
+ "version": "5.10.0",
+ "resolved": "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.10.0.tgz",
+ "integrity": "sha512-N4AkNL0qFvipegbDJ0kupS+8eKGjL0q+lYwV46NflLX/B8Rh73wz3kCIdg50bR6XVhNcaMA4Eb519xtm90Ckfg==",
+ "dependencies": {
+ "open": "^8.4.0",
+ "picomatch": "^2.3.1",
+ "source-map": "^0.7.4",
+ "yargs": "^17.5.1"
+ },
+ "bin": {
+ "rollup-plugin-visualizer": "dist/bin/cli.js"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "peerDependencies": {
+ "rollup": "2.x || 3.x || 4.x"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/run-applescript": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-5.0.0.tgz",
+ "integrity": "sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==",
+ "dependencies": {
+ "execa": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/run-applescript/node_modules/execa": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
+ "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
+ "dependencies": {
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^6.0.0",
+ "human-signals": "^2.1.0",
+ "is-stream": "^2.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^4.0.1",
+ "onetime": "^5.1.2",
+ "signal-exit": "^3.0.3",
+ "strip-final-newline": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ }
+ },
+ "node_modules/run-applescript/node_modules/human-signals": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
+ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
+ "engines": {
+ "node": ">=10.17.0"
+ }
+ },
+ "node_modules/run-applescript/node_modules/is-stream": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
+ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/run-applescript/node_modules/mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/run-applescript/node_modules/npm-run-path": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "dependencies": {
+ "path-key": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/run-applescript/node_modules/onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "dependencies": {
+ "mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/run-applescript/node_modules/strip-final-newline": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/run-parallel": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "dependencies": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
+ },
+ "node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
+ "optional": true
+ },
+ "node_modules/scule": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/scule/-/scule-1.1.1.tgz",
+ "integrity": "sha512-sHtm/SsIK9BUBI3EFT/Gnp9VoKfY6QLvlkvAE6YK7454IF8FSgJEAnJpVdSC7K5/pjI5NfxhzBLW2JAfYA/shQ=="
+ },
+ "node_modules/semver": {
+ "version": "7.5.4",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
+ "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
+ "dependencies": {
+ "lru-cache": "^6.0.0"
+ },
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/semver/node_modules/lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/semver/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
+ },
+ "node_modules/send": {
+ "version": "0.18.0",
+ "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz",
+ "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==",
+ "dependencies": {
+ "debug": "2.6.9",
+ "depd": "2.0.0",
+ "destroy": "1.2.0",
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "fresh": "0.5.2",
+ "http-errors": "2.0.0",
+ "mime": "1.6.0",
+ "ms": "2.1.3",
+ "on-finished": "2.4.1",
+ "range-parser": "~1.2.1",
+ "statuses": "2.0.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/send/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/send/node_modules/debug/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
+ },
+ "node_modules/send/node_modules/mime": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
+ "bin": {
+ "mime": "cli.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/send/node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
+ },
+ "node_modules/serialize-javascript": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz",
+ "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==",
+ "dependencies": {
+ "randombytes": "^2.1.0"
+ }
+ },
+ "node_modules/serve-placeholder": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/serve-placeholder/-/serve-placeholder-2.0.1.tgz",
+ "integrity": "sha512-rUzLlXk4uPFnbEaIz3SW8VISTxMuONas88nYWjAWaM2W9VDbt9tyFOr3lq8RhVOFrT3XISoBw8vni5una8qMnQ==",
+ "dependencies": {
+ "defu": "^6.0.0"
+ }
+ },
+ "node_modules/serve-static": {
+ "version": "1.15.0",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz",
+ "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==",
+ "dependencies": {
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "parseurl": "~1.3.3",
+ "send": "0.18.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/set-blocking": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
+ "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw=="
+ },
+ "node_modules/set-function-length": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz",
+ "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==",
+ "dependencies": {
+ "define-data-property": "^1.1.1",
+ "get-intrinsic": "^1.2.1",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/set-function-name": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz",
+ "integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==",
+ "dependencies": {
+ "define-data-property": "^1.0.1",
+ "functions-have-names": "^1.2.3",
+ "has-property-descriptors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/setprototypeof": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
+ },
+ "node_modules/shallow-clone": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz",
+ "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==",
+ "dependencies": {
+ "kind-of": "^6.0.2"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shell-quote": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz",
+ "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/signal-exit": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
+ },
+ "node_modules/signature_pad": {
+ "version": "3.0.0-beta.4",
+ "resolved": "https://registry.npmjs.org/signature_pad/-/signature_pad-3.0.0-beta.4.tgz",
+ "integrity": "sha512-cOf2NhVuTiuNqe2X/ycEmizvCDXk0DoemhsEpnkcGnA4kS5iJYTCqZ9As7tFBbsch45Q1EdX61833+6sjJ8rrw=="
+ },
+ "node_modules/sigstore": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-2.1.0.tgz",
+ "integrity": "sha512-kPIj+ZLkyI3QaM0qX8V/nSsweYND3W448pwkDgS6CQ74MfhEkIR8ToK5Iyx46KJYRjseVcD3Rp9zAmUAj6ZjPw==",
+ "dependencies": {
+ "@sigstore/bundle": "^2.1.0",
+ "@sigstore/protobuf-specs": "^0.2.1",
+ "@sigstore/sign": "^2.1.0",
+ "@sigstore/tuf": "^2.1.0"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/simple-git": {
+ "version": "3.21.0",
+ "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.21.0.tgz",
+ "integrity": "sha512-oTzw9248AF5bDTMk9MrxsRzEzivMlY+DWH0yWS4VYpMhNLhDWnN06pCtaUyPnqv/FpsdeNmRqmZugMABHRPdDA==",
+ "dependencies": {
+ "@kwsites/file-exists": "^1.1.1",
+ "@kwsites/promise-deferred": "^1.1.1",
+ "debug": "^4.3.4"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/steveukx/git-js?sponsor=1"
+ }
+ },
+ "node_modules/sirv": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/sirv/-/sirv-2.0.3.tgz",
+ "integrity": "sha512-O9jm9BsID1P+0HOi81VpXPoDxYP374pkOLzACAoyUQ/3OUVndNpsz6wMnY2z+yOxzbllCKZrM+9QrWsv4THnyA==",
+ "dependencies": {
+ "@polka/url": "^1.0.0-next.20",
+ "mrmime": "^1.0.0",
+ "totalist": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/sisteransi": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
+ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg=="
+ },
+ "node_modules/slash": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz",
+ "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==",
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/smart-buffer": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
+ "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==",
+ "engines": {
+ "node": ">= 6.0.0",
+ "npm": ">= 3.0.0"
+ }
+ },
+ "node_modules/smob": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/smob/-/smob-1.4.1.tgz",
+ "integrity": "sha512-9LK+E7Hv5R9u4g4C3p+jjLstaLe11MDsL21UpYaCNmapvMkYhqCV4A/f/3gyH8QjMyh6l68q9xC85vihY9ahMQ=="
+ },
+ "node_modules/socks": {
+ "version": "2.7.1",
+ "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz",
+ "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==",
+ "dependencies": {
+ "ip": "^2.0.0",
+ "smart-buffer": "^4.2.0"
+ },
+ "engines": {
+ "node": ">= 10.13.0",
+ "npm": ">= 3.0.0"
+ }
+ },
+ "node_modules/socks-proxy-agent": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz",
+ "integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==",
+ "dependencies": {
+ "agent-base": "^7.0.2",
+ "debug": "^4.3.4",
+ "socks": "^2.7.1"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/sortablejs": {
+ "version": "1.15.1",
+ "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.15.1.tgz",
+ "integrity": "sha512-P5Cjvb0UG1ZVNiDPj/n4V+DinttXG6K8n7vM/HQf0C25K3YKQTQY6fsr/sEGsJGpQ9exmPxluHxKBc0mLKU1lQ=="
+ },
+ "node_modules/source-map": {
+ "version": "0.7.4",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz",
+ "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
+ "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/source-map-support": {
+ "version": "0.5.21",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
+ "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
+ "dependencies": {
+ "buffer-from": "^1.0.0",
+ "source-map": "^0.6.0"
+ }
+ },
+ "node_modules/source-map-support/node_modules/source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/spdx-correct": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz",
+ "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==",
+ "dependencies": {
+ "spdx-expression-parse": "^3.0.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "node_modules/spdx-exceptions": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz",
+ "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A=="
+ },
+ "node_modules/spdx-expression-parse": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
+ "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
+ "dependencies": {
+ "spdx-exceptions": "^2.1.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "node_modules/spdx-license-ids": {
+ "version": "3.0.16",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz",
+ "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw=="
+ },
+ "node_modules/split-on-first": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/split-on-first/-/split-on-first-3.0.0.tgz",
+ "integrity": "sha512-qxQJTx2ryR0Dw0ITYyekNQWpz6f8dGd7vffGNflQQ3Iqj9NJ6qiZ7ELpZsJ/QBhIVAiDfXdag3+Gp8RvWa62AA==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ssri": {
+ "version": "10.0.5",
+ "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.5.tgz",
+ "integrity": "sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A==",
+ "dependencies": {
+ "minipass": "^7.0.3"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/standard-as-callback": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz",
+ "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A=="
+ },
+ "node_modules/statuses": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
+ "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/std-env": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.6.0.tgz",
+ "integrity": "sha512-aFZ19IgVmhdB2uX599ve2kE6BIE3YMnQ6Gp6BURhW/oIzpXGKr878TQfAQZn1+i0Flcc/UKUy1gOlcfaUBCryg=="
+ },
+ "node_modules/streamx": {
+ "version": "2.15.6",
+ "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.6.tgz",
+ "integrity": "sha512-q+vQL4AAz+FdfT137VF69Cc/APqUbxy+MDOImRrMvchJpigHj9GksgDU2LYbO9rx7RX6osWgxJB2WxhYv4SZAw==",
+ "dependencies": {
+ "fast-fifo": "^1.1.0",
+ "queue-tick": "^1.0.1"
+ }
+ },
+ "node_modules/string_decoder": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
+ "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
+ "dependencies": {
+ "safe-buffer": "~5.2.0"
+ }
+ },
+ "node_modules/string-width": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/string-width-cjs": {
+ "name": "string-width",
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-ansi": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-ansi-cjs": {
+ "name": "strip-ansi",
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-final-newline": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz",
+ "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/strip-literal": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-1.3.0.tgz",
+ "integrity": "sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==",
+ "dependencies": {
+ "acorn": "^8.10.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/style-value-types": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz",
+ "integrity": "sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q==",
+ "dependencies": {
+ "hey-listen": "^1.0.8",
+ "tslib": "2.4.0"
+ }
+ },
+ "node_modules/style-value-types/node_modules/tslib": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz",
+ "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ=="
+ },
+ "node_modules/stylehacks": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-6.0.0.tgz",
+ "integrity": "sha512-+UT589qhHPwz6mTlCLSt/vMNTJx8dopeJlZAlBMJPWA3ORqu6wmQY7FBXf+qD+FsqoBJODyqNxOUP3jdntFRdw==",
+ "dependencies": {
+ "browserslist": "^4.21.4",
+ "postcss-selector-parser": "^6.0.4"
+ },
+ "engines": {
+ "node": "^14 || ^16 || >=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.15"
+ }
+ },
+ "node_modules/sucrase": {
+ "version": "3.34.0",
+ "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.34.0.tgz",
+ "integrity": "sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==",
+ "dev": true,
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "commander": "^4.0.0",
+ "glob": "7.1.6",
+ "lines-and-columns": "^1.1.6",
+ "mz": "^2.7.0",
+ "pirates": "^4.0.1",
+ "ts-interface-checker": "^0.1.9"
+ },
+ "bin": {
+ "sucrase": "bin/sucrase",
+ "sucrase-node": "bin/sucrase-node"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/sucrase/node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dev": true,
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/sucrase/node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
+ "dev": true,
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/sucrase/node_modules/glob": {
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
+ "dev": true,
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/sucrase/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "9.4.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-9.4.0.tgz",
+ "integrity": "sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/supports-color?sponsor=1"
+ }
+ },
+ "node_modules/supports-preserve-symlinks-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/svg-tags": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz",
+ "integrity": "sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA=="
+ },
+ "node_modules/svgo": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/svgo/-/svgo-3.0.5.tgz",
+ "integrity": "sha512-HQKHEo73pMNOlDlBcLgZRcHW2+1wo7bFYayAXkGN0l/2+h68KjlfZyMRhdhaGvoHV2eApOovl12zoFz42sT6rQ==",
+ "dependencies": {
+ "@trysound/sax": "0.2.0",
+ "commander": "^7.2.0",
+ "css-select": "^5.1.0",
+ "css-tree": "^2.2.1",
+ "css-what": "^6.1.0",
+ "csso": "5.0.5",
+ "picocolors": "^1.0.0"
+ },
+ "bin": {
+ "svgo": "bin/svgo"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/svgo"
+ }
+ },
+ "node_modules/tailwindcss": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.6.tgz",
+ "integrity": "sha512-AKjF7qbbLvLaPieoKeTjG1+FyNZT6KaJMJPFeQyLfIp7l82ggH1fbHJSsYIvnbTFQOlkh+gBYpyby5GT1LIdLw==",
+ "dev": true,
+ "dependencies": {
+ "@alloc/quick-lru": "^5.2.0",
+ "arg": "^5.0.2",
+ "chokidar": "^3.5.3",
+ "didyoumean": "^1.2.2",
+ "dlv": "^1.1.3",
+ "fast-glob": "^3.3.0",
+ "glob-parent": "^6.0.2",
+ "is-glob": "^4.0.3",
+ "jiti": "^1.19.1",
+ "lilconfig": "^2.1.0",
+ "micromatch": "^4.0.5",
+ "normalize-path": "^3.0.0",
+ "object-hash": "^3.0.0",
+ "picocolors": "^1.0.0",
+ "postcss": "^8.4.23",
+ "postcss-import": "^15.1.0",
+ "postcss-js": "^4.0.1",
+ "postcss-load-config": "^4.0.1",
+ "postcss-nested": "^6.0.1",
+ "postcss-selector-parser": "^6.0.11",
+ "resolve": "^1.22.2",
+ "sucrase": "^3.32.0"
+ },
+ "bin": {
+ "tailwind": "lib/cli.js",
+ "tailwindcss": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tailwindcss/node_modules/glob-parent": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
+ "dev": true,
+ "dependencies": {
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/tapable": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",
+ "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/tar": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz",
+ "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==",
+ "dependencies": {
+ "chownr": "^2.0.0",
+ "fs-minipass": "^2.0.0",
+ "minipass": "^5.0.0",
+ "minizlib": "^2.1.1",
+ "mkdirp": "^1.0.3",
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/tar-stream": {
+ "version": "3.1.6",
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.6.tgz",
+ "integrity": "sha512-B/UyjYwPpMBv+PaFSWAmtYjwdrlEaZQEhMIBFNC5oEG8lpiW8XjcSdmEaClj28ArfKScKHs2nshz3k2le6crsg==",
+ "dependencies": {
+ "b4a": "^1.6.4",
+ "fast-fifo": "^1.2.0",
+ "streamx": "^2.15.0"
+ }
+ },
+ "node_modules/tar/node_modules/fs-minipass": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
+ "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
+ "dependencies": {
+ "minipass": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/tar/node_modules/fs-minipass/node_modules/minipass": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
+ "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/tar/node_modules/minipass": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
+ "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/tar/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
+ },
+ "node_modules/terser": {
+ "version": "5.26.0",
+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.26.0.tgz",
+ "integrity": "sha512-dytTGoE2oHgbNV9nTzgBEPaqAWvcJNl66VZ0BkJqlvp71IjO8CxdBx/ykCNb47cLnCmCvRZ6ZR0tLkqvZCdVBQ==",
+ "dependencies": {
+ "@jridgewell/source-map": "^0.3.3",
+ "acorn": "^8.8.2",
+ "commander": "^2.20.0",
+ "source-map-support": "~0.5.20"
+ },
+ "bin": {
+ "terser": "bin/terser"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/terser/node_modules/commander": {
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
+ },
+ "node_modules/thenify": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
+ "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
+ "dev": true,
+ "dependencies": {
+ "any-promise": "^1.0.0"
+ }
+ },
+ "node_modules/thenify-all": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
+ "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
+ "dev": true,
+ "dependencies": {
+ "thenify": ">= 3.1.0 < 4"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/tiny-invariant": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz",
+ "integrity": "sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw=="
+ },
+ "node_modules/tinymotion": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/tinymotion/-/tinymotion-0.2.0.tgz",
+ "integrity": "sha512-8r5pmj5JWiAYfuxeYA/O16wj0fLBM42fqLDPklewjBKD64igmOPZHZOQg07GWySjvwW1sg5oWBs6qZfje/ic1A==",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/titleize": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/titleize/-/titleize-3.0.0.tgz",
+ "integrity": "sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/to-fast-properties": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/toidentifier": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/totalist": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/totalist/-/totalist-3.0.1.tgz",
+ "integrity": "sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/tr46": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
+ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
+ },
+ "node_modules/ts-interface-checker": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
+ "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
+ "dev": true
+ },
+ "node_modules/tslib": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
+ },
+ "node_modules/tuf-js": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-2.1.0.tgz",
+ "integrity": "sha512-eD7YPPjVlMzdggrOeE8zwoegUaG/rt6Bt3jwoQPunRiNVzgcCE009UDFJKJjG+Gk9wFu6W/Vi+P5d/5QpdD9jA==",
+ "dependencies": {
+ "@tufjs/models": "2.0.0",
+ "debug": "^4.3.4",
+ "make-fetch-happen": "^13.0.0"
+ },
+ "engines": {
+ "node": "^16.14.0 || >=18.0.0"
+ }
+ },
+ "node_modules/type-fest": {
+ "version": "3.13.1",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz",
+ "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==",
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ufo": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.3.2.tgz",
+ "integrity": "sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA=="
+ },
+ "node_modules/ultrahtml": {
+ "version": "1.5.2",
+ "resolved": "https://registry.npmjs.org/ultrahtml/-/ultrahtml-1.5.2.tgz",
+ "integrity": "sha512-qh4mBffhlkiXwDAOxvSGxhL0QEQsTbnP9BozOK3OYPEGvPvdWzvAUaXNtUSMdNsKDtuyjEbyVUPFZ52SSLhLqw=="
+ },
+ "node_modules/uncrypto": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/uncrypto/-/uncrypto-0.1.3.tgz",
+ "integrity": "sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q=="
+ },
+ "node_modules/unctx": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/unctx/-/unctx-2.3.1.tgz",
+ "integrity": "sha512-PhKke8ZYauiqh3FEMVNm7ljvzQiph0Mt3GBRve03IJm7ukfaON2OBK795tLwhbyfzknuRRkW0+Ze+CQUmzOZ+A==",
+ "dependencies": {
+ "acorn": "^8.8.2",
+ "estree-walker": "^3.0.3",
+ "magic-string": "^0.30.0",
+ "unplugin": "^1.3.1"
+ }
+ },
+ "node_modules/undici": {
+ "version": "5.28.2",
+ "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.2.tgz",
+ "integrity": "sha512-wh1pHJHnUeQV5Xa8/kyQhO7WFa8M34l026L5P/+2TYiakvGy5Rdc8jWZVyG7ieht/0WgJLEd3kcU5gKx+6GC8w==",
+ "dependencies": {
+ "@fastify/busboy": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=14.0"
+ }
+ },
+ "node_modules/undici-types": {
+ "version": "5.26.5",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
+ "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
+ },
+ "node_modules/unenv": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/unenv/-/unenv-1.8.0.tgz",
+ "integrity": "sha512-uIGbdCWZfhRRmyKj1UioCepQ0jpq638j/Cf0xFTn4zD1nGJ2lSdzYHLzfdXN791oo/0juUiSWW1fBklXMTsuqg==",
+ "dependencies": {
+ "consola": "^3.2.3",
+ "defu": "^6.1.3",
+ "mime": "^3.0.0",
+ "node-fetch-native": "^1.4.1",
+ "pathe": "^1.1.1"
+ }
+ },
+ "node_modules/unhead": {
+ "version": "1.8.9",
+ "resolved": "https://registry.npmjs.org/unhead/-/unhead-1.8.9.tgz",
+ "integrity": "sha512-qqCNmA4KOEDjcl+OtRZTllGehXewcQ31zbHjvhl/jqCs2MfRcZoxFW1y7A4Y4BgR/O7PI89K+GoWGcxK3gn64Q==",
+ "dependencies": {
+ "@unhead/dom": "1.8.9",
+ "@unhead/schema": "1.8.9",
+ "@unhead/shared": "1.8.9",
+ "hookable": "^5.5.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/harlan-zw"
+ }
+ },
+ "node_modules/unicorn-magic": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz",
+ "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/unimport": {
+ "version": "3.6.1",
+ "resolved": "https://registry.npmjs.org/unimport/-/unimport-3.6.1.tgz",
+ "integrity": "sha512-zKzbp8AQ+l8QK3XrONtUBdgBbMI8TkGh8hBYF77ZkVqMLLIAHwGSwJRFolPQMBx/5pezeRKvmu2gzlqnxRZeqQ==",
+ "dependencies": {
+ "@rollup/pluginutils": "^5.1.0",
+ "escape-string-regexp": "^5.0.0",
+ "fast-glob": "^3.3.2",
+ "local-pkg": "^0.5.0",
+ "magic-string": "^0.30.5",
+ "mlly": "^1.4.2",
+ "pathe": "^1.1.1",
+ "pkg-types": "^1.0.3",
+ "scule": "^1.1.1",
+ "strip-literal": "^1.3.0",
+ "unplugin": "^1.5.1"
+ }
+ },
+ "node_modules/unique-filename": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz",
+ "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==",
+ "dependencies": {
+ "unique-slug": "^4.0.0"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/unique-slug": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz",
+ "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==",
+ "dependencies": {
+ "imurmurhash": "^0.1.4"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/universalify": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
+ "engines": {
+ "node": ">= 10.0.0"
+ }
+ },
+ "node_modules/unplugin": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.5.1.tgz",
+ "integrity": "sha512-0QkvG13z6RD+1L1FoibQqnvTwVBXvS4XSPwAyinVgoOCl2jAgwzdUKmEj05o4Lt8xwQI85Hb6mSyYkcAGwZPew==",
+ "dependencies": {
+ "acorn": "^8.11.2",
+ "chokidar": "^3.5.3",
+ "webpack-sources": "^3.2.3",
+ "webpack-virtual-modules": "^0.6.0"
+ }
+ },
+ "node_modules/unplugin-vue-router": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/unplugin-vue-router/-/unplugin-vue-router-0.7.0.tgz",
+ "integrity": "sha512-ddRreGq0t5vlSB7OMy4e4cfU1w2AwBQCwmvW3oP/0IHQiokzbx4hd3TpwBu3eIAFVuhX2cwNQwp1U32UybTVCw==",
+ "dependencies": {
+ "@babel/types": "^7.22.19",
+ "@rollup/pluginutils": "^5.0.4",
+ "@vue-macros/common": "^1.8.0",
+ "ast-walker-scope": "^0.5.0",
+ "chokidar": "^3.5.3",
+ "fast-glob": "^3.3.1",
+ "json5": "^2.2.3",
+ "local-pkg": "^0.4.3",
+ "mlly": "^1.4.2",
+ "pathe": "^1.1.1",
+ "scule": "^1.0.0",
+ "unplugin": "^1.5.0",
+ "yaml": "^2.3.2"
+ },
+ "peerDependencies": {
+ "vue-router": "^4.1.0"
+ },
+ "peerDependenciesMeta": {
+ "vue-router": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/unplugin-vue-router/node_modules/local-pkg": {
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-0.4.3.tgz",
+ "integrity": "sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/unstorage": {
+ "version": "1.10.1",
+ "resolved": "https://registry.npmjs.org/unstorage/-/unstorage-1.10.1.tgz",
+ "integrity": "sha512-rWQvLRfZNBpF+x8D3/gda5nUCQL2PgXy2jNG4U7/Rc9BGEv9+CAJd0YyGCROUBKs9v49Hg8huw3aih5Bf5TAVw==",
+ "dependencies": {
+ "anymatch": "^3.1.3",
+ "chokidar": "^3.5.3",
+ "destr": "^2.0.2",
+ "h3": "^1.8.2",
+ "ioredis": "^5.3.2",
+ "listhen": "^1.5.5",
+ "lru-cache": "^10.0.2",
+ "mri": "^1.2.0",
+ "node-fetch-native": "^1.4.1",
+ "ofetch": "^1.3.3",
+ "ufo": "^1.3.1"
+ },
+ "peerDependencies": {
+ "@azure/app-configuration": "^1.4.1",
+ "@azure/cosmos": "^4.0.0",
+ "@azure/data-tables": "^13.2.2",
+ "@azure/identity": "^3.3.2",
+ "@azure/keyvault-secrets": "^4.7.0",
+ "@azure/storage-blob": "^12.16.0",
+ "@capacitor/preferences": "^5.0.6",
+ "@netlify/blobs": "^6.2.0",
+ "@planetscale/database": "^1.11.0",
+ "@upstash/redis": "^1.23.4",
+ "@vercel/kv": "^0.2.3",
+ "idb-keyval": "^6.2.1"
+ },
+ "peerDependenciesMeta": {
+ "@azure/app-configuration": {
+ "optional": true
+ },
+ "@azure/cosmos": {
+ "optional": true
+ },
+ "@azure/data-tables": {
+ "optional": true
+ },
+ "@azure/identity": {
+ "optional": true
+ },
+ "@azure/keyvault-secrets": {
+ "optional": true
+ },
+ "@azure/storage-blob": {
+ "optional": true
+ },
+ "@capacitor/preferences": {
+ "optional": true
+ },
+ "@netlify/blobs": {
+ "optional": true
+ },
+ "@planetscale/database": {
+ "optional": true
+ },
+ "@upstash/redis": {
+ "optional": true
+ },
+ "@vercel/kv": {
+ "optional": true
+ },
+ "idb-keyval": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/unstorage/node_modules/lru-cache": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz",
+ "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==",
+ "engines": {
+ "node": "14 || >=16.14"
+ }
+ },
+ "node_modules/untildify": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz",
+ "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/untun": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/untun/-/untun-0.1.2.tgz",
+ "integrity": "sha512-wLAMWvxfqyTiBODA1lg3IXHQtjggYLeTK7RnSfqtOXixWJ3bAa2kK/HHmOOg19upteqO3muLvN6O/icbyQY33Q==",
+ "dependencies": {
+ "citty": "^0.1.3",
+ "consola": "^3.2.3",
+ "pathe": "^1.1.1"
+ },
+ "bin": {
+ "untun": "bin/untun.mjs"
+ }
+ },
+ "node_modules/untyped": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/untyped/-/untyped-1.4.0.tgz",
+ "integrity": "sha512-Egkr/s4zcMTEuulcIb7dgURS6QpN7DyqQYdf+jBtiaJvQ+eRsrtWUoX84SbvQWuLkXsOjM+8sJC9u6KoMK/U7Q==",
+ "dependencies": {
+ "@babel/core": "^7.22.9",
+ "@babel/standalone": "^7.22.9",
+ "@babel/types": "^7.22.5",
+ "defu": "^6.1.2",
+ "jiti": "^1.19.1",
+ "mri": "^1.2.0",
+ "scule": "^1.0.0"
+ },
+ "bin": {
+ "untyped": "dist/cli.mjs"
+ }
+ },
+ "node_modules/update-browserslist-db": {
+ "version": "1.0.13",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz",
+ "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "dependencies": {
+ "escalade": "^3.1.1",
+ "picocolors": "^1.0.0"
+ },
+ "bin": {
+ "update-browserslist-db": "cli.js"
+ },
+ "peerDependencies": {
+ "browserslist": ">= 4.21.0"
+ }
+ },
+ "node_modules/uqr": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/uqr/-/uqr-0.1.2.tgz",
+ "integrity": "sha512-MJu7ypHq6QasgF5YRTjqscSzQp/W11zoUk6kvmlH+fmWEs63Y0Eib13hYFwAzagRJcVY8WVnlV+eBDUGMJ5IbA=="
+ },
+ "node_modules/urlpattern-polyfill": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-8.0.2.tgz",
+ "integrity": "sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ=="
+ },
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
+ },
+ "node_modules/validate-npm-package-license": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
+ "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
+ "dependencies": {
+ "spdx-correct": "^3.0.0",
+ "spdx-expression-parse": "^3.0.0"
+ }
+ },
+ "node_modules/validate-npm-package-name": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz",
+ "integrity": "sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==",
+ "dependencies": {
+ "builtins": "^5.0.0"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/vform": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/vform/-/vform-2.1.2.tgz",
+ "integrity": "sha512-Nobg/0ckWHYQAjJJqucOyRv/a3enO40f087KBpkSUCl0eRQTE8qmUqk/l5gmbxhD8UO3A8dDiSRWKmKF8+l4YQ==",
+ "peerDependencies": {
+ "axios": "*",
+ "vue": "*"
+ }
+ },
+ "node_modules/vite": {
+ "version": "5.0.7",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-5.0.7.tgz",
+ "integrity": "sha512-B4T4rJCDPihrQo2B+h1MbeGL/k/GMAHzhQ8S0LjQ142s6/+l3hHTT095ORvsshj4QCkoWu3Xtmob5mazvakaOw==",
+ "peer": true,
+ "dependencies": {
+ "esbuild": "^0.19.3",
+ "postcss": "^8.4.32",
+ "rollup": "^4.2.0"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^18.0.0 || >=20.0.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite-node": {
+ "version": "0.33.0",
+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.33.0.tgz",
+ "integrity": "sha512-19FpHYbwWWxDr73ruNahC+vtEdza52kA90Qb3La98yZ0xULqV8A5JLNPUff0f5zID4984tW7l3DH2przTJUZSw==",
+ "dependencies": {
+ "cac": "^6.7.14",
+ "debug": "^4.3.4",
+ "mlly": "^1.4.0",
+ "pathe": "^1.1.1",
+ "picocolors": "^1.0.0",
+ "vite": "^3.0.0 || ^4.0.0"
+ },
+ "bin": {
+ "vite-node": "vite-node.mjs"
+ },
+ "engines": {
+ "node": ">=v14.18.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/android-arm": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
+ "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/android-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
+ "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/android-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
+ "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/darwin-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
+ "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/darwin-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
+ "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
+ "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/freebsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
+ "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/linux-arm": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
+ "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/linux-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
+ "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/linux-ia32": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
+ "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/linux-loong64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
+ "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
+ "cpu": [
+ "loong64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/linux-mips64el": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
+ "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
+ "cpu": [
+ "mips64el"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/linux-ppc64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
+ "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/linux-riscv64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
+ "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
+ "cpu": [
+ "riscv64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/linux-s390x": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
+ "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
+ "cpu": [
+ "s390x"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/linux-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
+ "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/netbsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/openbsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/sunos-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
+ "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/win32-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
+ "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/win32-ia32": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
+ "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/@esbuild/win32-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
+ "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite-node/node_modules/esbuild": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
+ "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
+ "hasInstallScript": true,
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "optionalDependencies": {
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
+ }
+ },
+ "node_modules/vite-node/node_modules/rollup": {
+ "version": "3.29.4",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz",
+ "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==",
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=14.18.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/vite-node/node_modules/vite": {
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.1.tgz",
+ "integrity": "sha512-AXXFaAJ8yebyqzoNB9fu2pHoo/nWX+xZlaRwoeYUxEqBO+Zj4msE5G+BhGBll9lYEKv9Hfks52PAF2X7qDYXQA==",
+ "dependencies": {
+ "esbuild": "^0.18.10",
+ "postcss": "^8.4.27",
+ "rollup": "^3.27.1"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ },
+ "peerDependencies": {
+ "@types/node": ">= 14",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite-plugin-checker": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/vite-plugin-checker/-/vite-plugin-checker-0.6.2.tgz",
+ "integrity": "sha512-YvvvQ+IjY09BX7Ab+1pjxkELQsBd4rPhWNw8WLBeFVxu/E7O+n6VYAqNsKdK/a2luFlX/sMpoWdGFfg4HvwdJQ==",
+ "dependencies": {
+ "@babel/code-frame": "^7.12.13",
+ "ansi-escapes": "^4.3.0",
+ "chalk": "^4.1.1",
+ "chokidar": "^3.5.1",
+ "commander": "^8.0.0",
+ "fast-glob": "^3.2.7",
+ "fs-extra": "^11.1.0",
+ "lodash.debounce": "^4.0.8",
+ "lodash.pick": "^4.4.0",
+ "npm-run-path": "^4.0.1",
+ "semver": "^7.5.0",
+ "strip-ansi": "^6.0.0",
+ "tiny-invariant": "^1.1.0",
+ "vscode-languageclient": "^7.0.0",
+ "vscode-languageserver": "^7.0.0",
+ "vscode-languageserver-textdocument": "^1.0.1",
+ "vscode-uri": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=14.16"
+ },
+ "peerDependencies": {
+ "eslint": ">=7",
+ "meow": "^9.0.0",
+ "optionator": "^0.9.1",
+ "stylelint": ">=13",
+ "typescript": "*",
+ "vite": ">=2.0.0",
+ "vls": "*",
+ "vti": "*",
+ "vue-tsc": ">=1.3.9"
+ },
+ "peerDependenciesMeta": {
+ "eslint": {
+ "optional": true
+ },
+ "meow": {
+ "optional": true
+ },
+ "optionator": {
+ "optional": true
+ },
+ "stylelint": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ },
+ "vls": {
+ "optional": true
+ },
+ "vti": {
+ "optional": true
+ },
+ "vue-tsc": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite-plugin-checker/node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/vite-plugin-checker/node_modules/commander": {
+ "version": "8.3.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz",
+ "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==",
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/vite-plugin-checker/node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/vite-plugin-checker/node_modules/npm-run-path": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "dependencies": {
+ "path-key": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/vite-plugin-checker/node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/vite-plugin-inspect": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/vite-plugin-inspect/-/vite-plugin-inspect-0.8.1.tgz",
+ "integrity": "sha512-oPBPVGp6tBd5KdY/qY6lrbLXqrbHRG0hZLvEaJfiZ/GQfDB+szRuLHblQh1oi1Hhh8GeLit/50l4xfs2SA+TCA==",
+ "dependencies": {
+ "@antfu/utils": "^0.7.6",
+ "@rollup/pluginutils": "^5.0.5",
+ "debug": "^4.3.4",
+ "error-stack-parser-es": "^0.1.1",
+ "fs-extra": "^11.1.1",
+ "open": "^9.1.0",
+ "picocolors": "^1.0.0",
+ "sirv": "^2.0.3"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ },
+ "peerDependencies": {
+ "vite": "^3.1.0 || ^4.0.0 || ^5.0.0-0"
+ },
+ "peerDependenciesMeta": {
+ "@nuxt/kit": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite-plugin-inspect/node_modules/define-lazy-prop": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz",
+ "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/vite-plugin-inspect/node_modules/open": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/open/-/open-9.1.0.tgz",
+ "integrity": "sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==",
+ "dependencies": {
+ "default-browser": "^4.0.0",
+ "define-lazy-prop": "^3.0.0",
+ "is-inside-container": "^1.0.0",
+ "is-wsl": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/vite-plugin-vue-inspector": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/vite-plugin-vue-inspector/-/vite-plugin-vue-inspector-4.0.2.tgz",
+ "integrity": "sha512-KPvLEuafPG13T7JJuQbSm5PwSxKFnVS965+MP1we2xGw9BPkkc/+LPix5MMWenpKWqtjr0ws8THrR+KuoDC8hg==",
+ "dependencies": {
+ "@babel/core": "^7.23.0",
+ "@babel/plugin-proposal-decorators": "^7.23.0",
+ "@babel/plugin-syntax-import-attributes": "^7.22.5",
+ "@babel/plugin-syntax-import-meta": "^7.10.4",
+ "@babel/plugin-transform-typescript": "^7.22.15",
+ "@vue/babel-plugin-jsx": "^1.1.5",
+ "@vue/compiler-dom": "^3.3.4",
+ "kolorist": "^1.8.0",
+ "magic-string": "^0.30.4"
+ },
+ "peerDependencies": {
+ "vite": "^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0"
+ }
+ },
+ "node_modules/vscode-jsonrpc": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-6.0.0.tgz",
+ "integrity": "sha512-wnJA4BnEjOSyFMvjZdpiOwhSq9uDoK8e/kpRJDTaMYzwlkrhG1fwDIZI94CLsLzlCK5cIbMMtFlJlfR57Lavmg==",
+ "engines": {
+ "node": ">=8.0.0 || >=10.0.0"
+ }
+ },
+ "node_modules/vscode-languageclient": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/vscode-languageclient/-/vscode-languageclient-7.0.0.tgz",
+ "integrity": "sha512-P9AXdAPlsCgslpP9pRxYPqkNYV7Xq8300/aZDpO35j1fJm/ncize8iGswzYlcvFw5DQUx4eVk+KvfXdL0rehNg==",
+ "dependencies": {
+ "minimatch": "^3.0.4",
+ "semver": "^7.3.4",
+ "vscode-languageserver-protocol": "3.16.0"
+ },
+ "engines": {
+ "vscode": "^1.52.0"
+ }
+ },
+ "node_modules/vscode-languageclient/node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/vscode-languageclient/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/vscode-languageserver": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-7.0.0.tgz",
+ "integrity": "sha512-60HTx5ID+fLRcgdHfmz0LDZAXYEV68fzwG0JWwEPBode9NuMYTIxuYXPg4ngO8i8+Ou0lM7y6GzaYWbiDL0drw==",
+ "dependencies": {
+ "vscode-languageserver-protocol": "3.16.0"
+ },
+ "bin": {
+ "installServerIntoExtension": "bin/installServerIntoExtension"
+ }
+ },
+ "node_modules/vscode-languageserver-protocol": {
+ "version": "3.16.0",
+ "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.16.0.tgz",
+ "integrity": "sha512-sdeUoAawceQdgIfTI+sdcwkiK2KU+2cbEYA0agzM2uqaUy2UpnnGHtWTHVEtS0ES4zHU0eMFRGN+oQgDxlD66A==",
+ "dependencies": {
+ "vscode-jsonrpc": "6.0.0",
+ "vscode-languageserver-types": "3.16.0"
+ }
+ },
+ "node_modules/vscode-languageserver-textdocument": {
+ "version": "1.0.11",
+ "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.11.tgz",
+ "integrity": "sha512-X+8T3GoiwTVlJbicx/sIAF+yuJAqz8VvwJyoMVhwEMoEKE/fkDmrqUgDMyBECcM2A2frVZIUj5HI/ErRXCfOeA=="
+ },
+ "node_modules/vscode-languageserver-types": {
+ "version": "3.16.0",
+ "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.16.0.tgz",
+ "integrity": "sha512-k8luDIWJWyenLc5ToFQQMaSrqCHiLwyKPHKPQZ5zz21vM+vIVUSvsRpcbiECH4WR88K2XZqc4ScRcZ7nk/jbeA=="
+ },
+ "node_modules/vscode-uri": {
+ "version": "3.0.8",
+ "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.8.tgz",
+ "integrity": "sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw=="
+ },
+ "node_modules/vue": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.11.tgz",
+ "integrity": "sha512-d4oBctG92CRO1cQfVBZp6WJAs0n8AK4Xf5fNjQCBeKCvMI1efGQ5E3Alt1slFJS9fZuPcFoiAiqFvQlv1X7t/w==",
+ "dependencies": {
+ "@vue/compiler-dom": "3.3.11",
+ "@vue/compiler-sfc": "3.3.11",
+ "@vue/runtime-dom": "3.3.11",
+ "@vue/server-renderer": "3.3.11",
+ "@vue/shared": "3.3.11"
+ },
+ "peerDependencies": {
+ "typescript": "*"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vue-bundle-renderer": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/vue-bundle-renderer/-/vue-bundle-renderer-2.0.0.tgz",
+ "integrity": "sha512-oYATTQyh8XVkUWe2kaKxhxKVuuzK2Qcehe+yr3bGiaQAhK3ry2kYE4FWOfL+KO3hVFwCdLmzDQTzYhTi9C+R2A==",
+ "dependencies": {
+ "ufo": "^1.2.0"
+ }
+ },
+ "node_modules/vue-chartjs": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/vue-chartjs/-/vue-chartjs-5.2.0.tgz",
+ "integrity": "sha512-d3zpKmGZr2OWHQ1xmxBcAn5ShTG917+/UCLaSpaCDDqT0U7DBsvFzTs69ZnHCgKoXT55GZDW8YEj9Av+dlONLA==",
+ "peerDependencies": {
+ "chart.js": "^4.1.1",
+ "vue": "^3.0.0-0 || ^2.7.0"
+ }
+ },
+ "node_modules/vue-codemirror": {
+ "version": "4.0.6",
+ "resolved": "https://registry.npmjs.org/vue-codemirror/-/vue-codemirror-4.0.6.tgz",
+ "integrity": "sha512-ilU7Uf0mqBNSSV3KT7FNEeRIxH4s1fmpG4TfHlzvXn0QiQAbkXS9lLfwuZpaBVEnpP5CSE62iGJjoliTuA8poQ==",
+ "dependencies": {
+ "codemirror": "^5.41.0",
+ "diff-match-patch": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 4.0.0",
+ "npm": ">= 3.0.0"
+ }
+ },
+ "node_modules/vue-confetti": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/vue-confetti/-/vue-confetti-2.3.0.tgz",
+ "integrity": "sha512-zmPniVzBKv0ie/BEXBR6Isi08hYSd6lS18b8VduG5BzZ2tv6bO/rlwISg+IpGY2XsqAFTXFdTC28YR+UPocnAw=="
+ },
+ "node_modules/vue-country-flag-next": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/vue-country-flag-next/-/vue-country-flag-next-2.3.2.tgz",
+ "integrity": "sha512-Lv12L1VTwlBgizpZ3xPEPO3zuIETaJmeSiPuLOWLLgu2EakwU/o72iKYiKcdZ6BXiSkfss+Ski5fDzjuxZ1DcA==",
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "vue": "^3.0.0"
+ }
+ },
+ "node_modules/vue-devtools-stub": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/vue-devtools-stub/-/vue-devtools-stub-0.1.0.tgz",
+ "integrity": "sha512-RutnB7X8c5hjq39NceArgXg28WZtZpGc3+J16ljMiYnFhKvd8hITxSWQSQ5bvldxMDU6gG5mkxl1MTQLXckVSQ=="
+ },
+ "node_modules/vue-notion": {
+ "version": "3.0.0-beta.1",
+ "resolved": "https://registry.npmjs.org/vue-notion/-/vue-notion-3.0.0-beta.1.tgz",
+ "integrity": "sha512-s6NeDlcVs6dtC4g/3dFRrvZMeYR7gcLAjmjYQOETQmxJbviGRGSwBNPZZnN4aXPIQiss/4hv3S23IMi4XP3MLw==",
+ "dependencies": {
+ "defu": "^6.1.2"
+ },
+ "peerDependencies": {
+ "@janniks/vue3-katex": "^0.6.0-rc.5.1",
+ "vue": "^3.2.45"
+ }
+ },
+ "node_modules/vue-router": {
+ "version": "4.2.5",
+ "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.2.5.tgz",
+ "integrity": "sha512-DIUpKcyg4+PTQKfFPX88UWhlagBEBEfJ5A8XDXRJLUnZOvcpMF8o/dnL90vpVkGaPbjvXazV/rC1qBKrZlFugw==",
+ "dependencies": {
+ "@vue/devtools-api": "^6.5.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/posva"
+ },
+ "peerDependencies": {
+ "vue": "^3.2.0"
+ }
+ },
+ "node_modules/vue-signature-pad": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/vue-signature-pad/-/vue-signature-pad-3.0.2.tgz",
+ "integrity": "sha512-o25o+lROfCmzASS2+fU8ZV801kV+D4/02zkZ+ez3NKeiUmbxW7kwlUf5oKQkvA+l7Ou9xGsGLsirBLch3jyX8A==",
+ "dependencies": {
+ "merge-images": "^1.1.0",
+ "signature_pad": "^3.0.0-beta.3"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "peerDependencies": {
+ "vue": "^3.2.0"
+ }
+ },
+ "node_modules/vue3-editor": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/vue3-editor/-/vue3-editor-0.1.1.tgz",
+ "integrity": "sha512-rH1U28wi+mHQlJFr4mvMW3D0oILnjV/BY9TslzWc6zM5zwv48I8LQk4sVzggN2KTDIGAdlDsmdReAd+7fhMYmQ==",
+ "dependencies": {
+ "core-js": "^3.6.5",
+ "quill": "^1.3.7"
+ },
+ "peerDependencies": {
+ "vue": "^3.0.0"
+ }
+ },
+ "node_modules/vue3-vt-notifications": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/vue3-vt-notifications/-/vue3-vt-notifications-1.0.1.tgz",
+ "integrity": "sha512-nF6PVPlJrKwk8oxB9oUnL51iPIDFRnRzdiX1EdC0VFAs/ds9x/x/LbckI/Qe9N+PNYkIY40P2hvhfDWQ8fvcxA==",
+ "peerDependencies": {
+ "vue": "^3.0.0"
+ }
+ },
+ "node_modules/vuedraggable": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/vuedraggable/-/vuedraggable-4.1.0.tgz",
+ "integrity": "sha512-FU5HCWBmsf20GpP3eudURW3WdWTKIbEIQxh9/8GE806hydR9qZqRRxRE3RjqX7PkuLuMQG/A7n3cfj9rCEchww==",
+ "dependencies": {
+ "sortablejs": "1.14.0"
+ },
+ "peerDependencies": {
+ "vue": "^3.0.1"
+ }
+ },
+ "node_modules/vuedraggable/node_modules/sortablejs": {
+ "version": "1.14.0",
+ "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.14.0.tgz",
+ "integrity": "sha512-pBXvQCs5/33fdN1/39pPL0NZF20LeRbLQ5jtnheIPN9JQAaufGjKdWduZn4U7wCtVuzKhmRkI0DFYHYRbB2H1w=="
+ },
+ "node_modules/webidl-conversions": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
+ "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
+ },
+ "node_modules/webpack-sources": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz",
+ "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==",
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/webpack-virtual-modules": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.6.1.tgz",
+ "integrity": "sha512-poXpCylU7ExuvZK8z+On3kX+S8o/2dQ/SVYueKA0D4WEMXROXgY8Ez50/bQEUmvoSMMrWcrJqCHuhAbsiwg7Dg=="
+ },
+ "node_modules/whatwg-url": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
+ "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
+ "dependencies": {
+ "tr46": "~0.0.3",
+ "webidl-conversions": "^3.0.0"
+ }
+ },
+ "node_modules/which": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz",
+ "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/which.js"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/which-module": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz",
+ "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ=="
+ },
+ "node_modules/wide-align": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz",
+ "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==",
+ "dependencies": {
+ "string-width": "^1.0.2 || 2 || 3 || 4"
+ }
+ },
+ "node_modules/wrap-ansi": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrap-ansi-cjs": {
+ "name": "wrap-ansi",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
+ },
+ "node_modules/ws": {
+ "version": "8.14.2",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz",
+ "integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/y18n": {
+ "version": "5.0.8",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
+ "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/yallist": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
+ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="
+ },
+ "node_modules/yaml": {
+ "version": "2.3.4",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz",
+ "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==",
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/yargs": {
+ "version": "17.7.2",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
+ "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
+ "dependencies": {
+ "cliui": "^8.0.1",
+ "escalade": "^3.1.1",
+ "get-caller-file": "^2.0.5",
+ "require-directory": "^2.1.1",
+ "string-width": "^4.2.3",
+ "y18n": "^5.0.5",
+ "yargs-parser": "^21.1.1"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/yargs-parser": {
+ "version": "21.1.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
+ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/zhead": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/zhead/-/zhead-2.2.4.tgz",
+ "integrity": "sha512-8F0OI5dpWIA5IGG5NHUg9staDwz/ZPxZtvGVf01j7vHqSyZ0raHY+78atOVxRqb73AotX22uV1pXt3gYSstGag==",
+ "funding": {
+ "url": "https://github.com/sponsors/harlan-zw"
+ }
+ },
+ "node_modules/zip-stream": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-5.0.1.tgz",
+ "integrity": "sha512-UfZ0oa0C8LI58wJ+moL46BDIMgCQbnsb+2PoiJYtonhBsMh2bq1eRBVkvjfVsqbEHd9/EgKPUuL9saSSsec8OA==",
+ "dependencies": {
+ "archiver-utils": "^4.0.1",
+ "compress-commons": "^5.0.1",
+ "readable-stream": "^3.6.0"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ }
+ }
+ }
+}
diff --git a/client/package.json b/client/package.json
new file mode 100644
index 000000000..1f6fe3d95
--- /dev/null
+++ b/client/package.json
@@ -0,0 +1,58 @@
+{
+ "name": "nuxt-app",
+ "private": true,
+ "type": "module",
+ "scripts": {
+ "build": "nuxt build",
+ "dev": "nuxt dev",
+ "generate": "nuxt generate",
+ "preview": "nuxt preview",
+ "postinstall": "nuxt prepare"
+ },
+ "devDependencies": {
+ "@nuxt/devtools": "latest",
+ "autoprefixer": "^10.4.16",
+ "nuxt": "^3.8.2",
+ "postcss": "^8.4.32",
+ "tailwindcss": "^3.3.6",
+ "vue": "^3.3.10",
+ "vue-router": "^4.2.5"
+ },
+ "dependencies": {
+ "@hcaptcha/vue3-hcaptcha": "^1.3.0",
+ "@nuxtjs/sentry": "^8.0.6",
+ "@pinia/nuxt": "^0.5.1",
+ "@sentry/integrations": "^7.53.1",
+ "@sentry/tracing": "^6.11.0",
+ "@sentry/vue": "^6.11.0",
+ "@vueuse/components": "^10.5.0",
+ "@vueuse/core": "^10.5.0",
+ "@vueuse/motion": "^2.0.0",
+ "@vueuse/nuxt": "^10.7.0",
+ "amplitude-js": "^8.21.9",
+ "axios": "^0.21.1",
+ "chart.js": "^4.4.0",
+ "clone-deep": "^4.0.1",
+ "date-fns": "^2.28.0",
+ "debounce": "^1.2.1",
+ "fuse.js": "^6.4.6",
+ "js-cookie": "^2.2.1",
+ "js-sha256": "^0.9.0",
+ "libphonenumber-js": "^1.10.44",
+ "prismjs": "^1.24.1",
+ "qrcode": "^1.5.1",
+ "query-builder-vue-3": "^1.0.1",
+ "tinymotion": "^0.2.0",
+ "vform": "^2.1.1",
+ "vue": "^3.2.13",
+ "vue-chartjs": "^5.2.0",
+ "vue-codemirror": "^4.0.6",
+ "vue-confetti": "^2.3.0",
+ "vue-country-flag-next": "^2.3.2",
+ "vue-notion": "^3.0.0-beta.1",
+ "vue-signature-pad": "^3.0.2",
+ "vue3-editor": "^0.1.1",
+ "vue3-vt-notifications": "^1.0.0",
+ "vuedraggable": "next"
+ }
+}
diff --git a/client/pages/ai-form-builder.vue b/client/pages/ai-form-builder.vue
new file mode 100644
index 000000000..068faf062
--- /dev/null
+++ b/client/pages/ai-form-builder.vue
@@ -0,0 +1,548 @@
+<template>
+ <div class="flex-1">
+ <!-- START HERO -->
+ <section class="bg-gradient-to-b relative from-white to-gray-100 py-12 sm:py-16 lg:py-20 xl:py-24">
+ <div class="absolute inset-0">
+ <img class="w-full h-full object-cover object-top" src="/img/pages/ai_form_builder/background-pattern.svg" alt="">
+
+ </div>
+
+ <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto relative">
+ <div class="max-w-4xl mx-auto text-center">
+ <h1 class="text-4xl sm:text-5xl lg:text-6xl font-semibold text-gray-900 tracking-tight">
+ Say goodbye to tedious form building with OpnForm's new <span
+ class="bg-clip-text text-transparent bg-gradient-to-r lg:block from-blue-600 to-blue-400">AI-powered
+ feature!</span>
+ </h1>
+ <p class="mt-4 sm:mt-5 text-base leading-7 sm:text-xl sm:leading-9 font-medium text-gray-500">
+ Easily generate a fully working form in seconds with just a simple description.
+ </p>
+
+ <div class="mt-8 flex justify-center">
+ <v-button v-if="!authenticated" class="mr-1" :to="{ name: 'forms.create.guest' }" :arrow="true">
+ Get started for free
+ </v-button>
+ <v-button v-else class="mr-1" :to="{ name: 'forms.create' }" :arrow="true">
+ Get started for free
+ </v-button>
+ </div>
+ </div>
+
+ <div class="max-w-6xl mx-auto mt-12 sm:mt-16">
+ <div
+ class="-m-2 rounded-xl bg-blue-900/5 p-2 backdrop-blur-sm ring-1 ring-inset ring-blue-900/10 lg:-m-4 lg:rounded-2xl lg:p-4">
+ <video class="rounded-md ring-1 ring-gray-200 shadow-xl shadow-blue-600/10 ring-blue-900/10" controls autoplay loop muted>
+ <source src="/video/opnform-ai.mp4" type="video/mp4">
+
+ This browser does not display the video tag.
+ </video>
+ </div>
+ </div>
+
+ <div
+ class="grid lg:grid-cols-3 grid-cols-1 sm:max-w-lg lg:max-w-5xl sm:mx-auto gap-8 sm:gap-10 mt-12 sm:mt-16">
+ <div class="flex items-start gap-4">
+ <img class="w-12 h-12 shrink-0" src="/img/pages/ai_form_builder/icon-fast.svg" alt="">
+
+ <div>
+ <p class="text-md font-semibold text-gray-900">
+ Faster than Ever
+ </p>
+ <p class="text-base font-medium text-gray-500 mt-2">
+ Save time and effort by generating a form in seconds
+ </p>
+ </div>
+ </div>
+
+ <div class="flex items-start gap-4">
+ <img class="w-12 h-12 shrink-0" src="/img/pages/ai_form_builder/icon-customization.svg" alt="">
+
+ <div>
+ <p class="text-md font-semibold text-gray-900">
+ Customizations
+ </p>
+ <p class="text-base font-medium text-gray-500 mt-2">
+ Customize your form to your exact specifications
+ </p>
+ </div>
+ </div>
+
+ <div class="flex items-start gap-4">
+ <img class="w-12 h-12 shrink-0" src="/img/pages/ai_form_builder/icon-browser.svg" alt="">
+
+ <div>
+ <p class="text-md font-semibold text-gray-900">
+ No Coding Knowledge Required
+ </p>
+ <p class="text-base font-medium text-gray-500 mt-2">
+ No coding knowledge required and it's completely free to use
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+ <!-- END HERO -->
+
+ <!-- START HOW IT WORKS -->
+ <section class="bg-white py-12 sm:py-16 lg:py-20 xl:py-24">
+ <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
+ <div class="text-center max-w-3xl mx-auto">
+ <h2 class="text-sm font-semibold text-blue-600">
+ How Does It Work?
+ </h2>
+ <p
+ class="text-3xl mt-4 sm:text-4xl lg:text-5xl font-semibold text-gray-900 tracking-tight lg:leading-tight">
+ Save hours in just a few clicks
+ </p>
+ <p class="text-gray-500 text-base leading-7 sm:text-lg sm:leading-8 font-medium mt-4">
+ Building forms has never been easier
+ </p>
+ </div>
+
+ <div
+ class="space-y-16 text-center lg:text-left sm:max-w-md sm:mx-auto lg:max-w-none lg:space-y-20 xl:space-y-24 mt-8 sm:mt-12 lg:mt-16">
+ <div class="flex flex-col lg:flex-row lg:items-center lg:justify-between gap-8 lg:gap-12">
+ <img class="w-full lg:flex-1 bg-gray-300 lg:shrink-0 rounded-2xl ring-1 ring-gray-200 shadow-sm"
+ src="/img/pages/ai_form_builder/step-1.svg" alt="">
+
+
+ <div
+ class="w-16 h-16 rounded-full bg-blue-50 border-2 border-blue-200 hidden xl:inline-flex items-center justify-center text-blue-600 text-2xl font-semibold leading-none">
+ 1
+ </div>
+
+ <div class="lg:flex-1 lg:shrink-0">
+ <img class="w-auto h-16 hidden lg:block" src="/img/pages/ai_form_builder/icon-create.svg" alt="">
+
+ <h3 class="text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900 lg:mt-8">
+ Building forms made easy
+ </h3>
+ <p class="text-base font-medium leading-7 sm:text-lg sm:leading-8 text-gray-500 mt-4">
+ OpnForm's easy-to-use online form creator lets you create a beautiful web form in no time. Whether you
+ need to create
+ contact forms and registration forms for a landing page or an online order form for your business, you
+ will no longer
+ need to spend hours working on forms.
+ </p>
+ </div>
+ </div>
+
+ <div class="flex flex-col lg:flex-row lg:items-center lg:justify-between gap-8 lg:gap-12">
+ <img
+ class="w-full lg:flex-1 bg-gray-300 lg:shrink-0 rounded-2xl ring-1 ring-gray-200 shadow-sm lg:order-3"
+ src="/img/pages/ai_form_builder/step-2.svg" alt="">
+
+
+ <div
+ class="w-16 h-16 lg:order-2 rounded-full bg-blue-50 border-2 border-blue-200 hidden xl:inline-flex items-center justify-center text-blue-600 text-2xl font-semibold leading-none">
+ 2
+ </div>
+
+ <div class="lg:flex-1 lg:shrink-0 lg:order-1">
+ <img class="w-auto h-16 hidden lg:block" src="/img/pages/ai_form_builder/icon-customization.svg" alt="">
+
+ <h3 class="text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900 lg:mt-8">
+ Customized forms work wonders
+ </h3>
+ <p class="text-base font-medium leading-7 sm:text-lg sm:leading-8 text-gray-500 mt-4">
+ Did you know that good-looking forms are more likely to convert more responses than ordinary ones? On
+ OpnForm, you can
+ customize your form design to the tiniest detail and match your brand image with your forms.
+ </p>
+ </div>
+ </div>
+
+ <div class="flex flex-col lg:flex-row lg:items-center lg:justify-between gap-8 lg:gap-12">
+ <img class="w-full lg:flex-1 bg-gray-300 lg:shrink-0 rounded-2xl ring-1 ring-gray-200 shadow-sm"
+ src="/img/pages/ai_form_builder/step-3.svg" alt="">
+
+
+ <div
+ class="w-16 h-16 rounded-full bg-blue-50 border-2 border-blue-200 hidden xl:inline-flex items-center justify-center text-blue-600 text-2xl font-semibold leading-none">
+ 3
+ </div>
+
+ <div class="lg:flex-1 lg:shrink-0">
+ <img class="w-auto h-16 hidden lg:block" src="/img/pages/ai_form_builder/icon-share.svg" alt="">
+
+ <h3 class="text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900 lg:mt-8">
+ Share your forms anywhere
+ </h3>
+ <p class="text-base font-medium leading-7 sm:text-lg sm:leading-8 text-gray-500 mt-4">
+ You can share your forms anywhere using their unique weblink or embed them on your landing pages
+ seamlessly.
+ Furthermore, you can adjust your form’s privacy settings in order to reach the targeted audience and
+ prevent others from
+ viewing your form.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+ <!-- END HOW IT WORKS -->
+
+ <!-- START EXAMPLES -->
+<!-- <section class="bg-gray-50 py-12 sm:py-16 lg:py-20 xl:py-24">-->
+<!-- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">-->
+<!-- <div class="text-center max-w-3xl mx-auto">-->
+<!-- <h2 class="text-sm font-semibold text-blue-600">-->
+<!-- Examples-->
+<!-- </h2>-->
+<!-- <p-->
+<!-- class="text-3xl mt-4 sm:text-4xl lg:text-5xl font-semibold text-gray-900 tracking-tight lg:leading-tight">-->
+<!-- What our user has created-->
+<!-- </p>-->
+<!-- <p class="text-gray-500 text-base leading-7 sm:text-lg sm:leading-8 font-medium mt-4">-->
+<!-- Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint. Velit officia consequat duis-->
+<!-- enim velit-->
+<!-- mollit.-->
+<!-- </p>-->
+<!-- </div>-->
+
+<!-- <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 mt-8 sm:mt-12 lg:mt-16">-->
+<!-- <div-->
+<!-- class="bg-white overflow-hidden rounded-2xl ring-1 ring-gray-200 shadow-sm hover:shadow-lg hover:-translate-y-2 transition-all duration-150">-->
+<!-- <img class="w-full" src="/img/pages/ai_form_builder/examples-placeholder.png" alt="">
+-->
+<!-- <div class="px-4 py-5 sm:p-6">-->
+<!-- <h3 class="text-lg font-semibold text-gray-900">-->
+<!-- Example 1-->
+<!-- </h3>-->
+<!-- <p class="text-base font-medium text-gray-500 mt-2 line-clamp-2">-->
+<!-- Nulla Lorem mollit cupidatat irure. Laborum magna nulla duis ullamco cillum dolor-->
+<!-- </p>-->
+<!-- </div>-->
+<!-- </div>-->
+
+<!-- <div-->
+<!-- class="bg-white overflow-hidden rounded-2xl ring-1 ring-gray-200 shadow-sm hover:shadow-lg hover:-translate-y-2 transition-all duration-150">-->
+<!-- <img class="w-full" src="/img/pages/ai_form_builder/examples-placeholder.png" alt="">
+-->
+<!-- <div class="px-4 py-5 sm:p-6">-->
+<!-- <h3 class="text-lg font-semibold text-gray-900">-->
+<!-- Example 2-->
+<!-- </h3>-->
+<!-- <p class="text-base font-medium text-gray-500 mt-2 line-clamp-2">-->
+<!-- Nulla Lorem mollit cupidatat irure. Laborum magna nulla duis ullamco cillum dolor-->
+<!-- </p>-->
+<!-- </div>-->
+<!-- </div>-->
+
+<!-- <div-->
+<!-- class="bg-white overflow-hidden rounded-2xl ring-1 ring-gray-200 shadow-sm hover:shadow-lg hover:-translate-y-2 transition-all duration-150">-->
+<!-- <img class="w-full" src="/img/pages/ai_form_builder/examples-placeholder.png" alt="">
+-->
+<!-- <div class="px-4 py-5 sm:p-6">-->
+<!-- <h3 class="text-lg font-semibold text-gray-900">-->
+<!-- Example 3-->
+<!-- </h3>-->
+<!-- <p class="text-base font-medium text-gray-500 mt-2 line-clamp-2">-->
+<!-- Nulla Lorem mollit cupidatat irure. Laborum magna nulla duis ullamco cillum dolor-->
+<!-- </p>-->
+<!-- </div>-->
+<!-- </div>-->
+
+<!-- <div-->
+<!-- class="bg-white overflow-hidden rounded-2xl ring-1 ring-gray-200 shadow-sm hover:shadow-lg hover:-translate-y-2 transition-all duration-150">-->
+<!-- <img class="w-full" src="/img/pages/ai_form_builder/examples-placeholder.png" alt="">
+-->
+<!-- <div class="px-4 py-5 sm:p-6">-->
+<!-- <h3 class="text-lg font-semibold text-gray-900">-->
+<!-- Example 4-->
+<!-- </h3>-->
+<!-- <p class="text-base font-medium text-gray-500 mt-2 line-clamp-2">-->
+<!-- Nulla Lorem mollit cupidatat irure. Laborum magna nulla duis ullamco cillum dolor-->
+<!-- </p>-->
+<!-- </div>-->
+<!-- </div>-->
+<!-- </div>-->
+
+<!--&lt;!&ndash; <hr class="mt-12 border-gray-200 sm:mt-16">&ndash;&gt;-->
+
+<!--&lt;!&ndash; <div class="max-w-2xl mx-auto mt-12 text-center sm:mt-16">&ndash;&gt;-->
+<!--&lt;!&ndash; <h4 class="text-2xl font-semibold tracking-tight text-gray-900 sm:text-3xl lg:text-4xl">&ndash;&gt;-->
+<!--&lt;!&ndash; Ready to level-up?&ndash;&gt;-->
+<!--&lt;!&ndash; </h4>&ndash;&gt;-->
+<!--&lt;!&ndash; <p class="mt-4 text-base leading-7 sm:text-xl sm:leading-9 font-medium text-gray-500">&ndash;&gt;-->
+<!--&lt;!&ndash; Save time and effortlessly create forms with OpnForm&ndash;&gt;-->
+<!--&lt;!&ndash; </p>&ndash;&gt;-->
+
+<!--&lt;!&ndash; <div class="mt-8 flex justify-center">&ndash;&gt;-->
+<!--&lt;!&ndash; <v-button v-if="!authenticated" class="mr-1" :to="{ name: 'forms.create.guest' }" :arrow="true">&ndash;&gt;-->
+<!--&lt;!&ndash; Get started for free&ndash;&gt;-->
+<!--&lt;!&ndash; </v-button>&ndash;&gt;-->
+<!--&lt;!&ndash; <v-button v-else class="mr-1" :to="{ name: 'forms.create' }" :arrow="true">&ndash;&gt;-->
+<!--&lt;!&ndash; Get started for free&ndash;&gt;-->
+<!--&lt;!&ndash; </v-button>&ndash;&gt;-->
+<!--&lt;!&ndash; </div>&ndash;&gt;-->
+
+<!--&lt;!&ndash; <ul&ndash;&gt;-->
+<!--&lt;!&ndash; class="flex mt-8 sm:mt-12 text-sm font-medium text-gray-900 items-center justify-center flex-wrap gap-x-6 gap-y-4">&ndash;&gt;-->
+<!--&lt;!&ndash; <li class="flex items-center gap-2">&ndash;&gt;-->
+<!--&lt;!&ndash; <svg aria-hidden="true" class="h-5 w-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"&ndash;&gt;-->
+<!--&lt;!&ndash; viewBox="0 0 20 20" fill="currentColor">&ndash;&gt;-->
+<!--&lt;!&ndash; <path fill-rule="evenodd"&ndash;&gt;-->
+<!--&lt;!&ndash; d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"&ndash;&gt;-->
+<!--&lt;!&ndash; clip-rule="evenodd" />&ndash;&gt;-->
+<!--&lt;!&ndash; </svg>&ndash;&gt;-->
+<!--&lt;!&ndash; No design skills required&ndash;&gt;-->
+<!--&lt;!&ndash; </li>&ndash;&gt;-->
+
+<!--&lt;!&ndash; <li class="flex items-center gap-2">&ndash;&gt;-->
+<!--&lt;!&ndash; <svg aria-hidden="true" class="h-5 w-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"&ndash;&gt;-->
+<!--&lt;!&ndash; viewBox="0 0 20 20" fill="currentColor">&ndash;&gt;-->
+<!--&lt;!&ndash; <path fill-rule="evenodd"&ndash;&gt;-->
+<!--&lt;!&ndash; d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"&ndash;&gt;-->
+<!--&lt;!&ndash; clip-rule="evenodd" />&ndash;&gt;-->
+<!--&lt;!&ndash; </svg>&ndash;&gt;-->
+<!--&lt;!&ndash; Setup in minutes&ndash;&gt;-->
+<!--&lt;!&ndash; </li>&ndash;&gt;-->
+
+<!--&lt;!&ndash; <li class="flex items-center gap-2">&ndash;&gt;-->
+<!--&lt;!&ndash; <svg aria-hidden="true" class="h-5 w-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"&ndash;&gt;-->
+<!--&lt;!&ndash; viewBox="0 0 20 20" fill="currentColor">&ndash;&gt;-->
+<!--&lt;!&ndash; <path fill-rule="evenodd"&ndash;&gt;-->
+<!--&lt;!&ndash; d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"&ndash;&gt;-->
+<!--&lt;!&ndash; clip-rule="evenodd" />&ndash;&gt;-->
+<!--&lt;!&ndash; </svg>&ndash;&gt;-->
+<!--&lt;!&ndash; It's free&ndash;&gt;-->
+<!--&lt;!&ndash; </li>&ndash;&gt;-->
+<!--&lt;!&ndash; </ul>&ndash;&gt;-->
+<!--&lt;!&ndash; </div>&ndash;&gt;-->
+<!-- </div>-->
+<!-- </section>-->
+ <!-- END EXAMPLES -->
+
+ <!-- START TESTIMONIALS -->
+<!-- <section class="bg-white py-12 sm:py-16 lg:py-20 xl:py-24">-->
+<!-- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">-->
+<!-- <div class="text-center max-w-3xl mx-auto">-->
+<!-- <h2 class="text-sm font-semibold text-blue-600">-->
+<!-- Customer Testimonials-->
+<!-- </h2>-->
+<!-- <p-->
+<!-- class="text-3xl mt-4 sm:text-4xl lg:text-5xl font-semibold text-gray-900 tracking-tight lg:leading-tight">-->
+<!-- See what people are saying-->
+<!-- </p>-->
+<!-- <p class="text-gray-500 text-base leading-7 sm:text-lg sm:leading-8 font-medium mt-4">-->
+<!-- These are the stories of our customers who have joined us with great pleasure when using this crazy-->
+<!-- feature.-->
+<!-- </p>-->
+<!-- </div>-->
+<!-- </div>-->
+<!-- </section>-->
+ <!-- END TESTIMONIALS -->
+
+ <!-- START FAQS -->
+<!-- <section class="bg-white py-12 sm:py-16 lg:py-20 xl:py-24 border-t border-gray-200">-->
+<!-- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">-->
+<!-- <div class="text-center max-w-3xl mx-auto">-->
+<!-- <h2 class="text-3xl sm:text-4xl lg:text-5xl font-semibold text-gray-900 tracking-tight lg:leading-tight">-->
+<!-- Frequently Asked Questions-->
+<!-- </h2>-->
+<!-- <p class="text-gray-500 text-base leading-7 sm:text-lg sm:leading-8 font-medium mt-4">-->
+<!-- We've compiled a list of the most common questions we get asked.-->
+<!-- </p>-->
+<!-- </div>-->
+
+<!-- <div class="mt-12 sm:mt-16 lg:mt-20">-->
+<!-- <dl class="gap-y-12 grid grid-cols-1 sm:grid-cols-2 sm:gap-x-8 sm:gap-y-16 lg:gap-x-10">-->
+<!-- <div>-->
+<!-- <dt class="sm:text-lg text-base leading-7 font-medium sm:leading-8 text-gray-900">-->
+<!-- What's the best thing about Switzerland?-->
+<!-- </dt>-->
+<!-- <dd class="mt-2 text-base font-medium leading-7 text-gray-500">-->
+<!-- I don't know, but the flag is a big plus. Lorem ipsum dolor sit amet consectetur adipisicing elit.-->
+<!-- Quas cupiditate-->
+<!-- laboriosam fugiat.-->
+<!-- </dd>-->
+<!-- </div>-->
+
+<!-- <div>-->
+<!-- <dt class="sm:text-lg text-base leading-7 font-medium sm:leading-8 text-gray-900">-->
+<!-- How do you make holy water?-->
+<!-- </dt>-->
+<!-- <dd class="mt-2 text-base font-medium leading-7 text-gray-500">-->
+<!-- You boil the hell out of it. Lorem ipsum dolor sit amet consectetur adipisicing elit. Magnam aut-->
+<!-- tempora vitae odio-->
+<!-- inventore fuga aliquam nostrum quod porro. Delectus quia facere id sequi expedita natus.-->
+<!-- </dd>-->
+<!-- </div>-->
+
+<!-- <div>-->
+<!-- <dt class="sm:text-lg text-base leading-7 font-medium sm:leading-8 text-gray-900">-->
+<!-- What do you call someone with no body and no nose?-->
+<!-- </dt>-->
+<!-- <dd class="mt-2 text-base font-medium leading-7 text-gray-500">-->
+<!-- Nobody knows. Lorem ipsum dolor sit amet consectetur adipisicing elit. Culpa, voluptas ipsa quia-->
+<!-- excepturi, quibusdam-->
+<!-- natus exercitationem sapiente tempore labore voluptatem.-->
+<!-- </dd>-->
+<!-- </div>-->
+
+<!-- <div>-->
+<!-- <dt class="sm:text-lg text-base leading-7 font-medium sm:leading-8 text-gray-900">-->
+<!-- Why do you never see elephants hiding in trees?-->
+<!-- </dt>-->
+<!-- <dd class="mt-2 text-base font-medium leading-7 text-gray-500">-->
+<!-- Because they're so good at it. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas-->
+<!-- cupiditate laboriosam-->
+<!-- fugiat.-->
+<!-- </dd>-->
+<!-- </div>-->
+
+<!-- <div>-->
+<!-- <dt class="sm:text-lg text-base leading-7 font-medium sm:leading-8 text-gray-900">-->
+<!-- Why can't you hear a pterodactyl go to the bathroom?-->
+<!-- </dt>-->
+<!-- <dd class="mt-2 text-base font-medium leading-7 text-gray-500">-->
+<!-- Because the pee is silent. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam, quas-->
+<!-- voluptatibus ex culpa-->
+<!-- ipsum, aspernatur blanditiis fugiat ullam magnam suscipit deserunt illum natus facilis atque vero-->
+<!-- consequatur! Quisquam,-->
+<!-- debitis error.-->
+<!-- </dd>-->
+<!-- </div>-->
+
+<!-- <div>-->
+<!-- <dt class="sm:text-lg text-base leading-7 font-medium sm:leading-8 text-gray-900">-->
+<!-- Why did the invisible man turn down the job offer?-->
+<!-- </dt>-->
+<!-- <dd class="mt-2 text-base font-medium leading-7 text-gray-500">-->
+<!-- He couldn't see himself doing it. Lorem ipsum dolor sit, amet consectetur adipisicing elit. Eveniet-->
+<!-- perspiciatis-->
+<!-- officiis corrupti tenetur. Temporibus ut voluptatibus, perferendis sed unde rerum deserunt eius.-->
+<!-- </dd>-->
+<!-- </div>-->
+<!-- </dl>-->
+<!-- </div>-->
+<!-- </div>-->
+<!-- </section>-->
+ <!-- END FAQS -->
+
+ <!-- START CTA -->
+ <section class="bg-gradient-to-b from-gray-100 to-white py-12 sm:py-16 lg:pt-20 xl:pt-24">
+ <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
+ <div class="flex items-center justify-center gap-8">
+ <img class="w-auto h-12" src="/img/pages/ai_form_builder/icon-email-input.svg" alt="">
+
+ <img class="w-auto h-12" src="/img/pages/ai_form_builder/icon-radio-buttons.svg" alt="">
+
+ <img class="w-auto h-12" src="/img/pages/ai_form_builder/icon-textarea.svg" alt="">
+
+ </div>
+
+ <div class="text-center max-w-3xl mx-auto mt-8 sm:mt-12">
+ <h2 class="text-3xl sm:text-4xl lg:text-5xl font-semibold text-gray-900 tracking-tight lg:leading-tight">
+ Create beautiful forms and share them anywhere
+ </h2>
+ <p class="mt-4 sm:mt-5 text-base leading-7 sm:text-xl sm:leading-9 font-medium text-gray-500">
+ It takes seconds, you don't need to know how to code and <span class="text-blue-600">it's free</span>.
+ </p>
+
+ <div class="mt-8 flex justify-center">
+ <v-button v-if="!authenticated" class="mr-1" :to="{ name: 'forms.create.guest' }" :arrow="true">
+ Get started for free
+ </v-button>
+ <v-button v-else class="mr-1" :to="{ name: 'forms.create' }" :arrow="true">
+ Get started for free
+ </v-button>
+ </div>
+
+ <ul
+ class="flex mt-8 sm:mt-12 text-sm font-medium text-gray-900 items-center justify-center flex-wrap gap-x-6 gap-y-4">
+ <li class="flex items-center gap-2">
+ <svg aria-hidden="true" class="h-5 w-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 20 20" fill="currentColor">
+ <path fill-rule="evenodd"
+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
+ clip-rule="evenodd" />
+ </svg>
+ No design skills required
+ </li>
+
+ <li class="flex items-center gap-2">
+ <svg aria-hidden="true" class="h-5 w-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 20 20" fill="currentColor">
+ <path fill-rule="evenodd"
+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
+ clip-rule="evenodd" />
+ </svg>
+ Setup in minutes
+ </li>
+
+ <li class="flex items-center gap-2">
+ <svg aria-hidden="true" class="h-5 w-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 20 20" fill="currentColor">
+ <path fill-rule="evenodd"
+ d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
+ clip-rule="evenodd" />
+ </svg>
+ Free plan available
+ </li>
+ </ul>
+ </div>
+ </div>
+ </section>
+ <!-- END CTA -->
+
+ <open-form-footer class="dark:border-t border-t"/>
+
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../stores/auth'
+import OpenFormFooter from '../components/pages/OpenFormFooter.vue'
+import SeoMeta from '../mixins/seo-meta.js'
+
+export default {
+ components: {OpenFormFooter},
+ layout: 'default',
+ mixins: [SeoMeta],
+
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ authenticated : computed(() => authStore.check),
+ }
+ },
+
+ data: () => ({
+ title: 'OpnForm',
+ metaTitle: 'AI form builder for free',
+ }),
+
+ mounted() {},
+
+ methods: {},
+
+ computed: {
+ configLinks: () => this.$config.links
+ }
+}
+</script>
+
+<style lang="scss" scoped>
+
+.customer-logo-container {
+ max-width: 130px;
+ width: 100%;
+}
+
+.ticks {
+ color:#2563eb;
+}
+
+@screen md {
+ #macbook-video {
+ position: absolute;
+ max-width: 84.8% !important;
+ right: 0px;
+ top: 6.8%;
+ }
+}
+</style>
diff --git a/client/pages/auth/password/email.vue b/client/pages/auth/password/email.vue
new file mode 100644
index 000000000..7f049592e
--- /dev/null
+++ b/client/pages/auth/password/email.vue
@@ -0,0 +1,56 @@
+<template>
+ <div>
+ <div class="flex mt-6 mb-10">
+ <div class="w-full md:w-2/3 md:mx-auto md:max-w-md px-4">
+ <h1 class="my-6">
+ Reset password
+ </h1>
+ <form @submit.prevent="send" @keydown="form.onKeydown($event)">
+ <alert-success :form="form" :message="status" class="mb-4" />
+
+ <!-- Email -->
+ <text-input name="email" :form="form" label="Email" :required="true" />
+
+ <!-- Submit Button -->
+ <v-button class="w-full" :loading="form.busy">
+ Send Password Reset Link
+ </v-button>
+ </form>
+ </div>
+ </div>
+ <open-form-footer />
+ </div>
+</template>
+
+<script>
+import Form from 'vform'
+import OpenFormFooter from '../../../components/pages/OpenFormFooter.vue'
+import SeoMeta from '../../../mixins/seo-meta.js'
+
+export default {
+ components: {
+ OpenFormFooter
+ },
+
+ mixins: [SeoMeta],
+ middleware: 'guest',
+
+ data: () => ({
+ metaTitle: 'Reset Password',
+ status: '',
+ form: new Form({
+ email: ''
+ })
+ }),
+
+ methods: {
+ async send () {
+ const { data } = await this.form.post('/api/password/email')
+
+ this.status = data.status
+
+ this.form.reset()
+ }
+ }
+}
+</script>
diff --git a/client/pages/auth/password/reset.vue b/client/pages/auth/password/reset.vue
new file mode 100644
index 000000000..10bfcf0cf
--- /dev/null
+++ b/client/pages/auth/password/reset.vue
@@ -0,0 +1,74 @@
+<template>
+ <div>
+ <div class="flex mt-6 mb-10">
+ <div class="w-full md:w-2/3 md:mx-auto md:max-w-md px-4">
+ <h1 class="my-6">
+ Reset Password
+ </h1>
+ <form @submit.prevent="reset" @keydown="form.onKeydown($event)">
+ <alert-success class="mb-4" :form="form" :message="status" />
+
+ <!-- Email -->
+ <text-input name="email" :form="form" label="Email" :required="true" />
+
+ <!-- Password -->
+ <text-input class="mt-8" native-type="password"
+ name="password" :form="form" label="Password" :required="true"
+ />
+
+ <!-- Password Confirmation-->
+ <text-input class="mt-8" native-type="password"
+ name="password_confirmation" :form="form" label="Confirm Password" :required="true"
+ />
+
+ <!-- Submit Button -->
+ <v-button class="w-full" :loading="form.busy">
+ Reset Password
+ </v-button>
+ </form>
+ </div>
+ </div>
+ <open-form-footer />
+ </div>
+</template>
+
+<script>
+import Form from 'vform'
+import OpenFormFooter from '../../../components/pages/OpenFormFooter.vue'
+import SeoMeta from '../../../mixins/seo-meta.js'
+
+export default {
+ components: {
+ OpenFormFooter
+ },
+
+ mixins: [SeoMeta],
+ middleware: 'guest',
+
+ data: () => ({
+ metaTitle: 'Reset Password',
+ status: '',
+ form: new Form({
+ token: '',
+ email: '',
+ password: '',
+ password_confirmation: ''
+ })
+ }),
+
+ created () {
+ this.form.email = this.$route.query.email
+ this.form.token = this.$route.params.token
+ },
+
+ methods: {
+ async reset () {
+ const { data } = await this.form.post('/api/password/reset')
+
+ this.status = data.status
+
+ this.form.reset()
+ }
+ }
+}
+</script>
diff --git a/client/pages/auth/verification/resend.vue b/client/pages/auth/verification/resend.vue
new file mode 100644
index 000000000..1236b8ff0
--- /dev/null
+++ b/client/pages/auth/verification/resend.vue
@@ -0,0 +1,58 @@
+<template>
+ <div class="row">
+ <div class="col-lg-8 m-auto px-4">
+ <h1 class="my-6">
+ Verify Email
+ </h1>
+ <form @submit.prevent="send" @keydown="form.onKeydown($event)">
+ <alert-success :form="form" :message="status" />
+
+ <!-- Email -->
+ <text-input name="email" :form="form" label="Email" :required="true" />
+
+ <!-- Submit Button -->
+ <div class="form-group row">
+ <div class="col-md-9 ml-md-auto">
+ <v-button :loading="form.busy">
+ Send Verification Link
+ </v-button>
+ </div>
+ </div>
+ </form>
+ </div>
+ </div>
+</template>
+
+<script>
+import Form from 'vform'
+import SeoMeta from '../../../mixins/seo-meta.js'
+
+export default {
+ mixins: [SeoMeta],
+ middleware: 'guest',
+
+ data: () => ({
+ metaTitle: 'Verify Email',
+ status: '',
+ form: new Form({
+ email: ''
+ })
+ }),
+
+ created () {
+ if (this.$route.query.email) {
+ this.form.email = this.$route.query.email
+ }
+ },
+
+ methods: {
+ async send () {
+ const { data } = await this.form.post('/api/email/resend')
+
+ this.status = data.status
+
+ this.form.reset()
+ }
+ }
+}
+</script>
diff --git a/client/pages/auth/verification/verify.vue b/client/pages/auth/verification/verify.vue
new file mode 100644
index 000000000..a32cc1300
--- /dev/null
+++ b/client/pages/auth/verification/verify.vue
@@ -0,0 +1,59 @@
+<template>
+ <div class="row">
+ <div class="col-lg-8 m-auto px-4">
+ <h1 class="my-6">
+ Verify Email
+ </h1>
+ <template v-if="success">
+ <div class="alert alert-success" role="alert">
+ {{ success }}
+ </div>
+
+ <router-link :to="{ name: 'login' }" class="btn btn-primary">
+ Login
+ </router-link>
+ </template>
+ <template v-else>
+ <div class="alert alert-danger" role="alert">
+ {{ error || 'Failed to verify email.' }}
+ </div>
+
+ <router-link :to="{ name: 'verification.resend' }" class="small float-right">
+ Resend Verification Link?
+ </router-link>
+ </template>
+ </div>
+ </div>
+</template>
+
+<script>
+import axios from 'axios'
+import SeoMeta from '../../../mixins/seo-meta.js'
+
+const qs = (params) => Object.keys(params).map(key => `${key}=${params[key]}`).join('&')
+
+export default {
+ mixins: [SeoMeta],
+ async beforeRouteEnter (to, from, next) {
+ try {
+ const { data } = await axios.post(`/api/email/verify/${to.params.id}?${qs(to.query)}`)
+
+ next(vm => {
+ vm.success = data.status
+ })
+ } catch (e) {
+ next(vm => {
+ vm.error = e.response.data.status
+ })
+ }
+ },
+
+ middleware: 'guest',
+
+ data: () => ({
+ metaTitle: 'Verify Email',
+ error: '',
+ success: ''
+ })
+}
+</script>
diff --git a/client/pages/community/students-academics-ngos.vue b/client/pages/community/students-academics-ngos.vue
new file mode 100644
index 000000000..6cc997b7b
--- /dev/null
+++ b/client/pages/community/students-academics-ngos.vue
@@ -0,0 +1,35 @@
+<template>
+ <div>
+ <div class="mt-6 flex flex-col">
+ <div class="w-full md:max-w-3xl md:mx-auto px-4 md:pt-16 pb-10">
+ <h1 class="sm:text-5xl mb-4">
+ OpnForm Discount for Students, Academics and NGOs
+ </h1>
+ <notion-page page-id="c65a499d39834e0b8978556a8d7af867" />
+ </div>
+ </div>
+ <open-form-footer />
+ </div>
+</template>
+
+<script>
+import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
+
+export default {
+ components: { OpenFormFooter },
+ layout: 'default',
+
+ props: {
+ metaTitle: { type: String, default: 'OpnForm Discount for Students, Academics and NGOs' },
+ metaDescription: { type: String, default: 'If you are a student, an academic of if you work for a NGO we are happy to offer you a 40% discount on your OpnForm Pro subscription.' }
+ },
+
+ data: () => ({
+ }),
+
+ computed: {},
+
+ mounted () {
+ }
+}
+</script>
diff --git a/client/pages/errors/404.vue b/client/pages/errors/404.vue
new file mode 100644
index 000000000..942b34af8
--- /dev/null
+++ b/client/pages/errors/404.vue
@@ -0,0 +1,24 @@
+<template>
+ <div class="flex mt-6">
+ <div class="w-full md:w-2/3 md:mx-auto md:max-w-md">
+ <img alt="Nice plant as we have nothing else to show!" src="/img/icons/plant.png" class="w-56 mb-5">
+
+
+ <h1 class="mb-4 font-semibold text-3xl text-gray-900">
+ Page Not Found
+ </h1>
+
+ <div class="links">
+ <router-link :to="{ name: 'index' }" class="hover:underline text-gray-700">
+ Go Home
+ </router-link>
+ </div>
+ </div>
+ </div>
+</template>
+
+<script>
+export default {
+ name: 'NotFound'
+}
+</script>
diff --git a/client/pages/forms/create-guest.vue b/client/pages/forms/create-guest.vue
new file mode 100644
index 000000000..c38a194b7
--- /dev/null
+++ b/client/pages/forms/create-guest.vue
@@ -0,0 +1,153 @@
+<template>
+ <div class="flex flex-wrap flex-col">
+ <transition v-if="stateReady" name="fade" mode="out-in">
+ <div key="2">
+ <create-form-base-modal :show="showInitialFormModal" @form-generated="formGenerated"
+ @close="showInitialFormModal=false"
+ />
+ <form-editor v-if="!workspacesLoading" ref="editor"
+ class="w-full flex flex-grow"
+ :error="error"
+ :is-guest="isGuest"
+ @openRegister="openRegister"
+ />
+ <div v-else class="text-center mt-4 py-6">
+ <loader class="h-6 w-6 text-nt-blue mx-auto" />
+ </div>
+ </div>
+ </transition>
+
+ <quick-register :show-register-modal="registerModal" @close="registerModal=false" @reopen="registerModal=true"
+ @afterLogin="afterLogin"
+ />
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import Form from 'vform'
+import { useTemplatesStore } from '../../stores/templates'
+import { useWorkingFormStore } from '../../stores/working_form'
+import { useWorkspacesStore } from '../../stores/workspaces'
+import QuickRegister from '~/components/pages/auth/components/QuickRegister.vue'
+import initForm from '../../mixins/form_editor/initForm.js'
+import SeoMeta from '../../mixins/seo-meta.js'
+import CreateFormBaseModal from '../../components/pages/forms/create/CreateFormBaseModal.vue'
+
+const loadTemplates = function () {
+ const templatesStore = useTemplatesStore()
+ templatesStore.startLoading()
+ templatesStore.loadIfEmpty().then(() => {
+ templatesStore.stopLoading()
+ })
+}
+
+export default {
+ name: 'CreateFormGuest',
+ components: {
+ QuickRegister, CreateFormBaseModal
+ },
+ mixins: [initForm, SeoMeta],
+ middleware: 'guest',
+
+ beforeRouteEnter (to, from, next) {
+ loadTemplates()
+ next()
+ },
+
+ setup () {
+ const templatesStore = useTemplatesStore()
+ const workingFormStore = useWorkingFormStore()
+ const workspacesStore = useWorkspacesStore()
+ return {
+ templatesStore,
+ workingFormStore,
+ workspacesStore,
+ workspaces : computed(() => workspacesStore.content),
+ workspacesLoading : computed(() => workspacesStore.loading)
+ }
+ },
+
+ data () {
+ return {
+ metaTitle: 'Create a new Form as Guest',
+ stateReady: false,
+ loading: false,
+ error: '',
+ registerModal: false,
+ isGuest: true,
+ showInitialFormModal: false
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ workspace () {
+ return this.workspacesStore.getCurrent()
+ }
+ },
+
+ watch: {
+ workspace () {
+ if (this.workspace) {
+ this.form.workspace_id = this.workspace.id
+ }
+ }
+ },
+
+ mounted () {
+ // Set as guest user
+ const guestWorkspace = {
+ id: null,
+ name: 'Guest Workspace',
+ is_enterprise: false,
+ is_pro: false
+ }
+ this.workspacesStore.set([guestWorkspace])
+ this.workspacesStore.setCurrentId(guestWorkspace.id)
+
+ this.initForm()
+ if (this.$route.query.template !== undefined && this.$route.query.template) {
+ const template = this.templatesStore.getBySlug(this.$route.query.template)
+ if (template && template.structure) {
+ this.form = new Form({ ...this.form.data(), ...template.structure })
+ }
+ } else {
+ // No template loaded, ask how to start
+ this.showInitialFormModal = true
+ }
+ this.closeAlert()
+ this.stateReady = true
+ },
+
+ created () {},
+ unmounted () {},
+
+ methods: {
+ openRegister () {
+ this.registerModal = true
+ },
+ afterLogin () {
+ this.registerModal = false
+ this.isGuest = false
+ this.workspacesStore.load()
+ setTimeout(() => {
+ if (this.$refs.editor) {
+ this.$refs.editor.saveFormCreate()
+ }
+ }, 500)
+ },
+ formGenerated (form) {
+ this.form = new Form({ ...this.form.data(), ...form })
+ }
+ }
+}
+</script>
diff --git a/client/pages/forms/create.vue b/client/pages/forms/create.vue
new file mode 100644
index 000000000..07510d9d6
--- /dev/null
+++ b/client/pages/forms/create.vue
@@ -0,0 +1,164 @@
+<template>
+ <div class="flex flex-wrap flex-col">
+ <transition v-if="stateReady" name="fade" mode="out-in">
+ <div key="2">
+ <create-form-base-modal :show="showInitialFormModal" @form-generated="formGenerated"
+ @close="showInitialFormModal=false"
+ />
+ <form-editor v-if="!workspacesLoading" ref="editor"
+ class="w-full flex flex-grow"
+ :error="error"
+ @on-save="formInitialHash=null"
+ />
+ <div v-else class="text-center mt-4 py-6">
+ <loader class="h-6 w-6 text-nt-blue mx-auto" />
+ </div>
+ </div>
+ </transition>
+ </div>
+</template>
+
+<script>
+import Form from 'vform'
+import { computed } from 'vue'
+import { useAuthStore } from '../../stores/auth'
+import { useTemplatesStore } from '../../stores/templates'
+import { useWorkingFormStore } from '../../stores/working_form'
+import { useWorkspacesStore } from '../../stores/workspaces'
+import initForm from '../../mixins/form_editor/initForm.js'
+import SeoMeta from '../../mixins/seo-meta.js'
+import CreateFormBaseModal from '../../components/pages/forms/create/CreateFormBaseModal.vue'
+
+const loadTemplates = function () {
+ const templatesStore = useTemplatesStore()
+ templatesStore.startLoading()
+ templatesStore.loadIfEmpty().then(() => {
+ templatesStore.stopLoading()
+ })
+}
+
+export default {
+ name: 'CreateForm',
+ components: { CreateFormBaseModal },
+
+ mixins: [initForm, SeoMeta],
+ middleware: 'auth',
+
+ beforeRouteEnter (to, from, next) {
+ loadTemplates()
+ next()
+ },
+
+ beforeRouteLeave (to, from, next) {
+ if (this.isDirty()) {
+ return this.alertConfirm('Changes you made may not be saved. Are you sure want to leave?', () => {
+ window.onbeforeunload = null
+ next()
+ }, () => {})
+ }
+ next()
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ const templatesStore = useTemplatesStore()
+ const workingFormStore = useWorkingFormStore()
+ const workspacesStore = useWorkspacesStore()
+ return {
+ templatesStore,
+ workingFormStore,
+ workspacesStore,
+ user: computed(() => authStore.user),
+ workspaces : computed(() => workspacesStore.content),
+ workspacesLoading : computed(() => workspacesStore.loading)
+ }
+ },
+
+ data () {
+ return {
+ metaTitle: 'Create a new Form',
+ stateReady: false,
+ loading: false,
+ error: '',
+ showInitialFormModal: false,
+ formInitialHash: null
+ }
+ },
+
+ computed: {
+ form: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ workspace () {
+ return this.workspacesStore.getCurrent()
+ }
+ },
+
+ watch: {
+ workspace () {
+ if (this.workspace) {
+ this.form.workspace_id = this.workspace.id
+ }
+ },
+ user () {
+ this.stateReady = true
+ }
+ },
+
+ mounted () {
+ window.onbeforeunload = () => {
+ if (this.isDirty()) {
+ return false
+ }
+ }
+
+ this.initForm()
+ this.formInitialHash = this.hashString(JSON.stringify(this.form.data()))
+ if (this.$route.query.template !== undefined && this.$route.query.template) {
+ const template = this.templatesStore.getBySlug(this.$route.query.template)
+ if (template && template.structure) {
+ this.form = new Form({ ...this.form.data(), ...template.structure })
+ }
+ } else {
+ // No template loaded, ask how to start
+ this.showInitialFormModal = true
+ }
+ this.closeAlert()
+ this.workspacesStore.loadIfEmpty()
+
+ this.stateReady = this.user !== null
+ },
+
+ created () {},
+ unmounted () {},
+
+ methods: {
+ formGenerated (form) {
+ this.form = new Form({ ...this.form.data(), ...form })
+ },
+ isDirty () {
+ return !this.loading && this.formInitialHash && this.formInitialHash !== this.hashString(JSON.stringify(this.form.data()))
+ },
+ hashString (str, seed = 0) {
+ let h1 = 0xdeadbeef ^ seed
+ let h2 = 0x41c6ce57 ^ seed
+ for (let i = 0, ch; i < str.length; i++) {
+ ch = str.charCodeAt(i)
+ h1 = Math.imul(h1 ^ ch, 2654435761)
+ h2 = Math.imul(h2 ^ ch, 1597334677)
+ }
+
+ h1 = Math.imul(h1 ^ (h1 >>> 16), 2246822507) ^ Math.imul(h2 ^ (h2 >>> 13), 3266489909)
+ h2 = Math.imul(h2 ^ (h2 >>> 16), 2246822507) ^ Math.imul(h1 ^ (h1 >>> 13), 3266489909)
+
+ return 4294967296 * (2097151 & h2) + (h1 >>> 0)
+ }
+ }
+}
+</script>
diff --git a/client/pages/forms/edit.vue b/client/pages/forms/edit.vue
new file mode 100644
index 000000000..6130f22b5
--- /dev/null
+++ b/client/pages/forms/edit.vue
@@ -0,0 +1,148 @@
+<template>
+ <div class="w-full flex flex-col">
+ <form-editor v-if="pageLoaded" ref="editor"
+ :is-edit="true"
+ @on-save="formInitialHash=null"
+ />
+ <div v-else-if="!loading && error" class="mt-4 rounded-lg max-w-xl mx-auto p-6 bg-red-100 text-red-500">
+ {{ error }}
+ </div>
+ <div v-else class="text-center mt-4 py-6">
+ <loader class="h-6 w-6 text-nt-blue mx-auto" />
+ </div>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import Form from 'vform'
+import { useFormsStore } from '../../stores/forms'
+import { useWorkingFormStore } from '../../stores/working_form'
+import { useWorkspacesStore } from '../../stores/workspaces'
+import Breadcrumb from '~/components/global/Breadcrumb.vue'
+import SeoMeta from '../../mixins/seo-meta.js'
+
+const loadForms = function () {
+ const formsStore = useFormsStore()
+ const workspacesStore = useWorkspacesStore()
+ formsStore.startLoading()
+ workspacesStore.loadIfEmpty().then(() => {
+ formsStore.load(workspacesStore.currentId)
+ })
+}
+
+export default {
+ name: 'EditForm',
+ components: { Breadcrumb },
+ mixins: [SeoMeta],
+ middleware: 'auth',
+
+ beforeRouteEnter (to, from, next) {
+ const formsStore = useFormsStore()
+ const workingFormStore = useWorkingFormStore()
+ if (!formsStore.getBySlug(to.params.slug)) {
+ loadForms()
+ }
+ workingFormStore.set(null) // Reset old working form
+ next()
+ },
+
+ beforeRouteLeave (to, from, next) {
+ if (this.isDirty()) {
+ return this.alertConfirm('Changes you made may not be saved. Are you sure want to leave?', () => {
+ window.onbeforeunload = null
+ next()
+ }, () => {})
+ }
+ next()
+ },
+
+ setup () {
+ const formsStore = useFormsStore()
+ const workingFormStore = useWorkingFormStore()
+ const workspacesStore = useWorkspacesStore()
+ return {
+ formsStore,
+ workingFormStore,
+ workspacesStore,
+ formsLoading : computed(() => formsStore.loading)
+ }
+ },
+
+ data () {
+ return {
+ loading: false,
+ error: null,
+ formInitialHash: null
+ }
+ },
+
+ computed: {
+ updatedForm: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ form () {
+ return this.formsStore.getBySlug(this.$route.params.slug)
+ },
+ pageLoaded () {
+ return !this.loading && this.updatedForm !== null
+ },
+ metaTitle () {
+ return 'Edit ' + (this.form ? this.form.title : 'Your Form')
+ }
+ },
+
+ watch: {
+ form () {
+ this.updatedForm = new Form(this.form)
+ }
+ },
+
+ created () {},
+ unmounted () {},
+
+ mounted () {
+ window.onbeforeunload = () => {
+ if (this.isDirty()) {
+ return false
+ }
+ }
+
+ this.closeAlert()
+ if (!this.form) {
+ loadForms()
+ } else {
+ this.updatedForm = new Form(this.form)
+ this.formInitialHash = this.hashString(JSON.stringify(this.updatedForm.data()))
+ }
+
+ if (this.updatedForm && (!this.updatedForm.notification_settings || Array.isArray(this.updatedForm.notification_settings))) {
+ this.updatedForm.notification_settings = {}
+ }
+ },
+
+ methods: {
+ isDirty () {
+ return !this.loading && this.formInitialHash && this.formInitialHash !== this.hashString(JSON.stringify(this.updatedForm.data()))
+ },
+ hashString (str, seed = 0) {
+ let h1 = 0xdeadbeef ^ seed
+ let h2 = 0x41c6ce57 ^ seed
+ for (let i = 0, ch; i < str.length; i++) {
+ ch = str.charCodeAt(i)
+ h1 = Math.imul(h1 ^ ch, 2654435761)
+ h2 = Math.imul(h2 ^ ch, 1597334677)
+ }
+ h1 = Math.imul(h1 ^ (h1 >>> 16), 2246822507) ^ Math.imul(h2 ^ (h2 >>> 13), 3266489909)
+ h2 = Math.imul(h2 ^ (h2 >>> 16), 2246822507) ^ Math.imul(h1 ^ (h1 >>> 13), 3266489909)
+ return 4294967296 * (2097151 & h2) + (h1 >>> 0)
+ }
+ }
+}
+</script>
diff --git a/client/pages/forms/show-public.vue b/client/pages/forms/show-public.vue
new file mode 100644
index 000000000..58f8614a3
--- /dev/null
+++ b/client/pages/forms/show-public.vue
@@ -0,0 +1,221 @@
+<template>
+ <div class="flex flex-col">
+ <div v-if="form && !isIframe && (form.logo_picture || form.cover_picture)">
+ <div v-if="form.cover_picture">
+ <div id="cover-picture" class="max-h-56 w-full overflow-hidden flex items-center justify-center">
+ <img alt="Form Cover Picture" :src="form.cover_picture" class="w-full">
+ </div>
+ </div>
+ <div v-if="form.logo_picture" class="w-full p-5 relative mx-auto"
+ :class="{'pt-20':!form.cover_picture, 'md:w-3/5 lg:w-1/2 md:max-w-2xl': form.width === 'centered', 'max-w-7xl': (form.width === 'full' && !isIframe) }"
+ >
+ <img alt="Logo Picture" :src="form.logo_picture"
+ :class="{'top-5':!form.cover_picture, '-top-10':form.cover_picture}"
+ class="w-20 h-20 object-contain absolute left-5 transition-all"
+ >
+ </div>
+ </div>
+ <div class="w-full mx-auto px-4"
+ :class="{'mt-6':!isIframe, 'md:w-3/5 lg:w-1/2 md:max-w-2xl': form && (form.width === 'centered'), 'max-w-7xl': (form && form.width === 'full' && !isIframe)}"
+ >
+ <div v-if="!formLoading && !form">
+ <h1 class="mt-6" v-text="'Whoops'" />
+ <p class="mt-6">
+ Unfortunately we could not find this form. It may have been deleted by it's author.
+ </p>
+ <p class="mb-10 mt-4">
+ <router-link :to="{name:'index'}">
+ Create your form for free with OpnForm
+ </router-link>
+ </p>
+ </div>
+ <div v-else-if="formLoading">
+ <p class="text-center mt-6 p-4">
+ <loader class="h-6 w-6 text-nt-blue mx-auto" />
+ </p>
+ </div>
+ <template v-else>
+ <div v-if="recordLoading">
+ <p class="text-center mt-6 p-4">
+ <loader class="h-6 w-6 text-nt-blue mx-auto" />
+ </p>
+ </div>
+ <open-complete-form v-show="!recordLoading" ref="open-complete-form" :form="form" class="mb-10"
+ @password-entered="passwordEntered"
+ />
+ </template>
+ </div>
+ </div>
+</template>
+
+<script>
+import axios from 'axios'
+import { computed } from 'vue'
+import { useFormsStore } from '../../stores/forms'
+import { useRecordsStore } from '../../stores/records'
+import OpenCompleteForm from '../../components/open/forms/OpenCompleteForm.vue'
+import Cookies from 'js-cookie'
+import sha256 from 'js-sha256'
+import SeoMeta from '../../mixins/seo-meta.js'
+
+const isFrame = window.location !== window.parent.location || window.frameElement
+
+function handleDarkMode (form) {
+ // Dark mode
+ const body = document.body
+ if (form.dark_mode === 'dark') {
+ body.classList.add('dark')
+ } else if (form.dark_mode === 'light') {
+ body.classList.remove('dark')
+ } else if (form.dark_mode === 'auto' && isFrame) {
+ // Remove dark mode if embed in a notion basic site
+ let parentUrl
+ try {
+ parentUrl = window.location.ancestorOrigins[0]
+ } catch (e) {
+ parentUrl = (window.location !== window.parent.location)
+ ? document.referrer
+ : document.location.href
+ }
+ if (parentUrl.includes('.notion.site')) {
+ body.classList.remove('dark')
+ }
+ }
+}
+
+function handleTransparentMode (form) {
+ const isFrame = window.location !== window.parent.location || window.frameElement
+ if (!isFrame || !form.transparent_background) return
+
+ const app = document.getElementById('app')
+ app.classList.remove('bg-white')
+ app.classList.remove('dark:bg-notion-dark')
+ app.classList.add('bg-transparent')
+}
+
+function loadForm (slug) {
+ const formsStore = useFormsStore()
+ if (formsStore.loading) return
+ formsStore.startLoading()
+ return axios.get('/api/forms/' + slug).then((response) => {
+ const form = response.data
+ formsStore.set([response.data])
+
+ // Custom code injection
+ if (form.custom_code) {
+ const scriptEl = document.createRange().createContextualFragment(form.custom_code)
+ document.head.append(scriptEl)
+ }
+
+ handleDarkMode(form)
+ handleTransparentMode(form)
+
+ formsStore.stopLoading()
+ }).catch(() => {
+ formsStore.stopLoading()
+ })
+}
+
+export default {
+ components: { OpenCompleteForm },
+ mixins: [SeoMeta],
+
+ beforeRouteEnter (to, from, next) {
+ if (window.$crisp) {
+ window.$crisp.push(['do', 'chat:hide'])
+ }
+ next()
+ },
+
+ beforeRouteLeave (to, from, next) {
+ if (window.$crisp) {
+ window.$crisp.push(['do', 'chat:show'])
+ }
+ next()
+ },
+
+ setup () {
+ const formsStore = useFormsStore()
+ const recordsStore = useRecordsStore()
+ return {
+ formsStore,
+ forms : computed(() => formsStore.content),
+ formLoading : computed(() => formsStore.loading),
+ recordLoading : computed(() => recordsStore.loading)
+ }
+ },
+
+ data () {
+ return {
+ submitted: false
+ }
+ },
+
+ mounted () {
+ loadForm(this.formSlug).then(() => {
+ if (this.isIframe) return
+ // Auto focus on first input
+ const visibleElements = []
+ document.querySelectorAll('input,button,textarea,[role="button"]').forEach(ele => {
+ if (ele.offsetWidth !== 0 || ele.offsetHeight !== 0) {
+ visibleElements.push(ele)
+ }
+ })
+ if (visibleElements.length > 0) {
+ visibleElements[0].focus()
+ }
+ })
+ },
+
+ methods: {
+ passwordEntered (password) {
+ Cookies.set('password-' + this.form.slug, sha256(password), { expires: 7, sameSite: 'None', secure: true })
+ loadForm(this.formSlug).then(() => {
+ if (this.form.is_password_protected) {
+ this.$refs['open-complete-form'].addPasswordError('Invalid password.')
+ }
+ })
+ }
+ },
+
+ computed: {
+ formSlug () {
+ return this.$route.params.slug
+ },
+ form () {
+ return this.formsStore.getBySlug(this.formSlug)
+ },
+ isIframe () {
+ return window.location !== window.parent.location || window.frameElement
+ },
+ metaTitle () {
+ if(this.form && this.form.is_pro && this.form.seo_meta.page_title) {
+ return this.form.seo_meta.page_title
+ }
+ return this.form ? this.form.title : 'Create beautiful forms'
+ },
+ metaTemplate () {
+ if (this.form && this.form.is_pro && this.form.seo_meta.page_title) {
+ // Disable template if custom SEO title
+ return '%s'
+ }
+ return null
+ },
+ metaDescription () {
+ if (this.form && this.form.is_pro && this.form.seo_meta.page_description) {
+ return this.form.seo_meta.page_description
+ }
+ return (this.form && this.form.description) ? this.form.description.substring(0, 160) : null
+ },
+ metaImage () {
+ if (this.form && this.form.is_pro && this.form.seo_meta.page_thumbnail) {
+ return this.form.seo_meta.page_thumbnail
+ }
+ return (this.form && this.form.cover_picture) ? this.form.cover_picture : null
+ },
+ metaTags () {
+ return (this.form && this.form.can_be_indexed) ? [] : [{ name: 'robots', content: 'noindex' }]
+ }
+ }
+}
+</script>
diff --git a/client/pages/forms/show/index.vue b/client/pages/forms/show/index.vue
new file mode 100644
index 000000000..391871ea7
--- /dev/null
+++ b/client/pages/forms/show/index.vue
@@ -0,0 +1,270 @@
+<template>
+ <div class="bg-white">
+ <template v-if="form">
+ <div class="flex bg-gray-50">
+ <div class="w-full md:w-4/5 lg:w-3/5 md:mx-auto md:max-w-4xl px-4">
+ <div class="pt-4 pb-0">
+ <a href="#" class="flex text-blue mb-2 font-semibold text-sm" @click.prevent="goBack">
+ <svg class="w-3 h-3 text-blue mt-1 mr-1" viewBox="0 0 6 10" fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path d="M5 9L1 5L5 1" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"
+ stroke-linejoin="round"
+ />
+ </svg>
+ Go back
+ </a>
+
+ <div class="flex flex-wrap">
+ <h2 class="flex-grow text-gray-900 truncate">
+ {{ form.title }}
+ </h2>
+ <div class="flex">
+ <extra-menu :form="form" />
+
+ <v-button v-track.view_form_click="{form_id:form.id, form_slug:form.slug}" target="_blank"
+ :href="form.share_url" color="white"
+ class="mr-2 text-blue-600 hidden sm:block"
+ >
+ <svg class="w-6 h-6 inline -mt-1" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path d="M1 12C1 12 5 4 12 4C19 4 23 12 23 12C23 12 19 20 12 20C5 20 1 12 1 12Z"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ <path
+ d="M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ </v-button>
+ <v-button class="text-white" @click="openEdit">
+ <svg class="inline mr-1 -mt-1" width="18" height="17" viewBox="0 0 18 17" fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M8.99998 15.6662H16.5M1.5 15.6662H2.89545C3.3031 15.6662 3.50693 15.6662 3.69874 15.6202C3.8688 15.5793 4.03138 15.512 4.1805 15.4206C4.34869 15.3175 4.49282 15.1734 4.78107 14.8852L15.25 4.4162C15.9404 3.72585 15.9404 2.60656 15.25 1.9162C14.5597 1.22585 13.4404 1.22585 12.75 1.9162L2.28105 12.3852C1.9928 12.6734 1.84867 12.8175 1.7456 12.9857C1.65422 13.1348 1.58688 13.2974 1.54605 13.4675C1.5 13.6593 1.5 13.8631 1.5 14.2708V15.6662Z"
+ stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ Edit form
+ </v-button>
+ </div>
+ </div>
+
+ <p class="text-gray-500 text-sm">
+ <span class="pr-1">{{ form.views_count }} view{{ form.views_count > 0 ? 's' : '' }}</span>
+ <span class="pr-1">- {{ form.submissions_count }}
+ submission{{ form.submissions_count > 0 ? 's' : '' }}
+ </span>
+ <span>- Edited {{ form.last_edited_human }}</span>
+ </p>
+ <div v-if="['draft','closed'].includes(form.visibility) || (form.tags && form.tags.length > 0)"
+ class="mt-2 flex items-center flex-wrap gap-3"
+ >
+ <span v-if="form.visibility=='draft'"
+ class="inline-flex items-center rounded-full bg-yellow-100 px-2 py-1 text-xs font-medium text-yellow-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700"
+ >
+ Draft - not publicly accessible
+ </span>
+ <span v-else-if="form.visibility=='closed'"
+ class="inline-flex items-center rounded-full bg-yellow-100 px-2 py-1 text-xs font-medium text-yellow-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700"
+ >
+ Closed - won't accept new submissions
+ </span>
+ <span v-for="(tag,i) in form.tags" :key="tag"
+ class="inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700"
+ >
+ {{ tag }}
+ </span>
+ </div>
+
+ <p v-if="form.closes_at" class="text-yellow-500">
+ <span v-if="form.is_closed"> This form stopped accepting submissions on the {{
+ displayClosesDate
+ }} </span>
+ <span v-else> This form will stop accepting submissions on the {{ displayClosesDate }} </span>
+ </p>
+ <p v-if="form.max_submissions_count > 0" class="text-yellow-500">
+ <span v-if="form.max_number_of_submissions_reached"> The form is now closed because it reached its limit of {{
+ form.max_submissions_count
+ }} submissions. </span>
+ <span v-else> This form will stop accepting submissions after {{ form.max_submissions_count }} submissions. </span>
+ </p>
+
+ <form-cleanings class="mt-4" :form="form" />
+
+ <div class="border-b border-gray-200 dark:border-gray-700">
+ <ul class="flex flex-wrap -mb-px text-sm font-medium text-center">
+ <li v-for="(tab, i) in tabsList" :key="i+1" class="mr-6">
+ <router-link :to="{ name: tab.route }"
+ class="hover:no-underline inline-block py-4 rounded-t-lg border-b-2 text-gray-500 hover:text-gray-600"
+ active-class="text-blue-600 hover:text-blue-900 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500"
+ >
+ {{ tab.name }}
+ </router-link>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="flex bg-white">
+ <div class="w-full md:w-4/5 lg:w-3/5 md:mx-auto md:max-w-4xl px-4">
+ <div class="py-4">
+ <router-view v-slot="{ Component }">
+ <transition name="page" mode="out-in">
+ <component :is="Component" :form="form" />
+ </transition>
+ </router-view>
+ </div>
+ </div>
+ </div>
+ </template>
+ <div v-else-if="loading" class="text-center w-full p-5">
+ <loader class="h-6 w-6 mx-auto" />
+ </div>
+ <div v-else class="text-center w-full p-5">
+ Form not found.
+ </div>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import Form from 'vform'
+import { useAuthStore } from '../../../stores/auth'
+import { useFormsStore } from '../../../stores/forms'
+import { useWorkingFormStore } from '../../../stores/working_form'
+import { useWorkspacesStore } from '../../../stores/workspaces'
+import ProTag from '~/components/global/ProTag.vue'
+import VButton from '~/components/global/VButton.vue'
+import ExtraMenu from '../../../components/pages/forms/show/ExtraMenu.vue'
+import SeoMeta from '../../../mixins/seo-meta.js'
+import FormCleanings from '../../../components/pages/forms/show/FormCleanings.vue'
+
+const loadForms = function () {
+ const formsStore = useFormsStore()
+ const workspacesStore = useWorkspacesStore()
+ formsStore.startLoading()
+ workspacesStore.loadIfEmpty().then(() => {
+ formsStore.loadIfEmpty(workspacesStore.currentId)
+ })
+}
+
+export default {
+ name: 'ShowForm',
+ components: {
+ VButton,
+ ProTag,
+ ExtraMenu,
+ FormCleanings
+ },
+ mixins: [SeoMeta],
+
+ beforeRouteEnter (to, from, next) {
+ loadForms()
+ next()
+ },
+
+ beforeRouteLeave (to, from, next) {
+ this.workingForm = null
+ next()
+ },
+ middleware: 'auth',
+
+ setup () {
+ const authStore = useAuthStore()
+ const formsStore = useFormsStore()
+ const workingFormStore = useWorkingFormStore()
+ const workspacesStore = useWorkspacesStore()
+ return {
+ formsStore,
+ workingFormStore,
+ workspacesStore,
+ user: computed(() => authStore.user),
+ formsLoading: computed(() => formsStore.loading),
+ workspacesLoading: computed(() => workspacesStore.loading)
+ }
+ },
+
+ data () {
+ return {
+ metaTitle: 'Home',
+ tabsList: [
+ {
+ name: 'Submissions',
+ route: 'forms.show'
+ },
+ {
+ name: 'Analytics',
+ route: 'forms.show.analytics'
+ },
+ {
+ name: 'Share',
+ route: 'forms.show.share'
+ }
+ ]
+ }
+ },
+
+ computed: {
+ workingForm: {
+ get () {
+ return this.workingFormStore.content
+ },
+ /* We add a setter */
+ set (value) {
+ this.workingFormStore.set(value)
+ }
+ },
+ workspace () {
+ if (!this.form) return null
+ return this.workspacesStore.getById(this.form.workspace_id)
+ },
+ form () {
+ return this.formsStore.getBySlug(this.$route.params.slug)
+ },
+ formEndpoint: () => '/api/open/forms/{id}',
+ loading () {
+ return this.formsLoading || this.workspacesLoading
+ },
+ displayClosesDate () {
+ if (this.form.closes_at) {
+ const dateObj = new Date(this.form.closes_at)
+ return dateObj.getFullYear() + '-' +
+ String(dateObj.getMonth() + 1).padStart(2, '0') + '-' +
+ String(dateObj.getDate()).padStart(2, '0') + ' ' +
+ String(dateObj.getHours()).padStart(2, '0') + ':' +
+ String(dateObj.getMinutes()).padStart(2, '0')
+ }
+ return ''
+ }
+ },
+
+ watch: {
+ form () {
+ this.workingForm = new Form(this.form)
+ }
+ },
+
+ mounted () {
+ if (this.form) {
+ this.workingForm = new Form(this.form)
+ }
+ },
+
+ methods: {
+ openCrisp () {
+ window.$crisp.push(['do', 'chat:show'])
+ window.$crisp.push(['do', 'chat:open'])
+ },
+ goBack () {
+ this.$router.push({ name: 'home' })
+ },
+ openEdit () {
+ this.$router.push({ name: 'forms.edit', params: { slug: this.form.slug } })
+ }
+ }
+}
+</script>
diff --git a/client/pages/forms/show/share.vue b/client/pages/forms/show/share.vue
new file mode 100644
index 000000000..f3781655a
--- /dev/null
+++ b/client/pages/forms/show/share.vue
@@ -0,0 +1,70 @@
+<template>
+ <div>
+ <share-link class="mt-4" :form="form" :extra-query-param="shareUrlForQueryParams" />
+
+ <embed-code class="mt-6" :form="form" :extra-query-param="shareUrlForQueryParams" />
+
+ <form-qr-code class="mt-6" :form="form" :extra-query-param="shareUrlForQueryParams" />
+
+ <advanced-form-url-settings :form="form" v-model="shareFormConfig" />
+
+ <div class="mt-6 pt-6 border-t w-full flex">
+ <regenerate-form-link class="sm:w-1/2 mr-4" :form="form" />
+
+ <url-form-prefill class="sm:w-1/2 mr-4" :form="form" :extra-query-param="shareUrlForQueryParams" />
+
+ <embed-form-as-popup-modal class="sm:w-1/2" :form="form" />
+ </div>
+ </div>
+</template>
+
+<script>
+import ShareLink from '../../../components/pages/forms/show/ShareLink.vue'
+import EmbedCode from '../../../components/pages/forms/show/EmbedCode.vue'
+import FormQrCode from '../../../components/pages/forms/show/FormQrCode.vue'
+import UrlFormPrefill from '../../../components/pages/forms/show/UrlFormPrefill.vue'
+import RegenerateFormLink from '../../../components/pages/forms/show/RegenerateFormLink.vue'
+import SeoMeta from '../../../mixins/seo-meta.js'
+import AdvancedFormUrlSettings from '../../../components/open/forms/components/AdvancedFormUrlSettings.vue'
+import EmbedFormAsPopupModal from '../../../components/pages/forms/show/EmbedFormAsPopupModal.vue'
+
+export default {
+ components: {
+ ShareLink,
+ EmbedCode,
+ FormQrCode,
+ UrlFormPrefill,
+ RegenerateFormLink,
+ AdvancedFormUrlSettings,
+ EmbedFormAsPopupModal
+ },
+ props: {
+ form: { type: Object, required: true }
+ },
+ mixins: [SeoMeta],
+
+ data: () => ({
+ shareFormConfig: {
+ hide_title: false,
+ auto_submit: false
+ }
+ }),
+
+ mounted() {},
+
+ computed: {
+ metaTitle() {
+ return (this.form) ? 'Form Share - '+this.form.title : 'Form Share'
+ },
+ shareUrlForQueryParams () {
+ let queryStr = ''
+ for (const [key, value] of Object.entries(this.shareFormConfig)) {
+ if(value && value !== 'false' && value !== false){
+ queryStr += '&' + encodeURIComponent(key) + "=" + encodeURIComponent(value)
+ }
+ }
+ return queryStr.slice(1)
+ }
+ },
+}
+</script>
diff --git a/client/pages/forms/show/stats.vue b/client/pages/forms/show/stats.vue
new file mode 100644
index 000000000..0a83fc39f
--- /dev/null
+++ b/client/pages/forms/show/stats.vue
@@ -0,0 +1,30 @@
+<template>
+ <div>
+ <h3 class="font-semibold mt-4 text-xl">
+ Form Analytics (last 30 days)
+ </h3>
+ <form-stats :form="form"/>
+ </div>
+</template>
+
+<script>
+import FormStats from '../../../components/open/forms/components/FormStats.vue'
+import SeoMeta from '../../../mixins/seo-meta.js'
+
+export default {
+ name: 'Stats',
+ components: {FormStats},
+ props: {
+ form: {type: Object, required: true},
+ },
+ mixins: [SeoMeta],
+
+ data: () => ({}),
+
+ computed: {
+ metaTitle() {
+ return (this.form ? ('Form Analytics - ' + this.form.title) : 'Form Analytics')
+ }
+ }
+}
+</script>
diff --git a/client/pages/forms/show/submissions.vue b/client/pages/forms/show/submissions.vue
new file mode 100644
index 000000000..589ed15a6
--- /dev/null
+++ b/client/pages/forms/show/submissions.vue
@@ -0,0 +1,31 @@
+<template>
+ <div id="table-page">
+ <form-submissions/>
+ </div>
+</template>
+
+<script>
+import FormSubmissions from '../../../components/open/forms/components/FormSubmissions.vue'
+import SeoMeta from '../../../mixins/seo-meta.js'
+
+export default {
+ components: {FormSubmissions},
+ props: {
+ form: {type: Object, required: true}
+ },
+ mixins: [SeoMeta],
+
+ data: () => ({}),
+
+ mounted() {
+ },
+
+ computed: {
+ metaTitle() {
+ return (this.form) ? 'Form Submissions - ' + this.form.title : 'Form Submissions'
+ },
+ },
+
+ methods: {}
+}
+</script>
diff --git a/client/pages/home.vue b/client/pages/home.vue
new file mode 100644
index 000000000..595e3d100
--- /dev/null
+++ b/client/pages/home.vue
@@ -0,0 +1,224 @@
+<template>
+ <div class="bg-white">
+ <div class="flex bg-gray-50 pb-5 border-b">
+ <div class="w-full md:w-4/5 lg:w-3/5 md:mx-auto md:max-w-4xl p-4">
+ <div class="pt-4 pb-0">
+ <div class="flex">
+ <h2 class="flex-grow text-gray-900">
+ Your Forms
+ </h2>
+ <v-button v-track.create_form_click :to="{name:'forms.create'}">
+ <svg class="w-4 h-4 text-white inline mr-1 -mt-1" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M6.99996 1.1665V12.8332M1.16663 6.99984H12.8333" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round" />
+ </svg>
+ Create a new form
+ </v-button>
+ </div>
+ <small class="flex text-gray-500">Manage your forms and submissions.</small>
+ </div>
+ </div>
+ </div>
+ <div class="flex bg-white">
+ <div class="w-full md:w-4/5 lg:w-3/5 md:mx-auto md:max-w-4xl px-4">
+ <div class="mt-8 pb-0">
+ <text-input v-if="forms.length > 0" class="mb-6" :form="searchForm" name="search" label="Search a form"
+ placeholder="Name of form to search"
+ />
+ <div v-if="allTags.length > 0" class="mb-4">
+ <div v-for="tag in allTags" :key="tag"
+ :class="[
+ 'inline-flex items-center rounded-full px-2 py-1 text-xs font-medium ring-1 ring-inset cursor-pointer mr-2',
+ {'bg-blue-50 text-blue-600 ring-blue-500/10 dark:bg-blue-400':selectedTags.includes(tag),
+ 'bg-gray-50 text-gray-600 ring-gray-500/10 dark:bg-gray-700 hover:bg-blue-50 hover:text-blue-600 hover:ring-blue-500/10 hover:dark:bg-blue-400':!selectedTags.includes(tag)}
+ ]"
+ title="Click for filter by tag(s)"
+ @click="onTagClick(tag)"
+ >
+ {{ tag }}
+ </div>
+ </div>
+ <div v-if="!formsLoading && enrichedForms.length === 0" class="flex flex-wrap justify-center max-w-4xl">
+ <img loading="lazy" class="w-56"
+ src="/img/pages/forms/search_notfound.png" alt="search-not-found"
+ >
+
+ <h3 class="w-full mt-4 text-center text-gray-900 font-semibold">
+ No forms found
+ </h3>
+ <div v-if="isFilteringForms && enrichedForms.length === 0 && searchForm.search" class="mt-2 w-full text-center">
+ Your search "{{ searchForm.search }}" did not match any forms. Please try again.
+ </div>
+ <v-button v-if="forms.length === 0" v-track.create_form_click class="mt-4" :to="{name:'forms.create'}">
+ <svg class="w-4 h-4 text-white inline mr-1 -mt-1" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M6.99996 1.1665V12.8332M1.16663 6.99984H12.8333" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round" />
+ </svg>
+ Create a new form
+ </v-button>
+ </div>
+ <div v-else-if="forms.length > 0" class="mb-10">
+ <div v-if="enrichedForms && enrichedForms.length">
+ <div v-for="(form) in enrichedForms" :key="form.id"
+ class="mt-4 p-4 flex group bg-white hover:bg-gray-50 dark:bg-notion-dark items-center"
+ >
+ <div class="flex-grow items-center truncate cursor-pointer" role="button" @click.prevent="viewForm(form)">
+ <span class="font-semibold text-gray-900 dark:text-white">{{ form.title }}</span>
+ <ul class="flex text-gray-500">
+ <li class="pr-1">
+ {{ form.views_count }} view{{ form.views_count > 0 ? 's' : '' }}
+ </li>
+ <li class="list-disc ml-6 pr-1">
+ {{ form.submissions_count }}
+ submission{{ form.submissions_count > 0 ? 's' : '' }}
+ </li>
+ <li class="list-disc ml-6">
+ Edited {{ form.last_edited_human }}
+ </li>
+ </ul>
+ <div v-if="['draft','closed'].includes(form.visibility) || (form.tags && form.tags.length > 0)" class="mt-1 flex items-center flex-wrap gap-3">
+ <span v-if="form.visibility=='draft'"
+ class="inline-flex items-center rounded-full bg-yellow-100 px-2 py-1 text-xs font-medium text-yellow-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700">
+ Draft
+ </span>
+ <span v-else-if="form.visibility=='closed'"
+ class="inline-flex items-center rounded-full bg-yellow-100 px-2 py-1 text-xs font-medium text-yellow-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700">
+ Closed
+ </span>
+ <span v-for="(tag,i) in form.tags" :key="tag"
+ class="inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700"
+ >
+ {{ tag }}
+ </span>
+ </div>
+ </div>
+ <extra-menu :form="form" :is-main-page="true" />
+ </div>
+ </div>
+ </div>
+ <div v-if="formsLoading" class="text-center">
+ <loader class="h-6 w-6 text-nt-blue mx-auto" />
+ </div>
+ </div>
+ </div>
+ </div>
+ <open-form-footer class="mt-8 border-t" />
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../stores/auth';
+import { useFormsStore } from '../stores/forms';
+import { useWorkspacesStore } from '../stores/workspaces';
+import Fuse from 'fuse.js'
+import Form from 'vform'
+import TextInput from '../components/forms/TextInput.vue'
+import OpenFormFooter from '../components/pages/OpenFormFooter.vue'
+import ExtraMenu from '../components/pages/forms/show/ExtraMenu.vue'
+
+const loadForms = function () {
+ const formsStore = useFormsStore()
+ const workspacesStore = useWorkspacesStore()
+ formsStore.startLoading()
+ workspacesStore.loadIfEmpty().then(() => {
+ formsStore.loadIfEmpty(workspacesStore.currentId)
+ })
+}
+
+export default {
+ components: { OpenFormFooter, TextInput, ExtraMenu },
+
+ beforeRouteEnter (to, from, next) {
+ loadForms()
+ next()
+ },
+ middleware: 'auth',
+
+ props: {
+ metaTitle: { type: String, default: 'Your Forms' },
+ metaDescription: { type: String, default: 'All of your OpnForm are here. Create new forms, or update your existing one!' }
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ const formsStore = useFormsStore()
+ const workspacesStore = useWorkspacesStore()
+ return {
+ formsStore,
+ workspacesStore,
+ user : computed(() => authStore.user),
+ forms : computed(() => formsStore.content),
+ formsLoading : computed(() => formsStore.loading)
+ }
+ },
+
+ data () {
+ return {
+ showEditFormModal: false,
+ selectedForm: null,
+ searchForm: new Form({
+ search: ''
+ }),
+ selectedTags: []
+ }
+ },
+
+ mounted () {},
+
+ methods: {
+ editForm (form) {
+ this.selectedForm = form
+ this.showEditFormModal = true
+ },
+ onTagClick (tag) {
+ const idx = this.selectedTags.indexOf(tag)
+ if (idx === -1) {
+ this.selectedTags.push(tag)
+ } else {
+ this.selectedTags.splice(idx, 1)
+ }
+ },
+ viewForm (form) {
+ this.$router.push({ name: 'forms.show', params: { slug: form.slug } })
+ }
+ },
+
+ computed: {
+ isFilteringForms () {
+ return (this.searchForm.search !== '' && this.searchForm.search !== null) || this.selectedTags.length > 0
+ },
+ enrichedForms () {
+ let enrichedForms = this.forms.map((form) => {
+ form.workspace = this.workspacesStore.getById(form.workspace_id)
+ return form
+ })
+
+ // Filter by Selected Tags
+ if (this.selectedTags.length > 0) {
+ enrichedForms = enrichedForms.filter((item) => {
+ return (item.tags && item.tags.length > 0) ? this.selectedTags.every(r => item.tags.includes(r)) : false
+ })
+ }
+
+ if (!this.isFilteringForms || this.searchForm.search === '' || this.searchForm.search === null) {
+ return enrichedForms
+ }
+
+ // Fuze search
+ const fuzeOptions = {
+ keys: [
+ 'title',
+ 'slug',
+ 'tags'
+ ]
+ }
+ const fuse = new Fuse(enrichedForms, fuzeOptions)
+ return fuse.search(this.searchForm.search).map((res) => {
+ return res.item
+ })
+ },
+ allTags () {
+ return this.formsStore.getAllTags
+ }
+ }
+}
+</script>
diff --git a/client/pages/index.vue b/client/pages/index.vue
new file mode 100644
index 000000000..fbbd0bc17
--- /dev/null
+++ b/client/pages/index.vue
@@ -0,0 +1,245 @@
+<template>
+ <div>
+ <section class="bg-gradient-to-b relative from-white to-gray-100 py-8 sm:py-16 ">
+ <div class="absolute inset-0">
+ <img class="w-full h-full object-cover object-top"
+ src="/img/pages/ai_form_builder/background-pattern.svg" alt=""
+ >
+ </div>
+
+ <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto relative -mb-32 md:-mb-52 lg:-mb-72">
+ <div class="flex justify-center mb-5">
+ <div
+ class="relative flex items-center shadow-sm bg-white gap-x-4 rounded-full px-4 py-1 text-sm leading-6 text-gray-600 ring-1 ring-gray-900/10 hover:ring-gray-900/20"
+ >
+ <span class="font-semibold text-gray-500">We're Open-Source</span><span class="h-4 w-px bg-gray-900/10"
+ aria-hidden="true"
+ />
+ <a
+ target="_blank" class="flex items-center gap-x-1 hover:no-underline"
+ href="https://github.com/jhumanj/opnform" v-track.welcome_github_click
+ >
+ <span class="absolute inset-0" aria-hidden="true"/>
+ Star us on GitHub
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
+ stroke="currentColor" aria-hidden="true" class="-mr-2 h-5 w-5 text-gray-400"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" d="M8.25 4.5l7.5 7.5-7.5 7.5"/>
+ </svg>
+ </a>
+ </div>
+ </div>
+ <div class="max-w-4xl mx-auto text-center">
+ <h1 class="text-4xl sm:text-5xl lg:text-6xl font-semibold text-gray-900 tracking-tight">
+ Build
+ <span
+ class="bg-clip-text text-transparent bg-gradient-to-r from-blue-600 to-blue-400">beautiful forms</span>
+ <br>
+ in seconds
+ </h1>
+ <p class="mt-4 sm:mt-5 text-base leading-7 sm:text-xl sm:leading-9 font-medium text-gray-500">
+ Create beautiful forms and share them anywhere. It super fast, you don't need to know how to code. Get
+ started
+ <span class="font-semibold">for free</span>!
+ </p>
+
+ <div class="mt-8 flex justify-center">
+<!-- <v-button v-if="!authenticated" class="mr-1" :to="{ name: 'forms.create.guest' }" :arrow="true">-->
+<!-- Create a form for FREE-->
+<!-- </v-button>-->
+<!-- <v-button v-else class="mr-1" :to="{ name: 'forms.create' }" :arrow="true">-->
+<!-- Create a form for FREE-->
+<!-- </v-button>-->
+ </div>
+
+ <div class="justify-center flex gap-2 mt-10">
+ <div class="flex items-center text-gray-400 text-sm">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
+ stroke="currentColor" class="w-4 h-4 mr-1 ticks"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/>
+ </svg>
+ <span>Unlimited forms</span>
+ </div>
+ <div class="flex items-center text-gray-400 text-sm">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
+ stroke="currentColor" class="w-4 h-4 mr-1 ticks"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/>
+ </svg>
+ <span>
+ Unlimited fields
+ </span>
+ </div>
+ <div class="flex text-gray-400 text-sm">
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
+ stroke="currentColor" class="w-4 h-4 mr-1 ticks"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/>
+ </svg>
+ <span>Unlimited responses</span>
+ </div>
+ </div>
+ </div>
+
+ <div
+ class="w-full mt-12 relative px-6 mx-auto max-w-4xl sm:px-10 lg:px-0 z-10 flex items-center justify-center"
+ >
+ <div
+ class="-m-2 rounded-xl bg-blue-900/5 p-2 backdrop-blur-sm ring-1 ring-inset ring-blue-900/10 lg:-m-4 lg:rounded-2xl lg:p-4"
+ >
+ <img src="/img/pages/welcome/product-cover.jpg"
+ alt="Product screenshot" loading="lazy" class="rounded-md shadow-2xl ring-1 ring-gray-900/10"
+ >
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <div class="flex flex-col bg-gray-50 dark:bg-notion-dark">
+ <div class="bg-white dark:bg-notion-dark-light pt-32 md:pt-52 lg:pt-72 pb-8">
+ <div class="md:max-w-5xl md:mx-auto w-full">
+ <features class="pb-8"/>
+ </div>
+ </div>
+
+ <ai-feature class="bg-white -mb-56"/>
+
+ <more-features class="pt-56"/>
+
+ <pricing-table v-if="paidPlansEnabled" class="pb-20" :home-page="true">
+ <template #pricing-table>
+ <li class="flex gap-x-3">
+ <router-link :to="{name:'pricing'}" class="flex gap-3">
+ <div class="w-5"/>
+ Read more about our pricing
+ </router-link>
+ </li>
+ </template>
+ </pricing-table>
+
+ <!-- <div class="pt-20 pb-5 text-center bg-white dark:bg-notion-dark-light">-->
+ <!-- <h3 class="font-semibold text-3xl">See what people are saying</h3>-->
+ <!-- <p class="w-full mt-2 mb-8">-->
+ <!-- These are the stories of our customers who have joined us with great pleasure when using this crazy feature.-->
+ <!-- </p>-->
+ <!-- <testimonials/>-->
+ <!-- </div>-->
+
+<!-- <templates-slider class="max-w-full mb-12"/>-->
+
+ <div class="w-full bg-blue-900 p-12 md:p-24 text-center">
+ <h4 class="font-semibold text-3xl text-white">
+ Take your forms to the next level
+ </h4>
+ <p class="text-gray-300 my-8">
+ Generous, unlimited free plan.
+ </p>
+ <div class="mt-6 flex justify-center">
+<!-- <v-button v-track.welcome_create_form_click :to="{ name: 'forms.create.guest' }" :arrow="true" color="blue">-->
+<!-- Create a form for FREE-->
+<!-- </v-button>-->
+ </div>
+ <div class="flex justify-center mt-6">
+ <a target="_blank" :href="configLinks.twitter" class="mr-4">
+ <svg class="w-6 h-6 text-white" viewBox="0 0 24 20" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M7.55016 19.7502C16.6045 19.7502 21.5583 12.2469 21.5583 5.74211C21.5583 5.53117 21.5536 5.31554 21.5442 5.1046C22.5079 4.40771 23.3395 3.5445 24 2.55554C23.1025 2.95484 22.1496 3.21563 21.1739 3.32898C22.2013 2.71315 22.9705 1.74572 23.3391 0.606011C22.3726 1.1788 21.3156 1.58286 20.2134 1.80085C19.4708 1.01181 18.489 0.48936 17.4197 0.314295C16.3504 0.13923 15.2532 0.321295 14.2977 0.832341C13.3423 1.34339 12.5818 2.15495 12.1338 3.14156C11.6859 4.12816 11.5754 5.23486 11.8195 6.29054C9.86249 6.19233 7.94794 5.68395 6.19998 4.79834C4.45203 3.91274 2.90969 2.66968 1.67297 1.14976C1.0444 2.23349 0.852057 3.51589 1.13503 4.73634C1.418 5.95678 2.15506 7.02369 3.19641 7.72023C2.41463 7.69541 1.64998 7.48492 0.965625 7.10617V7.1671C0.964925 8.30439 1.3581 9.40683 2.07831 10.287C2.79852 11.1672 3.80132 11.7708 4.91625 11.9952C4.19206 12.1934 3.43198 12.2222 2.69484 12.0796C3.00945 13.0577 3.62157 13.9131 4.44577 14.5266C5.26997 15.14 6.26512 15.4808 7.29234 15.5015C5.54842 16.8714 3.39417 17.6144 1.17656 17.6109C0.783287 17.6103 0.390399 17.5861 0 17.5387C2.25286 18.984 4.87353 19.7516 7.55016 19.7502Z"
+ fill="currentColor"
+ />
+ </svg>
+ </a>
+ <a target="_blank" :href="configLinks.facebook_group" class="mr-4">
+ <svg class="w-6 h-6 text-white" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 17.9895 4.3882 22.954 10.125 23.8542V15.4688H7.07812V12H10.125V9.35625C10.125 6.34875 11.9166 4.6875 14.6576 4.6875C15.9701 4.6875 17.3438 4.92188 17.3438 4.92188V7.875H15.8306C14.34 7.875 13.875 8.80008 13.875 9.75V12H17.2031L16.6711 15.4688H13.875V23.8542C19.6118 22.954 24 17.9895 24 12Z"
+ fill="currentColor"
+ />
+ </svg>
+ </a>
+ <a v-track.welcome_github_click target="_blank" :href="configLinks.github_url" class="mr-4">
+ <svg class="w-6 h-6 text-white" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path fill-rule="evenodd" clip-rule="evenodd"
+ d="M12 0C5.3724 0 0 5.3808 0 12.0204C0 17.3304 3.438 21.8364 8.2068 23.4252C8.8068 23.5356 9.0252 23.1648 9.0252 22.8456C9.0252 22.5612 9.0156 21.804 9.0096 20.802C5.6712 21.528 4.9668 19.1904 4.9668 19.1904C4.422 17.8008 3.6348 17.4312 3.6348 17.4312C2.5452 16.6872 3.7176 16.7016 3.7176 16.7016C4.9212 16.7856 5.5548 17.94 5.5548 17.94C6.6252 19.776 8.364 19.2456 9.0468 18.9384C9.1572 18.162 9.4668 17.6328 9.81 17.3328C7.146 17.0292 4.344 15.9972 4.344 11.3916C4.344 10.08 4.812 9.006 5.5788 8.166C5.4552 7.8624 5.0436 6.6396 5.6964 4.986C5.6964 4.986 6.7044 4.662 8.9964 6.2172C9.97532 5.95022 10.9853 5.81423 12 5.8128C13.02 5.8176 14.046 5.9508 15.0048 6.2172C17.2956 4.662 18.3012 4.9848 18.3012 4.9848C18.9564 6.6396 18.5436 7.8624 18.4212 8.166C19.1892 9.006 19.6548 10.08 19.6548 11.3916C19.6548 16.0092 16.848 17.0256 14.1756 17.3232C14.6064 17.694 14.9892 18.4272 14.9892 19.5492C14.9892 21.1548 14.9748 22.452 14.9748 22.8456C14.9748 23.1672 15.1908 23.5416 15.8004 23.424C18.19 22.6225 20.2672 21.0904 21.7386 19.0441C23.2099 16.9977 24.001 14.5408 24 12.0204C24 5.3808 18.6264 0 12 0Z"
+ fill="currentColor"
+ />
+ </svg>
+ </a>
+ </div>
+
+ <p class="mt-12 text-white text-lg">
+ The form below is an OpnForm, give it a try !
+ </p>
+ <div class="md:max-w-5xl md:mx-auto w-full bg-white rounded-md mt-6 p-4 shadow-lg">
+ <iframe class="mt-4" style="border:none;width:100%;" height="470px"
+ src="https://opnform.com/forms/opnform-contact"
+ />
+ </div>
+ </div>
+
+ <open-form-footer class="dark:border-t border-t"/>
+ </div>
+ </div>
+</template>
+
+<script>
+import {computed} from 'vue'
+import {useAuthStore} from '../stores/auth'
+import Features from '~/components/pages/welcome/Features.vue'
+import MoreFeatures from '~/components/pages/welcome/MoreFeatures.vue'
+import PricingTable from '../components/pages/pricing/PricingTable.vue'
+import AiFeature from '~/components/pages/welcome/AiFeature.vue'
+import OpenFormFooter from '../components/pages/OpenFormFooter.vue'
+import Testimonials from '../components/pages/welcome/Testimonials.vue'
+import TemplatesSlider from '../components/pages/welcome/TemplatesSlider.vue'
+import SeoMeta from '../mixins/seo-meta.js'
+
+export default {
+ components: {Testimonials, OpenFormFooter, Features, MoreFeatures, PricingTable, AiFeature, TemplatesSlider},
+ mixins: [SeoMeta],
+ layout: 'default',
+
+ setup() {
+ const authStore = useAuthStore()
+ return {
+ authenticated: computed(() => authStore.check),
+ config: useConfig()
+ }
+ },
+
+ data: () => ({
+ title: 'OpnForm',
+ metaTitle: 'Create beautiful & open-source forms for free'
+ }),
+
+ computed: {
+ configLinks() {
+ return this.config.links
+ },
+ paidPlansEnabled() {
+ return this.config.paid_plans_enabled
+ },
+ }
+}
+</script>
+
+<style lang="scss" scoped>
+
+.customer-logo-container {
+ max-width: 130px;
+ width: 100%;
+}
+
+.ticks {
+ color: #2563eb;
+}
+
+@screen md {
+ #macbook-video {
+ position: absolute;
+ max-width: 84.8% !important;
+ right: 0px;
+ top: 6.8%;
+ }
+}
+</style>
diff --git a/client/pages/integrations.vue b/client/pages/integrations.vue
new file mode 100644
index 000000000..95b6cf7a5
--- /dev/null
+++ b/client/pages/integrations.vue
@@ -0,0 +1,43 @@
+<template>
+ <div>
+ <div class="mt-6 flex flex-col">
+ <div class="w-full md:max-w-3xl md:mx-auto px-4 md:pt-16">
+ <h1 class="sm:text-5xl mb-4">
+ Integrations
+ </h1>
+ <NotionPage class="mb-8 integration-page" page-id="492c2bbb31404481b9faaaf407e59640" />
+ </div>
+ </div>
+ <open-form-footer />
+ </div>
+</template>
+
+<script>
+import OpenFormFooter from '../components/pages/OpenFormFooter.vue'
+
+export default {
+ components: { OpenFormFooter },
+ layout: 'default',
+
+ props: {
+ metaTitle: { type: String, default: 'Integrations' },
+ metaDescription: { type: String, default: 'You can connect your OpnForms to other services via our two integrations: Zapier and Webhooks. Use our integrations to automate your various workflows.' }
+ },
+
+ data: () => ({
+ }),
+
+ computed: {},
+
+ mounted () {
+ }
+}
+</script>
+
+<style lang="scss">
+.integration-page {
+ .notion-asset-wrapper {
+ max-width: 200px;
+ }
+}
+</style>
diff --git a/client/pages/login.vue b/client/pages/login.vue
new file mode 100644
index 000000000..2ca55f43a
--- /dev/null
+++ b/client/pages/login.vue
@@ -0,0 +1,83 @@
+<template>
+ <div>
+ <div class="flex mt-6 mb-10">
+ <div class="w-full md:max-w-6xl mx-auto px-4 flex md:flex-row-reverse flex-wrap">
+ <div class="w-full md:w-1/2 md:p-6">
+ <div class="border rounded-md p-6 shadow-md sticky top-4">
+ <h2 class="font-semibold text-2xl">
+ Login to OpnForm
+ </h2>
+ <small>Welcome back! Please enter your details.</small>
+
+ <login-form />
+ </div>
+ </div>
+ <div class="w-full md:w-1/2 md:p-6 mt-8 md:mt-0 ">
+ <h1 class="font-bold">
+ Create beautiful forms and share them anywhere
+ </h1>
+ <p class="text-gray-900 my-4 text-lg">
+ It takes seconds, you don't need to know how to code and it's free.
+ </p>
+ <div class="flex flex-wrap justify-center">
+ <p class="px-3 pb-3 text-sm text-gray-500">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 inline" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor" stroke-width="2"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
+ </svg>
+ Unlimited forms
+ </p>
+ <p class="px-3 pb-3 text-sm text-gray-500">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 inline" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor" stroke-width="2"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
+ </svg>
+ Unlimited fields
+ </p>
+ <p class="px-3 pb-3 text-sm text-gray-500">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 inline" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor" stroke-width="2"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
+ </svg>
+ Unlimited submissions
+ </p>
+ </div>
+<!-- <div class="mt-3 p-6">-->
+<!-- <testimonials />-->
+<!-- </div>-->
+ </div>
+ </div>
+ </div>
+ <open-form-footer />
+ </div>
+</template>
+
+<script>
+import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
+import Testimonials from '../../components/pages/welcome/Testimonials.vue'
+import LoginForm from './components/LoginForm.vue'
+import SeoMeta from '../../mixins/seo-meta.js'
+
+export default {
+ components: {
+ OpenFormFooter,
+ Testimonials,
+ LoginForm
+ },
+
+ middleware: 'guest',
+
+ mixins: [SeoMeta],
+
+ data: () => ({
+ metaTitle: 'Login',
+ }),
+
+ methods: {
+
+ }
+}
+</script>
diff --git a/client/pages/pricing.vue b/client/pages/pricing.vue
new file mode 100644
index 000000000..9b4d24686
--- /dev/null
+++ b/client/pages/pricing.vue
@@ -0,0 +1,284 @@
+<template>
+ <div>
+ <section class="relative py-12 bg-gradient-to-b from-white to-gray-100 sm:py-16 lg:py-20 xl:py-24">
+ <div class="relative px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
+ <div class="max-w-4xl mx-auto text-center">
+ <h1 class="text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl lg:text-6xl">
+ Simple, transparent pricing. No surprises.
+ </h1>
+ <p
+ class="max-w-2xl mx-auto mt-4 text-base font-medium leading-7 text-gray-500 sm:mt-5 sm:text-xl sm:leading-9">
+ Just like our codebase, our pricing is 100% transparent. One flat price for all features. No hidden fees.
+ </p>
+ </div>
+ </div>
+ </section>
+
+ <pricing-table/>
+
+ <section class="py-12 bg-white sm:py-16 lg:py-24 xl:py-24">
+ <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
+ <div class="max-w-2xl mx-auto text-center">
+ <h2 class="text-3xl font-semibold tracking-tight text-gray-900 sm:text-4xl lg:leading-tight">
+ <span class="text-blue-600">99%</span> of features are available to all users for free and without
+ limits.
+ </h2>
+ </div>
+
+ <div
+ class="grid max-w-5xl grid-cols-2 mx-auto mt-12 text-center gap-y-8 gap-x-4 sm:grid-cols-3 md:gap-x-12 md:text-left sm:mt-16">
+ <div class="flex flex-col items-center gap-3 md:flex-row">
+ <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M3 9H21M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ </svg>
+ <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
+ Unlimited forms
+ </p>
+ </div>
+
+ <div class="flex flex-col items-center gap-3 md:flex-row">
+ <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M9 3.5V2M5.06066 5.06066L4 4M5.06066 13L4 14.0607M13 5.06066L14.0607 4M3.5 9H2M8.5 8.5L12.6111 21.2778L15.5 18.3889L19.1111 22L22 19.1111L18.3889 15.5L21.2778 12.6111L8.5 8.5Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ </svg>
+ <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
+ Unlimited submissions
+ </p>
+ </div>
+
+ <div class="flex flex-col items-center gap-3 md:flex-row">
+ <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M17.8 10C18.9201 10 19.4802 10 19.908 9.78201C20.2843 9.59027 20.5903 9.28431 20.782 8.90798C21 8.48016 21 7.92011 21 6.8V6.2C21 5.0799 21 4.51984 20.782 4.09202C20.5903 3.7157 20.2843 3.40973 19.908 3.21799C19.4802 3 18.9201 3 17.8 3L6.2 3C5.0799 3 4.51984 3 4.09202 3.21799C3.71569 3.40973 3.40973 3.71569 3.21799 4.09202C3 4.51984 3 5.07989 3 6.2L3 6.8C3 7.9201 3 8.48016 3.21799 8.90798C3.40973 9.28431 3.71569 9.59027 4.09202 9.78201C4.51984 10 5.07989 10 6.2 10L17.8 10Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ <path
+ d="M17.8 21C18.9201 21 19.4802 21 19.908 20.782C20.2843 20.5903 20.5903 20.2843 20.782 19.908C21 19.4802 21 18.9201 21 17.8V17.2C21 16.0799 21 15.5198 20.782 15.092C20.5903 14.7157 20.2843 14.4097 19.908 14.218C19.4802 14 18.9201 14 17.8 14L6.2 14C5.0799 14 4.51984 14 4.09202 14.218C3.71569 14.4097 3.40973 14.7157 3.21799 15.092C3 15.5198 3 16.0799 3 17.2L3 17.8C3 18.9201 3 19.4802 3.21799 19.908C3.40973 20.2843 3.71569 20.5903 4.09202 20.782C4.51984 21 5.07989 21 6.2 21H17.8Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ </svg>
+ <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
+ Unlimited fields
+ </p>
+ </div>
+
+ <div class="flex flex-col items-center gap-3 md:flex-row">
+ <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M9 11L12 14L22 4M16 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V12"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ </svg>
+ <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
+ Multiple input types
+ </p>
+ </div>
+
+ <div class="flex flex-col items-center gap-3 md:flex-row">
+ <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M22 11V8.2C22 7.0799 22 6.51984 21.782 6.09202C21.5903 5.71569 21.2843 5.40973 20.908 5.21799C20.4802 5 19.9201 5 18.8 5H5.2C4.0799 5 3.51984 5 3.09202 5.21799C2.71569 5.40973 2.40973 5.71569 2.21799 6.09202C2 6.51984 2 7.0799 2 8.2V11.8C2 12.9201 2 13.4802 2.21799 13.908C2.40973 14.2843 2.71569 14.5903 3.09202 14.782C3.51984 15 4.0799 15 5.2 15H11M12 10H12.005M17 10H17.005M7 10H7.005M19.25 17V15.25C19.25 14.2835 18.4665 13.5 17.5 13.5C16.5335 13.5 15.75 14.2835 15.75 15.25V17M12.25 10C12.25 10.1381 12.1381 10.25 12 10.25C11.8619 10.25 11.75 10.1381 11.75 10C11.75 9.86193 11.8619 9.75 12 9.75C12.1381 9.75 12.25 9.86193 12.25 10ZM17.25 10C17.25 10.1381 17.1381 10.25 17 10.25C16.8619 10.25 16.75 10.1381 16.75 10C16.75 9.86193 16.8619 9.75 17 9.75C17.1381 9.75 17.25 9.86193 17.25 10ZM7.25 10C7.25 10.1381 7.13807 10.25 7 10.25C6.86193 10.25 6.75 10.1381 6.75 10C6.75 9.86193 6.86193 9.75 7 9.75C7.13807 9.75 7.25 9.86193 7.25 10ZM15.6 21H19.4C19.9601 21 20.2401 21 20.454 20.891C20.6422 20.7951 20.7951 20.6422 20.891 20.454C21 20.2401 21 19.9601 21 19.4V18.6C21 18.0399 21 17.7599 20.891 17.546C20.7951 17.3578 20.6422 17.2049 20.454 17.109C20.2401 17 19.9601 17 19.4 17H15.6C15.0399 17 14.7599 17 14.546 17.109C14.3578 17.2049 14.2049 17.3578 14.109 17.546C14 17.7599 14 18.0399 14 18.6V19.4C14 19.9601 14 20.2401 14.109 20.454C14.2049 20.6422 14.3578 20.7951 14.546 20.891C14.7599 21 15.0399 21 15.6 21Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ </svg>
+ <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
+ Form password
+ </p>
+ </div>
+
+ <div class="flex flex-col items-center gap-3 md:flex-row">
+ <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M18 15C16.3431 15 15 16.3431 15 18C15 19.6569 16.3431 21 18 21C19.6569 21 21 19.6569 21 18C21 16.3431 19.6569 15 18 15ZM18 15V8C18 7.46957 17.7893 6.96086 17.4142 6.58579C17.0391 6.21071 16.5304 6 16 6H13M6 9C7.65685 9 9 7.65685 9 6C9 4.34315 7.65685 3 6 3C4.34315 3 3 4.34315 3 6C3 7.65685 4.34315 9 6 9ZM6 9V21"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ </svg>
+ <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
+ Webhooks
+ </p>
+ </div>
+
+ <div class="flex flex-col items-center gap-3 md:flex-row">
+ <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M21 8H3M16 2V5M8 2V5M12 18V12M9 15H15M7.8 22H16.2C17.8802 22 18.7202 22 19.362 21.673C19.9265 21.3854 20.3854 20.9265 20.673 20.362C21 19.7202 21 18.8802 21 17.2V8.8C21 7.11984 21 6.27976 20.673 5.63803C20.3854 5.07354 19.9265 4.6146 19.362 4.32698C18.7202 4 17.8802 4 16.2 4H7.8C6.11984 4 5.27976 4 4.63803 4.32698C4.07354 4.6146 3.6146 5.07354 3.32698 5.63803C3 6.27976 3 7.11984 3 8.8V17.2C3 18.8802 3 19.7202 3.32698 20.362C3.6146 20.9265 4.07354 21.3854 4.63803 21.673C5.27976 22 6.11984 22 7.8 22Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ </svg>
+ <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
+ Closing date
+ </p>
+ </div>
+
+ <div class="flex flex-col items-center col-span-2 gap-3 md:flex-row sm:col-span-1">
+ <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M12 6C12.5523 6 13 5.55228 13 5C13 4.44772 12.5523 4 12 4C11.4477 4 11 4.44772 11 5C11 5.55228 11.4477 6 12 6Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ <path
+ d="M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ <path
+ d="M12 20C12.5523 20 13 19.5523 13 19C13 18.4477 12.5523 18 12 18C11.4477 18 11 18.4477 11 19C11 19.5523 11.4477 20 12 20Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ <path
+ d="M19 6C19.5523 6 20 5.55228 20 5C20 4.44772 19.5523 4 19 4C18.4477 4 18 4.44772 18 5C18 5.55228 18.4477 6 19 6Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ <path
+ d="M19 13C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11C18.4477 11 18 11.4477 18 12C18 12.5523 18.4477 13 19 13Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ <path
+ d="M19 20C19.5523 20 20 19.5523 20 19C20 18.4477 19.5523 18 19 18C18.4477 18 18 18.4477 18 19C18 19.5523 18.4477 20 19 20Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ <path
+ d="M5 6C5.55228 6 6 5.55228 6 5C6 4.44772 5.55228 4 5 4C4.44772 4 4 4.44772 4 5C4 5.55228 4.44772 6 5 6Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ <path
+ d="M5 13C5.55228 13 6 12.5523 6 12C6 11.4477 5.55228 11 5 11C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ <path
+ d="M5 20C5.55228 20 6 19.5523 6 19C6 18.4477 5.55228 18 5 18C4.44772 18 4 18.4477 4 19C4 19.5523 4.44772 20 5 20Z"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ </svg>
+ <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
+ And much more...
+ </p>
+ </div>
+ </div>
+
+ <div class="max-w-3xl p-6 mx-auto mt-12 sm:mt-16 bg-yellow-50 ring-1 ring-inset ring-yellow-200 rounded-2xl">
+ <div class="flex items-start gap-4">
+ <svg aria-hidden="true" class="w-8 h-8 shrink-0 stroke-yellow-500" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M12 21L11.8999 20.8499C11.2053 19.808 10.858 19.287 10.3991 18.9098C9.99286 18.5759 9.52476 18.3254 9.02161 18.1726C8.45325 18 7.82711 18 6.57482 18H5.2C4.07989 18 3.51984 18 3.09202 17.782C2.71569 17.5903 2.40973 17.2843 2.21799 16.908C2 16.4802 2 15.9201 2 14.8V6.2C2 5.07989 2 4.51984 2.21799 4.09202C2.40973 3.71569 2.71569 3.40973 3.09202 3.21799C3.51984 3 4.07989 3 5.2 3H5.6C7.84021 3 8.96031 3 9.81596 3.43597C10.5686 3.81947 11.1805 4.43139 11.564 5.18404C12 6.03968 12 7.15979 12 9.4M12 21V9.4M12 21L12.1001 20.8499C12.7947 19.808 13.142 19.287 13.6009 18.9098C14.0071 18.5759 14.4752 18.3254 14.9784 18.1726C15.5467 18 16.1729 18 17.4252 18H18.8C19.9201 18 20.4802 18 20.908 17.782C21.2843 17.5903 21.5903 17.2843 21.782 16.908C22 16.4802 22 15.9201 22 14.8V6.2C22 5.07989 22 4.51984 21.782 4.09202C21.5903 3.71569 21.2843 3.40973 20.908 3.21799C20.4802 3 19.9201 3 18.8 3H18.4C16.1598 3 15.0397 3 14.184 3.43597C13.4314 3.81947 12.8195 4.43139 12.436 5.18404C12 6.03968 12 7.15979 12 9.4"
+ stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
+ </svg>
+ <div>
+ <p class="text-lg font-semibold text-yellow-600">
+ Nonprofit & Student Discount — 50%
+ </p>
+ <p class="mt-1 text-base font-medium leading-7 text-yellow-600">
+ Whether your nonprofit is large or small, OpnForm’s online Form Builder helps your organization help
+ others. It takes just a few minutes to create and publish your forms online. As an exclusive benefit,
+ we offer nonprofits & students a 50-percent discount!
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <section class="py-12 bg-gray-50 border-t border-gray-200 sm:py-16 lg:py-20 xl:py-24">
+ <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
+ <div class="max-w-3xl mx-auto text-center">
+ <h2 class="text-3xl font-semibold tracking-tight text-gray-900 sm:text-4xl lg:leading-tight">
+ Got any question?
+ </h2>
+ <p class="max-w-2xl mx-auto mt-4 text-base font-medium leading-7 text-gray-600 sm:text-lg sm:leading-8">
+ We've compiled a list of the most common questions we get asked.
+ </p>
+ </div>
+
+ <dl
+ class="grid max-w-5xl grid-cols-1 mx-auto mt-12 gap-y-12 sm:grid-cols-2 sm:mt-16 sm:gap-x-8 sm:gap-y-12 lg:gap-x-10">
+ <div v-for="q in [
+ {
+ 'question':'Is there a free version of OpnForm available?',
+ 'answer':'Yes, OpnForm offers a free version with access to 99% of features, including unlimited forms, submissions, fields, and more. Our goal is to provide robust functionality for all users without limitations.',
+ },
+ {
+ 'question':'What does the Pro Plan include?',
+ 'answer':'The OpnForm Pro Plan is designed to meet the advanced needs of teams and creators. It includes features like form confirmation emails, Slack and Discord notifications, editable submissions, custom domain, custom code integration, larger file uploads, removal of OpnForm branding, priority support, and more.',
+ },
+ {
+ 'question':'Can I try the Pro Plan before subscribing?',
+ 'answer':'Absolutely! We offer a free 3-day trial of the OpnForm Pro Plan. This allows you to explore all the empowering features and experience the value it brings to your form-building process. The trial is automatically applied.',
+ },
+ {
+ 'question':'Is there a discount for annual plans?',
+ 'answer':'Yes, we offer a 20% discount for annual Pro Plan subscriptions. By choosing the yearly billing option, you can enjoy the same great features at a reduced cost.',
+ },
+ {
+ 'question':'How does the nonprofit and student discount work?',
+ 'answer':'OpnForm is committed to supporting nonprofits and students. We provide an exclusive 50% discount on the Pro Plan for nonprofit organizations and students. This discount helps you make the most of our form builder while staying within your budget.',
+ },
+ {
+ 'question':'Can I cancel or change my plan at any time?',
+ 'answer':'Yes, you have the flexibility to upgrade, downgrade, or cancel your OpnForm Pro Plan at any time. Changes will take effect immediately, and you\'ll only be billed based on the plan you\'re currently on.',
+ },
+ ]" :key="q.question">
+ <dt class="text-base font-semibold leading-7 text-gray-950 sm:text-lg sm:leading-8">
+ {{ q.question }}
+ </dt>
+ <dd class="mt-2 text-base font-medium leading-7 text-gray-600">
+ {{ q.answer }}
+ </dd>
+ </div>
+ </dl>
+
+ <div class="mt-12 text-center sm:mt-16">
+ <p class="text-base font-medium text-gray-950">
+ Didn't find the answer? <a href="#" @click.prevent="contactUs"
+ class="font-semibold text-blue-600 hover:underline">Contact us</a>
+ </p>
+ </div>
+ </div>
+ </section>
+
+ <open-form-footer/>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../stores/auth';
+import OpenFormFooter from '../components/pages/OpenFormFooter.vue'
+import PricingTable from '../components/pages/pricing/PricingTable.vue'
+import SeoMeta from '../mixins/seo-meta.js'
+
+export default {
+ components: {OpenFormFooter, PricingTable},
+ mixins: [SeoMeta],
+ layout: 'default',
+
+ props: {},
+
+ beforeRouteEnter(to, from, next) {
+ if (!this.$config.paid_plans_enabled) { // If no paid plan so no need this page
+ next({name: 'home'})
+ return
+ }
+ next()
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ user : computed(() => authStore.user),
+ authenticated : computed(() => authStore.check)
+ }
+ },
+
+ data: () => ({
+ metaTitle: 'Pricing',
+ metaDescription: 'All of our core features are free, and there is no quantity limit. You can also created more advanced and customized forms with OpnForms Pro.',
+ }),
+
+ mounted() {},
+
+ computed: {},
+
+ methods: {
+ contactUs() {
+ window.$crisp.push(['do', 'chat:show'])
+ window.$crisp.push(['do', 'chat:open'])
+ }
+ }
+}
+</script>
diff --git a/client/pages/privacy-policy.vue b/client/pages/privacy-policy.vue
new file mode 100644
index 000000000..1405357fc
--- /dev/null
+++ b/client/pages/privacy-policy.vue
@@ -0,0 +1,33 @@
+<template>
+ <div>
+ <div class="mt-6 flex flex-col">
+ <div class="w-full md:max-w-3xl md:mx-auto px-4 md:pt-16">
+ <h1 class="sm:text-5xl">
+ Privacy Policy
+ </h1>
+ <NotionPage page-id="9c97349ceda7455aab9b341d1ff70f79" />
+ </div>
+ </div>
+ <open-form-footer />
+ </div>
+</template>
+
+<script>
+import OpenFormFooter from '../components/pages/OpenFormFooter.vue'
+import SeoMeta from '../mixins/seo-meta.js'
+
+export default {
+ components: { OpenFormFooter},
+ layout: 'default',
+ mixins: [SeoMeta],
+
+ data: () => ({
+ metaTitle: 'Privacy Policy',
+ }),
+
+ computed: {},
+
+ mounted () {
+ }
+}
+</script>
diff --git a/client/pages/register.vue b/client/pages/register.vue
new file mode 100644
index 000000000..e0ac9dca5
--- /dev/null
+++ b/client/pages/register.vue
@@ -0,0 +1,84 @@
+<template>
+ <div>
+ <div class="flex mt-6 mb-10">
+ <div class="w-full md:max-w-6xl mx-auto px-4 flex items-center md:flex-row-reverse flex-wrap">
+ <div class="w-full lg:w-1/2 md:p-6">
+ <app-sumo-register class="mb-10 p-6 lg:hidden" />
+ <div class="border rounded-md p-6 shadow-md sticky top-4">
+ <h2 class="font-semibold text-2xl">
+ Create an account
+ </h2>
+ <small>Sign up in less than 2 minutes.</small>
+ <register-form />
+ </div>
+ </div>
+ <div class="w-full hidden lg:block lg:w-1/2 md:p-6 mt-8 md:mt-0 ">
+ <app-sumo-register class="mb-10" />
+ <h1 class="font-bold">
+ Create beautiful forms and share them anywhere
+ </h1>
+ <p class="text-gray-900 my-4 text-lg">
+ It takes seconds, you don't need to know how to code and it's free.
+ </p>
+ <div class="flex flex-wrap justify-center">
+ <p class="px-3 pb-3 text-sm text-gray-500">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 inline" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor" stroke-width="2"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
+ </svg>
+ Unlimited forms
+ </p>
+ <p class="px-3 pb-3 text-sm text-gray-500">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 inline" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor" stroke-width="2"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
+ </svg>
+ Unlimited fields
+ </p>
+ <p class="px-3 pb-3 text-sm text-gray-500">
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 inline" fill="none" viewBox="0 0 24 24"
+ stroke="currentColor" stroke-width="2"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
+ </svg>
+ Unlimited submissions
+ </p>
+ </div>
+ <!-- <div class="mt-3 p-6">-->
+ <!-- <testimonials />-->
+ <!-- </div>-->
+ </div>
+ </div>
+ </div>
+ <open-form-footer />
+ </div>
+</template>
+
+<script>
+import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
+import RegisterForm from './components/RegisterForm.vue'
+import SeoMeta from '../../mixins/seo-meta.js'
+import AppSumoRegister from '../../components/vendor/appsumo/AppSumoRegister.vue'
+
+export default {
+ components: {
+ AppSumoRegister,
+ OpenFormFooter,
+ RegisterForm
+ },
+
+ mixins: [SeoMeta],
+
+ middleware: 'guest',
+
+ data: () => ({
+ metaTitle: 'Register'
+ }),
+
+ computed: {},
+
+ methods: {}
+}
+</script>
diff --git a/client/pages/settings/account.vue b/client/pages/settings/account.vue
new file mode 100644
index 000000000..6cb4f690e
--- /dev/null
+++ b/client/pages/settings/account.vue
@@ -0,0 +1,61 @@
+<template>
+ <div>
+ <h3 class="font-semibold text-2xl text-gray-900">Danger zone</h3>
+ <p class="text-gray-600 text-sm mt-2">
+ This will permanently delete your entire account. All your forms, submissions and workspaces will be deleted.
+ <span class="text-red-500">
+ This cannot be undone.
+ </span>
+ </p>
+
+ <!-- Submit Button -->
+ <v-button :loading="loading" class="mt-4" color="red" @click="alertConfirm('Do you really want to delete your account?',deleteAccount)">
+ Delete account
+ </v-button>
+ </div>
+</template>
+
+<script>
+import Form from 'vform'
+import axios from 'axios'
+import { useAuthStore } from '../../stores/auth'
+import SeoMeta from '../../mixins/seo-meta.js'
+
+export default {
+ scrollToTop: false,
+ mixins: [SeoMeta],
+
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ authStore
+ }
+ },
+
+ data: () => ({
+ metaTitle: 'Account',
+ form: new Form({
+ identifier: ''
+ }),
+ loading: false
+ }),
+
+ methods: {
+ async deleteAccount () {
+ this.loading = true
+ axios.delete('/api/user').then(async (response) => {
+ this.loading = false
+ this.alertSuccess(response.data.message)
+ // Log out the user.
+ await this.authStore.logout()
+
+ // Redirect to login.
+ this.$router.push({ name: 'login' })
+ }).catch((error) => {
+ this.alertError(error.response.data.message)
+ this.loading = false
+ })
+ }
+ }
+}
+</script>
diff --git a/client/pages/settings/admin.vue b/client/pages/settings/admin.vue
new file mode 100644
index 000000000..0781f64db
--- /dev/null
+++ b/client/pages/settings/admin.vue
@@ -0,0 +1,92 @@
+<template>
+ <div>
+ <h3 class="font-semibold text-2xl text-gray-900">Admin settings</h3>
+ <small class="text-gray-600">Manage settings.</small>
+
+
+ <h3 class="mt-3 text-lg font-semibold mb-4">
+ Tools
+ </h3>
+ <div class="flex flex-wrap mb-5">
+ <a href="/stats">
+ <v-button class="mx-1" color="gray" shade="lighter">
+ Stats
+ </v-button>
+ </a>
+ <a href="/horizon">
+ <v-button class="mx-1" color="gray" shade="lighter">
+ Horizon
+ </v-button>
+ </a>
+ </div>
+ <h3 class="text-lg font-semibold mb-4">
+ Impersonate User
+ </h3>
+ <form @submit.prevent="impersonate" @keydown="form.onKeydown($event)">
+ <!-- Password -->
+ <text-input name="identifier" :form="form" label="Identifier"
+ :required="true" help="User Id, User Email or Form Slug"
+ />
+
+ <!-- Submit Button -->
+ <v-button :loading="loading" class="mt-4">Impersonate User</v-button>
+ </form>
+ </div>
+</template>
+
+<script>
+import Form from 'vform'
+import axios from 'axios'
+import { useAuthStore } from '../../stores/auth'
+import { useWorkspacesStore } from '../../stores/workspaces'
+import SeoMeta from '../../mixins/seo-meta.js'
+
+export default {
+ components: { },
+ middleware: 'admin',
+ scrollToTop: false,
+ mixins: [SeoMeta],
+
+ setup () {
+ const authStore = useAuthStore()
+ const workspacesStore = useWorkspacesStore()
+ return {
+ authStore,
+ workspacesStore
+ }
+ },
+
+ data: () => ({
+ metaTitle: 'Admin',
+ form: new Form({
+ identifier: ''
+ }),
+ loading: false
+ }),
+
+ methods: {
+ async impersonate () {
+ this.loading = true
+ this.authStore.startImpersonating()
+ axios.get('/api/admin/impersonate/' + encodeURI(this.form.identifier)).then(async (response) => {
+ this.loading = false
+
+ // Save the token.
+ this.authStore.saveToken(response.data.token, false)
+
+ // Fetch the user.
+ await this.authStore.fetchUser()
+
+ // Redirect to the dashboard.
+ this.workspacesStore.set([])
+ this.$router.push({ name: 'home' })
+ }).catch((error) => {
+ this.alertError(error.response.data.message)
+ this.loading = false
+ })
+
+ // this.form.reset()
+ }
+ }
+}
+</script>
diff --git a/client/pages/settings/billing.vue b/client/pages/settings/billing.vue
new file mode 100644
index 000000000..f600020dc
--- /dev/null
+++ b/client/pages/settings/billing.vue
@@ -0,0 +1,63 @@
+<template>
+ <div>
+ <h3 class="font-semibold text-2xl text-gray-900">
+ Billing details
+ </h3>
+
+ <template v-if="user.has_customer_id">
+ <small class="text-gray-600">Manage your billing. Download invoices, update your plan, or cancel it at any
+ time.</small>
+
+ <div class="mt-4">
+ <v-button color="gray" shade="light" :loading="billingLoading" @click.prevent="openBillingDashboard">
+ Manage Subscription
+ </v-button>
+ </div>
+ </template>
+
+ <app-sumo-billing class="mt-4" />
+ </div>
+</template>
+
+<script>
+import axios from 'axios'
+import { computed } from 'vue'
+import { useAuthStore } from '../../stores/auth'
+import VButton from '~/components/global/VButton.vue'
+import SeoMeta from '../../mixins/seo-meta.js'
+import AppSumoBilling from '../../components/vendor/appsumo/AppSumoBilling.vue'
+
+export default {
+ components: { AppSumoBilling, VButton },
+ mixins: [SeoMeta],
+ scrollToTop: false,
+
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ user : computed(() => authStore.user)
+ }
+ },
+
+ data: () => ({
+ metaTitle: 'Billing',
+ billingLoading: false
+ }),
+
+ methods: {
+ openBillingDashboard () {
+ this.billingLoading = true
+ axios.get('/api/subscription/billing-portal').then((response) => {
+ const url = response.data.portal_url
+ window.location = url
+ }).catch((error) => {
+ this.alertError(error.response.data.message)
+ }).finally(() => {
+ this.billingLoading = false
+ })
+ }
+ },
+
+ computed: {}
+}
+</script>
diff --git a/client/pages/settings/index.vue b/client/pages/settings/index.vue
new file mode 100644
index 000000000..218d4ce12
--- /dev/null
+++ b/client/pages/settings/index.vue
@@ -0,0 +1,105 @@
+<template>
+ <div class="bg-white">
+ <div class="flex bg-gray-50">
+ <div class="w-full md:w-4/5 lg:w-3/5 md:mx-auto md:max-w-4xl px-4">
+ <div class="pt-4 pb-0">
+ <div class="flex">
+ <h2 class="flex-grow text-gray-900">
+ My Account
+ </h2>
+ </div>
+ <ul class="flex text-gray-500">
+ <li>{{ user.email }}</li>
+ </ul>
+
+ <div class="mt-4 border-b border-gray-200 dark:border-gray-700">
+ <ul class="flex flex-wrap -mb-px text-sm font-medium text-center">
+ <li v-for="(tab, i) in tabsList" :key="i+1" class="mr-6">
+ <router-link :to="{ name: tab.route }"
+ class="hover:no-underline inline-block py-4 rounded-t-lg border-b-2 text-gray-500 hover:text-gray-600"
+ active-class="text-blue-600 hover:text-blue-900 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500"
+ >
+ {{ tab.name }}
+ </router-link>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="flex bg-white">
+ <div class="w-full md:w-4/5 lg:w-3/5 md:mx-auto md:max-w-4xl px-4">
+ <div class="mt-8 pb-0">
+ <router-view v-slot="{ Component }">
+ <transition name="page" mode="out-in">
+ <component :is="Component" />
+ </transition>
+ </router-view>
+ </div>
+ </div>
+ </div>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../../stores/auth'
+
+export default {
+ middleware: 'auth',
+
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ user: computed(() => authStore.user)
+ }
+ },
+
+ data () {
+ return {
+ }
+ },
+
+ computed: {
+ tabsList () {
+ const tabs = [
+ {
+ name: 'Profile',
+ route: 'settings.profile'
+ },
+ {
+ name: 'Workspace Settings',
+ route: 'settings.workspaces'
+ },
+ {
+ name: 'Password',
+ route: 'settings.password'
+ },
+ {
+ name: 'Delete Account',
+ route: 'settings.account'
+ }
+ ]
+
+ if (this.user.is_subscribed) {
+ tabs.splice(1, 0, {
+ name: 'Billing',
+ route: 'settings.billing'
+ })
+ }
+
+ if (this.user.admin) {
+ tabs.push({
+ name: 'Admin',
+ route: 'settings.admin'
+ })
+ }
+
+ return tabs
+ }
+ },
+
+ methods: {
+ }
+}
+</script>
diff --git a/client/pages/settings/password.vue b/client/pages/settings/password.vue
new file mode 100644
index 000000000..2e7405732
--- /dev/null
+++ b/client/pages/settings/password.vue
@@ -0,0 +1,53 @@
+<template>
+ <div>
+ <h3 class="font-semibold text-2xl text-gray-900">
+ Password
+ </h3>
+ <small class="text-gray-600">Manage your password.</small>
+
+ <form class="mt-3" @submit.prevent="update" @keydown="form.onKeydown($event)">
+ <alert-success class="mb-5" :form="form" message="Password updated." />
+
+ <!-- Password -->
+ <text-input native-type="password"
+ name="password" :form="form" label="Password" :required="true"
+ />
+
+ <!-- Password Confirmation-->
+ <text-input native-type="password"
+ name="password_confirmation" :form="form" label="Confirm Password" :required="true"
+ />
+
+ <!-- Submit Button -->
+ <v-button :loading="form.busy" class="mt-4">
+ Update password
+ </v-button>
+ </form>
+ </div>
+</template>
+
+<script>
+import Form from 'vform'
+import SeoMeta from '../../mixins/seo-meta.js'
+
+export default {
+ mixins: [SeoMeta],
+ scrollToTop: false,
+
+ data: () => ({
+ metaTitle: 'Password',
+ form: new Form({
+ password: '',
+ password_confirmation: ''
+ })
+ }),
+
+ methods: {
+ async update () {
+ await this.form.patch('/api/settings/password')
+
+ this.form.reset()
+ }
+ }
+}
+</script>
diff --git a/client/pages/settings/profile.vue b/client/pages/settings/profile.vue
new file mode 100644
index 000000000..efb114b6d
--- /dev/null
+++ b/client/pages/settings/profile.vue
@@ -0,0 +1,66 @@
+<template>
+ <div>
+ <h3 class="font-semibold text-2xl text-gray-900">
+ Profile details
+ </h3>
+ <small class="text-gray-600">Update your username and manage your account details.</small>
+
+ <form class="mt-3" @submit.prevent="update" @keydown="form.onKeydown($event)">
+ <alert-success class="mb-5" :form="form" message="Your info has been updated!" />
+
+ <!-- Name -->
+ <text-input name="name" :form="form" label="Name" :required="true" />
+
+ <!-- Email -->
+ <text-input name="email" :form="form" label="Email" :required="true" />
+
+ <!-- Submit Button -->
+ <v-button :loading="form.busy" class="mt-4">
+ Save changes
+ </v-button>
+ </form>
+ </div>
+</template>
+
+<script>
+import Form from 'vform'
+import { computed } from 'vue'
+import { useAuthStore } from '../../stores/auth'
+import SeoMeta from '../../mixins/seo-meta.js'
+
+export default {
+ mixins: [SeoMeta],
+ scrollToTop: false,
+
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ authStore,
+ user : computed(() => authStore.user)
+ }
+ },
+
+ data: () => ({
+ metaTitle: 'Profile',
+ form: new Form({
+ name: '',
+ email: ''
+ })
+ }),
+
+ created () {
+ // Fill the form with user data.
+ this.form.keys().forEach(key => {
+ this.form[key] = this.user[key]
+ })
+ },
+
+ methods: {
+ async update () {
+ const { data } = await this.form.patch('/api/settings/profile')
+
+ this.authStore.updateUser(data)
+ }
+ }
+}
+</script>
diff --git a/client/pages/settings/workspace.vue b/client/pages/settings/workspace.vue
new file mode 100644
index 000000000..d93b390c8
--- /dev/null
+++ b/client/pages/settings/workspace.vue
@@ -0,0 +1,224 @@
+<template>
+ <div>
+ <div class="flex flex-wrap items-center gap-y-4 flex-wrap-reverse">
+ <div class="flex-grow">
+ <h3 class="font-semibold text-2xl text-gray-900">
+ Workspace settings
+ </h3>
+ <small class="text-gray-600">Manage your workspaces.</small>
+ </div>
+ <v-button color="outline-blue" :loading="loading" @click="workspaceModal=true">
+ <svg class="inline -mt-1 mr-1 h-4 w-4" viewBox="0 0 14 14" fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path d="M6.99996 1.16699V12.8337M1.16663 7.00033H12.8333" stroke="currentColor" stroke-width="1.67"
+ stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ Create new workspace
+ </v-button>
+ </div>
+
+ <div v-if="loading" class="w-full text-blue-500 text-center">
+ <loader class="h-10 w-10 p-5" />
+ </div>
+ <div v-else-if="workspace">
+ <div class="mt-4 flex group bg-white items-center">
+ <div class="flex space-x-4 flex-grow items-center">
+ <img v-if="isUrl(workspace.icon)" :src="workspace.icon" :alt="workspace.name + ' icon'"
+ class="rounded-full h-12 w-12"
+ >
+ <div v-else class="rounded-2xl bg-gray-100 h-12 w-12 text-2xl pt-2 text-center overflow-hidden"
+ v-text="workspace.icon"
+ />
+ <div class="space-y-4 py-1">
+ <div class="font-bold truncate">
+ {{ workspace.name }}
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <template v-if="customDomainsEnabled">
+ <text-area-input v-model="customDomains" name="custom_domain" class="mt-4" :required="false"
+ :disabled="!workspace.is_pro"
+ label="Workspace Custom Domains" wrapper-class="" placeholder="yourdomain.com - 1 per line"
+ />
+ <p class="text-gray-500 text-sm">
+ Read our <a href="#"
+ @click.prevent="$crisp.push(['do', 'helpdesk:article:open', ['en', 'how-to-use-my-own-domain-9m77g7']])"
+ >custom
+ domain instructions</a> to learn how to use your own domain.
+ </p>
+ </template>
+
+ <div class="flex flex-wrap justify-between gap-2 mt-4">
+ <v-button v-if="customDomainsEnabled" class="w-full sm:w-auto" :loading="customDomainsLoading" @click="saveChanges">
+ <svg class="w-4 h-4 text-white inline mr-1 -mt-1" viewBox="0 0 24 24" fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M17 21V13H7V21M7 3V8H15M19 21H5C4.46957 21 3.96086 20.7893 3.58579 20.4142C3.21071 20.0391 3 19.5304 3 19V5C3 4.46957 3.21071 3.96086 3.58579 3.58579C3.96086 3.21071 4.46957 3 5 3H16L21 8V19C21 19.5304 20.7893 20.0391 20.4142 20.4142C20.0391 20.7893 19.5304 21 19 21Z"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ Save Domains
+ </v-button>
+ <v-button v-if="workspaces.length > 1" color="white" class="group w-full sm:w-auto" :loading="loading"
+ @click="deleteWorkspace(workspace)"
+ >
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 -mt-1 inline group-hover:text-red-700" fill="none"
+ viewBox="0 0 24 24" stroke="currentColor"
+ >
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
+ />
+ </svg>
+ Remove workspace
+ </v-button>
+ </div>
+ </div>
+
+ <!-- Workspace modal -->
+ <modal :show="workspaceModal" max-width="lg" @close="workspaceModal=false">
+ <template #icon>
+ <svg class="w-8 h-8" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M12 8V16M8 12H16M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"
+ stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
+ />
+ </svg>
+ </template>
+ <template #title>
+ Create Workspace
+ </template>
+ <div class="px-4">
+ <form @submit.prevent="createWorkspace" @keydown="form.onKeydown($event)">
+ <div>
+ <text-input name="name" class="mt-4" :form="form" :required="true"
+ label="Workspace Name"
+ />
+ <text-input name="emoji" class="mt-4" :form="form" :required="false"
+ label="Emoji"
+ />
+ </div>
+
+ <div class="w-full mt-6">
+ <v-button :loading="form.busy" class="w-full my-3">
+ Save
+ </v-button>
+ </div>
+ </form>
+ </div>
+ </modal>
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import Form from 'vform'
+import { useFormsStore } from '../../stores/forms'
+import { useWorkspacesStore } from '../../stores/workspaces'
+import SeoMeta from '../../mixins/seo-meta.js'
+import TextAreaInput from '../../components/forms/TextAreaInput.vue'
+import axios from 'axios'
+import * as domain from 'domain'
+
+export default {
+ components: { TextAreaInput },
+ mixins: [SeoMeta],
+ scrollToTop: false,
+ mixins: [SeoMeta],
+
+ setup () {
+ const formsStore = useFormsStore()
+ const workspacesStore = useWorkspacesStore()
+ return {
+ formsStore,
+ workspacesStore,
+ workspaces: computed(() => workspacesStore.content),
+ loading: computed(() => workspacesStore.loading)
+ }
+ },
+
+ data: () => ({
+ metaTitle: 'Workspaces',
+ form: new Form({
+ name: '',
+ emoji: ''
+ }),
+ workspaceModal: false,
+ customDomains: '',
+ customDomainsLoading: false
+ }),
+
+ mounted () {
+ this.workspacesStore.loadIfEmpty()
+ this.initCustomDomains()
+ },
+
+ computed: {
+ workspace () {
+ return this.workspacesStore.getCurrent()
+ },
+ customDomainsEnabled () {
+ return this.$config.custom_domains_enabled
+ }
+ },
+
+ methods: {
+ saveChanges () {
+ if (this.customDomainsLoading) return
+ this.customDomainsLoading = true
+ // Update the workspace custom domain
+ axios.put('/api/open/workspaces/' + this.workspace.id + '/custom-domains', {
+ custom_domains: this.customDomains.split('\n')
+ .map(domain => domain.trim())
+ .filter(domain => domain && domain.length > 0)
+ }).then((response) => {
+ this.workspacesStore.addOrUpdate(response.data)
+ this.alertSuccess('Custom domains saved.')
+ }).catch((error) => {
+ this.alertError('Failed to update custom domains: ' + error.response.data.message)
+ }).finally(() => {
+ this.customDomainsLoading = false
+ })
+ },
+ initCustomDomains () {
+ if (!this.workspace) return
+ this.customDomains = this.workspace.custom_domains.join('\n')
+ },
+ deleteWorkspace (workspace) {
+ if (this.workspaces.length <= 1) {
+ this.alertError('You cannot delete your only workspace.')
+ return
+ }
+ this.alertConfirm('Do you really want to delete this workspace? All forms created in this workspace will be removed.', () => {
+ this.workspacesStore.delete(workspace.id).then(() => {
+ this.alertSuccess('Workspace successfully removed.')
+ })
+ })
+ },
+ isUrl (str) {
+ const pattern = new RegExp('^(https?:\\/\\/)?' + // protocol
+ '((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|' + // domain name
+ '((\\d{1,3}\\.){3}\\d{1,3}))' + // OR ip (v4) address
+ '(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*' + // port and path
+ '(\\?[;&a-z\\d%_.~+=-]*)?' + // query string
+ '(\\#[-a-z\\d_]*)?$', 'i') // fragment locator
+ return !!pattern.test(str)
+ },
+ async createWorkspace() {
+ const {data} = await this.form.post('/api/open/workspaces/create')
+ this.workspacesStore.load()
+ this.workspaceModal = false
+ }
+ },
+
+ watch: {
+ workspace () {
+ this.initCustomDomains()
+ }
+ }
+}
+</script>
diff --git a/client/pages/subscriptions/error.vue b/client/pages/subscriptions/error.vue
new file mode 100644
index 000000000..fc33a4227
--- /dev/null
+++ b/client/pages/subscriptions/error.vue
@@ -0,0 +1,32 @@
+<template />
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../../stores/auth'
+import SeoMeta from '../../mixins/seo-meta.js'
+
+export default {
+ components: { },
+ layout: 'default',
+ middleware: 'auth',
+ mixins: [SeoMeta],
+
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ authenticated : computed(() => authStore.check),
+ }
+ },
+
+ data: () => ({
+ metaTitle: 'Error',
+ }),
+
+ mounted () {
+ this.$router.push({ name: 'pricing' })
+ this.alertError('Unfortunately we could not confirm your subscription. Please try again and contact us if the issue persists.')
+ },
+
+ computed: {}
+}
+</script>
diff --git a/client/pages/subscriptions/success.vue b/client/pages/subscriptions/success.vue
new file mode 100644
index 000000000..e8d976f64
--- /dev/null
+++ b/client/pages/subscriptions/success.vue
@@ -0,0 +1,78 @@
+<template>
+ <div class="flex flex-col min-h-screen">
+ <div class="w-full md:max-w-3xl md:mx-auto px-4 mb-10 md:pb-20 md:pt-16 text-center flex-grow">
+ <h1 class="text-4xl font-semibold">
+ Thank you!
+ </h1>
+ <h4 class="text-xl mt-6">
+ We're checking the status of your subscription please wait a moment...
+ </h4>
+ <div class="text-center">
+ <loader class="h-6 w-6 text-nt-blue mx-auto mt-20" />
+ </div>
+ </div>
+ <open-form-footer />
+ </div>
+</template>
+
+<script>
+import { computed } from 'vue'
+import { useAuthStore } from '../../stores/auth'
+import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
+import SeoMeta from '../../mixins/seo-meta.js'
+
+export default {
+ components: { OpenFormFooter },
+ mixins: [SeoMeta],
+ layout: 'default',
+ middleware: 'auth',
+
+ setup () {
+ const authStore = useAuthStore()
+ return {
+ authStore,
+ authenticated : computed(() => authStore.check),
+ user : computed(() => authStore.user)
+ }
+ },
+
+ data: () => ({
+ metaTitle: 'Subscription Success',
+ interval: null
+ }),
+
+ mounted () {
+ this.redirectIfSubscribed()
+ this.interval = setInterval(() => this.checkSubscription(), 5000)
+ },
+
+ beforeUnmount () {
+ clearInterval(this.interval)
+ },
+
+ methods: {
+ async checkSubscription () {
+ // Fetch the user.
+ await this.authStore.fetchUser()
+ this.redirectIfSubscribed()
+ },
+ redirectIfSubscribed () {
+ if (this.user.is_subscribed) {
+ this.$logEvent('subscribed', { plan: this.user.has_enterprise_subscription ? 'enterprise' : 'pro' })
+ this.$crisp.push(['set', 'session:event', [[['subscribed', { plan: this.user.has_enterprise_subscription ? 'enterprise' : 'pro' }, 'blue']]]])
+ this.$router.push({ name: 'home' })
+
+ if (this.user.has_enterprise_subscription) {
+ this.alertSuccess('Awesome! Your subscription to OpnForm is now confirmed! You now have access to all Enterprise ' +
+ 'features. No need to invite your teammates, just ask them to create a OpnForm account and to connect the same Notion workspace. Feel free to contact us if you have any question 🙌')
+ } else {
+ this.alertSuccess('Awesome! Your subscription to OpnForm is now confirmed! You now have access to all Pro ' +
+ 'features. Feel free to contact us if you have any question 🙌')
+ }
+ }
+ }
+ },
+
+ computed: {}
+}
+</script>
diff --git a/client/pages/templates.vue b/client/pages/templates.vue
new file mode 100644
index 000000000..ccb35597d
--- /dev/null
+++ b/client/pages/templates.vue
@@ -0,0 +1,47 @@
+<template>
+ <div class="flex flex-col min-h-full border-t">
+ <section class="py-12 sm:py-16 bg-gray-50 border-b border-gray-200">
+ <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
+ <div class="text-center max-w-xl mx-auto">
+ <h1 class="text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight text-gray-900">
+ Form Templates
+ </h1>
+ <p class="text-gray-600 mt-4 text-lg font-normal">
+ Our collection of beautiful templates to create your own forms!
+ </p>
+ </div>
+ </div>
+ </section>
+
+ <templates-list />
+
+ <open-form-footer class="mt-8 border-t"/>
+ </div>
+</template>
+
+<script>
+import OpenFormFooter from '../components/pages/OpenFormFooter.vue'
+import TemplatesList from '../components/pages/templates/TemplatesList.vue'
+import SeoMeta from '../mixins/seo-meta.js'
+
+export default {
+
+ components: { OpenFormFooter, TemplatesList },
+ mixins: [SeoMeta],
+
+ props: {
+ metaTitle: { type: String, default: 'Templates' },
+ metaDescription: { type: String, default: 'Our collection of beautiful templates to create your own forms!' }
+ },
+
+ data () {
+ return {}
+ },
+
+ mounted () {},
+
+ computed: {},
+
+ methods: {}
+}
+</script>
diff --git a/client/pages/templates/industries-show.vue b/client/pages/templates/industries-show.vue
new file mode 100644
index 000000000..697cf8177
--- /dev/null
+++ b/client/pages/templates/industries-show.vue
@@ -0,0 +1,238 @@
+<template>
+ <div class="flex flex-col min-h-full">
+ <breadcrumb :path="breadcrumbs" />
+
+ <div v-if="templatesLoading" class="text-center my-4">
+ <loader class="h-6 w-6 text-nt-blue mx-auto" />
+ </div>
+ <p v-else-if="industry === null || !industry" class="text-center my-4">
+ We could not find this industry.
+ </p>
+ <template v-else>
+ <section class="py-12 sm:py-16 bg-gray-50 border-b border-gray-200">
+ <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
+ <div class="text-center mx-auto">
+ <div class="font-semibold sm:w-full text-blue-500 mb-3">
+ {{ industry.name }}
+ </div>
+ <h1 class="text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight text-gray-900">
+ {{ industry.meta_title }}
+ </h1>
+ <p class="max-w-xl mx-auto text-gray-600 mt-4 text-lg font-normal">
+ {{ industry.meta_description }}
+ </p>
+ </div>
+ </div>
+ </section>
+
+ <section class="bg-white py-12 sm:py-16">
+ <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
+ <div class="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 sm:gap-6 relative z-20">
+ <div class="flex items-center gap-4">
+ <div class="flex-1 sm:flex-none">
+ <select-input v-model="selectedType" name="type"
+ :options="typesOptions" class="w-full sm:w-auto md:w-56"
+ />
+ </div>
+ </div>
+ <div class="flex-1 w-full md:max-w-xs">
+ <text-input name="search" :form="searchTemplate" placeholder="Search..." />
+ </div>
+ </div>
+
+ <div v-if="templatesLoading" class="text-center mt-4">
+ <loader class="h-6 w-6 text-nt-blue mx-auto" />
+ </div>
+ <p v-else-if="enrichedTemplates.length === 0" class="text-center mt-4">
+ No templates found.
+ </p>
+ <div v-else class="relative z-10">
+ <div class="grid grid-cols-1 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8 sm:gap-y-12">
+ <single-template v-for="template in enrichedTemplates" :key="template.id" :slug="template.slug" />
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <section class="py-12 bg-white border-t border-gray-200 sm:py-16">
+ <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
+ <p class="text-gray-600 font-normal">
+ {{ industry.description }}
+ </p>
+ </div>
+ </section>
+
+ <section class="py-12 bg-white border-t border-gray-200 sm:py-16">
+ <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
+ <div class="flex items-center justify-between">
+ <h4 class="text-xl font-bold tracking-tight text-gray-900 sm:text-2xl">
+ Other Industries
+ </h4>
+
+ <v-button :to="{name:'templates'}" color="white" size="small" :arrow="true">
+ View All Templates
+ </v-button>
+ </div>
+
+ <div class="grid grid-cols-1 gap-8 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
+ <router-link v-for="row in otherIndustries" :key="row.slug"
+ :to="{params:{slug:row.slug}, name:'templates.industries.show'}"
+ :title="row.name"
+ class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue"
+ >
+ {{ row.name }}
+ </router-link>
+ </div>
+ </div>
+ </section>
+
+ </template>
+
+ <open-form-footer class="mt-8 border-t"/>
+ </div>
+</template>
+
+<script>
+import Form from 'vform'
+import Fuse from 'fuse.js'
+import { computed } from 'vue'
+import { useAuthStore } from '../../stores/auth'
+import { useTemplatesStore } from '../../stores/templates'
+import SeoMeta from '../../mixins/seo-meta.js'
+import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
+import Breadcrumb from '~/components/global/Breadcrumb.vue'
+import SingleTemplate from '../../components/pages/templates/SingleTemplate.vue'
+
+const loadTemplates = function () {
+ const templatesStore = useTemplatesStore()
+ templatesStore.startLoading()
+ templatesStore.loadIfEmpty().then(() => {
+ templatesStore.stopLoading()
+ })
+}
+
+export default {
+ components: { Breadcrumb, OpenFormFooter, SingleTemplate },
+ mixins: [SeoMeta],
+
+ beforeRouteEnter (to, from, next) {
+ loadTemplates()
+ next()
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ const templatesStore = useTemplatesStore()
+ return {
+ authStore,
+ authenticated : computed(() => authStore.check),
+ user : computed(() => authStore.user),
+ templates : computed(() => templatesStore.content),
+ templatesLoading : computed(() => templatesStore.loading),
+ industries : computed(() => templatesStore.industries),
+ types : computed(() => templatesStore.types)
+ }
+ },
+
+ data () {
+ return {
+ selectedType: 'all',
+ searchTemplate: new Form({
+ search: ''
+ })
+ }
+ },
+
+ mounted () {},
+
+ computed: {
+ breadcrumbs () {
+ if (!this.industry) {
+ return [{ route: { name: 'templates' }, label: 'Templates' }]
+ }
+ return [{ route: { name: 'templates' }, label: 'Templates' }, { label: this.industry.name }]
+ },
+ industry () {
+ return Object.values(this.industries).find((industry) => {
+ return industry.slug === this.$route.params.slug
+ })
+ },
+ typesOptions () {
+ return [{ name: 'All Types', value: 'all' }].concat(Object.values(this.types).map((type) => {
+ return {
+ name: type.name,
+ value: type.slug
+ }
+ }))
+ },
+ otherIndustries() {
+ return Object.values(this.industries).filter((industry) => {
+ return industry.slug !== this.$route.params.slug
+ })
+ },
+ enrichedTemplates () {
+ let enrichedTemplates = this.templates
+
+ // Filter by current Industry only
+ enrichedTemplates = enrichedTemplates.filter((item) => {
+ return (item.industries && item.industries.length > 0) ? item.industries.includes(this.$route.params.slug) : false
+ })
+
+ // Filter by Selected Type
+ if (this.selectedType && this.selectedType !== 'all') {
+ enrichedTemplates = enrichedTemplates.filter((item) => {
+ return (item.types && item.types.length > 0) ? item.types.includes(this.selectedType) : false
+ })
+ }
+
+ if (this.searchTemplate.search === '' || this.searchTemplate.search === null) {
+ return enrichedTemplates
+ }
+
+ // Fuze search
+ const fuzeOptions = {
+ keys: [
+ 'name',
+ 'slug',
+ 'description',
+ 'short_description'
+ ]
+ }
+ const fuse = new Fuse(enrichedTemplates, fuzeOptions)
+ return fuse.search(this.searchTemplate.search).map((res) => {
+ return res.item
+ })
+ },
+ metaTitle () {
+ return this.industry ? this.industry.meta_title : 'Form Template Industry'
+ },
+ metaDescription () {
+ if (!this.industry) return null
+ return this.industry.meta_description.substring(0, 140)
+ }
+ },
+
+ methods: {}
+}
+</script>
+
+<style lang='scss'>
+.nf-text {
+ @apply space-y-4;
+ h2 {
+ @apply text-sm font-normal tracking-widest text-gray-500 uppercase;
+ }
+
+ p {
+ @apply font-normal leading-7 text-gray-900 dark:text-gray-100;
+ }
+
+ ol {
+ @apply list-decimal list-inside;
+ }
+
+ ul {
+ @apply list-disc list-inside;
+ }
+}
+</style>
diff --git a/client/pages/templates/my_templates.vue b/client/pages/templates/my_templates.vue
new file mode 100644
index 000000000..78d4a2534
--- /dev/null
+++ b/client/pages/templates/my_templates.vue
@@ -0,0 +1,44 @@
+<template>
+ <div class="flex flex-col min-h-full border-t">
+ <section class="py-12 sm:py-16 bg-gray-50 border-b border-gray-200">
+ <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
+ <div class="text-center max-w-xl mx-auto">
+ <h1 class="text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight text-gray-900">
+ My Form Templates
+ </h1>
+ <p class="text-gray-600 mt-4 text-lg font-normal">
+ Share your best form as templates so that others can re-use them!
+ </p>
+ </div>
+ </div>
+ </section>
+
+ <templates-list :only-my="true" />
+ </div>
+</template>
+
+<script>
+import TemplatesList from '../../components/pages/templates/TemplatesList.vue'
+import SeoMeta from '../../mixins/seo-meta.js'
+
+export default {
+ components: { TemplatesList },
+ mixins: [SeoMeta],
+ middleware: 'auth',
+
+ props: {
+ metaTitle: { type: String, default: 'My Templates' },
+ metaDescription: { type: String, default: 'Our collection of beautiful templates to create your own forms!' }
+ },
+
+ data () {
+ return {}
+ },
+
+ mounted () {},
+
+ computed: {},
+
+ methods: {}
+}
+</script>
diff --git a/client/pages/templates/show.vue b/client/pages/templates/show.vue
new file mode 100644
index 000000000..ae841e512
--- /dev/null
+++ b/client/pages/templates/show.vue
@@ -0,0 +1,328 @@
+<template>
+ <div class="flex flex-col min-h-full">
+ <breadcrumb :path="breadcrumbs">
+ <template #left>
+ <div v-if="canEditTemplate" class="ml-5">
+ <v-button color="gray" size="small" @click.prevent="showFormTemplateModal=true">
+ Edit Template
+ </v-button>
+ <form-template-modal v-if="form" :form="form" :template="template" :show="showFormTemplateModal"
+ @close="showFormTemplateModal=false"
+ />
+ </div>
+ </template>
+ <template #right>
+ <v-button v-if="canEditTemplate" v-track.copy_template_button_clicked size="small" color="white" class="mr-5"
+ @click.prevent="copyTemplateUrl"
+ >
+ Copy Template URL
+ </v-button>
+ <v-button v-track.use_template_button_clicked size="small" class="mr-5"
+ :to="{path: createFormWithTemplateUrl}"
+ >
+ Use this template
+ </v-button>
+ </template>
+ </breadcrumb>
+
+ <div v-if="templatesLoading" class="text-center my-4">
+ <loader class="h-6 w-6 text-nt-blue mx-auto" />
+ </div>
+ <p v-else-if="template === null || !template" class="text-center my-4">
+ We could not find this template.
+ </p>
+ <template v-else>
+ <section class="pt-12 bg-gray-50 sm:pt-16 border-b pb-[250px] relative">
+ <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
+ <div class="flex flex-col items-center justify-center max-w-4xl gap-8 mx-auto md:gap-12 md:flex-row">
+ <div class="aspect-[4/3] shrink-0 rounded-lg shadow-sm overflow-hidden group max-w-xs">
+ <img class="object-cover w-full h-full transition-all duration-200 group-hover:scale-110"
+ :src="template.image_url" alt="Template cover image"
+ >
+ </div>
+
+ <div class="flex-1 text-center md:text-left relative">
+ <h1 class="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">
+ {{ template.name }}
+ </h1>
+ <p class="mt-2 text-lg font-normal text-gray-600">
+ {{ cleanQuotes(template.short_description) }}
+ </p>
+ <template-tags :slug="template.slug" :display-all="true"
+ class="flex flex-wrap items-center justify-center gap-3 mt-4 md:justify-start"
+ />
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <section class="relative px-4 mx-auto sm:px-6 lg:px-8 -mt-[210px]">
+ <div class="max-w-7xl">
+ <div
+ class="max-w-2xl p-4 mx-auto bg-white shadow-lg sm:p-6 lg:p-8 rounded-xl ring-1 ring-inset ring-gray-200 isolate"
+ >
+ <p class="text-sm font-medium text-center text-gray-500 -mt-2 mb-2">
+ Template Preview
+ </p>
+ <open-complete-form ref="open-complete-form" :form="form" :creating="true"
+ class="mb-4 p-4 bg-gray-50 border border-gray-200 border-dashed rounded-lg"
+ />
+ </div>
+ </div>
+
+ <div class="absolute bottom-0 translate-y-full inset-x-0">
+ <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl -mt-[20px]">
+ <div class="flex items-center justify-center">
+ <v-button v-track.use_template_button_clicked class="mx-auto w-full max-w-[300px]" :to="{path: createFormWithTemplateUrl}">
+ Use this template
+ </v-button>
+ </div>
+ <div class="flex items-center justify-center">
+ <div class="text-left mx-auto text-gray-500 text-xs mt-4">
+ ✓ Core features 100% free<br>
+ ✓ No credit card required<br>
+ ✓ No submissions limit on Free plan
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <section class="pt-20 pb-12 bg-white sm:pb-16">
+ <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
+ <div class="max-w-2xl mx-auto mt-16 space-y-12 sm:mt-16 sm:space-y-16">
+ <div class="nf-text" v-html="template.description" />
+
+ <template v-if="template.questions.length > 0">
+ <hr class="mt-12 border-gray-200">
+ <div>
+ <div class="text-center">
+ <h3 class="text-xl font-bold tracking-tight text-gray-900 sm:text-2xl">
+ Frequently asked questions
+ </h3>
+ <p class="mt-2 text-base font-normal text-gray-600">
+ Everything you need to know about this template.
+ </p>
+ </div>
+ <dl class="mt-12 space-y-10">
+ <div v-for="(ques,ques_key) in template.questions" :key="ques_key" class="space-y-4">
+ <dt class="font-semibold text-gray-900 dark:text-gray-100">
+ {{ ques.question }}
+ </dt>
+ <dd class="mt-2 leading-6 text-gray-600 dark:text-gray-400" v-html="ques.answer" />
+ </div>
+ </dl>
+ </div>
+ </template>
+ </div>
+ </div>
+ </section>
+
+ <section v-if="template.related_templates.length > 0" class="py-12 bg-white border-t border-gray-200 sm:py-16">
+ <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
+ <div class="flex items-center justify-between">
+ <h4 class="text-xl font-bold tracking-tight text-gray-900 sm:text-2xl">
+ Related templates
+ </h4>
+ <v-button :to="{name:'templates'}" color="white" size="small" :arrow="true">
+ View All
+ </v-button>
+ </div>
+
+ <div class="grid grid-cols-1 gap-8 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 sm:gap-y-12">
+ <single-template v-for="related in template.related_templates" :key="related" :slug="related" />
+ </div>
+ </div>
+ </section>
+
+ <section class="py-12 bg-white border-t border-gray-200 sm:py-16">
+ <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
+ <div class="text-center">
+ <h4 class="text-xl font-bold tracking-tight text-gray-900 sm:text-2xl">
+ How OpnForm works
+ </h4>
+ </div>
+
+ <div class="grid grid-cols-1 mt-12 md:grid-cols-2 gap-x-8 gap-y-12">
+ <div
+ class="flex flex-col items-center gap-4 text-center lg:items-start sm:text-left sm:items-start xl:flex-row"
+ >
+ <div
+ class="inline-flex items-center justify-center w-10 h-10 text-base font-bold bg-white rounded-full shadow-sm ring-1 ring-inset ring-gray-200 text-blue-500 shrink-0"
+ >
+ 1
+ </div>
+ <div>
+ <h5 class="text-base font-bold leading-tight text-gray-900">
+ Copy the template and change it the way you like
+ </h5>
+ <p class="mt-2 text-sm font-normal text-gray-600">
+ <router-link :to="{path:createFormWithTemplateUrl}">
+ Click here to copy this template
+ </router-link>
+ and start customizing it. Change the questions, add new ones, choose colors and
+ more.
+ </p>
+ </div>
+ </div>
+
+ <div
+ class="flex flex-col items-center gap-4 text-center lg:items-start sm:text-left sm:items-start xl:flex-row"
+ >
+ <div
+ class="inline-flex items-center justify-center w-10 h-10 text-base font-bold bg-white rounded-full shadow-sm ring-1 ring-inset ring-gray-200 text-blue-500 shrink-0"
+ >
+ 2
+ </div>
+ <div>
+ <h5 class="text-base font-bold leading-tight text-gray-900">
+ Embed the form or share it via a link
+ </h5>
+ <p class="mt-2 text-sm font-normal text-gray-600">
+ You can directly share your form link, or embed the form on your website. It's magic! 🪄
+ </p>
+ </div>
+ </div>
+ </div>
+
+ <!-- add video here -->
+ <!-- <div class="max-w-5xl mx-auto mt-12 shadow-sm rounded-xl bg-blue-50 aspect-video" />-->
+ </div>
+ </section>
+ </template>
+
+ <open-form-footer class="mt-8 border-t"/>
+ </div>
+</template>
+
+<script>
+import Form from 'vform'
+import { computed } from 'vue'
+import { useAuthStore } from '../../stores/auth'
+import { useTemplatesStore } from '../../stores/templates'
+import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
+import OpenCompleteForm from '../../components/open/forms/OpenCompleteForm.vue'
+import Breadcrumb from '~/components/global/Breadcrumb.vue'
+import SeoMeta from '../../mixins/seo-meta.js'
+import TemplateTags from '../../components/pages/templates/TemplateTags.vue'
+import SingleTemplate from '../../components/pages/templates/SingleTemplate.vue'
+import FormTemplateModal from '../../components/open/forms/components/templates/FormTemplateModal.vue'
+
+export default {
+
+ components: { Breadcrumb, OpenFormFooter, OpenCompleteForm, TemplateTags, SingleTemplate, FormTemplateModal },
+ mixins: [SeoMeta],
+
+ beforeRouteEnter (to, from, next) {
+ const templatesStore = useTemplatesStore()
+ if (to.params?.slug) {
+ templatesStore.loadTemplate(to.params?.slug)
+ templatesStore.loadTypesAndIndustries()
+ }
+ next()
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ const templatesStore = useTemplatesStore()
+ return {
+ templatesStore,
+ authenticated : computed(() => authStore.check),
+ user : computed(() => authStore.user),
+ templatesLoading : computed(() => templatesStore.loading)
+ }
+ },
+
+ data () {
+ return {
+ showFormTemplateModal: false
+ }
+ },
+
+ mounted () {},
+
+ methods: {
+ cleanQuotes (str) {
+ // Remove starting and ending quotes if any
+ return (str) ? str.replace(/^"/, '').replace(/"$/, '') : ''
+ },
+ copyTemplateUrl(){
+ const str = this.template.share_url
+ const el = document.createElement('textarea')
+ el.value = str
+ document.body.appendChild(el)
+ el.select()
+ document.execCommand('copy')
+ document.body.removeChild(el)
+ this.alertSuccess('Copied!')
+ }
+ },
+
+ computed: {
+ breadcrumbs () {
+ if (!this.template) {
+ return [{ route: { name: 'templates' }, label: 'Templates' }]
+ }
+ return [{ route: { name: 'templates' }, label: 'Templates' }, { label: this.template.name }]
+ },
+ template () {
+ return this.templatesStore.getBySlug(this.$route.params.slug)
+ },
+ form () {
+ return this.template ? new Form(this.template.structure) : null
+ },
+ canEditTemplate () {
+ return this.user && this.template && (this.user.admin || this.user.template_editor || this.template.creator_id === this.user.id)
+ },
+ metaTitle () {
+ return this.template ? this.template.name : 'Form Template'
+ },
+ metaDescription () {
+ if (!this.template) return null
+ // take the first 140 characters of the description
+ return this.template.short_description?.substring(0, 140) + '... | Customize any template and create your own form in minutes.'
+ },
+ metaImage () {
+ if (!this.template) return null
+ return this.template.image_url
+ },
+ metaTags () {
+ if (!this.template) {
+ return [];
+ }
+ return this.template.publicly_listed ? [] : [{ name: 'robots', content: 'noindex' }]
+ },
+ createFormWithTemplateUrl () {
+ if(this.authenticated) {
+ return '/forms/create?template=' + this.template?.slug
+ }
+ return '/forms/create/guest?template=' + this.template?.slug
+ }
+ }
+}
+</script>
+
+<style lang='scss'>
+.nf-text {
+ @apply space-y-4;
+ h2 {
+ @apply text-sm font-normal tracking-widest text-gray-500 uppercase;
+ }
+
+ p {
+ @apply font-normal leading-7 text-gray-900 dark:text-gray-100;
+ }
+
+ ol {
+ @apply list-decimal list-inside;
+ }
+
+ ul {
+ @apply list-disc list-inside;
+ }
+}
+
+.aspect-video {
+ aspect-ratio: 16/9;
+}
+</style>
diff --git a/client/pages/templates/types-show.vue b/client/pages/templates/types-show.vue
new file mode 100644
index 000000000..8f4821dc2
--- /dev/null
+++ b/client/pages/templates/types-show.vue
@@ -0,0 +1,238 @@
+<template>
+ <div class="flex flex-col min-h-full">
+ <breadcrumb :path="breadcrumbs" />
+
+ <div v-if="templatesLoading" class="text-center my-4">
+ <loader class="h-6 w-6 text-nt-blue mx-auto" />
+ </div>
+ <p v-else-if="type === null || !type" class="text-center my-4">
+ We could not find this type.
+ </p>
+ <template v-else>
+ <section class="py-12 sm:py-16 bg-gray-50 border-b border-gray-200">
+ <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
+ <div class="text-center mx-auto">
+ <div class="font-semibold sm:w-full text-blue-500 mb-3">
+ {{ type.name }}
+ </div>
+ <h1 class="text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight text-gray-900">
+ {{ type.meta_title }}
+ </h1>
+ <p class="max-w-xl mx-auto text-gray-600 mt-4 text-lg font-normal">
+ {{ type.meta_description }}
+ </p>
+ </div>
+ </div>
+ </section>
+
+ <section class="bg-white py-12 sm:py-16">
+ <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
+ <div class="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 sm:gap-6 relative z-20">
+ <div class="flex items-center gap-4">
+ <div class="flex-1 sm:flex-none">
+ <select-input v-model="selectedIndustry" name="industry"
+ :options="industriesOptions" class="w-full sm:w-auto md:w-56"
+ />
+ </div>
+ </div>
+ <div class="flex-1 w-full md:max-w-xs">
+ <text-input name="search" :form="searchTemplate" placeholder="Search..." />
+ </div>
+ </div>
+
+ <div v-if="templatesLoading" class="text-center mt-4">
+ <loader class="h-6 w-6 text-nt-blue mx-auto" />
+ </div>
+ <p v-else-if="enrichedTemplates.length === 0" class="text-center mt-4">
+ No templates found.
+ </p>
+ <div v-else class="relative z-10">
+ <div class="grid grid-cols-1 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8 sm:gap-y-12">
+ <single-template v-for="template in enrichedTemplates" :key="template.id" :slug="template.slug" />
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <section class="py-12 bg-white border-t border-gray-200 sm:py-16">
+ <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
+ <p class="text-gray-600 font-normal">
+ {{ type.description }}
+ </p>
+ </div>
+ </section>
+
+ <section class="py-12 bg-white border-t border-gray-200 sm:py-16">
+ <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
+ <div class="flex items-center justify-between">
+ <h4 class="text-xl font-bold tracking-tight text-gray-900 sm:text-2xl">
+ Other Types
+ </h4>
+
+ <v-button :to="{name:'templates'}" color="white" size="small" :arrow="true">
+ View All Templates
+ </v-button>
+ </div>
+
+ <div class="grid grid-cols-1 gap-8 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
+ <router-link v-for="row in otherTypes" :key="row.slug"
+ :to="{params:{slug:row.slug}, name:'templates.types.show'}"
+ :title="row.name"
+ class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue"
+ >
+ {{ row.name }}
+ </router-link>
+ </div>
+ </div>
+ </section>
+
+ </template>
+
+ <open-form-footer class="mt-8 border-t"/>
+ </div>
+</template>
+
+<script>
+import Form from 'vform'
+import Fuse from 'fuse.js'
+import { computed } from 'vue'
+import { useAuthStore } from '../../stores/auth'
+import { useTemplatesStore } from '../../stores/templates'
+import SeoMeta from '../../mixins/seo-meta.js'
+import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
+import Breadcrumb from '~/components/global/Breadcrumb.vue'
+import SingleTemplate from '../../components/pages/templates/SingleTemplate.vue'
+
+const loadTemplates = function () {
+ const templatesStore = useTemplatesStore()
+ templatesStore.startLoading()
+ templatesStore.loadIfEmpty().then(() => {
+ templatesStore.stopLoading()
+ })
+}
+
+export default {
+ components: { Breadcrumb, OpenFormFooter, SingleTemplate },
+ mixins: [SeoMeta],
+
+ beforeRouteEnter (to, from, next) {
+ loadTemplates()
+ next()
+ },
+
+ setup () {
+ const authStore = useAuthStore()
+ const templatesStore = useTemplatesStore()
+ return {
+ authenticated : computed(() => authStore.check),
+ user : computed(() => authStore.user),
+ templates : computed(() => templatesStore.content),
+ templatesLoading : computed(() => templatesStore.loading),
+ industries : computed(() => templatesStore.industries),
+ types : computed(() => templatesStore.types)
+ }
+ },
+
+ data () {
+ return {
+ selectedIndustry: 'all',
+ searchTemplate: new Form({
+ search: ''
+ })
+ }
+ },
+
+ mounted () {},
+
+ computed: {
+ breadcrumbs () {
+ if (!this.type) {
+ return [{ route: { name: 'templates' }, label: 'Templates' }]
+ }
+ return [{ route: { name: 'templates' }, label: 'Templates' }, { label: this.type.name }]
+ },
+ type () {
+ return Object.values(this.types).find((type) => {
+ return type.slug === this.$route.params.slug
+ })
+ },
+ industriesOptions () {
+ return [{ name: 'All Industries', value: 'all' }].concat(Object.values(this.industries).map((industry) => {
+ return {
+ name: industry.name,
+ value: industry.slug
+ }
+ }))
+ },
+ otherTypes() {
+ return Object.values(this.types).filter((type) => {
+ return type.slug !== this.$route.params.slug
+ })
+ },
+ enrichedTemplates () {
+ let enrichedTemplates = this.templates
+
+ // Filter by current Type only
+ enrichedTemplates = enrichedTemplates.filter((item) => {
+ return (item.types && item.types.length > 0) ? item.types.includes(this.$route.params.slug) : false
+ })
+
+ // Filter by Selected Industry
+ if (this.selectedIndustry && this.selectedIndustry !== 'all') {
+ enrichedTemplates = enrichedTemplates.filter((item) => {
+ return (item.industries && item.industries.length > 0) ? item.industries.includes(this.selectedIndustry) : false
+ })
+ }
+
+ if (this.searchTemplate.search === '' || this.searchTemplate.search === null) {
+ return enrichedTemplates
+ }
+
+ // Fuze search
+ const fuzeOptions = {
+ keys: [
+ 'name',
+ 'slug',
+ 'description',
+ 'short_description'
+ ]
+ }
+ const fuse = new Fuse(enrichedTemplates, fuzeOptions)
+ return fuse.search(this.searchTemplate.search).map((res) => {
+ return res.item
+ })
+ },
+ metaTitle () {
+ return this.type ? this.type.meta_title : 'Form Template Type'
+ },
+ metaDescription () {
+ if (!this.type) return null
+ return this.type.meta_description.substring(0, 140)
+ }
+ },
+
+ methods: {}
+}
+</script>
+
+<style lang='scss'>
+.nf-text {
+ @apply space-y-4;
+ h2 {
+ @apply text-sm font-normal tracking-widest text-gray-500 uppercase;
+ }
+
+ p {
+ @apply font-normal leading-7 text-gray-900 dark:text-gray-100;
+ }
+
+ ol {
+ @apply list-decimal list-inside;
+ }
+
+ ul {
+ @apply list-disc list-inside;
+ }
+}
+</style>
+
diff --git a/client/pages/terms-conditions.vue b/client/pages/terms-conditions.vue
new file mode 100644
index 000000000..8d390b770
--- /dev/null
+++ b/client/pages/terms-conditions.vue
@@ -0,0 +1,31 @@
+<template>
+ <div>
+ <div class="mt-6 flex flex-col">
+ <div class="w-full md:max-w-3xl md:mx-auto px-4 md:pt-16">
+ <h1 class="sm:text-5xl">
+ Terms & Conditions
+ </h1>
+ <NotionPage page-id="246420da2834480ca04047b0c5a00929" />
+ </div>
+ </div>
+ <open-form-footer />
+ </div>
+</template>
+
+<script>
+import OpenFormFooter from '../components/pages/OpenFormFooter.vue'
+
+export default {
+ components: { OpenFormFooter },
+ layout: 'default',
+
+ data: () => ({
+ metaTitle: 'Terms & Conditions',
+ }),
+
+ computed: {},
+
+ mounted () {
+ }
+}
+</script>
diff --git a/client/plugins/amplitude.js b/client/plugins/amplitude.js
new file mode 100644
index 000000000..1ae9bcf13
--- /dev/null
+++ b/client/plugins/amplitude.js
@@ -0,0 +1,26 @@
+
+const {logEvent} = useAmplitude()
+
+// Hook function used by event listener
+function hookLogEvent (binding) {
+ const modifiers = Object.keys(binding.modifiers)
+ if (modifiers.length !== 1) {
+ throw new Error('Amplitude directive takes only one modifier which is the event name.')
+ }
+ const eventName = modifiers[0]
+
+ logEvent(eventName, binding.value)
+}
+
+export default defineNuxtPlugin(nuxtApp => {
+ // Doing something with nuxtApp
+ const registeredListeners = {}
+ nuxtApp.vueApp.directive('track', {
+ beforeMount (el, binding, vnode) {
+ registeredListeners[el] = () => {
+ hookLogEvent(binding)
+ }
+ el.addEventListener('click', registeredListeners[el])
+ }
+ })
+})
diff --git a/client/public/favicon.ico b/client/public/favicon.ico
new file mode 100644
index 000000000..18993ad91
Binary files /dev/null and b/client/public/favicon.ico differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Bold.eot b/client/public/fonts/general-sans/GeneralSans-Bold.eot
new file mode 100644
index 000000000..62ff3c8e6
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Bold.eot differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Bold.ttf b/client/public/fonts/general-sans/GeneralSans-Bold.ttf
new file mode 100644
index 000000000..61a5df965
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Bold.ttf differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Bold.woff b/client/public/fonts/general-sans/GeneralSans-Bold.woff
new file mode 100644
index 000000000..4e4fea3af
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Bold.woff differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Bold.woff2 b/client/public/fonts/general-sans/GeneralSans-Bold.woff2
new file mode 100644
index 000000000..65b0b4aa1
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Bold.woff2 differ
diff --git a/client/public/fonts/general-sans/GeneralSans-BoldItalic.eot b/client/public/fonts/general-sans/GeneralSans-BoldItalic.eot
new file mode 100644
index 000000000..3d92525fa
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-BoldItalic.eot differ
diff --git a/client/public/fonts/general-sans/GeneralSans-BoldItalic.ttf b/client/public/fonts/general-sans/GeneralSans-BoldItalic.ttf
new file mode 100644
index 000000000..d19bbc7c1
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-BoldItalic.ttf differ
diff --git a/client/public/fonts/general-sans/GeneralSans-BoldItalic.woff b/client/public/fonts/general-sans/GeneralSans-BoldItalic.woff
new file mode 100644
index 000000000..35a39b62e
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-BoldItalic.woff differ
diff --git a/client/public/fonts/general-sans/GeneralSans-BoldItalic.woff2 b/client/public/fonts/general-sans/GeneralSans-BoldItalic.woff2
new file mode 100644
index 000000000..d3aed5723
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-BoldItalic.woff2 differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Extralight.eot b/client/public/fonts/general-sans/GeneralSans-Extralight.eot
new file mode 100644
index 000000000..9a917c7bb
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Extralight.eot differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Extralight.ttf b/client/public/fonts/general-sans/GeneralSans-Extralight.ttf
new file mode 100644
index 000000000..f909f751a
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Extralight.ttf differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Extralight.woff b/client/public/fonts/general-sans/GeneralSans-Extralight.woff
new file mode 100644
index 000000000..3d7033fda
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Extralight.woff differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Extralight.woff2 b/client/public/fonts/general-sans/GeneralSans-Extralight.woff2
new file mode 100644
index 000000000..fdae71048
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Extralight.woff2 differ
diff --git a/client/public/fonts/general-sans/GeneralSans-ExtralightItalic.eot b/client/public/fonts/general-sans/GeneralSans-ExtralightItalic.eot
new file mode 100644
index 000000000..995465ff5
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-ExtralightItalic.eot differ
diff --git a/client/public/fonts/general-sans/GeneralSans-ExtralightItalic.ttf b/client/public/fonts/general-sans/GeneralSans-ExtralightItalic.ttf
new file mode 100644
index 000000000..6bfe01552
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-ExtralightItalic.ttf differ
diff --git a/client/public/fonts/general-sans/GeneralSans-ExtralightItalic.woff b/client/public/fonts/general-sans/GeneralSans-ExtralightItalic.woff
new file mode 100644
index 000000000..fed48b27d
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-ExtralightItalic.woff differ
diff --git a/client/public/fonts/general-sans/GeneralSans-ExtralightItalic.woff2 b/client/public/fonts/general-sans/GeneralSans-ExtralightItalic.woff2
new file mode 100644
index 000000000..e38db3147
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-ExtralightItalic.woff2 differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Italic.eot b/client/public/fonts/general-sans/GeneralSans-Italic.eot
new file mode 100644
index 000000000..da48c6387
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Italic.eot differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Italic.ttf b/client/public/fonts/general-sans/GeneralSans-Italic.ttf
new file mode 100644
index 000000000..4d6f0c26f
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Italic.ttf differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Italic.woff b/client/public/fonts/general-sans/GeneralSans-Italic.woff
new file mode 100644
index 000000000..a42ca2ad6
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Italic.woff differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Italic.woff2 b/client/public/fonts/general-sans/GeneralSans-Italic.woff2
new file mode 100644
index 000000000..b5e4795c1
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Italic.woff2 differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Light.eot b/client/public/fonts/general-sans/GeneralSans-Light.eot
new file mode 100644
index 000000000..86e8d4310
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Light.eot differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Light.ttf b/client/public/fonts/general-sans/GeneralSans-Light.ttf
new file mode 100644
index 000000000..66f6e42bd
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Light.ttf differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Light.woff b/client/public/fonts/general-sans/GeneralSans-Light.woff
new file mode 100644
index 000000000..e7828dfe4
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Light.woff differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Light.woff2 b/client/public/fonts/general-sans/GeneralSans-Light.woff2
new file mode 100644
index 000000000..e000d4375
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Light.woff2 differ
diff --git a/client/public/fonts/general-sans/GeneralSans-LightItalic.eot b/client/public/fonts/general-sans/GeneralSans-LightItalic.eot
new file mode 100644
index 000000000..f3b42050d
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-LightItalic.eot differ
diff --git a/client/public/fonts/general-sans/GeneralSans-LightItalic.ttf b/client/public/fonts/general-sans/GeneralSans-LightItalic.ttf
new file mode 100644
index 000000000..92d54c6ff
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-LightItalic.ttf differ
diff --git a/client/public/fonts/general-sans/GeneralSans-LightItalic.woff b/client/public/fonts/general-sans/GeneralSans-LightItalic.woff
new file mode 100644
index 000000000..95347bc89
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-LightItalic.woff differ
diff --git a/client/public/fonts/general-sans/GeneralSans-LightItalic.woff2 b/client/public/fonts/general-sans/GeneralSans-LightItalic.woff2
new file mode 100644
index 000000000..21d8f377a
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-LightItalic.woff2 differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Medium.eot b/client/public/fonts/general-sans/GeneralSans-Medium.eot
new file mode 100644
index 000000000..51c580ca3
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Medium.eot differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Medium.ttf b/client/public/fonts/general-sans/GeneralSans-Medium.ttf
new file mode 100644
index 000000000..e072c8373
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Medium.ttf differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Medium.woff b/client/public/fonts/general-sans/GeneralSans-Medium.woff
new file mode 100644
index 000000000..9ebd45a54
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Medium.woff differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Medium.woff2 b/client/public/fonts/general-sans/GeneralSans-Medium.woff2
new file mode 100644
index 000000000..c90195fa2
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Medium.woff2 differ
diff --git a/client/public/fonts/general-sans/GeneralSans-MediumItalic.eot b/client/public/fonts/general-sans/GeneralSans-MediumItalic.eot
new file mode 100644
index 000000000..26d153117
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-MediumItalic.eot differ
diff --git a/client/public/fonts/general-sans/GeneralSans-MediumItalic.ttf b/client/public/fonts/general-sans/GeneralSans-MediumItalic.ttf
new file mode 100644
index 000000000..f8becf054
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-MediumItalic.ttf differ
diff --git a/client/public/fonts/general-sans/GeneralSans-MediumItalic.woff b/client/public/fonts/general-sans/GeneralSans-MediumItalic.woff
new file mode 100644
index 000000000..98b86ec02
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-MediumItalic.woff differ
diff --git a/client/public/fonts/general-sans/GeneralSans-MediumItalic.woff2 b/client/public/fonts/general-sans/GeneralSans-MediumItalic.woff2
new file mode 100644
index 000000000..c97d31c24
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-MediumItalic.woff2 differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Regular.eot b/client/public/fonts/general-sans/GeneralSans-Regular.eot
new file mode 100644
index 000000000..a1269ddae
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Regular.eot differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Regular.ttf b/client/public/fonts/general-sans/GeneralSans-Regular.ttf
new file mode 100644
index 000000000..d970a994e
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Regular.ttf differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Regular.woff b/client/public/fonts/general-sans/GeneralSans-Regular.woff
new file mode 100644
index 000000000..0dbc271b8
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Regular.woff differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Regular.woff2 b/client/public/fonts/general-sans/GeneralSans-Regular.woff2
new file mode 100644
index 000000000..2bc4672a7
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Regular.woff2 differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Semibold.eot b/client/public/fonts/general-sans/GeneralSans-Semibold.eot
new file mode 100644
index 000000000..ca2dadf0b
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Semibold.eot differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Semibold.ttf b/client/public/fonts/general-sans/GeneralSans-Semibold.ttf
new file mode 100644
index 000000000..916b8091a
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Semibold.ttf differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Semibold.woff b/client/public/fonts/general-sans/GeneralSans-Semibold.woff
new file mode 100644
index 000000000..9c0ac3868
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Semibold.woff differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Semibold.woff2 b/client/public/fonts/general-sans/GeneralSans-Semibold.woff2
new file mode 100644
index 000000000..b17a037e3
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Semibold.woff2 differ
diff --git a/client/public/fonts/general-sans/GeneralSans-SemiboldItalic.eot b/client/public/fonts/general-sans/GeneralSans-SemiboldItalic.eot
new file mode 100644
index 000000000..4d61cdb75
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-SemiboldItalic.eot differ
diff --git a/client/public/fonts/general-sans/GeneralSans-SemiboldItalic.ttf b/client/public/fonts/general-sans/GeneralSans-SemiboldItalic.ttf
new file mode 100644
index 000000000..6180bd760
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-SemiboldItalic.ttf differ
diff --git a/client/public/fonts/general-sans/GeneralSans-SemiboldItalic.woff b/client/public/fonts/general-sans/GeneralSans-SemiboldItalic.woff
new file mode 100644
index 000000000..74b711387
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-SemiboldItalic.woff differ
diff --git a/client/public/fonts/general-sans/GeneralSans-SemiboldItalic.woff2 b/client/public/fonts/general-sans/GeneralSans-SemiboldItalic.woff2
new file mode 100644
index 000000000..4518fe97e
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-SemiboldItalic.woff2 differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Variable.eot b/client/public/fonts/general-sans/GeneralSans-Variable.eot
new file mode 100644
index 000000000..9763a2159
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Variable.eot differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Variable.ttf b/client/public/fonts/general-sans/GeneralSans-Variable.ttf
new file mode 100644
index 000000000..65b0dabc1
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Variable.ttf differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Variable.woff b/client/public/fonts/general-sans/GeneralSans-Variable.woff
new file mode 100644
index 000000000..8e56437f9
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Variable.woff differ
diff --git a/client/public/fonts/general-sans/GeneralSans-Variable.woff2 b/client/public/fonts/general-sans/GeneralSans-Variable.woff2
new file mode 100644
index 000000000..55e906ba3
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-Variable.woff2 differ
diff --git a/client/public/fonts/general-sans/GeneralSans-VariableItalic.eot b/client/public/fonts/general-sans/GeneralSans-VariableItalic.eot
new file mode 100644
index 000000000..2d83e7482
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-VariableItalic.eot differ
diff --git a/client/public/fonts/general-sans/GeneralSans-VariableItalic.ttf b/client/public/fonts/general-sans/GeneralSans-VariableItalic.ttf
new file mode 100644
index 000000000..e9450be74
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-VariableItalic.ttf differ
diff --git a/client/public/fonts/general-sans/GeneralSans-VariableItalic.woff b/client/public/fonts/general-sans/GeneralSans-VariableItalic.woff
new file mode 100644
index 000000000..81d8a5ad8
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-VariableItalic.woff differ
diff --git a/client/public/fonts/general-sans/GeneralSans-VariableItalic.woff2 b/client/public/fonts/general-sans/GeneralSans-VariableItalic.woff2
new file mode 100644
index 000000000..770170a83
Binary files /dev/null and b/client/public/fonts/general-sans/GeneralSans-VariableItalic.woff2 differ
diff --git a/client/public/img/appsumo/as-Select-dark.png b/client/public/img/appsumo/as-Select-dark.png
new file mode 100644
index 000000000..44dc132c8
Binary files /dev/null and b/client/public/img/appsumo/as-Select-dark.png differ
diff --git a/client/public/img/appsumo/as-taco-white-bg.png b/client/public/img/appsumo/as-taco-white-bg.png
new file mode 100644
index 000000000..16442a479
Binary files /dev/null and b/client/public/img/appsumo/as-taco-white-bg.png differ
diff --git a/client/public/img/customers/dbs.png b/client/public/img/customers/dbs.png
new file mode 100644
index 000000000..a874cc658
Binary files /dev/null and b/client/public/img/customers/dbs.png differ
diff --git a/client/public/img/customers/harvard.png b/client/public/img/customers/harvard.png
new file mode 100644
index 000000000..d19a3d53c
Binary files /dev/null and b/client/public/img/customers/harvard.png differ
diff --git a/client/public/img/customers/hyundai.png b/client/public/img/customers/hyundai.png
new file mode 100644
index 000000000..126dfc8d9
Binary files /dev/null and b/client/public/img/customers/hyundai.png differ
diff --git a/client/public/img/customers/sciencespo.png b/client/public/img/customers/sciencespo.png
new file mode 100644
index 000000000..22fb2a0d3
Binary files /dev/null and b/client/public/img/customers/sciencespo.png differ
diff --git a/client/public/img/customers/yale.png b/client/public/img/customers/yale.png
new file mode 100644
index 000000000..93f070185
Binary files /dev/null and b/client/public/img/customers/yale.png differ
diff --git a/client/public/img/icons/clock.png b/client/public/img/icons/clock.png
new file mode 100644
index 000000000..5716431ce
Binary files /dev/null and b/client/public/img/icons/clock.png differ
diff --git a/client/public/img/icons/form_happy.png b/client/public/img/icons/form_happy.png
new file mode 100644
index 000000000..076dfb3c9
Binary files /dev/null and b/client/public/img/icons/form_happy.png differ
diff --git a/client/public/img/icons/happy_flame.png b/client/public/img/icons/happy_flame.png
new file mode 100644
index 000000000..2f70081d7
Binary files /dev/null and b/client/public/img/icons/happy_flame.png differ
diff --git a/client/public/img/icons/neutral.png b/client/public/img/icons/neutral.png
new file mode 100644
index 000000000..f63c43ac0
Binary files /dev/null and b/client/public/img/icons/neutral.png differ
diff --git a/client/public/img/icons/plant.png b/client/public/img/icons/plant.png
new file mode 100644
index 000000000..b670e56b5
Binary files /dev/null and b/client/public/img/icons/plant.png differ
diff --git a/client/public/img/icons/rocket.png b/client/public/img/icons/rocket.png
new file mode 100644
index 000000000..708be4a9d
Binary files /dev/null and b/client/public/img/icons/rocket.png differ
diff --git a/client/public/img/icons/sad.png b/client/public/img/icons/sad.png
new file mode 100644
index 000000000..47d7a8d47
Binary files /dev/null and b/client/public/img/icons/sad.png differ
diff --git a/client/public/img/icons/sparks.png b/client/public/img/icons/sparks.png
new file mode 100644
index 000000000..5e51fe484
Binary files /dev/null and b/client/public/img/icons/sparks.png differ
diff --git a/client/public/img/icons/welcome.png b/client/public/img/icons/welcome.png
new file mode 100644
index 000000000..4daef91af
Binary files /dev/null and b/client/public/img/icons/welcome.png differ
diff --git a/client/public/img/icons/wonder.png b/client/public/img/icons/wonder.png
new file mode 100644
index 000000000..417d6f35d
Binary files /dev/null and b/client/public/img/icons/wonder.png differ
diff --git a/client/public/img/logo.png b/client/public/img/logo.png
new file mode 100644
index 000000000..4975a204b
Binary files /dev/null and b/client/public/img/logo.png differ
diff --git a/client/public/img/logo.svg b/client/public/img/logo.svg
new file mode 100644
index 000000000..70562a4bf
--- /dev/null
+++ b/client/public/img/logo.svg
@@ -0,0 +1 @@
+<svg fill="none" height="120" viewBox="0 0 120 120" width="120" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="60" x2="60" y1="2" y2="118.352"><stop offset="0" stop-color="#2563eb"/><stop offset="1" stop-color="#60a5fa"/></linearGradient><path clip-rule="evenodd" d="m80.6502 118.352c22.9638-8.418 39.3498-30.4712 39.3498-56.352 0-33.1371-26.8629-60-60-60s-60 26.8629-60 60c0 25.8808 16.3862 47.934 39.3498 56.352l16.631-38.9411c-7.4746-1.9924-12.9808-8.8086-12.9808-16.9109 0-9.665 7.835-17.5 17.5-17.5s17.5 7.835 17.5 17.5c0 8.4269-5.9563 15.4627-13.8885 17.1269z" fill="url(#a)" fill-rule="evenodd"/></svg>
\ No newline at end of file
diff --git a/client/public/img/pages/ai_form_builder/ai-feature-illustration.svg b/client/public/img/pages/ai_form_builder/ai-feature-illustration.svg
new file mode 100644
index 000000000..945a8e764
--- /dev/null
+++ b/client/public/img/pages/ai_form_builder/ai-feature-illustration.svg
@@ -0,0 +1,85 @@
+<svg width="582" height="457" viewBox="0 0 582 457" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_826_9623)">
+<path d="M0 0H582V456.569H0V0Z" fill="white"/>
+<circle cx="291" cy="85" r="36" fill="#D1E0FF"/>
+<rect x="191" y="136.052" width="200" height="16" rx="6" fill="#EAECF0"/>
+<g filter="url(#filter0_dd_826_9623)">
+<rect x="81" y="192.189" width="420" height="92" rx="12" fill="white"/>
+<rect x="101" y="208.189" width="380" height="24" rx="6" fill="#EAECF0"/>
+<rect x="151" y="244.189" width="280" height="24" rx="6" fill="#EAECF0"/>
+<rect x="81.5" y="192.689" width="419" height="91" rx="11.5" stroke="#D0D5DD"/>
+</g>
+<g filter="url(#filter1_d_826_9623)">
+<rect x="171.26" y="309.276" width="239.479" height="58.1034" rx="12" fill="#98A2B3"/>
+<g clip-path="url(#clip1_826_9623)">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M212.312 324.973C212.337 324.61 212.176 324.259 211.885 324.04C211.594 323.821 211.212 323.765 210.87 323.89C205.289 325.929 199.665 331.309 196.21 337.023C194.912 339.17 196.612 341.608 198.908 341.608H202.192C201.496 344.922 201.203 348.186 201.056 351.71C201.039 352.122 201.258 352.507 201.621 352.702C201.984 352.897 202.426 352.868 202.76 352.626C210.6 346.954 216.082 340.781 218.462 336.82C219.495 335.102 218.468 333.035 216.553 332.701C215.084 332.446 213.425 332.293 211.814 332.206L212.312 324.973Z" fill="white"/>
+</g>
+<path d="M240.79 345.833C236.615 345.833 233.364 342.723 233.364 338.267C233.364 334.013 236.455 330.822 240.669 330.822C244.322 330.822 246.931 332.989 247.874 336.12H244.282C243.84 334.655 242.515 333.551 240.589 333.551C238.261 333.551 236.495 335.257 236.495 338.348C236.495 341.117 238.04 343.244 240.93 343.244C243.057 343.244 244.402 341.98 244.803 340.194H240.629V337.766H248.054C248.235 342.462 245.385 345.833 240.79 345.833Z" fill="white"/>
+<path d="M254.595 345.713C251.384 345.713 249.237 343.485 249.237 340.134C249.237 336.943 251.464 334.615 254.555 334.615C257.946 334.615 260.194 337.364 259.692 340.856H252.086C252.267 342.602 253.11 343.566 254.535 343.566C255.759 343.566 256.582 342.964 256.903 341.9H259.672C259.07 344.328 257.204 345.713 254.595 345.713ZM254.495 336.662C253.19 336.662 252.367 337.505 252.126 339.09H256.742C256.662 337.605 255.819 336.662 254.495 336.662Z" fill="white"/>
+<path d="M264.35 339.692V345.532H261.561V334.816H264.13V336.341C264.912 335.277 266.016 334.615 267.421 334.615C269.568 334.615 271.054 336.02 271.054 338.609V345.532H268.284V339.552C268.284 337.966 267.662 337.083 266.398 337.083C265.294 337.083 264.35 337.966 264.35 339.692Z" fill="white"/>
+<path d="M278.113 345.713C274.902 345.713 272.755 343.485 272.755 340.134C272.755 336.943 274.982 334.615 278.073 334.615C281.465 334.615 283.713 337.364 283.211 340.856H275.605C275.785 342.602 276.628 343.566 278.053 343.566C279.277 343.566 280.1 342.964 280.421 341.9H283.191C282.589 344.328 280.722 345.713 278.113 345.713ZM278.013 336.662C276.708 336.662 275.886 337.505 275.645 339.09H280.261C280.18 337.605 279.337 336.662 278.013 336.662Z" fill="white"/>
+<path d="M287.869 340.334V345.532H285.079V334.816H287.648V336.883C288.431 335.518 290.096 334.695 291.822 334.695V337.585C289.454 337.404 287.869 337.966 287.869 340.334Z" fill="white"/>
+<path d="M299.653 345.532V344.208C298.951 345.211 297.887 345.733 296.422 345.733C294.195 345.733 292.71 344.429 292.71 342.422C292.71 340.334 294.395 339.211 297.526 339.211C298.128 339.211 298.65 339.251 299.312 339.331V338.689C299.312 337.485 298.63 336.782 297.466 336.782C296.262 336.782 295.539 337.485 295.439 338.689H292.93C293.091 336.22 294.877 334.615 297.466 334.615C300.276 334.615 301.921 336.16 301.921 338.789V345.532H299.653ZM295.339 342.341C295.339 343.244 295.981 343.806 297.024 343.806C298.449 343.806 299.312 343.024 299.312 341.779V341.017C298.65 340.916 298.188 340.876 297.707 340.876C296.121 340.876 295.339 341.378 295.339 342.341Z" fill="white"/>
+<path d="M310.831 342.823V345.251C310.149 345.593 309.507 345.733 308.684 345.733C306.476 345.733 305.091 344.469 305.091 342.06V337.204H302.924V334.816H305.091V331.645H307.861V334.816H310.932V337.204H307.861V341.418C307.861 342.662 308.423 343.164 309.426 343.164C309.948 343.164 310.43 343.044 310.831 342.823Z" fill="white"/>
+<path d="M317.056 345.713C313.845 345.713 311.697 343.485 311.697 340.134C311.697 336.943 313.925 334.615 317.016 334.615C320.407 334.615 322.655 337.364 322.153 340.856H314.547C314.728 342.602 315.571 343.566 316.995 343.566C318.22 343.566 319.043 342.964 319.364 341.9H322.133C321.531 344.328 319.665 345.713 317.056 345.713ZM316.955 336.662C315.651 336.662 314.828 337.505 314.587 339.09H319.203C319.123 337.605 318.28 336.662 316.955 336.662Z" fill="white"/>
+<path d="M334.598 345.532V344.208C333.895 345.211 332.832 345.733 331.367 345.733C329.139 345.733 327.654 344.429 327.654 342.422C327.654 340.334 329.34 339.211 332.47 339.211C333.072 339.211 333.594 339.251 334.257 339.331V338.689C334.257 337.485 333.574 336.782 332.41 336.782C331.206 336.782 330.484 337.485 330.383 338.689H327.875C328.035 336.22 329.821 334.615 332.41 334.615C335.22 334.615 336.865 336.16 336.865 338.789V345.532H334.598ZM330.283 342.341C330.283 343.244 330.925 343.806 331.969 343.806C333.394 343.806 334.257 343.024 334.257 341.779V341.017C333.594 340.916 333.133 340.876 332.651 340.876C331.066 340.876 330.283 341.378 330.283 342.341Z" fill="white"/>
+<path d="M346.755 345.532H343.704V331.123H353.016V333.772H346.755V337.404H352.033V340.033H346.755V345.532Z" fill="white"/>
+<path d="M359.253 345.733C356.143 345.733 353.815 343.285 353.815 340.174C353.815 337.043 356.143 334.615 359.253 334.615C362.364 334.615 364.692 337.043 364.692 340.174C364.692 343.285 362.364 345.733 359.253 345.733ZM359.253 343.265C360.638 343.265 361.822 342.161 361.822 340.174C361.822 338.187 360.638 337.103 359.253 337.103C357.869 337.103 356.685 338.187 356.685 340.174C356.685 342.161 357.869 343.265 359.253 343.265Z" fill="white"/>
+<path d="M369.262 340.334V345.532H366.472V334.816H369.041V336.883C369.824 335.518 371.489 334.695 373.215 334.695V337.585C370.847 337.404 369.262 337.966 369.262 340.334Z" fill="white"/>
+<path d="M377.454 345.532H374.664V334.816H377.233V336.341C378.016 335.257 379.019 334.615 380.444 334.615C381.909 334.615 383.033 335.297 383.575 336.521C384.418 335.337 385.502 334.615 387.107 334.615C389.275 334.615 390.74 336.04 390.74 338.609V345.532H387.97V339.492C387.97 337.986 387.328 337.083 386.104 337.083C385 337.083 384.097 337.946 384.097 339.552V345.532H381.327V339.492C381.327 337.986 380.685 337.083 379.461 337.083C378.337 337.083 377.454 337.946 377.454 339.552V345.532Z" fill="white"/>
+</g>
+<g clip-path="url(#clip2_826_9623)">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M264 392.614C264.473 392.614 264.857 392.998 264.857 393.471V396.328C264.857 396.801 264.473 397.185 264 397.185C263.527 397.185 263.143 396.801 263.143 396.328V393.471C263.143 392.998 263.527 392.614 264 392.614ZM257.654 395.748C257.975 395.4 258.517 395.377 258.865 395.697L260.968 397.628C261.317 397.948 261.34 398.491 261.02 398.839C260.7 399.188 260.157 399.211 259.809 398.891L257.706 396.959C257.357 396.639 257.334 396.097 257.654 395.748ZM260.207 402.389C260.651 402.224 260.877 401.73 260.712 401.286C260.547 400.843 260.053 400.617 259.61 400.782L256.844 401.81C256.4 401.975 256.174 402.469 256.339 402.913C256.504 403.356 256.998 403.582 257.442 403.417L260.207 402.389ZM262.666 404.132C263.09 404.342 263.264 404.856 263.054 405.28L261.785 407.84C261.575 408.264 261.061 408.438 260.636 408.228C260.212 408.017 260.039 407.503 260.249 407.079L261.517 404.519C261.728 404.095 262.242 403.921 262.666 404.132ZM270.294 396.959C270.643 396.639 270.666 396.097 270.345 395.748C270.025 395.4 269.483 395.377 269.134 395.697L267.031 397.628C266.683 397.948 266.66 398.491 266.98 398.839C267.3 399.188 267.842 399.211 268.191 398.891L270.294 396.959ZM267.288 401.286C267.453 400.843 267.946 400.617 268.39 400.782L271.156 401.81C271.6 401.975 271.826 402.469 271.661 402.913C271.496 403.356 271.002 403.582 270.558 403.417L267.793 402.389C267.349 402.224 267.123 401.73 267.288 401.286ZM266.482 404.519C266.272 404.095 265.758 403.921 265.334 404.132C264.909 404.342 264.736 404.856 264.946 405.28L266.215 407.84C266.425 408.264 266.939 408.438 267.363 408.228C267.788 408.017 267.961 407.503 267.751 407.079L266.482 404.519Z" fill="#D0D5DD"/>
+</g>
+<rect x="278" y="397.465" width="48" height="6" rx="3" fill="#EAECF0"/>
+<g clip-path="url(#clip3_826_9623)">
+<path d="M574.5 410.667C572.88 410.995 571.245 411.24 569.6 411.4C569.362 411.461 569.111 411.429 568.896 411.31C568.681 411.192 568.519 410.997 568.443 410.764C568.366 410.531 568.381 410.278 568.485 410.055C568.588 409.833 568.773 409.658 569 409.567C570.3 408.867 571.467 408.1 572.767 407.467C573.331 407.21 573.909 406.987 574.5 406.8L576.3 406.367C577.743 406.112 579.202 405.957 580.667 405.9C580.809 405.861 580.958 405.851 581.105 405.872C581.251 405.894 581.391 405.945 581.517 406.023C581.642 406.102 581.75 406.205 581.833 406.328C581.916 406.45 581.973 406.588 582 406.733C582.06 407.016 582.006 407.311 581.85 407.554C581.694 407.797 581.448 407.97 581.167 408.033C579.8 408.533 578.567 409.2 577.233 409.733C575.9 410.267 575.333 410.333 574.5 410.667Z" fill="#528BFF"/>
+<path d="M566.666 385.833C566.166 386.533 565.7 387.267 565.166 387.967C564.633 388.667 563.1 390.2 562.1 391.3C562.042 391.421 561.961 391.528 561.86 391.616C561.759 391.704 561.641 391.769 561.513 391.809C561.385 391.849 561.251 391.861 561.118 391.846C560.985 391.831 560.857 391.789 560.741 391.722C560.626 391.655 560.525 391.565 560.446 391.457C560.367 391.349 560.312 391.226 560.283 391.095C560.254 390.965 560.252 390.83 560.278 390.698C560.304 390.567 560.357 390.443 560.433 390.333C560.86 389.008 561.384 387.716 562 386.467C562.295 385.939 562.617 385.427 562.966 384.933C563.312 384.493 563.679 384.07 564.066 383.667C565.077 382.668 566.195 381.785 567.4 381.033C567.626 380.854 567.914 380.772 568.2 380.803C568.487 380.834 568.75 380.977 568.933 381.2C569.036 381.299 569.118 381.419 569.173 381.55C569.229 381.682 569.258 381.824 569.258 381.967C569.258 382.11 569.229 382.251 569.173 382.383C569.118 382.515 569.036 382.634 568.933 382.733C568.115 383.72 567.358 384.755 566.666 385.833Z" fill="#528BFF"/>
+<path d="M544.866 384.366C544.57 385.512 544.168 386.628 543.666 387.7C543.642 387.825 543.594 387.943 543.524 388.05C543.454 388.156 543.364 388.247 543.259 388.318C543.153 388.389 543.035 388.439 542.911 388.465C542.786 388.49 542.658 388.491 542.533 388.466C542.288 388.418 542.071 388.276 541.928 388.071C541.785 387.866 541.727 387.613 541.766 387.366C541.766 386.233 541.433 385.2 541.4 384.033C541.354 383.103 541.444 382.171 541.666 381.266C541.933 380.133 542.266 379.1 542.6 377.933C542.641 377.647 542.794 377.388 543.025 377.213C543.256 377.038 543.546 376.962 543.833 377C543.974 377.016 544.109 377.06 544.233 377.13C544.356 377.199 544.464 377.293 544.551 377.404C544.638 377.516 544.702 377.644 544.739 377.78C544.776 377.917 544.785 378.06 544.766 378.2C544.766 379.333 545.033 380.366 545.1 381.533C545.133 382.01 545.133 382.489 545.1 382.966C545.074 383.44 544.995 383.91 544.866 384.366Z" fill="#528BFF"/>
+<path d="M526.333 400.333C524.766 400.1 523.233 400 521.7 399.666C521.053 399.555 520.417 399.388 519.8 399.166L517.966 398.5C516.533 397.933 515.166 397.266 513.733 396.7C513.595 396.667 513.465 396.607 513.35 396.524C513.235 396.441 513.138 396.336 513.064 396.215C512.99 396.095 512.94 395.96 512.917 395.821C512.895 395.681 512.9 395.538 512.933 395.4C512.966 395.262 513.026 395.132 513.109 395.017C513.192 394.902 513.297 394.805 513.417 394.73C513.538 394.656 513.672 394.606 513.812 394.584C513.952 394.561 514.095 394.567 514.233 394.6C515.809 394.715 517.378 394.916 518.933 395.2C519.566 395.2 520.233 395.466 520.866 395.666C521.501 395.854 522.124 396.076 522.733 396.333C524.2 396.966 525.5 397.766 526.9 398.5C527.115 398.596 527.287 398.768 527.385 398.983C527.482 399.198 527.497 399.442 527.427 399.667C527.358 399.892 527.208 400.085 527.006 400.207C526.805 400.33 526.565 400.375 526.333 400.333Z" fill="#528BFF"/>
+<path d="M502.6 417.633C504.636 416.383 506.904 415.555 509.267 415.2C510.622 414.988 511.996 414.91 513.367 414.966C515.533 414.966 517.567 415.466 519.333 415.666C519.46 415.662 519.587 415.683 519.706 415.727C519.825 415.772 519.934 415.839 520.027 415.926C520.12 416.013 520.194 416.117 520.247 416.232C520.3 416.348 520.329 416.473 520.333 416.6C520.334 416.854 520.238 417.099 520.064 417.284C519.891 417.47 519.653 417.583 519.4 417.6C517.467 417.9 515.233 418.3 512.733 418.566L509.4 418.766C508.333 418.766 507.3 418.766 506.267 418.933C505.257 419.031 504.261 419.243 503.3 419.566C503.173 419.63 503.035 419.668 502.893 419.678C502.752 419.688 502.609 419.67 502.475 419.625C502.34 419.58 502.216 419.509 502.108 419.416C502.001 419.323 501.913 419.21 501.85 419.083C501.786 418.956 501.749 418.818 501.739 418.676C501.728 418.535 501.746 418.393 501.791 418.258C501.836 418.123 501.907 417.999 502 417.892C502.093 417.784 502.206 417.697 502.333 417.633H502.6Z" fill="#528BFF"/>
+<path d="M522.7 435.266C522.999 434.631 523.345 434.018 523.734 433.433C524.121 432.855 524.568 432.319 525.067 431.833C526.27 430.738 527.63 429.828 529.101 429.133C529.2 429.044 529.317 428.976 529.444 428.934C529.57 428.892 529.705 428.877 529.838 428.889C529.971 428.901 530.1 428.941 530.217 429.006C530.334 429.071 530.436 429.16 530.517 429.266C530.598 429.372 530.656 429.495 530.687 429.624C530.718 429.754 530.723 429.889 530.699 430.021C530.676 430.153 530.625 430.278 530.551 430.389C530.476 430.5 530.38 430.595 530.267 430.666C529.706 431.266 529.183 431.901 528.701 432.566C528.301 433.133 528.034 433.666 527.667 434.2C527.301 434.733 526.967 435.233 526.6 435.733C525.5 437.267 524.334 438.733 523.267 440.6C523.129 440.827 522.914 440.997 522.66 441.078C522.407 441.159 522.133 441.145 521.889 441.039C521.645 440.933 521.448 440.743 521.333 440.503C521.219 440.263 521.195 439.989 521.267 439.733C521.645 438.214 522.124 436.722 522.7 435.266Z" fill="#528BFF"/>
+<path d="M524.433 416.2C524.432 415.984 524.483 415.772 524.581 415.58C524.68 415.389 524.824 415.224 525 415.1L534.633 408.033C534.633 407 534.167 404.933 533.967 402.933C533.803 401.606 533.725 400.27 533.733 398.933C533.769 397.934 533.903 396.94 534.133 395.966C534.205 395.706 534.335 395.465 534.514 395.263C534.693 395.061 534.917 394.902 535.167 394.8C535.572 394.703 535.994 394.703 536.4 394.8C537.241 395.126 538.045 395.539 538.8 396.033L547.267 401.066L557.033 396.566C557.23 396.467 557.447 396.415 557.667 396.415C557.887 396.415 558.104 396.467 558.3 396.566C558.684 396.875 558.973 397.286 559.132 397.753C559.291 398.219 559.315 398.721 559.2 399.2C558.545 402.598 557.631 405.941 556.467 409.2L558.067 410.733C559.768 412.085 561.383 413.544 562.9 415.1C563.648 415.917 564.235 416.866 564.633 417.9C564.866 418.511 564.869 419.185 564.642 419.798C564.416 420.411 563.974 420.921 563.4 421.233C562.112 421.974 560.68 422.429 559.2 422.566H556.867C559.1 424.633 561.333 426.733 563.533 428.9C564.833 430.266 566.1 431.666 567.333 433.066C568.567 434.466 569.767 435.966 570.9 437.466C573.575 440.973 576.056 444.623 578.333 448.4C578.416 448.515 578.474 448.646 578.505 448.785C578.537 448.923 578.54 449.066 578.515 449.206C578.49 449.346 578.438 449.479 578.361 449.598C578.284 449.717 578.184 449.82 578.067 449.9C577.948 449.983 577.815 450.042 577.674 450.074C577.533 450.105 577.387 450.109 577.245 450.084C577.102 450.059 576.966 450.007 576.844 449.93C576.722 449.852 576.616 449.751 576.533 449.633C575.067 447.633 573.5 445.733 571.9 443.833C570.3 441.933 568.667 440.333 566.933 438.3C565.2 436.266 563.6 434.6 562.067 432.733C559.167 429.4 556.4 425.833 553.567 422.4C552.333 422.4 551.2 422.4 550.233 422.133L549.367 424.066C551.733 427.4 554.267 430.733 556.7 434.066C558.667 436.433 560.433 438.966 562 441.566C564.806 445.977 567.258 450.602 569.333 455.4C569.422 455.544 569.476 455.707 569.489 455.876C569.503 456.045 569.476 456.215 569.411 456.371C569.345 456.527 569.244 456.666 569.115 456.775C568.985 456.885 568.832 456.962 568.667 457C568.406 457.127 568.105 457.146 567.83 457.052C567.556 456.958 567.329 456.76 567.2 456.5C564.572 451.884 561.666 447.431 558.5 443.166C557.267 441.4 556.033 439.633 554.867 437.866L552.533 434.2C551.033 431.733 549.6 429.2 548.2 426.666C547.6 427.933 546.933 429.166 546.333 430.2C545.454 431.43 544.316 432.454 543 433.2C542.461 433.501 541.834 433.606 541.226 433.497C540.618 433.388 540.067 433.07 539.667 432.6C538.952 431.732 538.409 430.737 538.067 429.666C537.489 427.584 537.032 425.469 536.7 423.333L536.2 421.166C532.803 420.522 529.46 419.619 526.2 418.466C524.867 417.633 524.4 416.666 524.433 416.2ZM537.933 417.966C538.244 418.017 538.533 418.157 538.764 418.37C538.995 418.584 539.159 418.861 539.233 419.166L540.1 422.3C540.467 423.833 540.733 425.633 541.267 427.5C541.471 428.248 541.773 428.965 542.167 429.633C542.614 429.161 543.015 428.647 543.367 428.1C543.933 427.133 544.567 425.933 545.133 424.766C546.433 422.133 547.533 419.5 547.533 419.5C547.683 419.13 547.95 418.819 548.293 418.614C548.636 418.41 549.036 418.323 549.433 418.366C549.433 418.366 552.3 418.7 555.3 418.9C557.146 418.84 558.985 418.639 560.8 418.3C560.486 417.825 560.116 417.389 559.7 417C558.433 415.666 556.9 414.466 555.8 413.366L553.467 411.033C553.248 410.815 553.097 410.539 553.032 410.237C552.967 409.936 552.991 409.622 553.1 409.333C553.1 409.333 555.333 403.466 556.067 400.1L547.7 403.666C547.518 403.772 547.311 403.827 547.1 403.827C546.889 403.827 546.682 403.772 546.5 403.666C546.5 403.666 536.067 397.566 535.7 397C535.7 397.7 535.9 401.166 536.1 402.6C536.5 405.366 537.033 408.266 537.033 408.266C537.076 408.477 537.058 408.695 536.981 408.896C536.904 409.097 536.772 409.271 536.6 409.4L528.433 415.866C531.733 417 537.933 417.966 537.933 417.966Z" fill="#98A2B3"/>
+</g>
+</g>
+<defs>
+<filter id="filter0_dd_826_9623" x="65.9483" y="192.189" width="450.103" height="122.103" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="2.50862" operator="erode" in="SourceAlpha" result="effect1_dropShadow_826_9623"/>
+<feOffset dy="5.01724"/>
+<feGaussianBlur stdDeviation="3.76293"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.03 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_826_9623"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="5.01724" operator="erode" in="SourceAlpha" result="effect2_dropShadow_826_9623"/>
+<feOffset dy="15.0517"/>
+<feGaussianBlur stdDeviation="10.0345"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.08 0"/>
+<feBlend mode="normal" in2="effect1_dropShadow_826_9623" result="effect2_dropShadow_826_9623"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_826_9623" result="shape"/>
+</filter>
+<filter id="filter1_d_826_9623" x="126.105" y="294.224" width="329.789" height="148.414" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="15.0517" operator="erode" in="SourceAlpha" result="effect1_dropShadow_826_9623"/>
+<feOffset dy="30.1034"/>
+<feGaussianBlur stdDeviation="30.1034"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0625882 0 0 0 0 0.0926346 0 0 0 0 0.15702 0 0 0 0.18 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_826_9623"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_826_9623" result="shape"/>
+</filter>
+<clipPath id="clip0_826_9623">
+<path d="M0 0H582V456.569H0V0Z" fill="white"/>
+</clipPath>
+<clipPath id="clip1_826_9623">
+<rect width="30.1034" height="30.1034" fill="white" transform="translate(191.26 323.276)"/>
+</clipPath>
+<clipPath id="clip2_826_9623">
+<rect width="16" height="16" fill="white" transform="translate(256 392.465)"/>
+</clipPath>
+<clipPath id="clip3_826_9623">
+<rect width="80" height="80" fill="white" transform="matrix(-1 0 0 1 582 377)"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/client/public/img/pages/ai_form_builder/background-pattern-ai.svg b/client/public/img/pages/ai_form_builder/background-pattern-ai.svg
new file mode 100644
index 000000000..1049469c7
--- /dev/null
+++ b/client/public/img/pages/ai_form_builder/background-pattern-ai.svg
@@ -0,0 +1,285 @@
+<svg width="1216" height="693" viewBox="0 0 1216 693" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g opacity="0.7">
+<mask id="mask0_826_9653" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1216" height="692">
+<rect width="1216" height="692" fill="url(#paint0_radial_826_9653)"/>
+</mask>
+<g mask="url(#mask0_826_9653)">
+<mask id="path-2-inside-1_826_9653" fill="white">
+<path d="M0 0H135.111V135.111H0V0Z"/>
+</mask>
+<path d="M0 0H135.111V135.111H0V0Z" fill="white"/>
+<path d="M135.111 135.111V135.956H135.956V135.111H135.111ZM134.267 0V135.111H135.956V0H134.267ZM135.111 134.267H0V135.956H135.111V134.267Z" fill="#B2CCFF" mask="url(#path-2-inside-1_826_9653)"/>
+<mask id="path-4-inside-2_826_9653" fill="white">
+<path d="M135.111 0H270.222V135.111H135.111V0Z"/>
+</mask>
+<path d="M135.111 0H270.222V135.111H135.111V0Z" fill="white"/>
+<path d="M270.222 135.111V135.956H271.067V135.111H270.222ZM269.378 0V135.111H271.067V0H269.378ZM270.222 134.267H135.111V135.956H270.222V134.267Z" fill="#B2CCFF" mask="url(#path-4-inside-2_826_9653)"/>
+<mask id="path-6-inside-3_826_9653" fill="white">
+<path d="M270.222 0H405.333V135.111H270.222V0Z"/>
+</mask>
+<path d="M270.222 0H405.333V135.111H270.222V0Z" fill="white"/>
+<path d="M405.333 135.111V135.956H406.178V135.111H405.333ZM404.489 0V135.111H406.178V0H404.489ZM405.333 134.267H270.222V135.956H405.333V134.267Z" fill="#B2CCFF" mask="url(#path-6-inside-3_826_9653)"/>
+<mask id="path-8-inside-4_826_9653" fill="white">
+<path d="M405.333 0H540.445V135.111H405.333V0Z"/>
+</mask>
+<path d="M405.333 0H540.445V135.111H405.333V0Z" fill="white"/>
+<path d="M540.445 135.111V135.956H541.289V135.111H540.445ZM539.6 0V135.111H541.289V0H539.6ZM540.445 134.267H405.333V135.956H540.445V134.267Z" fill="#B2CCFF" mask="url(#path-8-inside-4_826_9653)"/>
+<mask id="path-10-inside-5_826_9653" fill="white">
+<path d="M540.444 0H675.555V135.111H540.444V0Z"/>
+</mask>
+<path d="M540.444 0H675.555V135.111H540.444V0Z" fill="white"/>
+<path d="M675.555 135.111V135.956H676.4V135.111H675.555ZM674.711 0V135.111H676.4V0H674.711ZM675.555 134.267H540.444V135.956H675.555V134.267Z" fill="#B2CCFF" mask="url(#path-10-inside-5_826_9653)"/>
+<mask id="path-12-inside-6_826_9653" fill="white">
+<path d="M675.556 0H810.667V135.111H675.556V0Z"/>
+</mask>
+<path d="M675.556 0H810.667V135.111H675.556V0Z" fill="#EFF4FF"/>
+<path d="M810.667 135.111V135.956H811.511V135.111H810.667ZM809.822 0V135.111H811.511V0H809.822ZM810.667 134.267H675.556V135.956H810.667V134.267Z" fill="#B2CCFF" mask="url(#path-12-inside-6_826_9653)"/>
+<mask id="path-14-inside-7_826_9653" fill="white">
+<path d="M810.667 0H945.778V135.111H810.667V0Z"/>
+</mask>
+<path d="M810.667 0H945.778V135.111H810.667V0Z" fill="white"/>
+<path d="M945.778 135.111V135.956H946.623V135.111H945.778ZM944.934 0V135.111H946.623V0H944.934ZM945.778 134.267H810.667V135.956H945.778V134.267Z" fill="#B2CCFF" mask="url(#path-14-inside-7_826_9653)"/>
+<mask id="path-16-inside-8_826_9653" fill="white">
+<path d="M945.778 0H1080.89V135.111H945.778V0Z"/>
+</mask>
+<path d="M945.778 0H1080.89V135.111H945.778V0Z" fill="white"/>
+<path d="M1080.89 135.111V135.956H1081.73V135.111H1080.89ZM1080.04 0V135.111H1081.73V0H1080.04ZM1080.89 134.267H945.778V135.956H1080.89V134.267Z" fill="#B2CCFF" mask="url(#path-16-inside-8_826_9653)"/>
+<mask id="path-18-inside-9_826_9653" fill="white">
+<path d="M1080.89 0H1216V135.111H1080.89V0Z"/>
+</mask>
+<path d="M1080.89 0H1216V135.111H1080.89V0Z" fill="white"/>
+<path d="M1216 134.267H1080.89V135.956H1216V134.267Z" fill="#B2CCFF" mask="url(#path-18-inside-9_826_9653)"/>
+<mask id="path-20-inside-10_826_9653" fill="white">
+<path d="M0 135.111H135.111V270.222H0V135.111Z"/>
+</mask>
+<path d="M0 135.111H135.111V270.222H0V135.111Z" fill="white"/>
+<path d="M135.111 270.222V271.067H135.956V270.222H135.111ZM134.267 135.111V270.222H135.956V135.111H134.267ZM135.111 269.378H0V271.067H135.111V269.378Z" fill="#B2CCFF" mask="url(#path-20-inside-10_826_9653)"/>
+<mask id="path-22-inside-11_826_9653" fill="white">
+<path d="M135.111 135.111H270.222V270.222H135.111V135.111Z"/>
+</mask>
+<path d="M135.111 135.111H270.222V270.222H135.111V135.111Z" fill="white"/>
+<path d="M270.222 270.222V271.067H271.067V270.222H270.222ZM269.378 135.111V270.222H271.067V135.111H269.378ZM270.222 269.378H135.111V271.067H270.222V269.378Z" fill="#B2CCFF" mask="url(#path-22-inside-11_826_9653)"/>
+<mask id="path-24-inside-12_826_9653" fill="white">
+<path d="M270.222 135.111H405.333V270.222H270.222V135.111Z"/>
+</mask>
+<path d="M270.222 135.111H405.333V270.222H270.222V135.111Z" fill="white"/>
+<path d="M405.333 270.222V271.067H406.178V270.222H405.333ZM404.489 135.111V270.222H406.178V135.111H404.489ZM405.333 269.378H270.222V271.067H405.333V269.378Z" fill="#B2CCFF" mask="url(#path-24-inside-12_826_9653)"/>
+<mask id="path-26-inside-13_826_9653" fill="white">
+<path d="M405.333 135.111H540.445V270.222H405.333V135.111Z"/>
+</mask>
+<path d="M405.333 135.111H540.445V270.222H405.333V135.111Z" fill="white"/>
+<path d="M540.445 270.222V271.067H541.289V270.222H540.445ZM539.6 135.111V270.222H541.289V135.111H539.6ZM540.445 269.378H405.333V271.067H540.445V269.378Z" fill="#B2CCFF" mask="url(#path-26-inside-13_826_9653)"/>
+<mask id="path-28-inside-14_826_9653" fill="white">
+<path d="M540.444 135.111H675.555V270.222H540.444V135.111Z"/>
+</mask>
+<path d="M540.444 135.111H675.555V270.222H540.444V135.111Z" fill="white"/>
+<path d="M675.555 270.222V271.067H676.4V270.222H675.555ZM674.711 135.111V270.222H676.4V135.111H674.711ZM675.555 269.378H540.444V271.067H675.555V269.378Z" fill="#B2CCFF" mask="url(#path-28-inside-14_826_9653)"/>
+<mask id="path-30-inside-15_826_9653" fill="white">
+<path d="M675.556 135.111H810.667V270.222H675.556V135.111Z"/>
+</mask>
+<path d="M675.556 135.111H810.667V270.222H675.556V135.111Z" fill="white"/>
+<path d="M810.667 270.222V271.067H811.511V270.222H810.667ZM809.822 135.111V270.222H811.511V135.111H809.822ZM810.667 269.378H675.556V271.067H810.667V269.378Z" fill="#B2CCFF" mask="url(#path-30-inside-15_826_9653)"/>
+<mask id="path-32-inside-16_826_9653" fill="white">
+<path d="M810.667 135.111H945.778V270.222H810.667V135.111Z"/>
+</mask>
+<path d="M810.667 135.111H945.778V270.222H810.667V135.111Z" fill="white"/>
+<path d="M945.778 270.222V271.067H946.623V270.222H945.778ZM944.934 135.111V270.222H946.623V135.111H944.934ZM945.778 269.378H810.667V271.067H945.778V269.378Z" fill="#B2CCFF" mask="url(#path-32-inside-16_826_9653)"/>
+<mask id="path-34-inside-17_826_9653" fill="white">
+<path d="M945.778 135.111H1080.89V270.222H945.778V135.111Z"/>
+</mask>
+<path d="M945.778 135.111H1080.89V270.222H945.778V135.111Z" fill="white"/>
+<path d="M1080.89 270.222V271.067H1081.73V270.222H1080.89ZM1080.04 135.111V270.222H1081.73V135.111H1080.04ZM1080.89 269.378H945.778V271.067H1080.89V269.378Z" fill="#B2CCFF" mask="url(#path-34-inside-17_826_9653)"/>
+<mask id="path-36-inside-18_826_9653" fill="white">
+<path d="M1080.89 135.111H1216V270.222H1080.89V135.111Z"/>
+</mask>
+<path d="M1080.89 135.111H1216V270.222H1080.89V135.111Z" fill="white"/>
+<path d="M1216 269.378H1080.89V271.067H1216V269.378Z" fill="#B2CCFF" mask="url(#path-36-inside-18_826_9653)"/>
+<mask id="path-38-inside-19_826_9653" fill="white">
+<path d="M0 270.222H135.111V405.333H0V270.222Z"/>
+</mask>
+<path d="M0 270.222H135.111V405.333H0V270.222Z" fill="white"/>
+<path d="M135.111 405.333V406.178H135.956V405.333H135.111ZM134.267 270.222V405.333H135.956V270.222H134.267ZM135.111 404.489H0V406.178H135.111V404.489Z" fill="#B2CCFF" mask="url(#path-38-inside-19_826_9653)"/>
+<mask id="path-40-inside-20_826_9653" fill="white">
+<path d="M135.111 270.222H270.222V405.333H135.111V270.222Z"/>
+</mask>
+<path d="M135.111 270.222H270.222V405.333H135.111V270.222Z" fill="white"/>
+<path d="M270.222 405.333V406.178H271.067V405.333H270.222ZM269.378 270.222V405.333H271.067V270.222H269.378ZM270.222 404.489H135.111V406.178H270.222V404.489Z" fill="#B2CCFF" mask="url(#path-40-inside-20_826_9653)"/>
+<mask id="path-42-inside-21_826_9653" fill="white">
+<path d="M270.222 270.222H405.333V405.333H270.222V270.222Z"/>
+</mask>
+<path d="M270.222 270.222H405.333V405.333H270.222V270.222Z" fill="#EFF4FF"/>
+<path d="M405.333 405.333V406.178H406.178V405.333H405.333ZM404.489 270.222V405.333H406.178V270.222H404.489ZM405.333 404.489H270.222V406.178H405.333V404.489Z" fill="#B2CCFF" mask="url(#path-42-inside-21_826_9653)"/>
+<mask id="path-44-inside-22_826_9653" fill="white">
+<path d="M405.333 270.222H540.445V405.333H405.333V270.222Z"/>
+</mask>
+<path d="M405.333 270.222H540.445V405.333H405.333V270.222Z" fill="white"/>
+<path d="M540.445 405.333V406.178H541.289V405.333H540.445ZM539.6 270.222V405.333H541.289V270.222H539.6ZM540.445 404.489H405.333V406.178H540.445V404.489Z" fill="#B2CCFF" mask="url(#path-44-inside-22_826_9653)"/>
+<mask id="path-46-inside-23_826_9653" fill="white">
+<path d="M540.444 270.222H675.555V405.333H540.444V270.222Z"/>
+</mask>
+<path d="M540.444 270.222H675.555V405.333H540.444V270.222Z" fill="white"/>
+<path d="M675.555 405.333V406.178H676.4V405.333H675.555ZM674.711 270.222V405.333H676.4V270.222H674.711ZM675.555 404.489H540.444V406.178H675.555V404.489Z" fill="#B2CCFF" mask="url(#path-46-inside-23_826_9653)"/>
+<mask id="path-48-inside-24_826_9653" fill="white">
+<path d="M675.556 270.222H810.667V405.333H675.556V270.222Z"/>
+</mask>
+<path d="M675.556 270.222H810.667V405.333H675.556V270.222Z" fill="white"/>
+<path d="M810.667 405.333V406.178H811.511V405.333H810.667ZM809.822 270.222V405.333H811.511V270.222H809.822ZM810.667 404.489H675.556V406.178H810.667V404.489Z" fill="#B2CCFF" mask="url(#path-48-inside-24_826_9653)"/>
+<mask id="path-50-inside-25_826_9653" fill="white">
+<path d="M810.667 270.222H945.778V405.333H810.667V270.222Z"/>
+</mask>
+<path d="M810.667 270.222H945.778V405.333H810.667V270.222Z" fill="white"/>
+<path d="M945.778 405.333V406.178H946.623V405.333H945.778ZM944.934 270.222V405.333H946.623V270.222H944.934ZM945.778 404.489H810.667V406.178H945.778V404.489Z" fill="#B2CCFF" mask="url(#path-50-inside-25_826_9653)"/>
+<mask id="path-52-inside-26_826_9653" fill="white">
+<path d="M945.778 270.222H1080.89V405.333H945.778V270.222Z"/>
+</mask>
+<path d="M945.778 270.222H1080.89V405.333H945.778V270.222Z" fill="white"/>
+<path d="M1080.89 405.333V406.178H1081.73V405.333H1080.89ZM1080.04 270.222V405.333H1081.73V270.222H1080.04ZM1080.89 404.489H945.778V406.178H1080.89V404.489Z" fill="#B2CCFF" mask="url(#path-52-inside-26_826_9653)"/>
+<mask id="path-54-inside-27_826_9653" fill="white">
+<path d="M1080.89 270.222H1216V405.333H1080.89V270.222Z"/>
+</mask>
+<path d="M1080.89 270.222H1216V405.333H1080.89V270.222Z" fill="white"/>
+<path d="M1216 404.489H1080.89V406.178H1216V404.489Z" fill="#B2CCFF" mask="url(#path-54-inside-27_826_9653)"/>
+<mask id="path-56-inside-28_826_9653" fill="white">
+<path d="M0 405.333H135.111V540.445H0V405.333Z"/>
+</mask>
+<path d="M0 405.333H135.111V540.445H0V405.333Z" fill="white"/>
+<path d="M135.111 540.445V541.289H135.956V540.445H135.111ZM134.267 405.333V540.445H135.956V405.333H134.267ZM135.111 539.6H0V541.289H135.111V539.6Z" fill="#B2CCFF" mask="url(#path-56-inside-28_826_9653)"/>
+<mask id="path-58-inside-29_826_9653" fill="white">
+<path d="M135.111 405.333H270.222V540.445H135.111V405.333Z"/>
+</mask>
+<path d="M135.111 405.333H270.222V540.445H135.111V405.333Z" fill="white"/>
+<path d="M270.222 540.445V541.289H271.067V540.445H270.222ZM269.378 405.333V540.445H271.067V405.333H269.378ZM270.222 539.6H135.111V541.289H270.222V539.6Z" fill="#B2CCFF" mask="url(#path-58-inside-29_826_9653)"/>
+<mask id="path-60-inside-30_826_9653" fill="white">
+<path d="M270.222 405.333H405.333V540.445H270.222V405.333Z"/>
+</mask>
+<path d="M270.222 405.333H405.333V540.445H270.222V405.333Z" fill="white"/>
+<path d="M405.333 540.445V541.289H406.178V540.445H405.333ZM404.489 405.333V540.445H406.178V405.333H404.489ZM405.333 539.6H270.222V541.289H405.333V539.6Z" fill="#B2CCFF" mask="url(#path-60-inside-30_826_9653)"/>
+<mask id="path-62-inside-31_826_9653" fill="white">
+<path d="M405.333 405.333H540.445V540.445H405.333V405.333Z"/>
+</mask>
+<path d="M405.333 405.333H540.445V540.445H405.333V405.333Z" fill="white"/>
+<path d="M540.445 540.445V541.289H541.289V540.445H540.445ZM539.6 405.333V540.445H541.289V405.333H539.6ZM540.445 539.6H405.333V541.289H540.445V539.6Z" fill="#B2CCFF" mask="url(#path-62-inside-31_826_9653)"/>
+<mask id="path-64-inside-32_826_9653" fill="white">
+<path d="M540.444 405.333H675.555V540.445H540.444V405.333Z"/>
+</mask>
+<path d="M540.444 405.333H675.555V540.445H540.444V405.333Z" fill="white"/>
+<path d="M675.555 540.445V541.289H676.4V540.445H675.555ZM674.711 405.333V540.445H676.4V405.333H674.711ZM675.555 539.6H540.444V541.289H675.555V539.6Z" fill="#B2CCFF" mask="url(#path-64-inside-32_826_9653)"/>
+<mask id="path-66-inside-33_826_9653" fill="white">
+<path d="M675.556 405.333H810.667V540.445H675.556V405.333Z"/>
+</mask>
+<path d="M675.556 405.333H810.667V540.445H675.556V405.333Z" fill="white"/>
+<path d="M810.667 540.445V541.289H811.511V540.445H810.667ZM809.822 405.333V540.445H811.511V405.333H809.822ZM810.667 539.6H675.556V541.289H810.667V539.6Z" fill="#B2CCFF" mask="url(#path-66-inside-33_826_9653)"/>
+<mask id="path-68-inside-34_826_9653" fill="white">
+<path d="M810.667 405.333H945.778V540.445H810.667V405.333Z"/>
+</mask>
+<path d="M810.667 405.333H945.778V540.445H810.667V405.333Z" fill="#EFF4FF"/>
+<path d="M945.778 540.445V541.289H946.623V540.445H945.778ZM944.934 405.333V540.445H946.623V405.333H944.934ZM945.778 539.6H810.667V541.289H945.778V539.6Z" fill="#B2CCFF" mask="url(#path-68-inside-34_826_9653)"/>
+<mask id="path-70-inside-35_826_9653" fill="white">
+<path d="M945.778 405.333H1080.89V540.445H945.778V405.333Z"/>
+</mask>
+<path d="M945.778 405.333H1080.89V540.445H945.778V405.333Z" fill="white"/>
+<path d="M1080.89 540.445V541.289H1081.73V540.445H1080.89ZM1080.04 405.333V540.445H1081.73V405.333H1080.04ZM1080.89 539.6H945.778V541.289H1080.89V539.6Z" fill="#B2CCFF" mask="url(#path-70-inside-35_826_9653)"/>
+<mask id="path-72-inside-36_826_9653" fill="white">
+<path d="M1080.89 405.333H1216V540.445H1080.89V405.333Z"/>
+</mask>
+<path d="M1080.89 405.333H1216V540.445H1080.89V405.333Z" fill="white"/>
+<path d="M1216 539.6H1080.89V541.289H1216V539.6Z" fill="#B2CCFF" mask="url(#path-72-inside-36_826_9653)"/>
+<mask id="path-74-inside-37_826_9653" fill="white">
+<path d="M0 540.444H135.111V675.555H0V540.444Z"/>
+</mask>
+<path d="M0 540.444H135.111V675.555H0V540.444Z" fill="white"/>
+<path d="M135.111 675.555V676.4H135.956V675.555H135.111ZM134.267 540.444V675.555H135.956V540.444H134.267ZM135.111 674.711H0V676.4H135.111V674.711Z" fill="#B2CCFF" mask="url(#path-74-inside-37_826_9653)"/>
+<mask id="path-76-inside-38_826_9653" fill="white">
+<path d="M135.111 540.444H270.222V675.555H135.111V540.444Z"/>
+</mask>
+<path d="M135.111 540.444H270.222V675.555H135.111V540.444Z" fill="white"/>
+<path d="M270.222 675.555V676.4H271.067V675.555H270.222ZM269.378 540.444V675.555H271.067V540.444H269.378ZM270.222 674.711H135.111V676.4H270.222V674.711Z" fill="#B2CCFF" mask="url(#path-76-inside-38_826_9653)"/>
+<mask id="path-78-inside-39_826_9653" fill="white">
+<path d="M270.222 540.444H405.333V675.555H270.222V540.444Z"/>
+</mask>
+<path d="M270.222 540.444H405.333V675.555H270.222V540.444Z" fill="white"/>
+<path d="M405.333 675.555V676.4H406.178V675.555H405.333ZM404.489 540.444V675.555H406.178V540.444H404.489ZM405.333 674.711H270.222V676.4H405.333V674.711Z" fill="#B2CCFF" mask="url(#path-78-inside-39_826_9653)"/>
+<mask id="path-80-inside-40_826_9653" fill="white">
+<path d="M405.333 540.444H540.445V675.555H405.333V540.444Z"/>
+</mask>
+<path d="M405.333 540.444H540.445V675.555H405.333V540.444Z" fill="white"/>
+<path d="M540.445 675.555V676.4H541.289V675.555H540.445ZM539.6 540.444V675.555H541.289V540.444H539.6ZM540.445 674.711H405.333V676.4H540.445V674.711Z" fill="#B2CCFF" mask="url(#path-80-inside-40_826_9653)"/>
+<mask id="path-82-inside-41_826_9653" fill="white">
+<path d="M540.444 540.444H675.555V675.555H540.444V540.444Z"/>
+</mask>
+<path d="M540.444 540.444H675.555V675.555H540.444V540.444Z" fill="white"/>
+<path d="M675.555 675.555V676.4H676.4V675.555H675.555ZM674.711 540.444V675.555H676.4V540.444H674.711ZM675.555 674.711H540.444V676.4H675.555V674.711Z" fill="#B2CCFF" mask="url(#path-82-inside-41_826_9653)"/>
+<mask id="path-84-inside-42_826_9653" fill="white">
+<path d="M675.556 540.444H810.667V675.555H675.556V540.444Z"/>
+</mask>
+<path d="M675.556 540.444H810.667V675.555H675.556V540.444Z" fill="white"/>
+<path d="M810.667 675.555V676.4H811.511V675.555H810.667ZM809.822 540.444V675.555H811.511V540.444H809.822ZM810.667 674.711H675.556V676.4H810.667V674.711Z" fill="#B2CCFF" mask="url(#path-84-inside-42_826_9653)"/>
+<mask id="path-86-inside-43_826_9653" fill="white">
+<path d="M810.667 540.444H945.778V675.555H810.667V540.444Z"/>
+</mask>
+<path d="M810.667 540.444H945.778V675.555H810.667V540.444Z" fill="white"/>
+<path d="M945.778 675.555V676.4H946.623V675.555H945.778ZM944.934 540.444V675.555H946.623V540.444H944.934ZM945.778 674.711H810.667V676.4H945.778V674.711Z" fill="#B2CCFF" mask="url(#path-86-inside-43_826_9653)"/>
+<mask id="path-88-inside-44_826_9653" fill="white">
+<path d="M945.778 540.444H1080.89V675.555H945.778V540.444Z"/>
+</mask>
+<path d="M945.778 540.444H1080.89V675.555H945.778V540.444Z" fill="#EFF4FF"/>
+<path d="M1080.89 675.555V676.4H1081.73V675.555H1080.89ZM1080.04 540.444V675.555H1081.73V540.444H1080.04ZM1080.89 674.711H945.778V676.4H1080.89V674.711Z" fill="#B2CCFF" mask="url(#path-88-inside-44_826_9653)"/>
+<mask id="path-90-inside-45_826_9653" fill="white">
+<path d="M1080.89 540.444H1216V675.555H1080.89V540.444Z"/>
+</mask>
+<path d="M1080.89 540.444H1216V675.555H1080.89V540.444Z" fill="white"/>
+<path d="M1216 674.711H1080.89V676.4H1216V674.711Z" fill="#B2CCFF" mask="url(#path-90-inside-45_826_9653)"/>
+<mask id="path-92-inside-46_826_9653" fill="white">
+<path d="M0 675.556H135.111V810.667H0V675.556Z"/>
+</mask>
+<path d="M0 675.556H135.111V810.667H0V675.556Z" fill="white"/>
+<path d="M135.111 810.667V811.511H135.956V810.667H135.111ZM134.267 675.556V810.667H135.956V675.556H134.267ZM135.111 809.822H0V811.511H135.111V809.822Z" fill="#B2CCFF" mask="url(#path-92-inside-46_826_9653)"/>
+<mask id="path-94-inside-47_826_9653" fill="white">
+<path d="M135.111 675.556H270.222V810.667H135.111V675.556Z"/>
+</mask>
+<path d="M135.111 675.556H270.222V810.667H135.111V675.556Z" fill="white"/>
+<path d="M270.222 810.667V811.511H271.067V810.667H270.222ZM269.378 675.556V810.667H271.067V675.556H269.378ZM270.222 809.822H135.111V811.511H270.222V809.822Z" fill="#B2CCFF" mask="url(#path-94-inside-47_826_9653)"/>
+<mask id="path-96-inside-48_826_9653" fill="white">
+<path d="M270.222 675.556H405.333V810.667H270.222V675.556Z"/>
+</mask>
+<path d="M270.222 675.556H405.333V810.667H270.222V675.556Z" fill="white"/>
+<path d="M405.333 810.667V811.511H406.178V810.667H405.333ZM404.489 675.556V810.667H406.178V675.556H404.489ZM405.333 809.822H270.222V811.511H405.333V809.822Z" fill="#B2CCFF" mask="url(#path-96-inside-48_826_9653)"/>
+<mask id="path-98-inside-49_826_9653" fill="white">
+<path d="M405.333 675.556H540.445V810.667H405.333V675.556Z"/>
+</mask>
+<path d="M405.333 675.556H540.445V810.667H405.333V675.556Z" fill="white"/>
+<path d="M540.445 810.667V811.511H541.289V810.667H540.445ZM539.6 675.556V810.667H541.289V675.556H539.6ZM540.445 809.822H405.333V811.511H540.445V809.822Z" fill="#B2CCFF" mask="url(#path-98-inside-49_826_9653)"/>
+<mask id="path-100-inside-50_826_9653" fill="white">
+<path d="M540.444 675.556H675.555V810.667H540.444V675.556Z"/>
+</mask>
+<path d="M540.444 675.556H675.555V810.667H540.444V675.556Z" fill="white"/>
+<path d="M675.555 810.667V811.511H676.4V810.667H675.555ZM674.711 675.556V810.667H676.4V675.556H674.711ZM675.555 809.822H540.444V811.511H675.555V809.822Z" fill="#B2CCFF" mask="url(#path-100-inside-50_826_9653)"/>
+<mask id="path-102-inside-51_826_9653" fill="white">
+<path d="M675.556 675.556H810.667V810.667H675.556V675.556Z"/>
+</mask>
+<path d="M675.556 675.556H810.667V810.667H675.556V675.556Z" fill="white"/>
+<path d="M810.667 810.667V811.511H811.511V810.667H810.667ZM809.822 675.556V810.667H811.511V675.556H809.822ZM810.667 809.822H675.556V811.511H810.667V809.822Z" fill="#B2CCFF" mask="url(#path-102-inside-51_826_9653)"/>
+<mask id="path-104-inside-52_826_9653" fill="white">
+<path d="M810.667 675.556H945.778V810.667H810.667V675.556Z"/>
+</mask>
+<path d="M810.667 675.556H945.778V810.667H810.667V675.556Z" fill="white"/>
+<path d="M945.778 810.667V811.511H946.623V810.667H945.778ZM944.934 675.556V810.667H946.623V675.556H944.934ZM945.778 809.822H810.667V811.511H945.778V809.822Z" fill="#B2CCFF" mask="url(#path-104-inside-52_826_9653)"/>
+<mask id="path-106-inside-53_826_9653" fill="white">
+<path d="M945.778 675.556H1080.89V810.667H945.778V675.556Z"/>
+</mask>
+<path d="M945.778 675.556H1080.89V810.667H945.778V675.556Z" fill="white"/>
+<path d="M1080.89 810.667V811.511H1081.73V810.667H1080.89ZM1080.04 675.556V810.667H1081.73V675.556H1080.04ZM1080.89 809.822H945.778V811.511H1080.89V809.822Z" fill="#B2CCFF" mask="url(#path-106-inside-53_826_9653)"/>
+<mask id="path-108-inside-54_826_9653" fill="white">
+<path d="M1080.89 675.556H1216V810.667H1080.89V675.556Z"/>
+</mask>
+<path d="M1080.89 675.556H1216V810.667H1080.89V675.556Z" fill="white"/>
+<path d="M1216 809.822H1080.89V811.511H1216V809.822Z" fill="#B2CCFF" mask="url(#path-108-inside-54_826_9653)"/>
+</g>
+</g>
+<defs>
+<radialGradient id="paint0_radial_826_9653" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(608 -6.70541e-05) rotate(90) scale(562.49 582.234)">
+<stop stop-color="white"/>
+<stop offset="0.991144" stop-color="white" stop-opacity="0"/>
+</radialGradient>
+</defs>
+</svg>
diff --git a/client/public/img/pages/ai_form_builder/background-pattern.svg b/client/public/img/pages/ai_form_builder/background-pattern.svg
new file mode 100644
index 000000000..2462fad59
--- /dev/null
+++ b/client/public/img/pages/ai_form_builder/background-pattern.svg
@@ -0,0 +1,78 @@
+<svg width="1440" height="860" viewBox="0 0 1440 860" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g opacity="0.7">
+<mask id="mask0_816_31586" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1440" height="860">
+<rect width="1440" height="859.5" fill="url(#paint0_radial_816_31586)"/>
+</mask>
+<g mask="url(#mask0_816_31586)">
+<rect x="185.25" y="14.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="303.75" y="14.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="422.25" y="14.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="540.75" y="14.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="659.25" y="14.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="777.75" y="14.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="896.25" y="14.25" width="118.5" height="118.5" fill="#2970FF" fill-opacity="0.15" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="1014.75" y="14.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="1133.25" y="14.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="185.25" y="132.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="303.75" y="132.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="422.25" y="132.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="540.75" y="132.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="659.25" y="132.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="777.75" y="132.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="896.25" y="132.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="1014.75" y="132.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="1133.25" y="132.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="185.25" y="251.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="303.75" y="251.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="422.25" y="251.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="540.75" y="251.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="659.25" y="251.25" width="118.5" height="118.5" fill="#2970FF" fill-opacity="0.15" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="777.75" y="251.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="896.25" y="251.25" width="118.5" height="118.5" fill="#2970FF" fill-opacity="0.15" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="1014.75" y="251.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="1133.25" y="251.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="185.25" y="369.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="303.75" y="369.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="422.25" y="369.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="540.75" y="369.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="659.25" y="369.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="777.75" y="369.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="896.25" y="369.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="1014.75" y="369.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="1133.25" y="369.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="185.25" y="488.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="303.75" y="488.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="422.25" y="488.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="540.75" y="488.25" width="118.5" height="118.5" fill="#2970FF" fill-opacity="0.15" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="659.25" y="488.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="777.75" y="488.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="896.25" y="488.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="1014.75" y="488.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="1133.25" y="488.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="185.25" y="606.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="303.75" y="606.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="422.25" y="606.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="540.75" y="606.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="659.25" y="606.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="777.75" y="606.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="896.25" y="606.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="1014.75" y="606.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="1133.25" y="606.75" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="185.25" y="725.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="303.75" y="725.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="422.25" y="725.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="540.75" y="725.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="659.25" y="725.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="777.75" y="725.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="896.25" y="725.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="1014.75" y="725.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+<rect x="1133.25" y="725.25" width="118.5" height="118.5" stroke="#2970FF" stroke-width="1.5"/>
+</g>
+</g>
+<defs>
+<radialGradient id="paint0_radial_816_31586" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(720 429.75) rotate(90) scale(529.785 887.598)">
+<stop stop-color="#D9D9D9" stop-opacity="0.2"/>
+<stop offset="0.802083" stop-color="#D9D9D9" stop-opacity="0"/>
+</radialGradient>
+</defs>
+</svg>
diff --git a/client/public/img/pages/ai_form_builder/examples-placeholder.png b/client/public/img/pages/ai_form_builder/examples-placeholder.png
new file mode 100644
index 000000000..50b4c8209
Binary files /dev/null and b/client/public/img/pages/ai_form_builder/examples-placeholder.png differ
diff --git a/client/public/img/pages/ai_form_builder/hero-mockup.png b/client/public/img/pages/ai_form_builder/hero-mockup.png
new file mode 100644
index 000000000..b5f3c9bf1
Binary files /dev/null and b/client/public/img/pages/ai_form_builder/hero-mockup.png differ
diff --git a/client/public/img/pages/ai_form_builder/icon-browser.svg b/client/public/img/pages/ai_form_builder/icon-browser.svg
new file mode 100644
index 000000000..5409f31c6
--- /dev/null
+++ b/client/public/img/pages/ai_form_builder/icon-browser.svg
@@ -0,0 +1,21 @@
+<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_822_10103)">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M20.3001 34.2C16.3001 34.2 7.72012 33.92 4.08012 32.42C3.54012 32.2 3.12012 32.06 3.06012 31.76C2.48012 29.3 1.36012 7.00003 2.20012 2.26003C2.2346 2.10356 2.2055 1.93979 2.11923 1.80476C2.03297 1.66974 1.8966 1.57451 1.74012 1.54003C1.58364 1.50556 1.41987 1.53465 1.28485 1.62092C1.14982 1.70718 1.0546 1.84356 1.02012 2.00003C-0.199882 7.10003 -0.399882 26.86 0.880118 32.28C1.05331 32.9074 1.45218 33.4488 2.00012 33.8C5.36012 36.02 16.2801 35.8 20.3001 35.56C20.4805 35.56 20.6534 35.4884 20.781 35.3609C20.9085 35.2333 20.9801 35.0604 20.9801 34.88C20.9801 34.6997 20.9085 34.5267 20.781 34.3992C20.6534 34.2717 20.4805 34.2 20.3001 34.2Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M4.2201 1.99998C8.4001 1.81998 35.1401 2.29998 38.5601 3.33998C39.1801 3.97998 39.5601 9.33998 39.7201 10.6C40.1001 13.46 40.3601 15.88 40.5201 18.8C40.5201 18.9591 40.5833 19.1117 40.6958 19.2242C40.8084 19.3368 40.961 19.4 41.1201 19.4C41.2792 19.4 41.4318 19.3368 41.5444 19.2242C41.6569 19.1117 41.7201 18.9591 41.7201 18.8C41.7201 16.18 41.5601 13.1 41.3801 10.44C41.2201 8.11998 41.3801 3.03998 39.8801 1.69998C37.0401 -0.88002 8.5601 0.179979 4.1401 0.559979C4.04554 0.565232 3.95295 0.589057 3.86761 0.630093C3.78226 0.67113 3.70584 0.728574 3.64269 0.799147C3.51517 0.941674 3.44949 1.12902 3.4601 1.31998C3.4707 1.51094 3.55674 1.68986 3.69926 1.81738C3.84179 1.94491 4.02914 2.01059 4.2201 1.99998Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M6.30019 5.99998C6.58144 6.28089 6.96269 6.43866 7.36019 6.43866C7.75769 6.43866 8.13894 6.28089 8.42019 5.99998C8.59146 5.7126 8.6434 5.36958 8.56491 5.04436C8.48641 4.71915 8.2837 4.4376 8.00019 4.25998C6.74019 3.61998 5.12019 4.89998 6.30019 5.99998Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M10.8401 5.57995C11.1272 5.85734 11.5108 6.01238 11.9101 6.01238C12.3093 6.01238 12.6929 5.85734 12.9801 5.57995C13.1391 5.30514 13.1903 4.98104 13.1238 4.67057C13.0573 4.36011 12.8777 4.08545 12.6201 3.89995C11.3001 3.15995 9.66006 4.43995 10.8401 5.57995Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M15.8202 5.58002C15.9671 5.7207 16.1408 5.83046 16.3309 5.90278C16.5211 5.97511 16.7238 6.00853 16.9271 6.00107C17.1304 5.99361 17.3301 5.94542 17.5145 5.85935C17.6988 5.77328 17.8639 5.65109 18.0002 5.50002C18.1592 5.22521 18.2105 4.9011 18.1439 4.59064C18.0774 4.28018 17.8979 4.00552 17.6402 3.82002C16.2602 3.16002 14.6402 4.44002 15.8202 5.58002Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M3.14003 9.72004C5.66003 9.72004 12.04 10.24 19.8 10.24C26.8 10.24 31.36 9.92004 36.48 9.78004C36.6604 9.78004 36.8333 9.7084 36.9609 9.58087C37.0884 9.45335 37.16 9.28039 37.16 9.10004C37.16 8.91969 37.0884 8.74673 36.9609 8.61921C36.8333 8.49168 36.6604 8.42004 36.48 8.42004C25.34 8.42004 24.36 7.32004 3.10003 8.42004C3.01467 8.42267 2.93067 8.44208 2.85281 8.47717C2.77496 8.51227 2.70477 8.56235 2.64627 8.62456C2.58777 8.68678 2.5421 8.75991 2.51186 8.83977C2.48162 8.91964 2.46741 9.00468 2.47003 9.09004C2.47266 9.1754 2.49207 9.25941 2.52717 9.33726C2.56226 9.41512 2.61234 9.4853 2.67456 9.5438C2.73677 9.6023 2.8099 9.64798 2.88977 9.67822C2.96963 9.70845 3.05467 9.72267 3.14003 9.72004Z" fill="#155EEF"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M46.26 41.24C44.6951 39.2987 42.6161 37.8364 40.26 37.02C45.86 33.58 45.46 23.62 38.68 22.3C38.592 22.2826 38.5014 22.2828 38.4135 22.3005C38.3255 22.3183 38.242 22.3533 38.1676 22.4034C38.0932 22.4536 38.0295 22.5181 37.9802 22.593C37.9308 22.6679 37.8968 22.7519 37.88 22.84C37.62 24.04 39.46 23.24 41.24 25.5C43.96 29 42.02 37.84 32.88 35.72C25.94 34.3 26.76 22.06 36.34 22.68C36.4188 22.6879 36.4984 22.6802 36.5742 22.6573C36.65 22.6344 36.7206 22.5968 36.7819 22.5467C36.8431 22.4965 36.8939 22.4348 36.9314 22.365C36.9688 22.2953 36.9921 22.2188 37 22.14C37.0079 22.0612 37.0002 21.9816 36.9773 21.9058C36.9544 21.83 36.9169 21.7594 36.8667 21.6982C36.8166 21.6369 36.7548 21.5861 36.6851 21.5486C36.6153 21.5112 36.5388 21.4879 36.46 21.48C34.4243 21.0321 32.295 21.3424 30.4718 22.3527C28.6486 23.363 27.2566 25.0038 26.5571 26.9674C25.8576 28.931 25.8986 31.0823 26.6724 33.0178C27.4462 34.9533 28.8996 36.5399 30.76 37.48C26.36 39.24 22.76 42.82 23.36 47.48C23.36 47.6391 23.4232 47.7917 23.5358 47.9043C23.6483 48.0168 23.8009 48.08 23.96 48.08C24.1191 48.08 24.2718 48.0168 24.3843 47.9043C24.4968 47.7917 24.56 47.6391 24.56 47.48C24.78 44.58 28.56 40.92 30.68 39.34C32.48 38.24 32.44 38.3 32.68 38.1C34.7197 38.5785 36.8522 38.4816 38.84 37.82C40.3945 38.8248 41.8539 39.9696 43.2 41.24C45.0547 42.7829 46.3541 44.89 46.9 47.24C46.9 47.3991 46.9632 47.5517 47.0758 47.6643C47.1883 47.7768 47.3409 47.84 47.5 47.84C47.6591 47.84 47.8118 47.7768 47.9243 47.6643C48.0368 47.5517 48.1 47.3991 48.1 47.24C48.2828 45.0776 47.6236 42.9282 46.26 41.24Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M34.2201 27.7799C32.7786 28.664 31.1105 29.1088 29.4201 29.0599C29.3414 29.0533 29.262 29.0623 29.1867 29.0864C29.1114 29.1105 29.0416 29.1492 28.9812 29.2003C28.9209 29.2513 28.8712 29.3138 28.835 29.3841C28.7987 29.4544 28.7767 29.5311 28.7701 29.6099C28.7636 29.6887 28.7726 29.768 28.7967 29.8433C28.8208 29.9186 28.8595 29.9884 28.9105 30.0488C28.9616 30.1092 29.0241 30.1589 29.0943 30.1951C29.1646 30.2313 29.2414 30.2533 29.3201 30.2599C33.3201 30.9999 34.9001 30.2599 38.2001 28.0799C39.4401 29.2999 40.5801 30.9399 41.3201 30.0799C41.4472 29.9524 41.5185 29.7798 41.5185 29.5999C41.5185 29.42 41.4472 29.2474 41.3201 29.1199C39.6201 27.3399 39.4601 25.3399 37.6801 25.8599C36.4786 26.4089 35.3218 27.0508 34.2201 27.7799Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M11.4602 14.28C11.0432 13.6284 10.4353 13.1212 9.71945 12.8277C9.0036 12.5342 8.21464 12.4687 7.46018 12.64C6.9936 12.7937 6.56959 13.0547 6.22224 13.4021C5.87488 13.7495 5.61387 14.1735 5.46018 14.64C5.29542 15.1196 5.26495 15.6351 5.37207 16.1307C5.47919 16.6263 5.71982 17.0832 6.06792 17.4518C6.41601 17.8205 6.85832 18.087 7.34696 18.2224C7.8356 18.3578 8.35197 18.357 8.84018 18.22C9.70822 18.0415 10.4706 17.5274 10.9613 16.7894C11.452 16.0515 11.6313 15.1496 11.4602 14.28ZM8.60018 16C7.72018 16.28 7.28018 15.6 7.52018 14.96C8.42018 12.66 11.7802 15.06 8.60018 16Z" fill="#155EEF"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M31.8002 15.3C31.5802 15.3 25.8002 14.7 25.5602 14.68C24.3202 14.52 24.0802 12.86 20.6602 14.68C19.7202 15.18 19.8602 15.12 18.6602 14.58C18.1602 14.32 17.0402 13.44 16.1002 13.74C15.1602 14.04 15.1802 14.58 14.9602 15.3C14.9602 15.5 14.4602 16.02 14.8602 16.42C14.9357 16.5192 15.0386 16.5942 15.1562 16.6357C15.2737 16.6772 15.4009 16.6835 15.522 16.6538C15.6431 16.624 15.7528 16.5596 15.8378 16.4683C15.9227 16.377 15.9792 16.2629 16.0002 16.14C16.095 16.0153 16.1631 15.8723 16.2002 15.72C16.2002 15.58 16.5602 15.36 16.6002 15.18C18.2002 16.34 19.0202 17.32 20.8202 16.88C21.551 16.5641 22.307 16.3099 23.0802 16.12C23.2964 16.1378 23.5037 16.2138 23.6802 16.34C24.1938 16.6516 24.7654 16.8558 25.3602 16.94C31.0802 16.94 31.1002 16.94 31.8802 16.94C32.8241 16.8642 33.7565 16.6831 34.6602 16.4C34.8131 16.3341 34.9375 16.2159 35.0111 16.0665C35.0847 15.9171 35.1026 15.7464 35.0616 15.585C35.0207 15.4237 34.9235 15.2821 34.7876 15.1859C34.6518 15.0897 34.486 15.0451 34.3202 15.06C33.4878 15.2065 32.6452 15.2867 31.8002 15.3Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M24.3201 25.8201C24.3201 24.4601 21.7401 25.6601 20.9001 25.8201C20.0601 25.9801 18.2201 23.8201 16.7401 24.3601C16.4385 24.5001 16.1822 24.7218 16.0001 25.0001C15.6553 25.6352 15.3804 26.3057 15.1801 27.0001C15.1473 27.0723 15.129 27.1503 15.1263 27.2296C15.1236 27.3089 15.1366 27.3879 15.1644 27.4622C15.1923 27.5365 15.2345 27.6046 15.2887 27.6625C15.3428 27.7205 15.4079 27.7672 15.4801 27.8001C15.5524 27.8329 15.6303 27.8512 15.7096 27.8539C15.7889 27.8566 15.868 27.8436 15.9423 27.8158C16.0165 27.7879 16.0846 27.7457 16.1426 27.6915C16.2006 27.6374 16.2473 27.5723 16.2801 27.5001C16.5601 27.0801 17.1801 26.7001 17.4001 26.4001C18.1258 27.0458 18.9673 27.548 19.8801 27.8801C22.0801 28.1801 22.3401 26.8001 23.8801 26.5401C24.026 26.4903 24.1499 26.3911 24.2302 26.2596C24.3106 26.1281 24.3424 25.9726 24.3201 25.8201Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M5.46001 26.12C5.41727 26.6129 5.50494 27.1083 5.71421 27.5566C5.92349 28.0048 6.24701 28.3902 6.6523 28.6739C7.05759 28.9576 7.53037 29.1296 8.0232 29.1729C8.51602 29.2161 9.01154 29.1288 9.46001 28.92C9.89012 28.7487 10.2737 28.4783 10.5795 28.1308C10.8854 27.7832 11.1048 27.3684 11.22 26.92C12 23.06 5.74001 22 5.46001 26.12ZM9.46001 26.4C9.38804 26.5304 9.28987 26.6446 9.17166 26.7352C9.05345 26.8259 8.91776 26.8911 8.77312 26.9268C8.62848 26.9625 8.47803 26.9679 8.33121 26.9426C8.18439 26.9173 8.04439 26.862 7.92001 26.78C7.73941 26.5792 7.62369 26.3286 7.588 26.0609C7.55231 25.7933 7.59832 25.5211 7.72001 25.28C7.87834 25.1154 8.07905 24.9977 8.30001 24.94C9.86001 24.66 9.60001 26.24 9.52001 26.4H9.46001Z" fill="#155EEF"/>
+</g>
+<defs>
+<clipPath id="clip0_822_10103">
+<rect width="48" height="48" fill="white"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/client/public/img/pages/ai_form_builder/icon-create.svg b/client/public/img/pages/ai_form_builder/icon-create.svg
new file mode 100644
index 000000000..00ebf4ad5
--- /dev/null
+++ b/client/public/img/pages/ai_form_builder/icon-create.svg
@@ -0,0 +1,7 @@
+<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M21.0801 19.9999C22.8923 18.2495 24.4177 16.2248 25.6001 13.9999C26.1306 13.3848 26.5933 12.7142 26.9801 11.9999C28.7443 12.6606 30.68 12.706 32.4733 12.1288C34.2666 11.5516 35.8124 10.3856 36.8601 8.81989C39.3401 4.39989 33.9001 -0.660106 28.8601 0.199894C27.3519 0.506098 25.9607 1.23155 24.8463 2.29289C23.7319 3.35424 22.9394 4.70843 22.5601 6.19989C22.4677 7.22147 22.683 8.24734 23.1784 9.14552C23.6739 10.0437 24.4267 10.7731 25.3401 11.2399C21.6601 15.2399 21.9601 16.7399 20.0801 19.2399C20.046 19.3699 20.0512 19.5071 20.0951 19.6341C20.1389 19.7612 20.2194 19.8724 20.3264 19.9537C20.4334 20.035 20.5621 20.0828 20.6962 20.091C20.8304 20.0992 20.9639 20.0675 21.0801 19.9999ZM25.2001 7.99989C23.3801 5.61989 26.6801 2.09989 29.2001 1.47989C30.4215 1.22929 31.6915 1.39196 32.8103 1.94231C33.9291 2.49266 34.8331 3.39943 35.3801 4.51989C37.8201 9.59989 28.2801 12.2999 25.2001 7.99989Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M32.1001 7.41988C32.599 7.3157 33.0444 7.03687 33.356 6.63356C33.6677 6.23025 33.8251 5.72895 33.8001 5.21988C33.7263 4.61154 33.4351 4.05039 32.9801 3.63988C31.9401 3.23988 31.1001 6.99988 31.1801 7.15988C31.2684 7.31557 31.4145 7.43017 31.5867 7.47885C31.7589 7.52752 31.9434 7.50633 32.1001 7.41988Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M46.0401 28.7598C45.1455 26.3223 44.0967 23.9441 42.9001 21.6398C39.9801 16.5398 40.3601 13.3798 39.0401 13.3598C38.9023 13.3633 38.7681 13.4043 38.6518 13.4782C38.5355 13.5522 38.4415 13.6564 38.3798 13.7797C38.3182 13.9029 38.2912 14.0407 38.3018 14.1781C38.3125 14.3155 38.3602 14.4474 38.4401 14.5598C38.2401 15.0398 39.2801 16.7798 39.3601 17.0798C40.4201 21.3998 41.2201 20.4798 44.3601 29.0798C44.3601 29.2198 44.3601 29.4798 44.3601 29.8398C41.9897 30.9583 39.3083 31.2335 36.7601 30.6198C36.5317 30.5932 36.3007 30.6362 36.0972 30.7433C35.8938 30.8504 35.7274 31.0165 35.6201 31.2198C35.1601 32.1398 36.5001 32.8798 36.2601 34.9598C36.0601 37.3398 35.7401 38.4798 32.6001 41.8598C28.6001 42.8598 20.9401 44.7798 17.3001 45.5398C16.7601 45.6398 16.1801 45.5398 15.8801 45.6598C10.0601 39.6598 7.56009 39.4598 5.38009 28.2998C4.61318 24.768 4.35057 21.1453 4.60009 17.5398C4.78009 16.8398 7.34009 16.0198 8.04009 15.8198C10.4601 15.0998 10.9201 15.2198 16.8201 13.6198C16.9002 13.5988 16.9754 13.5622 17.0413 13.5121C17.1073 13.4621 17.1628 13.3995 17.2046 13.328C17.2463 13.2565 17.2736 13.1775 17.2849 13.0954C17.2961 13.0134 17.2911 12.9299 17.2701 12.8498C17.2491 12.7697 17.2125 12.6945 17.1624 12.6285C17.1124 12.5626 17.0498 12.5071 16.9783 12.4653C16.9068 12.4235 16.8278 12.3962 16.7457 12.385C16.6637 12.3737 16.5802 12.3788 16.5001 12.3998C10.2201 13.9998 6.26009 14.2598 3.76009 15.9998C1.26009 17.7398 3.44009 34.5398 7.56009 40.1798C9.32009 42.5598 12.9801 45.6598 14.7201 47.5798C15.4001 48.3198 15.8401 48.4598 35.6201 43.1798C39.0797 42.3713 42.2283 40.5711 44.6801 37.9998C45.514 36.8943 45.995 35.563 46.0601 34.1798C46.2402 32.3773 46.2335 30.5609 46.0401 28.7598ZM43.3001 36.7598C41.0958 38.9437 38.3248 40.4677 35.3001 41.1598C36.5344 40.2043 37.4846 38.9302 38.0485 37.4747C38.6124 36.0192 38.7685 34.4374 38.5001 32.8998C40.591 32.9047 42.6513 32.3965 44.5001 31.4198C44.5001 32.8198 44.2801 35.7598 43.3001 36.7598Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M31.4801 33.6798C30.9201 33.6798 29.1001 34.4598 28.7001 34.5198C26.2601 34.9598 25.0601 34.8198 19.8401 35.9598C19.6801 35.9598 16.6201 36.7198 16.2401 36.9198C16.1492 36.9776 16.0744 37.0574 16.0226 37.1518C15.9708 37.2462 15.9436 37.3522 15.9436 37.4598C15.9436 37.5675 15.9708 37.6735 16.0226 37.7679C16.0744 37.8623 16.1492 37.942 16.2401 37.9998C17.5235 38.0567 18.8095 37.9897 20.0801 37.7998C23.1464 37.7361 26.1863 37.2171 29.1001 36.2598C29.4801 36.1398 31.4601 35.6598 31.6801 35.1798C31.7858 35.1758 31.8896 35.1497 31.9846 35.1032C32.0797 35.0567 32.164 34.9909 32.2322 34.9099C32.3004 34.829 32.3509 34.7347 32.3805 34.6331C32.4101 34.5315 32.4182 34.4249 32.4042 34.32C32.3902 34.2151 32.3545 34.1142 32.2993 34.024C32.2441 33.9337 32.1706 33.8559 32.0836 33.7956C31.9966 33.7354 31.898 33.694 31.7941 33.674C31.6902 33.6541 31.5832 33.6561 31.4801 33.6798Z" fill="#155EEF"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M12.8802 29.64C12.8775 29.7214 12.891 29.8026 12.9197 29.8788C12.9484 29.9551 12.9918 30.0249 13.0476 30.0843C13.1033 30.1438 13.1702 30.1917 13.2444 30.2252C13.3187 30.2588 13.3988 30.2774 13.4802 30.28C14.0602 30.28 18.1002 29.58 18.6602 29.52C21.3723 29.1433 24.0482 28.5412 26.6602 27.72C37.9202 24.32 36.2202 25.06 36.3402 24.9C36.4296 24.8016 36.49 24.6804 36.5147 24.5498C36.5394 24.4191 36.5275 24.2842 36.4802 24.16C36.2602 23.44 35.0802 23.64 34.0402 23.82C26.5202 25.12 19.8402 27.36 18.3402 27.68C14.7802 28.54 12.9002 28.78 12.8802 29.64Z" fill="#155EEF"/>
+</svg>
diff --git a/client/public/img/pages/ai_form_builder/icon-customization.svg b/client/public/img/pages/ai_form_builder/icon-customization.svg
new file mode 100644
index 000000000..b47ee2088
--- /dev/null
+++ b/client/public/img/pages/ai_form_builder/icon-customization.svg
@@ -0,0 +1,12 @@
+<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_822_10161)">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M13.6202 27.8801C13.3802 27.5601 11.3602 25.7001 8.56017 30.6401C8.06166 31.5135 7.61424 32.415 7.22017 33.3401C6.58636 34.7362 6.11009 36.1986 5.80017 37.7001C5.55364 39.0496 5.71375 40.4419 6.26017 41.7001C6.7942 42.7457 7.61236 43.6194 8.62064 44.2208C9.62893 44.8222 10.7864 45.127 11.9602 45.1001C13.1079 45.1036 14.2368 44.8085 15.2361 44.244C16.2353 43.6795 17.0707 42.8649 17.6602 41.8801C18.1898 40.8423 18.5003 39.7067 18.5726 38.5438C18.6448 37.3809 18.4772 36.2155 18.0802 35.1201C17.0095 32.474 15.5019 30.0266 13.6202 27.8801ZM15.0402 41.4201C14.0583 42.0991 12.8688 42.4107 11.6802 42.3001C10.6085 42.4255 9.5292 42.1396 8.66017 41.5001C8.34806 41.1919 8.11575 40.8123 7.98333 40.3941C7.85091 39.976 7.82237 39.5318 7.90017 39.1001C8.10336 37.7985 8.45221 36.5238 8.94017 35.3001C9.31702 34.2219 9.79936 33.1836 10.3802 32.2001C10.7202 31.6201 11.0802 31.0801 11.4602 30.5201C13.155 32.1358 14.6158 33.9803 15.8002 36.0001C16.3859 36.831 16.6334 37.8537 16.4922 38.8605C16.3511 39.8672 15.8319 40.7824 15.0402 41.4201Z" fill="#155EEF"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M25.7401 6.0001C25.5793 6.68672 25.2334 7.31617 24.7401 7.8201C24.3801 8.2001 23.6001 8.46009 23.2001 8.90009C22.9882 9.14077 22.8373 9.42887 22.7601 9.7401C22.6602 10.1339 22.6602 10.5463 22.7601 10.9401C22.9001 11.5201 23.2401 12.1001 23.4201 12.6201C23.5505 12.9683 23.5505 13.3519 23.4201 13.7001C23.3454 13.8483 23.2413 13.9798 23.114 14.0864C22.9868 14.193 22.8391 14.2725 22.6801 14.3201C22.3455 14.4497 21.9747 14.4497 21.6401 14.3201C21.1823 14.1345 20.7869 13.8223 20.5001 13.4201C19.9779 12.7326 19.2897 12.189 18.5001 11.8401C18.0752 11.7281 17.6272 11.7402 17.2089 11.8749C16.7907 12.0096 16.4198 12.2612 16.1401 12.6001C15.6168 13.151 15.2748 13.849 15.1601 14.6001C15.1309 15.8694 15.191 17.1392 15.3401 18.4001C15.3634 19.3441 15.1133 20.2748 14.6201 21.0801C13.6401 22.7001 15.8801 22.1601 17.0601 19.8601C17.205 19.4052 17.2989 18.9357 17.3401 18.4601C17.3401 17.4801 17.1601 16.4601 17.2401 15.3601C17.2581 14.9407 17.4288 14.5423 17.7201 14.2401C17.7201 14.2401 17.9001 14.4201 17.9801 14.4801C18.0601 14.5401 18.4201 14.9201 18.6201 15.1401C19.1662 15.7589 19.8518 16.2388 20.6201 16.5401C21.4778 16.8606 22.4224 16.8606 23.2801 16.5401C23.7375 16.3698 24.1528 16.103 24.4979 15.7579C24.843 15.4128 25.1098 14.9975 25.2801 14.5401C25.6295 13.6671 25.6295 12.6931 25.2801 11.8201C25.1001 11.4001 24.8001 10.9401 24.6001 10.4801C24.5837 10.3136 24.6186 10.1462 24.7001 10.0001L26.1201 8.8601C26.8727 7.97222 27.3398 6.87781 27.4601 5.7201C27.4897 5.45425 27.4897 5.18594 27.4601 4.9201C26.3401 3.5401 25.8801 4.1601 25.7401 6.0001Z" fill="#155EEF"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M31.5001 23.8601C32.0601 23.4401 32.6201 23.0401 33.2001 22.6601C35.5624 21.2811 37.8157 19.7232 39.9401 18.0001C41.409 16.7191 42.5943 15.1455 43.4201 13.3801C43.698 12.6662 43.698 11.874 43.4201 11.1601C42.9417 10.1229 42.3798 9.1263 41.7401 8.18007C41.1063 6.8207 40.3498 5.52199 39.4801 4.30007C39.0206 3.64738 38.3604 3.16277 37.6001 2.92007C37.1908 2.86223 36.7742 2.94698 36.4201 3.16007C35.8827 3.47472 35.374 3.83612 34.9001 4.24007C34.9001 4.12007 34.7601 3.98007 34.7001 3.88007C33.876 2.69915 32.988 1.56412 32.0401 0.480072C31.9739 0.395622 31.8886 0.32804 31.7913 0.282851C31.694 0.237663 31.5873 0.21615 31.4801 0.220072C31.3986 0.135844 31.2974 0.0733982 31.1856 0.0384559C31.0738 0.00351349 30.955 -0.0028076 30.8401 0.0200719C29.0881 0.443569 27.3804 1.03289 25.7401 1.78007C23.3444 2.93562 21.0081 4.21056 18.7401 5.60007C16.9201 6.80007 15.1001 8.00007 13.3401 9.24007C10.6801 11.2401 8.18007 13.2401 5.74007 15.4201C5.61726 15.5282 5.53903 15.6782 5.52055 15.8408C5.50207 16.0034 5.54467 16.1671 5.64007 16.3001C5.7164 16.3788 5.81349 16.4343 5.92007 16.4601C6.38007 17.6601 6.88007 18.8801 7.42007 20.0801H7.12007L6.74007 20.2401C6.62437 20.3226 6.51718 20.4163 6.42007 20.5201C5.38007 21.6401 5.28007 21.9401 5.50007 22.3401C5.72007 22.7401 5.86007 22.9001 7.50007 22.4801L7.92007 22.3001C8.07635 22.2251 8.21846 22.1236 8.34007 22.0001C8.58007 22.4201 8.78007 22.8801 9.02007 23.2801C9.31992 23.8443 9.66084 24.3858 10.0401 24.9001C10.2561 25.1909 10.5677 25.3963 10.9201 25.4801C12.0583 25.6742 13.225 25.6196 14.3401 25.3201C15.8724 24.901 17.3597 24.3316 18.7801 23.6201C21.1801 22.4601 23.5401 21.2601 25.8201 19.9401C28.1001 18.6201 30.3801 17.1401 32.5001 15.6201C33.7464 14.8143 34.942 13.9327 36.0801 12.9801C36.6302 12.4929 37.0964 11.9186 37.4601 11.2801C37.6337 10.9049 37.676 10.4822 37.5801 10.0801C37.3546 9.25769 37.0464 8.46029 36.6601 7.70007C36.3401 6.98007 35.8801 6.30007 35.5001 5.70007C36.2601 5.42007 37.2401 5.02007 37.1401 4.52007C37.6481 4.85401 38.0504 5.32575 38.3001 5.88007C38.9601 7.04007 39.4601 8.48007 39.8001 9.22007C40.0001 9.66007 40.4801 10.4601 40.8601 11.2201C40.9932 11.51 41.1003 11.8112 41.1801 12.1201C41.1801 12.2401 41.1801 12.3601 41.1801 12.4401C40.453 13.9061 39.4397 15.2118 38.2001 16.2801C36.2034 17.9684 34.0989 19.525 31.9001 20.9401C31.4201 21.3001 30.9401 21.6801 30.4801 22.0801C30.0201 22.4801 29.1601 23.2601 28.4801 23.8801C28.1404 24.1655 27.8197 24.4729 27.5201 24.8001C27.3098 25.039 27.1651 25.3285 27.1001 25.6401C27.0218 26.2761 27.1479 26.9205 27.4601 27.4801C27.8361 28.1962 28.2923 28.8672 28.8201 29.4801C28.279 29.916 27.8361 30.4612 27.5201 31.0801C27.3147 31.565 27.1799 32.0769 27.1201 32.6001C27.059 33.0915 27.059 33.5886 27.1201 34.0801C27.1252 34.1616 27.1463 34.2412 27.1822 34.3145C27.2182 34.3878 27.2683 34.4533 27.3296 34.5072C27.3909 34.5611 27.4623 34.6023 27.5396 34.6285C27.6169 34.6548 27.6986 34.6655 27.7801 34.6601C27.7686 34.7531 27.7686 34.8471 27.7801 34.9401C27.7633 35.128 27.8209 35.3151 27.9406 35.4609C28.0603 35.6068 28.2325 35.6999 28.4201 35.7201C28.6719 35.7585 28.9282 35.7585 29.1801 35.7201C29.1801 35.8201 30.9801 39.4601 31.1801 39.7201C32.1001 41.4601 33.0601 43.1601 34.0401 44.8401C34.6439 45.8553 35.4147 46.7613 36.3201 47.5201C36.9649 47.9382 37.7393 48.1088 38.5001 48.0001C39.0843 47.9833 39.6479 47.7802 40.1084 47.4204C40.569 47.0606 40.9025 46.5629 41.0601 46.0001C41.3598 44.7667 41.3252 43.4757 40.9601 42.2601C40.5979 41.1827 40.1428 40.1388 39.6001 39.1401C38.8201 37.7201 37.8801 36.3801 37.0001 35.0201L35.0001 31.9401C35.1338 31.5312 35.1581 31.0945 35.0703 30.6734C34.9826 30.2522 34.786 29.8615 34.5001 29.5401C34.1642 29.162 33.7555 28.8555 33.2985 28.639C32.8414 28.4225 32.3454 28.3004 31.8401 28.2801C31.3007 28.3067 30.7713 28.4357 30.2801 28.6601C29.9145 28.1796 29.5868 27.6714 29.3001 27.1401C29.0658 26.7921 28.9469 26.3793 28.9601 25.9601L29.9001 25.2001C30.5001 24.7401 30.9401 24.2801 31.5001 23.8601ZM35.7001 10.5401C35.3222 11.022 34.8698 11.4406 34.3601 11.7801C33.3401 12.5401 32.1601 13.2001 31.3001 13.7801C29.1201 15.2401 26.9001 16.5601 24.6601 17.7801C22.4201 19.0001 20.1401 20.3201 17.8001 21.5001C17.1401 21.8601 13.6601 23.3801 12.3001 24.0601C10.8476 22.9077 9.68916 21.4272 8.92007 19.7401C8.24007 18.5201 7.68007 17.2401 7.12007 16.0001C8.24007 15.2001 9.36007 14.4201 10.5001 13.6601C12.0801 12.6401 13.6801 11.6601 15.2801 10.6801L20.0201 7.62007C23.3949 5.10057 27.0866 3.03618 31.0001 1.48007C31.8001 2.54007 32.5601 3.64007 33.2601 4.78007C33.9578 5.94567 34.5663 7.16249 35.0801 8.42007C35.2201 8.76007 35.1801 10.4001 35.7001 10.5401ZM34.0001 33.2001L35.4401 35.8801C36.2001 37.2601 37.0001 38.6201 37.6601 40.0601C38.0732 40.9629 38.4078 41.8997 38.6601 42.8601C38.8288 43.5127 38.8696 44.1919 38.7801 44.8601C38.7801 45.2001 38.6201 45.5201 38.2401 45.5601C37.8601 45.6001 37.5801 45.2201 37.2601 44.9001C36.8051 44.4217 36.3903 43.9066 36.0201 43.3601C29.3601 34.0601 30.7801 35.3601 30.6601 35.0801L31.4601 34.6801L33.2401 33.7401C33.5052 33.5773 33.7591 33.3969 34.0001 33.2001ZM30.5001 30.9201C30.9177 30.7204 31.3774 30.6243 31.8401 30.6401C32.0722 30.6702 32.2927 30.7598 32.4801 30.9001C32.6401 31.0001 32.8801 31.0601 32.8401 31.2401C32.8073 31.3558 32.753 31.4644 32.6801 31.5601C32.4969 31.7506 32.3032 31.9309 32.1001 32.1001L30.7201 33.1401L28.5001 34.2401C28.6401 33.9801 28.5001 33.7001 28.7401 32.8001C28.8332 32.4644 28.982 32.1466 29.1801 31.8601C29.5373 31.4443 29.9904 31.1217 30.5001 30.9201Z" fill="#101828"/>
+</g>
+<defs>
+<clipPath id="clip0_822_10161">
+<rect width="48" height="48" fill="white" transform="translate(0.5)"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/client/public/img/pages/ai_form_builder/icon-email-input.svg b/client/public/img/pages/ai_form_builder/icon-email-input.svg
new file mode 100644
index 000000000..223ebe33a
--- /dev/null
+++ b/client/public/img/pages/ai_form_builder/icon-email-input.svg
@@ -0,0 +1,12 @@
+<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_822_10145)">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M46.7799 29.6998C46.7597 29.5122 46.6666 29.3401 46.5208 29.2204C46.3749 29.1007 46.1879 29.043 45.9999 29.0598C45.9051 29.0698 45.8133 29.0984 45.7297 29.1441C45.646 29.1899 45.5723 29.2517 45.5128 29.3261C45.4533 29.4005 45.4091 29.486 45.3828 29.5777C45.3566 29.6693 45.3488 29.7652 45.3599 29.8598C45.4599 30.9598 45.5599 32.0798 45.6199 33.1998C45.6799 34.3198 45.6199 35.4398 45.6199 36.5398C45.6199 37.0398 45.6199 37.6598 45.6199 38.2398C45.5788 38.5129 45.4908 38.7767 45.3599 39.0198L44.2999 39.1998C43.6799 39.1998 43.0599 39.3598 42.4399 39.3998C41.4799 39.3998 40.4399 39.3998 39.5399 39.5198C36.2399 39.5198 32.1799 39.6398 28.1199 39.6398C24.0599 39.6398 20.1199 39.6398 16.7199 39.6398L6.27992 39.3798C5.51464 39.3623 4.75209 39.282 3.99992 39.1398C3.54911 39.0879 3.1207 38.9151 2.75992 38.6398C2.75992 38.4998 2.75992 38.2398 2.75992 38.0198C2.63992 36.9398 2.53992 35.2398 2.43992 33.3798C2.25992 29.7998 2.15992 25.6798 2.11992 24.5198C1.99127 22.8022 1.99127 21.0774 2.11992 19.3598C2.11929 18.4228 2.43658 17.5132 3.01992 16.7798C3.34144 16.69 3.66893 16.6232 3.99992 16.5798C5.25992 16.4198 7.23992 16.3198 9.43992 16.2798C13.1599 16.2798 17.4399 16.2798 19.7799 16.2798C19.863 16.2852 19.9463 16.2739 20.0249 16.2464C20.1034 16.2189 20.1757 16.1759 20.2373 16.1199C20.2989 16.0639 20.3485 15.9961 20.3834 15.9205C20.4182 15.8449 20.4374 15.763 20.4399 15.6798C20.4454 15.5951 20.4334 15.5102 20.4047 15.4303C20.376 15.3504 20.3312 15.2772 20.2731 15.2153C20.215 15.1535 20.1448 15.1042 20.0668 15.0705C19.9889 15.0369 19.9048 15.0197 19.8199 15.0198C16.6799 14.9198 9.99992 14.6198 5.99992 14.7198C4.64161 14.6523 3.28311 14.8493 1.99992 15.2998C1.1641 16.0464 0.606942 17.0549 0.419925 18.1598C0.0587323 20.2729 -0.0820228 22.4177 -7.54651e-05 24.5598C-7.54651e-05 26.0798 -7.54595e-05 32.5598 0.199925 36.5598C0.243905 37.5268 0.357532 38.4893 0.539925 39.4398C0.620879 39.6489 0.743341 39.8394 0.899925 39.9998C1.48043 40.6512 2.24937 41.1055 3.09992 41.2998C4.09764 41.5248 5.11716 41.6389 6.13992 41.6398L16.6399 41.9998C19.9999 41.9998 23.9999 41.9998 28.1199 41.7998C32.2399 41.5998 36.2399 41.5198 39.5799 41.3598C40.5599 41.3598 41.5799 41.2598 42.5599 41.1598C43.2315 41.1058 43.8993 41.0123 44.5599 40.8798C45.0315 40.8314 45.4951 40.7239 45.9399 40.5598C46.2493 40.4334 46.5139 40.2175 46.6999 39.9398C46.9228 39.6011 47.0726 39.2197 47.1399 38.8198C47.2417 38.0711 47.2752 37.3146 47.2399 36.5598C47.2399 35.4198 47.2399 34.2598 47.1199 33.1198C46.9999 31.9798 46.9199 30.8198 46.7799 29.6998Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M29.8798 27.7799C32.025 28.8139 34.4263 29.1964 36.7866 28.8801C39.1469 28.5637 41.3627 27.5623 43.1598 25.9999C43.2907 25.8623 43.3636 25.6798 43.3636 25.4899C43.3636 25.3001 43.2907 25.1175 43.1598 24.9799C43.0256 24.8504 42.8464 24.778 42.6598 24.778C42.4733 24.778 42.2941 24.8504 42.1598 24.9799C40.5595 26.2855 38.6114 27.0932 36.5567 27.3029C34.502 27.5126 32.431 27.1152 30.5998 26.1599C28.7718 25.3711 27.3275 23.8947 26.579 22.0497C25.8305 20.2048 25.838 18.1394 26.5998 16.2999C27.4382 14.2085 28.8617 12.4031 30.6998 11.0999C32.499 9.73717 34.6091 8.84365 36.8398 8.49991C38.8766 8.17888 40.9604 8.61272 42.6998 9.71991C43.5238 10.2673 44.2129 10.9944 44.7153 11.8466C45.2176 12.6988 45.52 13.6539 45.5998 14.6399C45.7316 16.4032 45.3934 18.1699 44.6198 19.7599C44.1798 20.5199 43.5998 21.0999 42.6198 20.8399C42.1198 20.6799 42.1198 20.0399 42.0398 19.4399C41.9998 18.4199 41.9998 17.2999 41.9998 16.6599L41.8798 15.2399C41.8798 14.9599 41.8798 14.2599 41.8798 14.0799C41.8482 13.8221 41.7195 13.586 41.5198 13.4199L39.9998 12.7799C38.4799 12.4718 36.9032 12.6122 35.4616 13.1838C34.0199 13.7555 32.7756 14.7339 31.8798 15.9999C31.0762 17.172 30.6954 18.5826 30.7998 19.9999C30.8821 20.5288 31.0832 21.0321 31.3881 21.4721C31.6929 21.912 32.0935 22.2771 32.5598 22.5399C33.2262 22.9841 34.0153 23.2077 34.8156 23.1789C35.616 23.1502 36.387 22.8707 37.0198 22.3799C38.2033 21.4162 39.1651 20.2088 39.8398 18.8399C39.8344 19.5772 39.9354 20.3115 40.1398 21.0199C40.2563 21.4768 40.4832 21.8981 40.8005 22.2468C41.1178 22.5955 41.5159 22.861 41.9598 23.0199C42.8637 23.3164 43.8459 23.2632 44.7124 22.8707C45.5789 22.4782 46.2667 21.7749 46.6398 20.8999C47.6547 18.9041 48.1239 16.6755 47.9998 14.4399C47.8858 13.0926 47.4664 11.7891 46.7733 10.6282C46.0802 9.46724 45.1317 8.47949 43.9998 7.73991C41.7648 6.3265 39.0927 5.7722 36.4798 6.17991C33.865 6.6253 31.4035 7.71857 29.3198 9.35991C27.1794 10.9599 25.5416 13.139 24.5998 15.6399C23.7063 17.9512 23.7594 20.5214 24.7477 22.7938C25.736 25.0661 27.5799 26.8576 29.8798 27.7799ZM36.7198 20.2799C36.3836 20.8229 35.8523 21.2166 35.2349 21.3803C34.6175 21.5439 33.9609 21.4651 33.3998 21.1599C33.0782 20.984 32.811 20.7231 32.6276 20.4056C32.4442 20.0882 32.3516 19.7264 32.3598 19.3599C32.3927 18.4753 32.6696 17.617 33.1598 16.8799C33.8471 15.8061 34.8367 14.9597 36.004 14.4472C37.1714 13.9347 38.4642 13.7791 39.7198 13.9999C39.0796 16.2469 38.0654 18.3699 36.7198 20.2799Z" fill="#155EEF"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M16.2 31.76C15.46 31.76 14.7 31.76 13.96 31.76C12.2 31.88 10.5 32.14 8.74 32.36C8.64787 32.3435 8.55325 32.3475 8.46281 32.3715C8.37236 32.3956 8.2883 32.4392 8.21653 32.4992C8.14476 32.5593 8.08704 32.6344 8.04743 32.7192C8.00783 32.804 7.9873 32.8964 7.9873 32.99C7.9873 33.0836 8.00783 33.176 8.04743 33.2608C8.08704 33.3456 8.14476 33.4207 8.21653 33.4808C8.2883 33.5409 8.37236 33.5845 8.46281 33.6085C8.55325 33.6326 8.64787 33.6365 8.74 33.62C10.74 33.78 12.74 34.02 14.74 34.1C15.92 34.1 17.12 34.1 18.3 34.1C20.08 34.1 21.84 33.92 23.62 33.92C23.7136 33.9282 23.8078 33.9175 23.8971 33.8885C23.9865 33.8595 24.0691 33.8128 24.14 33.7512C24.2109 33.6896 24.2687 33.6144 24.3099 33.53C24.3512 33.4456 24.375 33.3538 24.38 33.26C24.3911 33.1664 24.3831 33.0716 24.3567 32.9812C24.3302 32.8908 24.2857 32.8066 24.226 32.7338C24.1662 32.661 24.0924 32.601 24.0089 32.5573C23.9254 32.5137 23.8339 32.4874 23.74 32.48C22 32.22 20.26 31.96 18.5 31.82C17.7 31.8 16.96 31.76 16.2 31.76Z" fill="#155EEF"/>
+</g>
+<defs>
+<clipPath id="clip0_822_10145">
+<rect width="48" height="48" fill="white"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/client/public/img/pages/ai_form_builder/icon-fast.svg b/client/public/img/pages/ai_form_builder/icon-fast.svg
new file mode 100644
index 000000000..a07cdd53d
--- /dev/null
+++ b/client/public/img/pages/ai_form_builder/icon-fast.svg
@@ -0,0 +1,18 @@
+<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_822_10078)">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M25.3201 20.6C27.0529 20.4808 28.7104 19.8456 30.0791 18.7763C31.4478 17.707 32.4652 16.2525 33.0001 14.6C33.668 12.3276 33.4611 9.88747 32.4201 7.75998C31.9801 6.91998 30.3201 5.75998 29.0801 3.75998C28.5488 2.90207 28.1825 1.95244 28.0001 0.959983C27.9546 0.725523 27.8413 0.509578 27.6742 0.338926C27.5071 0.168274 27.2936 0.0504221 27.0601 -1.63883e-05C26.8301 -0.0448752 26.5921 -0.0214332 26.3753 0.0674175C26.1585 0.156268 25.9724 0.306641 25.8401 0.499984C24.6715 1.72925 23.3853 2.84122 22.0001 3.81998C21.3453 4.43565 20.8216 5.17712 20.4601 5.99998C20.2322 6.54246 20.084 7.11506 20.0201 7.69998C19.931 8.41723 19.931 9.14274 20.0201 9.85998C20.0069 9.78739 20.0002 9.71377 20.0001 9.63998C19.885 9.4679 19.7973 9.27898 19.7401 9.07998C19.6001 8.65998 19.5201 8.21998 19.4001 7.79998C19.344 7.50718 19.2637 7.21953 19.1601 6.93998C19.0873 6.76324 18.9759 6.60504 18.834 6.47698C18.6921 6.34893 18.5234 6.25428 18.3401 6.19998C18.1256 6.15225 17.9022 6.1643 17.6941 6.23484C17.486 6.30537 17.3013 6.43168 17.1601 6.59998C16.8921 6.94054 16.6514 7.30165 16.4401 7.67998C16.0964 8.30465 15.8535 8.97961 15.7201 9.67998C15.5555 10.3742 15.4816 11.0868 15.5001 11.8C15.6223 14.2152 16.6423 16.4978 18.3601 18.2C20.4001 20 25.1801 20.58 25.3201 20.6ZM17.6401 10.5C17.6975 10.6478 17.7713 10.7886 17.8601 10.92C18.1081 11.3381 18.434 11.7047 18.8201 12C19.1822 12.3035 19.5953 12.5405 20.0401 12.7L21.5801 13.12C21.8428 13.1822 22.1178 13.1681 22.3729 13.0796C22.6279 12.991 22.8524 12.8316 23.0201 12.62C23.2316 12.3099 23.3174 11.931 23.2601 11.56C23.0899 10.9284 22.8829 10.3074 22.6401 9.69998C22.5491 9.21899 22.5155 8.72889 22.5401 8.23998C22.5346 7.82107 22.6163 7.4056 22.7801 7.01998C23.0253 6.49164 23.3798 6.02129 23.8201 5.63998C24.6001 4.87998 25.5001 4.23998 26.3401 3.49998C26.5687 4.01682 26.8431 4.51213 27.1601 4.97998C28.4601 6.97998 30.1601 7.93998 30.6201 8.73998C31.5149 10.3913 31.7576 12.3183 31.3001 14.14C30.9424 15.4542 30.171 16.6184 29.1001 17.46C29.2657 16.6517 29.1593 15.8113 28.7976 15.0698C28.4358 14.3282 27.839 13.7271 27.1001 13.36C26.9271 13.2834 26.7317 13.2741 26.5522 13.3338C26.3727 13.3936 26.222 13.5182 26.1295 13.6833C26.0369 13.8483 26.0093 14.0419 26.052 14.2262C26.0946 14.4106 26.2045 14.5724 26.3601 14.68C26.7076 14.9422 26.9601 15.3106 27.0792 15.7293C27.1983 16.148 27.1776 16.5941 27.0201 17C26.9061 17.3534 26.6712 17.6554 26.3566 17.8529C26.0421 18.0504 25.668 18.1308 25.3001 18.08C24.9402 18.0842 24.5846 18.0008 24.2641 17.8371C23.9435 17.6733 23.6676 17.4341 23.4601 17.14C23.2487 16.8494 23.1349 16.4993 23.1349 16.14C23.1349 15.7807 23.2487 15.4306 23.4601 15.14C23.6587 14.8388 23.9352 14.5969 24.2601 14.44C24.6708 14.2505 25.0997 14.1031 25.5401 14C25.7002 13.9575 25.8377 13.8545 25.9234 13.7128C26.0092 13.5711 26.0367 13.4016 26.0001 13.24C25.9661 13.0661 25.8655 12.9124 25.7198 12.8115C25.5741 12.7106 25.3948 12.6706 25.2201 12.7C24.5402 12.767 23.8696 12.9079 23.2201 13.12C22.7575 13.3267 22.3422 13.6262 22.0001 14C21.4719 14.5526 21.13 15.2568 21.0224 16.0136C20.9148 16.7705 21.0469 17.542 21.4001 18.22C20.7005 17.95 20.0664 17.5341 19.5401 17C18.2242 15.5516 17.5091 13.6566 17.5401 11.7C17.5246 11.2974 17.5582 10.8944 17.6401 10.5Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M40.2201 22.94C38.6016 20.6072 36.5263 18.6272 34.1201 17.12C33.9557 17.0086 33.7537 16.9671 33.5587 17.0046C33.3637 17.0421 33.1915 17.1555 33.0801 17.32C32.9687 17.4844 32.9272 17.6864 32.9647 17.8814C33.0022 18.0764 33.1157 18.2486 33.2801 18.36C35.46 19.812 37.324 21.6896 38.7601 23.88C40.145 26.0234 40.8106 28.5525 40.6601 31.1C40.3845 34.0402 39.2273 36.8286 37.3401 39.1C35.5355 41.4464 33.121 43.2521 30.3601 44.32C27.4605 45.4125 24.3279 45.7381 21.2656 45.2651C18.2033 44.7921 15.3149 43.5365 12.8801 41.62C10.4033 39.7514 8.61739 37.113 7.80287 34.1192C6.98836 31.1254 7.19141 27.9458 8.38012 25.08C8.96361 23.5627 9.78008 22.1457 10.8001 20.88C11.8432 19.6132 13.0238 18.4661 14.3201 17.46C14.4283 17.3418 14.4913 17.1891 14.498 17.029C14.5046 16.8688 14.4545 16.7115 14.3564 16.5847C14.2583 16.458 14.1186 16.3699 13.962 16.3361C13.8053 16.3023 13.6417 16.3249 13.5001 16.4C12.0914 17.462 10.7976 18.6686 9.64012 20C8.47795 21.3561 7.52723 22.8799 6.82012 24.52C5.31615 27.7401 4.94623 31.3744 5.77056 34.8315C6.59489 38.2886 8.56494 41.365 11.3601 43.56C14.1139 45.768 17.3954 47.2205 20.8813 47.7746C24.3673 48.3287 27.9374 47.9652 31.2401 46.72C34.4215 45.4299 37.1884 43.2925 39.2401 40.54C41.3344 37.8578 42.5559 34.5979 42.7401 31.2C42.8069 28.2478 41.9235 25.3522 40.2201 22.94Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M18.46 30.9599C19.2119 32.3094 20.2661 33.4663 21.54 34.3399C22.3458 34.8936 23.3323 35.119 24.2986 34.9704C25.2648 34.8217 26.138 34.3101 26.74 33.5399C27.2829 32.7968 27.5755 31.9003 27.5755 30.9799C27.5755 30.0596 27.2829 29.1631 26.74 28.4199C25.9577 27.3965 25.0035 26.5167 23.92 25.8199C21.1151 24.1029 18.1221 22.7138 15 21.6799C14.836 21.7387 14.7018 21.8601 14.6269 22.0175C14.5519 22.1748 14.5423 22.3555 14.6 22.5199L15.78 25.3599C16.5702 27.2742 17.4649 29.1437 18.46 30.9599ZM21.72 26.9599C22.8794 27.6931 23.8792 28.6522 24.66 29.7799C24.8923 30.1147 25.0167 30.5125 25.0167 30.9199C25.0167 31.3274 24.8923 31.7251 24.66 32.0599C24.413 32.3415 24.0659 32.5157 23.6925 32.5456C23.3191 32.5755 22.9487 32.4586 22.66 32.2199C21.6685 31.6016 20.8225 30.776 20.18 29.7999C19.04 27.9999 18 25.9999 17.18 24.6199L16.88 23.9999C18.36 24.8599 20.14 25.8199 21.72 26.8999V26.9599Z" fill="#155EEF"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M32.2402 23.5799C32.1204 23.649 32.0123 23.7368 31.9202 23.8399C30.6002 25.1399 30.8202 25.3799 30.8802 25.5199C31.0802 26.2199 32.8802 26.0199 33.0202 25.9799C33.1847 25.9536 33.3415 25.8923 33.4802 25.7999C33.6278 25.7209 33.7572 25.6119 33.8602 25.4799C35.1202 24.1799 35.0002 23.8399 34.8402 23.4799C34.4202 22.8199 32.2802 23.5799 32.2402 23.5799Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M33.1402 31.36C33.1402 31.96 34.6202 32.56 35.0002 32.66C35.1797 32.6796 35.3608 32.6796 35.5402 32.66C35.7063 32.6791 35.8741 32.6791 36.0402 32.66C38.0402 32.14 38.0402 31.84 38.0402 31.52C38.0402 31.2 38.0402 30.76 36.0402 30.28C35.8675 30.2592 35.6929 30.2592 35.5202 30.28C35.3541 30.2604 35.1863 30.2604 35.0202 30.28C32.9602 30.8 33.1402 31.32 33.1402 31.36Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M32.6602 38.6799C32.6021 38.5165 32.5353 38.3562 32.4602 38.1999C32.3639 38.053 32.2496 37.9186 32.1202 37.7999C31.9802 37.6599 30.6002 36.5199 30.1202 36.8599C29.9602 36.9599 29.5602 37.0999 30.1202 39.0599C30.1814 39.2187 30.255 39.3725 30.3402 39.5199C30.4374 39.6661 30.5516 39.8003 30.6802 39.9199C32.1202 41.2999 32.4602 41.1399 32.6802 40.9399C32.9002 40.7399 33.1602 40.3799 32.6602 38.6799Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M23.7002 37.54C23.0602 37.54 22.5202 39.42 22.4802 39.54C22.4606 39.7396 22.4606 39.9405 22.4802 40.14C22.4594 40.3328 22.4594 40.5273 22.4802 40.72C22.8402 42.6 22.9602 42.84 23.4802 42.9C24.0002 42.96 24.3402 42.9 24.8602 40.76C24.8809 40.5539 24.8809 40.3462 24.8602 40.14C24.8906 39.9345 24.8906 39.7256 24.8602 39.52C24.8602 39.52 24.3002 37.56 23.7002 37.54Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M16 39.1801C16.1524 39.0987 16.2936 38.9978 16.42 38.8801C16.5541 38.7659 16.6689 38.6308 16.76 38.4801C16.88 38.3201 17.76 36.7201 17.32 36.2801C16.88 35.8401 15.16 36.7001 15.14 36.7001C14.9795 36.7862 14.8314 36.8939 14.7 37.0201C14.5697 37.1529 14.4556 37.3005 14.36 37.4601C13.14 39.3001 13.64 39.6401 13.78 39.7601C13.92 39.8801 14.16 40.2001 16 39.1801Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M14.0001 31.02C14.0001 30.18 11.8201 30 11.7601 30C11.4709 30.019 11.1869 30.0866 10.9201 30.2C8.92012 30.96 9.06012 31.36 9.08012 31.54C9.10012 31.72 9.28012 32.4 11.2601 32.56C11.4456 32.5902 11.6347 32.5902 11.8201 32.56C11.9939 32.544 12.1633 32.4966 12.3201 32.42C14.3401 31.48 14.0001 31.06 14.0001 31.02Z" fill="#101828"/>
+</g>
+<defs>
+<clipPath id="clip0_822_10078">
+<rect width="48" height="48" fill="white"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/client/public/img/pages/ai_form_builder/icon-radio-buttons.svg b/client/public/img/pages/ai_form_builder/icon-radio-buttons.svg
new file mode 100644
index 000000000..a00907b69
--- /dev/null
+++ b/client/public/img/pages/ai_form_builder/icon-radio-buttons.svg
@@ -0,0 +1,13 @@
+<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_822_10150)">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M1.39989 6.72001C1.32468 6.61587 1.28255 6.4915 1.27899 6.36309C1.27542 6.23468 1.31058 6.10817 1.37989 6.00001C1.86918 5.33915 2.4966 4.79284 3.21848 4.39909C3.94035 4.00534 4.73935 3.7736 5.55989 3.72001C8.93559 3.3736 12.3349 3.32007 15.7199 3.56001H19.7199L39.9999 4.00001C41.0399 4.00001 43.0799 3.78001 44.6799 4.00001C45.5638 4.01948 46.424 4.29001 47.1599 4.78001C47.3301 4.92834 47.469 5.10907 47.5686 5.31167C47.6682 5.51427 47.7264 5.73467 47.7399 5.96001C47.7821 6.66605 47.7821 7.37398 47.7399 8.08001C47.7399 9.66001 48.1199 12.82 48.1199 15.42C48.1542 16.5765 48.0399 17.7326 47.7799 18.86C47.6562 19.2899 47.4449 19.6896 47.1592 20.0338C46.8735 20.378 46.5197 20.6593 46.1199 20.86C44.7211 21.4151 43.2242 21.6804 41.7199 21.64C39.8399 21.64 37.9799 21.64 36.0999 21.64C33.2999 21.64 30.5199 21.64 27.6999 21.48C24.4399 21.36 21.1999 21.28 17.9399 21.26L7.99989 21.1C6.29522 21.2168 4.58456 21.2168 2.87989 21.1C1.99962 21.0025 1.1766 20.6156 0.539888 20C0.250932 19.6741 0.0632745 19.271 -0.000112204 18.84C-0.0413037 18.174 -0.0413037 17.506 -0.000112204 16.84L0.479888 7.22001C0.482393 7.13943 0.501111 7.06019 0.534924 6.987C0.568736 6.91382 0.61695 6.8482 0.676686 6.79407C0.736423 6.73993 0.806456 6.69839 0.882604 6.67192C0.958752 6.64545 1.03945 6.6346 1.11989 6.64001C1.2176 6.64787 1.31277 6.67506 1.39989 6.72001ZM45.2599 6.16001C44.7746 6.04856 44.2778 5.99486 43.7799 6.00001C42.3599 6.00001 40.7399 6.00001 39.7799 6.00001L19.7799 5.24001H15.7799C12.4529 4.949 9.10687 4.949 5.77989 5.24001C5.16132 5.25738 4.5537 5.40745 3.99816 5.68004C3.44262 5.95263 2.95213 6.3414 2.55989 6.82001C2.4678 6.9771 2.31812 7.09212 2.14262 7.14066C1.96712 7.1892 1.77961 7.16745 1.61989 7.08001C1.6426 7.18547 1.6426 7.29455 1.61989 7.40001L1.55989 16.84C1.55989 17.26 1.43989 17.86 1.45989 18.42C1.45472 18.6095 1.51871 18.7943 1.63989 18.94C2.27269 19.3756 3.03309 19.5868 3.79989 19.54C5.29989 19.54 6.99989 19.54 8.01989 19.42C12.0199 19.32 15.8599 19.22 19.7799 19.2C22.3999 19.2 24.9999 19.2 27.6399 19.2C29.9599 19.2 32.2799 19.2 34.5799 19.2C36.8799 19.2 39.1799 19.2 41.4999 19.06C42.3787 19.0605 43.2558 18.9801 44.1199 18.82C44.7199 18.68 45.2799 18.52 45.4399 17.98C45.6301 17.0662 45.7107 16.1329 45.6799 15.2C45.6799 12.62 45.3999 9.50001 45.3399 7.92001C45.3399 7.72001 45.0199 6.58001 45.2599 6.16001Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M1.39994 29.7801C1.33647 29.6744 1.30295 29.5534 1.30295 29.4301C1.30295 29.3068 1.33647 29.1858 1.39994 29.0801C1.88809 28.4148 2.51442 27.863 3.23594 27.4625C3.95746 27.062 4.75709 26.8224 5.57994 26.7601C8.95616 26.4193 12.3556 26.3724 15.7399 26.6201H19.7399L39.7399 26.9801C40.7799 26.9801 42.8199 26.7801 44.4199 26.9801C45.3023 27.0091 46.1599 27.2788 46.8999 27.7601C47.0707 27.9122 47.2099 28.0965 47.3094 28.3024C47.4089 28.5083 47.4669 28.7318 47.4799 28.9601C47.522 29.6595 47.522 30.3608 47.4799 31.0601C47.4799 32.6601 47.8599 35.8201 47.8599 38.4001C47.8954 39.5567 47.7811 40.7129 47.5199 41.8401C47.3941 42.269 47.182 42.6676 46.8965 43.0116C46.611 43.3555 46.2583 43.6375 45.8599 43.8401C44.4624 44.3978 42.9636 44.6567 41.4599 44.6001C39.5799 44.6001 37.7199 44.7201 35.8399 44.7201C33.0399 44.7201 30.2599 44.7201 27.4399 44.5401C24.1799 44.4201 20.9399 44.3601 17.6799 44.3201C14.4199 44.2801 11.1599 44.3201 7.89994 44.3201C6.19601 44.4569 4.48387 44.4569 2.77994 44.3201C1.89522 44.2391 1.06039 43.8743 0.399938 43.2801C0.118513 42.8691 -0.021857 42.3778 -6.21751e-05 41.8801C-0.0426225 41.2141 -0.0426225 40.5461 -6.21751e-05 39.8801L0.359938 30.2801C0.370246 30.1192 0.442843 29.9686 0.562328 29.8604C0.681812 29.7521 0.838782 29.6946 0.999938 29.7001C1.13801 29.6908 1.27606 29.7185 1.39994 29.7801ZM45.2599 29.2201C44.7738 29.111 44.278 29.0507 43.7799 29.0401C42.3599 29.0401 40.7399 29.0401 39.7799 29.0401L19.7799 28.2601H15.7799C12.4529 27.9702 9.10697 27.9702 5.77994 28.2601C5.16293 28.275 4.55628 28.422 4.00084 28.6911C3.4454 28.9602 2.95407 29.3452 2.55994 29.8201C2.45897 29.9624 2.30716 30.0605 2.13591 30.094C1.96467 30.1275 1.7871 30.0939 1.63994 30.0001C1.66095 30.1058 1.66095 30.2145 1.63994 30.3201L1.55994 39.8801C1.55994 40.3201 1.43994 40.9201 1.45994 41.4601C1.45526 41.6556 1.51892 41.8466 1.63994 42.0001C2.27274 42.4357 3.03314 42.6469 3.79994 42.6001C5.29994 42.6001 6.99994 42.4801 8.01994 42.4601C12.0199 42.3601 15.8599 42.2801 19.7799 42.2401C22.3999 42.2401 24.9999 42.2401 27.6399 42.2401H34.5799C36.8799 42.2401 39.1799 42.2401 41.4999 42.1001C42.3745 42.1369 43.2507 42.1035 44.1199 42.0001C44.7199 41.8601 45.2799 41.7001 45.4399 41.1601C45.6293 40.2394 45.7099 39.2996 45.6799 38.3601C45.6799 35.8001 45.3999 32.6801 45.3399 31.1001C45.3399 30.7601 45.0199 29.6201 45.2599 29.2201Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M8.63988 14.58C8.40847 14.4484 8.21164 14.2638 8.06559 14.0412C7.91955 13.8187 7.82848 13.5646 7.79988 13.3C7.76975 12.7823 7.94185 12.2732 8.27988 11.88C8.70227 11.41 9.23002 11.0467 9.81988 10.82C10.3659 10.5784 10.9671 10.4886 11.5599 10.56L12.7999 10.86C12.9582 10.9425 13.0941 11.0622 13.1957 11.2089C13.2974 11.3556 13.3619 11.5249 13.3835 11.7021C13.4052 11.8793 13.3834 12.0591 13.32 12.226C13.2567 12.3928 13.1537 12.5418 13.0199 12.66C12.3149 13.5226 11.3053 14.0812 10.1999 14.22C10.1106 14.2173 10.0216 14.2323 9.93809 14.264C9.85456 14.2957 9.77811 14.3436 9.71311 14.4049C9.6481 14.4662 9.5958 14.5397 9.55922 14.6212C9.52263 14.7027 9.50247 14.7907 9.49988 14.88C9.49437 15.0623 9.56028 15.2396 9.68355 15.3741C9.80683 15.5086 9.97774 15.5896 10.1599 15.6C11.1066 15.6024 12.0405 15.3808 12.8851 14.9533C13.7298 14.5257 14.4613 13.9044 15.0199 13.14C15.2504 12.8071 15.4077 12.4291 15.4813 12.031C15.5548 11.6328 15.543 11.2236 15.4466 10.8303C15.3502 10.4371 15.1713 10.0688 14.9219 9.74978C14.6725 9.4308 14.3583 9.16842 13.9999 8.97998C13.7019 8.77176 13.3704 8.61617 13.0199 8.51998C12.6861 8.41558 12.3452 8.33538 11.9999 8.27998C10.9637 8.13831 9.90902 8.31991 8.97988 8.79998C8.08484 9.2484 7.33572 9.94203 6.81988 10.8C6.5505 11.2083 6.36569 11.6664 6.27637 12.1473C6.18706 12.6283 6.19505 13.1222 6.29988 13.6C6.42203 14.0512 6.64861 14.4673 6.9613 14.8147C7.27399 15.1621 7.66402 15.4311 8.09988 15.6C8.24606 15.6696 8.41368 15.6793 8.56691 15.627C8.72014 15.5747 8.84683 15.4645 8.91988 15.32C8.96672 15.1833 8.96438 15.0346 8.91326 14.8995C8.86214 14.7644 8.76545 14.6514 8.63988 14.58Z" fill="#155EEF"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M8.63994 37.6799C8.40853 37.5484 8.2117 37.3637 8.06565 37.1412C7.91961 36.9186 7.82853 36.6646 7.79994 36.3999C7.76981 35.8823 7.94191 35.3731 8.27994 34.9799C8.71088 34.5389 9.23793 34.2035 9.81994 33.9999C10.366 33.7584 10.9671 33.6686 11.5599 33.7399L12.7999 33.9999C12.9583 34.0824 13.0941 34.2022 13.1958 34.3489C13.2975 34.4956 13.3619 34.6649 13.3836 34.842C13.4053 35.0192 13.3835 35.199 13.3201 35.3659C13.2567 35.5328 13.1537 35.6818 13.0199 35.7999C12.315 36.6626 11.3053 37.2212 10.1999 37.3599C10.1106 37.3573 10.0217 37.3722 9.93815 37.404C9.85462 37.4357 9.77817 37.4836 9.71316 37.5449C9.64815 37.6062 9.59586 37.6797 9.55928 37.7612C9.52269 37.8427 9.50252 37.9306 9.49994 38.0199C9.49443 38.2023 9.56033 38.3796 9.68361 38.5141C9.80689 38.6486 9.97779 38.7296 10.1599 38.7399C11.1067 38.7424 12.0405 38.5208 12.8852 38.0932C13.7299 37.6657 14.4614 37.0443 15.0199 36.2799C15.272 35.944 15.447 35.5566 15.5324 35.1454C15.6178 34.7342 15.6116 34.3092 15.5143 33.9006C15.4169 33.492 15.2307 33.1099 14.969 32.7814C14.7073 32.4529 14.3764 32.1861 13.9999 31.9999C13.702 31.7917 13.3705 31.6361 13.0199 31.5399C12.6842 31.4625 12.3433 31.4091 11.9999 31.3799C10.927 31.2516 9.84102 31.4688 8.89994 31.9999C8.0049 32.4484 7.25578 33.142 6.73994 33.9999C6.48676 34.4114 6.31754 34.8688 6.24202 35.346C6.1665 35.8231 6.18619 36.3104 6.29994 36.7799C6.42209 37.2311 6.64867 37.6472 6.96136 37.9947C7.27404 38.3421 7.66408 38.6111 8.09994 38.7799C8.17061 38.8178 8.24817 38.8412 8.32802 38.8486C8.40787 38.856 8.4884 38.8474 8.56485 38.8231C8.64129 38.7989 8.7121 38.7596 8.77309 38.7075C8.83408 38.6554 8.88401 38.5916 8.91994 38.5199C8.99053 38.3708 9.00081 38.2002 8.94864 38.0437C8.89647 37.8872 8.78588 37.7569 8.63994 37.6799Z" fill="#155EEF"/>
+</g>
+<defs>
+<clipPath id="clip0_822_10150">
+<rect width="48" height="48" fill="white"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/client/public/img/pages/ai_form_builder/icon-share.svg b/client/public/img/pages/ai_form_builder/icon-share.svg
new file mode 100644
index 000000000..ae6a40c33
--- /dev/null
+++ b/client/public/img/pages/ai_form_builder/icon-share.svg
@@ -0,0 +1,17 @@
+<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_822_10132)">
+<path d="M34.5 5.4201C35.5322 6.2198 36.4655 7.13961 37.28 8.1601L36.1 22.8201C36.1 23.6001 36.64 23.9201 37.06 23.2601C37.66 21.4801 40.08 8.5601 38.78 6.7201C37.1176 4.88803 35.2055 3.2991 33.1 2.0001C33.0317 1.94626 32.9535 1.9064 32.8698 1.88279C32.7861 1.85917 32.6986 1.85228 32.6122 1.86249C32.5259 1.87271 32.4424 1.89983 32.3665 1.94232C32.2906 1.9848 32.2239 2.04182 32.17 2.1101C32.1162 2.17839 32.0763 2.25661 32.0527 2.34031C32.0291 2.424 32.0222 2.51153 32.0324 2.59789C32.0426 2.68424 32.0698 2.76774 32.1122 2.84362C32.1547 2.9195 32.2117 2.98626 32.28 3.0401L34.5 5.4201Z" fill="#155EEF"/>
+<path d="M47.5399 39.7202C47.0864 39.158 46.4957 38.7223 45.8247 38.455C45.1537 38.1878 44.4252 38.0981 43.7094 38.1946C42.9937 38.2911 42.3149 38.5705 41.7386 39.006C41.1624 39.4414 40.7082 40.018 40.4198 40.6802C40.2998 40.6802 40.5598 40.6802 39.0998 39.7002C36.6998 38.0202 36.4999 38.5002 33.8999 36.9202C34.1493 36.0507 34.1072 35.1235 33.7798 34.2802L35.7798 33.6202C38.8798 32.0202 37.5598 32.4002 39.7798 30.7602C39.9499 31.33 40.319 31.8198 40.8198 32.1402C40.9472 32.2277 41.104 32.2611 41.2559 32.233C41.4078 32.2048 41.5423 32.1175 41.6299 31.9902C41.7174 31.8629 41.7507 31.706 41.7226 31.5541C41.6945 31.4022 41.6072 31.2677 41.4798 31.1802C41.1841 30.8871 41.0062 30.4957 40.9798 30.0802C40.8954 29.5603 40.98 29.0269 41.2214 28.5587C41.4627 28.0905 41.8479 27.7121 42.3204 27.4792C42.7929 27.2463 43.3277 27.1712 43.846 27.265C44.3644 27.3588 44.8389 27.6165 45.1999 28.0002C45.4951 28.3179 45.6946 28.7126 45.7752 29.1388C45.8558 29.565 45.8142 30.0052 45.6553 30.4088C45.4964 30.8124 45.2266 31.1628 44.877 31.4196C44.5275 31.6764 44.1125 31.8292 43.6798 31.8602C43.2637 31.9401 42.836 31.9401 42.4198 31.8602C41.4598 31.5602 40.5798 33.5002 43.8398 33.3602C44.6346 33.3938 45.4213 33.1898 46.0995 32.774C46.7777 32.3583 47.3166 31.7498 47.6472 31.0263C47.9778 30.3028 48.0852 29.4972 47.9556 28.7123C47.8261 27.9275 47.4655 27.1991 46.9198 26.6202C46.3639 25.9339 45.6058 25.4403 44.7533 25.2096C43.9008 24.9788 42.9972 25.0227 42.171 25.335C41.3449 25.6473 40.6382 26.2121 40.1515 26.9491C39.6648 27.6861 39.4227 28.5578 39.4598 29.4402C39.2198 29.4402 39.4598 29.4402 38.7598 29.7202C36.6731 30.5028 34.7478 31.662 33.0799 33.1402C32.5516 32.5074 31.8489 32.044 31.0591 31.8078C30.2694 31.5715 29.4276 31.5729 28.6387 31.8117C27.8497 32.0506 27.1485 32.5163 26.6224 33.1508C26.0962 33.7853 25.7684 34.5607 25.6799 35.3802C25.6068 36.3582 25.8524 37.3335 26.3798 38.1602C27.5798 39.7202 28.3799 38.2602 27.6999 37.8002C27.4048 37.4332 27.2212 36.9892 27.1711 36.5209C27.1209 36.0527 27.2062 35.5799 27.4168 35.1587C27.6274 34.7375 27.9545 34.3855 28.3592 34.1447C28.7639 33.9039 29.2292 33.7844 29.6999 33.8002C30.0752 33.7896 30.4477 33.8688 30.7864 34.0311C31.125 34.1934 31.4201 34.4342 31.6469 34.7335C31.8738 35.0327 32.026 35.3818 32.0909 35.7517C32.1557 36.1216 32.1314 36.5016 32.0199 36.8602C31.7543 37.4722 31.2746 37.9663 30.6708 38.2498C30.0669 38.5333 29.3803 38.5868 28.7398 38.4002C28.5727 38.3488 28.3921 38.3637 28.2357 38.4419C28.0793 38.5201 27.959 38.6556 27.8998 38.8202C27.6598 39.5402 28.4998 39.7802 29.2398 39.8802C30.0259 40.0167 30.8344 39.9297 31.5734 39.6291C32.3124 39.3286 32.9522 38.8265 33.4198 38.1802C33.5998 38.4402 33.4198 38.1802 34.7598 39.6002C36.1557 40.6284 37.7491 41.357 39.4398 41.7402C39.6782 41.8542 39.9258 41.9478 40.1798 42.0202C40.1067 42.6454 40.1952 43.2789 40.4368 43.8602C40.6784 44.4415 41.0651 44.951 41.5599 45.3402C41.6898 45.4251 41.8482 45.4548 42.0001 45.423C42.152 45.3911 42.285 45.3002 42.3698 45.1702C42.4547 45.0402 42.4845 44.8819 42.4526 44.73C42.4207 44.5781 42.3298 44.4451 42.1999 44.3602C41.9112 44.0724 41.7401 43.6873 41.7199 43.2802C41.6305 42.7611 41.71 42.227 41.9469 41.7565C42.1838 41.286 42.5654 40.904 43.0357 40.6666C43.5059 40.4293 44.0399 40.3491 44.5591 40.438C45.0783 40.5268 45.5553 40.78 45.9198 41.1602C46.2226 41.4735 46.4292 41.8671 46.5153 42.2942C46.6013 42.7213 46.5632 43.1642 46.4054 43.5703C46.2476 43.9765 45.9767 44.3289 45.6248 44.5858C45.2729 44.8428 44.8547 44.9935 44.4198 45.0202C43.9969 45.1003 43.5628 45.1003 43.1398 45.0202C42.1798 44.7202 41.3199 46.6602 44.5599 46.5202C45.3581 46.5452 46.1455 46.3307 46.8208 45.9043C47.4961 45.4779 48.0283 44.8592 48.3488 44.1277C48.6694 43.3962 48.7637 42.5855 48.6195 41.8C48.4753 41.0145 48.0993 40.2902 47.5399 39.7202Z" fill="#101828"/>
+<path d="M10.0599 11.72C11.0203 12.0574 12.0119 12.2986 13.0199 12.44C15.0092 12.7331 17.0307 12.7331 19.0199 12.44C19.195 12.44 19.3628 12.3705 19.4866 12.2467C19.6104 12.1229 19.6799 11.9551 19.6799 11.78C19.6799 11.605 19.6104 11.4371 19.4866 11.3133C19.3628 11.1896 19.195 11.12 19.0199 11.12C17.0664 10.5852 15.0445 10.3426 13.0199 10.4C11.9463 10.2968 10.8628 10.3848 9.81993 10.66C9.59993 10.82 9.49993 11.38 10.0599 11.72Z" fill="#101828"/>
+<path d="M9.43986 19.4002C9.40046 19.4698 9.37516 19.5464 9.36539 19.6258C9.35563 19.7052 9.3616 19.7857 9.38296 19.8628C9.40431 19.9399 9.44064 20.012 9.48987 20.075C9.5391 20.138 9.60026 20.1908 9.66986 20.2302C9.81042 20.3097 9.97683 20.3302 10.1325 20.2871C10.2881 20.2439 10.4203 20.1407 10.4999 20.0002C12.378 19.9632 14.2563 20.0635 16.1199 20.3002C19.9221 20.2781 23.7206 20.0578 27.4999 19.6402C27.6749 19.6402 27.8428 19.5706 27.9665 19.4469C28.0903 19.3231 28.1599 19.1552 28.1599 18.9802C28.1599 18.8051 28.0903 18.6372 27.9665 18.5135C27.8428 18.3897 27.6749 18.3202 27.4999 18.3202C22.9945 17.9398 18.4652 17.9398 13.9599 18.3202C13.0199 18.5202 10.0399 18.3602 9.43986 19.4002Z" fill="#101828"/>
+<path d="M21.3199 27.1801C18.0866 26.5897 14.7731 26.5897 11.5399 27.1801C10.0599 27.4201 9.75986 27.4201 9.53986 27.6201C9.44273 27.6911 9.36916 27.7895 9.32869 27.9028C9.28822 28.0161 9.28272 28.1389 9.3129 28.2553C9.34309 28.3717 9.40756 28.4764 9.49796 28.5557C9.58836 28.635 9.70051 28.6853 9.81986 28.7001C9.91986 28.7001 10.3799 28.7001 10.5799 28.7001C14.1536 29.1787 17.7777 29.1383 21.3399 28.5801C21.5255 28.5775 21.7025 28.5012 21.8319 28.368C21.9613 28.2349 22.0325 28.0558 22.0299 27.8701C22.0272 27.6845 21.9509 27.5075 21.8178 27.3781C21.6846 27.2487 21.5055 27.1775 21.3199 27.1801Z" fill="#101828"/>
+<path d="M20.0599 35.6401C14.3343 35.482 8.62037 35.0347 2.9399 34.3001C5.8199 27.1401 5.5199 16.9001 6.3799 5.46011C6.3799 5.28011 6.7599 4.64011 6.9399 4.60011C8.8399 4.14011 18.1999 2.86011 19.3999 2.80011C20.2805 2.73497 21.1658 2.81607 22.0199 3.04011C22.7799 3.32011 24.1399 1.46011 19.3599 1.54011C18.2399 1.54011 7.8599 2.48011 6.2399 2.90011C5.89993 2.95377 5.57956 3.09425 5.30977 3.30798C5.03999 3.5217 4.82993 3.80143 4.6999 4.12011C3.7999 6.46011 3.6199 22.8801 2.0199 30.1201C0.999904 34.8401 0.179904 34.7001 0.619904 35.5201C0.695046 35.6677 0.805652 35.7942 0.941793 35.8885C1.07793 35.9827 1.23535 36.0417 1.3999 36.0601C7.1999 36.5001 14.1999 37.0601 20.0799 36.9401C20.2183 36.8953 20.3387 36.8072 20.4234 36.6889C20.5081 36.5706 20.5526 36.4282 20.5503 36.2827C20.5481 36.1372 20.4993 35.9963 20.411 35.8806C20.3227 35.765 20.1996 35.6807 20.0599 35.6401Z" fill="#101828"/>
+<path d="M29.7799 7.70021C30.4799 8.36021 31.7799 9.22021 32.0799 9.94021L31.8799 22.2602C31.8799 22.3364 31.8949 22.4118 31.924 22.4822C31.9532 22.5525 31.9959 22.6165 32.0497 22.6703C32.1036 22.7242 32.1675 22.7669 32.2379 22.7961C32.3083 22.8252 32.3837 22.8402 32.4599 22.8402C32.536 22.8402 32.6114 22.8252 32.6818 22.7961C32.7522 22.7669 32.8161 22.7242 32.87 22.6703C32.9238 22.6165 32.9666 22.5525 32.9957 22.4822C33.0248 22.4118 33.0399 22.3364 33.0399 22.2602C33.0399 21.2002 35.0399 10.9802 34.0599 8.96021C33.3599 7.62021 33.2199 8.08021 26.4199 2.36021C26.2819 2.25147 26.1065 2.20197 25.9321 2.2226C25.7577 2.24323 25.5986 2.3323 25.4899 2.47021C25.3811 2.60813 25.3316 2.78359 25.3522 2.958C25.3729 3.1324 25.4619 3.29147 25.5999 3.40021L29.7799 7.70021Z" fill="#101828"/>
+<path d="M22.7799 11.5201C23.8199 13.5201 27.3599 12.6801 29.6399 12.0601C33.6399 11.0001 31.5199 9.04013 30.7999 10.0601C28.8657 10.7 26.7993 10.8309 24.7999 10.4401C24.1999 9.50013 25.6199 4.44013 24.7999 4.14013C23.9799 3.84013 23.8599 5.02013 23.5599 6.14013C23.0599 7.58013 21.8999 9.72013 22.7799 11.5201Z" fill="#101828"/>
+</g>
+<defs>
+<clipPath id="clip0_822_10132">
+<rect width="48" height="48" fill="white" transform="translate(0.5)"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/client/public/img/pages/ai_form_builder/icon-textarea.svg b/client/public/img/pages/ai_form_builder/icon-textarea.svg
new file mode 100644
index 000000000..a1d0d8b15
--- /dev/null
+++ b/client/public/img/pages/ai_form_builder/icon-textarea.svg
@@ -0,0 +1,12 @@
+<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_822_10156)">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M47.5999 16.9399C47.5999 16.4199 47.6999 14.7599 47.5999 13.7399C47.5791 13.2824 47.4488 12.8365 47.2199 12.4399C46.583 11.7629 45.7242 11.3371 44.7999 11.2399C43.189 11.1155 41.5708 11.1155 39.9599 11.2399C34.5799 11.2399 29.2399 10.7799 23.9599 10.5999C22.6199 10.5999 21.2599 10.5999 19.9599 10.5999H15.9599C13.5999 10.5999 8.63989 9.73989 5.21989 10.9199C4.35674 11.1162 3.55507 11.5216 2.88546 12.1005C2.21584 12.6795 1.69881 13.4142 1.37989 14.2399C1.34827 14.3184 1.33307 14.4026 1.33525 14.4873C1.33742 14.5719 1.3569 14.6553 1.39251 14.7321C1.42811 14.8089 1.47908 14.8776 1.54226 14.934C1.60545 14.9904 1.67951 15.0332 1.75989 15.0599C1.91651 15.1119 2.08717 15.1014 2.23623 15.0306C2.3853 14.9598 2.50126 14.8342 2.55989 14.6799C2.93285 13.8576 3.52665 13.1549 4.27521 12.6499C5.02377 12.145 5.89774 11.8577 6.79989 11.8199C9.779 11.6016 12.772 11.6618 15.7399 11.9999H19.7399L23.7399 12.1399C29.1199 12.4199 34.4799 12.9399 39.8599 13.0799C40.7599 13.0799 42.3999 12.8599 43.8599 13.0799C44.4583 13.0429 45.0513 13.2124 45.5399 13.5599C45.6019 14.6857 45.6019 15.8141 45.5399 16.9399C45.5399 19.4399 45.8799 24.3999 45.8599 28.4799C45.9009 30.065 45.8073 31.6507 45.5799 33.2199C45.5333 33.5875 45.393 33.937 45.1723 34.2347C44.9517 34.5325 44.6581 34.7684 44.3199 34.9199C43.4278 35.2389 42.4873 35.4013 41.5399 35.3999C39.2399 35.5399 36.9399 35.5999 34.6399 35.5999C32.3399 35.5999 29.9999 35.5999 27.6999 35.4599C25.0599 35.3599 22.4199 35.3399 19.7999 35.3599C15.7999 35.3599 11.9399 35.4799 7.99989 35.5799C6.55949 35.7453 5.10795 35.7921 3.65989 35.7199C3.27241 35.7286 2.88849 35.6442 2.54045 35.4736C2.19241 35.3031 1.89042 35.0515 1.65989 34.7399C1.46452 34.3492 1.36836 33.9165 1.37989 33.4799C1.37989 32.5999 1.37989 31.6399 1.37989 30.9599L1.61989 15.8599C1.62256 15.7863 1.61071 15.713 1.58501 15.644C1.55931 15.575 1.52027 15.5118 1.47012 15.4579C1.41997 15.4041 1.35969 15.3606 1.29273 15.3301C1.22577 15.2995 1.15344 15.2825 1.07989 15.2799C0.934768 15.2798 0.795279 15.336 0.690815 15.4368C0.586351 15.5375 0.525071 15.6749 0.519888 15.8199L0.139888 30.9799C0.0399736 31.9834 -0.00675842 32.9915 -0.000111623 33.9999C0.0244989 34.5316 0.16802 35.051 0.419888 35.5199C0.669474 35.9189 0.996131 36.2642 1.38075 36.5355C1.76537 36.8068 2.20023 36.9987 2.65989 37.0999C4.42513 37.3903 6.22185 37.4374 7.99989 37.2399C11.9999 37.2399 15.8599 37.2399 19.7599 37.2399C22.3599 37.2399 24.9799 37.3599 27.5799 37.4799C30.1799 37.5999 33.1999 37.7199 36.0199 37.6999C37.8999 37.6999 39.7799 37.6399 41.6599 37.5199C43.1735 37.5669 44.672 37.2078 45.9999 36.4799C46.4645 36.1482 46.8567 35.7254 47.1524 35.2371C47.4482 34.7488 47.6413 34.2053 47.7199 33.6399C47.95 31.9435 48.0437 30.2313 47.9999 28.5199C47.9999 24.4199 47.6599 19.4399 47.5999 16.9399Z" fill="#155EEF"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M23.4399 22.32C23.5203 22.3342 23.6027 22.3318 23.6821 22.313C23.7616 22.2942 23.8363 22.2594 23.9019 22.2108C23.9674 22.1621 24.0223 22.1006 24.0632 22.0299C24.1041 21.9593 24.1302 21.8811 24.1399 21.8C24.4215 20.6152 24.5293 19.3958 24.4599 18.18C24.4422 17.8156 24.3411 17.4602 24.1642 17.1412C23.9874 16.8221 23.7395 16.548 23.4399 16.34C23.1713 16.1874 22.8687 16.1049 22.5599 16.1C21.8599 16.1 20.8399 16.1 20.3599 16.1L13.5399 16C12.5599 16 11.5399 15.82 10.6399 15.82C9.91189 15.7909 9.18369 15.8718 8.47987 16.06C8.01441 16.1798 7.56949 16.3686 7.15987 16.62C6.88926 16.7741 6.66217 16.9943 6.49987 17.26C6.42517 17.4737 6.42517 17.7063 6.49987 17.92C6.49987 18.16 6.75987 18.74 6.75987 18.8C6.75987 19.28 6.75987 19.76 6.75987 20.24C6.75987 21 6.75987 21.74 6.65987 22.48C6.64865 22.6254 6.69463 22.7695 6.78801 22.8816C6.88138 22.9936 7.0148 23.0648 7.15987 23.08C7.30453 23.0921 7.44847 23.0495 7.56326 22.9606C7.67805 22.8718 7.75534 22.7431 7.77987 22.6C7.87987 21.84 7.99987 21.08 8.07987 20.32C8.15987 19.56 8.07987 19.26 8.07987 18.74C8.07987 18.74 7.91987 18.36 7.85987 18.06L8.79987 17.8C9.21224 17.7601 9.6275 17.7601 10.0399 17.8C11.1599 17.8 12.2399 18.1 13.3799 18.18H14.0999C13.8116 19.7341 13.6113 21.3033 13.4999 22.88C13.4398 24.0459 13.4398 25.2141 13.4999 26.38C13.4999 27.68 13.6199 28.98 13.6799 30.38H12.9199C11.6199 30.38 10.3599 30.66 9.01987 30.82C8.87135 30.82 8.72891 30.879 8.62389 30.984C8.51887 31.089 8.45987 31.2315 8.45987 31.38C8.45987 31.5285 8.51887 31.671 8.62389 31.776C8.72891 31.881 8.87135 31.94 9.01987 31.94C10.3799 32.08 11.6399 32.3 13.0199 32.4H14.6799H16.3599C17.6599 32.4 18.9399 32.16 20.3599 32.04C20.5077 32.0136 20.6415 31.936 20.7379 31.8208C20.8343 31.7056 20.8872 31.5602 20.8872 31.41C20.8872 31.2598 20.8343 31.1144 20.7379 30.9992C20.6415 30.8841 20.5077 30.8064 20.3599 30.78C18.9999 30.66 17.7399 30.5 16.3599 30.42H15.2999C15.4199 29.18 15.5799 27.94 15.6599 26.7C15.6599 25.96 15.6599 25.24 15.6599 24.52C15.6599 23.8 15.6599 23.08 15.6599 22.34C15.6599 21.02 15.5599 19.7 15.5199 18.34H16.2599C17.6399 18.34 19.0199 18.34 20.3799 18.18L22.6599 17.9C23.0599 18.1 23.0399 18.74 23.0799 19.4C23.0833 20.1828 23.0298 20.9649 22.9199 21.74C22.9272 21.8816 22.9828 22.0163 23.0774 22.1219C23.172 22.2274 23.3 22.2973 23.4399 22.32Z" fill="#101828"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M32.7598 32.2798C33.7998 32.2798 34.7598 32.2798 35.8798 32.1598C36.9998 32.0398 37.8798 31.7998 38.8398 31.6798C39.2388 31.6407 39.6408 31.6407 40.0398 31.6798C40.2086 31.6912 40.3753 31.6374 40.5056 31.5295C40.6358 31.4216 40.7197 31.2678 40.7398 31.0998C40.7509 30.9332 40.6965 30.7688 40.5882 30.6418C40.4798 30.5147 40.3261 30.4351 40.1598 30.4198C39.7034 30.3425 39.2424 30.2957 38.7798 30.2798C37.7998 30.2798 36.7798 30.2798 35.8198 30.2798C34.8598 30.2798 33.7198 30.2798 32.6598 30.2798C31.0847 30.4491 29.5217 30.7162 27.9798 31.0798C27.8331 31.0998 27.6995 31.1751 27.6065 31.2904C27.5136 31.4057 27.4682 31.5521 27.4798 31.6998C27.4997 31.845 27.5759 31.9767 27.6918 32.0664C27.8077 32.1561 27.9542 32.1969 28.0998 32.1798C29.6798 32.1198 31.1998 32.2798 32.7598 32.2798Z" fill="#101828"/>
+</g>
+<defs>
+<clipPath id="clip0_822_10156">
+<rect width="48" height="48" fill="white"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/client/public/img/pages/ai_form_builder/step-1.svg b/client/public/img/pages/ai_form_builder/step-1.svg
new file mode 100644
index 000000000..a97c64213
--- /dev/null
+++ b/client/public/img/pages/ai_form_builder/step-1.svg
@@ -0,0 +1,262 @@
+<svg width="528" height="396" viewBox="0 0 528 396" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_822_9653)">
+<rect width="528" height="396" fill="#D1E0FF"/>
+<g opacity="0.7">
+<mask id="mask0_822_9653" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-264" y="0" width="1056" height="601">
+<rect x="-264" y="-6.10352e-05" width="1056" height="601" fill="url(#paint0_radial_822_9653)"/>
+</mask>
+<g mask="url(#mask0_822_9653)">
+<mask id="path-2-inside-1_822_9653" fill="white">
+<path d="M-29.3333 -6.10352e-05H88V117.333H-29.3333V-6.10352e-05Z"/>
+</mask>
+<path d="M-29.3333 -6.10352e-05H88V117.333H-29.3333V-6.10352e-05Z" fill="white"/>
+<path d="M88 117.333V118.067H88.7333V117.333H88ZM87.2667 -6.10352e-05V117.333H88.7333V-6.10352e-05H87.2667ZM88 116.6H-29.3333V118.067H88V116.6Z" fill="#B2CCFF" mask="url(#path-2-inside-1_822_9653)"/>
+<mask id="path-4-inside-2_822_9653" fill="white">
+<path d="M88 -6.10352e-05H205.333V117.333H88V-6.10352e-05Z"/>
+</mask>
+<path d="M88 -6.10352e-05H205.333V117.333H88V-6.10352e-05Z" fill="white"/>
+<path d="M205.333 117.333V118.067H206.067V117.333H205.333ZM204.6 -6.10352e-05V117.333H206.067V-6.10352e-05H204.6ZM205.333 116.6H88V118.067H205.333V116.6Z" fill="#B2CCFF" mask="url(#path-4-inside-2_822_9653)"/>
+<mask id="path-6-inside-3_822_9653" fill="white">
+<path d="M205.333 -6.10352e-05H322.667V117.333H205.333V-6.10352e-05Z"/>
+</mask>
+<path d="M205.333 -6.10352e-05H322.667V117.333H205.333V-6.10352e-05Z" fill="white"/>
+<path d="M322.667 117.333V118.067H323.4V117.333H322.667ZM321.933 -6.10352e-05V117.333H323.4V-6.10352e-05H321.933ZM322.667 116.6H205.333V118.067H322.667V116.6Z" fill="#B2CCFF" mask="url(#path-6-inside-3_822_9653)"/>
+<mask id="path-8-inside-4_822_9653" fill="white">
+<path d="M322.667 -6.10352e-05H440V117.333H322.667V-6.10352e-05Z"/>
+</mask>
+<path d="M322.667 -6.10352e-05H440V117.333H322.667V-6.10352e-05Z" fill="#EFF4FF"/>
+<path d="M440 117.333V118.067H440.733V117.333H440ZM439.267 -6.10352e-05V117.333H440.733V-6.10352e-05H439.267ZM440 116.6H322.667V118.067H440V116.6Z" fill="#B2CCFF" mask="url(#path-8-inside-4_822_9653)"/>
+<mask id="path-10-inside-5_822_9653" fill="white">
+<path d="M440 -6.10352e-05H557.333V117.333H440V-6.10352e-05Z"/>
+</mask>
+<path d="M440 -6.10352e-05H557.333V117.333H440V-6.10352e-05Z" fill="white"/>
+<path d="M557.333 117.333V118.067H558.067V117.333H557.333ZM556.6 -6.10352e-05V117.333H558.067V-6.10352e-05H556.6ZM557.333 116.6H440V118.067H557.333V116.6Z" fill="#B2CCFF" mask="url(#path-10-inside-5_822_9653)"/>
+<mask id="path-12-inside-6_822_9653" fill="white">
+<path d="M-29.3333 117.333H88V234.667H-29.3333V117.333Z"/>
+</mask>
+<path d="M-29.3333 117.333H88V234.667H-29.3333V117.333Z" fill="white"/>
+<path d="M88 234.667V235.4H88.7333V234.667H88ZM87.2667 117.333V234.667H88.7333V117.333H87.2667ZM88 233.933H-29.3333V235.4H88V233.933Z" fill="#B2CCFF" mask="url(#path-12-inside-6_822_9653)"/>
+<mask id="path-14-inside-7_822_9653" fill="white">
+<path d="M88 117.333H205.333V234.667H88V117.333Z"/>
+</mask>
+<path d="M88 117.333H205.333V234.667H88V117.333Z" fill="white"/>
+<path d="M205.333 234.667V235.4H206.067V234.667H205.333ZM204.6 117.333V234.667H206.067V117.333H204.6ZM205.333 233.933H88V235.4H205.333V233.933Z" fill="#B2CCFF" mask="url(#path-14-inside-7_822_9653)"/>
+<mask id="path-16-inside-8_822_9653" fill="white">
+<path d="M205.333 117.333H322.667V234.667H205.333V117.333Z"/>
+</mask>
+<path d="M205.333 117.333H322.667V234.667H205.333V117.333Z" fill="white"/>
+<path d="M322.667 234.667V235.4H323.4V234.667H322.667ZM321.933 117.333V234.667H323.4V117.333H321.933ZM322.667 233.933H205.333V235.4H322.667V233.933Z" fill="#B2CCFF" mask="url(#path-16-inside-8_822_9653)"/>
+<mask id="path-18-inside-9_822_9653" fill="white">
+<path d="M322.667 117.333H440V234.667H322.667V117.333Z"/>
+</mask>
+<path d="M322.667 117.333H440V234.667H322.667V117.333Z" fill="white"/>
+<path d="M440 234.667V235.4H440.733V234.667H440ZM439.267 117.333V234.667H440.733V117.333H439.267ZM440 233.933H322.667V235.4H440V233.933Z" fill="#B2CCFF" mask="url(#path-18-inside-9_822_9653)"/>
+<mask id="path-20-inside-10_822_9653" fill="white">
+<path d="M440 117.333H557.333V234.667H440V117.333Z"/>
+</mask>
+<path d="M440 117.333H557.333V234.667H440V117.333Z" fill="white"/>
+<path d="M557.333 234.667V235.4H558.067V234.667H557.333ZM556.6 117.333V234.667H558.067V117.333H556.6ZM557.333 233.933H440V235.4H557.333V233.933Z" fill="#B2CCFF" mask="url(#path-20-inside-10_822_9653)"/>
+<mask id="path-22-inside-11_822_9653" fill="white">
+<path d="M-29.3333 234.667H88V352H-29.3333V234.667Z"/>
+</mask>
+<path d="M-29.3333 234.667H88V352H-29.3333V234.667Z" fill="#EFF4FF"/>
+<path d="M88 352V352.733H88.7333V352H88ZM87.2667 234.667V352H88.7333V234.667H87.2667ZM88 351.267H-29.3333V352.733H88V351.267Z" fill="#B2CCFF" mask="url(#path-22-inside-11_822_9653)"/>
+<mask id="path-24-inside-12_822_9653" fill="white">
+<path d="M88 234.667H205.333V352H88V234.667Z"/>
+</mask>
+<path d="M88 234.667H205.333V352H88V234.667Z" fill="white"/>
+<path d="M205.333 352V352.733H206.067V352H205.333ZM204.6 234.667V352H206.067V234.667H204.6ZM205.333 351.267H88V352.733H205.333V351.267Z" fill="#B2CCFF" mask="url(#path-24-inside-12_822_9653)"/>
+<mask id="path-26-inside-13_822_9653" fill="white">
+<path d="M205.333 234.667H322.667V352H205.333V234.667Z"/>
+</mask>
+<path d="M205.333 234.667H322.667V352H205.333V234.667Z" fill="white"/>
+<path d="M322.667 352V352.733H323.4V352H322.667ZM321.933 234.667V352H323.4V234.667H321.933ZM322.667 351.267H205.333V352.733H322.667V351.267Z" fill="#B2CCFF" mask="url(#path-26-inside-13_822_9653)"/>
+<mask id="path-28-inside-14_822_9653" fill="white">
+<path d="M322.667 234.667H440V352H322.667V234.667Z"/>
+</mask>
+<path d="M322.667 234.667H440V352H322.667V234.667Z" fill="white"/>
+<path d="M440 352V352.733H440.733V352H440ZM439.267 234.667V352H440.733V234.667H439.267ZM440 351.267H322.667V352.733H440V351.267Z" fill="#B2CCFF" mask="url(#path-28-inside-14_822_9653)"/>
+<mask id="path-30-inside-15_822_9653" fill="white">
+<path d="M440 234.667H557.333V352H440V234.667Z"/>
+</mask>
+<path d="M440 234.667H557.333V352H440V234.667Z" fill="white"/>
+<path d="M557.333 352V352.733H558.067V352H557.333ZM556.6 234.667V352H558.067V234.667H556.6ZM557.333 351.267H440V352.733H557.333V351.267Z" fill="#B2CCFF" mask="url(#path-30-inside-15_822_9653)"/>
+<mask id="path-32-inside-16_822_9653" fill="white">
+<path d="M-29.3333 352H88V469.333H-29.3333V352Z"/>
+</mask>
+<path d="M-29.3333 352H88V469.333H-29.3333V352Z" fill="white"/>
+<path d="M88 469.333V470.067H88.7333V469.333H88ZM87.2667 352V469.333H88.7333V352H87.2667ZM88 468.6H-29.3333V470.067H88V468.6Z" fill="#B2CCFF" mask="url(#path-32-inside-16_822_9653)"/>
+<mask id="path-34-inside-17_822_9653" fill="white">
+<path d="M88 352H205.333V469.333H88V352Z"/>
+</mask>
+<path d="M88 352H205.333V469.333H88V352Z" fill="white"/>
+<path d="M205.333 469.333V470.067H206.067V469.333H205.333ZM204.6 352V469.333H206.067V352H204.6ZM205.333 468.6H88V470.067H205.333V468.6Z" fill="#B2CCFF" mask="url(#path-34-inside-17_822_9653)"/>
+<mask id="path-36-inside-18_822_9653" fill="white">
+<path d="M205.333 352H322.667V469.333H205.333V352Z"/>
+</mask>
+<path d="M205.333 352H322.667V469.333H205.333V352Z" fill="white"/>
+<path d="M322.667 469.333V470.067H323.4V469.333H322.667ZM321.933 352V469.333H323.4V352H321.933ZM322.667 468.6H205.333V470.067H322.667V468.6Z" fill="#B2CCFF" mask="url(#path-36-inside-18_822_9653)"/>
+<mask id="path-38-inside-19_822_9653" fill="white">
+<path d="M322.667 352H440V469.333H322.667V352Z"/>
+</mask>
+<path d="M322.667 352H440V469.333H322.667V352Z" fill="white"/>
+<path d="M440 469.333V470.067H440.733V469.333H440ZM439.267 352V469.333H440.733V352H439.267ZM440 468.6H322.667V470.067H440V468.6Z" fill="#B2CCFF" mask="url(#path-38-inside-19_822_9653)"/>
+<mask id="path-40-inside-20_822_9653" fill="white">
+<path d="M440 352H557.333V469.333H440V352Z"/>
+</mask>
+<path d="M440 352H557.333V469.333H440V352Z" fill="#EFF4FF"/>
+<path d="M557.333 469.333V470.067H558.067V469.333H557.333ZM556.6 352V469.333H558.067V352H556.6ZM557.333 468.6H440V470.067H557.333V468.6Z" fill="#B2CCFF" mask="url(#path-40-inside-20_822_9653)"/>
+</g>
+</g>
+<g filter="url(#filter0_d_822_9653)">
+<path d="M32 48C32 39.1634 39.1634 32 48 32H480C488.837 32 496 39.1634 496 48V396H32V48Z" fill="white"/>
+<circle cx="264" cy="93.55" r="28" fill="#D1E0FF"/>
+<rect x="187.5" y="133.55" width="153" height="12" rx="4" fill="#EAECF0"/>
+<g filter="url(#filter1_dd_822_9653)">
+<rect x="77.3266" y="177.55" width="373.347" height="80.9" rx="10" fill="white"/>
+<path d="M100.527 208.69C96.4866 208.69 93.3266 205.41 93.3266 201.19C93.3266 196.99 96.4866 193.73 100.527 193.73C104.307 193.73 107.267 196.25 107.767 199.93H104.547C104.207 197.87 102.607 196.45 100.567 196.45C98.1066 196.45 96.4466 198.39 96.4466 201.19C96.4466 204.01 98.1066 205.97 100.567 205.97C102.607 205.97 104.187 204.53 104.547 202.47H107.767C107.267 206.19 104.307 208.69 100.527 208.69Z" fill="#101828"/>
+<path d="M112.429 203.21V208.39H109.649V197.71H112.209V199.77C112.989 198.41 114.649 197.59 116.369 197.59V200.47C114.009 200.29 112.429 200.85 112.429 203.21Z" fill="#101828"/>
+<path d="M122.375 208.57C119.175 208.57 117.035 206.35 117.035 203.01C117.035 199.83 119.255 197.51 122.335 197.51C125.715 197.51 127.955 200.25 127.455 203.73H119.875C120.055 205.47 120.895 206.43 122.315 206.43C123.535 206.43 124.355 205.83 124.675 204.77H127.435C126.835 207.19 124.975 208.57 122.375 208.57ZM122.275 199.55C120.975 199.55 120.155 200.39 119.915 201.97H124.515C124.435 200.49 123.595 199.55 122.275 199.55Z" fill="#101828"/>
+<path d="M135.677 208.39V207.07C134.977 208.07 133.917 208.59 132.457 208.59C130.237 208.59 128.757 207.29 128.757 205.29C128.757 203.21 130.437 202.09 133.557 202.09C134.157 202.09 134.677 202.13 135.337 202.21V201.57C135.337 200.37 134.657 199.67 133.497 199.67C132.297 199.67 131.577 200.37 131.477 201.57H128.977C129.137 199.11 130.917 197.51 133.497 197.51C136.297 197.51 137.937 199.05 137.937 201.67V208.39H135.677ZM131.377 205.21C131.377 206.11 132.017 206.67 133.057 206.67C134.477 206.67 135.337 205.89 135.337 204.65V203.89C134.677 203.79 134.217 203.75 133.737 203.75C132.157 203.75 131.377 204.25 131.377 205.21Z" fill="#101828"/>
+<path d="M146.817 205.69V208.11C146.137 208.45 145.497 208.59 144.677 208.59C142.477 208.59 141.097 207.33 141.097 204.93V200.09H138.937V197.71H141.097V194.55H143.857V197.71H146.917V200.09H143.857V204.29C143.857 205.53 144.417 206.03 145.417 206.03C145.937 206.03 146.417 205.91 146.817 205.69Z" fill="#101828"/>
+<path d="M153.02 208.57C149.82 208.57 147.68 206.35 147.68 203.01C147.68 199.83 149.9 197.51 152.98 197.51C156.36 197.51 158.6 200.25 158.1 203.73H150.52C150.7 205.47 151.54 206.43 152.96 206.43C154.18 206.43 155 205.83 155.32 204.77H158.08C157.48 207.19 155.62 208.57 153.02 208.57ZM152.92 199.55C151.62 199.55 150.8 200.39 150.56 201.97H155.16C155.08 200.49 154.24 199.55 152.92 199.55Z" fill="#101828"/>
+<path d="M170.501 208.39V207.07C169.801 208.07 168.741 208.59 167.281 208.59C165.061 208.59 163.581 207.29 163.581 205.29C163.581 203.21 165.261 202.09 168.381 202.09C168.981 202.09 169.501 202.13 170.161 202.21V201.57C170.161 200.37 169.481 199.67 168.321 199.67C167.121 199.67 166.401 200.37 166.301 201.57H163.801C163.961 199.11 165.741 197.51 168.321 197.51C171.121 197.51 172.761 199.05 172.761 201.67V208.39H170.501ZM166.201 205.21C166.201 206.11 166.841 206.67 167.881 206.67C169.301 206.67 170.161 205.89 170.161 204.65V203.89C169.501 203.79 169.041 203.75 168.561 203.75C166.981 203.75 166.201 204.25 166.201 205.21Z" fill="#101828"/>
+<path d="M182.617 208.39H179.577V194.03H185.197C188.817 194.03 190.917 195.71 190.917 198.69C190.917 200.63 189.717 202.17 187.677 202.85L191.377 208.39H187.757L184.517 203.31H182.617V208.39ZM182.617 196.55V200.81H185.057C186.897 200.81 187.877 200.09 187.877 198.69C187.877 197.27 186.897 196.55 185.057 196.55H182.617Z" fill="#101828"/>
+<path d="M204.288 203.93C204.288 206.67 202.088 208.59 198.488 208.59C194.868 208.59 192.608 206.65 192.388 203.61H195.468C195.548 205.19 196.568 206.21 198.428 206.21C199.968 206.21 201.068 205.53 201.068 204.37C201.068 203.47 200.368 202.93 199.148 202.69L196.788 202.23C194.608 201.81 192.928 200.63 192.928 198.25C192.928 195.69 195.188 193.85 198.288 193.85C201.508 193.85 203.868 195.73 204.068 198.73H200.988C200.888 197.23 199.848 196.21 198.328 196.21C196.848 196.21 196.008 197.05 196.008 198.05C196.008 199.03 196.908 199.45 197.948 199.65L200.408 200.15C202.928 200.65 204.288 201.81 204.288 203.93Z" fill="#101828"/>
+<path d="M218.265 194.03L213.065 208.39H209.745L204.585 194.03H207.865L211.505 204.85L215.225 194.03H218.265Z" fill="#101828"/>
+<path d="M225.209 203.71H222.949V208.39H219.909V194.03H225.209C228.709 194.03 230.889 195.69 230.889 198.81C230.889 201.93 228.709 203.71 225.209 203.71ZM225.189 196.59H222.949V201.15H225.189C226.909 201.15 227.869 200.25 227.869 198.83C227.869 197.41 226.909 196.59 225.189 196.59Z" fill="#101828"/>
+<path d="M245.655 208.39L243.635 201.45L241.635 208.39H238.855L235.815 197.71H238.515L240.335 204.47L242.295 197.71H245.035L246.935 204.47L248.735 197.71H251.475L248.415 208.39H245.655Z" fill="#101828"/>
+<path d="M257.239 208.57C254.039 208.57 251.899 206.35 251.899 203.01C251.899 199.83 254.119 197.51 257.199 197.51C260.579 197.51 262.819 200.25 262.319 203.73H254.739C254.919 205.47 255.759 206.43 257.179 206.43C258.399 206.43 259.219 205.83 259.539 204.77H262.299C261.699 207.19 259.839 208.57 257.239 208.57ZM257.139 199.55C255.839 199.55 255.019 200.39 254.779 201.97H259.379C259.299 200.49 258.459 199.55 257.139 199.55Z" fill="#101828"/>
+<path d="M263.285 203.05C263.285 199.89 265.145 197.51 268.025 197.51C269.305 197.51 270.385 198.07 271.185 199.09V194.03H273.945V208.39H271.405V206.85C270.565 207.97 269.405 208.59 268.025 208.59C265.145 208.59 263.285 206.17 263.285 203.05ZM266.145 203.05C266.145 205.05 267.285 206.11 268.645 206.11C270.025 206.11 271.165 205.03 271.165 203.01C271.165 200.99 270.005 199.97 268.645 199.97C267.285 199.97 266.145 201.01 266.145 203.05Z" fill="#101828"/>
+<path d="M275.727 203.05C275.727 199.89 277.587 197.51 280.467 197.51C281.747 197.51 282.827 198.07 283.627 199.09V194.03H286.387V208.39H283.847V206.85C283.007 207.97 281.847 208.59 280.467 208.59C277.587 208.59 275.727 206.17 275.727 203.05ZM278.587 203.05C278.587 205.05 279.727 206.11 281.087 206.11C282.467 206.11 283.607 205.03 283.607 203.01C283.607 200.99 282.447 199.97 281.087 199.97C279.727 199.97 278.587 201.01 278.587 203.05Z" fill="#101828"/>
+<path d="M292.088 195.23C292.088 196.17 291.328 196.87 290.228 196.87C289.148 196.87 288.388 196.17 288.388 195.23C288.388 194.25 289.148 193.55 290.228 193.55C291.328 193.55 292.088 194.25 292.088 195.23ZM291.648 208.39H288.868V197.71H291.648V208.39Z" fill="#101828"/>
+<path d="M296.902 202.57V208.39H294.122V197.71H296.682V199.23C297.462 198.17 298.562 197.51 299.962 197.51C302.102 197.51 303.582 198.91 303.582 201.49V208.39H300.822V202.43C300.822 200.85 300.202 199.97 298.942 199.97C297.842 199.97 296.902 200.85 296.902 202.57Z" fill="#101828"/>
+<path d="M310.517 212.45C307.637 212.45 305.717 210.89 305.597 208.43H308.277C308.397 209.65 309.177 210.29 310.497 210.29C312.037 210.29 312.837 209.47 312.837 207.93V206.37C312.257 207.39 311.157 207.99 309.857 207.99C307.237 207.99 305.277 205.77 305.277 202.75C305.277 199.65 307.117 197.51 309.757 197.51C311.197 197.51 312.277 198.07 313.057 199.17V197.71H315.597V207.89C315.597 210.73 313.677 212.45 310.517 212.45ZM308.057 202.75C308.057 204.49 308.957 205.59 310.397 205.59C311.857 205.59 312.817 204.45 312.817 202.77C312.817 201.03 311.857 199.91 310.397 199.91C308.977 199.91 308.057 201.01 308.057 202.75Z" fill="#101828"/>
+<path d="M326.066 208.39H323.306V200.09H321.146V197.71H323.306V197.13C323.306 195.01 324.446 193.81 326.666 193.81C327.346 193.81 327.926 193.93 328.386 194.13V196.33C328.086 196.21 327.686 196.15 327.326 196.15C326.566 196.15 326.066 196.45 326.066 197.19V197.71H328.846V200.09H326.066V208.39Z" fill="#101828"/>
+<path d="M334.701 208.59C331.601 208.59 329.281 206.15 329.281 203.05C329.281 199.93 331.601 197.51 334.701 197.51C337.801 197.51 340.121 199.93 340.121 203.05C340.121 206.15 337.801 208.59 334.701 208.59ZM334.701 206.13C336.081 206.13 337.261 205.03 337.261 203.05C337.261 201.07 336.081 199.99 334.701 199.99C333.321 199.99 332.141 201.07 332.141 203.05C332.141 205.03 333.321 206.13 334.701 206.13Z" fill="#101828"/>
+<path d="M344.675 203.21V208.39H341.895V197.71H344.455V199.77C345.235 198.41 346.895 197.59 348.615 197.59V200.47C346.255 200.29 344.675 200.85 344.675 203.21Z" fill="#101828"/>
+<path d="M352.839 208.39H350.059V197.71H352.619V199.23C353.399 198.15 354.399 197.51 355.819 197.51C357.279 197.51 358.399 198.19 358.939 199.41C359.779 198.23 360.859 197.51 362.459 197.51C364.619 197.51 366.079 198.93 366.079 201.49V208.39H363.319V202.37C363.319 200.87 362.679 199.97 361.459 199.97C360.359 199.97 359.459 200.83 359.459 202.43V208.39H356.699V202.37C356.699 200.87 356.059 199.97 354.839 199.97C353.719 199.97 352.839 200.83 352.839 202.43V208.39Z" fill="#101828"/>
+<path d="M376.418 208.39H373.658V200.09H371.498V197.71H373.658V197.13C373.658 195.01 374.798 193.81 377.018 193.81C377.698 193.81 378.278 193.93 378.738 194.13V196.33C378.438 196.21 378.038 196.15 377.678 196.15C376.918 196.15 376.418 196.45 376.418 197.19V197.71H379.198V200.09H376.418V208.39Z" fill="#101828"/>
+<path d="M385.053 208.59C381.953 208.59 379.633 206.15 379.633 203.05C379.633 199.93 381.953 197.51 385.053 197.51C388.153 197.51 390.473 199.93 390.473 203.05C390.473 206.15 388.153 208.59 385.053 208.59ZM385.053 206.13C386.433 206.13 387.613 205.03 387.613 203.05C387.613 201.07 386.433 199.99 385.053 199.99C383.673 199.99 382.493 201.07 382.493 203.05C382.493 205.03 383.673 206.13 385.053 206.13Z" fill="#101828"/>
+<path d="M395.027 203.21V208.39H392.247V197.71H394.807V199.77C395.587 198.41 397.247 197.59 398.967 197.59V200.47C396.607 200.29 395.027 200.85 395.027 203.21Z" fill="#101828"/>
+<path d="M411.231 205.69V208.11C410.551 208.45 409.911 208.59 409.091 208.59C406.891 208.59 405.511 207.33 405.511 204.93V200.09H403.351V197.71H405.511V194.55H408.271V197.71H411.331V200.09H408.271V204.29C408.271 205.53 408.831 206.03 409.831 206.03C410.351 206.03 410.831 205.91 411.231 205.69Z" fill="#101828"/>
+<path d="M415.808 202.57V208.39H413.028V194.03H415.808V199.11C416.548 198.13 417.468 197.51 418.868 197.51C421.008 197.51 422.488 198.91 422.488 201.49V208.39H419.728V202.43C419.728 200.85 419.108 199.97 417.848 199.97C416.748 199.97 415.808 200.85 415.808 202.57Z" fill="#101828"/>
+<path d="M429.524 208.57C426.324 208.57 424.184 206.35 424.184 203.01C424.184 199.83 426.404 197.51 429.484 197.51C432.864 197.51 435.104 200.25 434.604 203.73H427.024C427.204 205.47 428.044 206.43 429.464 206.43C430.684 206.43 431.504 205.83 431.824 204.77H434.584C433.984 207.19 432.124 208.57 429.524 208.57ZM429.424 199.55C428.124 199.55 427.304 200.39 427.064 201.97H431.664C431.584 200.49 430.744 199.55 429.424 199.55Z" fill="#101828"/>
+<path d="M143.693 238.39L141.673 231.45L139.673 238.39H136.893L133.853 227.71H136.553L138.373 234.47L140.333 227.71H143.073L144.973 234.47L146.773 227.71H149.513L146.453 238.39H143.693Z" fill="#101828"/>
+<path d="M155.276 238.57C152.076 238.57 149.936 236.35 149.936 233.01C149.936 229.83 152.156 227.51 155.236 227.51C158.616 227.51 160.856 230.25 160.356 233.73H152.776C152.956 235.47 153.796 236.43 155.216 236.43C156.436 236.43 157.256 235.83 157.576 234.77H160.336C159.736 237.19 157.876 238.57 155.276 238.57ZM155.176 229.55C153.876 229.55 153.056 230.39 152.816 231.97H157.416C157.336 230.49 156.496 229.55 155.176 229.55Z" fill="#101828"/>
+<path d="M161.322 233.05C161.322 229.89 163.182 227.51 166.062 227.51C167.342 227.51 168.422 228.07 169.222 229.09V224.03H171.982V238.39H169.442V236.85C168.602 237.97 167.442 238.59 166.062 238.59C163.182 238.59 161.322 236.17 161.322 233.05ZM164.182 233.05C164.182 235.05 165.322 236.11 166.682 236.11C168.062 236.11 169.202 235.03 169.202 233.01C169.202 230.99 168.042 229.97 166.682 229.97C165.322 229.97 164.182 231.01 164.182 233.05Z" fill="#101828"/>
+<path d="M173.764 233.05C173.764 229.89 175.624 227.51 178.504 227.51C179.784 227.51 180.864 228.07 181.664 229.09V224.03H184.424V238.39H181.884V236.85C181.044 237.97 179.884 238.59 178.504 238.59C175.624 238.59 173.764 236.17 173.764 233.05ZM176.624 233.05C176.624 235.05 177.764 236.11 179.124 236.11C180.504 236.11 181.644 235.03 181.644 233.01C181.644 230.99 180.484 229.97 179.124 229.97C177.764 229.97 176.624 231.01 176.624 233.05Z" fill="#101828"/>
+<path d="M190.125 225.23C190.125 226.17 189.365 226.87 188.265 226.87C187.185 226.87 186.425 226.17 186.425 225.23C186.425 224.25 187.185 223.55 188.265 223.55C189.365 223.55 190.125 224.25 190.125 225.23ZM189.685 238.39H186.905V227.71H189.685V238.39Z" fill="#101828"/>
+<path d="M194.939 232.57V238.39H192.159V227.71H194.719V229.23C195.499 228.17 196.599 227.51 197.999 227.51C200.139 227.51 201.619 228.91 201.619 231.49V238.39H198.859V232.43C198.859 230.85 198.239 229.97 196.979 229.97C195.879 229.97 194.939 230.85 194.939 232.57Z" fill="#101828"/>
+<path d="M208.555 242.45C205.675 242.45 203.755 240.89 203.635 238.43H206.315C206.435 239.65 207.215 240.29 208.535 240.29C210.075 240.29 210.875 239.47 210.875 237.93V236.37C210.295 237.39 209.195 237.99 207.895 237.99C205.275 237.99 203.315 235.77 203.315 232.75C203.315 229.65 205.155 227.51 207.795 227.51C209.235 227.51 210.315 228.07 211.095 229.17V227.71H213.635V237.89C213.635 240.73 211.715 242.45 208.555 242.45ZM206.095 232.75C206.095 234.49 206.995 235.59 208.435 235.59C209.895 235.59 210.855 234.45 210.855 232.77C210.855 231.03 209.895 229.91 208.435 229.91C207.015 229.91 206.095 231.01 206.095 232.75Z" fill="#101828"/>
+<path d="M225.043 238.59C221.943 238.59 219.623 236.15 219.623 233.05C219.623 229.93 221.943 227.51 225.043 227.51C228.143 227.51 230.463 229.93 230.463 233.05C230.463 236.15 228.143 238.59 225.043 238.59ZM225.043 236.13C226.423 236.13 227.603 235.03 227.603 233.05C227.603 231.07 226.423 229.99 225.043 229.99C223.663 229.99 222.483 231.07 222.483 233.05C222.483 235.03 223.663 236.13 225.043 236.13Z" fill="#101828"/>
+<path d="M235.724 238.39H232.964V230.09H230.804V227.71H232.964V227.13C232.964 225.01 234.104 223.81 236.324 223.81C237.004 223.81 237.584 223.93 238.044 224.13V226.33C237.744 226.21 237.344 226.15 236.984 226.15C236.224 226.15 235.724 226.45 235.724 227.19V227.71H238.504V230.09H235.724V238.39Z" fill="#101828"/>
+<path d="M249.652 233.71H247.392V238.39H244.352V224.03H249.652C253.152 224.03 255.332 225.69 255.332 228.81C255.332 231.93 253.152 233.71 249.652 233.71ZM249.632 226.59H247.392V231.15H249.632C251.352 231.15 252.312 230.25 252.312 228.83C252.312 227.41 251.352 226.59 249.632 226.59Z" fill="#101828"/>
+<path d="M263.324 238.39V237.07C262.624 238.07 261.564 238.59 260.104 238.59C257.884 238.59 256.404 237.29 256.404 235.29C256.404 233.21 258.084 232.09 261.204 232.09C261.804 232.09 262.324 232.13 262.984 232.21V231.57C262.984 230.37 262.304 229.67 261.144 229.67C259.944 229.67 259.224 230.37 259.124 231.57H256.624C256.784 229.11 258.564 227.51 261.144 227.51C263.944 227.51 265.584 229.05 265.584 231.67V238.39H263.324ZM259.024 235.21C259.024 236.11 259.664 236.67 260.704 236.67C262.124 236.67 262.984 235.89 262.984 234.65V233.89C262.324 233.79 261.864 233.75 261.384 233.75C259.804 233.75 259.024 234.25 259.024 235.21Z" fill="#101828"/>
+<path d="M274.479 233.89V227.71H277.239V238.39H274.699V236.99C274.119 237.93 272.939 238.59 271.579 238.59C269.439 238.59 267.879 237.29 267.879 234.51V227.71H270.659V233.97C270.659 235.47 271.399 236.13 272.519 236.13C273.519 236.13 274.479 235.33 274.479 233.89Z" fill="#101828"/>
+<path d="M282.537 238.39H279.737V224.03H282.537V238.39Z" fill="#101828"/>
+<path d="M295.57 238.39V237.07C294.87 238.07 293.81 238.59 292.35 238.59C290.13 238.59 288.65 237.29 288.65 235.29C288.65 233.21 290.33 232.09 293.45 232.09C294.05 232.09 294.57 232.13 295.23 232.21V231.57C295.23 230.37 294.55 229.67 293.39 229.67C292.19 229.67 291.47 230.37 291.37 231.57H288.87C289.03 229.11 290.81 227.51 293.39 227.51C296.19 227.51 297.83 229.05 297.83 231.67V238.39H295.57ZM291.27 235.21C291.27 236.11 291.91 236.67 292.95 236.67C294.37 236.67 295.23 235.89 295.23 234.65V233.89C294.57 233.79 294.11 233.75 293.63 233.75C292.05 233.75 291.27 234.25 291.27 235.21Z" fill="#101828"/>
+<path d="M303.005 232.57V238.39H300.225V227.71H302.785V229.23C303.565 228.17 304.665 227.51 306.065 227.51C308.205 227.51 309.685 228.91 309.685 231.49V238.39H306.925V232.43C306.925 230.85 306.305 229.97 305.045 229.97C303.945 229.97 303.005 230.85 303.005 232.57Z" fill="#101828"/>
+<path d="M311.381 233.05C311.381 229.89 313.241 227.51 316.121 227.51C317.401 227.51 318.481 228.07 319.281 229.09V224.03H322.041V238.39H319.501V236.85C318.661 237.97 317.501 238.59 316.121 238.59C313.241 238.59 311.381 236.17 311.381 233.05ZM314.241 233.05C314.241 235.05 315.381 236.11 316.741 236.11C318.121 236.11 319.261 235.03 319.261 233.01C319.261 230.99 318.101 229.97 316.741 229.97C315.381 229.97 314.241 231.01 314.241 233.05Z" fill="#101828"/>
+<path d="M335.462 238.39L331.702 228.85V238.39H328.942V224.03H332.582L336.742 234.67L340.922 224.03H344.562V238.39H341.802V228.77L338.002 238.39H335.462Z" fill="#101828"/>
+<path d="M353.617 238.39V237.07C352.917 238.07 351.857 238.59 350.397 238.59C348.177 238.59 346.697 237.29 346.697 235.29C346.697 233.21 348.377 232.09 351.497 232.09C352.097 232.09 352.617 232.13 353.277 232.21V231.57C353.277 230.37 352.597 229.67 351.437 229.67C350.237 229.67 349.517 230.37 349.417 231.57H346.917C347.077 229.11 348.857 227.51 351.437 227.51C354.237 227.51 355.877 229.05 355.877 231.67V238.39H353.617ZM349.317 235.21C349.317 236.11 349.957 236.67 350.997 236.67C352.417 236.67 353.277 235.89 353.277 234.65V233.89C352.617 233.79 352.157 233.75 351.677 233.75C350.097 233.75 349.317 234.25 349.317 235.21Z" fill="#101828"/>
+<path d="M361.052 233.21V238.39H358.272V227.71H360.832V229.77C361.612 228.41 363.272 227.59 364.992 227.59V230.47C362.632 230.29 361.052 230.85 361.052 233.21Z" fill="#101828"/>
+<path d="M369.656 225.23C369.656 226.17 368.896 226.87 367.796 226.87C366.716 226.87 365.956 226.17 365.956 225.23C365.956 224.25 366.716 223.55 367.796 223.55C368.896 223.55 369.656 224.25 369.656 225.23ZM369.216 238.39H366.436V227.71H369.216V238.39Z" fill="#101828"/>
+<path d="M376.41 238.59C373.31 238.59 370.99 236.15 370.99 233.05C370.99 229.93 373.31 227.51 376.41 227.51C379.51 227.51 381.83 229.93 381.83 233.05C381.83 236.15 379.51 238.59 376.41 238.59ZM376.41 236.13C377.79 236.13 378.97 235.03 378.97 233.05C378.97 231.07 377.79 229.99 376.41 229.99C375.03 229.99 373.85 231.07 373.85 233.05C373.85 235.03 375.03 236.13 376.41 236.13Z" fill="#101828"/>
+<path d="M386.384 232.57V238.39H383.604V227.71H386.164V229.23C386.944 228.17 388.044 227.51 389.444 227.51C391.584 227.51 393.064 228.91 393.064 231.49V238.39H390.304V232.43C390.304 230.85 389.684 229.97 388.424 229.97C387.324 229.97 386.384 230.85 386.384 232.57Z" fill="#101828"/>
+<rect x="77.8266" y="178.05" width="372.347" height="79.9" rx="9.5" stroke="#D0D5DD"/>
+</g>
+<g filter="url(#filter2_d_822_9653)">
+<rect x="167.766" y="278.45" width="192.468" height="44" rx="10" fill="#155EEF"/>
+<g clip-path="url(#clip1_822_9653)">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M200.549 289.804C200.569 289.514 200.441 289.234 200.209 289.059C199.977 288.885 199.673 288.84 199.4 288.94C194.95 290.566 190.466 294.855 187.712 299.41C186.677 301.122 188.033 303.066 189.863 303.066H192.481C191.927 305.708 191.693 308.31 191.575 311.12C191.562 311.448 191.737 311.755 192.026 311.91C192.315 312.066 192.668 312.042 192.934 311.85C199.184 307.328 203.555 302.406 205.453 299.248C206.276 297.879 205.458 296.23 203.931 295.965C202.759 295.761 201.437 295.639 200.152 295.569L200.549 289.804Z" fill="white"/>
+</g>
+<path d="M224.686 306.434C221.358 306.434 218.766 303.954 218.766 300.402C218.766 297.01 221.23 294.466 224.59 294.466C227.502 294.466 229.582 296.194 230.334 298.69H227.47C227.118 297.522 226.062 296.642 224.526 296.642C222.67 296.642 221.262 298.002 221.262 300.466C221.262 302.674 222.494 304.37 224.798 304.37C226.494 304.37 227.566 303.362 227.886 301.938H224.558V300.002H230.478C230.622 303.746 228.35 306.434 224.686 306.434Z" fill="white"/>
+<path d="M235.692 306.338C233.132 306.338 231.42 304.562 231.42 301.89C231.42 299.346 233.196 297.49 235.66 297.49C238.364 297.49 240.156 299.682 239.756 302.466H233.692C233.836 303.858 234.508 304.626 235.644 304.626C236.62 304.626 237.276 304.146 237.532 303.298H239.74C239.26 305.234 237.772 306.338 235.692 306.338ZM235.612 299.122C234.572 299.122 233.916 299.794 233.724 301.058H237.404C237.34 299.874 236.668 299.122 235.612 299.122Z" fill="white"/>
+<path d="M243.47 301.538V306.194H241.246V297.65H243.294V298.866C243.918 298.018 244.798 297.49 245.918 297.49C247.63 297.49 248.814 298.61 248.814 300.674V306.194H246.606V301.426C246.606 300.162 246.11 299.458 245.102 299.458C244.222 299.458 243.47 300.162 243.47 301.538Z" fill="white"/>
+<path d="M254.442 306.338C251.882 306.338 250.17 304.562 250.17 301.89C250.17 299.346 251.946 297.49 254.41 297.49C257.114 297.49 258.906 299.682 258.506 302.466H252.442C252.586 303.858 253.258 304.626 254.394 304.626C255.37 304.626 256.026 304.146 256.282 303.298H258.49C258.01 305.234 256.522 306.338 254.442 306.338ZM254.362 299.122C253.322 299.122 252.666 299.794 252.474 301.058H256.154C256.09 299.874 255.418 299.122 254.362 299.122Z" fill="white"/>
+<path d="M262.22 302.05V306.194H259.996V297.65H262.044V299.298C262.668 298.21 263.996 297.554 265.372 297.554V299.858C263.484 299.714 262.22 300.162 262.22 302.05Z" fill="white"/>
+<path d="M271.615 306.194V305.138C271.055 305.938 270.207 306.354 269.039 306.354C267.263 306.354 266.079 305.314 266.079 303.714C266.079 302.05 267.423 301.154 269.919 301.154C270.399 301.154 270.815 301.186 271.343 301.25V300.738C271.343 299.778 270.799 299.218 269.871 299.218C268.911 299.218 268.335 299.778 268.255 300.738H266.255C266.383 298.77 267.807 297.49 269.871 297.49C272.111 297.49 273.423 298.722 273.423 300.818V306.194H271.615ZM268.175 303.65C268.175 304.37 268.687 304.818 269.519 304.818C270.655 304.818 271.343 304.194 271.343 303.202V302.594C270.815 302.514 270.447 302.482 270.063 302.482C268.799 302.482 268.175 302.882 268.175 303.65Z" fill="white"/>
+<path d="M280.527 304.034V305.97C279.983 306.242 279.471 306.354 278.815 306.354C277.055 306.354 275.951 305.346 275.951 303.426V299.554H274.223V297.65H275.951V295.122H278.159V297.65H280.607V299.554H278.159V302.914C278.159 303.906 278.607 304.306 279.407 304.306C279.823 304.306 280.207 304.21 280.527 304.034Z" fill="white"/>
+<path d="M285.489 306.338C282.929 306.338 281.217 304.562 281.217 301.89C281.217 299.346 282.993 297.49 285.457 297.49C288.161 297.49 289.953 299.682 289.553 302.466H283.489C283.633 303.858 284.305 304.626 285.441 304.626C286.417 304.626 287.073 304.146 287.329 303.298H289.537C289.057 305.234 287.569 306.338 285.489 306.338ZM285.409 299.122C284.369 299.122 283.713 299.794 283.521 301.058H287.201C287.137 299.874 286.465 299.122 285.409 299.122Z" fill="white"/>
+<path d="M299.475 306.194V305.138C298.915 305.938 298.067 306.354 296.899 306.354C295.123 306.354 293.939 305.314 293.939 303.714C293.939 302.05 295.283 301.154 297.779 301.154C298.259 301.154 298.675 301.186 299.203 301.25V300.738C299.203 299.778 298.659 299.218 297.731 299.218C296.771 299.218 296.195 299.778 296.115 300.738H294.115C294.243 298.77 295.667 297.49 297.731 297.49C299.971 297.49 301.283 298.722 301.283 300.818V306.194H299.475ZM296.035 303.65C296.035 304.37 296.547 304.818 297.379 304.818C298.515 304.818 299.203 304.194 299.203 303.202V302.594C298.675 302.514 298.307 302.482 297.923 302.482C296.659 302.482 296.035 302.882 296.035 303.65Z" fill="white"/>
+<path d="M309.167 306.194H306.735V294.706H314.159V296.818H309.167V299.714H313.375V301.81H309.167V306.194Z" fill="white"/>
+<path d="M319.131 306.354C316.651 306.354 314.795 304.402 314.795 301.922C314.795 299.426 316.651 297.49 319.131 297.49C321.611 297.49 323.467 299.426 323.467 301.922C323.467 304.402 321.611 306.354 319.131 306.354ZM319.131 304.386C320.235 304.386 321.179 303.506 321.179 301.922C321.179 300.338 320.235 299.474 319.131 299.474C318.027 299.474 317.083 300.338 317.083 301.922C317.083 303.506 318.027 304.386 319.131 304.386Z" fill="white"/>
+<path d="M327.111 302.05V306.194H324.887V297.65H326.935V299.298C327.559 298.21 328.887 297.554 330.263 297.554V299.858C328.375 299.714 327.111 300.162 327.111 302.05Z" fill="white"/>
+<path d="M333.642 306.194H331.418V297.65H333.466V298.866C334.09 298.002 334.89 297.49 336.026 297.49C337.194 297.49 338.09 298.034 338.522 299.01C339.194 298.066 340.058 297.49 341.338 297.49C343.066 297.49 344.234 298.626 344.234 300.674V306.194H342.026V301.378C342.026 300.178 341.514 299.458 340.538 299.458C339.658 299.458 338.938 300.146 338.938 301.426V306.194H336.73V301.378C336.73 300.178 336.218 299.458 335.242 299.458C334.346 299.458 333.642 300.146 333.642 301.426V306.194Z" fill="white"/>
+</g>
+<g clip-path="url(#clip2_822_9653)">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M237 346.598C237.473 346.598 237.857 346.982 237.857 347.456V350.313C237.857 350.786 237.473 351.17 237 351.17C236.527 351.17 236.143 350.786 236.143 350.313V347.456C236.143 346.982 236.527 346.598 237 346.598ZM230.654 349.733C230.975 349.384 231.517 349.361 231.865 349.681L233.968 351.613C234.317 351.933 234.34 352.475 234.02 352.824C233.7 353.173 233.157 353.196 232.809 352.875L230.706 350.944C230.357 350.624 230.334 350.082 230.654 349.733ZM233.207 356.373C233.651 356.208 233.877 355.715 233.712 355.271C233.547 354.827 233.053 354.601 232.61 354.766L229.844 355.795C229.4 355.96 229.174 356.453 229.339 356.897C229.504 357.341 229.998 357.567 230.442 357.402L233.207 356.373ZM235.666 358.116C236.09 358.326 236.264 358.84 236.054 359.265L234.785 361.825C234.575 362.249 234.061 362.422 233.636 362.212C233.212 362.002 233.039 361.488 233.249 361.064L234.518 358.504C234.728 358.079 235.242 357.906 235.666 358.116ZM243.294 350.944C243.643 350.624 243.666 350.082 243.345 349.733C243.025 349.384 242.483 349.361 242.134 349.681L240.031 351.613C239.683 351.933 239.66 352.475 239.98 352.824C240.3 353.173 240.842 353.196 241.191 352.875L243.294 350.944ZM240.288 355.271C240.453 354.827 240.947 354.601 241.39 354.766L244.156 355.795C244.6 355.96 244.826 356.453 244.661 356.897C244.496 357.341 244.002 357.567 243.558 357.402L240.793 356.373C240.349 356.208 240.123 355.715 240.288 355.271ZM239.482 358.504C239.272 358.079 238.758 357.906 238.334 358.116C237.909 358.326 237.736 358.84 237.946 359.265L239.215 361.825C239.425 362.249 239.939 362.422 240.363 362.212C240.788 362.002 240.961 361.488 240.751 361.064L239.482 358.504Z" fill="#D0D5DD"/>
+</g>
+<rect x="251" y="351.45" width="48" height="6" rx="3" fill="#EAECF0"/>
+<g clip-path="url(#clip3_822_9653)">
+<path d="M454 312.933C452.704 313.196 451.396 313.392 450.08 313.52C449.89 313.568 449.688 313.543 449.516 313.448C449.345 313.354 449.215 313.198 449.154 313.011C449.093 312.825 449.105 312.622 449.188 312.444C449.271 312.266 449.418 312.127 449.6 312.053C450.64 311.493 451.573 310.88 452.613 310.373C453.064 310.168 453.527 309.99 454 309.84L455.44 309.493C456.594 309.29 457.762 309.165 458.933 309.12C459.047 309.088 459.166 309.081 459.284 309.098C459.401 309.115 459.513 309.156 459.613 309.219C459.713 309.282 459.8 309.364 459.866 309.462C459.933 309.56 459.978 309.67 460 309.787C460.048 310.013 460.004 310.249 459.88 310.443C459.755 310.638 459.559 310.776 459.333 310.827C458.24 311.227 457.253 311.76 456.186 312.187C455.12 312.613 454.666 312.667 454 312.933Z" fill="#528BFF"/>
+<path d="M447.733 293.067C447.333 293.627 446.96 294.214 446.533 294.774C446.106 295.334 444.88 296.56 444.08 297.44C444.034 297.537 443.969 297.623 443.888 297.693C443.807 297.763 443.713 297.816 443.61 297.847C443.508 297.879 443.401 297.889 443.294 297.877C443.188 297.865 443.086 297.831 442.993 297.778C442.9 297.724 442.82 297.652 442.757 297.566C442.694 297.479 442.649 297.381 442.626 297.276C442.603 297.172 442.602 297.064 442.622 296.959C442.643 296.854 442.685 296.755 442.746 296.667C443.088 295.607 443.507 294.573 444 293.574C444.236 293.151 444.494 292.742 444.773 292.347C445.049 291.995 445.343 291.656 445.653 291.334C446.461 290.535 447.356 289.828 448.32 289.227C448.501 289.084 448.731 289.018 448.96 289.043C449.19 289.067 449.4 289.182 449.546 289.36C449.629 289.44 449.694 289.535 449.739 289.64C449.783 289.746 449.806 289.859 449.806 289.974C449.806 290.088 449.783 290.201 449.739 290.307C449.694 290.412 449.629 290.507 449.546 290.587C448.892 291.376 448.287 292.204 447.733 293.067Z" fill="#528BFF"/>
+<path d="M430.293 291.893C430.056 292.81 429.735 293.703 429.333 294.56C429.314 294.66 429.275 294.755 429.219 294.84C429.163 294.925 429.091 294.998 429.007 295.055C428.923 295.112 428.828 295.152 428.729 295.172C428.629 295.192 428.526 295.193 428.426 295.173C428.23 295.135 428.057 295.021 427.942 294.857C427.828 294.693 427.782 294.491 427.813 294.293C427.813 293.387 427.546 292.56 427.52 291.627C427.483 290.883 427.555 290.137 427.733 289.413C427.946 288.507 428.213 287.68 428.48 286.747C428.513 286.517 428.635 286.31 428.82 286.171C429.004 286.031 429.237 285.97 429.466 286C429.579 286.013 429.688 286.049 429.786 286.104C429.885 286.16 429.971 286.234 430.041 286.324C430.11 286.413 430.161 286.515 430.191 286.625C430.22 286.734 430.228 286.848 430.213 286.96C430.213 287.867 430.426 288.693 430.48 289.627C430.506 290.008 430.506 290.392 430.48 290.773C430.459 291.152 430.396 291.528 430.293 291.893Z" fill="#528BFF"/>
+<path d="M415.466 304.667C414.213 304.48 412.986 304.4 411.76 304.133C411.242 304.044 410.734 303.91 410.24 303.733L408.773 303.2C407.626 302.747 406.533 302.213 405.386 301.76C405.276 301.734 405.172 301.686 405.08 301.62C404.988 301.553 404.91 301.469 404.851 301.373C404.791 301.276 404.752 301.169 404.734 301.057C404.716 300.945 404.72 300.83 404.746 300.72C404.773 300.61 404.82 300.506 404.887 300.414C404.953 300.322 405.037 300.244 405.134 300.185C405.23 300.125 405.338 300.085 405.45 300.067C405.562 300.05 405.676 300.054 405.786 300.08C407.047 300.173 408.302 300.333 409.546 300.56C410.053 300.56 410.586 300.773 411.093 300.933C411.6 301.083 412.099 301.261 412.586 301.467C413.76 301.973 414.8 302.613 415.92 303.2C416.092 303.277 416.23 303.415 416.308 303.587C416.385 303.759 416.397 303.954 416.342 304.134C416.286 304.314 416.166 304.468 416.005 304.566C415.844 304.664 415.652 304.7 415.466 304.667Z" fill="#528BFF"/>
+<path d="M396.48 318.507C398.109 317.506 399.923 316.844 401.813 316.56C402.898 316.391 403.996 316.328 405.093 316.373C406.826 316.373 408.453 316.773 409.866 316.933C409.968 316.93 410.069 316.946 410.164 316.982C410.26 317.017 410.347 317.071 410.421 317.141C410.495 317.21 410.555 317.293 410.597 317.386C410.64 317.478 410.663 317.578 410.666 317.68C410.667 317.883 410.59 318.079 410.451 318.227C410.313 318.376 410.123 318.466 409.92 318.48C408.373 318.72 406.586 319.04 404.586 319.253L401.92 319.413C401.066 319.413 400.24 319.413 399.413 319.547C398.605 319.625 397.809 319.795 397.04 320.053C396.938 320.104 396.828 320.134 396.714 320.142C396.601 320.15 396.487 320.136 396.38 320.1C396.272 320.064 396.172 320.007 396.087 319.933C396.001 319.859 395.93 319.768 395.88 319.667C395.829 319.565 395.799 319.454 395.791 319.341C395.783 319.228 395.797 319.114 395.833 319.006C395.869 318.899 395.925 318.799 396 318.713C396.074 318.628 396.165 318.557 396.266 318.507H396.48Z" fill="#528BFF"/>
+<path d="M412.56 332.613C412.799 332.105 413.076 331.615 413.387 331.147C413.697 330.684 414.054 330.255 414.454 329.867C415.416 328.991 416.503 328.263 417.68 327.707C417.76 327.635 417.853 327.581 417.955 327.547C418.056 327.514 418.164 327.501 418.27 327.511C418.376 327.521 418.48 327.553 418.573 327.605C418.667 327.657 418.748 327.728 418.813 327.813C418.878 327.898 418.924 327.996 418.949 328.1C418.975 328.204 418.978 328.312 418.959 328.417C418.94 328.522 418.9 328.623 418.84 328.711C418.781 328.8 418.704 328.876 418.614 328.933C418.164 329.413 417.746 329.921 417.36 330.453C417.04 330.907 416.827 331.333 416.534 331.76C416.24 332.187 415.974 332.587 415.68 332.987C414.8 334.213 413.867 335.387 413.014 336.88C412.903 337.062 412.731 337.198 412.528 337.262C412.325 337.327 412.106 337.316 411.911 337.231C411.716 337.147 411.558 336.994 411.466 336.802C411.375 336.61 411.356 336.392 411.414 336.187C411.716 334.971 412.099 333.778 412.56 332.613Z" fill="#528BFF"/>
+<path d="M413.946 317.36C413.945 317.188 413.986 317.018 414.065 316.864C414.144 316.711 414.259 316.579 414.4 316.48L422.106 310.827C422.106 310 421.733 308.347 421.573 306.747C421.442 305.685 421.38 304.616 421.386 303.547C421.415 302.747 421.522 301.952 421.706 301.173C421.764 300.965 421.868 300.772 422.011 300.611C422.155 300.449 422.333 300.322 422.533 300.24C422.857 300.163 423.195 300.163 423.52 300.24C424.192 300.501 424.836 300.832 425.44 301.227L432.213 305.253L440.026 301.653C440.183 301.574 440.357 301.532 440.533 301.532C440.709 301.532 440.883 301.574 441.04 301.653C441.347 301.9 441.578 302.229 441.705 302.602C441.833 302.975 441.852 303.377 441.76 303.76C441.236 306.479 440.505 309.153 439.573 311.76L440.853 312.987C442.214 314.068 443.506 315.235 444.72 316.48C445.318 317.134 445.788 317.893 446.106 318.72C446.293 319.209 446.295 319.748 446.114 320.239C445.932 320.729 445.579 321.137 445.12 321.387C444.089 321.98 442.943 322.344 441.76 322.453H439.893C441.68 324.107 443.466 325.787 445.226 327.52C446.266 328.613 447.28 329.733 448.266 330.853C449.253 331.973 450.213 333.173 451.12 334.373C453.26 337.179 455.245 340.099 457.066 343.12C457.132 343.212 457.179 343.317 457.204 343.428C457.229 343.538 457.232 343.653 457.212 343.765C457.192 343.877 457.15 343.983 457.088 344.079C457.027 344.174 456.947 344.256 456.853 344.32C456.759 344.387 456.652 344.434 456.539 344.459C456.426 344.485 456.309 344.487 456.196 344.468C456.082 344.448 455.973 344.406 455.875 344.344C455.777 344.282 455.693 344.201 455.626 344.107C454.453 342.507 453.2 340.987 451.92 339.467C450.64 337.947 449.333 336.667 447.946 335.04C446.56 333.413 445.28 332.08 444.053 330.587C441.733 327.92 439.52 325.067 437.253 322.32C436.266 322.32 435.36 322.32 434.586 322.107L433.893 323.653C435.786 326.32 437.813 328.987 439.76 331.653C441.333 333.547 442.746 335.573 444 337.653C446.244 341.182 448.206 344.882 449.866 348.72C449.938 348.835 449.98 348.966 449.991 349.101C450.002 349.236 449.98 349.372 449.928 349.497C449.876 349.622 449.795 349.733 449.691 349.82C449.588 349.908 449.465 349.969 449.333 350C449.124 350.102 448.884 350.117 448.664 350.042C448.444 349.967 448.263 349.808 448.16 349.6C446.057 345.907 443.733 342.345 441.2 338.933C440.213 337.52 439.226 336.107 438.293 334.693L436.426 331.76C435.226 329.787 434.08 327.76 432.96 325.733C432.48 326.747 431.946 327.733 431.466 328.56C430.763 329.544 429.853 330.363 428.8 330.96C428.368 331.201 427.867 331.285 427.38 331.198C426.894 331.11 426.453 330.856 426.133 330.48C425.562 329.786 425.127 328.99 424.853 328.133C424.391 326.467 424.026 324.775 423.76 323.067L423.36 321.333C420.642 320.817 417.968 320.095 415.36 319.173C414.293 318.507 413.92 317.733 413.946 317.36ZM424.746 318.773C424.995 318.813 425.226 318.926 425.411 319.097C425.596 319.267 425.727 319.489 425.786 319.733L426.48 322.24C426.773 323.467 426.986 324.907 427.413 326.4C427.576 326.998 427.818 327.572 428.133 328.107C428.491 327.729 428.812 327.318 429.093 326.88C429.546 326.107 430.053 325.147 430.506 324.213C431.546 322.107 432.426 320 432.426 320C432.546 319.704 432.76 319.455 433.034 319.292C433.309 319.128 433.629 319.058 433.946 319.093C433.946 319.093 436.24 319.36 438.64 319.52C440.117 319.472 441.587 319.312 443.04 319.04C442.788 318.66 442.493 318.311 442.16 318C441.146 316.933 439.92 315.973 439.04 315.093L437.173 313.227C436.998 313.052 436.878 312.831 436.826 312.59C436.773 312.349 436.792 312.098 436.88 311.867C436.88 311.867 438.666 307.173 439.253 304.48L432.56 307.333C432.414 307.418 432.248 307.462 432.08 307.462C431.911 307.462 431.746 307.418 431.6 307.333C431.6 307.333 423.253 302.453 422.96 302C422.96 302.56 423.12 305.333 423.28 306.48C423.6 308.693 424.026 311.013 424.026 311.013C424.061 311.182 424.046 311.356 423.985 311.517C423.923 311.678 423.818 311.817 423.68 311.92L417.146 317.093C419.786 318 424.746 318.773 424.746 318.773Z" fill="#98A2B3"/>
+</g>
+</g>
+<circle cx="48" cy="48" r="4" fill="#D0D5DD"/>
+<circle cx="61" cy="48" r="4" fill="#D0D5DD"/>
+<circle cx="74" cy="48" r="4" fill="#D0D5DD"/>
+<rect x="452" y="42" width="12" height="12" rx="4" fill="#EAECF0"/>
+<rect x="472" y="42" width="12" height="12" rx="4" fill="#EAECF0"/>
+</g>
+<defs>
+<filter id="filter0_d_822_9653" x="-20" y="12" width="568" height="468" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="12" operator="erode" in="SourceAlpha" result="effect1_dropShadow_822_9653"/>
+<feOffset dy="32"/>
+<feGaussianBlur stdDeviation="32"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0625882 0 0 0 0 0.0926346 0 0 0 0 0.15702 0 0 0 0.14 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_822_9653"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_822_9653" result="shape"/>
+</filter>
+<filter id="filter1_dd_822_9653" x="65.3266" y="177.55" width="397.347" height="104.9" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_822_9653"/>
+<feOffset dy="4"/>
+<feGaussianBlur stdDeviation="3"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.03 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_822_9653"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_822_9653"/>
+<feOffset dy="12"/>
+<feGaussianBlur stdDeviation="8"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.08 0"/>
+<feBlend mode="normal" in2="effect1_dropShadow_822_9653" result="effect2_dropShadow_822_9653"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_822_9653" result="shape"/>
+</filter>
+<filter id="filter2_d_822_9653" x="131.766" y="266.45" width="264.468" height="116" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="12" operator="erode" in="SourceAlpha" result="effect1_dropShadow_822_9653"/>
+<feOffset dy="24"/>
+<feGaussianBlur stdDeviation="24"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0625882 0 0 0 0 0.0926346 0 0 0 0 0.15702 0 0 0 0.18 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_822_9653"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_822_9653" result="shape"/>
+</filter>
+<radialGradient id="paint0_radial_822_9653" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(264 -0.000119271) rotate(90) scale(488.521 505.624)">
+<stop stop-color="white"/>
+<stop offset="0.991144" stop-color="white" stop-opacity="0"/>
+</radialGradient>
+<clipPath id="clip0_822_9653">
+<rect width="528" height="396" fill="white"/>
+</clipPath>
+<clipPath id="clip1_822_9653">
+<rect width="24" height="24" fill="white" transform="translate(183.766 288.45)"/>
+</clipPath>
+<clipPath id="clip2_822_9653">
+<rect width="16" height="16" fill="white" transform="translate(229 346.45)"/>
+</clipPath>
+<clipPath id="clip3_822_9653">
+<rect width="64" height="64" fill="white" transform="matrix(-1 0 0 1 460 286)"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/client/public/img/pages/ai_form_builder/step-2.svg b/client/public/img/pages/ai_form_builder/step-2.svg
new file mode 100644
index 000000000..70a9f4574
--- /dev/null
+++ b/client/public/img/pages/ai_form_builder/step-2.svg
@@ -0,0 +1,265 @@
+<svg width="528" height="396" viewBox="0 0 528 396" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_822_9784)">
+<rect width="528" height="396" fill="#D1E0FF"/>
+<g opacity="0.7">
+<mask id="mask0_822_9784" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-264" y="0" width="1056" height="601">
+<rect x="-264" y="-6.10352e-05" width="1056" height="601" fill="url(#paint0_radial_822_9784)"/>
+</mask>
+<g mask="url(#mask0_822_9784)">
+<mask id="path-2-inside-1_822_9784" fill="white">
+<path d="M-29.3334 -6.10352e-05H88V117.333H-29.3334V-6.10352e-05Z"/>
+</mask>
+<path d="M-29.3334 -6.10352e-05H88V117.333H-29.3334V-6.10352e-05Z" fill="white"/>
+<path d="M88 117.333V118.067H88.7333V117.333H88ZM87.2666 -6.10352e-05V117.333H88.7333V-6.10352e-05H87.2666ZM88 116.6H-29.3334V118.067H88V116.6Z" fill="#B2CCFF" mask="url(#path-2-inside-1_822_9784)"/>
+<mask id="path-4-inside-2_822_9784" fill="white">
+<path d="M88 -6.10352e-05H205.333V117.333H88V-6.10352e-05Z"/>
+</mask>
+<path d="M88 -6.10352e-05H205.333V117.333H88V-6.10352e-05Z" fill="white"/>
+<path d="M205.333 117.333V118.067H206.067V117.333H205.333ZM204.6 -6.10352e-05V117.333H206.067V-6.10352e-05H204.6ZM205.333 116.6H88V118.067H205.333V116.6Z" fill="#B2CCFF" mask="url(#path-4-inside-2_822_9784)"/>
+<mask id="path-6-inside-3_822_9784" fill="white">
+<path d="M205.333 -6.10352e-05H322.667V117.333H205.333V-6.10352e-05Z"/>
+</mask>
+<path d="M205.333 -6.10352e-05H322.667V117.333H205.333V-6.10352e-05Z" fill="white"/>
+<path d="M322.667 117.333V118.067H323.4V117.333H322.667ZM321.933 -6.10352e-05V117.333H323.4V-6.10352e-05H321.933ZM322.667 116.6H205.333V118.067H322.667V116.6Z" fill="#B2CCFF" mask="url(#path-6-inside-3_822_9784)"/>
+<mask id="path-8-inside-4_822_9784" fill="white">
+<path d="M322.667 -6.10352e-05H440V117.333H322.667V-6.10352e-05Z"/>
+</mask>
+<path d="M322.667 -6.10352e-05H440V117.333H322.667V-6.10352e-05Z" fill="#EFF4FF"/>
+<path d="M440 117.333V118.067H440.733V117.333H440ZM439.267 -6.10352e-05V117.333H440.733V-6.10352e-05H439.267ZM440 116.6H322.667V118.067H440V116.6Z" fill="#B2CCFF" mask="url(#path-8-inside-4_822_9784)"/>
+<mask id="path-10-inside-5_822_9784" fill="white">
+<path d="M440 -6.10352e-05H557.333V117.333H440V-6.10352e-05Z"/>
+</mask>
+<path d="M440 -6.10352e-05H557.333V117.333H440V-6.10352e-05Z" fill="white"/>
+<path d="M557.333 117.333V118.067H558.067V117.333H557.333ZM556.6 -6.10352e-05V117.333H558.067V-6.10352e-05H556.6ZM557.333 116.6H440V118.067H557.333V116.6Z" fill="#B2CCFF" mask="url(#path-10-inside-5_822_9784)"/>
+<mask id="path-12-inside-6_822_9784" fill="white">
+<path d="M-29.3334 117.333H88V234.667H-29.3334V117.333Z"/>
+</mask>
+<path d="M-29.3334 117.333H88V234.667H-29.3334V117.333Z" fill="white"/>
+<path d="M88 234.667V235.4H88.7333V234.667H88ZM87.2666 117.333V234.667H88.7333V117.333H87.2666ZM88 233.933H-29.3334V235.4H88V233.933Z" fill="#B2CCFF" mask="url(#path-12-inside-6_822_9784)"/>
+<mask id="path-14-inside-7_822_9784" fill="white">
+<path d="M88 117.333H205.333V234.667H88V117.333Z"/>
+</mask>
+<path d="M88 117.333H205.333V234.667H88V117.333Z" fill="white"/>
+<path d="M205.333 234.667V235.4H206.067V234.667H205.333ZM204.6 117.333V234.667H206.067V117.333H204.6ZM205.333 233.933H88V235.4H205.333V233.933Z" fill="#B2CCFF" mask="url(#path-14-inside-7_822_9784)"/>
+<mask id="path-16-inside-8_822_9784" fill="white">
+<path d="M205.333 117.333H322.667V234.667H205.333V117.333Z"/>
+</mask>
+<path d="M205.333 117.333H322.667V234.667H205.333V117.333Z" fill="white"/>
+<path d="M322.667 234.667V235.4H323.4V234.667H322.667ZM321.933 117.333V234.667H323.4V117.333H321.933ZM322.667 233.933H205.333V235.4H322.667V233.933Z" fill="#B2CCFF" mask="url(#path-16-inside-8_822_9784)"/>
+<mask id="path-18-inside-9_822_9784" fill="white">
+<path d="M322.667 117.333H440V234.667H322.667V117.333Z"/>
+</mask>
+<path d="M322.667 117.333H440V234.667H322.667V117.333Z" fill="white"/>
+<path d="M440 234.667V235.4H440.733V234.667H440ZM439.267 117.333V234.667H440.733V117.333H439.267ZM440 233.933H322.667V235.4H440V233.933Z" fill="#B2CCFF" mask="url(#path-18-inside-9_822_9784)"/>
+<mask id="path-20-inside-10_822_9784" fill="white">
+<path d="M440 117.333H557.333V234.667H440V117.333Z"/>
+</mask>
+<path d="M440 117.333H557.333V234.667H440V117.333Z" fill="white"/>
+<path d="M557.333 234.667V235.4H558.067V234.667H557.333ZM556.6 117.333V234.667H558.067V117.333H556.6ZM557.333 233.933H440V235.4H557.333V233.933Z" fill="#B2CCFF" mask="url(#path-20-inside-10_822_9784)"/>
+<mask id="path-22-inside-11_822_9784" fill="white">
+<path d="M-29.3334 234.667H88V352H-29.3334V234.667Z"/>
+</mask>
+<path d="M-29.3334 234.667H88V352H-29.3334V234.667Z" fill="#EFF4FF"/>
+<path d="M88 352V352.733H88.7333V352H88ZM87.2666 234.667V352H88.7333V234.667H87.2666ZM88 351.267H-29.3334V352.733H88V351.267Z" fill="#B2CCFF" mask="url(#path-22-inside-11_822_9784)"/>
+<mask id="path-24-inside-12_822_9784" fill="white">
+<path d="M88 234.667H205.333V352H88V234.667Z"/>
+</mask>
+<path d="M88 234.667H205.333V352H88V234.667Z" fill="white"/>
+<path d="M205.333 352V352.733H206.067V352H205.333ZM204.6 234.667V352H206.067V234.667H204.6ZM205.333 351.267H88V352.733H205.333V351.267Z" fill="#B2CCFF" mask="url(#path-24-inside-12_822_9784)"/>
+<mask id="path-26-inside-13_822_9784" fill="white">
+<path d="M205.333 234.667H322.667V352H205.333V234.667Z"/>
+</mask>
+<path d="M205.333 234.667H322.667V352H205.333V234.667Z" fill="white"/>
+<path d="M322.667 352V352.733H323.4V352H322.667ZM321.933 234.667V352H323.4V234.667H321.933ZM322.667 351.267H205.333V352.733H322.667V351.267Z" fill="#B2CCFF" mask="url(#path-26-inside-13_822_9784)"/>
+<mask id="path-28-inside-14_822_9784" fill="white">
+<path d="M322.667 234.667H440V352H322.667V234.667Z"/>
+</mask>
+<path d="M322.667 234.667H440V352H322.667V234.667Z" fill="white"/>
+<path d="M440 352V352.733H440.733V352H440ZM439.267 234.667V352H440.733V234.667H439.267ZM440 351.267H322.667V352.733H440V351.267Z" fill="#B2CCFF" mask="url(#path-28-inside-14_822_9784)"/>
+<mask id="path-30-inside-15_822_9784" fill="white">
+<path d="M440 234.667H557.333V352H440V234.667Z"/>
+</mask>
+<path d="M440 234.667H557.333V352H440V234.667Z" fill="white"/>
+<path d="M557.333 352V352.733H558.067V352H557.333ZM556.6 234.667V352H558.067V234.667H556.6ZM557.333 351.267H440V352.733H557.333V351.267Z" fill="#B2CCFF" mask="url(#path-30-inside-15_822_9784)"/>
+<mask id="path-32-inside-16_822_9784" fill="white">
+<path d="M-29.3334 352H88V469.333H-29.3334V352Z"/>
+</mask>
+<path d="M-29.3334 352H88V469.333H-29.3334V352Z" fill="white"/>
+<path d="M88 469.333V470.067H88.7333V469.333H88ZM87.2666 352V469.333H88.7333V352H87.2666ZM88 468.6H-29.3334V470.067H88V468.6Z" fill="#B2CCFF" mask="url(#path-32-inside-16_822_9784)"/>
+<mask id="path-34-inside-17_822_9784" fill="white">
+<path d="M88 352H205.333V469.333H88V352Z"/>
+</mask>
+<path d="M88 352H205.333V469.333H88V352Z" fill="white"/>
+<path d="M205.333 469.333V470.067H206.067V469.333H205.333ZM204.6 352V469.333H206.067V352H204.6ZM205.333 468.6H88V470.067H205.333V468.6Z" fill="#B2CCFF" mask="url(#path-34-inside-17_822_9784)"/>
+<mask id="path-36-inside-18_822_9784" fill="white">
+<path d="M205.333 352H322.667V469.333H205.333V352Z"/>
+</mask>
+<path d="M205.333 352H322.667V469.333H205.333V352Z" fill="white"/>
+<path d="M322.667 469.333V470.067H323.4V469.333H322.667ZM321.933 352V469.333H323.4V352H321.933ZM322.667 468.6H205.333V470.067H322.667V468.6Z" fill="#B2CCFF" mask="url(#path-36-inside-18_822_9784)"/>
+<mask id="path-38-inside-19_822_9784" fill="white">
+<path d="M322.667 352H440V469.333H322.667V352Z"/>
+</mask>
+<path d="M322.667 352H440V469.333H322.667V352Z" fill="white"/>
+<path d="M440 469.333V470.067H440.733V469.333H440ZM439.267 352V469.333H440.733V352H439.267ZM440 468.6H322.667V470.067H440V468.6Z" fill="#B2CCFF" mask="url(#path-38-inside-19_822_9784)"/>
+<mask id="path-40-inside-20_822_9784" fill="white">
+<path d="M440 352H557.333V469.333H440V352Z"/>
+</mask>
+<path d="M440 352H557.333V469.333H440V352Z" fill="#EFF4FF"/>
+<path d="M557.333 469.333V470.067H558.067V469.333H557.333ZM556.6 352V469.333H558.067V352H556.6ZM557.333 468.6H440V470.067H557.333V468.6Z" fill="#B2CCFF" mask="url(#path-40-inside-20_822_9784)"/>
+</g>
+</g>
+<g filter="url(#filter0_d_822_9784)">
+<g clip-path="url(#clip1_822_9784)">
+<path d="M32 48C32 39.1634 39.1634 32 48 32H480C488.837 32 496 39.1634 496 48V396H32V48Z" fill="white"/>
+<path d="M119.648 105.808H116V88.576H122.744C127.088 88.576 129.608 90.592 129.608 94.168C129.608 96.496 128.168 98.344 125.72 99.16L130.16 105.808H125.816L121.928 99.712H119.648V105.808ZM119.648 91.6V96.712H122.576C124.784 96.712 125.96 95.848 125.96 94.168C125.96 92.464 124.784 91.6 122.576 91.6H119.648Z" fill="#101828"/>
+<path d="M145.654 100.456C145.654 103.744 143.014 106.048 138.694 106.048C134.35 106.048 131.638 103.72 131.374 100.072H135.07C135.166 101.968 136.39 103.192 138.622 103.192C140.47 103.192 141.79 102.376 141.79 100.984C141.79 99.904 140.95 99.256 139.486 98.968L136.654 98.416C134.038 97.912 132.022 96.496 132.022 93.64C132.022 90.568 134.734 88.36 138.454 88.36C142.318 88.36 145.15 90.616 145.39 94.216H141.694C141.574 92.416 140.326 91.192 138.502 91.192C136.726 91.192 135.718 92.2 135.718 93.4C135.718 94.576 136.798 95.08 138.046 95.32L140.998 95.92C144.022 96.52 145.654 97.912 145.654 100.456Z" fill="#101828"/>
+<path d="M162.426 88.576L156.186 105.808H152.202L146.01 88.576H149.946L154.314 101.56L158.778 88.576H162.426Z" fill="#101828"/>
+<path d="M170.758 100.192H168.046V105.808H164.398V88.576H170.758C174.958 88.576 177.574 90.568 177.574 94.312C177.574 98.056 174.958 100.192 170.758 100.192ZM170.734 91.648H168.046V97.12H170.734C172.798 97.12 173.95 96.04 173.95 94.336C173.95 92.632 172.798 91.648 170.734 91.648Z" fill="#101828"/>
+<path d="M189.318 105.808H186.006V95.848H183.414V92.992H186.006V92.296C186.006 89.752 187.374 88.312 190.038 88.312C190.854 88.312 191.55 88.456 192.102 88.696V91.336C191.742 91.192 191.262 91.12 190.83 91.12C189.918 91.12 189.318 91.48 189.318 92.368V92.992H192.654V95.848H189.318V105.808Z" fill="#101828"/>
+<path d="M199.681 106.048C195.961 106.048 193.177 103.12 193.177 99.4C193.177 95.656 195.961 92.752 199.681 92.752C203.401 92.752 206.185 95.656 206.185 99.4C206.185 103.12 203.401 106.048 199.681 106.048ZM199.681 103.096C201.337 103.096 202.753 101.776 202.753 99.4C202.753 97.024 201.337 95.728 199.681 95.728C198.025 95.728 196.609 97.024 196.609 99.4C196.609 101.776 198.025 103.096 199.681 103.096Z" fill="#101828"/>
+<path d="M211.65 99.592V105.808H208.314V92.992H211.386V95.464C212.322 93.832 214.314 92.848 216.378 92.848V96.304C213.546 96.088 211.65 96.76 211.65 99.592Z" fill="#101828"/>
+<path d="M231.094 102.568V105.472C230.278 105.88 229.51 106.048 228.526 106.048C225.886 106.048 224.23 104.536 224.23 101.656V95.848H221.638V92.992H224.23V89.2H227.542V92.992H231.214V95.848H227.542V100.888C227.542 102.376 228.214 102.976 229.414 102.976C230.038 102.976 230.614 102.832 231.094 102.568Z" fill="#101828"/>
+<path d="M236.587 98.824V105.808H233.251V88.576H236.587V94.672C237.475 93.496 238.579 92.752 240.259 92.752C242.827 92.752 244.603 94.432 244.603 97.528V105.808H241.291V98.656C241.291 96.76 240.547 95.704 239.035 95.704C237.715 95.704 236.587 96.76 236.587 98.824Z" fill="#101828"/>
+<path d="M253.046 106.024C249.206 106.024 246.638 103.36 246.638 99.352C246.638 95.536 249.302 92.752 252.998 92.752C257.054 92.752 259.742 96.04 259.142 100.216H250.046C250.262 102.304 251.27 103.456 252.974 103.456C254.438 103.456 255.422 102.736 255.806 101.464H259.118C258.398 104.368 256.166 106.024 253.046 106.024ZM252.926 95.2C251.366 95.2 250.382 96.208 250.094 98.104H255.614C255.518 96.328 254.51 95.2 252.926 95.2Z" fill="#101828"/>
+<path d="M279.76 105.808L276.544 93.76L273.328 105.808H269.632L265.216 88.576H268.768L271.552 100.264L274.72 88.576H278.44L281.512 100.312L284.32 88.576H287.896L283.456 105.808H279.76Z" fill="#101828"/>
+<path d="M294.225 106.024C290.385 106.024 287.817 103.36 287.817 99.352C287.817 95.536 290.481 92.752 294.177 92.752C298.233 92.752 300.921 96.04 300.321 100.216H291.225C291.441 102.304 292.449 103.456 294.153 103.456C295.617 103.456 296.601 102.736 296.985 101.464H300.297C299.577 104.368 297.345 106.024 294.225 106.024ZM294.105 95.2C292.545 95.2 291.561 96.208 291.273 98.104H296.793C296.697 96.328 295.689 95.2 294.105 95.2Z" fill="#101828"/>
+<path d="M301.481 99.4C301.481 95.608 303.713 92.752 307.169 92.752C308.705 92.752 310.001 93.424 310.961 94.648V88.576H314.273V105.808H311.225V103.96C310.217 105.304 308.825 106.048 307.169 106.048C303.713 106.048 301.481 103.144 301.481 99.4ZM304.913 99.4C304.913 101.8 306.281 103.072 307.913 103.072C309.569 103.072 310.937 101.776 310.937 99.352C310.937 96.928 309.545 95.704 307.913 95.704C306.281 95.704 304.913 96.952 304.913 99.4Z" fill="#101828"/>
+<path d="M316.411 99.4C316.411 95.608 318.643 92.752 322.099 92.752C323.635 92.752 324.931 93.424 325.891 94.648V88.576H329.203V105.808H326.155V103.96C325.147 105.304 323.755 106.048 322.099 106.048C318.643 106.048 316.411 103.144 316.411 99.4ZM319.843 99.4C319.843 101.8 321.211 103.072 322.843 103.072C324.499 103.072 325.867 101.776 325.867 99.352C325.867 96.928 324.475 95.704 322.843 95.704C321.211 95.704 319.843 96.952 319.843 99.4Z" fill="#101828"/>
+<path d="M336.045 90.016C336.045 91.144 335.133 91.984 333.813 91.984C332.517 91.984 331.605 91.144 331.605 90.016C331.605 88.84 332.517 88 333.813 88C335.133 88 336.045 88.84 336.045 90.016ZM335.517 105.808H332.181V92.992H335.517V105.808Z" fill="#101828"/>
+<path d="M341.821 98.824V105.808H338.485V92.992H341.557V94.816C342.493 93.544 343.813 92.752 345.493 92.752C348.061 92.752 349.837 94.432 349.837 97.528V105.808H346.525V98.656C346.525 96.76 345.781 95.704 344.269 95.704C342.949 95.704 341.821 96.76 341.821 98.824Z" fill="#101828"/>
+<path d="M358.16 110.68C354.704 110.68 352.4 108.808 352.256 105.856H355.472C355.616 107.32 356.552 108.088 358.136 108.088C359.984 108.088 360.944 107.104 360.944 105.256V103.384C360.248 104.608 358.928 105.328 357.368 105.328C354.224 105.328 351.872 102.664 351.872 99.04C351.872 95.32 354.08 92.752 357.248 92.752C358.976 92.752 360.272 93.424 361.208 94.744V92.992H364.256V105.208C364.256 108.616 361.952 110.68 358.16 110.68ZM355.208 99.04C355.208 101.128 356.288 102.448 358.016 102.448C359.768 102.448 360.92 101.08 360.92 99.064C360.92 96.976 359.768 95.632 358.016 95.632C356.312 95.632 355.208 96.952 355.208 99.04Z" fill="#101828"/>
+<path d="M377.946 106.048C374.226 106.048 371.442 103.12 371.442 99.4C371.442 95.656 374.226 92.752 377.946 92.752C381.666 92.752 384.45 95.656 384.45 99.4C384.45 103.12 381.666 106.048 377.946 106.048ZM377.946 103.096C379.602 103.096 381.018 101.776 381.018 99.4C381.018 97.024 379.602 95.728 377.946 95.728C376.29 95.728 374.874 97.024 374.874 99.4C374.874 101.776 376.29 103.096 377.946 103.096Z" fill="#101828"/>
+<path d="M390.764 105.808H387.452V95.848H384.86V92.992H387.452V92.296C387.452 89.752 388.82 88.312 391.484 88.312C392.3 88.312 392.996 88.456 393.548 88.696V91.336C393.188 91.192 392.708 91.12 392.276 91.12C391.364 91.12 390.764 91.48 390.764 92.368V92.992H394.1V95.848H390.764V105.808Z" fill="#101828"/>
+<path d="M122.36 128.192H119.648V133.808H116V116.576H122.36C126.56 116.576 129.176 118.568 129.176 122.312C129.176 126.056 126.56 128.192 122.36 128.192ZM122.336 119.648H119.648V125.12H122.336C124.4 125.12 125.552 124.04 125.552 122.336C125.552 120.632 124.4 119.648 122.336 119.648Z" fill="#101828"/>
+<path d="M138.766 133.808V132.224C137.926 133.424 136.654 134.048 134.902 134.048C132.238 134.048 130.462 132.488 130.462 130.088C130.462 127.592 132.478 126.248 136.222 126.248C136.942 126.248 137.566 126.296 138.358 126.392V125.624C138.358 124.184 137.542 123.344 136.15 123.344C134.71 123.344 133.846 124.184 133.726 125.624H130.726C130.918 122.672 133.054 120.752 136.15 120.752C139.51 120.752 141.478 122.6 141.478 125.744V133.808H138.766ZM133.606 129.992C133.606 131.072 134.374 131.744 135.622 131.744C137.326 131.744 138.358 130.808 138.358 129.32V128.408C137.566 128.288 137.014 128.24 136.438 128.24C134.542 128.24 133.606 128.84 133.606 129.992Z" fill="#101828"/>
+<path d="M152.153 128.408V120.992H155.465V133.808H152.417V132.128C151.721 133.256 150.305 134.048 148.673 134.048C146.105 134.048 144.233 132.488 144.233 129.152V120.992H147.569V128.504C147.569 130.304 148.457 131.096 149.801 131.096C151.001 131.096 152.153 130.136 152.153 128.408Z" fill="#101828"/>
+<path d="M161.822 133.808H158.462V116.576H161.822V133.808Z" fill="#101828"/>
+<path d="M177.461 133.808V132.224C176.621 133.424 175.349 134.048 173.597 134.048C170.933 134.048 169.157 132.488 169.157 130.088C169.157 127.592 171.173 126.248 174.917 126.248C175.637 126.248 176.261 126.296 177.053 126.392V125.624C177.053 124.184 176.237 123.344 174.845 123.344C173.405 123.344 172.541 124.184 172.421 125.624H169.421C169.613 122.672 171.749 120.752 174.845 120.752C178.205 120.752 180.173 122.6 180.173 125.744V133.808H177.461ZM172.301 129.992C172.301 131.072 173.069 131.744 174.317 131.744C176.021 131.744 177.053 130.808 177.053 129.32V128.408C176.261 128.288 175.709 128.24 175.133 128.24C173.237 128.24 172.301 128.84 172.301 129.992Z" fill="#101828"/>
+<path d="M186.384 126.824V133.808H183.048V120.992H186.12V122.816C187.056 121.544 188.376 120.752 190.056 120.752C192.624 120.752 194.4 122.432 194.4 125.528V133.808H191.088V126.656C191.088 124.76 190.344 123.704 188.832 123.704C187.512 123.704 186.384 124.76 186.384 126.824Z" fill="#101828"/>
+<path d="M196.435 127.4C196.435 123.608 198.666 120.752 202.122 120.752C203.658 120.752 204.954 121.424 205.914 122.648V116.576H209.227V133.808H206.178V131.96C205.17 133.304 203.778 134.048 202.122 134.048C198.666 134.048 196.435 131.144 196.435 127.4ZM199.867 127.4C199.867 129.8 201.235 131.072 202.867 131.072C204.523 131.072 205.891 129.776 205.891 127.352C205.891 124.928 204.499 123.704 202.867 123.704C201.235 123.704 199.867 124.952 199.867 127.4Z" fill="#101828"/>
+<path d="M225.332 133.808L220.82 122.36V133.808H217.508V116.576H221.876L226.868 129.344L231.884 116.576H236.252V133.808H232.94V122.264L228.38 133.808H225.332Z" fill="#101828"/>
+<path d="M247.117 133.808V132.224C246.277 133.424 245.005 134.048 243.253 134.048C240.589 134.048 238.813 132.488 238.813 130.088C238.813 127.592 240.829 126.248 244.573 126.248C245.293 126.248 245.917 126.296 246.709 126.392V125.624C246.709 124.184 245.893 123.344 244.501 123.344C243.061 123.344 242.197 124.184 242.077 125.624H239.077C239.269 122.672 241.405 120.752 244.501 120.752C247.861 120.752 249.829 122.6 249.829 125.744V133.808H247.117ZM241.957 129.992C241.957 131.072 242.725 131.744 243.973 131.744C245.677 131.744 246.709 130.808 246.709 129.32V128.408C245.917 128.288 245.365 128.24 244.789 128.24C242.893 128.24 241.957 128.84 241.957 129.992Z" fill="#101828"/>
+<path d="M256.04 127.592V133.808H252.704V120.992H255.776V123.464C256.712 121.832 258.704 120.848 260.768 120.848V124.304C257.936 124.088 256.04 124.76 256.04 127.592Z" fill="#101828"/>
+<path d="M266.365 118.016C266.365 119.144 265.453 119.984 264.133 119.984C262.837 119.984 261.925 119.144 261.925 118.016C261.925 116.84 262.837 116 264.133 116C265.453 116 266.365 116.84 266.365 118.016ZM265.837 133.808H262.501V120.992H265.837V133.808Z" fill="#101828"/>
+<path d="M274.47 134.048C270.75 134.048 267.966 131.12 267.966 127.4C267.966 123.656 270.75 120.752 274.47 120.752C278.19 120.752 280.974 123.656 280.974 127.4C280.974 131.12 278.19 134.048 274.47 134.048ZM274.47 131.096C276.126 131.096 277.542 129.776 277.542 127.4C277.542 125.024 276.126 123.728 274.47 123.728C272.814 123.728 271.398 125.024 271.398 127.4C271.398 129.776 272.814 131.096 274.47 131.096Z" fill="#101828"/>
+<path d="M286.439 126.824V133.808H283.103V120.992H286.175V122.816C287.111 121.544 288.431 120.752 290.111 120.752C292.679 120.752 294.455 122.432 294.455 125.528V133.808H291.143V126.656C291.143 124.76 290.399 123.704 288.887 123.704C287.567 123.704 286.439 124.76 286.439 126.824Z" fill="#101828"/>
+<rect x="116" y="150.048" width="206" height="10" rx="2" fill="#D1E0FF"/>
+<rect x="116" y="168.048" width="146" height="10" rx="2" fill="#D1E0FF"/>
+<g filter="url(#filter1_dd_822_9784)">
+<rect x="116" y="210.048" width="296" height="40" rx="10" fill="white"/>
+<rect x="132" y="222.048" width="140" height="16" rx="4" fill="#EAECF0"/>
+<rect x="116.5" y="210.548" width="295" height="39" rx="9.5" stroke="#D0D5DD"/>
+</g>
+<g filter="url(#filter2_dd_822_9784)">
+<rect x="116" y="266.048" width="296" height="40" rx="10" fill="white"/>
+<rect x="132" y="278.048" width="174" height="16" rx="4" fill="#EAECF0"/>
+<g clip-path="url(#clip2_822_9784)">
+<path d="M385.334 284.048L388 281.381L390.667 284.048" stroke="#98A2B3" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M390.667 288.048L388 290.715L385.334 288.048" stroke="#98A2B3" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
+</g>
+<rect x="116.5" y="266.548" width="295" height="39" rx="9.5" stroke="#D0D5DD"/>
+</g>
+<g filter="url(#filter3_dd_822_9784)">
+<rect x="116" y="322.048" width="296" height="90" rx="10" fill="white"/>
+<rect x="132" y="334.048" width="230" height="16" rx="4" fill="#EAECF0"/>
+<rect x="132" y="358.048" width="126" height="16" rx="4" fill="#EAECF0"/>
+<rect x="116.5" y="322.548" width="295" height="89" rx="9.5" stroke="#D0D5DD"/>
+</g>
+<g clip-path="url(#clip3_822_9784)">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M403.507 162C400.859 161.473 398.109 161.969 395.813 163.39C393.516 164.81 391.844 167.048 391.133 169.653C390.725 170.984 390.59 172.383 390.736 173.767C390.882 175.151 391.307 176.491 391.984 177.707C392.662 178.923 393.578 179.989 394.679 180.841C395.779 181.693 397.04 182.314 398.387 182.667C400.187 183.167 402.075 183.267 403.918 182.958C405.761 182.649 407.514 181.94 409.053 180.88C410.503 179.69 411.632 178.157 412.34 176.42C413.048 174.683 413.311 172.798 413.107 170.933C412.975 169.044 412.236 167.248 411 165.813C409.763 164.429 408.104 163.491 406.28 163.147C406.05 163.12 405.819 163.18 405.631 163.314C405.443 163.448 405.311 163.647 405.262 163.873C405.212 164.098 405.247 164.334 405.362 164.535C405.476 164.736 405.661 164.887 405.88 164.96C407.275 165.312 408.514 166.119 409.4 167.253C410.26 168.381 410.737 169.755 410.76 171.173C410.867 172.619 410.616 174.068 410.03 175.393C409.444 176.719 408.541 177.88 407.4 178.773C406.166 179.537 404.781 180.026 403.34 180.206C401.9 180.385 400.437 180.251 399.053 179.813C398.074 179.564 397.155 179.12 396.351 178.507C395.548 177.893 394.877 177.124 394.378 176.244C393.88 175.365 393.565 174.394 393.452 173.39C393.339 172.385 393.43 171.368 393.72 170.4C394.183 168.268 395.443 166.394 397.243 165.159C399.042 163.925 401.244 163.425 403.4 163.76C403.507 163.771 403.616 163.76 403.719 163.728C403.821 163.696 403.917 163.644 403.999 163.574C404.081 163.504 404.149 163.419 404.197 163.322C404.245 163.226 404.273 163.121 404.28 163.013C404.319 162.894 404.329 162.767 404.308 162.643C404.287 162.52 404.236 162.403 404.16 162.303C404.084 162.203 403.985 162.124 403.871 162.071C403.757 162.018 403.632 161.994 403.507 162Z" fill="#98A2B3"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M388.707 194.347C388.97 192.686 389.68 191.128 390.76 189.84C391.568 188.808 392.46 187.845 393.427 186.96C394.351 185.994 395.349 185.102 396.413 184.293L398.387 183.04C398.501 183.002 398.607 182.94 398.697 182.859C398.787 182.778 398.859 182.68 398.909 182.57C398.959 182.459 398.986 182.34 398.988 182.219C398.99 182.098 398.967 181.978 398.92 181.867C398.876 181.747 398.808 181.637 398.72 181.545C398.632 181.452 398.526 181.378 398.409 181.328C398.291 181.278 398.165 181.253 398.037 181.254C397.91 181.255 397.783 181.282 397.667 181.333L395.16 182.32C393.791 182.957 392.502 183.753 391.32 184.693C390.516 185.345 389.799 186.098 389.187 186.933C387.517 189.044 386.733 191.722 387 194.4C387.013 194.612 387.105 194.812 387.258 194.96C387.411 195.108 387.614 195.194 387.827 195.2C387.942 195.208 388.057 195.191 388.166 195.151C388.274 195.111 388.373 195.049 388.456 194.969C388.539 194.888 388.604 194.791 388.647 194.684C388.69 194.577 388.711 194.462 388.707 194.347Z" fill="#98A2B3"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M406.013 182.96C406.419 183.208 406.787 183.514 407.107 183.867C407.827 184.56 408.493 185.387 408.787 185.68C409.517 186.345 410.203 187.058 410.84 187.813C411.484 188.5 412.056 189.25 412.547 190.053C413.221 191.17 413.691 192.398 413.933 193.68C413.936 193.803 413.965 193.924 414.017 194.035C414.069 194.146 414.144 194.245 414.237 194.325C414.33 194.406 414.439 194.466 414.557 194.502C414.674 194.537 414.798 194.548 414.92 194.533C415.042 194.527 415.161 194.496 415.27 194.442C415.379 194.388 415.476 194.313 415.556 194.221C415.636 194.129 415.696 194.022 415.733 193.906C415.771 193.79 415.784 193.668 415.773 193.547C415.871 191.547 415.458 189.556 414.573 187.76C413.998 186.678 413.24 185.704 412.333 184.88C411.748 184.386 411.124 183.94 410.467 183.547C410.04 183.28 408.92 182.533 407.8 182.027C407.375 181.764 406.918 181.557 406.44 181.413C406.241 181.363 406.031 181.389 405.85 181.485C405.669 181.581 405.531 181.741 405.461 181.934C405.391 182.126 405.396 182.338 405.473 182.527C405.55 182.717 405.695 182.871 405.88 182.96H406.013Z" fill="#98A2B3"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M405.747 170.427C406.568 171.331 407.46 172.169 408.413 172.933C408.498 173.021 408.599 173.091 408.712 173.139C408.824 173.187 408.945 173.211 409.067 173.211C409.189 173.211 409.309 173.187 409.422 173.139C409.534 173.091 409.635 173.021 409.72 172.933C409.885 172.756 409.977 172.522 409.977 172.28C409.977 172.038 409.885 171.804 409.72 171.627C408.84 170.693 407.827 168.96 407.053 168.133C406.802 167.826 406.469 167.595 406.093 167.467C405.723 167.334 405.317 167.334 404.947 167.467C404.49 167.645 404.052 167.868 403.64 168.133L400.68 169.813C399.874 170.383 398.97 170.799 398.013 171.04C396.955 171.291 395.874 171.434 394.787 171.467C394.679 171.456 394.571 171.466 394.468 171.498C394.365 171.53 394.27 171.583 394.188 171.652C394.105 171.722 394.038 171.808 393.99 171.904C393.942 172.001 393.913 172.106 393.907 172.213C393.892 172.428 393.962 172.641 394.101 172.805C394.241 172.97 394.439 173.073 394.653 173.093C396.123 173.415 397.634 173.514 399.133 173.387C400.184 173.271 401.209 172.992 402.173 172.56L405.24 170.72C405.376 170.613 405.518 170.515 405.667 170.427H405.747Z" fill="#98A2B3"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M400.893 192.88C400.881 192.933 400.881 192.987 400.893 193.04C401.053 193.653 401.453 193.787 401.827 193.68C401.923 193.699 402.023 193.698 402.119 193.677C402.215 193.656 402.306 193.616 402.386 193.558C402.466 193.501 402.534 193.427 402.584 193.343C402.635 193.258 402.667 193.164 402.68 193.067C402.693 193.005 402.693 192.942 402.68 192.88C402.689 192.711 402.689 192.542 402.68 192.373L403 191.28C403 190.64 403.293 190.053 403.347 189.387C403.333 188.735 403.28 188.085 403.187 187.44L403 185.973C403 185.973 403 185.52 402.84 185.36C402.866 185.255 402.866 185.145 402.84 185.04C402.84 184.88 401.533 184.24 401.24 185.36C401.24 185.52 401.24 185.947 401.08 186.027L400.707 187.44C400.587 188.074 400.507 188.716 400.467 189.36C400.503 190.024 400.592 190.684 400.733 191.333L400.973 192.48C400.964 192.622 400.964 192.765 400.973 192.907L400.893 192.88Z" fill="#528BFF"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M437.56 169.04C437.987 169.04 438.253 169.04 437.907 168.64C437.56 168.24 437.667 168.853 437.667 169.04H437.56ZM436.52 170.16C436.737 170.463 436.977 170.749 437.24 171.013C437.905 171.605 438.619 172.14 439.373 172.613C440.192 173.098 441.098 173.415 442.04 173.547C442.157 173.579 442.28 173.586 442.4 173.57C442.521 173.554 442.637 173.513 442.741 173.451C442.846 173.389 442.937 173.306 443.009 173.208C443.081 173.11 443.132 172.998 443.16 172.88C443.216 172.64 443.175 172.387 443.045 172.177C442.915 171.967 442.707 171.817 442.467 171.76C441.948 171.593 441.462 171.341 441.027 171.013C440.34 170.485 439.737 169.856 439.24 169.147C439.037 168.85 438.876 168.527 438.76 168.187C438.626 167.909 438.536 167.612 438.493 167.307C438.471 167.079 438.397 166.86 438.277 166.666C438.157 166.472 437.994 166.308 437.8 166.187C437.527 165.981 437.195 165.87 436.853 165.87C436.512 165.87 436.18 165.981 435.907 166.187L435.267 166.907L433.427 168.693C432.867 169.173 432.307 169.653 431.667 170.107C431.303 170.404 430.91 170.663 430.493 170.88L429.053 171.52L427.8 171.947C427.609 172.039 427.463 172.203 427.393 172.403C427.323 172.603 427.335 172.822 427.427 173.013C427.47 173.114 427.533 173.204 427.612 173.279C427.691 173.354 427.785 173.412 427.887 173.449C427.989 173.487 428.098 173.503 428.207 173.497C428.316 173.49 428.423 173.462 428.52 173.413H429.533L431.24 173.067C431.971 172.884 432.679 172.616 433.347 172.267C433.977 171.961 434.591 171.623 435.187 171.253C435.559 171.01 435.916 170.743 436.253 170.453L436.52 170.16Z" fill="#98A2B3"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M422.04 194.427C422.142 193.707 422.348 193.006 422.653 192.347C423.133 191.3 423.695 190.292 424.333 189.333C424.799 188.426 425.382 187.583 426.067 186.827C426.51 186.312 426.982 185.822 427.48 185.36C428.363 184.579 429.35 183.923 430.413 183.413L431.773 182.88C431.993 182.807 432.177 182.656 432.292 182.455C432.406 182.254 432.442 182.018 432.392 181.793C432.342 181.567 432.21 181.368 432.022 181.234C431.834 181.1 431.603 181.04 431.373 181.067L429.693 181.413C427.95 181.832 426.314 182.613 424.893 183.707C423.512 184.88 422.41 186.347 421.667 188C421.223 189.199 420.867 190.429 420.6 191.68C420.418 192.556 420.364 193.455 420.44 194.347C420.418 194.466 420.423 194.588 420.454 194.705C420.485 194.822 420.541 194.931 420.619 195.024C420.696 195.117 420.793 195.192 420.903 195.243C421.013 195.295 421.132 195.321 421.253 195.321C421.374 195.321 421.494 195.295 421.604 195.243C421.713 195.192 421.811 195.117 421.888 195.024C421.966 194.931 422.022 194.822 422.053 194.705C422.084 194.588 422.088 194.466 422.067 194.347L422.04 194.427Z" fill="#98A2B3"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M441.747 183.04C443.053 183.932 444.206 185.031 445.16 186.293C445.824 187.078 446.448 187.897 447.027 188.747C448.052 190.105 448.771 191.67 449.133 193.333C449.147 193.576 449.255 193.804 449.435 193.968C449.614 194.133 449.85 194.221 450.093 194.213C450.329 194.213 450.556 194.122 450.725 193.957C450.895 193.793 450.993 193.569 451 193.333C451.093 191.503 450.755 189.676 450.013 188C449.681 187.278 449.28 186.59 448.813 185.947C448.344 185.313 447.807 184.732 447.213 184.213C445.829 182.954 444.166 182.04 442.36 181.547C442.26 181.508 442.154 181.491 442.047 181.494C441.941 181.498 441.836 181.523 441.739 181.567C441.642 181.612 441.555 181.676 441.483 181.755C441.411 181.834 441.356 181.926 441.32 182.027C441.248 182.218 441.252 182.43 441.332 182.618C441.411 182.807 441.56 182.958 441.747 183.04Z" fill="#98A2B3"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M435.48 190.16C435.48 190.16 435.213 190.16 435.24 190.16C435.267 190.16 435.347 190.267 435.48 190.16ZM435.8 189.787C434.68 188.453 432.707 186.16 431.427 184.747C431.366 184.661 431.288 184.587 431.199 184.531C431.109 184.475 431.01 184.438 430.906 184.42C430.801 184.403 430.695 184.406 430.592 184.43C430.489 184.454 430.392 184.498 430.307 184.56C430.131 184.688 430.013 184.88 429.978 185.095C429.943 185.31 429.994 185.529 430.12 185.707C430.92 187.093 431.96 189.28 432.787 190.827C433.038 191.26 433.314 191.679 433.613 192.08C433.817 192.399 434.087 192.671 434.404 192.878C434.721 193.085 435.079 193.222 435.453 193.28C435.921 193.246 436.372 193.09 436.76 192.827C437.232 192.508 437.662 192.132 438.04 191.707C438.525 191.18 438.97 190.618 439.373 190.027C440.227 188.827 441.133 187.36 442.04 186.24C442.205 186.062 442.297 185.829 442.297 185.587C442.297 185.344 442.205 185.111 442.04 184.933C441.866 184.762 441.631 184.667 441.387 184.667C441.142 184.667 440.908 184.762 440.733 184.933L436.067 189.467L435.8 189.787Z" fill="#528BFF"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M436.627 162.853C436.284 162.709 435.926 162.601 435.56 162.533C435.262 162.467 434.952 162.467 434.653 162.533C434.455 162.598 434.288 162.736 434.186 162.919C434.085 163.102 434.057 163.317 434.108 163.52C434.159 163.723 434.284 163.899 434.46 164.013C434.635 164.127 434.847 164.17 435.053 164.133L436.707 164.587L438.227 164.213C438.51 164.186 438.796 164.186 439.08 164.213C439.377 164.255 439.671 164.318 439.96 164.4C440.685 164.62 441.343 165.019 441.874 165.56C442.405 166.1 442.792 166.765 443 167.493C443.853 170 443.56 173.2 444.173 175.76C444.409 176.568 444.86 177.297 445.48 177.867C445.827 178.24 446.173 178.907 446.52 179.307C445.993 179.413 445.458 179.475 444.92 179.493C443.775 179.555 442.628 179.466 441.507 179.227C441.267 179.151 441.013 179.136 440.767 179.182C440.52 179.229 440.289 179.336 440.093 179.493C438.75 180.351 437.18 180.787 435.587 180.747C434.861 180.863 434.12 180.828 433.409 180.645C432.697 180.461 432.032 180.133 431.453 179.68C431.273 179.482 431.049 179.328 430.799 179.231C430.549 179.133 430.28 179.096 430.013 179.12C429.587 179.12 427.987 179.413 428.227 179.893C427.54 180.03 426.833 180.03 426.147 179.893C425.716 179.862 425.301 179.714 424.947 179.467C425.017 179.336 425.097 179.212 425.187 179.093C425.613 178.667 426.147 178.213 426.6 177.733C427.167 177.192 427.581 176.512 427.8 175.76C428.098 173 428.588 170.265 429.267 167.573C429.544 166.826 430 166.159 430.595 165.629C431.19 165.099 431.906 164.723 432.68 164.533C432.884 164.445 433.05 164.288 433.148 164.089C433.246 163.889 433.27 163.662 433.215 163.447C433.161 163.231 433.031 163.043 432.85 162.914C432.669 162.786 432.448 162.727 432.227 162.747C431.152 162.965 430.147 163.444 429.301 164.141C428.455 164.839 427.793 165.733 427.373 166.747C426.533 169.499 425.883 172.305 425.427 175.147C425.211 175.606 424.869 175.995 424.44 176.267C423.786 176.791 423.18 177.371 422.627 178C422.347 178.331 422.168 178.736 422.111 179.166C422.054 179.597 422.122 180.034 422.307 180.427C422.585 180.935 422.966 181.38 423.425 181.733C423.884 182.087 424.411 182.341 424.973 182.48C426.363 182.85 427.824 182.85 429.213 182.48C429.519 182.427 429.822 182.355 430.12 182.267C431.419 183.085 432.907 183.553 434.44 183.627C436.878 183.818 439.321 183.309 441.48 182.16C443.246 182.444 445.047 182.444 446.813 182.16C447.429 182.091 448.022 181.885 448.548 181.557C449.074 181.23 449.52 180.789 449.853 180.267C450.079 179.843 450.17 179.36 450.113 178.883C450.055 178.406 449.853 177.958 449.533 177.6C448.991 176.951 448.373 176.369 447.693 175.867C447.32 175.52 446.867 175.2 446.76 174.773C445.987 172.107 446.067 168.907 445.053 166.427C444.645 165.446 444 164.583 443.177 163.913C442.353 163.243 441.376 162.787 440.333 162.587C439.948 162.494 439.555 162.431 439.16 162.4C438.744 162.348 438.323 162.348 437.907 162.4L436.627 162.853Z" fill="#98A2B3"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M419.267 160.4C419.005 160.217 418.729 160.056 418.44 159.92C414.298 157.882 410.594 155.056 407.533 151.6C405.793 149.197 404.776 146.348 404.6 143.387C404.438 142.076 404.717 140.748 405.393 139.614C406.069 138.479 407.103 137.602 408.333 137.12C409.46 136.659 410.663 136.415 411.88 136.4C412.897 136.353 413.895 136.686 414.68 137.333C415.109 137.771 415.477 138.264 415.773 138.8C416.322 139.659 416.821 140.55 417.267 141.467C417.394 141.716 417.584 141.927 417.818 142.082C418.051 142.236 418.321 142.327 418.6 142.347C418.886 142.374 419.175 142.318 419.43 142.186C419.686 142.053 419.897 141.85 420.04 141.6C420.04 141.6 421.133 139.76 422.307 138.187C422.711 137.55 423.205 136.975 423.773 136.48C424.439 136.017 425.21 135.728 426.016 135.639C426.821 135.551 427.637 135.666 428.387 135.973C429.974 136.68 431.219 137.983 431.853 139.6C432.424 141.181 432.613 142.875 432.404 144.544C432.196 146.212 431.596 147.808 430.653 149.2C428.004 153.32 424.525 156.844 420.44 159.547C419.88 160.053 419.187 160.213 419.267 160.4ZM418.92 161.973C419.085 162.087 419.28 162.148 419.48 162.148C419.68 162.148 419.875 162.087 420.04 161.973C420.527 161.726 420.999 161.45 421.453 161.147C425.9 158.415 429.724 154.781 432.68 150.48C433.872 148.783 434.651 146.832 434.957 144.781C435.262 142.731 435.085 140.637 434.44 138.667C433.594 136.367 431.881 134.49 429.667 133.44C428.48 132.906 427.178 132.682 425.881 132.789C424.584 132.896 423.336 133.331 422.253 134.053C421.539 134.566 420.909 135.187 420.387 135.893C419.868 136.522 419.387 137.181 418.947 137.867L418.52 137.173C418.066 136.43 417.53 135.741 416.92 135.12C415.809 134.092 414.377 133.48 412.867 133.387C410.917 133.23 408.958 133.55 407.16 134.32C405.728 134.896 404.485 135.86 403.571 137.104C402.657 138.347 402.108 139.821 401.987 141.36C401.735 145.541 403.047 149.666 405.667 152.933C408.235 155.81 411.319 158.18 414.76 159.92C416.027 160.654 417.336 161.312 418.68 161.893L418.92 161.973Z" fill="#528BFF"/>
+</g>
+</g>
+</g>
+<circle cx="48" cy="48" r="4" fill="#D0D5DD"/>
+<circle cx="61" cy="48" r="4" fill="#D0D5DD"/>
+<circle cx="74" cy="48" r="4" fill="#D0D5DD"/>
+<rect x="452" y="42" width="12" height="12" rx="4" fill="#EAECF0"/>
+<rect x="472" y="42" width="12" height="12" rx="4" fill="#EAECF0"/>
+</g>
+<defs>
+<filter id="filter0_d_822_9784" x="-20" y="12" width="568" height="468" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="12" operator="erode" in="SourceAlpha" result="effect1_dropShadow_822_9784"/>
+<feOffset dy="32"/>
+<feGaussianBlur stdDeviation="32"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0625882 0 0 0 0 0.0926346 0 0 0 0 0.15702 0 0 0 0.14 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_822_9784"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_822_9784" result="shape"/>
+</filter>
+<filter id="filter1_dd_822_9784" x="104" y="210.048" width="320" height="64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_822_9784"/>
+<feOffset dy="4"/>
+<feGaussianBlur stdDeviation="3"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.03 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_822_9784"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_822_9784"/>
+<feOffset dy="12"/>
+<feGaussianBlur stdDeviation="8"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.08 0"/>
+<feBlend mode="normal" in2="effect1_dropShadow_822_9784" result="effect2_dropShadow_822_9784"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_822_9784" result="shape"/>
+</filter>
+<filter id="filter2_dd_822_9784" x="104" y="266.048" width="320" height="64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_822_9784"/>
+<feOffset dy="4"/>
+<feGaussianBlur stdDeviation="3"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.03 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_822_9784"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_822_9784"/>
+<feOffset dy="12"/>
+<feGaussianBlur stdDeviation="8"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.08 0"/>
+<feBlend mode="normal" in2="effect1_dropShadow_822_9784" result="effect2_dropShadow_822_9784"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_822_9784" result="shape"/>
+</filter>
+<filter id="filter3_dd_822_9784" x="104" y="322.048" width="320" height="114" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_822_9784"/>
+<feOffset dy="4"/>
+<feGaussianBlur stdDeviation="3"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.03 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_822_9784"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_822_9784"/>
+<feOffset dy="12"/>
+<feGaussianBlur stdDeviation="8"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.08 0"/>
+<feBlend mode="normal" in2="effect1_dropShadow_822_9784" result="effect2_dropShadow_822_9784"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_822_9784" result="shape"/>
+</filter>
+<radialGradient id="paint0_radial_822_9784" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(264 -0.000119271) rotate(90) scale(488.521 505.624)">
+<stop stop-color="white"/>
+<stop offset="0.991144" stop-color="white" stop-opacity="0"/>
+</radialGradient>
+<clipPath id="clip0_822_9784">
+<rect width="528" height="396" fill="white"/>
+</clipPath>
+<clipPath id="clip1_822_9784">
+<path d="M32 48C32 39.1634 39.1634 32 48 32H480C488.837 32 496 39.1634 496 48V396H32V48Z" fill="white"/>
+</clipPath>
+<clipPath id="clip2_822_9784">
+<rect width="16" height="16" fill="white" transform="translate(380 278.048)"/>
+</clipPath>
+<clipPath id="clip3_822_9784">
+<rect width="64" height="64" fill="white" transform="translate(387 132)"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/client/public/img/pages/ai_form_builder/step-3.svg b/client/public/img/pages/ai_form_builder/step-3.svg
new file mode 100644
index 000000000..b829a253e
--- /dev/null
+++ b/client/public/img/pages/ai_form_builder/step-3.svg
@@ -0,0 +1,281 @@
+<svg width="528" height="396" viewBox="0 0 528 396" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_822_9919)">
+<rect width="528" height="396" fill="#D1E0FF"/>
+<g opacity="0.7">
+<mask id="mask0_822_9919" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-264" y="0" width="1056" height="601">
+<rect x="-264" y="-6.10352e-05" width="1056" height="601" fill="url(#paint0_radial_822_9919)"/>
+</mask>
+<g mask="url(#mask0_822_9919)">
+<mask id="path-2-inside-1_822_9919" fill="white">
+<path d="M-29.3334 -6.10352e-05H88V117.333H-29.3334V-6.10352e-05Z"/>
+</mask>
+<path d="M-29.3334 -6.10352e-05H88V117.333H-29.3334V-6.10352e-05Z" fill="white"/>
+<path d="M88 117.333V118.067H88.7333V117.333H88ZM87.2666 -6.10352e-05V117.333H88.7333V-6.10352e-05H87.2666ZM88 116.6H-29.3334V118.067H88V116.6Z" fill="#B2CCFF" mask="url(#path-2-inside-1_822_9919)"/>
+<mask id="path-4-inside-2_822_9919" fill="white">
+<path d="M88 -6.10352e-05H205.333V117.333H88V-6.10352e-05Z"/>
+</mask>
+<path d="M88 -6.10352e-05H205.333V117.333H88V-6.10352e-05Z" fill="white"/>
+<path d="M205.333 117.333V118.067H206.067V117.333H205.333ZM204.6 -6.10352e-05V117.333H206.067V-6.10352e-05H204.6ZM205.333 116.6H88V118.067H205.333V116.6Z" fill="#B2CCFF" mask="url(#path-4-inside-2_822_9919)"/>
+<mask id="path-6-inside-3_822_9919" fill="white">
+<path d="M205.333 -6.10352e-05H322.667V117.333H205.333V-6.10352e-05Z"/>
+</mask>
+<path d="M205.333 -6.10352e-05H322.667V117.333H205.333V-6.10352e-05Z" fill="white"/>
+<path d="M322.667 117.333V118.067H323.4V117.333H322.667ZM321.933 -6.10352e-05V117.333H323.4V-6.10352e-05H321.933ZM322.667 116.6H205.333V118.067H322.667V116.6Z" fill="#B2CCFF" mask="url(#path-6-inside-3_822_9919)"/>
+<mask id="path-8-inside-4_822_9919" fill="white">
+<path d="M322.667 -6.10352e-05H440V117.333H322.667V-6.10352e-05Z"/>
+</mask>
+<path d="M322.667 -6.10352e-05H440V117.333H322.667V-6.10352e-05Z" fill="#EFF4FF"/>
+<path d="M440 117.333V118.067H440.733V117.333H440ZM439.267 -6.10352e-05V117.333H440.733V-6.10352e-05H439.267ZM440 116.6H322.667V118.067H440V116.6Z" fill="#B2CCFF" mask="url(#path-8-inside-4_822_9919)"/>
+<mask id="path-10-inside-5_822_9919" fill="white">
+<path d="M440 -6.10352e-05H557.333V117.333H440V-6.10352e-05Z"/>
+</mask>
+<path d="M440 -6.10352e-05H557.333V117.333H440V-6.10352e-05Z" fill="white"/>
+<path d="M557.333 117.333V118.067H558.067V117.333H557.333ZM556.6 -6.10352e-05V117.333H558.067V-6.10352e-05H556.6ZM557.333 116.6H440V118.067H557.333V116.6Z" fill="#B2CCFF" mask="url(#path-10-inside-5_822_9919)"/>
+<mask id="path-12-inside-6_822_9919" fill="white">
+<path d="M-29.3334 117.333H88V234.667H-29.3334V117.333Z"/>
+</mask>
+<path d="M-29.3334 117.333H88V234.667H-29.3334V117.333Z" fill="white"/>
+<path d="M88 234.667V235.4H88.7333V234.667H88ZM87.2666 117.333V234.667H88.7333V117.333H87.2666ZM88 233.933H-29.3334V235.4H88V233.933Z" fill="#B2CCFF" mask="url(#path-12-inside-6_822_9919)"/>
+<mask id="path-14-inside-7_822_9919" fill="white">
+<path d="M88 117.333H205.333V234.667H88V117.333Z"/>
+</mask>
+<path d="M88 117.333H205.333V234.667H88V117.333Z" fill="white"/>
+<path d="M205.333 234.667V235.4H206.067V234.667H205.333ZM204.6 117.333V234.667H206.067V117.333H204.6ZM205.333 233.933H88V235.4H205.333V233.933Z" fill="#B2CCFF" mask="url(#path-14-inside-7_822_9919)"/>
+<mask id="path-16-inside-8_822_9919" fill="white">
+<path d="M205.333 117.333H322.667V234.667H205.333V117.333Z"/>
+</mask>
+<path d="M205.333 117.333H322.667V234.667H205.333V117.333Z" fill="white"/>
+<path d="M322.667 234.667V235.4H323.4V234.667H322.667ZM321.933 117.333V234.667H323.4V117.333H321.933ZM322.667 233.933H205.333V235.4H322.667V233.933Z" fill="#B2CCFF" mask="url(#path-16-inside-8_822_9919)"/>
+<mask id="path-18-inside-9_822_9919" fill="white">
+<path d="M322.667 117.333H440V234.667H322.667V117.333Z"/>
+</mask>
+<path d="M322.667 117.333H440V234.667H322.667V117.333Z" fill="white"/>
+<path d="M440 234.667V235.4H440.733V234.667H440ZM439.267 117.333V234.667H440.733V117.333H439.267ZM440 233.933H322.667V235.4H440V233.933Z" fill="#B2CCFF" mask="url(#path-18-inside-9_822_9919)"/>
+<mask id="path-20-inside-10_822_9919" fill="white">
+<path d="M440 117.333H557.333V234.667H440V117.333Z"/>
+</mask>
+<path d="M440 117.333H557.333V234.667H440V117.333Z" fill="white"/>
+<path d="M557.333 234.667V235.4H558.067V234.667H557.333ZM556.6 117.333V234.667H558.067V117.333H556.6ZM557.333 233.933H440V235.4H557.333V233.933Z" fill="#B2CCFF" mask="url(#path-20-inside-10_822_9919)"/>
+<mask id="path-22-inside-11_822_9919" fill="white">
+<path d="M-29.3334 234.667H88V352H-29.3334V234.667Z"/>
+</mask>
+<path d="M-29.3334 234.667H88V352H-29.3334V234.667Z" fill="#EFF4FF"/>
+<path d="M88 352V352.733H88.7333V352H88ZM87.2666 234.667V352H88.7333V234.667H87.2666ZM88 351.267H-29.3334V352.733H88V351.267Z" fill="#B2CCFF" mask="url(#path-22-inside-11_822_9919)"/>
+<mask id="path-24-inside-12_822_9919" fill="white">
+<path d="M88 234.667H205.333V352H88V234.667Z"/>
+</mask>
+<path d="M88 234.667H205.333V352H88V234.667Z" fill="white"/>
+<path d="M205.333 352V352.733H206.067V352H205.333ZM204.6 234.667V352H206.067V234.667H204.6ZM205.333 351.267H88V352.733H205.333V351.267Z" fill="#B2CCFF" mask="url(#path-24-inside-12_822_9919)"/>
+<mask id="path-26-inside-13_822_9919" fill="white">
+<path d="M205.333 234.667H322.667V352H205.333V234.667Z"/>
+</mask>
+<path d="M205.333 234.667H322.667V352H205.333V234.667Z" fill="white"/>
+<path d="M322.667 352V352.733H323.4V352H322.667ZM321.933 234.667V352H323.4V234.667H321.933ZM322.667 351.267H205.333V352.733H322.667V351.267Z" fill="#B2CCFF" mask="url(#path-26-inside-13_822_9919)"/>
+<mask id="path-28-inside-14_822_9919" fill="white">
+<path d="M322.667 234.667H440V352H322.667V234.667Z"/>
+</mask>
+<path d="M322.667 234.667H440V352H322.667V234.667Z" fill="white"/>
+<path d="M440 352V352.733H440.733V352H440ZM439.267 234.667V352H440.733V234.667H439.267ZM440 351.267H322.667V352.733H440V351.267Z" fill="#B2CCFF" mask="url(#path-28-inside-14_822_9919)"/>
+<mask id="path-30-inside-15_822_9919" fill="white">
+<path d="M440 234.667H557.333V352H440V234.667Z"/>
+</mask>
+<path d="M440 234.667H557.333V352H440V234.667Z" fill="white"/>
+<path d="M557.333 352V352.733H558.067V352H557.333ZM556.6 234.667V352H558.067V234.667H556.6ZM557.333 351.267H440V352.733H557.333V351.267Z" fill="#B2CCFF" mask="url(#path-30-inside-15_822_9919)"/>
+<mask id="path-32-inside-16_822_9919" fill="white">
+<path d="M-29.3334 352H88V469.333H-29.3334V352Z"/>
+</mask>
+<path d="M-29.3334 352H88V469.333H-29.3334V352Z" fill="white"/>
+<path d="M88 469.333V470.067H88.7333V469.333H88ZM87.2666 352V469.333H88.7333V352H87.2666ZM88 468.6H-29.3334V470.067H88V468.6Z" fill="#B2CCFF" mask="url(#path-32-inside-16_822_9919)"/>
+<mask id="path-34-inside-17_822_9919" fill="white">
+<path d="M88 352H205.333V469.333H88V352Z"/>
+</mask>
+<path d="M88 352H205.333V469.333H88V352Z" fill="white"/>
+<path d="M205.333 469.333V470.067H206.067V469.333H205.333ZM204.6 352V469.333H206.067V352H204.6ZM205.333 468.6H88V470.067H205.333V468.6Z" fill="#B2CCFF" mask="url(#path-34-inside-17_822_9919)"/>
+<mask id="path-36-inside-18_822_9919" fill="white">
+<path d="M205.333 352H322.667V469.333H205.333V352Z"/>
+</mask>
+<path d="M205.333 352H322.667V469.333H205.333V352Z" fill="white"/>
+<path d="M322.667 469.333V470.067H323.4V469.333H322.667ZM321.933 352V469.333H323.4V352H321.933ZM322.667 468.6H205.333V470.067H322.667V468.6Z" fill="#B2CCFF" mask="url(#path-36-inside-18_822_9919)"/>
+<mask id="path-38-inside-19_822_9919" fill="white">
+<path d="M322.667 352H440V469.333H322.667V352Z"/>
+</mask>
+<path d="M322.667 352H440V469.333H322.667V352Z" fill="white"/>
+<path d="M440 469.333V470.067H440.733V469.333H440ZM439.267 352V469.333H440.733V352H439.267ZM440 468.6H322.667V470.067H440V468.6Z" fill="#B2CCFF" mask="url(#path-38-inside-19_822_9919)"/>
+<mask id="path-40-inside-20_822_9919" fill="white">
+<path d="M440 352H557.333V469.333H440V352Z"/>
+</mask>
+<path d="M440 352H557.333V469.333H440V352Z" fill="#EFF4FF"/>
+<path d="M557.333 469.333V470.067H558.067V469.333H557.333ZM556.6 352V469.333H558.067V352H556.6ZM557.333 468.6H440V470.067H557.333V468.6Z" fill="#B2CCFF" mask="url(#path-40-inside-20_822_9919)"/>
+</g>
+</g>
+<g filter="url(#filter0_d_822_9919)">
+<g clip-path="url(#clip1_822_9919)">
+<path d="M32 48C32 39.1634 39.1634 32 48 32H480C488.837 32 496 39.1634 496 48V396H32V48Z" fill="white"/>
+<path d="M93.52 100.304C93.52 102.496 91.76 104.032 88.88 104.032C85.984 104.032 84.176 102.48 84 100.048H86.464C86.528 101.312 87.344 102.128 88.832 102.128C90.064 102.128 90.944 101.584 90.944 100.656C90.944 99.936 90.384 99.504 89.408 99.312L87.52 98.944C85.776 98.608 84.432 97.664 84.432 95.76C84.432 93.712 86.24 92.24 88.72 92.24C91.296 92.24 93.184 93.744 93.344 96.144H90.88C90.8 94.944 89.968 94.128 88.752 94.128C87.568 94.128 86.896 94.8 86.896 95.6C86.896 96.384 87.616 96.72 88.448 96.88L90.416 97.28C92.432 97.68 93.52 98.608 93.52 100.304Z" fill="#344054"/>
+<path d="M97.3454 99.216V103.872H95.1214V92.384H97.3454V96.448C97.9374 95.664 98.6734 95.168 99.7934 95.168C101.505 95.168 102.689 96.288 102.689 98.352V103.872H100.481V99.104C100.481 97.84 99.9854 97.136 98.9774 97.136C98.0974 97.136 97.3454 97.84 97.3454 99.216Z" fill="#344054"/>
+<path d="M109.694 103.872V102.816C109.134 103.616 108.286 104.032 107.118 104.032C105.342 104.032 104.158 102.992 104.158 101.392C104.158 99.728 105.502 98.832 107.998 98.832C108.478 98.832 108.894 98.864 109.422 98.928V98.416C109.422 97.456 108.878 96.896 107.95 96.896C106.99 96.896 106.414 97.456 106.334 98.416H104.334C104.462 96.448 105.886 95.168 107.95 95.168C110.19 95.168 111.502 96.4 111.502 98.496V103.872H109.694ZM106.254 101.328C106.254 102.048 106.766 102.496 107.598 102.496C108.734 102.496 109.422 101.872 109.422 100.88V100.272C108.894 100.192 108.526 100.16 108.142 100.16C106.878 100.16 106.254 100.56 106.254 101.328Z" fill="#344054"/>
+<path d="M115.642 99.728V103.872H113.418V95.328H115.466V96.976C116.09 95.888 117.418 95.232 118.794 95.232V97.536C116.906 97.392 115.642 97.84 115.642 99.728Z" fill="#344054"/>
+<path d="M123.599 104.016C121.039 104.016 119.327 102.24 119.327 99.568C119.327 97.024 121.103 95.168 123.567 95.168C126.271 95.168 128.063 97.36 127.663 100.144H121.599C121.743 101.536 122.415 102.304 123.551 102.304C124.527 102.304 125.183 101.824 125.439 100.976H127.647C127.167 102.912 125.679 104.016 123.599 104.016ZM123.519 96.8C122.479 96.8 121.823 97.472 121.631 98.736H125.311C125.247 97.552 124.575 96.8 123.519 96.8Z" fill="#344054"/>
+<path d="M140.112 103.872H132.688V92.384H135.12V101.68H140.112V103.872Z" fill="#344054"/>
+<path d="M144.166 93.344C144.166 94.096 143.558 94.656 142.678 94.656C141.814 94.656 141.206 94.096 141.206 93.344C141.206 92.56 141.814 92 142.678 92C143.558 92 144.166 92.56 144.166 93.344ZM143.814 103.872H141.59V95.328H143.814V103.872Z" fill="#344054"/>
+<path d="M148.017 99.216V103.872H145.793V95.328H147.841V96.544C148.465 95.696 149.345 95.168 150.465 95.168C152.177 95.168 153.361 96.288 153.361 98.352V103.872H151.153V99.104C151.153 97.84 150.657 97.136 149.649 97.136C148.769 97.136 148.017 97.84 148.017 99.216Z" fill="#344054"/>
+<path d="M157.502 103.872H155.278V92.384H157.502V98.944L160.622 95.328H163.182L159.646 99.424L163.598 103.872H160.766L157.502 99.904V103.872Z" fill="#344054"/>
+<rect x="84" y="116.032" width="206" height="10" rx="2" fill="#EAECF0"/>
+<rect x="84" y="132.032" width="146" height="10" rx="2" fill="#EAECF0"/>
+<g filter="url(#filter1_dd_822_9919)">
+<rect x="84" y="158.032" width="360" height="40" rx="10" fill="white"/>
+<rect x="100" y="170.032" width="216" height="16" rx="4" fill="#EAECF0"/>
+<g clip-path="url(#clip2_822_9919)">
+<path d="M342.5 180.532L347.5 175.532" stroke="#155EEF" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M344.167 173.032L344.552 172.585C345.334 171.804 346.394 171.365 347.499 171.365C348.604 171.365 349.664 171.804 350.445 172.586C351.227 173.367 351.666 174.427 351.666 175.532C351.665 176.637 351.226 177.697 350.445 178.479L350 178.865" stroke="#155EEF" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
+<path d="M345.833 183.032L345.502 183.477C344.712 184.259 343.645 184.697 342.533 184.697C341.421 184.697 340.354 184.259 339.563 183.477C339.174 183.092 338.864 182.633 338.653 182.127C338.442 181.621 338.333 181.079 338.333 180.531C338.333 179.983 338.442 179.44 338.653 178.934C338.864 178.429 339.174 177.97 339.563 177.584L340 177.199" stroke="#155EEF" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
+</g>
+<path d="M366.488 183.242C363.66 183.242 361.448 180.946 361.448 177.992C361.448 175.052 363.66 172.77 366.488 172.77C369.134 172.77 371.206 174.534 371.556 177.11H369.302C369.064 175.668 367.944 174.674 366.516 174.674C364.794 174.674 363.632 176.032 363.632 177.992C363.632 179.966 364.794 181.338 366.516 181.338C367.944 181.338 369.05 180.33 369.302 178.888H371.556C371.206 181.492 369.134 183.242 366.488 183.242ZM376.178 183.172C374.008 183.172 372.384 181.464 372.384 179.294C372.384 177.11 374.008 175.416 376.178 175.416C378.348 175.416 379.972 177.11 379.972 179.294C379.972 181.464 378.348 183.172 376.178 183.172ZM376.178 181.45C377.144 181.45 377.97 180.68 377.97 179.294C377.97 177.908 377.144 177.152 376.178 177.152C375.212 177.152 374.386 177.908 374.386 179.294C374.386 180.68 375.212 181.45 376.178 181.45ZM388.676 179.294C388.676 181.506 387.374 183.172 385.358 183.172C384.476 183.172 383.72 182.794 383.16 182.066V185.734H381.214V175.556H383.006V176.648C383.58 175.85 384.406 175.416 385.358 175.416C387.374 175.416 388.676 177.096 388.676 179.294ZM386.674 179.294C386.674 177.894 385.876 177.138 384.924 177.138C383.972 177.138 383.174 177.88 383.174 179.294C383.174 180.708 383.972 181.436 384.924 181.436C385.876 181.436 386.674 180.722 386.674 179.294ZM396.397 175.556L392.757 185.734H390.643L391.707 182.948L388.767 175.556H390.867L392.743 180.68L394.451 175.556H396.397ZM406.841 183.032H400.345V172.98H402.473V181.114H406.841V183.032ZM410.388 173.82C410.388 174.478 409.856 174.968 409.086 174.968C408.33 174.968 407.798 174.478 407.798 173.82C407.798 173.134 408.33 172.644 409.086 172.644C409.856 172.644 410.388 173.134 410.388 173.82ZM410.08 183.032H408.134V175.556H410.08V183.032ZM413.757 178.958V183.032H411.811V175.556H413.603V176.62C414.149 175.878 414.919 175.416 415.899 175.416C417.397 175.416 418.433 176.396 418.433 178.202V183.032H416.501V178.86C416.501 177.754 416.067 177.138 415.185 177.138C414.415 177.138 413.757 177.754 413.757 178.958ZM422.056 183.032H420.11V172.98H422.056V178.72L424.786 175.556H427.026L423.932 179.14L427.39 183.032H424.912L422.056 179.56V183.032Z" fill="#155EEF"/>
+<rect x="84.5" y="158.532" width="359" height="39" rx="9.5" stroke="#D0D5DD"/>
+</g>
+<rect x="84" y="226.032" width="360" height="1" fill="#EAECF0"/>
+<path d="M86.432 266.904H84V255.416H91.424V257.528H86.432V260.424H90.64V262.52H86.432V266.904Z" fill="#344054"/>
+<path d="M96.3965 267.064C93.9165 267.064 92.0605 265.112 92.0605 262.632C92.0605 260.136 93.9165 258.2 96.3965 258.2C98.8765 258.2 100.733 260.136 100.733 262.632C100.733 265.112 98.8765 267.064 96.3965 267.064ZM96.3965 265.096C97.5005 265.096 98.4445 264.216 98.4445 262.632C98.4445 261.048 97.5005 260.184 96.3965 260.184C95.2925 260.184 94.3485 261.048 94.3485 262.632C94.3485 264.216 95.2925 265.096 96.3965 265.096Z" fill="#344054"/>
+<path d="M104.376 262.76V266.904H102.152V258.36H104.2V260.008C104.824 258.92 106.152 258.264 107.528 258.264V260.568C105.64 260.424 104.376 260.872 104.376 262.76Z" fill="#344054"/>
+<path d="M110.907 266.904H108.683V258.36H110.731V259.576C111.355 258.712 112.155 258.2 113.291 258.2C114.459 258.2 115.355 258.744 115.787 259.72C116.459 258.776 117.323 258.2 118.603 258.2C120.331 258.2 121.499 259.336 121.499 261.384V266.904H119.291V262.088C119.291 260.888 118.779 260.168 117.803 260.168C116.923 260.168 116.203 260.856 116.203 262.136V266.904H113.995V262.088C113.995 260.888 113.483 260.168 112.507 260.168C111.611 260.168 110.907 260.856 110.907 262.136V266.904Z" fill="#344054"/>
+<path d="M135.754 263.336C135.754 265.528 133.994 267.064 131.114 267.064C128.218 267.064 126.409 265.512 126.233 263.08H128.698C128.762 264.344 129.577 265.16 131.065 265.16C132.297 265.16 133.177 264.616 133.177 263.688C133.177 262.968 132.618 262.536 131.642 262.344L129.754 261.976C128.01 261.64 126.665 260.696 126.665 258.792C126.665 256.744 128.473 255.272 130.953 255.272C133.529 255.272 135.417 256.776 135.577 259.176H133.114C133.034 257.976 132.202 257.16 130.986 257.16C129.802 257.16 129.13 257.832 129.13 258.632C129.13 259.416 129.85 259.752 130.682 259.912L132.649 260.312C134.665 260.712 135.754 261.64 135.754 263.336Z" fill="#344054"/>
+<path d="M142.477 263.304V258.36H144.685V266.904H142.653V265.784C142.189 266.536 141.245 267.064 140.157 267.064C138.445 267.064 137.197 266.024 137.197 263.8V258.36H139.421V263.368C139.421 264.568 140.013 265.096 140.909 265.096C141.709 265.096 142.477 264.456 142.477 263.304Z" fill="#344054"/>
+<path d="M155.211 262.632C155.211 265.128 153.723 267.064 151.419 267.064C150.315 267.064 149.387 266.568 148.731 265.672V266.904H146.683V255.416H148.907V259.464C149.531 258.632 150.395 258.2 151.419 258.2C153.723 258.2 155.211 260.104 155.211 262.632ZM152.923 262.632C152.923 261 152.011 260.168 150.923 260.168C149.851 260.168 148.923 260.984 148.923 262.6C148.923 264.216 149.819 265.08 150.923 265.08C152.011 265.08 152.923 264.232 152.923 262.632Z" fill="#344054"/>
+<path d="M158.86 266.904H156.636V258.36H158.684V259.576C159.308 258.712 160.108 258.2 161.244 258.2C162.412 258.2 163.308 258.744 163.74 259.72C164.412 258.776 165.276 258.2 166.556 258.2C168.284 258.2 169.452 259.336 169.452 261.384V266.904H167.244V262.088C167.244 260.888 166.732 260.168 165.756 260.168C164.876 260.168 164.156 260.856 164.156 262.136V266.904H161.948V262.088C161.948 260.888 161.436 260.168 160.46 260.168C159.564 260.168 158.86 260.856 158.86 262.136V266.904Z" fill="#344054"/>
+<path d="M173.931 256.376C173.931 257.128 173.323 257.688 172.443 257.688C171.579 257.688 170.971 257.128 170.971 256.376C170.971 255.592 171.579 255.032 172.443 255.032C173.323 255.032 173.931 255.592 173.931 256.376ZM173.579 266.904H171.355V258.36H173.579V266.904Z" fill="#344054"/>
+<path d="M182.774 264.168C182.774 265.96 181.414 267.064 178.982 267.064C176.55 267.064 175.19 265.896 175.014 263.992H177.142C177.158 264.872 177.91 265.432 179.014 265.432C179.878 265.432 180.534 265.16 180.534 264.552C180.534 264.008 180.182 263.784 179.366 263.624L177.83 263.336C176.294 263.064 175.366 262.216 175.366 260.888C175.366 259.304 176.726 258.2 178.854 258.2C180.998 258.2 182.47 259.336 182.63 261.176H180.502C180.422 260.344 179.798 259.832 178.854 259.832C178.038 259.832 177.494 260.136 177.494 260.68C177.494 261.192 177.846 261.4 178.614 261.544L180.262 261.848C181.926 262.168 182.774 262.936 182.774 264.168Z" fill="#344054"/>
+<path d="M191.508 264.168C191.508 265.96 190.148 267.064 187.716 267.064C185.284 267.064 183.924 265.896 183.748 263.992H185.876C185.892 264.872 186.644 265.432 187.748 265.432C188.612 265.432 189.268 265.16 189.268 264.552C189.268 264.008 188.916 263.784 188.1 263.624L186.564 263.336C185.028 263.064 184.1 262.216 184.1 260.888C184.1 259.304 185.46 258.2 187.588 258.2C189.732 258.2 191.204 259.336 191.364 261.176H189.236C189.156 260.344 188.532 259.832 187.588 259.832C186.772 259.832 186.228 260.136 186.228 260.68C186.228 261.192 186.58 261.4 187.348 261.544L188.996 261.848C190.66 262.168 191.508 262.936 191.508 264.168Z" fill="#344054"/>
+<path d="M195.603 256.376C195.603 257.128 194.995 257.688 194.115 257.688C193.251 257.688 192.643 257.128 192.643 256.376C192.643 255.592 193.251 255.032 194.115 255.032C194.995 255.032 195.603 255.592 195.603 256.376ZM195.251 266.904H193.027V258.36H195.251V266.904Z" fill="#344054"/>
+<path d="M201.006 267.064C198.526 267.064 196.67 265.112 196.67 262.632C196.67 260.136 198.526 258.2 201.006 258.2C203.486 258.2 205.342 260.136 205.342 262.632C205.342 265.112 203.486 267.064 201.006 267.064ZM201.006 265.096C202.11 265.096 203.054 264.216 203.054 262.632C203.054 261.048 202.11 260.184 201.006 260.184C199.902 260.184 198.958 261.048 198.958 262.632C198.958 264.216 199.902 265.096 201.006 265.096Z" fill="#344054"/>
+<path d="M208.985 262.248V266.904H206.761V258.36H208.809V259.576C209.433 258.728 210.313 258.2 211.433 258.2C213.145 258.2 214.329 259.32 214.329 261.384V266.904H212.121V262.136C212.121 260.872 211.625 260.168 210.617 260.168C209.737 260.168 208.985 260.872 208.985 262.248Z" fill="#344054"/>
+<path d="M223.462 264.168C223.462 265.96 222.101 267.064 219.669 267.064C217.237 267.064 215.877 265.896 215.701 263.992H217.829C217.845 264.872 218.597 265.432 219.701 265.432C220.565 265.432 221.221 265.16 221.221 264.552C221.221 264.008 220.869 263.784 220.053 263.624L218.518 263.336C216.982 263.064 216.053 262.216 216.053 260.888C216.053 259.304 217.413 258.2 219.541 258.2C221.685 258.2 223.157 259.336 223.317 261.176H221.189C221.109 260.344 220.485 259.832 219.541 259.832C218.725 259.832 218.181 260.136 218.181 260.68C218.181 261.192 218.533 261.4 219.301 261.544L220.949 261.848C222.613 262.168 223.462 262.936 223.462 264.168Z" fill="#344054"/>
+<g filter="url(#filter2_dd_822_9919)">
+<g clip-path="url(#clip3_822_9919)">
+<mask id="path-55-inside-21_822_9919" fill="white">
+<path d="M84 289.064C84 283.541 88.4772 279.064 94 279.064H434C439.523 279.064 444 283.541 444 289.064V399.064H84V289.064Z"/>
+</mask>
+<path d="M84 289.064C84 283.541 88.4772 279.064 94 279.064H434C439.523 279.064 444 283.541 444 289.064V399.064H84V289.064Z" fill="white"/>
+<mask id="path-57-inside-22_822_9919" fill="white">
+<path d="M84 279.064H179V399.064H84V279.064Z"/>
+</mask>
+<path d="M84 279.064H179V399.064H84V279.064Z" fill="white"/>
+<path d="M178 279.064V399.064H180V279.064H178Z" fill="#EAECF0" mask="url(#path-57-inside-22_822_9919)"/>
+<mask id="path-59-inside-23_822_9919" fill="white">
+<path d="M179 279.064H249V399.064H179V279.064Z"/>
+</mask>
+<path d="M179 279.064H249V399.064H179V279.064Z" fill="white"/>
+<path d="M248 279.064V399.064H250V279.064H248Z" fill="#EAECF0" mask="url(#path-59-inside-23_822_9919)"/>
+<mask id="path-61-inside-24_822_9919" fill="white">
+<path d="M249 279.064H344V399.064H249V279.064Z"/>
+</mask>
+<path d="M249 279.064H344V399.064H249V279.064Z" fill="white"/>
+<path d="M343 279.064V399.064H345V279.064H343Z" fill="#EAECF0" mask="url(#path-61-inside-24_822_9919)"/>
+<mask id="path-63-inside-25_822_9919" fill="white">
+<path d="M344 279.064H401V399.064H344V279.064Z"/>
+</mask>
+<path d="M344 279.064H401V399.064H344V279.064Z" fill="white"/>
+<path d="M400 279.064V399.064H402V279.064H400Z" fill="#EAECF0" mask="url(#path-63-inside-25_822_9919)"/>
+<mask id="path-65-inside-26_822_9919" fill="white">
+<path d="M401 279.064H443V399.064H401V279.064Z"/>
+</mask>
+<path d="M401 279.064H443V399.064H401V279.064Z" fill="white"/>
+<path d="M442 279.064V399.064H444V279.064H442Z" fill="#EAECF0" mask="url(#path-65-inside-26_822_9919)"/>
+<mask id="path-67-inside-27_822_9919" fill="white">
+<path d="M443 279.064H531V399.064H443V279.064Z"/>
+</mask>
+<path d="M443 279.064H531V399.064H443V279.064Z" fill="white"/>
+<path d="M530 279.064V399.064H532V279.064H530Z" fill="#EAECF0" mask="url(#path-67-inside-27_822_9919)"/>
+<rect x="95" y="289.064" width="64" height="8" rx="2" fill="#D1E0FF"/>
+<rect x="95" y="318.064" width="72" height="12" rx="2" fill="#EAECF0"/>
+<rect x="95" y="339.064" width="55" height="12" rx="2" fill="#EAECF0"/>
+<rect x="95" y="360.064" width="66" height="12" rx="2" fill="#EAECF0"/>
+<rect x="95" y="381.064" width="43" height="12" rx="2" fill="#EAECF0"/>
+<rect x="188" y="289.064" width="36" height="8" rx="2" fill="#D1E0FF"/>
+<rect x="258" y="289.064" width="52" height="8" rx="2" fill="#D1E0FF"/>
+<rect x="354" y="289.064" width="29" height="8" rx="2" fill="#D1E0FF"/>
+<rect x="411" y="289.064" width="20" height="8" rx="2" fill="#D1E0FF"/>
+<rect x="84" y="307.032" width="359" height="1" fill="#EAECF0"/>
+</g>
+<path d="M83 289.064C83 282.989 87.9249 278.064 94 278.064H434C440.075 278.064 445 282.989 445 289.064H443C443 284.093 438.971 280.064 434 280.064H94C89.0294 280.064 85 284.093 85 289.064H83ZM444 399.064H84H444ZM83 399.064V289.064C83 282.989 87.9249 278.064 94 278.064V280.064C89.0294 280.064 85 284.093 85 289.064V399.064H83ZM434 278.064C440.075 278.064 445 282.989 445 289.064V399.064H443V289.064C443 284.093 438.971 280.064 434 280.064V278.064Z" fill="#EAECF0" mask="url(#path-55-inside-21_822_9919)"/>
+</g>
+<g clip-path="url(#clip4_822_9919)">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M404.239 127.067C403.104 126.548 401.86 126.311 400.613 126.374C399.55 126.467 398.53 126.835 397.653 127.44C396.95 127.925 396.322 128.509 395.786 129.174L394.186 128.027C393.778 127.756 393.35 127.515 392.906 127.307C392.319 127.04 391.706 126.854 391.119 126.56C390.533 126.267 389.226 125.92 388.266 125.68H388.053C388.424 124.998 388.6 124.226 388.562 123.45C388.525 122.675 388.275 121.924 387.839 121.28C388.559 121.067 389.279 120.854 389.999 120.56C390.719 120.267 391.119 120.08 391.679 119.814C392.23 119.543 392.764 119.241 393.279 118.907C394.186 118.347 395.013 117.734 395.946 117.147L396.346 117.467C396.633 117.712 396.957 117.91 397.306 118.054C398.042 118.431 398.853 118.64 399.679 118.667C400.115 118.694 400.551 118.694 400.986 118.667C401.191 118.641 401.379 118.538 401.512 118.38C401.645 118.222 401.714 118.02 401.706 117.814C401.699 117.712 401.673 117.613 401.627 117.521C401.582 117.43 401.519 117.349 401.442 117.282C401.366 117.215 401.276 117.164 401.18 117.132C401.083 117.099 400.981 117.086 400.879 117.094C400.533 117.12 400.186 117.12 399.839 117.094C399.525 117.054 399.219 116.964 398.933 116.827L397.679 116C397.556 115.872 397.449 115.728 397.359 115.574C397.359 115.574 397.359 115.574 397.359 115.36L397.199 115.174C397.126 114.927 397.102 114.667 397.13 114.411C397.157 114.155 397.235 113.906 397.359 113.68C397.737 112.999 398.278 112.422 398.933 112C399.502 111.538 400.182 111.235 400.906 111.12C401.688 111.093 402.467 111.22 403.199 111.494C403.856 111.709 404.426 112.13 404.826 112.694C405.064 113.092 405.205 113.541 405.238 114.005C405.27 114.468 405.193 114.932 405.013 115.36C404.837 115.845 404.542 116.277 404.155 116.617C403.768 116.957 403.302 117.195 402.799 117.307C402.684 117.32 402.573 117.356 402.473 117.413C402.372 117.471 402.284 117.548 402.214 117.64C402.144 117.732 402.094 117.838 402.066 117.95C402.039 118.063 402.034 118.179 402.053 118.294C402.086 118.525 402.207 118.734 402.391 118.878C402.575 119.022 402.807 119.09 403.039 119.067C403.863 118.971 404.651 118.679 405.338 118.215C406.025 117.751 406.59 117.129 406.986 116.4C407.419 115.629 407.652 114.762 407.666 113.877C407.68 112.993 407.474 112.119 407.066 111.334C406.459 110.146 405.461 109.203 404.239 108.667C403.106 108.143 401.859 107.914 400.613 108C399.548 108.081 398.525 108.45 397.653 109.067C396.379 109.891 395.385 111.081 394.799 112.48C394.468 113.412 394.468 114.429 394.799 115.36L392.133 116.374L390.453 117.094C389.893 117.36 389.359 117.654 388.826 117.974C388.293 118.294 387.199 119.067 386.426 119.627C385.486 118.949 384.428 118.452 383.306 118.16C381.699 117.767 380.013 117.85 378.453 118.4C377.646 118.694 376.92 119.173 376.332 119.798C375.744 120.423 375.31 121.177 375.066 122C374.862 122.827 374.867 123.692 375.081 124.516C375.296 125.34 375.712 126.098 376.293 126.72C377.262 127.773 378.496 128.547 379.866 128.96C380.936 129.265 382.06 129.323 383.155 129.129C384.25 128.934 385.287 128.494 386.186 127.84C386.41 127.666 386.615 127.469 386.799 127.254L387.013 127.387C387.706 127.787 388.293 128.267 388.959 128.694L389.893 129.227C390.346 129.387 390.773 129.6 391.253 129.76C391.733 129.92 392.479 130.027 393.066 130.24L394.773 130.854C394.407 131.717 394.357 132.681 394.63 133.578C394.902 134.475 395.482 135.247 396.266 135.76C396.56 135.996 396.882 136.193 397.226 136.347C397.555 136.495 397.893 136.62 398.239 136.72C398.682 136.852 399.138 136.932 399.599 136.96C400.034 137 400.471 137 400.906 136.96C401.008 136.954 401.107 136.927 401.198 136.882C401.29 136.836 401.371 136.773 401.438 136.697C401.505 136.62 401.556 136.531 401.588 136.434C401.62 136.337 401.633 136.235 401.626 136.134C401.635 136.024 401.619 135.914 401.58 135.811C401.541 135.709 401.48 135.616 401.401 135.539C401.322 135.463 401.227 135.405 401.123 135.369C401.019 135.334 400.909 135.322 400.799 135.334C400.453 135.36 400.106 135.36 399.759 135.334C399.45 135.269 399.147 135.18 398.853 135.067L397.599 134.24C397.281 133.954 397.072 133.566 397.008 133.143C396.945 132.719 397.032 132.287 397.253 131.92C397.622 131.226 398.164 130.638 398.826 130.214C399.403 129.769 400.081 129.476 400.799 129.36C401.582 129.307 402.367 129.435 403.093 129.734C403.494 129.845 403.865 130.043 404.182 130.313C404.498 130.583 404.752 130.92 404.925 131.298C405.097 131.677 405.185 132.089 405.182 132.505C405.179 132.921 405.085 133.331 404.906 133.707C404.729 134.188 404.433 134.616 404.046 134.951C403.659 135.287 403.194 135.519 402.693 135.627C402.476 135.681 402.286 135.812 402.16 135.997C402.035 136.182 401.982 136.406 402.011 136.628C402.041 136.85 402.152 137.052 402.322 137.197C402.492 137.342 402.709 137.419 402.933 137.414C403.752 137.305 404.535 137.008 405.22 136.545C405.905 136.083 406.473 135.467 406.879 134.747C407.31 133.997 407.552 133.154 407.585 132.29C407.617 131.426 407.439 130.567 407.066 129.787C406.477 128.573 405.475 127.609 404.239 127.067ZM380.506 127.067C379.569 126.656 378.765 125.991 378.186 125.147C377.948 124.811 377.791 124.425 377.727 124.018C377.664 123.611 377.695 123.195 377.819 122.802C377.943 122.41 378.156 122.051 378.442 121.755C378.728 121.458 379.078 121.232 379.466 121.094C380.467 120.735 381.55 120.67 382.586 120.907C383.657 121.065 384.664 121.517 385.493 122.214C387.333 124.107 385.119 129.04 380.506 127.147V127.067Z" fill="#98A2B3"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M356.96 78.08C356.696 78.0269 356.424 78.0269 356.16 78.08C355.618 77.9738 355.058 78.0008 354.528 78.1587C353.999 78.3167 353.516 78.6008 353.12 78.9867C352 80.6934 352 82 350.213 93.52C349.68 97.12 348.747 100.427 348.107 103.6C347.413 107.173 346.8 110.507 346.08 113.653C345.409 115.979 344.857 118.338 344.427 120.72C344.359 121.108 344.395 121.507 344.531 121.877C344.666 122.247 344.897 122.575 345.2 122.827C347.641 123.772 350.169 124.477 352.747 124.933C359.413 126.4 368.32 127.947 369.84 128.213C369.95 128.237 370.064 128.238 370.175 128.217C370.286 128.196 370.392 128.153 370.486 128.091C370.58 128.029 370.661 127.949 370.724 127.856C370.787 127.762 370.831 127.657 370.853 127.547C370.877 127.436 370.878 127.322 370.857 127.212C370.836 127.101 370.793 126.995 370.731 126.901C370.669 126.807 370.589 126.726 370.496 126.663C370.402 126.6 370.297 126.556 370.187 126.533C368.667 126.213 359.867 124.267 353.307 122.533C351.266 122.052 349.254 121.456 347.28 120.747C347.573 118.773 348.853 114.587 348.907 114.293C349.387 112.107 349.867 109.867 350.267 107.493C351.6 99.7867 352.373 92.72 354.48 82.1867C354.48 82.1867 354.693 80.8534 354.72 80.8267C355.009 80.6163 355.334 80.4625 355.68 80.3734C356.293 80.2134 356.773 80.3734 356.987 80.1867C357.627 79.7067 357.653 78.2667 356.96 78.08Z" fill="#98A2B3"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M392 98.7467C392.213 97.84 392.373 96.96 392.507 96.08C392.64 95.2 392.773 94.32 392.88 93.4134C393.093 91.4934 393.2 89.4934 393.413 87.0667C393.453 86.9182 393.453 86.7619 393.413 86.6134C393.413 86.6134 393.627 86.4267 393.653 86.2667C393.701 86.0405 393.658 85.8047 393.533 85.6101C393.408 85.4155 393.212 85.2778 392.987 85.2267C392.248 84.8069 391.431 84.5437 390.587 84.4534C389.813 84.4534 388.907 85.7867 389.493 86.4267C389.737 86.7395 390.089 86.9491 390.48 87.0134H391.76C391.227 89.28 390.72 91.2 390.293 93.0134C390.107 93.92 389.92 94.8 389.76 95.68C389.6 96.56 389.467 97.44 389.36 98.3467C389.173 100.24 387.573 107.253 387.413 109.68C387.394 109.778 387.395 109.879 387.416 109.977C387.436 110.075 387.476 110.168 387.534 110.25C387.591 110.332 387.664 110.402 387.749 110.455C387.833 110.508 387.928 110.544 388.027 110.56C388.125 110.579 388.226 110.578 388.324 110.558C388.422 110.537 388.514 110.497 388.597 110.44C388.679 110.383 388.748 110.309 388.802 110.225C388.855 110.14 388.891 110.045 388.907 109.947C389.013 109.227 391.813 99.6 392 98.7467Z" fill="#98A2B3"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M399.413 84.48C399.184 83.5091 398.748 82.5994 398.133 81.8134C397.495 80.8954 396.612 80.1758 395.583 79.7371C394.555 79.2985 393.424 79.1585 392.32 79.3334H391.333C388.32 78.72 386.133 78.0267 383.147 77.3867C382.08 77.12 380.907 76.9334 379.547 76.6934C378.187 76.4534 376.32 76.08 374.747 75.92C363.36 74.6934 362.96 73.5467 360 76.2134C359.649 76.524 359.343 76.8832 359.093 77.28C357.12 80.4534 356.72 85.9467 352.8 106.613C352.48 108.213 351.493 110.747 351.173 112.987C350.969 114.094 351.015 115.233 351.307 116.32C351.52 116.784 351.842 117.188 352.246 117.5C352.65 117.811 353.124 118.019 353.627 118.107C356.64 118.96 363.653 119.253 369.227 120.347C369.337 120.374 369.452 120.38 369.564 120.362C369.677 120.345 369.785 120.305 369.881 120.246C369.978 120.186 370.062 120.108 370.128 120.015C370.195 119.923 370.242 119.818 370.267 119.707C370.315 119.484 370.276 119.252 370.156 119.058C370.037 118.864 369.847 118.724 369.627 118.667C365.707 117.68 361.04 117.04 357.627 116.373C355.76 116.027 353.28 115.84 353.733 115.28C353.733 115.28 353.893 115.467 353.92 115.573C353.761 114.575 353.834 113.553 354.133 112.587C354.56 110.667 355.28 108.613 355.6 107.253C356.107 104.987 356.72 102.72 357.067 100.427C359.733 82.4267 358.507 84.4267 360.773 79.9467C361.128 79.253 361.557 78.6002 362.053 78C362.734 77.1349 363.665 76.5015 364.72 76.1867C367.04 76.8534 369.333 77.44 371.68 77.8934C374.027 78.3467 376.533 78.7734 379.093 79.2534C382.853 79.7334 385.28 80.24 388 80.64L389.12 80.8C385.867 83.4667 385.947 84.9334 383.44 94.1334C383.2 94.96 383.013 95.76 382.853 96.5867C382.693 97.4134 382.587 98.2134 382.48 99.04C382.213 100.987 380.373 110.427 380.213 112.373C380.194 112.486 380.198 112.6 380.224 112.711C380.25 112.822 380.298 112.926 380.365 113.018C380.433 113.11 380.517 113.188 380.615 113.247C380.712 113.305 380.821 113.344 380.933 113.36C381.156 113.399 381.385 113.347 381.57 113.217C381.755 113.087 381.881 112.889 381.92 112.667C382.4 110.773 384.587 101.44 385.147 99.5734C385.36 98.7734 385.547 97.9467 385.707 97.1467C385.89 96.3366 386.032 95.5178 386.133 94.6934C386.853 88.0267 388.96 83.6267 390.427 82.5334C390.819 82.1822 391.285 81.9216 391.789 81.7699C392.294 81.6182 392.826 81.5791 393.347 81.6554C393.868 81.7317 394.367 81.9215 394.807 82.2114C395.247 82.5014 395.618 82.8844 395.893 83.3334C396.332 83.9451 396.599 84.6634 396.667 85.4134C396.758 86.2999 396.758 87.1935 396.667 88.08C396.667 89.68 396.427 91.36 396.213 92.9867C396.036 94.6708 395.769 96.3443 395.413 98L394.667 101.36C394.587 101.568 394.525 101.782 394.48 102H393.813C393.447 101.977 393.087 101.896 392.747 101.76C391.947 101.76 391.36 102.96 392.747 103.52C393.23 103.781 393.771 103.918 394.32 103.918C394.869 103.918 395.41 103.781 395.893 103.52C396.14 103.4 396.331 103.19 396.427 102.933C396.555 102.569 396.653 102.194 396.72 101.813L397.76 98.6134C398.278 96.9508 398.696 95.2589 399.013 93.5467C399.325 91.844 399.548 90.1261 399.68 88.4C399.77 87.0873 399.68 85.7685 399.413 84.48Z" fill="#528BFF"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M383.467 88.1867C383.499 88.0781 383.51 87.9642 383.498 87.8515C383.486 87.7388 383.452 87.6296 383.397 87.5303C383.342 87.431 383.269 87.3436 383.18 87.2732C383.091 87.2027 382.989 87.1507 382.88 87.12C380.453 86.2933 378 85.4933 375.493 84.88C374.427 84.6133 373.333 84.4 372.24 84.2133C371.147 84.0267 370.053 83.8933 368.96 83.8133C366.395 83.6359 363.823 83.5914 361.253 83.68C361.142 83.659 361.027 83.6629 360.917 83.6913C360.807 83.7198 360.704 83.7722 360.617 83.8448C360.529 83.9173 360.459 84.0083 360.41 84.1112C360.362 84.2141 360.337 84.3263 360.337 84.44C360.337 84.5537 360.362 84.666 360.41 84.7688C360.459 84.8717 360.529 84.9627 360.617 85.0353C360.704 85.1078 360.807 85.1602 360.917 85.1887C361.027 85.2172 361.142 85.221 361.253 85.2C364.107 85.6 366.907 86.24 369.76 86.7467C371.467 87.04 373.173 87.28 374.853 87.52C377.52 87.92 380 88.2667 382.533 88.8C382.737 88.827 382.943 88.7799 383.114 88.6672C383.286 88.5546 383.411 88.384 383.467 88.1867Z" fill="#528BFF"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M378.293 96.8267C378.385 96.6175 378.392 96.381 378.312 96.167C378.232 95.9531 378.073 95.7785 377.867 95.68C377.272 95.3745 376.646 95.1332 376 94.96C375.12 94.6667 374.187 94.48 373.333 94.2667C372.48 94.0533 371.973 93.9733 371.28 93.8667C370.246 93.7337 369.203 93.6802 368.16 93.7067C366.398 93.8114 364.654 94.1156 362.96 94.6133C362.862 94.6273 362.768 94.6605 362.682 94.711C362.597 94.7614 362.523 94.8282 362.463 94.9074C362.404 94.9867 362.361 95.0769 362.336 95.1728C362.312 95.2688 362.306 95.3686 362.32 95.4667C362.334 95.5647 362.367 95.659 362.418 95.7443C362.468 95.8295 362.535 95.904 362.614 95.9634C362.693 96.0228 362.784 96.0661 362.88 96.0906C362.976 96.1152 363.075 96.1207 363.173 96.1067C363.84 96.1067 364.48 96.1067 365.147 96.1067C366.48 96.1067 367.813 96.4267 369.04 96.56C370.267 96.6933 371.707 96.56 372.96 96.8267C373.76 96.8267 374.667 96.8267 375.627 96.8267C376.143 96.8678 376.653 96.9662 377.147 97.12C377.34 97.2224 377.565 97.2491 377.777 97.1949C377.989 97.1407 378.173 97.0094 378.293 96.8267Z" fill="#528BFF"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M371.28 103.333C370.564 103.111 369.834 102.942 369.093 102.827C368.354 102.685 367.605 102.596 366.853 102.56C365.071 102.513 363.288 102.602 361.52 102.827C361.343 102.86 361.183 102.954 361.068 103.093C360.953 103.232 360.89 103.406 360.89 103.587C360.89 103.767 360.953 103.942 361.068 104.08C361.183 104.219 361.343 104.313 361.52 104.347C363.493 104.613 365.28 105.093 367.147 105.44C368.293 105.653 369.387 105.813 370.533 105.973C372.213 106.24 373.92 106.427 375.6 106.8C375.819 106.868 376.056 106.847 376.261 106.742C376.465 106.638 376.62 106.458 376.693 106.24C376.761 106.021 376.74 105.784 376.636 105.58C376.531 105.375 376.351 105.22 376.133 105.147C374.555 104.442 372.934 103.837 371.28 103.333Z" fill="#528BFF"/>
+</g>
+</g>
+</g>
+<circle cx="48" cy="48" r="4" fill="#D0D5DD"/>
+<circle cx="61" cy="48" r="4" fill="#D0D5DD"/>
+<circle cx="74" cy="48" r="4" fill="#D0D5DD"/>
+<rect x="452" y="42" width="12" height="12" rx="4" fill="#EAECF0"/>
+<rect x="472" y="42" width="12" height="12" rx="4" fill="#EAECF0"/>
+</g>
+<defs>
+<filter id="filter0_d_822_9919" x="-20" y="12" width="568" height="468" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="12" operator="erode" in="SourceAlpha" result="effect1_dropShadow_822_9919"/>
+<feOffset dy="32"/>
+<feGaussianBlur stdDeviation="32"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0625882 0 0 0 0 0.0926346 0 0 0 0 0.15702 0 0 0 0.14 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_822_9919"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_822_9919" result="shape"/>
+</filter>
+<filter id="filter1_dd_822_9919" x="72" y="158.032" width="384" height="64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_822_9919"/>
+<feOffset dy="4"/>
+<feGaussianBlur stdDeviation="3"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.03 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_822_9919"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_822_9919"/>
+<feOffset dy="12"/>
+<feGaussianBlur stdDeviation="8"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.08 0"/>
+<feBlend mode="normal" in2="effect1_dropShadow_822_9919" result="effect2_dropShadow_822_9919"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_822_9919" result="shape"/>
+</filter>
+<filter id="filter2_dd_822_9919" x="64" y="279.064" width="400" height="160" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect1_dropShadow_822_9919"/>
+<feOffset dy="8"/>
+<feGaussianBlur stdDeviation="4"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.03 0"/>
+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_822_9919"/>
+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_822_9919"/>
+<feOffset dy="20"/>
+<feGaussianBlur stdDeviation="12"/>
+<feColorMatrix type="matrix" values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.08 0"/>
+<feBlend mode="normal" in2="effect1_dropShadow_822_9919" result="effect2_dropShadow_822_9919"/>
+<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_822_9919" result="shape"/>
+</filter>
+<radialGradient id="paint0_radial_822_9919" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(264 -0.000119271) rotate(90) scale(488.521 505.624)">
+<stop stop-color="white"/>
+<stop offset="0.991144" stop-color="white" stop-opacity="0"/>
+</radialGradient>
+<clipPath id="clip0_822_9919">
+<rect width="528" height="396" fill="white"/>
+</clipPath>
+<clipPath id="clip1_822_9919">
+<path d="M32 48C32 39.1634 39.1634 32 48 32H480C488.837 32 496 39.1634 496 48V396H32V48Z" fill="white"/>
+</clipPath>
+<clipPath id="clip2_822_9919">
+<rect width="20" height="20" fill="white" transform="translate(335 168.032)"/>
+</clipPath>
+<clipPath id="clip3_822_9919">
+<path d="M84 289.064C84 283.541 88.4772 279.064 94 279.064H434C439.523 279.064 444 283.541 444 289.064V399.064H84V289.064Z" fill="white"/>
+</clipPath>
+<clipPath id="clip4_822_9919">
+<rect width="64" height="64" fill="white" transform="translate(344 74)"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/client/public/img/pages/create_form/share_notion_db.webm b/client/public/img/pages/create_form/share_notion_db.webm
new file mode 100644
index 000000000..81470e67f
Binary files /dev/null and b/client/public/img/pages/create_form/share_notion_db.webm differ
diff --git a/client/public/img/pages/forms/blurred_graph.png b/client/public/img/pages/forms/blurred_graph.png
new file mode 100644
index 000000000..1d2e8a3bf
Binary files /dev/null and b/client/public/img/pages/forms/blurred_graph.png differ
diff --git a/client/public/img/pages/forms/search_notfound.png b/client/public/img/pages/forms/search_notfound.png
new file mode 100644
index 000000000..38d1eaa2f
Binary files /dev/null and b/client/public/img/pages/forms/search_notfound.png differ
diff --git a/client/public/img/pages/onboarding/guide.png b/client/public/img/pages/onboarding/guide.png
new file mode 100644
index 000000000..42c1482fc
Binary files /dev/null and b/client/public/img/pages/onboarding/guide.png differ
diff --git a/client/public/img/pages/onboarding/login_with_notion_guide.png b/client/public/img/pages/onboarding/login_with_notion_guide.png
new file mode 100644
index 000000000..834d8bb06
Binary files /dev/null and b/client/public/img/pages/onboarding/login_with_notion_guide.png differ
diff --git a/client/public/img/pages/welcome/homebackdrop.png b/client/public/img/pages/welcome/homebackdrop.png
new file mode 100644
index 000000000..275a3d167
Binary files /dev/null and b/client/public/img/pages/welcome/homebackdrop.png differ
diff --git a/client/public/img/pages/welcome/product-cover.jpg b/client/public/img/pages/welcome/product-cover.jpg
new file mode 100644
index 000000000..d28778e09
Binary files /dev/null and b/client/public/img/pages/welcome/product-cover.jpg differ
diff --git a/client/public/img/pages/welcome/step-1.jpg b/client/public/img/pages/welcome/step-1.jpg
new file mode 100644
index 000000000..77988d109
Binary files /dev/null and b/client/public/img/pages/welcome/step-1.jpg differ
diff --git a/client/public/img/pages/welcome/step-2.jpg b/client/public/img/pages/welcome/step-2.jpg
new file mode 100644
index 000000000..f4887f4d3
Binary files /dev/null and b/client/public/img/pages/welcome/step-2.jpg differ
diff --git a/client/public/img/pages/welcome/step-3.jpg b/client/public/img/pages/welcome/step-3.jpg
new file mode 100644
index 000000000..251724060
Binary files /dev/null and b/client/public/img/pages/welcome/step-3.jpg differ
diff --git a/client/public/img/pages/welcome/tutorial_screenshot.jpg b/client/public/img/pages/welcome/tutorial_screenshot.jpg
new file mode 100644
index 000000000..5439b5706
Binary files /dev/null and b/client/public/img/pages/welcome/tutorial_screenshot.jpg differ
diff --git a/client/public/img/social-preview.jpg b/client/public/img/social-preview.jpg
new file mode 100644
index 000000000..53b5b04d7
Binary files /dev/null and b/client/public/img/social-preview.jpg differ
diff --git a/client/public/img/tutorial/contact-form-template.png b/client/public/img/tutorial/contact-form-template.png
new file mode 100644
index 000000000..582fda2ef
Binary files /dev/null and b/client/public/img/tutorial/contact-form-template.png differ
diff --git a/client/public/img/tutorial/example.gif b/client/public/img/tutorial/example.gif
new file mode 100644
index 000000000..9cf1c3430
Binary files /dev/null and b/client/public/img/tutorial/example.gif differ
diff --git a/client/public/img/tutorial/integrate_to_notion.gif b/client/public/img/tutorial/integrate_to_notion.gif
new file mode 100644
index 000000000..f3c31a848
Binary files /dev/null and b/client/public/img/tutorial/integrate_to_notion.gif differ
diff --git a/client/public/img/tutorial/share_database.gif b/client/public/img/tutorial/share_database.gif
new file mode 100644
index 000000000..37e102515
Binary files /dev/null and b/client/public/img/tutorial/share_database.gif differ
diff --git a/client/public/video/opnform-ai.mp4 b/client/public/video/opnform-ai.mp4
new file mode 100644
index 000000000..15228542b
Binary files /dev/null and b/client/public/video/opnform-ai.mp4 differ
diff --git a/client/public/widgets/embed-min.js b/client/public/widgets/embed-min.js
new file mode 100644
index 000000000..931510646
--- /dev/null
+++ b/client/public/widgets/embed-min.js
@@ -0,0 +1,20 @@
+!(function (n, e) {
+ if (typeof document !== 'undefined') {
+ const e = document.head || document.getElementsByTagName('head')[0]; const t = document.createElement('style')
+ t.type = 'text/css', e.appendChild(t), t.styleSheet ? t.styleSheet.cssText = n : t.appendChild(document.createTextNode(n))
+ }
+ }('.nf-main {\n position: fixed;\n width: 100%;\n height: 100vh;\n top: 0px;\n bottom: 0px;\n left: 0px;\n right: 0px;\n z-index: 500;\n pointer-events: none;\n }\n .nf-main .nf-emoji {\n pointer-events: auto;\n width:60px;\n height: 60px;\n display: flex;\n align-items:center;\n justify-content:center;\n text-align: center;\n background-color: #3B82F6;\n padding: 8px 10px;\n border: none;\n cursor: pointer;\n position: fixed;\n bottom: 23px;\n right: 28px;\n border-radius: 100%;\n z-index: 999\n }\n .nf-main.nf-left .nf-emoji{\n left: 28px !important;\n right: inherit !important\n }\n .nf-main .nf-emoji .nf-emoji-icon, .nf-main .nf-emoji .nf-emoji-icon-close{\n font-size: 30px;\n color:white;\n }\n .nf-main .nf-emoji .nf-emoji-icon-close {\n display: none;\n }\n .nf-main.open .nf-emoji .nf-emoji-icon{\n display: none !important\n }\n .nf-main.open .nf-emoji .nf-emoji-icon-close{\n display: block !important\n }\n .nf-main .nf-popup {\n\n display: flex;\n align-items: end;\n flex-direction: column-reverse;\n align-content: flex-end;\n padding: 20px;\n padding-bottom: 100px;\n width: 100%;\n height: 100vh;\n visibility: hidden;\n opacity:0; transition:\n opacity 0.2s, 0.2s ease-in-out;\n transform: translateY(30px);\n }\n .nf-main.open .nf-popup {\n visibility: visible !important;\n opacity: 1;\n transform: translateY(0px);\n }\n .nf-main .nf-popup iframe {\n width: 100%;\n pointer-events: auto;\n z-index: 999!important;\n bottom: 100px;\n right: 20px;\n height: 450px;\n background: #fff;\n border-radius: 12px;\n box-shadow: 0 6px 6px 0 rgba(0,0,0,.02),0 8px 24px 0 rgba(0,0,0,.12)!important\n }\n .nf-main.nf-left .nf-popup {\n align-items: start !important;\n }')), (function () {
+ const n = JSON.parse(document.currentScript.getAttribute('data-nf'))
+ let e = n?.formurl || null
+ if (window.location !== window.parent.location || window.frameElement || !e) return !1
+ e = e + (e.indexOf('?') === -1 ? '?' : '&') + 'popup=true'
+ const t = n?.emoji || '💬'; const i = n?.position === 'left' ? 'nf-left' : ''; const o = n?.bgcolor || '#3B82F6'
+ const a = n?.width || 500; const r = document.body.querySelector('.nf-main')
+ r && r.remove()
+ const p = document.createElement('div')
+ p.className = `nf-main ${i}`, p.innerHTML = `<div class='nf-popup'><iframe src='${e}' frameborder='0' marginheight='0' marginwidth='0' title='OpnForm'></iframe></div>`
+ p.querySelector('iframe').style.maxWidth = `${a}px`
+ const s = document.createElement('div')
+ s.className = 'nf-emoji', s.role = 'button', s.style.backgroundColor = `${o}`, s.innerHTML = `<span class='nf-emoji-icon'>${t}</span><span class='nf-emoji-icon-close'><svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-8 h-8'>\n <path stroke-linecap='round' stroke-linejoin='round' d='M6 18L18 6M6 6l12 12' />\n</svg>\n</span>`, s.onclick = () => { p.classList.toggle('open') }, p.appendChild(s), document.body.appendChild(p)
+ }())
+
\ No newline at end of file
diff --git a/client/public/widgets/embed.js b/client/public/widgets/embed.js
new file mode 100644
index 000000000..825da8a74
--- /dev/null
+++ b/client/public/widgets/embed.js
@@ -0,0 +1,139 @@
+/**
+ * OpenForms Embed, allowing you to add a popup form to your website.
+ * All changes to this file should be followed by an update of the minified version (embed-min.js)
+ */
+!(function () {
+ !(function (e, t) {
+ if (e && typeof document !== 'undefined') {
+ const head = document.head || document.getElementsByTagName('head')[0]
+ const styleEl = document.createElement('style')
+ styleEl.type = 'text/css', head.appendChild(styleEl), styleEl.styleSheet ? styleEl.styleSheet.cssText = e : styleEl.appendChild(document.createTextNode(e))
+ }
+ }
+ (`.nf-main {
+ position: fixed;
+ width: 100%;
+ height: 100vh;
+ top: 0px;
+ bottom: 0px;
+ left: 0px;
+ right: 0px;
+ z-index: 500;
+ pointer-events: none;
+ }
+ .nf-main .nf-emoji {
+ pointer-events: auto;
+ width:60px;
+ height: 60px;
+ display: flex;
+ align-items:center;
+ justify-content:center;
+ text-align: center;
+ background-color: #3B82F6;
+ padding: 8px 10px;
+ border: none;
+ cursor: pointer;
+ position: fixed;
+ bottom: 23px;
+ right: 28px;
+ border-radius: 100%;
+ z-index: 999
+ }
+ .nf-main.nf-left .nf-emoji{
+ left: 28px !important;
+ right: inherit !important
+ }
+ .nf-main .nf-emoji .nf-emoji-icon, .nf-main .nf-emoji .nf-emoji-icon-close{
+ font-size: 30px;
+ color:white;
+ }
+ .nf-main .nf-emoji .nf-emoji-icon-close {
+ display: none;
+ }
+ .nf-main.open .nf-emoji .nf-emoji-icon{
+ display: none !important
+ }
+ .nf-main.open .nf-emoji .nf-emoji-icon-close{
+ display: block !important
+ }
+ .nf-main .nf-popup {
+
+ display: flex;
+ align-items: end;
+ flex-direction: column-reverse;
+ align-content: flex-end;
+ padding: 20px;
+ padding-bottom: 100px;
+ width: 100%;
+ height: 100vh;
+ visibility: hidden;
+ opacity:0; transition:
+ opacity 0.2s, 0.2s ease-in-out;
+ transform: translateY(30px);
+ }
+ .nf-main.open .nf-popup {
+ visibility: visible !important;
+ opacity: 1;
+ transform: translateY(0px);
+ }
+ .nf-main .nf-popup iframe {
+ width: 100%;
+ pointer-events: auto;
+ z-index: 999!important;
+ bottom: 100px;
+ right: 20px;
+ height: 450px;
+ background: #fff;
+ border-radius: 12px;
+ box-shadow: 0 6px 6px 0 rgba(0,0,0,.02),0 8px 24px 0 rgba(0,0,0,.12)!important
+ }
+ .nf-main.nf-left .nf-popup {
+ align-items: start !important;
+ }`))
+}());
+
+(function () {
+ const nfData = JSON.parse(document.currentScript.getAttribute('data-nf'))
+ let formUrl = nfData?.formurl || null
+ if (window.location !== window.parent.location || window.frameElement || !formUrl) {
+ // Do nothing
+ return false
+ }
+
+ // Add popup param to formUrl
+ formUrl = formUrl + (formUrl.indexOf('?') === -1 ? '?' : '&') + 'popup=true'
+
+ // Settings
+ const emoji = nfData?.emoji || '💬'
+ const position = (nfData?.position === 'left') ? 'nf-left' : ''
+ const emojiBgColor = nfData?.bgcolor || '#3B82F6'
+ const width = nfData?.width || 500
+
+ // Remove old popup, if there
+ const oldEl = document.body.querySelector('.nf-main')
+ if (oldEl) {
+ oldEl.remove()
+ }
+
+ // Iframe popup
+ const mainDiv = document.createElement('div')
+ mainDiv.className = `nf-main ${position}`
+ mainDiv.innerHTML = `<div class='nf-popup'><iframe src='${formUrl}' frameborder='0' marginheight='0' marginwidth='0' title='OpnForm'></iframe></div>`
+ const iframe = mainDiv.querySelector('iframe')
+ iframe.style.maxWidth = `${width}px`
+
+ // Emoji button
+ const emojiButton = document.createElement('div')
+ emojiButton.className = 'nf-emoji'
+ emojiButton.role = 'button'
+ emojiButton.style.backgroundColor = `${emojiBgColor}`
+ emojiButton.innerHTML = `<span class='nf-emoji-icon'>${emoji}</span><span class='nf-emoji-icon-close'><svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-8 h-8'>
+ <path stroke-linecap='round' stroke-linejoin='round' d='M6 18L18 6M6 6l12 12' />
+</svg>
+</span>`
+ emojiButton.onclick = () => { mainDiv.classList.toggle('open') }
+ mainDiv.appendChild(emojiButton)
+
+ // Append to the body
+ document.body.appendChild(mainDiv)
+})()
diff --git a/client/scss/app.scss b/client/scss/app.scss
new file mode 100644
index 000000000..bf630dc47
--- /dev/null
+++ b/client/scss/app.scss
@@ -0,0 +1,58 @@
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
+
+@import 'fonts';
+
+body.dark * {
+ @apply border-gray-600
+}
+
+* {
+ font-family: GeneralSans, sans-serif !important;
+}
+
+#app {
+ @apply min-h-screen;
+}
+
+@layer base {
+
+ :root {
+ --bg-form-color: #2563eb;
+ }
+
+ p, div {
+ @apply text-gray-900 dark:text-white;
+ }
+
+ h1, h2, h3, h4, h5, h6 {
+ @apply text-gray-900 dark:text-white;
+ }
+
+ h1 {
+ @apply text-3xl sm:text-4xl font-semibold;
+ }
+
+ h2 {
+ @apply text-3xl font-semibold;
+ }
+
+ a {
+ @apply text-blue-600 hover:underline;
+ }
+}
+
+.bg-white {
+ @apply dark:bg-notion-dark;
+}
+
+.bg-gray-50 {
+ @apply dark:bg-notion-dark-light;
+}
+
+.field-help {
+ p {
+ @apply text-gray-400 dark:text-gray-500;
+ }
+}
\ No newline at end of file
diff --git a/client/scss/fonts.scss b/client/scss/fonts.scss
new file mode 100644
index 000000000..ca61bbefc
--- /dev/null
+++ b/client/scss/fonts.scss
@@ -0,0 +1,202 @@
+/**
+ * @license
+ *
+ * Font Family: General Sans
+ * Designed by: Frode Helland
+ * URL: https://www.fontshare.com/fonts/general-sans/general-sans
+ * © 2022 Indian Type Foundry
+ *
+ * Font Styles:
+ * General Sans Variable(Variable font)
+ * General Sans Variable Italic(Variable font)
+ * General Sans Extralight
+ * General Sans Extralight Italic
+ * General Sans Light
+ * General Sans Light Italic
+ * General Sans Regular
+ * General Sans Italic
+ * General Sans Medium
+ * General Sans Medium Italic
+ * General Sans Semibold
+ * General Sans Semibold Italic
+ * General Sans Bold
+ * General Sans Bold Italic
+ *
+*/
+
+
+/**
+* This is a variable font
+* You can controll variable axes as shown below:
+* font-variation-settings: 'wght' 700.0;
+*
+* available axes:
+
+* 'wght' (range from 200.0 to 700.0)
+
+*/
+
+@font-face {
+ font-family: 'GeneralSans-Variable';
+ src: url('/fonts/general-sans/GeneralSans-Variable.woff2') format('woff2'),
+ url('/fonts/general-sans/GeneralSans-Variable.woff') format('woff'),
+ url('/fonts/general-sans/GeneralSans-Variable.ttf') format('truetype');
+ font-weight: 200 700;
+ font-display: swap;
+ font-style: normal;
+}
+
+
+/**
+* This is a variable font
+* You can controll variable axes as shown below:
+* font-variation-settings: 'wght' 700.0;
+*
+* available axes:
+
+* 'wght' (range from 200.0 to 700.0)
+
+*/
+
+@font-face {
+ font-family: 'GeneralSans';
+ src: url('/fonts/general-sans/GeneralSans-VariableItalic.woff2') format('woff2'),
+ url('/fonts/general-sans/GeneralSans-VariableItalic.woff') format('woff'),
+ url('/fonts/general-sans/GeneralSans-VariableItalic.ttf') format('truetype');
+ font-weight: 200 700;
+ font-display: swap;
+ font-style: italic;
+}
+
+
+@font-face {
+ font-family: 'GeneralSans';
+ src: url('/fonts/general-sans/GeneralSans-Extralight.woff2') format('woff2'),
+ url('/fonts/general-sans/GeneralSans-Extralight.woff') format('woff'),
+ url('/fonts/general-sans/GeneralSans-Extralight.ttf') format('truetype');
+ font-weight: 200;
+ font-display: swap;
+ font-style: normal;
+}
+
+
+@font-face {
+ font-family: 'GeneralSans';
+ src: url('/fonts/general-sans/GeneralSans-ExtralightItalic.woff2') format('woff2'),
+ url('/fonts/general-sans/GeneralSans-ExtralightItalic.woff') format('woff'),
+ url('/fonts/general-sans/GeneralSans-ExtralightItalic.ttf') format('truetype');
+ font-weight: 200;
+ font-display: swap;
+ font-style: italic;
+}
+
+
+@font-face {
+ font-family: 'GeneralSans';
+ src: url('/fonts/general-sans/GeneralSans-Light.woff2') format('woff2'),
+ url('/fonts/general-sans/GeneralSans-Light.woff') format('woff'),
+ url('/fonts/general-sans/GeneralSans-Light.ttf') format('truetype');
+ font-weight: 300;
+ font-display: swap;
+ font-style: normal;
+}
+
+
+@font-face {
+ font-family: 'GeneralSans';
+ src: url('/fonts/general-sans/GeneralSans-LightItalic.woff2') format('woff2'),
+ url('/fonts/general-sans/GeneralSans-LightItalic.woff') format('woff'),
+ url('/fonts/general-sans/GeneralSans-LightItalic.ttf') format('truetype');
+ font-weight: 300;
+ font-display: swap;
+ font-style: italic;
+}
+
+
+@font-face {
+ font-family: 'GeneralSans';
+ src: url('/fonts/general-sans/GeneralSans-Regular.woff2') format('woff2'),
+ url('/fonts/general-sans/GeneralSans-Regular.woff') format('woff'),
+ url('/fonts/general-sans/GeneralSans-Regular.ttf') format('truetype');
+ font-weight: 400;
+ font-display: swap;
+ font-style: normal;
+}
+
+
+@font-face {
+ font-family: 'GeneralSans';
+ src: url('/fonts/general-sans/GeneralSans-Italic.woff2') format('woff2'),
+ url('/fonts/general-sans/GeneralSans-Italic.woff') format('woff'),
+ url('/fonts/general-sans/GeneralSans-Italic.ttf') format('truetype');
+ font-weight: 400;
+ font-display: swap;
+ font-style: italic;
+}
+
+
+@font-face {
+ font-family: 'GeneralSans';
+ src: url('/fonts/general-sans/GeneralSans-Medium.woff2') format('woff2'),
+ url('/fonts/general-sans/GeneralSans-Medium.woff') format('woff'),
+ url('/fonts/general-sans/GeneralSans-Medium.ttf') format('truetype');
+ font-weight: 500;
+ font-display: swap;
+ font-style: normal;
+}
+
+
+@font-face {
+ font-family: 'GeneralSans';
+ src: url('/fonts/general-sans/GeneralSans-MediumItalic.woff2') format('woff2'),
+ url('/fonts/general-sans/GeneralSans-MediumItalic.woff') format('woff'),
+ url('/fonts/general-sans/GeneralSans-MediumItalic.ttf') format('truetype');
+ font-weight: 500;
+ font-display: swap;
+ font-style: italic;
+}
+
+
+@font-face {
+ font-family: 'GeneralSans';
+ src: url('/fonts/general-sans/GeneralSans-Semibold.woff2') format('woff2'),
+ url('/fonts/general-sans/GeneralSans-Semibold.woff') format('woff'),
+ url('/fonts/general-sans/GeneralSans-Semibold.ttf') format('truetype');
+ font-weight: 600;
+ font-display: swap;
+ font-style: normal;
+}
+
+
+@font-face {
+ font-family: 'GeneralSans';
+ src: url('/fonts/general-sans/GeneralSans-SemiboldItalic.woff2') format('woff2'),
+ url('/fonts/general-sans/GeneralSans-SemiboldItalic.woff') format('woff'),
+ url('/fonts/general-sans/GeneralSans-SemiboldItalic.ttf') format('truetype');
+ font-weight: 600;
+ font-display: swap;
+ font-style: italic;
+}
+
+
+@font-face {
+ font-family: 'GeneralSans';
+ src: url('/fonts/general-sans/GeneralSans-Bold.woff2') format('woff2'),
+ url('/fonts/general-sans/GeneralSans-Bold.woff') format('woff'),
+ url('/fonts/general-sans/GeneralSans-Bold.ttf') format('truetype');
+ font-weight: 700;
+ font-display: swap;
+ font-style: normal;
+}
+
+
+@font-face {
+ font-family: 'GeneralSans';
+ src: url('/fonts/general-sans/GeneralSans-BoldItalic.woff2') format('woff2'),
+ url('/fonts/general-sans/GeneralSans-BoldItalic.woff') format('woff'),
+ url('/fonts/general-sans/GeneralSans-BoldItalic.ttf') format('truetype');
+ font-weight: 700;
+ font-display: swap;
+ font-style: italic;
+}
+
diff --git a/client/server/tsconfig.json b/client/server/tsconfig.json
new file mode 100644
index 000000000..b9ed69c19
--- /dev/null
+++ b/client/server/tsconfig.json
@@ -0,0 +1,3 @@
+{
+ "extends": "../.nuxt/tsconfig.server.json"
+}
diff --git a/client/stores/app.js b/client/stores/app.js
new file mode 100644
index 000000000..4eb2af4ba
--- /dev/null
+++ b/client/stores/app.js
@@ -0,0 +1,71 @@
+
+import { defineStore } from 'pinia'
+import { nextTick } from 'vue'
+
+export const useAppStore = defineStore('app', {
+ state: () => ({
+ layout: 'default',
+
+ // App Loader
+ loader: {
+ percent: 0,
+ show: false,
+ canSuccess: true,
+ duration: 3000,
+ _timer: null,
+ _cut: null
+ }
+ }),
+ actions: {
+ setLayout (layout) {
+ this.layout = layout ?? 'default'
+ },
+ loaderIncrease (num) {
+ this.loader.percent = this.loader.percent + Math.floor(num)
+ },
+ loaderDecrease (num) {
+ this.loader.percent = this.loader.percent - Math.floor(num)
+ },
+ loaderFinish () {
+ this.loader.percent = 100
+ this.loaderHide()
+ },
+ loaderSetTimer (timerVal) {
+ this.loader._timer = timerVal
+ },
+ loaderPause () {
+ clearInterval(this.loader._timer)
+ },
+ loaderHide () {
+ this.loaderPause()
+ this.loader._timer = null
+ setTimeout(() => {
+ this.loader.show = false
+ nextTick(() => {
+ setTimeout(() => {
+ this.loader.percent = 0
+ }, 200)
+ })
+ }, 500)
+ },
+ loaderFail () {
+ this.loader.canSuccess = false
+ },
+ loaderStart () {
+ this.loader.show = true
+ this.loader.canSuccess = true
+ if (this.loader._timer) {
+ clearInterval(this.loader._timer)
+ this.loader.percent = 0
+ }
+ this.loader._cut = 10000 / Math.floor(this.loader.duration)
+
+ this.loaderSetTimer(setInterval(() => {
+ this.loaderIncrease(this.loader._cut * Math.random())
+ if (this.loader.percent > 95) {
+ this.loaderFinish()
+ }
+ }, 100))
+ }
+ }
+})
diff --git a/client/stores/auth.js b/client/stores/auth.js
new file mode 100644
index 000000000..0326e1051
--- /dev/null
+++ b/client/stores/auth.js
@@ -0,0 +1,70 @@
+import { defineStore } from 'pinia'
+import axios from 'axios'
+import Cookies from 'js-cookie'
+
+export const useAuthStore = defineStore('auth', {
+ state: () => ({
+ user: null,
+ token: Cookies.get('token'),
+
+ // For admin impersonation
+ admin_token: Cookies.get('admin_token') ?? null
+ }),
+ getters: {
+ check: (state) => (state.user !== null && state.user !== undefined),
+ isImpersonating: (state) => (state.admin_token !== null && state.admin_token !== undefined)
+ },
+ actions: {
+ // Stores admin token temporarily for impersonation
+ startImpersonating () {
+ this.admin_token = this.token
+ Cookies.set('admin_token', this.token, { expires: 365 })
+ },
+ // Stop admin impersonation
+ stopImpersonating () {
+ this.token = this.admin_token
+ this.admin_token = null
+ Cookies.set('token', this.token, { expires: 365 })
+ Cookies.remove('admin_token')
+ this.fetchUser()
+ },
+
+ saveToken (token, remember) {
+ this.token = token
+ Cookies.set('token', token, { expires: remember ? 365 : null })
+ },
+
+ async fetchUser () {
+ try {
+ const { data } = await axios.get('/api/user')
+ this.user = data
+
+ return data
+ } catch (e) {
+ this.token = null
+ Cookies.remove('token')
+ }
+ },
+
+ updateUser (payload) {
+ this.user = payload
+ },
+
+ load
+
+ async logout () {
+ try {
+ await axios.post('/api/logout')
+ } catch (e) { }
+
+ this.user = null
+ this.token = null
+ Cookies.remove('token')
+ },
+
+ async fetchOauthUrl (provider) {
+ const { data } = await axios.post(`/api/oauth/${provider}`)
+ return data.url
+ }
+ }
+})
diff --git a/client/stores/errors.js b/client/stores/errors.js
new file mode 100644
index 000000000..30d97ec2b
--- /dev/null
+++ b/client/stores/errors.js
@@ -0,0 +1,15 @@
+import { defineStore } from 'pinia'
+
+export const useErrorsStore = defineStore('errors', {
+ state: () => ({
+ content: null
+ }),
+ actions: {
+ set (error) {
+ this.content = error
+ },
+ clear () {
+ this.content = null
+ }
+ }
+})
diff --git a/client/stores/forms.js b/client/stores/forms.js
new file mode 100644
index 000000000..06c4239f5
--- /dev/null
+++ b/client/stores/forms.js
@@ -0,0 +1,82 @@
+import { defineStore } from 'pinia'
+import axios from 'axios'
+
+export const formsEndpoint = '/api/open/workspaces/{workspaceId}/forms'
+export let currentPage = 1
+
+export const useFormsStore = defineStore('forms', {
+ state: () => ({
+ content: [],
+ loading: false
+ }),
+ getters: {
+ getById: (state) => (id) => {
+ if (state.content.length === 0) return null
+ return state.content.find(item => item.id === id)
+ },
+ getBySlug: (state) => (slug) => {
+ if (state.content.length === 0) return null
+ return state.content.find(item => item.slug === slug)
+ },
+ getAllTags: (state) => {
+ if (state.content.length === 0) return []
+ let allTags = []
+ state.content.forEach(form => {
+ if(form.tags && form.tags.length > 0){
+ allTags = allTags.concat(form.tags)
+ }
+ })
+ return allTags.filter((item, i, ar) => ar.indexOf(item) === i)
+ }
+ },
+ actions: {
+ set (items) {
+ this.content = items
+ },
+ append (items) {
+ this.content = this.content.concat(items)
+ },
+ addOrUpdate (item) {
+ this.content = this.content.filter((val) => val.id !== item.id)
+ this.content.push(item)
+ },
+ remove (item) {
+ this.content = this.content.filter((val) => val.id !== item.id)
+ },
+ startLoading () {
+ this.loading = true
+ },
+ stopLoading () {
+ this.loading = false
+ },
+ resetState () {
+ this.set([])
+ this.stopLoading()
+ currentPage = 1
+ },
+ load (workspaceId) {
+ this.startLoading()
+ return axios.get(formsEndpoint.replace('{workspaceId}', workspaceId)+'?page='+currentPage).then((response) => {
+ if (currentPage == 1) {
+ this.set(response.data.data)
+ } else {
+ this.append(response.data.data)
+ }
+ if (currentPage < response.data.meta.last_page) {
+ currentPage += 1
+ this.load(workspaceId)
+ } else {
+ this.stopLoading()
+ currentPage = 1
+ }
+ })
+ },
+ loadIfEmpty (workspaceId) {
+ if (this.content.length === 0) {
+ return this.load(workspaceId)
+ }
+ this.stopLoading()
+ return Promise.resolve()
+ }
+ }
+})
diff --git a/client/stores/records.js b/client/stores/records.js
new file mode 100644
index 000000000..b5d7c1f93
--- /dev/null
+++ b/client/stores/records.js
@@ -0,0 +1,49 @@
+import { defineStore } from 'pinia'
+
+export const namespaced = true
+
+/**
+ * Loads records from database
+ */
+export const useRecordsStore = defineStore('records', {
+ state: () => ({
+ content: [],
+ loading: false
+ }),
+ getters: {
+ getById: (state) => (id) => {
+ if (state.content.length === 0) return null
+ return state.content.find(item => item.submission_id === id)
+ }
+ },
+ actions: {
+ set (items) {
+ this.content = items
+ },
+ addOrUpdate (item) {
+ this.content = this.content.filter((val) => val.id !== item.id)
+ this.content.push(item)
+ },
+ remove (itemId) {
+ this.content = this.content.filter((val) => val.id !== itemId)
+ },
+ startLoading () {
+ this.loading = true
+ },
+ stopLoading () {
+ this.loading = false
+ },
+ resetState () {
+ this.set([])
+ this.stopLoading()
+ },
+ loadRecord (request) {
+ this.set([])
+ this.startLoading()
+ return request.then((data) => {
+ this.addOrUpdate(data)
+ this.stopLoading()
+ })
+ }
+ }
+})
\ No newline at end of file
diff --git a/client/stores/templates.js b/client/stores/templates.js
new file mode 100644
index 000000000..8aab7f3fe
--- /dev/null
+++ b/client/stores/templates.js
@@ -0,0 +1,120 @@
+import axios from 'axios'
+import { defineStore } from 'pinia'
+
+export const templatesEndpoint = '/api/templates'
+
+
+export const useTemplatesStore = defineStore('templates', {
+ state: () => ({
+ content: [],
+ industries: {},
+ types: {},
+ allLoaded: false,
+ loading: false
+ }),
+ getters: {
+ getBySlug: (state) => (slug) => {
+ if (state.content.length === 0) return null
+ return state.content.find(item => item.slug === slug)
+ },
+ getTemplateTypes: (state) => (slugs) => {
+ if (state.types.length === 0) return null
+ return Object.values(state.types).filter((val) => slugs.includes(val.slug)).map((item) => { return item.name })
+ },
+ getTemplateIndustries: (state) => (slugs) => {
+ if (state.industries.length === 0) return null
+ return Object.values(state.industries).filter((val) => slugs.includes(val.slug)).map((item) => { return item.name })
+ }
+ },
+ actions: {
+ set (items) {
+ this.content = items
+ this.allLoaded = true
+ },
+ append (items) {
+ const ids = items.map((item) => { return item.id })
+ this.content = this.content.filter((val) => !ids.includes(val.id))
+ this.content = this.content.concat(items)
+ },
+ addOrUpdate (item) {
+ this.content = this.content.filter((val) => val.id !== item.id)
+ this.content.push(item)
+ },
+ remove (item) {
+ this.content = this.content.filter((val) => val.id !== item.id)
+ },
+ startLoading () {
+ this.loading = true
+ },
+ stopLoading () {
+ this.loading = false
+ },
+ setAllLoaded (val) {
+ this.allLoaded = val
+ },
+ resetState () {
+ this.set([])
+ this.stopLoading()
+ },
+ loadTypesAndIndustries () {
+ if (Object.keys(this.industries).length === 0) {
+ import('@/data/forms/templates/industries.json').then((module) => {
+ this.industries = module.default
+ })
+ }
+ if (Object.keys(this.types).length === 0) {
+ import('@/data/forms/templates/types.json').then((module) => {
+ this.types = module.default
+ })
+ }
+ },
+ loadTemplate (slug) {
+ this.startLoading()
+ this.loadTypesAndIndustries()
+
+ if (this.getBySlug(slug)) {
+ this.stopLoading()
+ return Promise.resolve()
+ }
+
+ return axios.get(templatesEndpoint + '/' + slug).then((response) => {
+ this.addOrUpdate(response.data)
+ this.stopLoading()
+ }).catch((error) => {
+ this.stopLoading()
+ })
+ },
+ loadAll (options=null) {
+ this.startLoading()
+ this.loadTypesAndIndustries()
+
+ // Prepare with options
+ let queryStr = ''
+ if(options !== null){
+ for (const [key, value] of Object.entries(options)) {
+ queryStr += '&' + encodeURIComponent(key) + '=' + encodeURIComponent(value)
+ }
+ queryStr = queryStr.slice(1)
+ }
+ return axios.get((queryStr) ? templatesEndpoint + '?' + queryStr : templatesEndpoint).then((response) => {
+ if(options !== null){
+ this.set(response.data)
+ this.setAllLoaded(false)
+ } else {
+ this.append(response.data)
+ this.setAllLoaded(true)
+ }
+ this.stopLoading()
+ }).catch((error) => {
+ this.stopLoading()
+ })
+ },
+ loadIfEmpty () {
+ if (!this.allLoaded) {
+ return this.loadAll()
+ }
+ this.stopLoading()
+ return Promise.resolve()
+ }
+ }
+})
diff --git a/client/stores/working_form.js b/client/stores/working_form.js
new file mode 100644
index 000000000..1b48e835b
--- /dev/null
+++ b/client/stores/working_form.js
@@ -0,0 +1,50 @@
+import { defineStore } from 'pinia'
+
+
+
+export const useWorkingFormStore = defineStore('working_form', {
+ state: () => ({
+ content: null,
+
+ // Field being edited
+ selectedFieldIndex: null,
+ showEditFieldSidebar: null,
+ showAddFieldSidebar: null
+ }),
+ actions: {
+ set (form) {
+ this.content = form
+ },
+ setProperties (properties) {
+ this.content.properties = properties
+ },
+ openSettingsForField (index) {
+ // If field is passed, compute index
+ if (typeof index === 'object') {
+ index = this.content.properties.findIndex(prop => prop.id === index.id)
+ }
+ this.selectedFieldIndex = index
+ this.showEditFieldSidebar = true
+ this.showAddFieldSidebar = false
+ },
+ closeEditFieldSidebar () {
+ this.selectedFieldIndex = null
+ this.showEditFieldSidebar = false
+ this.showAddFieldSidebar = false
+ },
+ openAddFieldSidebar (index) {
+ // If field is passed, compute index
+ if (index !== null && typeof index === 'object') {
+ index = this.content.properties.findIndex(prop => prop.id === index.id)
+ }
+ this.selectedFieldIndex = index
+ this.showAddFieldSidebar = true
+ this.showEditFieldSidebar = false
+ },
+ closeAddFieldSidebar () {
+ this.selectedFieldIndex = null
+ this.showAddFieldSidebar = false
+ this.showEditFieldSidebar = false
+ }
+ }
+})
diff --git a/client/stores/workspaces.js b/client/stores/workspaces.js
new file mode 100644
index 000000000..73c510104
--- /dev/null
+++ b/client/stores/workspaces.js
@@ -0,0 +1,95 @@
+import axios from 'axios'
+import { defineStore } from 'pinia'
+export const workspaceEndpoint = '/api/open/workspaces/'
+
+const localStorageCurrentWorkspaceKey = 'currentWorkspace'
+
+export const useWorkspacesStore = defineStore('workspaces', {
+ state: () => ({
+ content: [],
+ currentId: null,
+ loading: false
+ }),
+ getters: {
+ getById: (state) => (id) => {
+ if (state.content.length === 0) return null
+ return state.content.find(item => item.id === id)
+ },
+ getCurrent: (state) => () => {
+ if (state.content.length === 0 || state.currentId === null) return null
+ return state.content.find(item => item.id === state.currentId)
+ }
+ },
+ actions: {
+ set (items) {
+ this.content = items
+ if (this.currentId == null && this.content.length > 0) {
+ // If one only, set it
+ if (this.content.length === 1) {
+ this.currentId = items[0].id
+ localStorage.setItem(localStorageCurrentWorkspaceKey, this.currentId)
+ } else if (localStorage.getItem(localStorageCurrentWorkspaceKey) && this.content.find(item => item.id === parseInt(localStorage.getItem(localStorageCurrentWorkspaceKey)))) {
+ // Check local storage for current workspace, or take first
+ this.currentId = parseInt(localStorage.getItem(localStorageCurrentWorkspaceKey))
+ localStorage.setItem(localStorageCurrentWorkspaceKey, this.currentId)
+ } else {
+ // Else, take first
+ this.currentId = items[0].id
+ localStorage.setItem(localStorageCurrentWorkspaceKey, this.currentId)
+ }
+ } else {
+ localStorage.removeItem(localStorageCurrentWorkspaceKey)
+ }
+ },
+ setCurrentId (id) {
+ this.currentId = id
+ localStorage.setItem(localStorageCurrentWorkspaceKey, id)
+ },
+ addOrUpdate (item) {
+ this.content = this.content.filter((val) => val.id !== item.id)
+ this.content.push(item)
+ if (this.currentId == null) {
+ this.currentId = item.id
+ localStorage.setItem(localStorageCurrentWorkspaceKey, this.currentId)
+ }
+ },
+ remove (itemId) {
+ this.content = this.content.filter((val) => val.id !== itemId)
+ if (this.currentId === itemId) {
+ this.currentId = this.content.length > 0 ? this.content[0].id : null
+ localStorage.setItem(localStorageCurrentWorkspaceKey, this.currentId)
+ }
+ },
+ startLoading () {
+ this.loading = true
+ },
+ stopLoading () {
+ this.loading = false
+ },
+ resetState () {
+ this.set([])
+ this.stopLoading()
+ },
+ load () {
+ this.set([])
+ this.startLoading()
+ return axios.get(workspaceEndpoint).then((response) => {
+ this.set(response.data)
+ this.stopLoading()
+ })
+ },
+ loadIfEmpty () {
+ if (this.content.length === 0) {
+ return this.load()
+ }
+ return Promise.resolve()
+ },
+ delete (id) {
+ this.startLoading()
+ return axios.delete(workspaceEndpoint + id).then((response) => {
+ this.remove(response.data.workspace_id)
+ this.stopLoading()
+ })
+ }
+ }
+})
diff --git a/client/tailwind.config.js b/client/tailwind.config.js
new file mode 100644
index 000000000..ae0d3b57a
--- /dev/null
+++ b/client/tailwind.config.js
@@ -0,0 +1,92 @@
+const colors = require('tailwindcss/colors')
+const plugin = require('tailwindcss/plugin')
+
+module.exports = {
+ content: [
+ "./components/**/*.{js,vue,ts}",
+ "./layouts/**/*.vue",
+ "./pages/**/*.vue",
+ "./plugins/**/*.{js,ts}",
+ "./app.vue",
+ "./error.vue",
+ ],
+ safelist: [
+ {
+ pattern: /.*bg-(blue|gray|red|yellow|green).*/,
+ },
+ ...['green', 'red', 'blue', 'yellow'].map((color) => ['bg-' + color + '-100', 'border-' + color + '-500']).flat() // Alerts
+ ],
+ darkMode: 'class', // or 'media' or 'class'
+ theme: {
+ extend: {
+ keyframes: {
+ 'bonce-slow': {
+ '0%, 20%': {transform: 'translateY(0)'},
+ '8%': {transform: 'translateY(-25%)'},
+ '16%': {transform: 'translateY(+10%)'}
+ },
+ 'infinite-scroll': {
+ from: { transform: 'translateX(0)' },
+ to: { transform: 'translateX(-100%)' },
+ }
+ },
+ animation: {
+ 'bounce-slow': 'bonce-slow 3s ease-in-out infinite',
+ 'infinite-scroll': 'infinite-scroll 50s linear infinite',
+ },
+ maxHeight: {
+ 42: '10.5rem'
+ },
+ minHeight: {
+ 6: '1.5rem',
+ 8: '2rem'
+ },
+ maxWidth: {
+ 15: '15rem',
+ 10: '10rem',
+ 8: '2rem'
+ },
+ translate: {
+ 5.5: '1.4rem'
+ },
+ boxShadow: {
+ 'inner-notion': '#0f0f0f1a 0px 0px 0px 1px inset',
+ 'focus-notion': '#2eaadcb3 0px 0px 0px 1px inset, #2eaadc66 0px 0px 0px 2px !important'
+ },
+ colors: {
+ gray: colors.slate,
+ 'nt-blue': {
+ lighter: colors.blue['100'],
+ light: colors.blue['300'],
+ default: colors.blue['600'],
+ DEFAULT: colors.blue['600'],
+ dark: colors.blue['800']
+ },
+ 'notion-dark': {
+ DEFAULT: '#191919',
+ light: '#2e2e2e'
+ },
+ 'notion-input': {
+ background: '#F7F6F3',
+ backgroundDark: '#272B2C',
+ help: '#37352f99',
+ helpDark: '#fff9'
+ },
+ 'form-color': 'var(--bg-form-color)'
+ },
+ transitionProperty: {
+ height: 'height',
+ width: 'width',
+ maxWidth: 'max-width',
+ spacing: 'margin, padding'
+ }
+ }
+ },
+ plugins: [
+ require('@tailwindcss/aspect-ratio'),
+ plugin(function({ addVariant }) {
+ addVariant('between', '&:not(:first-child):not(:last-child)')
+ addVariant('hocus', ['&:hover', '&:focus'])
+ })
+ ]
+}
diff --git a/client/tsconfig.json b/client/tsconfig.json
new file mode 100644
index 000000000..a746f2a70
--- /dev/null
+++ b/client/tsconfig.json
@@ -0,0 +1,4 @@
+{
+ // https://nuxt.com/docs/guide/concepts/typescript
+ "extends": "./.nuxt/tsconfig.json"
+}
diff --git a/package.json b/package.json
index fd1d3ee5b..92b0e8038 100644
--- a/package.json
+++ b/package.json
@@ -36,8 +36,8 @@
"vue-country-flag-next": "^2.3.2",
"vue-i18n": "^8.25.0",
"vue-meta": "^3.0.0-alpha.2",
- "vue-notion": "^3.0.0-beta.1",
"vue-router": "^4.2.5",
+ "vue-notion": "^3.0.0-beta.1",
"vue-signature-pad": "^3.0.2",
"vue3-editor": "^0.1.1",
"vue3-vt-notifications": "^1.0.0",
diff --git a/resources/js/components/pages/welcome/Features.vue b/resources/js/components/pages/welcome/Features.vue
index 5a9bb2a0d..1251db8a3 100644
--- a/resources/js/components/pages/welcome/Features.vue
+++ b/resources/js/components/pages/welcome/Features.vue
@@ -20,7 +20,7 @@
'Build a simple form in minutes.',
'No coding needed.'
],
- img: 'img/pages/welcome/step-1.jpg'
+ img: '/img/pages/welcome/step-1.jpg'
},
{
title: 'Share',
@@ -29,7 +29,7 @@
'Share the link to your form',
'Embed the form on your website'
],
- img: 'img/pages/welcome/step-2.jpg'
+ img: '/img/pages/welcome/step-2.jpg'
},
{
title: 'Get Results',
@@ -39,7 +39,7 @@
'Easily export submissions as CSV',
'Views & Submissions Analytics'
],
- img: 'img/pages/welcome/step-3.jpg'
+ img: '/img/pages/welcome/step-3.jpg'
}
]" :key="step.title">
<div class="w-full md:w-1/2 lg:w-5/12" :class="{'md:pl-4':index%2==1, 'md:pr-4':index%2==0}">
@@ -85,7 +85,7 @@
<div class="w-full md:w-1/2 lg:w-7/12 flex items-center justify-center relative w-full"
:class="{'md:pr-8':index%2==1, 'md:pl-8':index%2==0}">
<img loading="lazy" class="block rounded-2xl w-full"
- :src="asset(step.img)" alt="cover-product">
+ :src="step.img" alt="cover-product">
</div>
</div>
diff --git a/resources/js/plugins/config/vue-tailwind/datePicker.js b/resources/js/plugins/config/vue-tailwind/datePicker.js
deleted file mode 100644
index 4c78b0a24..000000000
--- a/resources/js/plugins/config/vue-tailwind/datePicker.js
+++ /dev/null
@@ -1,19 +0,0 @@
-export const fixedClasses = {
- input: 'rounded-lg border-transparent flex-1 appearance-none border border-gray-300 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-1 focus:ring-opacity-100 focus:border-transparent focus:ring-2 ring-blue-500',
- navigator: 'flex',
- navigatorViewButton: 'flex items-center',
- navigatorViewButtonIcon: 'flex-shrink-0 h-5 w-5',
- navigatorViewButtonBackIcon: 'flex-shrink-0 h-5 w-5',
- navigatorLabel: 'flex items-center py-1',
- navigatorPrevButtonIcon: 'h-6 w-6 inline-flex',
- navigatorNextButtonIcon: 'h-6 w-6 inline-flex',
- inputWrapper: 'relative',
- viewGroup: 'inline-flex flex-wrap',
- view: 'w-64',
- calendarDaysWrapper: 'grid grid-cols-7',
- calendarHeaderWrapper: 'grid grid-cols-7',
- monthWrapper: 'grid grid-cols-4',
- yearWrapper: 'grid grid-cols-4',
- clearButton: 'flex flex-shrink-0 items-center justify-center absolute right-0 top-0 m-2 h-6 w-6',
- clearButtonIcon: 'fill-current h-3 w-3'
-}
diff --git a/resources/sass/app.scss b/resources/sass/app.scss
index bf630dc47..e1dabfa6f 100644
--- a/resources/sass/app.scss
+++ b/resources/sass/app.scss
@@ -55,4 +55,4 @@ body.dark * {
p {
@apply text-gray-400 dark:text-gray-500;
}
-}
\ No newline at end of file
+}