"use strict";
/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
(self["webpackChunkwoocommerce_rtm_custom_emails"] = self["webpackChunkwoocommerce_rtm_custom_emails"] || []).push([["assets_src_js_react_lib_rjsf_SchemaForm_index_tsx"],{

/***/ 25150:
/*!*********************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/tailwind-form.scss ***!
  \*********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n// extracted by mini-css-extract-plugin\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({});\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/tailwind-form.scss?");

/***/ }),

/***/ 69250:
/*!*************************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/widgets/RichTextWidget/styles.scss ***!
  \*************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n// extracted by mini-css-extract-plugin\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({});\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/widgets/RichTextWidget/styles.scss?");

/***/ }),

/***/ 22284:
/*!*********************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/common.module.scss ***!
  \*********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n// extracted by mini-css-extract-plugin\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\"baseInput\":\"TArMrDPBF6VtURYIFy4h\"});\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/common.module.scss?");

/***/ }),

/***/ 91983:
/*!**************************************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/ArrayFieldTemplate/styles.module.scss ***!
  \**************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n// extracted by mini-css-extract-plugin\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\"list\":\"FWhFZPrj10zsFHoCIyPA\"});\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/ArrayFieldTemplate/styles.module.scss?");

/***/ }),

/***/ 38404:
/*!****************************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/widgets/DateWidget/styles.module.scss ***!
  \****************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n// extracted by mini-css-extract-plugin\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\"icon\":\"n0SxM0FMIUMNqiT9NcJA\",\"input\":\"YWHPBHsdG2t0PT1dcivI\"});\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/widgets/DateWidget/styles.module.scss?");

/***/ }),

/***/ 29561:
/*!***********************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/SchemaForm/index.tsx ***!
  \***********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _rjsf_validator_ajv8__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @rjsf/validator-ajv8 */ 25880);\n/* harmony import */ var _TailwindForm__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../TailwindForm */ 3435);\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function ({ children, schema, validator = _rjsf_validator_ajv8__WEBPACK_IMPORTED_MODULE_1__[\"default\"], uiSchema, validateAsync = async () => null, onSubmit, customValidate, data, onValidateAsync = undefined, onChange, className, transformErrors, showErrorList = 'top', onError, disabled = false, idPrefix = undefined }, ref) {\n    const [asyncValidating, setAsyncValidating] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false);\n    const [extraErrors, setExtraErrors] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({});\n    const handleSubmit = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(async (submitted, evt) => {\n        if (asyncValidating) {\n            return;\n        }\n        let errors = {};\n        if (validateAsync) {\n            setAsyncValidating(true);\n            errors = await validateAsync(submitted)\n                .finally(() => setAsyncValidating(false));\n            setExtraErrors(errors);\n        }\n        if ((!errors || !Object.keys(errors).length) && !!onSubmit) {\n            onSubmit(submitted.formData, evt);\n        }\n    }, [asyncValidating, validateAsync, onSubmit]);\n    (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\n        onValidateAsync && onValidateAsync(asyncValidating);\n    }, [asyncValidating, onValidateAsync]);\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_TailwindForm__WEBPACK_IMPORTED_MODULE_2__[\"default\"], { schema: schema, validator: validator, uiSchema: { ...(uiSchema ?? {}) }, showErrorList: showErrorList, noHtml5Validate: true, extraErrors: extraErrors, customValidate: customValidate, formData: data, onSubmit: handleSubmit, onChange: onChange, disabled: disabled || asyncValidating, widgets: {}, templates: {}, className: className, onError: onError, idPrefix: idPrefix, transformErrors: transformErrors, ref: ref }, children));\n}));\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/SchemaForm/index.tsx?");

/***/ }),

/***/ 3435:
/*!*******************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/TailwindForm.tsx ***!
  \*******************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */   \"generateForm\": () => (/* binding */ generateForm)\n/* harmony export */ });\n/* harmony import */ var _rjsf_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @rjsf/core */ 64001);\n/* harmony import */ var _TailwindTheme__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TailwindTheme */ 84513);\n/* harmony import */ var _tailwind_form_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tailwind-form.scss */ 25150);\n\n\n\nfunction generateForm() {\n    return (0,_rjsf_core__WEBPACK_IMPORTED_MODULE_0__.withTheme)((0,_TailwindTheme__WEBPACK_IMPORTED_MODULE_1__.generateTheme)());\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (generateForm());\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/TailwindForm.tsx?");

/***/ }),

