text: webpackJsonp([0],{304:function(e,s,t){(function(e){"use strict";(e=e&&e.hasOwnProperty("default")?e.default:e).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"},Object.assign(e.DEFAULTS,{scaytAutoload:!1,scaytCustomerId:"1:ldogw1-MSDuT3-slyfO-0YJgB1-Wx7262-HIT741-MAMDv4-10qfb3-A4LDP-c60m3-hSQgd2-az2",scaytOptions:{}}),e.PLUGINS.spellChecker=function(s){var t;function l(e){if(t&&t.isDisabled){var l=!t.isDisabled();e.toggleClass("fr-active",l).attr("aria-pressed",l),s.$el.attr("spellcheck",s.opts.spellcheck&&!l)}}function a(e){t&&t.isDisabled&&!t.isDisabled()&&0<=["bold","italic","underline","strikeThrough","subscript","superscript","fontFamily","fontSize","html"].indexOf(e)&&t.removeMarkupInSelectionNode({removeInside:!0})}function c(e){t&&t.isDisabled&&!t.isDisabled()&&0<=["bold","italic","underline","strikeThrough","subscript","superscript","fontFamily","fontSize","html"].indexOf(e)&&t.reloadMarkup()}function o(s){t&&t.isDisabled&&!t.isDisabled()&&s.which==e.KEYCODE.ENTER&&setTimeout(t.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 s=e.querySelectorAll("[data-scayt-word], [data-spelling-word]"),t=0;t<s.length;t++)s[t].outerHTML=s[t].innerHTML}function n(){s.events.on("commands.before",a),s.events.on("commands.after",c),s.events.on("keydown",o,!0),s.events.on("html.processGet",i),l(s.$tb.find('[data-cmd="spellChecker"]'))}function r(){var e=s.opts.scaytOptions;e.customerId=s.opts.scaytCustomerId,e.container=s.$iframe?s.$iframe.get(0):s.$el.get(0),e.autoStartup=s.opts.scaytAutoload,e.onLoad=n,null!==s.opts.language&&(s.opts.spellCheckerLanguage=s.opts.language),!0===s.opts.scaytAutoload&&(s.opts.spellcheck=!1),t=new SCAYT.CUSTOMSCAYT(e)}return{_init:function(){if(!s.$wp)return!1;if(s.opts.scaytOptions=Object.assign({},e.DEFAULT_SCAYT_OPTIONS,s.opts.scaytOptions),"undefined"!=typeof SCAYT)r();else if(s.shared.spellCheckerLoaded||(s.shared.spellCheckerCallbacks=[]),s.shared.spellCheckerCallbacks.push(r),!s.shared.spellCheckerLoaded){s.shared.spellCheckerLoaded=!0;var t=document.createElement("script");t.type="text/javascript",t.src=s.opts.scaytOptions.scriptPath,t.innerText="",t.onload=function(){for(var e=0;e<s.shared.spellCheckerCallbacks.length;e++)s.shared.spellCheckerCallbacks[e]()},document.getElementsByTagName("head")[0].appendChild(t)}},refresh:l,toggle:function(){t&&t.isDisabled&&t.setDisabled(!t.isDisabled())}}},e.DefineIcon("spellChecker",{NAME:"keyboard-o",FA5NAME:"keyboard",SVG_KEY:"spellcheck"}),e.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"})})(t(45))}});