!function(e,t){"use strict";functionn(e,t){for(varn,r=[],i=0;i<e.length;++i){if(n=s[e[i]]||o(e[i]),!n)throw"module definition dependecy not found: "+e[i];r.push(n)}t.apply(null,r)}functionr(e,r,i){if("string"!=typeofe)throw"invalid module definition, module id must be defined and be a string";if(r===t)throw"invalid module definition, dependencies must be specified";if(i===t)throw"invalid module definition, definition function must be specified";n(r,function(){s[e]=i.apply(null,arguments)})}functioni(e){return!!s[e]}functiono(t){for(varn=e,r=t.split(/[.\/]/),i=0;i<r.length;++i){if(!n[r[i]])return;n=n[r[i]]}returnn}functiona(n){for(varr=0;r<n.length;r++){for(vari=e,o=n[r],a=o.split(/[.\/]/),l=0;l<a.length-1;++l)i[a[l]]===t&&(i[a[l]]={}),i=i[a[l]];i[a[a.length-1]]=s[o]}}vars={},l="tinymce/spellcheckerplugin/DomTextMatcher",c="tinymce/spellcheckerplugin/Plugin",u="tinymce/PluginManager",d="tinymce/util/Tools",f="tinymce/ui/Menu",p="tinymce/dom/DOMUtils",m="tinymce/util/XHR",h="tinymce/util/URI",g="tinymce/util/JSON";r(l,[],function(){returnfunction(e,t){functionn(e,t){if(!e[0])throw"findAndReplaceDOMText cannot handle zero-length matches";return{start:e.index,end:e.index+e[0].length,text:e[0],data:t}}functionr(e){vart;if(3===e.nodeType)returne.data;if(N[e.nodeName]&&!k[e.nodeName])return"";if(t="",(k[e.nodeName]||E[e.nodeName])&&(t+="\n"),e=e.firstChild)dot+=r(e);while(e=e.nextSibling);returnt}functioni(e,t,n){varr,i,o,a,s=[],l=0,c=e,u,d=0;t=t.slice(0),t.sort(function(e,t){returne.start-t.start}),u=t.shift();e:for(;;){if((k[c.nodeName]||E[c.nodeName])&&l++,3===c.nodeType&&(!i&&c.length+l>=u.end?(i=c,a=u.end-l):r&&s.push(c),!r&&c.length+l>u.start&&(r=c,o=u.start-l),l+=c.length),r&&i){if(c=n({startNode:r,startNodeIndex:o,endNode:i,endNodeIndex:a,innerNodes:s,match:u.text,matchIndex:d}),l-=i.length-a,r=null,i=null,s=[],u=t.shift(),d++,!u)break}else{if((!N[c.nodeName]||k[c.nodeName])&&c.firstChild){c=c.firstChild;continue}if(c.nextSibling){c=c.nextSibling;continue}}for(;;){if(c.nextSibling){c=c.nextSibling;break}if(c.parentNode===e)breake;c=c.parentNode}}}functiono(e){functiont(t,n){varr=x[n];r.stencil||(r.stencil=e(r));vari=r.stencil.cloneNode(!1);returni.setAttribute("data-mce-index",n),t&&i.appendChild(_.doc.createTextNode(t)),i}returnfunction(e){varn,r,i,o=e.startNode,a=e.endNode,s=e.matchIndex,l=_.doc;if(o===a){varc=o;i=c.parentNode,e.startNodeIndex>0&&(n=l.createTextNode(c.data.substring(0,e.startNodeIndex)),i.insertBefore(n,c));varu=t(e.match,s);returni.insertBefore(u,c),e.endNodeIndex<c.length&&(r=l.createTextNode(c.data.substring(e.endNodeIndex)),i.insertBefore(r,c)),c.parentNode.removeChild(c),u}n=l.createTextNode(o.data.substring(0,e.startNodeIndex)),r=l.createTextNode(a.data.substring(e.endNodeIndex));for(vard=t(o.data.substring(e.startNodeIndex),s),f=[],p=0,m=e.innerNodes.length;m>p;++p){varh=e.innerNodes[p],g=t(h.data,s);h.parentNode.replaceChild(g,h),f.push(g)}varv=t(a.data.substring(0,e.endNodeIndex),s);returni=o.parentNode,i.insertBefore(n,o),i.insertBefore(d,o),i.removeChild(o),i=a.parentNode,i.insertBefore(v,a),i.insertBefore(r,a),i.removeChild(a),v}}functiona(e){vart=e.parentNode;t.insertBefore(e.firstChild,e),e.parentNode.removeChild(e)}functions(t){varn=e.getElementsByTagName("*"),r=[];t="number"==typeoft?""+t:null;for(vari=0;i<n.length;i++){varo=n[i],a=o.getAttribute("data-mce-index");null!==a&&a.length&&(a===t||null===t)&&r.push(o)}returnr}functionl(e){for(vart=x.length;t--;)if(x[t]===e)returnt;return-1}functionc(e){vart=[];returnu(function(n,r){e(n,r)&&t.push(n)}),x=t,this}functionu(e){for(vart=0,n=x.length;n>t&&e(x[t],t)!==!1;t++);returnthis}functiond(t){returnx.length&&i(e,x,o(t)),this}functionf(e,t){if(w&&e.global)for(;C=e.exec(w);)x.push(n(C,t));returnthis}functionp(e){vart,n=s(e?l(e):null);for(t=n.length;t--;)a(n[t]);returnthis}functionm(e){returnx[e.getAttribute("data-mce-index")]}functionh(e){returns(l(e))[0]}functiong(e,t,n){returnx.push({start:e,end:e+t,text:w.substr(e,t),data:n}),this}functionv(e){varn=s(l(e)),r=t.dom.createR