/***/ 51637:
/*!************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/TailwindTemplates.tsx ***!
  \************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */   \"generateTemplates\": () => (/* binding */ generateTemplates)\n/* harmony export */ });\n/* harmony import */ var _templates_BaseInputTemplate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./templates/BaseInputTemplate */ 89469);\n/* harmony import */ var _templates_FieldTemplate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./templates/FieldTemplate */ 97196);\n/* harmony import */ var _templates_WrapIfAdditionalTemplate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./templates/WrapIfAdditionalTemplate */ 40049);\n/* harmony import */ var _templates_TitleFieldTemplate__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./templates/TitleFieldTemplate */ 87735);\n/* harmony import */ var _templates_ObjectFieldTemplate__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./templates/ObjectFieldTemplate */ 14097);\n/* harmony import */ var _templates_DescriptionFieldTemplate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./templates/DescriptionFieldTemplate */ 39392);\n/* harmony import */ var _templates_ArrayFieldTemplate__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./templates/ArrayFieldTemplate */ 3683);\n/* harmony import */ var _templates_ArrayFieldItemTemplate__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./templates/ArrayFieldItemTemplate */ 7142);\n/* harmony import */ var _templates_ErrorList__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./templates/ErrorList */ 1004);\n/* harmony import */ var _templates_FieldErrorTemplate__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./templates/FieldErrorTemplate */ 81294);\n/* harmony import */ var _templates_FieldHelpTemplate__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./templates/FieldHelpTemplate */ 60672);\n/* harmony import */ var _templates_ButtonTemplates_SubmitButton__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./templates/ButtonTemplates/SubmitButton */ 82263);\n/* harmony import */ var _templates_ButtonTemplates_AddButton__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./templates/ButtonTemplates/AddButton */ 94259);\n/* harmony import */ var _templates_ButtonTemplates_IconButton__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./templates/ButtonTemplates/IconButton */ 17384);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction generateTemplates() {\n    return {\n        ArrayFieldItemTemplate: _templates_ArrayFieldItemTemplate__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n        ArrayFieldTemplate: _templates_ArrayFieldTemplate__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n        BaseInputTemplate: _templates_BaseInputTemplate__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n        ButtonTemplates: {\n            AddButton: _templates_ButtonTemplates_AddButton__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n            CopyButton: _templates_ButtonTemplates_IconButton__WEBPACK_IMPORTED_MODULE_13__.CopyButton,\n            MoveDownButton: _templates_ButtonTemplates_IconButton__WEBPACK_IMPORTED_MODULE_13__.MoveDownButton,\n            MoveUpButton: _templates_ButtonTemplates_IconButton__WEBPACK_IMPORTED_MODULE_13__.MoveUpButton,\n            RemoveButton: _templates_ButtonTemplates_IconButton__WEBPACK_IMPORTED_MODULE_13__.RemoveButton,\n            SubmitButton: _templates_ButtonTemplates_SubmitButton__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n        },\n        DescriptionFieldTemplate: _templates_DescriptionFieldTemplate__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n        ErrorListTemplate: _templates_ErrorList__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n        FieldErrorTemplate: _templates_FieldErrorTemplate__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n        FieldHelpTemplate: _templates_FieldHelpTemplate__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n        FieldTemplate: _templates_FieldTemplate__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n        ObjectFieldTemplate: _templates_ObjectFieldTemplate__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n        TitleFieldTemplate: _templates_TitleFieldTemplate__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n        WrapIfAdditionalTemplate: _templates_WrapIfAdditionalTemplate__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n    };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (generateTemplates());\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/TailwindTemplates.tsx?");

/***/ }),

/***/ 84513:
/*!********************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/TailwindTheme.tsx ***!
  \********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */   \"generateTheme\": () => (/* binding */ generateTheme)\n/* harmony export */ });\n/* harmony import */ var _TailwindWidgets__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TailwindWidgets */ 54735);\n/* harmony import */ var _TailwindTemplates__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TailwindTemplates */ 51637);\n\n\nfunction generateTheme() {\n    return {\n        templates: (0,_TailwindTemplates__WEBPACK_IMPORTED_MODULE_1__.generateTemplates)(),\n        widgets: (0,_TailwindWidgets__WEBPACK_IMPORTED_MODULE_0__.generateWidgets)(),\n    };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (generateTheme());\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/TailwindTheme.tsx?");

/***/ }),

/***/ 54735:
/*!**********************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/TailwindWidgets.tsx ***!
  \**********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */   \"generateWidgets\": () => (/* binding */ generateWidgets)\n/* harmony export */ });\n/* harmony import */ var _widgets_DateWidget__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./widgets/DateWidget */ 73729);\n/* harmony import */ var _widgets_SelectWidget__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./widgets/SelectWidget */ 35834);\n/* harmony import */ var _widgets_CheckboxWidget__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./widgets/CheckboxWidget */ 39955);\n/* harmony import */ var _widgets_TextareaWidget_TextareaWidget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./widgets/TextareaWidget/TextareaWidget */ 53712);\n/* harmony import */ var _widgets_RichTextWidget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./widgets/RichTextWidget */ 27387);\n\n\n\n\n\nfunction generateWidgets() {\n    return {\n        DateWidget: _widgets_DateWidget__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n        CheckboxWidget: _widgets_CheckboxWidget__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n        SelectWidget: _widgets_SelectWidget__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n        TextareaWidget: _widgets_TextareaWidget_TextareaWidget__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n        RichTextWidget: _widgets_RichTextWidget__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n        'multiselect': _widgets_SelectWidget__WEBPACK_IMPORTED_MODULE_1__[\"default\"]\n    };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (generateWidgets());\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/TailwindWidgets.tsx?");

/***/ }),

