(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var HIDDEN_TEXTAREA_STYLE = {
        "min-height": "0",
        "max-height": "none",
        height: "0",
        visibility: "hidden",
        overflow: "hidden",
        position: "absolute",
        "z-index": "-1000",
        top: "0",
        right: "0"
    };
    var forceHiddenStyles = function (node) {
        Object.keys(HIDDEN_TEXTAREA_STYLE).forEach(function (key) {
            node.style.setProperty(key, HIDDEN_TEXTAREA_STYLE[key], "important");
        });
    };
    exports.default = forceHiddenStyles;
});
