@bigbinary/neeto-form-frontend 4.4.35 → 4.4.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/.ready +1 -1
  2. package/dist/BuildForm.js +4 -4
  3. package/dist/BuildForm.js.map +1 -1
  4. package/dist/cjs/BuildForm.js +4 -4
  5. package/dist/cjs/BuildForm.js.map +1 -1
  6. package/dist/cjs/v2/BuildForm.js +107 -133
  7. package/dist/cjs/v2/BuildForm.js.map +1 -1
  8. package/dist/cjs/v2/ExternalForm.js +15 -41
  9. package/dist/cjs/v2/ExternalForm.js.map +1 -1
  10. package/dist/cjs/v2/Submission.js +4 -3
  11. package/dist/cjs/v2/Submission.js.map +1 -1
  12. package/dist/cjs/v2/UrlBuilder.js +5 -32
  13. package/dist/cjs/v2/UrlBuilder.js.map +1 -1
  14. package/dist/cjs/v2/index.js +26 -56
  15. package/dist/cjs/v2/index.js.map +1 -1
  16. package/dist/cjs/v2/{utils-DO12kVcq.js → utils-DHGS4O20.js} +9 -14
  17. package/dist/cjs/v2/utils-DHGS4O20.js.map +1 -0
  18. package/dist/cjs/v2/{yup-DH3aFnam.js → yup-B-A1W_Vi.js} +26 -48
  19. package/dist/cjs/v2/yup-B-A1W_Vi.js.map +1 -0
  20. package/dist/v2/BuildForm.js +107 -133
  21. package/dist/v2/BuildForm.js.map +1 -1
  22. package/dist/v2/ExternalForm.js +14 -40
  23. package/dist/v2/ExternalForm.js.map +1 -1
  24. package/dist/v2/Submission.js +4 -3
  25. package/dist/v2/Submission.js.map +1 -1
  26. package/dist/v2/UrlBuilder.js +5 -32
  27. package/dist/v2/UrlBuilder.js.map +1 -1
  28. package/dist/v2/index.js +21 -51
  29. package/dist/v2/index.js.map +1 -1
  30. package/dist/v2/main.css +1 -1
  31. package/dist/v2/main.css.map +1 -1
  32. package/dist/v2/{utils-CW12NXEG.js → utils-CemGJeLy.js} +6 -11
  33. package/dist/v2/utils-CemGJeLy.js.map +1 -0
  34. package/dist/v2/{yup-Cddsv0mm.js → yup-eUr74YY2.js} +21 -43
  35. package/dist/v2/yup-eUr74YY2.js.map +1 -0
  36. package/package.json +9 -7
  37. package/dist/cjs/v2/utils-DO12kVcq.js.map +0 -1
  38. package/dist/cjs/v2/yup-DH3aFnam.js.map +0 -1
  39. package/dist/v2/utils-CW12NXEG.js.map +0 -1
  40. package/dist/v2/yup-Cddsv0mm.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"UrlBuilder.js","sources":["../../app/javascript/src/v2/components/UrlBuilder/utils.js","../../app/javascript/src/v2/components/UrlBuilder/index.jsx"],"sourcesContent":["import { parsePhoneNumber } from \"libphonenumber-js\";\nimport { findById, isPresent } from \"neetocist\";\nimport { filter, map, mergeLeft, pluck } from \"ramda\";\n\nimport { QUESTIONS_WITHOUT_FIELD_CODE } from \"v2/components/BuildForm/constants\";\nimport { QUESTION_KIND } from \"v2/components/ExternalForm/constants\";\n\nexport const getPreFillableQuestions = questions => {\n const modifiedQuestions = questions.map(question => {\n const modified = mergeLeft(\n { isRequired: false, isReadOnly: false },\n question\n );\n\n if (modified.kind === QUESTION_KIND.ADDRESS.value) {\n return {\n ...modified,\n fields: map(mergeLeft({ isRequired: false }), modified.fields || []),\n };\n }\n\n return modified;\n });\n\n return modifiedQuestions.filter(\n question => !QUESTIONS_WITHOUT_FIELD_CODE.includes(question.kind)\n );\n};\n\nexport const buildQueryParameters = (responses, questions) => {\n const filteredResponses = filter(isPresent, responses);\n\n const queryParameters = {};\n questions.forEach(question => {\n const { id, kind, fieldCode, optionsAttributes, isSplitMode, fields } =\n question;\n\n if (QUESTIONS_WITHOUT_FIELD_CODE.includes(kind)) return;\n\n const response = filteredResponses[id];\n\n if (!response) return;\n\n switch (kind) {\n case QUESTION_KIND.NAME.value: {\n if (isSplitMode) {\n queryParameters[`${fieldCode}.first_name`] = response.firstName;\n queryParameters[`${fieldCode}.last_name`] = response.lastName;\n } else {\n queryParameters[fieldCode] = response.fullName;\n }\n\n return;\n }\n case QUESTION_KIND.ADDITIONAL_GUESTS.value: {\n queryParameters[fieldCode] = pluck(\"label\", response).join(\",\");\n\n return;\n }\n case QUESTION_KIND.CHECKBOX.value: {\n const selectedLabels = response\n .map((value, index) => value && optionsAttributes[index]?.label)\n .filter(Boolean);\n\n queryParameters[fieldCode] = isPresent(selectedLabels)\n ? selectedLabels.join(\",\")\n : undefined;\n\n return;\n }\n case QUESTION_KIND.RADIO.value:\n case QUESTION_KIND.DROPDOWN.value: {\n queryParameters[fieldCode] = findById(\n response,\n optionsAttributes\n )?.label;\n\n return;\n }\n case QUESTION_KIND.SPOT.value: {\n queryParameters[fieldCode] = response?.value ?? response;\n\n return;\n }\n case QUESTION_KIND.PHONE.value:\n case QUESTION_KIND.SMS_REMINDER.value: {\n const parsedNumber = parsePhoneNumber(response);\n queryParameters[`${fieldCode}.country`] = parsedNumber.country;\n queryParameters[`${fieldCode}.number`] = parsedNumber.nationalNumber;\n\n return;\n }\n case QUESTION_KIND.STAR_RATING.value:\n case QUESTION_KIND.OPINION_SCALE.value: {\n queryParameters[fieldCode] = parseInt(response);\n\n return;\n }\n case QUESTION_KIND.ADDRESS.value: {\n fields?.forEach(field => {\n const value = response[field.id];\n if (isPresent(value)) {\n queryParameters[`${fieldCode}.${field.label}`] = value;\n }\n });\n\n return;\n }\n default: {\n queryParameters[fieldCode] = response;\n\n return;\n }\n }\n });\n\n return queryParameters;\n};\n","import { useRef } from \"react\";\n\nimport { Typography, Button, Empty } from \"@bigbinary/neeto-atoms\";\nimport classNames from \"classnames\";\nimport { Formik, Form } from \"formik\";\nimport { noop } from \"neetocist\";\nimport useHotkeys from \"neetohotkeys\";\nimport PageLoader from \"neetomolecules/v2/PageLoader\";\nimport PropTypes from \"prop-types\";\nimport { isEmpty } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { usePublicForm } from \"hooks/useFormApi\";\nimport FormikWrap from \"v2/components/Common/FormikWrap\";\n\nimport { buildQueryParameters, getPreFillableQuestions } from \"./utils\";\n\nimport { getFieldComponent } from \"../ExternalForm/Fields/utils\";\nimport {\n generateInitValues,\n mergeRefs,\n buildAutoCompleteAttribute,\n} from \"../ExternalForm/utils\";\n\nconst UrlBuilder = ({\n formId,\n showTitle = true,\n formTitle,\n titleProps,\n onSubmitSuccess,\n submitButtonProps,\n cancelButtonProps,\n resetButtonProps,\n showEmptyState = true,\n className,\n onChange,\n formDomProps,\n editorProps = {},\n customValidator,\n autoCompleteKinds = [],\n}) => {\n const formRef = useRef();\n const formikInnerRef = useRef();\n const editorRef = useRef();\n\n const { t } = useTranslation();\n\n const onSubmit = (values, { setSubmitting }) => {\n onSubmitSuccess?.({\n values,\n queryParameters: buildQueryParameters(values, questions),\n });\n\n setSubmitting(false);\n };\n\n const onReset = (e, handleReset) => {\n editorRef?.current?.editor?.commands?.setContent(\"\");\n handleReset(e);\n formDomProps?.onReset?.(e);\n };\n\n const handleScrollToError = errors => {\n if (!formRef.current) return;\n const errorKeys = Object.keys(errors);\n if (isEmpty(errorKeys)) return;\n for (const formElement of formRef.current) {\n if (errorKeys.includes(formElement.name)) {\n formElement.scrollIntoView({ behavior: \"smooth\", block: \"center\" });\n break;\n }\n }\n };\n\n const { data: form = { title: \"\", questions: [] }, isLoading } =\n usePublicForm({\n formId,\n placeholderData: { isQuestionsLoading: true },\n });\n\n const keyPressRef = useHotkeys(\n \"command+enter\",\n formikInnerRef.current?.handleSubmit || noop,\n { mode: \"scoped\" }\n );\n\n if (isLoading || form.isQuestionsLoading) {\n return (\n <div className=\"flex h-full w-full items-center justify-center\">\n <PageLoader />\n </div>\n );\n }\n\n const { title, questions } = form;\n\n const modifiedQuestions = getPreFillableQuestions(questions);\n\n return (\n <>\n {showTitle && (\n <div className=\"py-6 text-center\">\n <Typography\n className=\"text-foreground\"\n variant=\"h4\"\n weight=\"semibold\"\n {...titleProps}\n >\n {formTitle || title}\n </Typography>\n </div>\n )}\n <Formik\n {...{ onSubmit }}\n enableReinitialize\n initialValues={generateInitValues({ questions: modifiedQuestions })}\n innerRef={formikInnerRef}\n >\n {({ isSubmitting, errors, setFieldError, handleReset }) => (\n <FormikWrap\n {...{ formId }}\n preserveValues={false}\n onError={handleScrollToError}\n onValuesChange={onChange}\n >\n <Form\n noValidate\n ref={mergeRefs(formRef, keyPressRef)}\n className={classNames(\n \"neeto-form-engine-form relative space-y-4\",\n className\n )}\n onChange={event => {\n if (isEmpty(errors)) return;\n setFieldError(event.target.name, \"\");\n }}\n {...formDomProps}\n onReset={e => onReset(e, handleReset)}\n >\n <div className=\"neeto-form-engine-questions-wrapper space-y-4 overflow-auto pe-4\">\n {modifiedQuestions.map(question => {\n const FieldComponent = getFieldComponent(question);\n\n return (\n <FieldComponent\n {...{ editorProps, editorRef, question }}\n isUrlBuilderPreview\n customValidator={customValidator?.(question)}\n key={question.id ?? question.nodeId}\n autoComplete={buildAutoCompleteAttribute(\n question.kind,\n autoCompleteKinds,\n formDomProps\n )}\n />\n );\n })}\n {showEmptyState && isEmpty(modifiedQuestions) && (\n <div className=\"flex flex-col items-center justify-center gap-y-4 py-8\">\n <Empty\n className=\"min-h-80\"\n title={t(\"neetoForm.questions.common.noData\")}\n />\n </div>\n )}\n </div>\n {!isEmpty(modifiedQuestions) && (\n <div className=\"mt-8 flex items-center justify-start gap-x-2\">\n <Button\n disabled={isSubmitting}\n label={t(\"neetoForm.common.generateLink\")}\n loading={isSubmitting}\n type=\"submit\"\n {...submitButtonProps}\n />\n {resetButtonProps && (\n <Button\n label={t(\"neetoForm.common.reset\")}\n type=\"reset\"\n variant=\"outline\"\n {...resetButtonProps}\n />\n )}\n {cancelButtonProps && (\n <Button\n label={t(\"neetoForm.common.cancel\")}\n {...cancelButtonProps}\n />\n )}\n </div>\n )}\n </Form>\n </FormikWrap>\n )}\n </Formik>\n </>\n );\n};\n\nUrlBuilder.propTypes = {\n formId: PropTypes.string,\n onSubmitSuccess: PropTypes.func,\n showTitle: PropTypes.bool,\n submitButtonProps: PropTypes.object,\n cancelButtonProps: PropTypes.object,\n showSuccessToastr: PropTypes.bool,\n showEmptyState: PropTypes.bool,\n className: PropTypes.string,\n};\n\nexport default UrlBuilder;\n"],"names":["getPreFillableQuestions","questions","modifiedQuestions","map","question","modified","mergeLeft","isRequired","isReadOnly","kind","QUESTION_KIND","ADDRESS","value","_objectSpread","fields","filter","QUESTIONS_WITHOUT_FIELD_CODE","includes","buildQueryParameters","responses","filteredResponses","isPresent","queryParameters","forEach","id","fieldCode","optionsAttributes","isSplitMode","response","NAME","concat","firstName","lastName","fullName","ADDITIONAL_GUESTS","pluck","join","CHECKBOX","selectedLabels","index","_optionsAttributes$in","label","Boolean","undefined","RADIO","DROPDOWN","_findById","findById","SPOT","_response$value","PHONE","SMS_REMINDER","parsedNumber","parsePhoneNumber","country","nationalNumber","STAR_RATING","OPINION_SCALE","parseInt","field","UrlBuilder","_ref","_formikInnerRef$curre","formId","_ref$showTitle","showTitle","formTitle","titleProps","onSubmitSuccess","submitButtonProps","cancelButtonProps","resetButtonProps","_ref$showEmptyState","showEmptyState","className","onChange","formDomProps","_ref$editorProps","editorProps","customValidator","_ref$autoCompleteKind","autoCompleteKinds","formRef","useRef","formikInnerRef","editorRef","_useTranslation","useTranslation","t","onSubmit","values","_ref2","setSubmitting","onReset","e","handleReset","_editorRef$current","_formDomProps$onReset","current","editor","commands","setContent","call","handleScrollToError","errors","errorKeys","Object","keys","isEmpty","_iterator","_createForOfIteratorHelper","_step","s","n","done","formElement","name","scrollIntoView","behavior","block","err","f","_usePublicForm","usePublicForm","placeholderData","isQuestionsLoading","_usePublicForm$data","data","form","title","isLoading","keyPressRef","useHotkeys","handleSubmit","noop","mode","_jsx","children","PageLoader","_jsxs","_Fragment","Typography","variant","weight","Formik","enableReinitialize","initialValues","generateInitValues","innerRef","_ref3","isSubmitting","setFieldError","FormikWrap","preserveValues","onError","onValuesChange","Form","noValidate","ref","mergeRefs","classNames","event","target","_question$id","FieldComponent","getFieldComponent","_createElement","is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;eAAS,EACbvE,gBAAgB,CACrB,CACF,EACAD,iBAAiB,iBAChBkE,GAAA,CAACqC,MAAM,EAAAhK,aAAA,CAAA;gBACL4B,KAAK,EAAE+C,CAAC,CAAC,yBAAyB;eAAE,EAChClB,iBAAiB,CACtB,CACF;AAAA,aACE,CACN;WAAA,CACG;AAAC,SACG,CAAC;AAAA,MAAA;AACd,KACK,CAAC;AAAA,GACT,CAAC;AAEP;;;;"}
