!function(){vara={},b=function(b){for(varc=a[b],e=c.deps,f=c.defn,g=e.length,h=newArray(g),i=0;i<g;++i)h[i]=d(e[i]);varj=f.apply(null,h);if(void0===j)throw"module ["+b+"] returned undefined";c.instance=j},c=function(b,c,d){if("string"!=typeofb)throw"module id must be a string";if(void0===c)throw"no dependencies for "+b;if(void0===d)throw"no definition function for "+b;a[b]={deps:c,defn:d,instance:void0}},d=function(c){vard=a[c];if(void0===d)throw"module ["+c+"] was undefined";returnvoid0===d.instance&&b(c),d.instance},e=function(a,b){for(varc=a.length,e=newArray(c),f=0;f<c;++f)e[f]=d(a[f]);b.apply(null,e)},f={};f.bolt={module:{api:{define:c,require:e,demand:d}}};varg=c,h=function(a,b){g(a,[],function(){returnb})};h("d",tinymce.util.Tools.resolve),g("1",["d"],function(a){returna("tinymce.PluginManager")}),h("1p",Array),h("1q",Error),g("f",["1p","1q"],function(a,b){varc=function(){},d=function(a){returnfunction(){returna()}},e=function(a,b){returnfunction(){returna(b.apply(null,arguments))}},f=function(a){returnfunction(){returna}},g=function(a){returna},h=function(a,b){returna===b},i=function(b){for(varc=newa(arguments.length-1),d=1;d<arguments.length;d++)c[d-1]=arguments[d];returnfunction(){for(vard=newa(arguments.length),e=0;e<d.length;e++)d[e]=arguments[e];varf=c.concat(d);returnb.apply(null,f)}},j=function(a){returnfunction(){return!a.apply(null,arguments)}},k=function(a){returnfunction(){thrownewb(a)}},l=function(a){returna()},m=function(a){a()},n=f(!1),o=f(!0);return{noop:c,noarg:d,compose:e,constant:f,identity:g,tripleEquals:h,curry:i,not:j,die:k,apply:l,call:m,never:n,always:o}}),h("1r",Object),g("g",["f","1r"],function(a,b){varc=a.never,d=a.always,e=function(){returnf},f=function(){varf=function(a){returna.isNone()},g=function(a){returna()},h=function(a){returna},i=function(){},j={fold:function(a,b){returna()},is:c,isSome:c,isNone:d,getOr:h,getOrThunk:g,getOrDie:function(a){thrownewError(a||"error: getOrDie called on none.")},or:h,orThunk:g,map:e,ap:e,each:i,bind:e,flatten:e,exists:c,forall:d,filter:e,equals:f,equals_:f,toArray:function(){return[]},toString:a.constant("none()")};returnb.freeze&&b.freeze(j),j}(),g=function(a){varb=function(){returna},h=function(){returnk},i=function(b){returng(b(a))},j=function(b){returnb(a)},k={fold:function(b,c){returnc(a)},is:function(b){returna===b},isSome:d,isNone:c,getOr:b,getOrThunk:b,getOrDie:b,or:h,orThunk:h,map:i,ap:function(b){returnb.fold(e,function(b){returng(b(a))})},each:function(b){b(a)},bind:j,flatten:b,exists:j,forall:j,filter:function(b){returnb(a)?k:f},equals:function(b){returnb.is(a)},equals_:function(b,d){returnb.fold(c,function(b){returnd(a,b)})},toArray:function(){return[a]},toString:function(){return"some("+a+")"}};returnk},h=function(a){returnnull===a||void0===a?f:g(a)};return{some:g,none:e,from:h}}),h("1s",String),g("e",["g","1p","1q","1s"],function(a,b,c,d){vare=function(){vara=b.prototype.indexOf,c=function(b,c){returna.call(b,c)},d=function(a,b){returnu(a,b)};returnvoid0===a?d:c}(),f=function(b,c){vard=e(b,c);returnd===-1?a.none():a.some(d)},g=function(a,b){returne(a,b)>-1},h=function(a,b){returnt(a,b).isSome()},i=function(a,b){for(varc=[],d=0;d<a;d++)c.push(b(d));returnc},j=function(a,b){for(varc=[],d=0;d<a.length;d+=b){vare=a.slice(d,d+b);c.push(e)}returnc},k=function(a,c){for(vard=a.length,e=newb(d),f=0;f<d;f++){varg=a[f];e[f]=c(g,f,a)}returne},l=function(a,b){for(varc=0,d=a.length;c<d;c++){vare=a[c];b(e,c,a)}},m=function(a,b){for(varc=a.length-1;c>=0;c--){vard=a[c];b(d,c,a)}},n=function(a,b){for(varc=[],d=[],e=0,f=a.length;e<f;e++){varg=a[e],h=b(g,e,a)?c:d;h.push(g)}return{pass:c,fail:d}},o=function(a,b){for(varc=[],d=0,e=a.length;d<e;d++){varf=a[d];b(f,d,a)&&c.push(f)}returnc},p=function(a,b){if(0===a.length)return[];for(varc=b(a[0]),d=[],e=[],f=0,g=a.length;f<g;f++){varh=a[f],i=b(h);i!==c&&(d.push(e),e=[]),c=i,e.push(h)}return0!==e.length&&d.push(e),d},q=function(a,b,c){returnm(a,function(a){c=b(c,a)}),c},r=function(a,b,c){returnl(a,function(a){c=b
q(b,j),b};return{extract:r}}),g("k",["r","l","12","28","13","1m"],function(a,b,c,d,e,f){varg=function(a,c){returnb.fromDom(a.dom().cloneNode(c))},h=function(a){returng(a,!1)},i=function(a){returng(a,!0)},j=function(c,d){vare=b.fromTag(d),f=a.clone(c);returna.setAll(e,f),e},k=function(a,b){varc=j(a,b),e=f.children(i(a));returnd.append(c,e),c},l=function(a,b){varg=j(a,b);c.before(a,g);varh=f.children(a);returnd.append(g,h),e.remove(a),g};return{shallow:h,shallowAs:j,deep:i,copy:k,mutate:l}}),g("3p",["26","g","1q"],function(a,b,c){returnfunction(d,e){varf=function(a){if(!d(a))thrownewc("Can only get "+e+" value of a "+e+" node");returnj(a).getOr("")},g=function(a){try{returnh(a)}catch(a){returnb.none()}},h=function(a){returnd(a)?b.from(a.dom().nodeValue):b.none()},i=a.detect().browser,j=i.isIE()&&10===i.version.major?g:h,k=function(a,b){if(!d(a))thrownewc("Can only set raw "+e+" value of a "+e+" node");a.dom().nodeValue=b};return{get:f,getOption:j,set:k}}}),g("1l",["n","3p"],function(a,b){varc=b(a.isText,"text"),d=function(a){returnc.get(a)},e=function(a){returnc.getOption(a)},f=function(a,b){c.set(a,b)};return{get:d,getOption:e,set:f}}),g("2b",["e","n","1l","1m"],function(a,b,c,d){vare=function(a){return"img"===b.name(a)?1:c.getOption(a).fold(function(){returnd.children(a).length},function(a){returna.length})},f=function(a,b){returne(a)===b},g=function(a,b){return0===b},h="\xa0",i=function(a){returnc.getOption(a).filter(function(a){return0!==a.trim().length||a.indexOf(h)>-1}).isSome()},j=["img","br"],k=function(c){vard=i(c);returnd||a.contains(j,b.name(c))};return{getEnd:e,isEnd:f,isStart:g,isCursorPosition:k}}),g("1d",["g","2a","1m","2b"],function(a,b,c,d){vare=function(a){returnb.descendant(a,d.isCursorPosition)},f=function(a){returng(a,d.isCursorPosition)},g=function(b,d){vare=function(b){for(varf=c.children(b),g=f.length-1;g>=0;g--){varh=f[g];if(d(h))returna.some(h);vari=e(h);if(i.isSome())returni}returna.none()};returne(b)};return{first:e,last:f}}),g("i",["e","1t","1c","12","k","l","n","r","22","y","1m","1d"],function(a,b,c,d,e,f,g,h,i,j,k,l){varm=function(){vara=f.fromTag("td");returnd.append(a,f.fromTag("br")),a},n=function(a,c,d){varf=e.copy(a,c);returnb.each(d,function(a,b){null===a?h.remove(f,b):h.set(f,b,a)}),f},o=function(a){returna},p=function(a){returnfunction(){returnf.fromTag("tr",a.dom())}},q=function(b,f,g){varh=l.first(b);returnh.map(function(h){vari=g.join(","),k=j.ancestors(h,i,function(a){returnc.eq(a,b)});returna.foldr(k,function(a,b){varc=e.shallow(b);returnd.append(a,c),c},f)}).getOr(f)},r=function(a,b,c){vare=function(b){vare=k.owner(b.element()),h=f.fromTag(g.name(b.element()),e.dom()),j=c.getOr(["strong","em","b","i","span","font","h1","h2","h3","h4","h5","h6","p","div"]),l=j.length>0?q(b.element(),h,j):h;returnd.append(l,f.fromTag("br")),i.copy(b.element(),h),i.remove(h,"height"),1!==b.colspan()&&i.remove(b.element(),"width"),a(b.element(),h),h};return{row:p(b),cell:e,replace:n,gap:m}},s=function(a){return{row:p(a),cell:m,replace:o,gap:m}};return{cellOperations:r,paste:s}}),g("m",["e","l","1m","23"],function(a,b,c,d){vare=function(a,e){varf=e||d,g=f.createElement("div");returng.innerHTML=a,c.children(b.fromDom(g))},f=function(c,d){returna.map(c,function(a){returnb.fromTag(a,d)})},g=function(c,d){returna.map(c,function(a){returnb.fromText(a,d)})},h=function(c){returna.map(c,b.fromDom)};return{fromHtml:e,fromTags:f,fromText:g,fromDom:h}}),g("5v",[],function(){return["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"]}),g("56",["5v","e","f","r","1c","22","l","12","28","n","29","2a","13","y","t","1l","1m"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){returnfunction(){varr=function(a){returng.fromDom(a.dom().cloneNode(!1))},s=function(c){return!!j.isElement(c)&&("body"===j.name(c)||b.contains(a,j.name(c)))},t=function(a){return!!j.isElement(a)&&b.contains(["br