!function(e,t){"use strict";functionn(e,t){for(varn,r=[],o=0;o<e.length;++o){if(n=a[e[o]]||i(e[o]),!n)throw"module definition dependecy not found: "+e[o];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(){a[e]=i.apply(null,arguments)})}functioni(t){for(varn=e,r=t.split(/[.\/]/),i=0;i<r.length;++i){if(!n[r[i]])return;n=n[r[i]]}returnn}functiono(n){varr,i,o,s,l;for(r=0;r<n.length;r++){i=e,o=n[r],s=o.split(/[.\/]/);for(varc=0;c<s.length-1;++c)i[s[c]]===t&&(i[s[c]]={}),i=i[s[c]];i[s[s.length-1]]=a[o]}if(e.AMDLC_TESTS){l=e.privateModules||{};for(oina)l[o]=a[o];for(r=0;r<n.length;r++)deletel[n[r]];e.privateModules=l}}vara={};r("tinymce/spellcheckerplugin/DomTextMatcher",[],function(){functione(e){returne&&1==e.nodeType&&"false"===e.contentEditable}returnfunction(t,n){functionr(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}}functioni(t){varn;if(3===t.nodeType)returnt.data;if(N[t.nodeName]&&!E[t.nodeName])return"";if(e(t))return"\n";if(n="",(E[t.nodeName]||_[t.nodeName])&&(n+="\n"),t=t.firstChild)don+=i(t);while(t=t.nextSibling);returnn}functiono(t,n,r){vari,o,a,s,l,c=[],u=0,d=t,f=0;n=n.slice(0),n.sort(function(e,t){returne.start-t.start}),l=n.shift();e:for(;;){if((E[d.nodeName]||_[d.nodeName]||e(d))&&u++,3===d.nodeType&&(!o&&d.length+u>=l.end?(o=d,s=l.end-u):i&&c.push(d),!i&&d.length+u>l.start&&(i=d,a=l.start-u),u+=d.length),i&&o){if(d=r({startNode:i,startNodeIndex:a,endNode:o,endNodeIndex:s,innerNodes:c,match:l.text,matchIndex:f}),u-=o.length-s,i=null,o=null,c=[],l=n.shift(),f++,!l)break}elseif(N[d.nodeName]&&!E[d.nodeName]||!d.firstChild){if(d.nextSibling){d=d.nextSibling;continue}}elseif(!e(d)){d=d.firstChild;continue}for(;;){if(d.nextSibling){d=d.nextSibling;break}if(d.parentNode===t)breake;d=d.parentNode}}}functiona(e){functiont(t,n){varr=S[n];r.stencil||(r.stencil=e(r));vari=r.stencil.cloneNode(!1);returni.setAttribute("data-mce-index",n),t&&i.appendChild(k.doc.createTextNode(t)),i}returnfunction(e){varn,r,i,o=e.startNode,a=e.endNode,s=e.matchIndex,l=k.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=[],h=0,p=e.innerNodes.length;h<p;++h){varm=e.innerNodes[h],g=t(m.data,s);m.parentNode.replaceChild(g,m),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}}functions(e){vart=e.parentNode;t.insertBefore(e.firstChild,e),e.parentNode.removeChild(e)}functionl(e){varn=t.getElementsByTagName("*"),r=[];e="number"==typeofe?""+e:null;for(vari=0;i<n.length;i++){varo=n[i],a=o.getAttribute("data-mce-index");null!==a&&a.length&&(a!==e&&null!==e||r.push(o))}returnr}functionc(e){for(vart=S.length;t--;)if(S[t]===e)returnt;return-1}functionu(e){vart=[];returnd(function(n,r){e(n,r)&&t.push(n)}),S=t,this}functiond(e){for(vart=0,n=S.length;t<n&&e(S[t],t)!==!1;t++);returnthis}functionf(e){returnS.length&&o(t,S,a(e)),this}functionh(e,t){if(w&&e.global)for(;x=e.exec(w);)S.push(r(x,t));returnthis}functionp(e){vart,n=l(e?c(e):null);for(t=n.length;t--;)s(n[t]);returnthis}functionm(e){returnS[e.getAttribute("data-mce-index")]}functiong(e){returnl(c(e))[0]}functionv(e,t,n){returnS.push({start:e,end:e+t,text:w.substr(e,t),data:n}),this}functiony(e){vart=l(c(e)),r=n.dom