/***/ 7142:
/*!***************************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/ArrayFieldItemTemplate.tsx ***!
  \***************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ ArrayFieldItemTemplate)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _material_tailwind_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material-tailwind/react */ 59335);\n/* harmony import */ var _material_tailwind_react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_material_tailwind_react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ 94184);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nfunction ArrayFieldItemTemplate(props) {\n    const { children, className, disabled, hasToolbar, hasMoveDown, hasMoveUp, hasRemove, hasCopy, index, onCopyIndexClick, onDropIndexClick, onReorderClick, readonly, registry, uiSchema, } = props;\n    const { CopyButton, MoveDownButton, MoveUpButton, RemoveButton } = registry.templates.ButtonTemplates;\n    const btnStyle = {\n        flex: 1,\n        paddingLeft: 6,\n        paddingRight: 6,\n        fontWeight: 'bold',\n    };\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: classnames__WEBPACK_IMPORTED_MODULE_2___default()(className, 'grid grid-cols-4 gap-1 items-center') },\n        react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: classnames__WEBPACK_IMPORTED_MODULE_2___default()({\n                'col-span-3': hasToolbar,\n                'col-span-full': !hasToolbar\n            }) }, children),\n        hasToolbar && (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: 'col-span-1 array-item-toolbox' },\n            react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_material_tailwind_react__WEBPACK_IMPORTED_MODULE_1__.ButtonGroup, { size: 'sm', color: 'white' },\n                (hasMoveUp || hasMoveDown) && (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(MoveUpButton, { style: btnStyle, disabled: disabled || readonly || !hasMoveUp, onClick: onReorderClick(index, index - 1), uiSchema: uiSchema, registry: registry })),\n                (hasMoveUp || hasMoveDown) && (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(MoveDownButton, { style: btnStyle, disabled: disabled || readonly || !hasMoveDown, onClick: onReorderClick(index, index + 1), uiSchema: uiSchema, registry: registry })),\n                hasCopy && (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CopyButton, { style: btnStyle, disabled: disabled || readonly, onClick: onCopyIndexClick(index), uiSchema: uiSchema, registry: registry })),\n                hasRemove && (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(RemoveButton, { style: btnStyle, disabled: disabled || readonly, onClick: onDropIndexClick(index), uiSchema: uiSchema, registry: registry })))))));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/ArrayFieldItemTemplate.tsx?");

/***/ }),

/***/ 3683:
/*!*****************************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/ArrayFieldTemplate/index.tsx ***!
  \*****************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ ArrayFieldTemplate)\n/* harmony export */ });\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ 94184);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _styles_module_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./styles.module.scss */ 91983);\n\n\n\n\nfunction ArrayFieldTemplate(props) {\n    const { canAdd, className, disabled, idSchema, uiSchema, items, onAddClick, readonly, registry, schema, title } = props;\n    const uiOptions = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.getUiOptions)(uiSchema);\n    const ArrayFieldDescriptionTemplate = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.getTemplate)('ArrayFieldDescriptionTemplate', registry, uiOptions);\n    const ArrayFieldItemTemplate = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.getTemplate)('ArrayFieldItemTemplate', registry, uiOptions);\n    const { ButtonTemplates: { AddButton }, } = registry.templates;\n    const shouldRenderLabel = !uiOptions.hideLabel && (title || uiOptions.label);\n    return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"fieldset\", { className: className, id: idSchema.$id },\n        shouldRenderLabel && react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", { id: (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.titleId)(idSchema), className: 'col-span-full flex justify-between' },\n            react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"h5\", null, title),\n            canAdd && (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(AddButton, { className: 'array-item-add flex-1 text-end', onClick: onAddClick, disabled: disabled || readonly, uiSchema: uiSchema, registry: registry })),\n            react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"hr\", null)),\n        !shouldRenderLabel && canAdd && (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(AddButton, { className: 'array-item-add', onClick: onAddClick, disabled: disabled || readonly, uiSchema: uiSchema, registry: registry })),\n        react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ArrayFieldDescriptionTemplate, { idSchema: idSchema, description: uiOptions.description || schema.description, schema: schema, uiSchema: uiSchema, registry: registry }),\n        react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", { className: classnames__WEBPACK_IMPORTED_MODULE_2___default()('flex flex-col gap-2', _styles_module_scss__WEBPACK_IMPORTED_MODULE_3__[\"default\"].list) }, items &&\n            items.map(({ key, ...itemProps }) => (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(ArrayFieldItemTemplate, { key: key, ...itemProps }))))));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/ArrayFieldTemplate/index.tsx?");

/***/ }),

