Liferay.Loader.define("dynamic-data-mapping-form-field-type$liferay-ckeditor@4.21.0-liferay.11/ckeditor/plugins/selectall/plugin", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    /*
    Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
    For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
    */
    (function () {
      CKEDITOR.plugins.add("selectall", { lang: "af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn", icons: "selectall", hidpi: !0, init: function (b) {
          b.addCommand("selectAll", { modes: { wysiwyg: 1, source: 1 }, exec: function (a) {
              var b = a.editable();if (b.is("textarea")) a = b.$, CKEDITOR.env.ie && a.createTextRange ? a.createTextRange().execCommand("SelectAll") : (a.selectionStart = 0, a.selectionEnd = a.value.length), a.focus();else {
                if (b.is("body")) a.document.$.execCommand("SelectAll", !1, null);else {
                  var c = a.createRange();c.selectNodeContents(b);c.select();
                }a.forceNextSelectionCheck();a.selectionChange();
              }
            }, canUndo: !1 });b.ui.addButton && b.ui.addButton("SelectAll", { label: b.lang.selectall.toolbar, command: "selectAll", toolbar: "selection,10" });
        } });
    })();
  }
});
//# sourceMappingURL=plugin.js.map