"use strict";
// The require scope
var __webpack_require__ = {};
/************************************************************************/ // webpack/runtime/define_property_getters
(()=>{
    __webpack_require__.d = function(exports1, definition) {
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
// webpack/runtime/has_own_property
(()=>{
    __webpack_require__.o = function(obj, prop) {
        return Object.prototype.hasOwnProperty.call(obj, prop);
    };
})();
// webpack/runtime/make_namespace_object
(()=>{
    // define __esModule on exports
    __webpack_require__.r = function(exports1) {
        if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
/************************************************************************/ var __webpack_exports__ = {};
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
    theme: ()=>/* binding */ theme,
    toastOptions: ()=>/* binding */ toastOptions
});
const react_namespaceObject = require("@chakra-ui/react");
const external_components_js_namespaceObject = require("./components.js");
const external_colors_js_namespaceObject = require("./colors.js");
const external_styles_js_namespaceObject = require("./styles.js");
require("@fontsource/inter");
require("@fontsource/inter/100.css");
require("@fontsource/inter/200.css");
require("@fontsource/inter/300.css");
require("@fontsource/inter/400.css");
require("@fontsource/inter/500.css");
require("@fontsource/inter/600.css");
require("@fontsource/inter/700.css");
require("react-datepicker/dist/react-datepicker.css");
require("./custom-date-time-picker.css");
/*
Chakra theme configuration 
*/ // Custom theme extensions and overrides
// Set the outline for all components you can 'tab' to
const theme = (0, react_namespaceObject.extendTheme)({
    initialColorMode: 'light',
    useSystemColorMode: false,
    styles: external_styles_js_namespaceObject.styles,
    colors: external_colors_js_namespaceObject.colors,
    // Some of the usages of this theme still work with Ant design which uses zIndex: 1000
    // This part should go away once we complete the migration and we should let Chakra do the job.
    zIndices: {
        hide: -1,
        auto: 'auto',
        base: 0,
        docked: 10,
        dropdown: 100,
        sticky: 110,
        banner: 120,
        overlay: 130,
        modal: 140,
        popover: 150,
        skipLink: 160,
        toast: 170,
        tooltip: 180
    },
    components: external_components_js_namespaceObject.components,
    borders: {
        borderColor: 'green.500'
    },
    fonts: {
        heading: 'Inter, sans-serif',
        subHeading: 'Inter, sans-serif',
        text: 'Inter, sans-serif'
    },
    lineHeights: {
        base: '1.5'
    },
    fontSizes: {
        sm: '0.85rem',
        lg: '1.14rem',
        xl: '1.28rem'
    },
    shadows: {
        outline: `0 0 0 3px ${external_colors_js_namespaceObject.colors.focus["500"]}`
    }
}, // Use 'colors.brand' for emphasis.
(0, react_namespaceObject.withDefaultColorScheme)({
    colorScheme: 'darkblue'
}));
/**
 * This object defines default toastOptions that should be consistent across all RedPanda UIs.
 */ const toastOptions = {
    defaultOptions: {
        variant: 'left-accent',
        position: 'top-right',
        duration: 5000,
        isClosable: true
    }
};
var __webpack_export_target__ = exports;
for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
    value: true
});