/***/ 89469:
/*!**********************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/BaseInputTemplate.tsx ***!
  \**********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _common_module_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../common.module.scss */ 22284);\n/* harmony import */ var _material_tailwind_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @material-tailwind/react */ 59335);\n/* harmony import */ var _material_tailwind_react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_material_tailwind_react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ 94184);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(props) {\n    const { id, name, placeholder, required, readonly, disabled, type, label, hideLabel, value, onChange, onChangeOverride, onBlur, onFocus, autofocus, options, schema, rawErrors = [], InputLabelProps, } = props;\n    const inputProps = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.getInputProps)(schema, type, options);\n    const { step, min, max, ...rest } = inputProps;\n    const otherProps = {\n        step,\n        min,\n        max,\n        ...(schema.examples ? { list: (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.examplesId)(id) } : undefined),\n        ...rest,\n    };\n    const _onChange = ({ target: { value } }) => onChange(value === '' ? options.emptyValue : value);\n    const _onBlur = ({ target: { value } }) => onBlur(id, value);\n    const _onFocus = ({ target: { value } }) => onFocus(id, value);\n    return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null,\n        react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_material_tailwind_react__WEBPACK_IMPORTED_MODULE_3__.Input, { id: id, name: name, placeholder: placeholder, label: hideLabel ? '' : label, labelProps: {\n                className: classnames__WEBPACK_IMPORTED_MODULE_4___default()('!font-bold', { 'hidden': hideLabel }),\n                ...InputLabelProps\n            }, autoFocus: autofocus, required: required, disabled: disabled || readonly, ...otherProps, value: value || value === 0 ? value : '', error: rawErrors.length > 0, onChange: onChangeOverride || _onChange, onBlur: _onBlur, onFocus: _onFocus, \"aria-describedby\": (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.ariaDescribedByIds)(id, !!schema.examples), className: classnames__WEBPACK_IMPORTED_MODULE_4___default()(_common_module_scss__WEBPACK_IMPORTED_MODULE_2__[\"default\"].baseInput, 'mt-1.5 !bg-white') }),\n        Array.isArray(schema.examples) && (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"datalist\", { id: (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.examplesId)(id) }, schema.examples\n            .concat(schema.default && !schema.examples.includes(schema.default) ? [schema.default] : [])\n            .map((example) => {\n            return react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"option\", { key: example, value: example });\n        })))));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/BaseInputTemplate.tsx?");

/***/ }),

/***/ 94259:
/*!******************************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/ButtonTemplates/AddButton.tsx ***!
  \******************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ AddButton)\n/* harmony export */ });\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n/* harmony import */ var _IconButton__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./IconButton */ 17384);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ 67814);\n/* harmony import */ var _fortawesome_free_solid_svg_icons_faPlus__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons/faPlus */ 40098);\n\n\n\n\n\nfunction AddButton({ className, onClick, disabled, registry, }) {\n    const { translateString } = registry;\n    return (react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", { className: 'flex flex-1 justify-end' },\n        react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"p\", { className: `text-right ${className}` },\n            react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_IconButton__WEBPACK_IMPORTED_MODULE_1__[\"default\"], { iconType: 'info', icon: react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: _fortawesome_free_solid_svg_icons_faPlus__WEBPACK_IMPORTED_MODULE_4__.faPlus }), className: 'btn-add col-xs-12', title: translateString(_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.TranslatableString.AddButton), onClick: onClick, disabled: disabled, registry: registry }))));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/ButtonTemplates/AddButton.tsx?");

/***/ }),

/***/ 17384:
/*!*******************************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/ButtonTemplates/IconButton.tsx ***!
  \*******************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"CopyButton\": () => (/* binding */ CopyButton),\n/* harmony export */   \"MoveDownButton\": () => (/* binding */ MoveDownButton),\n/* harmony export */   \"MoveUpButton\": () => (/* binding */ MoveUpButton),\n/* harmony export */   \"RemoveButton\": () => (/* binding */ RemoveButton),\n/* harmony export */   \"default\": () => (/* binding */ IconButton)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n/* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ 67814);\n/* harmony import */ var _fortawesome_free_solid_svg_icons_faCopy__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons/faCopy */ 2909);\n/* harmony import */ var _fortawesome_free_solid_svg_icons_faArrowDown__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons/faArrowDown */ 61730);\n/* harmony import */ var _fortawesome_free_solid_svg_icons_faArrowUp__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons/faArrowUp */ 69323);\n/* harmony import */ var _fortawesome_free_solid_svg_icons_faTrash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons/faTrash */ 42619);\n/* harmony import */ var _material_tailwind_react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @material-tailwind/react */ 59335);\n/* harmony import */ var _material_tailwind_react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_material_tailwind_react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ 94184);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n\n\n\n\n\n\nfunction IconButton(props) {\n    const { iconType = 'default', icon, className, uiSchema, registry, ...otherProps } = props;\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_material_tailwind_react__WEBPACK_IMPORTED_MODULE_3__.Button, { size: 'sm', color: 'white', className: className, ...otherProps },\n        react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", { className: classnames__WEBPACK_IMPORTED_MODULE_4___default()({\n                'text-red-500': iconType === 'danger',\n                'text-green-500': iconType === 'success',\n                'text-yellow-500': iconType === 'warning',\n            }) }, icon)));\n}\nfunction CopyButton(props) {\n    const { registry: { translateString }, } = props;\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(IconButton, { title: translateString(_rjsf_utils__WEBPACK_IMPORTED_MODULE_1__.TranslatableString.CopyButton), className: 'array-item-copy', ...props, icon: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__.FontAwesomeIcon, { icon: _fortawesome_free_solid_svg_icons_faCopy__WEBPACK_IMPORTED_MODULE_5__.faCopy }) }));\n}\nfunction MoveDownButton(props) {\n    const { registry: { translateString }, } = props;\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(IconButton, { title: translateString(_rjsf_utils__WEBPACK_IMPORTED_MODULE_1__.TranslatableString.MoveDownButton), className: 'array-item-move-down', ...props, icon: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__.FontAwesomeIcon, { icon: _fortawesome_free_solid_svg_icons_faArrowDown__WEBPACK_IMPORTED_MODULE_6__.faArrowDown }) }));\n}\nfunction MoveUpButton(props) {\n    const { registry: { translateString }, } = props;\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(IconButton, { title: translateString(_rjsf_utils__WEBPACK_IMPORTED_MODULE_1__.TranslatableString.MoveUpButton), className: 'array-item-move-up', ...props, icon: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__.FontAwesomeIcon, { icon: _fortawesome_free_solid_svg_icons_faArrowUp__WEBPACK_IMPORTED_MODULE_7__.faArrowUp }) }));\n}\nfunction RemoveButton(props) {\n    const { registry: { translateString }, } = props;\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(IconButton, { title: translateString(_rjsf_utils__WEBPACK_IMPORTED_MODULE_1__.TranslatableString.RemoveButton), className: 'array-item-remove', ...props, iconType: 'danger', icon: react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_2__.FontAwesomeIcon, { icon: _fortawesome_free_solid_svg_icons_faTrash__WEBPACK_IMPORTED_MODULE_8__.faTrash }) }));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/ButtonTemplates/IconButton.tsx?");

