!function(){"use strict";functiont(o){returnfunction(t){returne=typeof(n=t),(null===n?"null":"object"==e&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"==e&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":e)===o;varn,e}}functionn(n){returnfunction(t){returntypeoft===n}}functione(n){returnfunction(t){returnn===t}}functiong(t){returnnull==t}functionf(t){return!g(t)}functiond(t,n){if(c(t)){for(vare=0,o=t.length;e<o;++e)if(!n(t[e]))return;return1}}functionct(){}functionr(e,o){returnfunction(){for(vart=[],n=0;n<arguments.length;n++)t[n]=arguments[n];returne(o.apply(null,t))}}functiontt(t){returnfunction(){returnt}}functionh(t){returnt}functionv(t,n){returnt===n}vary=t("string"),x=t("object"),c=t("array"),b=e(null),w=n("boolean"),E=e(void0),m=n("function"),u=n("number");functionS(o){for(varr=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];returnfunction(){for(vart=[],n=0;n<arguments.length;n++)t[n]=arguments[n];vare=r.concat(t);returno.apply(null,e)}}functionk(n){returnfunction(t){return!n(t)}}functionC(t){returnfunction(){thrownewError(t)}}varO=tt(!1),_=tt(!0),o=tinymce.util.Tools.resolve("tinymce.ThemeManager"),st=function(){return(st=Object.assign||function(t){for(varn,e=1,o=arguments.length;e<o;e++)for(varrinn=arguments[e])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);returnt}).apply(this,arguments)};functions(t,n){vare={};for(rint)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeofObject.getOwnPropertySymbols)for(varo=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(e[r[o]]=t[r[o]]);returne}functionH(t,n,e){if(e||2===arguments.length)for(varo,r=0,i=n.length;r<i;r++)!o&&rinn||((o=o||Array.prototype.slice.call(n,0,r))[r]=n[r]);returnt.concat(o||Array.prototype.slice.call(n))}functioni(){returna}vara={fold:function(t,n){returnt()},isSome:O,isNone:_,getOr:h,getOrThunk:l,getOrDie:function(t){thrownewError(t||"error: getOrDie called on none.")},getOrNull:tt(null),getOrUndefined:tt(void0),or:h,orThunk:l,map:i,each:ct,bind:i,exists:O,forall:_,filter:function(){returna},toArray:function(){return[]},toString:tt("none()")};functionl(t){returnt()}functionp(t,n){returnZ.call(t,n)}functionT(t,n){for(vare=0,o=t.length;e<o;e++)if(n(t[e],e))return!0;return!1}functionD(t,n){for(vare=[],o=0;o<t;o++)e.push(n(o));returne}functionB(t,n){for(vare=[],o=0;o<t.length;o+=n){varr=Q.call(t,o,o+n);e.push(r)}returne}functionA(t,n){for(vare=t.length,o=newArray(e),r=0;r<e;r++){vari=t[r];o[r]=n(i,r)}returno}functionM(t,n){for(vare=[],o=[],r=0,i=t.length;r<i;r++){varu=t[r];(n(u,r)?e:o).push(u)}return{pass:e,fail:o}}functionF(t,n){for(vare=[],o=0,r=t.length;o<r;o++){vari=t[o];n(i,o)&&e.push(i)}returne}functionI(t,o,r){returnfunction(t){for(varn,e=t.length-1;0<=e;e--)n=t[e],r=o(r,n,e)}(t),r}functionR(t,e,o){returndt(t,function(t,n){o=e(o,t,n)}),o}functionV(t,n){returnfunction(t,n,e){for(varo=0,r=t.length;o<r;o++){vari=t[o];if(n(i,o))returnft.some(i);if(e(i,o))break}returnft.none()}(t,n,O)}functionP(t,n){for(vare=0,o=t.length;e<o;e++)if(n(t[e],e))returnft.some(e);returnft.none()}functionlt(t){for(varn=[],e=0,o=t.length;e<o;++e){if(!c(t[e]))thrownewError("Arr.flatten item "+e+" was not an array, input: "+t);nt.apply(n,t[e])}returnn}functionz(t,n){returnlt(A(t,n))}functionN(t,n){for(vare=0,o=t.length;e<o;++e)if(!0!==n(t[e],e))return!1;return!0}functionL(t){varn=Q.call(t,0);returnn.reverse(),n}functionj(t,n){returnF(t,function(t){return!et(n,t)})}functionW(t,n){for(vare={},o=0,r=t.length;o<r;o++){vari=t[o];e[String(i)]=n(i,o)}returne}functionU(t){return[t]}functionG(t,n){vare=Q.call(t,0);returne.sort(n),e}functionX(t,n){return0<=n&&n<t.length?ft.some(t[n]):ft.none()}functionY(t){returnX(t,t.length-1)}functionq(t,n){for(vare=0;e<t.length;e++){varo=n(t[e],e);if(o.isSome())returno}returnft.none()}varK,