!function(){"use strict";functiont(o){returnfunction(t){returnn=typeof(e=t),(null===e?"null":"object"==n&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"==n&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":n)===o;vare,n}}functione(e){returnfunction(t){returntypeoft===e}}functionn(e){returnfunction(t){returne===t}}functiong(t){returnnull==t}functionf(t,e){if(c(t)){for(varn=0,o=t.length;n<o;++n)if(!e(t[n]))return;return1}}functionst(){}functionr(n,o){returnfunction(){for(vart=[],e=0;e<arguments.length;e++)t[e]=arguments[e];returnn(o.apply(null,t))}}functionrt(t){returnfunction(){returnt}}functionh(t){returnt}functionv(t,e){returnt===e}vary=t("string"),x=t("object"),c=t("array"),b=n(null),w=e("boolean"),E=n(void0),k=function(t){return!g(t)},S=e("function"),u=e("number");functionC(o){for(varr=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];returnfunction(){for(vart=[],e=0;e<arguments.length;e++)t[e]=arguments[e];varn=r.concat(t);returno.apply(null,n)}}functionO(e){returnfunction(t){return!e(t)}}function_(t){returnfunction(){thrownewError(t)}}varT=rt(!1),D=rt(!0),o=tinymce.util.Tools.resolve("tinymce.ThemeManager"),lt=function(){return(lt=Object.assign||function(t){for(vare,n=1,o=arguments.length;n<o;n++)for(varrine=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);returnt}).apply(this,arguments)};functionA(t,e){varn={};for(rint)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeofObject.getOwnPropertySymbols)for(varo=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);returnn}functionV(t,e,n){if(n||2===arguments.length)for(varo,r=0,i=e.length;r<i;r++)!o&&rine||((o=o||Array.prototype.slice.call(e,0,r))[r]=e[r]);returnt.concat(o||Array.prototype.slice.call(e))}functioni(){returna}vara={fold:function(t,e){returnt()},isSome:T,isNone:D,getOr:h,getOrThunk:s,getOrDie:function(t){thrownewError(t||"error: getOrDie called on none.")},getOrNull:rt(null),getOrUndefined:rt(void0),or:h,orThunk:s,map:i,each:st,bind:i,exists:T,forall:D,filter:function(){returna},toArray:function(){return[]},toString:rt("none()")};functions(t){returnt()}functionl(t,e){returnyt.call(t,e)}functiond(t,e){for(varn=0,o=t.length;n<o;n++)if(e(t[n],n))return!0;return!1}functionm(t,e){for(varn=[],o=0;o<t;o++)n.push(e(o));returnn}functionp(t,e){for(varn=[],o=0;o<t.length;o+=e){varr=bt.call(t,o,o+e);n.push(r)}returnn}functionB(t,e){for(varn=t.length,o=newArray(n),r=0;r<n;r++){vari=t[r];o[r]=e(i,r)}returno}functionM(t,e){for(varn=[],o=[],r=0,i=t.length;r<i;r++){varu=t[r];(e(u,r)?n:o).push(u)}return{pass:n,fail:o}}functionF(t,e){for(varn=[],o=0,r=t.length;o<r;o++){vari=t[o];e(i,o)&&n.push(i)}returnn}functionI(t,o,r){returnfunction(t){for(vare,n=t.length-1;0<=n;n--)e=t[n],r=o(r,e,n)}(t),r}functionR(t,n,o){returnSt(t,function(t,e){o=n(o,t,e)}),o}functionN(t,e){returnfunction(t,e,n){for(varo=0,r=t.length;o<r;o++){vari=t[o];if(e(i,o))returnvt.some(i);if(n(i,o))break}returnvt.none()}(t,e,T)}functionP(t,e){for(varn=0,o=t.length;n<o;n++)if(e(t[n],n))returnvt.some(n);returnvt.none()}functionft(t){for(vare=[],n=0,o=t.length;n<o;++n){if(!c(t[n]))thrownewError("Arr.flatten item "+n+" was not an array, input: "+t);xt.apply(e,t[n])}returne}functionH(t,e){returnft(B(t,e))}functionL(t,e){for(varn=0,o=t.length;n<o;++n)if(!0!==e(t[n],n))return!1;return!0}functionz(t){vare=bt.call(t,0);returne.reverse(),e}functionU(t,e){returnF(t,function(t){return!wt(e,t)})}functionj(t,e){for(varn={},o=0,r=t.length;o<r;o++){vari=t[o];n[String(i)]=e(i,o)}returnn}functionW(t){return[t]}functionG(t,e){varn=bt.call(t,0);returnn.sort(e),n}functionX(t,e){return0<=e&&e<t.length?vt.some(t[e]):vt.none()}functionY(t){returnX(t,0)}functionq(t){returnX(t,t.length-1)}functionK(t,e){for(varn=0;n<t.length;n++){varo=e(t[n],n);if(o.isSome()