/***/ }),

/***/ 82263:
/*!*********************************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/ButtonTemplates/SubmitButton.tsx ***!
  \*********************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ SubmitButton)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n/* harmony import */ var _material_tailwind_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material-tailwind/react */ 59335);\n/* harmony import */ var _material_tailwind_react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_tailwind_react__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nfunction SubmitButton({ uiSchema }) {\n    const { submitText, norender, props: submitButtonProps = {} } = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_1__.getSubmitButtonOptions)(uiSchema);\n    if (norender) {\n        return null;\n    }\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { className: 'grid' },\n        react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_material_tailwind_react__WEBPACK_IMPORTED_MODULE_2__.Button, { color: 'blue-gray', type: 'submit', ...submitButtonProps, className: submitButtonProps.className }, submitText)));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/ButtonTemplates/SubmitButton.tsx?");

/***/ }),

/***/ 39392:
/*!*****************************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/DescriptionFieldTemplate.tsx ***!
  \*****************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(props) {\n    const { id, description } = props;\n    if (!description) {\n        return null;\n    }\n    if (typeof description === 'string') {\n        return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"p\", { id: id, className: 'field-description text-xs mb-3', dangerouslySetInnerHTML: { __html: description } }));\n    }\n    else {\n        return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { id: id, className: 'field-description text-xs mb-3' }, description));\n    }\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/DescriptionFieldTemplate.tsx?");

/***/ }),

/***/ 1004:
/*!**************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/ErrorList.tsx ***!
  \**************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ ErrorList)\n/* harmony export */ });\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n\n\nfunction ErrorList({ errors, registry, }) {\n    const { translateString } = registry;\n    return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", { className: 'panel panel-danger errors' },\n        react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", { className: 'panel-heading' },\n            react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"h3\", { className: 'panel-title' }, translateString(_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.TranslatableString.ErrorsLabel))),\n        react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"ul\", { className: 'list-group' }, errors.map((error, i) => {\n            return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"li\", { key: i, className: 'list-group-item text-danger' }, error.stack));\n        }))));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/ErrorList.tsx?");

/***/ }),

/***/ 81294:
/*!***********************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/FieldErrorTemplate.tsx ***!
  \***********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ FieldErrorTemplate)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n\n\nfunction FieldErrorTemplate(props) {\n    const { errors = [], idSchema } = props;\n    if (errors.length === 0) {\n        return null;\n    }\n    const id = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_1__.errorId)(idSchema);\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null,\n        react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"ul\", { id: id, className: 'error-detail bs-callout bs-callout-info' }, errors\n            .filter((elem) => !!elem)\n            .map((error, index) => {\n            return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"li\", { className: 'text-danger', key: index }, error));\n        }))));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/FieldErrorTemplate.tsx?");

/***/ }),

/***/ 60672:
/*!**********************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/FieldHelpTemplate.tsx ***!
  \**********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ FieldHelpTemplate)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n\n\nfunction FieldHelpTemplate(props) {\n    const { idSchema, help } = props;\n    if (!help) {\n        return null;\n    }\n    const id = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_1__.helpId)(idSchema);\n    if (typeof help === 'string') {\n        return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"p\", { id: id, className: 'help-block' }, help));\n    }\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { id: id, className: 'help-block' }, help));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/FieldHelpTemplate.tsx?");

/***/ }),

