!function(){"use strict";var e,t,n,r,o,a,i=tinymce.util.Tools.resolve("tinymce.PluginManager"),u=function(e){return function(){return e}},c={noop:function(){for(var e=[],t=0;t Ctrl + Shift + P",action:"Focus to contextual toolbar"},{shortcut:O+" + K",action:"Insert link (if link plugin activated)"},{shortcut:O+" + S",action:"Save (if save plugin activated)"},{shortcut:O+" + F",action:"Find (if searchreplace plugin activated)"}]},H=function(){var e=w(F.shortcuts,function(e){return''+P.translate(e.action)+""+e.shortcut+"";var t}).join("");return{title:"Handy Shortcuts",type:"container",style:"overflow-y: auto; overflow-x: hidden; max-height: 250px",items:[{type:"container",html:'
"+e+"
'+P.translate("Action")+""+P.translate("Shortcut")+"
"}]}},M=(a=Object.keys)===undefined?function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}:a,E=function(e,t){for(var n=M(e),r=0,o=n.length;r${name}'),D=function(r){var e,t,n=(e=r,t=L.keys(e.plugins),e.settings.forced_plugins===undefined?t:A(t,c.not(c.curry(S,e.settings.forced_plugins)))),o=w(n,function(e){return"
  • "+(t=r,n=e,C(N,function(e){return e.key===n}).fold(function(){var e=t.plugins[n].getMetadata;return"function"==typeof e?z(e()):n},function(e){return z({name:e.name,url:"https://www.tinymce.com/docs/plugins/"+e.key})}))+"
  • ";var t,n}),a=o.length,i=o.join("");return"

    "+P.translate(["Plugins installed ({0}):",a])+"

    "},q=function(e){return{title:"Plugins",type:"container",style:"overflow-y: auto; overflow-x: hidden;",layout:"flex",padding:10,spacing:10,items:[(t=e,{type:"container",html:'
    '+D(t)+"
    ",flex:1}),{type:"container",html:'

    '+P.translate("Premium plugins:")+'

    • PowerPaste
    • Spell Checker Pro
    • Accessibility Checker
    • Advanced Code Editor
    • Enhanced Media Embed
    • Link Checker

    '+P.translate("Learn more...")+"

    ",flex:1}]};var t},R=tinymce.util.Tools.resolve("tinymce.EditorManager"),U=function(){var e,t,n='TinyMCE '+(e=R.majorVersion,t=R.minorVersion,0===e.indexOf("@")?"X.X.X":e+"."+t)+"";return[{type:"label",html:P.translate(["You are using {0}",n])},{type:"spacer",flex:1},{text:"Close",onclick:function(){this.parent().parent().close()}}]},V=function(e,t){return function(){e.windowManager.open({title:"Help",bodyType:"tabpanel",layout:"flex",body:[H(),q(e)],buttons:U(),onPostRender:function(){this.getEl("title").innerHTML='TinyMCE Logo'}})}},X=function(e,t){e.addCommand("mceHelp",V(e,t))},$=function(e,t){e.addButton("help",{icon:"help",onclick:V(e,t)}),e.addMenuItem("help",{text:"Help",icon:"help",context:"help",onclick:V(e,t)})};i.add("help",function(e,t){$(e,t),X(e,t),e.shortcuts.add("Alt+0","Open help dialog","mceHelp")})}();