text: webpackJsonp([0],{25:function(e,t,s){var l,o,n,a;a=function(e){e.FE.DEFAULT_SCAYT_OPTIONS={enableOnTouchDevices:!1,disableOptionsStorage:["all"],localization:"en",extraModules:"ui",DefaultSelection:"American English",spellcheckLang:"en_US",contextMenuSections:"suggest|moresuggest",serviceProtocol:"https",servicePort:"80",serviceHost:"svc.webspellchecker.net",servicePath:"spellcheck/script/ssrv.cgi",contextMenuForMisspelledOnly:!0,scriptPath:"https://svc.webspellchecker.net/spellcheck31/wscbundle/wscbundle.js"},e.extend(e.FE.DEFAULTS,{scaytAutoload:!1,scaytCustomerId:"1:tLBmI3-7rr3J1-GMEFA1-mIewo-hynTZ1-PV38I1-uEXCy2-Rn81L-gXuG4-NUNri4-5q9Q34-Jd",scaytOptions:{}}),e.FE.PLUGINS.spellChecker=function(t){var s;function l(e){if(s&&s.isDisabled){var l=!s.isDisabled();e.toggleClass("fr-active",l).attr("aria-pressed",l),t.$el.attr("spellcheck",t.opts.spellcheck&&!l)}}function o(e){s&&s.isDisabled&&!s.isDisabled()&&0<=["bold","italic","underline","strikeThrough","subscript","superscript","fontFamily","fontSize","html"].indexOf(e)&&s.removeMarkupInSelectionNode({removeInside:!0})}function n(e){s&&s.isDisabled&&!s.isDisabled()&&0<=["bold","italic","underline","strikeThrough","subscript","superscript","fontFamily","fontSize","html"].indexOf(e)&&s.reloadMarkup()}function a(t){s&&s.isDisabled&&!s.isDisabled()&&t.which==e.FE.KEYCODE.ENTER&&setTimeout(s.reloadMarkup,0)}function i(e){if(e&&e.getAttribute&&e.getAttribute("data-scayt-word"))e.outerHTML=e.innerHTML;else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var t=e.querySelectorAll("[data-scayt-word], [data-spelling-word]"),s=0;s<t.length;s++)t[s].outerHTML=t[s].innerHTML}function r(){t.events.on("commands.before",o),t.events.on("commands.after",n),t.events.on("keydown",a,!0),t.events.on("html.processGet",i),l(t.$tb.find('[data-cmd="spellChecker"]'))}function c(){var e=t.opts.scaytOptions;e.customerId=t.opts.scaytCustomerId,e.container=t.$iframe?t.$iframe.get(0):t.$el.get(0),e.autoStartup=t.opts.scaytAutoload,e.onLoad=r,null!==t.opts.language&&(t.opts.spellCheckerLanguage=t.opts.language),!0===t.opts.scaytAutoload&&(t.opts.spellcheck=!1),s=new SCAYT.CUSTOMSCAYT(e)}return{_init:function(){if(!t.$wp)return!1;if(t.opts.scaytOptions=e.extend({},e.FE.DEFAULT_SCAYT_OPTIONS,t.opts.scaytOptions),"undefined"!=typeof SCAYT)c();else if(t.shared.spellCheckerLoaded||(t.shared.spellCheckerCallbacks=[]),t.shared.spellCheckerCallbacks.push(c),!t.shared.spellCheckerLoaded){t.shared.spellCheckerLoaded=!0;var s=document.createElement("script");s.type="text/javascript",s.src=t.opts.scaytOptions.scriptPath,s.innerText="",s.onload=function(){for(var e=0;e<t.shared.spellCheckerCallbacks.length;e++)t.shared.spellCheckerCallbacks[e]()},document.getElementsByTagName("head")[0].appendChild(s)}},refresh:l,toggle:function(){s&&s.isDisabled&&s.setDisabled(!s.isDisabled())}}},e.FE.DefineIcon("spellChecker",{NAME:"keyboard-o",FA5NAME:"keyboard"}),e.FE.RegisterCommand("spellChecker",{title:"Spell Checker",undo:!1,focus:!1,accessibilityFocus:!0,forcedRefresh:!0,toggle:!0,callback:function(){this.spellChecker.toggle()},refresh:function(e){this.spellChecker.refresh(e)},plugin:"spellChecker"})},o=[s(1)],void 0===(n="function"==typeof(l=a)?l.apply(t,o):l)||(e.exports=n)}});