/***/ 97196:
/*!******************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/FieldTemplate.tsx ***!
  \******************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ FieldTemplate)\n/* harmony export */ });\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _Label__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Label */ 55686);\n\n\n\nfunction isEnum(schema) {\n    if (Boolean(schema.enum?.length)) {\n        return true;\n    }\n    if (!schema.items) {\n        return false;\n    }\n    const items = Array.isArray(schema.items) ? schema.items : [schema.items];\n    return items.some((item) => typeof item !== 'boolean' && Boolean(item.enum?.length));\n}\nfunction FieldTemplate(props) {\n    const { id, children, classNames, description, style, disabled, displayLabel, hidden, label, onDropPropertyClick, onKeyChange, readonly, required, errors, help, schema, uiSchema, registry } = props;\n    const uiOptions = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.getUiOptions)(uiSchema);\n    const DescriptionFieldTemplate = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.getTemplate)('DescriptionFieldTemplate', registry, uiOptions);\n    const WrapIfAdditionalTemplate = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.getTemplate)('WrapIfAdditionalTemplate', registry, uiOptions);\n    if (hidden) {\n        return react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", { className: 'hidden' }, children);\n    }\n    return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(WrapIfAdditionalTemplate, { classNames: classNames, style: style, disabled: disabled, id: id, label: label, onDropPropertyClick: onDropPropertyClick, onKeyChange: onKeyChange, readonly: readonly, required: required, schema: schema, uiSchema: uiSchema, registry: registry },\n        displayLabel && isEnum(schema) && react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_Label__WEBPACK_IMPORTED_MODULE_2__[\"default\"], { label: label, required: required, id: id }),\n        children,\n        displayLabel && !!description && (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(DescriptionFieldTemplate, { id: (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.descriptionId)(id), description: description, schema: schema, uiSchema: { ...uiSchema, classNames: '' }, registry: registry })),\n        react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"span\", { className: 'text-red-600' }, errors),\n        help));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/FieldTemplate.tsx?");

/***/ }),

/***/ 55686:
/*!**********************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/Label.tsx ***!
  \**********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ Label)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nconst REQUIRED_FIELD_SYMBOL = '*';\nfunction Label(props) {\n    const { label, required, id } = props;\n    if (!label) {\n        return null;\n    }\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"label\", { className: 'font-bold', htmlFor: id },\n        label,\n        required && react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", { className: 'required' }, REQUIRED_FIELD_SYMBOL)));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/Label.tsx?");

/***/ }),

/***/ 14097:
/*!************************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/ObjectFieldTemplate.tsx ***!
  \************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ ObjectFieldTemplate)\n/* harmony export */ });\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n\n\nfunction ObjectFieldTemplate(props) {\n    const { description, title, properties, required, disabled, readonly, uiSchema, idSchema, schema, formData, onAddClick, registry, } = props;\n    const uiOptions = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.getUiOptions)(uiSchema);\n    const TitleFieldTemplate = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.getTemplate)('TitleFieldTemplate', registry, uiOptions);\n    const DescriptionFieldTemplate = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.getTemplate)('DescriptionFieldTemplate', registry, uiOptions);\n    const { ButtonTemplates: { AddButton }, } = registry.templates;\n    const shouldRenderTitle = !uiSchema?.hideLabel && (title || uiOptions.label);\n    return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"fieldset\", { id: idSchema.$id, ...(uiOptions.fieldsetProperties ?? {}) },\n        shouldRenderTitle && (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(TitleFieldTemplate, { id: (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.titleId)(idSchema), title: title, required: required, schema: schema, uiSchema: uiSchema, registry: registry })),\n        description && (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(DescriptionFieldTemplate, { id: (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.descriptionId)(idSchema), description: description, schema: schema, uiSchema: uiSchema, registry: registry })),\n        properties.map((prop) => prop.content),\n        (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.canExpand)(schema, uiSchema, formData) && (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(AddButton, { className: 'object-property-expand', onClick: onAddClick(schema), disabled: disabled || readonly, uiSchema: uiSchema, registry: registry }))));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/ObjectFieldTemplate.tsx?");

/***/ }),

/***/ 87735:
/*!***********************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/TitleFieldTemplate.tsx ***!
  \***********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__({ id, title, }) {\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", { id: id, className: 'col-span-full' },\n        react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"h5\", null, title),\n        react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"hr\", null)));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/TitleFieldTemplate.tsx?");

/***/ }),

/***/ 40049:
/*!*****************************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/templates/WrapIfAdditionalTemplate.tsx ***!
  \*****************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ WrapIfAdditionalTemplate)\n/* harmony export */ });\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n/* harmony import */ var _Label__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Label */ 55686);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nfunction WrapIfAdditionalTemplate(props) {\n    const { id, classNames, style, disabled, label, onKeyChange, onDropPropertyClick, readonly, required, schema, children, uiSchema, registry, } = props;\n    const { templates, translateString } = registry;\n    const { RemoveButton } = templates.ButtonTemplates;\n    const keyLabel = translateString(_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.TranslatableString.KeyLabel, [label]);\n    const additional = _rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.ADDITIONAL_PROPERTY_FLAG in schema;\n    if (!additional) {\n        return (react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", { className: classNames, style: style }, children));\n    }\n    return (react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", { className: classNames, style: style },\n        react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", { className: 'row' },\n            react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", { className: 'col-xs-5 form-additional' },\n                react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", { className: 'form-group' },\n                    react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_Label__WEBPACK_IMPORTED_MODULE_1__[\"default\"], { label: keyLabel, required: required, id: `${id}-key` }),\n                    react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"input\", { className: 'form-control', type: 'text', id: `${id}-key`, onBlur: (event) => onKeyChange(event.target.value), defaultValue: label }))),\n            react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", { className: 'form-additional form-group col-xs-5' }, children),\n            react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", { className: 'col-xs-2' },\n                react__WEBPACK_IMPORTED_MODULE_2___default().createElement(RemoveButton, { className: 'array-item-remove btn-block', style: { border: '0' }, disabled: disabled || readonly, onClick: onDropPropertyClick(label), uiSchema: uiSchema, registry: registry })))));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/templates/WrapIfAdditionalTemplate.tsx?");

/***/ }),

