"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get IS_REACT_18 () {
        return _react.IS_REACT_18;
    },
    get canUseDOM () {
        return _canUseDOM.canUseDOM;
    },
    get composableStyle () {
        return composableStyle;
    },
    get constants () {
        return _constants;
    },
    get createConditionalComponent () {
        return _createConditionalComponent.createConditionalComponent;
    },
    get createEvent () {
        return _createEvent.createEvent;
    },
    get cx () {
        return cx;
    },
    get deepCopy () {
        return _deepCopy.deepCopy;
    },
    get extractTextFrom () {
        return _extractTextFrom.extractTextFrom;
    },
    get fixedForwardRef () {
        return _fixedForwardRef.fixedForwardRef;
    },
    get getHeightAsNumber () {
        return _getHeightAsNumber.getHeightAsNumber;
    },
    get getSizeValueFromProp () {
        return _getSizeValueFromProp.getSizeValueFromProp;
    },
    get isArraysEqual () {
        return _isArraysEqual.isArraysEqual;
    },
    get isEmpty () {
        return _isEmpty.isEmpty;
    },
    get isNumber () {
        return _isNumber.isNumber;
    },
    get mergeHandlers () {
        return _mergeHandlers.mergeHandlers;
    },
    get mergeRefs () {
        return _setRefList.mergeRefs;
    },
    get noop () {
        return _noop.noop;
    },
    get safeUseId () {
        return _react.safeUseId;
    },
    get setRefList () {
        return _setRefList.setRefList;
    }
});
var _canUseDOM = require("./canUseDOM");
var _extractTextFrom = require("./extractTextFrom");
var _getSizeValueFromProp = require("./getSizeValueFromProp");
var _react = require("./react");
var _isNumber = require("./isNumber");
var _setRefList = require("./setRefList");
var _isEmpty = require("./isEmpty");
var _createEvent = require("./createEvent");
var _constants = /*#__PURE__*/ _interop_require_wildcard(require("./constants"));
_export_star(require("./getPopoverPlacement"), exports);
_export_star(require("./initialValuesHelper"), exports);
var _noop = require("./noop");
var _getHeightAsNumber = require("./getHeightAsNumber");
var _createConditionalComponent = require("./createConditionalComponent");
var _deepCopy = require("./deepCopy");
var _isArraysEqual = require("./isArraysEqual");
var _fixedForwardRef = require("./fixedForwardRef");
var _mergeHandlers = require("./mergeHandlers");
function _export_star(from, to) {
    Object.keys(from).forEach(function(k) {
        if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
            Object.defineProperty(to, k, {
                enumerable: true,
                get: function() {
                    return from[k];
                }
            });
        }
    });
    return from;
}
function _getRequireWildcardCache(nodeInterop) {
    if (typeof WeakMap !== "function") return null;
    var cacheBabelInterop = new WeakMap();
    var cacheNodeInterop = new WeakMap();
    return (_getRequireWildcardCache = function(nodeInterop) {
        return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
    })(nodeInterop);
}
function _interop_require_wildcard(obj, nodeInterop) {
    if (!nodeInterop && obj && obj.__esModule) {
        return obj;
    }
    if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
        return {
            default: obj
        };
    }
    var cache = _getRequireWildcardCache(nodeInterop);
    if (cache && cache.has(obj)) {
        return cache.get(obj);
    }
    var newObj = {
        __proto__: null
    };
    var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
    for(var key in obj){
        if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
            var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
            if (desc && (desc.get || desc.set)) {
                Object.defineProperty(newObj, key, desc);
            } else {
                newObj[key] = obj[key];
            }
        }
    }
    newObj.default = obj;
    if (cache) {
        cache.set(obj, newObj);
    }
    return newObj;
}
var cx = function cx() {
    for(var _len = arguments.length, classes = new Array(_len), _key = 0; _key < _len; _key++){
        classes[_key] = arguments[_key];
    }
    return classes.filter(function(classItem) {
        return classItem;
    }).join(' ');
};
var composableStyle = function composableStyle(s) {
    for(var _len = arguments.length, expr = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
        expr[_key - 1] = arguments[_key];
    }
    var res = '';
    for(var i = 0; i < Math.max(s.length, expr.length); ++i){
        var _s_i, _expr_i;
        res += (_s_i = s[i]) !== null && _s_i !== void 0 ? _s_i : '';
        res += (_expr_i = expr[i]) !== null && _expr_i !== void 0 ? _expr_i : '';
    }
    return res;
};
