import {
  __commonJS,
  init_define_APP_INFO
} from "./chunk-XY75H3MP.js";

// node_modules/tinymce/plugins/print/plugin.js
var require_plugin = __commonJS({
  "node_modules/tinymce/plugins/print/plugin.js"() {
    init_define_APP_INFO();
    (function() {
      "use strict";
      var global$1 = tinymce.util.Tools.resolve("tinymce.PluginManager");
      var global = tinymce.util.Tools.resolve("tinymce.Env");
      var register$1 = function(editor) {
        editor.addCommand("mcePrint", function() {
          if (global.browser.isIE()) {
            editor.getDoc().execCommand("print", false, null);
          } else {
            editor.getWin().print();
          }
        });
      };
      var register = function(editor) {
        var onAction = function() {
          return editor.execCommand("mcePrint");
        };
        editor.ui.registry.addButton("print", {
          icon: "print",
          tooltip: "Print",
          onAction
        });
        editor.ui.registry.addMenuItem("print", {
          text: "Print...",
          icon: "print",
          onAction
        });
      };
      function Plugin() {
        global$1.add("print", function(editor) {
          register$1(editor);
          register(editor);
          editor.addShortcut("Meta+P", "", "mcePrint");
        });
      }
      Plugin();
    })();
  }
});

// node_modules/tinymce/plugins/print/index.js
var require_print = __commonJS({
  "node_modules/tinymce/plugins/print/index.js"() {
    init_define_APP_INFO();
    require_plugin();
  }
});

// dep:tinymce_plugins_print
init_define_APP_INFO();
var tinymce_plugins_print_default = require_print();
export {
  tinymce_plugins_print_default as default
};
//# sourceMappingURL=tinymce_plugins_print.js.map