/***/ 39955:
/*!***********************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/widgets/CheckboxWidget/index.tsx ***!
  \***********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n/* harmony import */ var _material_tailwind_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material-tailwind/react */ 59335);\n/* harmony import */ var _material_tailwind_react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_tailwind_react__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__({ schema, uiSchema, options, id, value, disabled, readonly, label, hideLabel, autofocus = false, onBlur, onFocus, onChange, registry, }) {\n    const DescriptionFieldTemplate = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_1__.getTemplate)('DescriptionFieldTemplate', registry, options);\n    const required = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_1__.schemaRequiresTrueValue)(schema);\n    const handleChange = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event) => onChange(event.target.checked), [onChange]);\n    const handleBlur = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event) => onBlur(id, event.target.checked), [onBlur, id]);\n    const handleFocus = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)((event) => onFocus(id, event.target.checked), [onFocus, id]);\n    const description = options.description ?? schema.description;\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null,\n        react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_material_tailwind_react__WEBPACK_IMPORTED_MODULE_2__.Checkbox, { label: (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_1__.labelValue)(react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", null, label), hideLabel), id: id, name: id, checked: typeof value === 'undefined' ? false : value, required: required, disabled: disabled || readonly, autoFocus: autofocus, onChange: handleChange, onBlur: handleBlur, onFocus: handleFocus, ripple: false, \"aria-describedby\": (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_1__.ariaDescribedByIds)(id) }),\n        !hideLabel && !!description && (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(DescriptionFieldTemplate, { id: (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_1__.descriptionId)(id), description: description, schema: schema, uiSchema: uiSchema, registry: registry }))));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/widgets/CheckboxWidget/index.tsx?");

/***/ }),

/***/ 73729:
/*!*******************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/widgets/DateWidget/index.tsx ***!
  \*******************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var tailwind_datepicker_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tailwind-datepicker-react */ 72369);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n/* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @fortawesome/react-fontawesome */ 67814);\n/* harmony import */ var _fortawesome_free_solid_svg_icons_faCalendar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @fortawesome/free-solid-svg-icons/faCalendar */ 85322);\n/* harmony import */ var _common_module_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../common.module.scss */ 22284);\n/* harmony import */ var _styles_module_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.module.scss */ 38404);\n\n\n\n\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(props) {\n    const { schema, id, value, disabled, readonly, label = '', hideLabel, autofocus, onChange, onBlur, onFocus, registry, options, uiSchema, } = props;\n    const DescriptionFieldTemplate = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_2__.getTemplate)('DescriptionFieldTemplate', registry, options);\n    const required = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_2__.schemaRequiresTrueValue)(schema);\n    const _onChange = (_, checked) => onChange(checked);\n    const _onBlur = ({ target: { value } }) => onBlur(id, value);\n    const _onFocus = ({ target: { value } }) => onFocus(id, value);\n    const description = options.description ?? schema.description;\n    const [show, setShow] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [selectedDate, setSelectedDate] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null);\n    const handleChange = (selectedDate) => {\n        setSelectedDate(selectedDate);\n    };\n    const handleClose = (state) => {\n        setShow(state);\n    };\n    const pickerOptions = {\n        title: \"Demo Title\",\n        autoHide: true,\n        todayBtn: false,\n        clearBtn: true,\n        maxDate: new Date(\"2030-01-01\"),\n        minDate: new Date(\"2000-01-01\"),\n        theme: {\n            todayBtn: \"todayBtn\",\n            clearBtn: \"clearBtn\",\n            icons: \"icons\",\n            text: \"text\",\n            input: \"input\",\n            inputIcon: \"inputIcon\",\n            selected: \"selected\",\n        },\n        icons: {\n            prev: () => react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"span\", null, \"Previous\"),\n            next: () => react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"span\", null, \"Next\"),\n        },\n        datepickerClassNames: \"top-12\",\n        defaultDate: new Date(),\n    };\n    return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null,\n        !hideLabel && !!description && (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(DescriptionFieldTemplate, { id: (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_2__.descriptionId)(id), description: description, schema: schema, uiSchema: uiSchema, registry: registry })),\n        react__WEBPACK_IMPORTED_MODULE_1___default().createElement(tailwind_datepicker_react__WEBPACK_IMPORTED_MODULE_0__[\"default\"], { show: show, setShow: handleClose, options: pickerOptions, onChange: handleChange, classNames: 'relative' },\n            react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: _fortawesome_free_solid_svg_icons_faCalendar__WEBPACK_IMPORTED_MODULE_6__.faCalendar, className: _styles_module_scss__WEBPACK_IMPORTED_MODULE_5__[\"default\"].icon }),\n            react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"input\", { type: \"text\", className: `${_styles_module_scss__WEBPACK_IMPORTED_MODULE_5__[\"default\"].input} ${_common_module_scss__WEBPACK_IMPORTED_MODULE_4__[\"default\"].baseInput}`, placeholder: \"Select Date\", value: selectedDate, onFocus: () => setShow(true), readOnly: true }))));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/widgets/DateWidget/index.tsx?");