1
+ {"version":3,"file":"UrlBuilder.js","sources":["../../app/javascript/src/v2/components/UrlBuilder/utils.js","../../app/javascript/src/v2/components/UrlBuilder/index.jsx"],"sourcesContent":["import { parsePhoneNumber } from \"libphonenumber-js\";\nimport { findById, isPresent } from \"neetocist\";\nimport { filter, map, mergeLeft, pluck } from \"ramda\";\n\nimport { QUESTIONS_WITHOUT_FIELD_CODE } from \"v2/components/BuildForm/constants\";\nimport { QUESTION_KIND } from \"v2/components/ExternalForm/constants\";\n\nexport const getPreFillableQuestions = questions => {\n const modifiedQuestions = questions.map(question => {\n const modified = mergeLeft(\n { isRequired: false, isReadOnly: false },\n question\n );\n\n if (modified.kind === QUESTION_KIND.ADDRESS.value) {\n return {\n ...modified,\n fields: map(mergeLeft({ isRequired: false }), modified.fields || []),\n };\n }\n\n return modified;\n });\n\n return modifiedQuestions.filter(\n question => !QUESTIONS_WITHOUT_FIELD_CODE.includes(question.kind)\n );\n};\n\nexport const buildQueryParameters = (responses, questions) => {\n const filteredResponses = filter(isPresent, responses);\n\n const queryParameters = {};\n questions.forEach(question => {\n const { id, kind, fieldCode, optionsAttributes, isSplitMode, fields } =\n question;\n\n if (QUESTIONS_WITHOUT_FIELD_CODE.includes(kind)) return;\n\n const response = filteredResponses[id];\n\n if (!response) return;\n\n switch (kind) {\n case QUESTION_KIND.NAME.value: {\n if (isSplitMode) {\n queryParameters[`${fieldCode}.first_name`] = response.firstName;\n queryParameters[`${fieldCode}.last_name`] = response.lastName;\n } else {\n queryParameters[fieldCode] = response.fullName;\n }\n\n return;\n }\n case QUESTION_KIND.ADDITIONAL_GUESTS.value: {\n queryParameters[fieldCode] = pluck(\"label\", response).join(\",\");\n\n return;\n }\n case QUESTION_KIND.CHECKBOX.value: {\n const selectedLabels = response\n .map((value, index) => value && optionsAttributes[index]?.label)\n .filter(Boolean);\n\n queryParameters[fieldCode] = isPresent(selectedLabels)\n ? selectedLabels.join(\",\")\n : undefined;\n\n return;\n }\n case QUESTION_KIND.RADIO.value:\n case QUESTION_KIND.DROPDOWN.value: {\n queryParameters[fieldCode] = findById(\n response,\n optionsAttributes\n )?.label;\n\n return;\n }\n case QUESTION_KIND.SPOT.value: {\n queryParameters[fieldCode] = response?.value ?? response;\n\n return;\n }\n case QUESTION_KIND.PHONE.value:\n case QUESTION_KIND.SMS_REMINDER.value: {\n const parsedNumber = parsePhoneNumber(response);\n queryParameters[`${fieldCode}.country`] = parsedNumber.country;\n queryParameters[`${fieldCode}.number`] = parsedNumber.nationalNumber;\n\n return;\n }\n case QUESTION_KIND.STAR_RATING.value:\n case QUESTION_KIND.OPINION_SCALE.value: {\n queryParameters[fieldCode] = parseInt(response);\n\n return;\n }\n case QUESTION_KIND.ADDRESS.value: {\n fields?.forEach(field => {\n const value = response[field.id];\n if (isPresent(value)) {\n queryParameters[`${fieldCode}.${field.label}`] = value;\n }\n });\n\n return;\n }\n default: {\n queryParameters[fieldCode] = response;\n\n return;\n }\n }\n });\n\n return queryParameters;\n};\n","import { useRef } from \"react\";\n\nimport { Typography, Button, Empty } from \"@bigbinary/neeto-atoms\";\nimport classNames from \"classnames\";\nimport { Formik, Form } from \"formik\";\nimport { ListTodo } from \"lucide-react\";\nimport { noop } from \"neetocist\";\nimport useHotkeys from \"neetohotkeys\";\nimport PageLoader from \"neetomolecules/v2/PageLoader\";\nimport PropTypes from \"prop-types\";\nimport { isEmpty } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { usePublicForm } from \"hooks/useFormApi\";\nimport FormikWrap from \"v2/components/Common/FormikWrap\";\n\nimport { buildQueryParameters, getPreFillableQuestions } from \"./utils\";\n\nimport { getFieldComponent } from \"../ExternalForm/Fields/utils\";\nimport {\n generateInitValues,\n mergeRefs,\n buildAutoCompleteAttribute,\n} from \"../ExternalForm/utils\";\n\nconst UrlBuilder = ({\n formId,\n showTitle = true,\n formTitle,\n titleProps,\n onSubmitSuccess,\n submitButtonProps,\n cancelButtonProps,\n resetButtonProps,\n showEmptyState = true,\n className,\n onChange,\n formDomProps,\n editorProps = {},\n customValidator,\n autoCompleteKinds = [],\n}) => {\n const formRef = useRef();\n const formikInnerRef = useRef();\n const editorRef = useRef();\n\n const { t } = useTranslation();\n\n const onSubmit = (values, { setSubmitting }) => {\n onSubmitSuccess?.({\n values,\n queryParameters: buildQueryParameters(values, questions),\n });\n\n setSubmitting(false);\n };\n\n const onReset = (e, handleReset) => {\n editorRef?.current?.editor?.commands?.setContent(\"\");\n handleReset(e);\n formDomProps?.onReset?.(e);\n };\n\n const handleScrollToError = errors => {\n if (!formRef.current) return;\n const errorKeys = Object.keys(errors);\n if (isEmpty(errorKeys)) return;\n for (const formElement of formRef.current) {\n if (errorKeys.includes(formElement.name)) {\n formElement.scrollIntoView({ behavior: \"smooth\", block: \"center\" });\n break;\n }\n }\n };\n\n const { data: form = { title: \"\", questions: [] }, isLoading } =\n usePublicForm({\n formId,\n placeholderData: { isQuestionsLoading: true },\n });\n\n const keyPressRef = useHotkeys(\n \"command+enter\",\n formikInnerRef.current?.handleSubmit || noop,\n { mode: \"scoped\" }\n );\n\n if (isLoading || form.isQuestionsLoading) {\n return (\n <div className=\"flex h-full w-full items-center justify-center\">\n <PageLoader />\n </div>\n );\n }\n\n const { title, questions } = form;\n\n const modifiedQuestions = getPreFillableQuestions(questions);\n\n return (\n <>\n {showTitle && (\n <div className=\"py-6 text-center\">\n <Typography variant=\"h6\" {...titleProps}>\n {formTitle || title}\n </Typography>\n </div>\n )}\n <Formik\n {...{ onSubmit }}\n enableReinitialize\n initialValues={generateInitValues({ questions: modifiedQuestions })}\n innerRef={formikInnerRef}\n >\n {({ isSubmitting, errors, setFieldError, handleReset }) => (\n <FormikWrap\n {...{ formId }}\n preserveValues={false}\n onError={handleScrollToError}\n onValuesChange={onChange}\n >\n <Form\n noValidate\n ref={mergeRefs(formRef, keyPressRef)}\n className={classNames(\n \"neeto-form-engine-form relative space-y-4\",\n className\n )}\n onChange={event => {\n if (isEmpty(errors)) return;\n setFieldError(event.target.name, \"\");\n }}\n {...formDomProps}\n onReset={e => onReset(e, handleReset)}\n >\n <div className=\"neeto-form-engine-questions-wrapper space-y-4 overflow-auto pe-4\">\n {modifiedQuestions.map(question => {\n const FieldComponent = getFieldComponent(question);\n\n return (\n <FieldComponent\n {...{ editorProps, editorRef, question }}\n isUrlBuilderPreview\n customValidator={customValidator?.(question)}\n key={question.id ?? question.nodeId}\n autoComplete={buildAutoCompleteAttribute(\n question.kind,\n autoCompleteKinds,\n formDomProps\n )}\n />\n );\n })}\n {showEmptyState && isEmpty(modifiedQuestions) && (\n <div className=\"flex flex-col items-center justify-center gap-y-4 py-8\">\n <Empty\n className=\"min-h-80\"\n icon={ListTodo}\n title={t(\"neetoForm.questions.common.noData\")}\n />\n </div>\n )}\n </div>\n {!isEmpty(modifiedQuestions) && (\n <div className=\"mt-8 flex items-center justify-start gap-x-2\">\n <Button\n disabled={isSubmitting}\n label={t(\"neetoForm.common.generateLink\")}\n loading={isSubmitting}\n type=\"submit\"\n {...submitButtonProps}\n />\n {resetButtonProps && (\n <Button\n label={t(\"neetoForm.common.reset\")}\n type=\"reset\"\n variant=\"outline\"\n {...resetButtonProps}\n />\n )}\n {cancelButtonProps && (\n <Button\n label={t(\"neetoForm.common.cancel\")}\n {...cancelButtonProps}\n />\n )}\n </div>\n )}\n </Form>\n </FormikWrap>\n )}\n </Formik>\n </>\n );\n};\n\nUrlBuilder.propTypes = {\n formId: PropTypes.string,\n onSubmitSuccess: PropTypes.func,\n showTitle: PropTypes.bool,\n submitButtonProps: PropTypes.object,\n cancelButtonProps: PropTypes.object,\n showSuccessToastr: PropTypes.bool,\n showEmptyState: PropTypes.bool,\n className: PropTypes.string,\n};\n\nexport default UrlBuilder;\n"],"names":["getPreFillableQuestions","questions","modifiedQuestions","map","question","modified","mergeLeft","isRequired","isReadOnly","kind","QUESTION_KIND","ADDRESS","value","_objectSpread","fields","filter","QUESTIONS_WITHOUT_FIELD_CODE","includes","buildQueryParameters","responses","filteredResponses","isPresent","queryParameters","forEach","id","fieldCode","optionsAttributes","isSplitMode","response","NAME","concat","firstName","lastName","fullName","ADDITIONAL_GUESTS","pluck","join","CHECKBOX","selectedLabels","index","_optionsAttributes$in","label","Boolean","undefined","RADIO","DROPDOWN","_findById","findById","SPOT","_response$value","PHONE","SMS_REMINDER","parsedNumber","parsePhoneNumber","country","nationalNumber","STAR_RATING","OPINION_SCALE","parseInt","field","UrlBuilder","_ref","_formikInnerRef$curre","formId","_ref$showTitle","showTitle","formTitle","titleProps","onSubmitSuccess","submitButtonProps","cancelButtonProps","resetButtonProps","_ref$showEmptyState","showEmptyState","className","onChange","formDomProps","_ref$editorProps","editorProps","customValidator","_ref$autoCompleteKind","autoCompleteKinds","formRef","useRef","formikInnerRef","editorRef","_useTranslation","useTranslation","t","onSubmit","values","_ref2","setSubmitting","onReset","e","handleReset","_editorRef$current","_formDomProps$onReset","current","editor","commands","setContent","call","handleScrollToError","errors","errorKeys","Object","keys","isEmpty","_iterator","_createForOfIteratorHelper","_step","s","n","done","formElement","name","scrollIntoView","behavior","block","err","f","_usePublicForm","usePublicForm","placeholderData","isQuestionsLoading","_usePublicForm$data","data","form","title","isLoading","keyPressRef","useHotkeys","handleSubmit","noop","mode","_jsx","children","PageLoader","_jsxs","_Fragment","Typography","variant","Formik","enableReinitialize","initialValues","generateInitValues","innerRef","_ref3","isSubmitting","setFieldError","FormikWrap","preserveValues","onError","onValuesChange","Form","noValidate","ref","mergeRefs","classNames","event","target","_question$id","FieldComponent","getFieldComponent","_createElement","isUrlBuilderPreview","key","nodeId","autoComplete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,aAAA,CAAA;gBACL4B,KAAK,EAAE+C,CAAC,CAAC,yBAAyB;eAAE,EAChClB,iBAAiB,CACtB,CACF;AAAA,aACE,CACN;WAAA,CACG;AAAC,SACG,CAAC;AAAA,MAAA;AACd,KACK,CAAC;AAAA,GACT,CAAC;AAEP;;;;"}
package/dist/v2/index.js CHANGED
@@ -1,59 +1,43 @@
1
+ export { u as useCreateForm, a as useDeleteForm, b as useForm, c as useForms, d as usePublicForm, e as useUpdateForm } from './useFormApi-B5a0zkAT.js';
2
+ export { u as useFormSubmission } from './useFormSubmission-PDJDRUfF.js';
3
+ export { u as useBuildFormState } from './buildForm-CpdYPz4r.js';
1
4
  export { default as BuildForm } from './BuildForm.js';
2
5
  export { default as NeetoFormProvider } from './NeetoFormProvider.js';
3
6
  export { default as ExternalForm } from './ExternalForm.js';
4
7
  export { default as Submission } from './Submission.js';
5
8
  export { default as UrlBuilder } from './UrlBuilder.js';
6
- export { u as useCreateForm, a as useDeleteForm, b as useForm, c as useForms, d as usePublicForm, e as useUpdateForm } from './useFormApi-B5a0zkAT.js';
7
- export { u as useFormSubmission } from './useFormSubmission-PDJDRUfF.js';
8
- export { u as useBuildFormState } from './buildForm-CpdYPz4r.js';
9
- import '@bigbinary/neeto-atoms';
9
+ import '@babel/runtime/helpers/toConsumableArray';
10
+ import '@babel/runtime/helpers/defineProperty';
11
+ import '@babel/runtime/helpers/objectWithoutProperties';
10
12
  import '@tanstack/react-query';
11
- import 'classnames';
13
+ import 'i18next';
12
14
  import '@bigbinary/neeto-cist';
15
+ import '@bigbinary/neeto-commons-frontend/constants';
16
+ import '@bigbinary/neeto-commons-frontend/react-utils';
13
17
  import 'ramda';
14
- import './yup-Cddsv0mm.js';
15
- import 'i18next';
18
+ import 'axios';
19
+ import '@bigbinary/neeto-commons-frontend/utils';
20
+ import '@babel/runtime/helpers/slicedToArray';
21
+ import 'zustand';
22
+ import './index-CUrkh_zd.js';
23
+ import '@babel/runtime/helpers/typeof';
24
+ import '@bigbinary/neeto-editor/utils';
25
+ import '@bigbinary/neeto-atoms';
26
+ import 'classnames';
27
+ import './yup-eUr74YY2.js';
16
28
  import 'react';
17
- import '@babel/runtime/helpers/toConsumableArray';
18
- import '@babel/runtime/helpers/defineProperty';
19
- import '@babel/runtime/helpers/objectWithoutProperties';
20
- import '@bigbinary/neeto-icons/Address';
21
- import '@bigbinary/neeto-icons/Calendar';
22
- import '@bigbinary/neeto-icons/Captcha';
23
- import '@bigbinary/neeto-icons/Checkbox';
24
- import '@bigbinary/neeto-icons/DropdownClosed';
25
- import '@bigbinary/neeto-icons/Email';
26
- import '@bigbinary/neeto-icons/FileUpload';
27
- import '@bigbinary/neeto-icons/Group';
28
- import '@bigbinary/neeto-icons/Hash';
29
- import '@bigbinary/neeto-icons/Header';
30
- import '@bigbinary/neeto-icons/Location';
31
- import '@bigbinary/neeto-icons/LongText';
32
- import '@bigbinary/neeto-icons/MessageSquare';
33
- import '@bigbinary/neeto-icons/NeetoInvisible';
34
- import '@bigbinary/neeto-icons/PhoneRing';
35
- import '@bigbinary/neeto-icons/Radio';
36
- import '@bigbinary/neeto-icons/Rating';
37
- import '@bigbinary/neeto-icons/Scale';
38
- import '@bigbinary/neeto-icons/Sms';
39
- import '@bigbinary/neeto-icons/Terms';
40
- import '@bigbinary/neeto-icons/TextLines';
41
- import '@bigbinary/neeto-icons/UserRoundedRect';
29
+ import 'lucide-react';
42
30
  import './constants-CZ7swzMG.js';
43
31
  import 'react/jsx-runtime';
44
32
  import 'dompurify';
45
- import '@babel/runtime/helpers/typeof';
46
33
  import '@bigbinary/neeto-editor/v2/utils';
47
- import '@bigbinary/neeto-icons/Plus';
48
34
  import 'yup';
49
- import '@babel/runtime/helpers/slicedToArray';
50
35
  import '@hello-pangea/dnd';
51
36
  import '@bigbinary/neeto-commons-frontend/v2/react-utils';
52
37
  import '@bigbinary/neeto-commons-frontend/v2/utils';
53
38
  import 'zustand/shallow';
54
39
  import 'react-i18next';
55
40
  import '@bigbinary/neeto-molecules/v2/MoreDropdown';
56
- import '@bigbinary/neeto-icons/Equals';
57
41
  import 'uuid';
58
42
  import '@bigbinary/neeto-atoms/formik';
59
43
  import 'formik';
@@ -62,33 +46,19 @@ import '@bigbinary/neeto-molecules/v2/OptionFields';
62
46
  import 'framer-motion';
63
47
  import 'react-select/creatable';
64
48
  import '@babel/runtime/helpers/toArray';
65
- import '@bigbinary/neeto-icons/Close';
66
49
  import 'react-select';
67
50
  import '@babel/runtime/helpers/asyncToGenerator';
68
51
  import '@babel/runtime/regenerator';
69
52
  import '@bigbinary/neeto-molecules/v2/HelpPopover';
70
53
  import '@bigbinary/neeto-hotkeys';
71
- import '@bigbinary/neeto-icons/Warning';
72
54
  import '@bigbinary/neeto-molecules/v2/PageLoader';
73
- import './index-CUrkh_zd.js';
74
- import '@bigbinary/neeto-editor/utils';
75
- import './utils-CW12NXEG.js';
76
- import '@bigbinary/neeto-commons-frontend/utils';
55
+ import './utils-CemGJeLy.js';
77
56
  import 'libphonenumber-js';
78
57
  import '@bigbinary/neeto-editor/v2/EditorContent';
79
58
  import '@bigbinary/neeto-molecules/v2/PhoneNumber';
80
- import '@bigbinary/neeto-icons/Refresh';
81
59
  import '@bigbinary/neeto-commons-frontend/v2/initializers';
82
60
  import 'react-google-recaptcha';
83
- import 'axios';
84
- import '@bigbinary/neeto-icons/CheckCircle';
85
61
  import '@bigbinary/neeto-molecules/v2/FileUpload';
86
- import '@bigbinary/neeto-icons/Image';
87
- import '@bigbinary/neeto-icons/Info';
88
- import '@bigbinary/neeto-icons/Check';
89
62
  import '@honeybadger-io/js';
90
63
  import '@bigbinary/neeto-molecules/v2/CopyToClipboardButton';
91
- import '@bigbinary/neeto-commons-frontend/constants';
92
- import '@bigbinary/neeto-commons-frontend/react-utils';
93
- import 'zustand';
94
64
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/v2/main.css CHANGED
@@ -1,2 +1,2 @@
1
- :root{--neeto-form-engine-primary-color:#2f3941;--neeto-form-engine-primary-color-dark:#000;--neeto-form-engine-secondary-color:#fff;--neeto-form-engine-question-color:0,0,0;--neeto-form-engine-answer-color:45,54,212;--neeto-form-engine-button-background-color:45,54,212;--neeto-form-engine-button-text-color:255,255,255;--neeto-form-engine-error-color:175,4,4;--neeto-form-engine-transition:all 0.1s ease-out;--neeto-form-engine-border-radius-sm:0.3125rem}@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes rotate-and-scale{0%{transform:rotate(0deg) scale(0)}to{transform:rotate(-1turn) scale(1)}}@keyframes rotate-and-scale-clockwise{0%{transform:rotate(0deg) scale(0)}to{transform:rotate(1turn) scale(1)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.neeto-form-engine-add-question-between{visibility:hidden}.neeto-form-engine-add-question-between *{transition:none!important}.neeto-form-engine-question-accordion__drag-icon{display:none!important}.neeto-form-engine-question-accordion .neeto-form-engine-question-accordion__body,.neeto-form-engine-question-accordion .neeto-form-engine-question-accordion__header{border-radius:var(--neeto-ui-rounded-lg)}.neeto-form-engine-question-accordion:hover .neeto-form-engine-add-question-between{visibility:visible}.neeto-form-engine-question-accordion:hover .neeto-form-engine-question-accordion__drag-icon{display:block!important}.neeto-form-engine-question-accordion:hover .neeto-form-engine-question-accordion__icon{display:none!important}.neeto-form-engine-form h5{color:rgb(var(--neeto-ui-gray-800));font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-semibold);line-height:var(--neeto-ui-leading-normal);margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-questions-wrapper{max-height:calc(100vh - 240px)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper:not(:last-child),.neeto-form-engine-form .neeto-form-engine-input__wrapper:not(:last-child),.neeto-form-engine-form .neeto-form-engine-rating:not(:last-child),.neeto-form-engine-form .neeto-form-engine-star-rating:not(:last-child){margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices{align-items:flex-start;display:flex;flex-direction:column;gap:.5rem;justify-content:flex-start;margin:.5rem 0 0}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice{align-items:center;background-color:rgb(var(--neeto-ui-white));border:thin solid rgb(var(--neeto-ui-gray-300));border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-gray-700));cursor:pointer;display:flex;flex-direction:row;font-size:var(--neeto-ui-text-sm);gap:.75rem;justify-content:flex-start;line-height:var(--neeto-ui-leading-normal);padding:.625rem .75rem;transition:var(--neeto-ui-transition);-moz-user-select:none;user-select:none;-webkit-user-select:none;width:100%}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice:hover{border-color:rgb(var(-neeto-ui-gray-400))}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice.active{border-color:rgb(var(--neeto-ui-gray-800))}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]{border-radius:var(--neeto-ui-rounded-sm)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox],.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]{border:2px solid rgb(var(--neeto-ui-gray-300));height:1rem;width:1rem}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:not(:disabled),.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:not(:disabled){cursor:pointer}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:hover:not(:disabled,:checked),.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:hover:not(:disabled,:checked){border-color:rgb(var(-neeto-ui-gray-400))}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:checked,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:checked{border:none!important}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:disabled,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:disabled{cursor:not-allowed;opacity:.5}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:focus,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:focus,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:focus-visible{outline:transparent}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:focus-visible{box-shadow:0 0 0 2px rgb(var(--neeto-ui-white)),0 0 0 4px rgb(var(--neeto-ui-gray-300))}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice label{font-weight:400}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-ui-radio__container{gap:.5rem;width:100%}.neeto-form-engine-form .neeto-form-engine-star-rating>.neeto-form-engine-label{margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:1.5rem;justify-content:flex-start}.neeto-form-engine-form .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row input[type=radio]{display:none}.neeto-form-engine-form .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row .neeto-form-engine-star-rating__icon.neeto-form-engine-star-rating__icon--active{fill:rgb(var(--neeto-ui-primary-500));stroke:rgb(var(--neeto-ui-primary-500))}.neeto-form-engine-form .neeto-form-engine-rating>.neeto-form-engine-label{margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row{align-items:center;display:flex;flex-direction:row;gap:1.5rem;justify-content:flex-start}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row input[type=radio]{display:none}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item{align-items:center;color:rgb(var(--neeto-ui-gray-600));cursor:pointer;display:flex;flex-direction:column;justify-content:center;padding:.5rem}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item svg{margin-bottom:.25rem}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item svg path{stroke:currentColor;transition:var(--neeto-ui-transition)}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item .neeto-form-engine-label{color:inherit;transition:var(--neeto-ui-transition)}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy.active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy:active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy:focus,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy:hover{color:rgb(var(--neeto-ui-success-500))}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused.active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused:active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused:focus,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused:hover{color:rgb(var(--neeto-ui-warning-500))}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad.active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad:active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad:focus,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad:hover{color:rgb(var(--neeto-ui-error-500))}.neeto-form-engine-terms .neeto-form-engine-choice{align-items:center;color:rgb(var(--neeto-ui-gray-700));display:flex;flex-direction:row;font-size:var(--neeto-ui-text-sm);gap:.75rem;justify-content:flex-start;line-height:var(--neeto-ui-leading-normal);padding:.5rem 0;transition:var(--neeto-ui-transition);width:100%}.neeto-form-engine-terms .neeto-form-engine-choice:hover{border-color:rgb(var(-neeto-ui-gray-400))}.neeto-form-engine-terms .neeto-form-engine-choice.active{border-color:rgb(var(--neeto-ui-gray-800))}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]{border-radius:var(--neeto-ui-rounded-sm)}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox],.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]{align-self:flex-start;border:2px solid rgb(var(--neeto-ui-gray-300));height:1rem;margin-top:.125rem;width:1rem}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:not(:disabled),.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:not(:disabled){cursor:pointer}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:hover:not(:disabled,:checked),.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:hover:not(:disabled,:checked){border-color:rgb(var(-neeto-ui-gray-400))}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:checked,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:checked{border:none!important}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:disabled,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:disabled{cursor:not-allowed;opacity:.5}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:focus,.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:focus,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:focus-visible{outline:transparent}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:focus-visible{box-shadow:0 0 0 2px rgb(var(--neeto-ui-white)),0 0 0 4px rgb(var(--neeto-ui-gray-300))}body .neeto-form-engine-form .neeto-ui-input__wrapper .neeto-ui-input input{min-height:2.5rem;padding:.5em .8em}body .neeto-form-engine-form .neeto-ui-input__wrapper .neeto-ui-react-select__container .neeto-ui-react-select__value-container{min-height:2.5rem}body .neeto-form-engine-form .neeto-ui-input__wrapper .neeto-ui-input__prefix .neeto-ui-react-select__value-container{min-height:1.875rem}body .neeto-form-engine-form .neeto-form-engine-date-picker .ant-picker-input>input{padding-bottom:.5rem;padding-top:.5rem}body .neeto-form-engine-form .neeto-form-engine-star-rating__row button{outline:none}body .neeto-form-engine-form .neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item{box-shadow:none;outline:none}body .neeto-form-engine-form .neeto-form-engine-form{display:flex;flex-direction:column;gap:.625rem}body .neeto-form-engine-form .neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice{background-color:rgb(var(--neeto-ui-white));padding-bottom:.625rem;padding-top:.625rem}body .neeto-form-engine-form .neeto-ui-input__wrapper .neeto-ui-input:focus-within:not(.neeto-ui-input--naked,.neeto-ui-input--error){box-shadow:0 0 0 1px rgb(var(--neeto-ui-primary-500)) inset}body .neeto-form-engine-form .neeto-ui-input__wrapper .neeto-ui-input.neeto-ui-input--error:focus-within{box-shadow:0 0 0 1px rgb(var(--neeto-ui-error-500)) inset}body .neeto-form-engine-form .neeto-ui-react-select__control.neeto-ui-react-select__control--is-focused{box-shadow:0 0 0 1px rgb(var(--neeto-ui-primary-500)) inset}body .neeto-form-engine-form .neeto-ui-react-select__container.neeto-ui-react-select__container--error .neeto-ui-react-select__control.neeto-ui-react-select__control--is-focused{box-shadow:0 0 0 1px rgb(var(--neeto-ui-error-500)) inset}.neeto-form-nano-form__card--active{box-shadow:0 0 0 1px rgb(var(--neeto-ui-primary-500)) inset}.neeto-form-nano-advanced-properties-accordion{--neeto-ui-accordion-item-padding-x:0rem;--neeto-ui-accordion-drop-padding-x:0rem;--neeto-ui-accordion-wrapper-border-width:0rem}.neeto-ui-input__wrapper.neeto-form-nano-placeholder-input .neeto-ui-input textarea{padding-top:.1875rem}.neeto-ui-input__wrapper.neeto-form-nano-placeholder-input.neeto-form-nano-placeholder-input-rich_text .neeto-ui-input textarea,.neeto-ui-input__wrapper.neeto-form-nano-placeholder-input.neeto-form-nano-placeholder-input-textarea .neeto-ui-input textarea{min-height:4em!important}@media (max-width:768px){.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice label{font-size:1rem}}.neeto-form-nano-adaptive-input textarea{--neeto-ui-input-line-height:1.5}button.neeto-form-engine-button{align-items:center;background-color:#2f3941;background-color:var(--neeto-form-engine-primary-color);border-radius:var(--neeto-ui-rounded-sm);color:#fff;color:var(--neeto-form-engine-secondary-color);display:flex;flex-direction:row;font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-medium);justify-content:center;letter-spacing:-.0094rem;line-height:1;padding:.5rem .75rem;position:relative;transition:var(--neeto-ui-transition)}button.neeto-form-engine-button:active,button.neeto-form-engine-button:focus,button.neeto-form-engine-button:hover{background-color:#000;background-color:var(--neeto-form-engine-primary-color-dark)}.neeto-form-engine-button__loader,.neeto-form-engine-button__success{align-items:center;background:inherit;border-radius:inherit;cursor:default;display:flex;flex-direction:row;height:100%;inset-inline-start:0;justify-content:center;outline:none;position:absolute;top:0;width:100%}.neeto-form-engine-button__loader svg path,.neeto-form-engine-button__success svg path{stroke:currentColor}.neeto-form-engine-input__wrapper{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;justify-content:flex-start}.neeto-form-engine-input__wrapper .neeto-form-engine-input__label-wrapper{display:flex;justify-content:space-between;margin-bottom:.375rem;width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-rich-text-input{width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-input{align-items:center;background-color:rgb(var(--neeto-ui-white));border:thin solid rgb(var(--neeto-ui-gray-400));border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-gray-800));display:flex;flex-direction:row;font-size:var(--neeto-ui-text-sm);justify-content:flex-start;line-height:1.6;overflow:hidden;transition:var(--neeto-ui-transition);width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--textarea{padding:.5rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input input,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea{background-color:transparent;border:none;box-shadow:none;color:inherit;font-size:inherit;line-height:inherit;outline:none;width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-input input::-moz-placeholder,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea::-moz-placeholder{color:rgb(var(-neeto-ui-gray-400))}.neeto-form-engine-input__wrapper .neeto-form-engine-input input::placeholder,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea::placeholder{color:rgb(var(-neeto-ui-gray-400))}.neeto-form-engine-input__wrapper .neeto-form-engine-input input:focus,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea:focus{outline-color:transparent}.neeto-form-engine-input__wrapper .neeto-form-engine-input input{line-height:1.3;padding:.375rem .5rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea{max-height:14rem;overflow-y:auto;padding:0}.neeto-form-engine-input__wrapper .neeto-form-engine-input:focus-within:not(.neeto-form-engine-input--error){border-color:rgb(var(--neeto-ui-gray-800));box-shadow:var(--neeto-ui-shadow-m)}.neeto-form-engine-input__wrapper .neeto-form-engine-input:hover:not(.neeto-form-engine-input--error,.neeto-form-engine-input--disabled){border-color:rgb(var(--neeto-ui-gray-700))}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--error{border-color:rgb(var(--neeto-ui-error-500))}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--error:focus-within{box-shadow:0 0 0 3px rgb(var(--neeto-ui-pastel-red))}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--error textarea{resize:none}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--disabled{background-color:rgb(var(--neeto-ui-gray-100));cursor:not-allowed}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--disabled input,.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--disabled textarea{cursor:not-allowed}.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix,.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix{align-items:center;color:rgb(var(--neeto-ui-gray-600));display:flex;flex-direction:row;font-size:.875rem;justify-content:flex-start}.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix svg,.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix svg{height:1rem;width:1rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix{margin-inline-start:.625rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix{margin-inline-end:.625rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__prefix,.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__suffix{background-color:rgb(var(--neeto-ui-gray-100));margin:0;padding:.5rem .625rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__prefix{border-inline-end:thin solid rgb(var(--neeto-ui-gray-300))}.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__suffix{border-inline-start:thin solid rgb(var(--neeto-ui-gray-300))}.neeto-form-engine-input__error{color:rgb(var(--neeto-ui-error-500));font-size:var(--neeto-ui-text-xs);margin-top:.25rem}.neeto-form-engine-label{color:rgb(var(--neeto-ui-black));font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-medium);letter-spacing:-.0094rem;line-height:1.5}@media (max-width:768px){.neeto-form-engine-input__wrapper .neeto-form-engine-input,.neeto-form-engine-input__wrapper .neeto-form-engine-input input,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea,.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix,.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix,.neeto-form-engine-input__wrapper .neeto-form-engine-rich-text-input{font-size:1rem}.neeto-ui-input--medium,.neeto-ui-input__wrapper .neeto-ui-input,.neeto-ui-react-select__container,.neeto-ui-react-select__input,.neeto-ui-react-select__menu-portal,.neeto-ui-react-select__multi-value__label{font-size:1rem!important}}.neeto-molecules-phone-number-input__input .neeto-ui-input input{direction:inherit}.neeto-form-engine-date-picker{display:flex;flex-direction:column;width:100%}.neeto-form-engine-date-picker .ant-picker{background-color:rgb(var(--neeto-ui-white));border:thin solid rgb(var(--neeto-ui-gray-400));border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-gray-800));font-size:.875rem;line-height:1.15;padding:0;transition:var(--neeto-ui-transition);width:100%}.neeto-form-engine-date-picker .ant-picker:hover:not(.neeto-form-engine-input--error,.neeto-form-engine-input--disabled){border-color:rgb(var(--neeto-ui-gray-700))}.neeto-form-engine-date-picker .ant-picker.ant-picker-focused:not(.neeto-form-engine-input--error){border-color:rgb(var(--neeto-ui-gray-800))!important;box-shadow:var(--neeto-ui-shadow-m)!important;outline:none!important}.neeto-form-engine-date-picker .ant-picker.neeto-form-engine-input--error{border-color:rgb(var(--neeto-ui-error-500))!important}.neeto-form-engine-date-picker .ant-picker.neeto-form-engine-input--error:focus-within{box-shadow:0 0 0 3px rgb(var(--neeto-ui-pastel-red))!important}.neeto-form-engine-date-picker .ant-picker.neeto-form-engine-input--error.ant-picker-focused{border-color:rgb(var(--neeto-ui-error-500))!important;box-shadow:0 0 0 3px rgb(var(--neeto-ui-pastel-red))!important}.neeto-form-engine-date-picker .ant-picker.neeto-form-engine-input--error textarea{resize:none}.neeto-form-engine-date-picker .ant-picker.neeto-ui-date-input{padding:0}.neeto-form-engine-date-picker .ant-picker-suffix{color:rgba(var(--neeto-ui-gray-800));margin:0;padding-inline-end:.4444444444em}.neeto-form-engine-date-picker .ant-picker-suffix svg{height:1rem;width:1rem}.neeto-form-engine-date-picker .ant-picker-clear{background-color:transparent;color:rgba(var(--neeto-ui-gray-800));margin-inline-end:.4444444444rem}.neeto-form-engine-date-picker .ant-picker-clear svg{color:inherit;height:1rem;width:1rem}.neeto-form-engine-date-picker .ant-picker-clear+.ant-picker-suffix .ant-picker-suffix{opacity:0}.neeto-form-engine-date-picker .ant-picker-input:hover input:not([value=""])+.ant-picker-suffix{opacity:0}.neeto-form-engine-date-picker .ant-picker-input>input{background-color:transparent;color:rgba(var(--neeto-ui-gray-800));font-size:.875rem;padding:.375rem .5rem}.neeto-form-engine-date-picker .ant-picker-input>input::-moz-placeholder{color:rgba(var(--neeto-form-answer-color),.5);opacity:1}.neeto-form-engine-date-picker .ant-picker-input>input::placeholder{color:rgba(var(--neeto-form-answer-color),.5);opacity:1}.neeto-form-engine-date-picker-popup .ant-picker-panel-container{background-color:rgb(var(--neeto-ui-white));border:1px solid rgba(var(--neeto-ui-gray-800),.8);border-radius:.75rem}.neeto-form-engine-date-picker-popup .ant-picker-panel-container .ant-picker-panel{border:0}.neeto-form-engine-date-picker-popup .ant-picker-cell,.neeto-form-engine-date-picker-popup .ant-picker-time-panel-column>li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner{color:rgb(var(--neeto-ui-gray-800))}.neeto-form-engine-date-picker-popup .ant-picker-header button{color:rgb(var(--neeto-ui-gray-800))!important}.neeto-form-engine-date-picker-popup .ant-picker-header>button:hover{opacity:.8}.neeto-form-engine-date-picker-popup .ant-picker-content th{color:rgba(var(--neeto-ui-gray-800),.8)}.neeto-form-engine-date-picker-popup .ant-picker-panel .ant-picker-footer,.neeto-form-engine-date-picker-popup .ant-picker-panel .ant-picker-header{background-color:transparent;border:0}.neeto-form-engine-date-picker-popup .ant-picker-now-btn,.neeto-form-engine-date-picker-popup .ant-picker-ok .ant-btn,.neeto-form-engine-date-picker-popup .ant-picker-today-btn{background-color:#4558f9!important;border-radius:var(--neeto-ui-rounded);color:rgb(var(--neeto-ui-white))!important;cursor:pointer;padding:.25rem}.neeto-form-engine-date-picker-popup .ant-picker-now-btn:focus,.neeto-form-engine-date-picker-popup .ant-picker-now-btn:hover,.neeto-form-engine-date-picker-popup .ant-picker-ok .ant-btn:focus,.neeto-form-engine-date-picker-popup .ant-picker-ok .ant-btn:hover,.neeto-form-engine-date-picker-popup .ant-picker-today-btn:focus,.neeto-form-engine-date-picker-popup .ant-picker-today-btn:hover{opacity:.8}.neeto-form-engine-date-picker-popup .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner,.neeto-form-engine-date-picker-popup .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,.neeto-form-engine-date-picker-popup .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner{background-color:rgb(var(--neeto-form-answer-color));color:rgb(var(--neeto-form-answer-text-color))}.neeto-form-engine-date-picker-popup .ant-picker-time-panel-column>li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner{background-color:rgb(var(--neeto-form-answer-color));color:rgb(var(--neeto-form-answer-text-color))}.neeto-form-engine-date-picker-popup .ant-picker-time-panel-column:not(:first-child){border-inline-start:none}.neeto-form-engine-date-picker-popup .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,.neeto-form-engine-date-picker-popup .ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner{background-color:rgba(var(--neeto-form-question-color),.1)}.neeto-form-engine-date-picker-popup .ant-picker-time-panel-column>li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover{background-color:rgba(var(--neeto-form-question-color),.1)}.neeto-form-engine-date-picker-popup .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner:before{border-color:rgb(var(--neeto-form-answer-color))!important}.neeto-form-engine-date-picker-popup .ant-picker-cell .ant-picker-cell-inner{border-radius:.3125rem!important}.neeto-form-engine-date-picker-popup .ant-picker-content th{font-size:.75rem;text-transform:uppercase}.neeto-form-engine--md .neeto-form-date-picker .ant-picker-input>input{font-size:1.25rem;height:calc(3rem - 2px);padding:.8em}.neeto-form-engine--md .neeto-form-date-picker .ant-picker-suffix{padding-inline-end:.8rem}.neeto-form-engine--md .neeto-form-date-picker .ant-picker-suffix svg{height:1.5rem;width:1.5rem}.neeto-form-engine--md .neeto-form-date-picker .ant-picker-clear{margin-inline-end:.8rem}.neeto-form-engine--md .neeto-form-date-picker .ant-picker-clear svg{height:1.5rem;width:1.5rem}@media (min-width:768px){.neeto-form-engine-date-picker .ant-picker-cell .ant-picker-cell-inner{height:2rem;line-height:2rem;min-width:2rem}.neeto-form-engine-date-picker .ant-picker-date-panel{width:320px}.neeto-form-engine-date-picker .ant-picker-header{align-items:center;min-height:4.25rem;padding:.75rem 1.5rem 0;white-space:nowrap}.neeto-form-engine-date-picker .ant-picker-date-panel .ant-picker-body{padding-inline-end:1.5rem;padding-inline-start:1.5rem}.neeto-form-engine-date-picker .ant-picker-date-panel .ant-picker-content{width:272px}}@media (max-width:768px){.neeto-form-engine-date-picker .ant-picker{font-size:1rem}.neeto-form-engine-date-picker .ant-picker-input>input{font-size:1rem}.neeto-form-engine--md .neeto-form-date-picker .ant-picker-input>input{font-size:1rem}}[dir=rtl] .neeto-form-engine-date-picker-popup .ant-picker-header-next-btn{transform:rotate(180deg)}[dir=rtl] .neeto-form-engine-date-picker-popup .ant-picker-header-prev-btn{transform:rotate(180deg)}.neeto-form-engine-loader{height:100%;width:100%}.neeto-form-engine-loader,.neeto-form-engine-spinner{align-items:center;display:flex;flex-direction:row;justify-content:center}.neeto-form-engine-spinner svg{animation:rotate 1s ease-in-out infinite}.neeto-form-engine-dropdown{align-items:center;display:inline-flex;position:relative}.neeto-form-engine-dropdown button{margin:0}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu{background-color:rgb(var(--neeto-ui-white));border-radius:var(--neeto-ui-rounded);box-shadow:var(--neeto-ui-shadow-m)-m;inset-inline-end:0;margin:0;min-width:168px;opacity:0;padding:.25rem 0;pointer-events:none;position:absolute;top:100%;transition:var(--neeto-ui-transition)}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li{list-style:none}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button{align-items:center;color:rgb(var(--neeto-ui-gray-700));cursor:pointer;display:flex;flex-direction:row;font-size:var(--neeto-ui-text-xs);gap:.5rem;justify-content:flex-start;line-height:1;padding:.5rem .625rem;transition:var(--neeto-ui-transition);white-space:nowrap;width:100%}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button:active,.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button:focus,.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button:hover{background-color:rgb(var(--neeto-ui-gray-200))}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button svg{height:.875rem;width:.875rem}.neeto-form-engine-dropdown:hover .neeto-form-engine-dropdown-menu,.neeto-form-engine-dropdown>button:focus+.neeto-form-engine-dropdown-menu{opacity:1;pointer-events:all}.neeto-form-engine-callout{align-items:center;animation:fade-in .3s both;background-color:rgb(var(--neeto-ui-gray-200));border-radius:var(--neeto-ui-rounded-sm);bottom:2.5rem;color:rgb(var(--neeto-ui-gray-600));display:flex;flex-direction:column;gap:.75rem;inset-inline-end:0;inset-inline-start:0;justify-content:flex-start;margin:auto;padding:.75rem;position:absolute;width:calc(100% - 48px)}.neeto-form-engine-callout.neeto-form-engine-callout--static{position:static}.neeto-form-engine-callout.neeto-form-engine-callout--error{background-color:rgb(var(--neeto-ui-pastel-red))}.neeto-form-engine-callout.neeto-form-engine-callout--info{background-color:rgb(var(--neeto-ui-pastel-blue))}.neeto-form-engine-callout .neeto-form-engine-callout__close{color:rgb(var(--neeto-ui-gray-600));inset-inline-end:.75rem;padding:0;position:absolute;top:.75rem;transition:var(--neeto-ui-transition)}.neeto-form-engine-callout .neeto-form-engine-callout__close:active,.neeto-form-engine-callout .neeto-form-engine-callout__close:focus,.neeto-form-engine-callout .neeto-form-engine-callout__close:hover{color:rgb(var(--neeto-ui-gray-800))}.neeto-form-engine-callout .neeto-form-engine-callout__content{margin:auto;max-width:240px;width:100%}.neeto-form-engine-callout .neeto-form-engine-callout__content h5{color:rgb(var(--neeto-ui-gray-800));font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-semibold);letter-spacing:-.0094rem;line-height:1rem;margin-bottom:.25rem;text-align:center}.neeto-form-engine-callout .neeto-form-engine-callout__content p{font-size:var(--neeto-ui-text-xs);line-height:1rem;text-align:center}.neeto-form-engine-callout button.neeto-form-engine-callout__button{align-items:center;background-color:rgb(var(--neeto-ui-white));border-radius:var(--neeto-ui-rounded-sm);color:rgb(var(--neeto-ui-gray-800));display:flex;flex-direction:row;font-size:var(--neeto-ui-text-sm);font-weight:var(--neeto-ui-font-semibold);justify-content:center;letter-spacing:-.0094rem;line-height:1rem;padding:.375rem .5rem;transition:var(--neeto-ui-transition)}.neeto-form-engine-callout button.neeto-form-engine-callout__button:active,.neeto-form-engine-callout button.neeto-form-engine-callout__button:focus,.neeto-form-engine-callout button.neeto-form-engine-callout__button:hover{background-color:rgb(var(--neeto-ui-gray-100))}.neeto-form-engine-email-input{width:100%}.neeto-form-engine-email-input .neeto-form-engine-label{margin-bottom:.5rem}.neeto-form-engine-email-input .neeto-form-engine-email-input__title-row{gap:.5rem;justify-content:space-between;width:100%}.neeto-form-engine-email-input .neeto-form-engine-email-input__title-row .neeto-form-engine-label{flex-grow:1;overflow-wrap:break-word}.neeto-form-engine-email-input .neeto-form-engine-email-input__title-row .neeto-form-engine-email-input__counter{color:rgb(var(--neeto-form-engine-gray-700));line-height:1;margin-bottom:.5rem;margin-inline-start:auto}.neeto-form-engine-email-input .neeto-form-engine-email-input__prefix{margin-inline-start:.75rem}.neeto-form-engine-email-input .neeto-form-engine-email-input__prefix svg,.neeto-form-engine-email-input .neeto-form-engine-email-input__suffix svg{height:1rem;width:1rem}.loader{min-height:192px}.neeto-form-nano-external-form .neeto-form-engine-form{display:flex;flex-direction:column;gap:1rem}.neeto-form-nano-external-form--size-large{display:flex;flex-direction:column;margin:0 auto;max-width:46.5rem;padding-inline-end:1rem;padding-bottom:4rem;padding-top:1rem;padding-inline-start:1rem;width:100%}.neeto-form-nano-external-form--size-large .neeto-form-engine-input__label-wrapper{margin:.5rem 0 1rem}.neeto-form-nano-external-form--size-large .neeto-ui-input__wrapper>.neeto-ui-input__label-wrapper>.neeto-ui-label,.neeto-form-nano-external-form--size-large .neeto-ui-input__wrapper>.neeto-ui-label{--neeto-ui-label-font-size:1.3125rem;--neeto-ui-label-font-weight:400;margin:.5rem 0 1rem}.neeto-form-nano-external-form--size-large .neeto-ui-checkbox__container .neeto-ui-label{--neeto-ui-label-font-size:1.3125rem;--neeto-ui-label-font-weight:400}.neeto-form-nano-external-form--size-large .neeto-form-engine-label{font-size:1.3125rem;font-weight:400}.neeto-form-nano-external-form--size-large .neeto-form-nano-external-form-header .neeto-form-nano-external-form-title{font-size:2.25rem;font-weight:400;line-height:1.2;margin:.4em 0;text-align:start}.neeto-form-nano-external-form--size-large .neeto-form-nano-form-footer .neeto-ui-btn--size-medium{border-radius:.625rem!important;font-size:1rem;height:2.5rem;padding:.625em 1.25em}.neeto-form-nano-external-form--size-large .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice label{font-size:1rem!important;position:relative;top:-.0625rem}.neeto-form-nano-external-form--size-large .neeto-form-engine-rating__item .neeto-form-engine-label,.neeto-form-nano-external-form--size-large .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row .neeto-form-engine-label,.neeto-form-nano-external-form--size-large .neeto-form-engine-terms .neeto-ui-checkbox__container .neeto-ui-label{font-size:1rem}@media only screen and (min-width:768px){.neeto-form-nano-external-form--size-large .neeto-form-nano-external-form-header .neeto-form-nano-external-form-title{font-size:3rem}}.neeto-form-nano-sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.neeto-molecules-file-upload__dropzone,.neeto-molecules-file-upload__uploaded-list{width:100%}.neeto-form-nano-math-captcha{align-items:center;border:2px dashed rgba(var(--neeto-ui-primary-500),.5);border-radius:.3125rem;color:rgb(var(--neeto-ui-black));display:flex;font-size:.875rem;gap:.3125rem;padding:.5rem}.neeto-form-nano-math-captcha__button{align-items:center;background:rgb(var(--neeto-ui-primary-500))!important;border:none;border-radius:.1875em;color:rgb(var(--neeto-ui-white));cursor:pointer;display:inline-flex;font-weight:400;gap:.25rem;line-height:1.2;min-height:2.25rem;padding:.3125em;text-decoration:none;transition:all .1s ease-out;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-form-nano-math-captcha__button:hover{opacity:.85}.neeto-form-nano-math-captcha__button:focus,.neeto-form-nano-math-captcha__button:focus-visible{outline:2px solid rgba(var(--neeto-ui-primary-500),.2);outline-offset:1px}.neeto-form-nano-math-captcha__equation{align-items:center;display:flex;gap:.3125rem;justify-content:center;min-width:4rem}.neeto-form-nano-math-captcha__input{border-color:rgb(var(--neeto-ui-primary-500));width:6rem}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices.neeto-form-engine-choices--picture{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.neeto-form-engine-choice--picture.neeto-form-engine-choice--picture{align-items:start!important;display:flex;flex-direction:column!important}.neeto-form-engine-choice__image-wrapper{align-items:center;background-color:rgb(var(--neeto-ui-gray-100));border-radius:.25rem;display:flex;justify-content:center;overflow:hidden;width:100%}.neeto-form-engine-choice__image-wrapper--loading{animation:pulse 1.5s ease-in-out infinite;background-color:rgb(var(--neeto-ui-gray-200))}.neeto-form-engine-choice__image{-webkit-user-drag:none;height:100%;-o-object-fit:contain;object-fit:contain;-moz-user-select:none;user-select:none;-webkit-user-select:none;width:100%}.neeto-form-engine-choice__image--fit{-o-object-fit:cover;object-fit:cover}.neeto-form-engine-choice__image-placeholder{align-items:center;background-color:rgb(var(--neeto-ui-gray-200))!important;border-radius:.25rem;color:rgb(var(--neeto-ui-gray-400));display:flex;justify-content:center;padding:4rem;width:100%}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.neeto-form-engine-fields-wrapper .neeto-molecules-option-fields__image-option{margin-right:auto;max-width:280px}@layer utilities{.neeto-form-engine-fields-wrapper .neeto-molecules-option-fields__image-uploader img{height:var(--neeto-form-engine-picture-choice-image-height)!important;max-height:200px!important;width:100%!important}.neeto-form-engine-fields-wrapper--fit-image .neeto-molecules-option-fields__image-uploader img{-o-object-fit:cover!important;object-fit:cover!important}}.neeto-form-nano-opinion-scale__group{display:inline-block;max-width:100%;position:relative}.neeto-form-nano-opinion-scale__list{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;list-style:none;margin:0;padding:0;position:relative;width:100%}.neeto-form-nano-opinion-scale__item{color:rgb(var(--neeto-ui-primary-500))}.neeto-form-nano-opinion-scale__item-label{border-radius:.3125rem;border-radius:var(--neeto-form-engine-border-radius-sm);cursor:pointer;display:block;height:3rem;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:3rem}.neeto-form-nano-opinion-scale__item-label:hover .neeto-form-nano-opinion-scale__item-highlight{background-color:rgba(var(--neeto-ui-primary-500),.1)}.neeto-form-nano-opinion-scale__item-highlight{align-items:center;background-color:transparent;border-radius:.3125rem;border-radius:var(--neeto-form-engine-border-radius-sm);box-shadow:0 0 0 1px rgb(var(--neeto-ui-gray-800)) inset;color:rgb(var(--neeto-ui-primary-500));display:inline-flex;height:100%;inset-inline-start:0;justify-content:center;position:absolute;top:0;transition:all .1s ease-out;transition:var(--neeto-form-engine-transition);width:100%}.neeto-form-nano-opinion-scale__item-highlight:hover{background-color:rgba(var(--neeto-ui-primary-500),.1)}.neeto-form-nano-opinion-scale__item-input:focus+.neeto-form-nano-opinion-scale__item-highlight{background-color:rgba(var(--neeto-ui-primary-500),.1)}.neeto-form-nano-opinion-scale__item-input:checked+.neeto-form-nano-opinion-scale__item-highlight{background-color:rgb(var(--neeto-ui-primary-500));border-color:rgb(var(--neeto-ui-primary-500));box-shadow:0 0 0 1px rgb(var(--neeto-ui-primary-500)) inset;color:rgb(var(--neeto-ui-white))!important}.neeto-form-nano-opinion-scale__item-input:checked+.neeto-form-nano-opinion-scale__item-highlight:hover{background-color:rgb(var(--neeto-ui-primary-500))}.neeto-form-nano-opinion-scale__labels-wrap{align-items:center;display:flex;justify-content:space-between;margin:8px 0}.neeto-form-nano-opinion-scale__label{color:rgb(var(--neeto-ui-gray-800));font-size:.875rem;line-height:1.2}.neeto-form-nano-opinion-scale__label--start{visibility:hidden}@media (min-width:768px){.neeto-form-nano-opinion-scale__labels-wrap-mobile{display:none}.neeto-form-nano-opinion-scale__label--start{visibility:visible}}.neeto-form-engine-address{display:flex;flex-wrap:wrap;margin-inline-end:-8px;margin-inline-start:-8px}.neeto-form-engine-address__field{padding:8px;width:100%}.neeto-form-engine-address__field--width-half{width:50%}.neeto-form-engine-address__field--width-one-forth{width:25%}.neeto-form-engine-address__field--width-three-forth{width:75%}
1
+ :root{--neeto-form-engine-primary-color:#2f3941;--neeto-form-engine-primary-color-dark:#000;--neeto-form-engine-secondary-color:#fff;--neeto-form-engine-question-color:0,0,0;--neeto-form-engine-answer-color:45,54,212;--neeto-form-engine-button-background-color:45,54,212;--neeto-form-engine-button-text-color:255,255,255;--neeto-form-engine-error-color:175,4,4;--neeto-form-engine-transition:all 0.1s ease-out;--neeto-form-engine-border-radius-sm:0.3125rem}@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes rotate-and-scale{0%{transform:rotate(0deg) scale(0)}to{transform:rotate(-1turn) scale(1)}}@keyframes rotate-and-scale-clockwise{0%{transform:rotate(0deg) scale(0)}to{transform:rotate(1turn) scale(1)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.neeto-form-engine-loader{height:100%;width:100%}.neeto-form-engine-loader,.neeto-form-engine-spinner{align-items:center;display:flex;flex-direction:row;justify-content:center}.neeto-form-engine-spinner svg{animation:rotate 1s ease-in-out infinite}.neeto-form-engine-email-input{width:100%}.neeto-form-engine-email-input .neeto-form-engine-label{margin-bottom:.5rem}.neeto-form-engine-email-input .neeto-form-engine-email-input__title-row{gap:.5rem;justify-content:space-between;width:100%}.neeto-form-engine-email-input .neeto-form-engine-email-input__title-row .neeto-form-engine-label{flex-grow:1;overflow-wrap:break-word}.neeto-form-engine-email-input .neeto-form-engine-email-input__title-row .neeto-form-engine-email-input__counter{color:rgb(var(--neeto-form-engine-gray-700));line-height:1;margin-bottom:.5rem;margin-inline-start:auto}.neeto-form-engine-email-input .neeto-form-engine-email-input__prefix{margin-inline-start:.75rem}.neeto-form-engine-email-input .neeto-form-engine-email-input__prefix svg,.neeto-form-engine-email-input .neeto-form-engine-email-input__suffix svg{height:1rem;width:1rem}.neeto-molecules-file-upload__dropzone,.neeto-molecules-file-upload__uploaded-list{width:100%}.neeto-form-engine-address{display:flex;flex-wrap:wrap;margin-inline-end:-8px;margin-inline-start:-8px}.neeto-form-engine-address__field{padding:8px;width:100%}.neeto-form-engine-address__field--width-half{width:50%}.neeto-form-engine-address__field--width-one-forth{width:25%}.neeto-form-engine-address__field--width-three-forth{width:75%}.neeto-form-engine-add-question-between{visibility:hidden}.neeto-form-engine-add-question-between *{transition:none!important}.neeto-form-engine-question-accordion__drag-icon{display:none!important}.neeto-form-engine-question-accordion .neeto-form-engine-question-accordion__body,.neeto-form-engine-question-accordion .neeto-form-engine-question-accordion__header{border-radius:var(--radius-lg)}.neeto-form-engine-question-accordion:hover .neeto-form-engine-add-question-between{visibility:visible}.neeto-form-engine-question-accordion:hover .neeto-form-engine-question-accordion__drag-icon{display:block!important}.neeto-form-engine-question-accordion:hover .neeto-form-engine-question-accordion__icon{display:none!important}.neeto-form-engine-form h5{color:var(--foreground);font-size:.875rem;font-weight:600;line-height:1.5;margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-questions-wrapper{max-height:calc(100vh - 240px)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper:not(:last-child),.neeto-form-engine-form .neeto-form-engine-input__wrapper:not(:last-child),.neeto-form-engine-form .neeto-form-engine-rating:not(:last-child),.neeto-form-engine-form .neeto-form-engine-star-rating:not(:last-child){margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices{align-items:flex-start;display:flex;flex-direction:column;gap:.5rem;justify-content:flex-start;margin:.5rem 0 0}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice{align-items:center;background-color:var(--card);border:thin solid var(--border);border-radius:var(--radius);color:var(--foreground);cursor:pointer;display:flex;flex-direction:row;font-size:.875rem;gap:.75rem;justify-content:flex-start;line-height:1.5;padding:.625rem .75rem;transition:all .3s linear;-moz-user-select:none;user-select:none;-webkit-user-select:none;width:100%}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice:hover{border-color:var(--input)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice.active{border-color:var(--ring)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]{border-radius:var(--radius-sm)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox],.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]{border:2px solid var(--border);height:1rem;width:1rem}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:not(:disabled),.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:not(:disabled){cursor:pointer}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:hover:not(:disabled,:checked),.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:hover:not(:disabled,:checked){border-color:var(--input)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:checked,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:checked{border:none!important}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:disabled,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:disabled{cursor:not-allowed;opacity:.5}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:focus,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:focus,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:focus-visible{outline:transparent}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:focus-visible{box-shadow:0 0 0 2px var(--background),0 0 0 4px var(--ring)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice label{font-weight:400}.neeto-form-engine-form .neeto-form-engine-star-rating>.neeto-form-engine-label{margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:1.5rem;justify-content:flex-start}.neeto-form-engine-form .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row input[type=radio]{display:none}.neeto-form-engine-form .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row .neeto-form-engine-star-rating__icon.neeto-form-engine-star-rating__icon--active{fill:var(--primary);stroke:var(--primary)}.neeto-form-engine-form .neeto-form-engine-rating>.neeto-form-engine-label{margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row{align-items:center;display:flex;flex-direction:row;gap:1.5rem;justify-content:flex-start}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row input[type=radio]{display:none}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item{align-items:center;color:var(--muted-foreground);cursor:pointer;display:flex;flex-direction:column;justify-content:center;padding:.5rem}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item svg{margin-bottom:.25rem}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item svg path{stroke:currentColor;transition:all .3s linear}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item .neeto-form-engine-label{color:inherit;transition:all .3s linear}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy.active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy:active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy:focus,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy:hover{color:var(--success-foreground)}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused.active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused:active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused:focus,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused:hover{color:var(--warning-foreground)}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad.active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad:active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad:focus,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad:hover{color:var(--error-foreground)}.neeto-form-engine-terms .neeto-form-engine-choice{align-items:center;color:var(--foreground);display:flex;flex-direction:row;font-size:.875rem;gap:.75rem;justify-content:flex-start;line-height:1.5;padding:.5rem 0;transition:all .3s linear;width:100%}.neeto-form-engine-terms .neeto-form-engine-choice:hover{border-color:var(--input)}.neeto-form-engine-terms .neeto-form-engine-choice.active{border-color:var(--ring)}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]{border-radius:var(--radius-sm)}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox],.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]{align-self:flex-start;border:2px solid var(--border);height:1rem;margin-top:.125rem;width:1rem}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:not(:disabled),.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:not(:disabled){cursor:pointer}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:hover:not(:disabled,:checked),.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:hover:not(:disabled,:checked){border-color:var(--input)}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:checked,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:checked{border:none!important}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:disabled,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:disabled{cursor:not-allowed;opacity:.5}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:focus,.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:focus,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:focus-visible{outline:transparent}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:focus-visible{box-shadow:0 0 0 2px var(--background),0 0 0 4px var(--ring)}body .neeto-form-engine-form .neeto-ui-react-select__container .neeto-ui-react-select__value-container{min-height:2.5rem}body .neeto-form-engine-form .neeto-form-engine-star-rating__row button{outline:none}body .neeto-form-engine-form .neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item{box-shadow:none;outline:none}body .neeto-form-engine-form .neeto-form-engine-form{display:flex;flex-direction:column;gap:.625rem}body .neeto-form-engine-form .neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice{background-color:var(--card);padding-bottom:.625rem;padding-top:.625rem}body .neeto-form-engine-form .neeto-ui-react-select__control.neeto-ui-react-select__control--is-focused{box-shadow:0 0 0 1px var(--primary) inset}body .neeto-form-engine-form .neeto-ui-react-select__container.neeto-ui-react-select__container--error .neeto-ui-react-select__control.neeto-ui-react-select__control--is-focused{box-shadow:0 0 0 1px var(--error-solid) inset}.neeto-form-nano-form__card--active{box-shadow:0 0 0 1px var(--primary) inset}.neeto-form-nano-placeholder-input textarea{padding-top:.1875rem}.neeto-form-nano-placeholder-input.neeto-form-nano-placeholder-input-rich_text textarea,.neeto-form-nano-placeholder-input.neeto-form-nano-placeholder-input-textarea textarea{min-height:4em!important}@media (max-width:768px){.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice label{font-size:1rem}}button.neeto-form-engine-button{align-items:center;background-color:#2f3941;background-color:var(--neeto-form-engine-primary-color);border-radius:var(--radius-sm);color:#fff;color:var(--neeto-form-engine-secondary-color);display:flex;flex-direction:row;font-size:.875rem;font-weight:500;justify-content:center;letter-spacing:-.0094rem;line-height:1;padding:.5rem .75rem;position:relative;transition:all .3s linear}button.neeto-form-engine-button:active,button.neeto-form-engine-button:focus,button.neeto-form-engine-button:hover{background-color:#000;background-color:var(--neeto-form-engine-primary-color-dark)}.neeto-form-engine-button__loader,.neeto-form-engine-button__success{align-items:center;background:inherit;border-radius:inherit;cursor:default;display:flex;flex-direction:row;height:100%;inset-inline-start:0;justify-content:center;outline:none;position:absolute;top:0;width:100%}.neeto-form-engine-button__loader svg path,.neeto-form-engine-button__success svg path{stroke:currentColor}.neeto-form-engine-input__wrapper{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;justify-content:flex-start}.neeto-form-engine-input__wrapper .neeto-form-engine-input__label-wrapper{display:flex;justify-content:space-between;margin-bottom:.375rem;width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-rich-text-input{width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-input{align-items:center;background-color:var(--background);border:thin solid var(--input);border-radius:var(--radius);color:var(--foreground);display:flex;flex-direction:row;font-size:.875rem;justify-content:flex-start;line-height:1.6;overflow:hidden;transition:all .3s linear;width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--textarea{padding:.5rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input input,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea{background-color:transparent;border:none;box-shadow:none;color:inherit;font-size:inherit;line-height:inherit;outline:none;width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-input input::-moz-placeholder,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea::-moz-placeholder{color:var(--muted-foreground)}.neeto-form-engine-input__wrapper .neeto-form-engine-input input::placeholder,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea::placeholder{color:var(--muted-foreground)}.neeto-form-engine-input__wrapper .neeto-form-engine-input input:focus,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea:focus{outline-color:transparent}.neeto-form-engine-input__wrapper .neeto-form-engine-input input{line-height:1.3;padding:.375rem .5rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea{max-height:14rem;overflow-y:auto;padding:0}.neeto-form-engine-input__wrapper .neeto-form-engine-input:focus-within:not(.neeto-form-engine-input--error){border-color:var(--ring);box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);box-shadow:var(--neeto-form-engine-shadow-overlay)}.neeto-form-engine-input__wrapper .neeto-form-engine-input:hover:not(.neeto-form-engine-input--error,.neeto-form-engine-input--disabled){border-color:var(--ring)}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--error{border-color:var(--error-solid)}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--error:focus-within{box-shadow:0 0 0 3px var(--error)}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--error textarea{resize:none}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--disabled{background-color:var(--muted);cursor:not-allowed}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--disabled input,.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--disabled textarea{cursor:not-allowed}.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix,.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix{align-items:center;color:var(--muted-foreground);display:flex;flex-direction:row;font-size:.875rem;justify-content:flex-start}.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix svg,.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix svg{height:1rem;width:1rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix{margin-inline-start:.625rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix{margin-inline-end:.625rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__prefix,.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__suffix{background-color:var(--muted);margin:0;padding:.5rem .625rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__prefix{border-inline-end:thin solid var(--border)}.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__suffix{border-inline-start:thin solid var(--border)}.neeto-form-engine-input__error{color:var(--error-foreground);font-size:.75rem;margin-top:.25rem}.neeto-form-engine-label{color:var(--foreground);font-size:.875rem;font-weight:500;letter-spacing:-.0094rem;line-height:1.5}@media (max-width:768px){.neeto-form-engine-input__wrapper .neeto-form-engine-input,.neeto-form-engine-input__wrapper .neeto-form-engine-input input,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea,.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix,.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix,.neeto-form-engine-input__wrapper .neeto-form-engine-rich-text-input{font-size:1rem}.neeto-ui-react-select__container,.neeto-ui-react-select__input,.neeto-ui-react-select__menu-portal,.neeto-ui-react-select__multi-value__label{font-size:1rem!important}}.neeto-form-engine-date-picker{display:flex;flex-direction:column;width:100%}.neeto-form-engine-dropdown{align-items:center;display:inline-flex;position:relative}.neeto-form-engine-dropdown button{margin:0}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu{background-color:var(--popover);border-radius:var(--radius);box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);box-shadow:var(--neeto-form-engine-shadow-overlay);color:var(--popover-foreground);inset-inline-end:0;margin:0;min-width:168px;opacity:0;padding:.25rem 0;pointer-events:none;position:absolute;top:100%;transition:all .3s linear}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li{list-style:none}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button{align-items:center;color:var(--foreground);cursor:pointer;display:flex;flex-direction:row;font-size:.75rem;gap:.5rem;justify-content:flex-start;line-height:1;padding:.5rem .625rem;transition:all .3s linear;white-space:nowrap;width:100%}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button:active,.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button:focus,.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button:hover{background-color:var(--accent);color:var(--accent-foreground)}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button svg{height:.875rem;width:.875rem}.neeto-form-engine-dropdown:hover .neeto-form-engine-dropdown-menu,.neeto-form-engine-dropdown>button:focus+.neeto-form-engine-dropdown-menu{opacity:1;pointer-events:all}.neeto-form-engine-callout{align-items:center;animation:fade-in .3s both;background-color:var(--muted);border-radius:var(--radius-sm);bottom:2.5rem;color:var(--muted-foreground);display:flex;flex-direction:column;gap:.75rem;inset-inline-end:0;inset-inline-start:0;justify-content:flex-start;margin:auto;padding:.75rem;position:absolute;width:calc(100% - 48px)}.neeto-form-engine-callout.neeto-form-engine-callout--static{position:static}.neeto-form-engine-callout.neeto-form-engine-callout--error{background-color:var(--error);color:var(--error-foreground)}.neeto-form-engine-callout.neeto-form-engine-callout--info{background-color:var(--accent);color:var(--accent-foreground)}.neeto-form-engine-callout .neeto-form-engine-callout__close{color:var(--muted-foreground);inset-inline-end:.75rem;padding:0;position:absolute;top:.75rem;transition:all .3s linear}.neeto-form-engine-callout .neeto-form-engine-callout__close:active,.neeto-form-engine-callout .neeto-form-engine-callout__close:focus,.neeto-form-engine-callout .neeto-form-engine-callout__close:hover{color:var(--foreground)}.neeto-form-engine-callout .neeto-form-engine-callout__content{margin:auto;max-width:240px;width:100%}.neeto-form-engine-callout .neeto-form-engine-callout__content h5{color:var(--foreground);font-size:.875rem;font-weight:600;letter-spacing:-.0094rem;line-height:1rem;margin-bottom:.25rem;text-align:center}.neeto-form-engine-callout .neeto-form-engine-callout__content p{font-size:.75rem;line-height:1rem;text-align:center}.neeto-form-engine-callout button.neeto-form-engine-callout__button{align-items:center;background-color:var(--background);border-radius:var(--radius-sm);color:var(--foreground);display:flex;flex-direction:row;font-size:.875rem;font-weight:600;justify-content:center;letter-spacing:-.0094rem;line-height:1rem;padding:.375rem .5rem;transition:all .3s linear}.neeto-form-engine-callout button.neeto-form-engine-callout__button:active,.neeto-form-engine-callout button.neeto-form-engine-callout__button:focus,.neeto-form-engine-callout button.neeto-form-engine-callout__button:hover{background-color:var(--muted)}.loader{min-height:192px}.neeto-form-nano-external-form .neeto-form-engine-form{display:flex;flex-direction:column;gap:1rem}.neeto-form-nano-external-form--size-large{display:flex;flex-direction:column;margin:0 auto;max-width:46.5rem;padding-inline-end:1rem;padding-bottom:4rem;padding-top:1rem;padding-inline-start:1rem;width:100%}.neeto-form-nano-external-form--size-large .neeto-form-engine-input__label-wrapper{margin:.5rem 0 1rem}.neeto-form-nano-external-form--size-large .neeto-form-engine-label{font-size:1.3125rem;font-weight:400}.neeto-form-nano-external-form--size-large .neeto-form-nano-external-form-header .neeto-form-nano-external-form-title{font-size:2.25rem;font-weight:400;line-height:1.2;margin:.4em 0;text-align:start}.neeto-form-nano-external-form--size-large .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice label{font-size:1rem!important;position:relative;top:-.0625rem}.neeto-form-nano-external-form--size-large .neeto-form-engine-rating__item .neeto-form-engine-label,.neeto-form-nano-external-form--size-large .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row .neeto-form-engine-label{font-size:1rem}@media only screen and (min-width:768px){.neeto-form-nano-external-form--size-large .neeto-form-nano-external-form-header .neeto-form-nano-external-form-title{font-size:3rem}}.neeto-form-nano-sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.neeto-form-nano-math-captcha{align-items:center;border:2px dashed color-mix(in oklab,var(--primary) 50%,transparent);border-radius:.3125rem;color:var(--foreground);display:flex;font-size:.875rem;gap:.3125rem;padding:.5rem}.neeto-form-nano-math-captcha__button{align-items:center;background:var(--primary)!important;border:none;border-radius:.1875em;color:var(--primary-foreground);cursor:pointer;display:inline-flex;font-weight:400;gap:.25rem;line-height:1.2;min-height:2.25rem;padding:.3125em;text-decoration:none;transition:all .1s ease-out;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-form-nano-math-captcha__button:hover{opacity:.85}.neeto-form-nano-math-captcha__button:focus,.neeto-form-nano-math-captcha__button:focus-visible{outline:2px solid color-mix(in oklab,var(--primary) 20%,transparent);outline-offset:1px}.neeto-form-nano-math-captcha__equation{align-items:center;display:flex;gap:.3125rem;justify-content:center;min-width:4rem}.neeto-form-nano-math-captcha__input{border-color:var(--primary);width:6rem}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices.neeto-form-engine-choices--picture{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.neeto-form-engine-choice--picture.neeto-form-engine-choice--picture{align-items:start!important;display:flex;flex-direction:column!important}.neeto-form-engine-choice__image-wrapper{align-items:center;background-color:var(--muted);border-radius:.25rem;display:flex;justify-content:center;overflow:hidden;width:100%}.neeto-form-engine-choice__image-wrapper--loading{animation:pulse 1.5s ease-in-out infinite;background-color:var(--border)}.neeto-form-engine-choice__image{-webkit-user-drag:none;height:100%;-o-object-fit:contain;object-fit:contain;-moz-user-select:none;user-select:none;-webkit-user-select:none;width:100%}.neeto-form-engine-choice__image--fit{-o-object-fit:cover;object-fit:cover}.neeto-form-engine-choice__image-placeholder{align-items:center;background-color:var(--border)!important;border-radius:.25rem;color:var(--muted-foreground);display:flex;justify-content:center;padding:4rem;width:100%}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.neeto-form-nano-opinion-scale__group{display:inline-block;max-width:100%;position:relative}.neeto-form-nano-opinion-scale__list{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;list-style:none;margin:0;padding:0;position:relative;width:100%}.neeto-form-nano-opinion-scale__item{color:var(--primary)}.neeto-form-nano-opinion-scale__item-label{border-radius:.3125rem;border-radius:var(--neeto-form-engine-border-radius-sm);cursor:pointer;display:block;height:3rem;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:3rem}.neeto-form-nano-opinion-scale__item-label:hover .neeto-form-nano-opinion-scale__item-highlight{background-color:color-mix(in oklab,var(--primary) 10%,transparent)}.neeto-form-nano-opinion-scale__item-highlight{align-items:center;background-color:transparent;border-radius:.3125rem;border-radius:var(--neeto-form-engine-border-radius-sm);box-shadow:0 0 0 1px var(--border) inset;color:var(--primary);display:inline-flex;height:100%;inset-inline-start:0;justify-content:center;position:absolute;top:0;transition:all .1s ease-out;transition:var(--neeto-form-engine-transition);width:100%}.neeto-form-nano-opinion-scale__item-highlight:hover{background-color:color-mix(in oklab,var(--primary) 10%,transparent)}.neeto-form-nano-opinion-scale__item-input:focus+.neeto-form-nano-opinion-scale__item-highlight{background-color:color-mix(in oklab,var(--primary) 10%,transparent)}.neeto-form-nano-opinion-scale__item-input:checked+.neeto-form-nano-opinion-scale__item-highlight{background-color:var(--primary);border-color:var(--primary);box-shadow:0 0 0 1px var(--primary) inset;color:var(--primary-foreground)!important}.neeto-form-nano-opinion-scale__item-input:checked+.neeto-form-nano-opinion-scale__item-highlight:hover{background-color:var(--primary)}.neeto-form-nano-opinion-scale__labels-wrap{align-items:center;display:flex;justify-content:space-between;margin:8px 0}.neeto-form-nano-opinion-scale__label{color:var(--foreground);font-size:.875rem;line-height:1.2}.neeto-form-nano-opinion-scale__label--start{visibility:hidden}@media (min-width:768px){.neeto-form-nano-opinion-scale__labels-wrap-mobile{display:none}.neeto-form-nano-opinion-scale__label--start{visibility:visible}}:root{--neeto-form-engine-shadow-overlay:rgba(0,0,0,.2) 0px 3px 5px -1px,rgba(0,0,0,.14) 0px 6px 10px 0px,rgba(0,0,0,.12) 0px 1px 18px 0px}.dark{--neeto-form-engine-shadow-overlay:rgba(0,0,0,.5) 0px 3px 5px -1px,rgba(0,0,0,.4) 0px 6px 10px 0px,rgba(0,0,0,.36) 0px 1px 18px 0px}
2
2
  /*# sourceMappingURL=main.css.map */