/***/ }),

/***/ 27387:
/*!***********************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/widgets/RichTextWidget/index.tsx ***!
  \***********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react_quill__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-quill */ 71167);\n/* harmony import */ var react_quill__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_quill__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _styles_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./styles.scss */ 69250);\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__({ id, options = {}, placeholder, value, disabled, readonly, onChange, onBlur, onFocus, }) {\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null,\n        react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react_quill__WEBPACK_IMPORTED_MODULE_1___default()), { theme: \"snow\", value: value, modules: {\n                toolbar: [\n                    [{ 'header': [1, 2, false] }],\n                    ['bold', 'italic', 'underline', 'strike', 'blockquote'],\n                    [{ 'list': 'ordered' }, { 'list': 'bullet' }, { 'indent': '-1' }, { 'indent': '+1' }],\n                    ['link', 'image'],\n                    ['clean']\n                ],\n            }, onChange: onChange, formats: [\n                'header',\n                'bold', 'italic', 'underline', 'strike', 'blockquote',\n                'list', 'bullet', 'indent',\n                'link', 'image'\n            ], preserveWhitespace: true, readOnly: readonly || disabled, onFocus: (selection) => onFocus(id, !selection ? value : value.substring(selection.index, selection.length)), onBlur: (selection) => onBlur(id, !selection ? value : value.substring(selection.index, selection.length)), placeholder: placeholder, ...(options.quillOptions ?? {}) })));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/widgets/RichTextWidget/index.tsx?");

/***/ }),

/***/ 35834:
/*!*********************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/widgets/SelectWidget/index.tsx ***!
  \*********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_select__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-select */ 23157);\n\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(props) {\n    const { schema, id, value, disabled, autofocus, onChange, onBlur, onFocus, options, multiple, } = props;\n    const required = (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_0__.schemaRequiresTrueValue)(schema);\n    const Multi = !!multiple;\n    const values = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => {\n        if (multiple) {\n            return (value ?? []).map(v => (options.enumOptions)?.find(({ value: val }) => val === v));\n        }\n        else {\n            return (options.enumOptions)?.find(({ value: val }) => val === value);\n        }\n    }, [value, options.enumOptions, multiple]);\n    return (react__WEBPACK_IMPORTED_MODULE_1___default().createElement(react_select__WEBPACK_IMPORTED_MODULE_2__[\"default\"], { id: id, isDisabled: disabled, autoFocus: autofocus, placeholder: schema.title, onBlur: evt => onBlur(id, evt.target.value), onFocus: evt => onFocus(id, evt.target.value), value: values, closeMenuOnSelect: !multiple, getOptionValue: option => option.value, getOptionLabel: option => option.label, options: options.enumOptions, required: required, onChange: option => onChange(multiple ? option?.map(o => o.value) : option?.value), isMulti: multiple, classNames: {\n            control: () => '!rounded-md',\n            menuPortal: () => '!z-100000',\n        }, menuPortalTarget: document.body, menuPlacement: 'auto' }));\n}\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/widgets/SelectWidget/index.tsx?");

/***/ }),

/***/ 53712:
/*!********************************************************************************!*\
  !*** ./assets/src/js/react/lib/rjsf/widgets/TextareaWidget/TextareaWidget.tsx ***!
  \********************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 99196);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _rjsf_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @rjsf/utils */ 64192);\n/* harmony import */ var _common_module_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../common.module.scss */ 22284);\n\n\n\nfunction TextareaWidget({ id, options = {}, placeholder, value, required, disabled, readonly, autofocus = false, onChange, onBlur, onFocus, }) {\n    const handleChange = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(({ target: { value } }) => onChange(value === '' ? options.emptyValue : value), [onChange, options.emptyValue]);\n    const handleBlur = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(({ target: { value } }) => onBlur(id, value), [onBlur, id]);\n    const handleFocus = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(({ target: { value } }) => onFocus(id, value), [id, onFocus]);\n    return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"textarea\", { id: id, name: id, className: _common_module_scss__WEBPACK_IMPORTED_MODULE_2__[\"default\"].baseInput, value: value ? value : '', placeholder: placeholder, required: required, disabled: disabled, readOnly: readonly, autoFocus: autofocus, rows: options.rows, onBlur: handleBlur, onFocus: handleFocus, onChange: handleChange, \"aria-describedby\": (0,_rjsf_utils__WEBPACK_IMPORTED_MODULE_1__.ariaDescribedByIds)(id) }));\n}\nTextareaWidget.defaultProps = {\n    autofocus: false,\n    options: {},\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TextareaWidget);\n\n\n//# sourceURL=webpack://woocommerce-rtm-custom-emails/./assets/src/js/react/lib/rjsf/widgets/TextareaWidget/TextareaWidget.tsx?");

/***/ })

}]);