!function(){"use strict";varat=function(){},i=function(e,o){returnfunction(){for(vart=[],n=0;n<arguments.length;n++)t[n]=arguments[n];returne(o.apply(null,t))}},ct=function(t){returnfunction(){returnt}},st=function(t){returnt};functiony(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)}}varx=function(n){returnfunction(t){return!n(t)}},u=function(t){returnfunction(){thrownewError(t)}},l=ct(!1),w=ct(!0),t=tinymce.util.Tools.resolve("tinymce.ThemeManager"),lt=function(){return(lt=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(varoint)Object.prototype.hasOwnProperty.call(t,o)&&n.indexOf(o)<0&&(e[o]=t[o]);if(null!=t&&"function"==typeofObject.getOwnPropertySymbols)for(varr=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(e[o[r]]=t[o[r]]);returne}functionk(){for(vart=0,n=0,e=arguments.length;n<e;n++)t+=arguments[n].length;for(varo=Array(t),r=0,n=0;n<e;n++)for(vari=arguments[n],u=0,a=i.length;u<a;u++,r++)o[r]=i[u];returno}varn,e,o,r,c,a,s=function(){returnf},f=(n=function(t){returnt.isNone()},{fold:function(t,n){returnt()},is:l,isSome:l,isNone:w,getOr:o=function(t){returnt},getOrThunk:e=function(t){returnt()},getOrDie:function(t){thrownewError(t||"error: getOrDie called on none.")},getOrNull:ct(null),getOrUndefined:ct(undefined),or:o,orThunk:e,map:s,each:at,bind:s,exists:l,forall:w,filter:s,equals:n,equals_:n,toArray:function(){return[]},toString:ct("none()")}),d=function(e){vart=ct(e),n=function(){returnr},o=function(t){returnt(e)},r={fold:function(t,n){returnn(e)},is:function(t){returne===t},isSome:w,isNone:l,getOr:t,getOrThunk:t,getOrDie:t,getOrNull:t,getOrUndefined:t,or:n,orThunk:n,map:function(t){returnd(t(e))},each:function(t){t(e)},bind:o,exists:o,forall:o,filter:function(t){returnt(e)?r:f},toArray:function(){return[e]},toString:function(){return"some("+e+")"},equals:function(t){returnt.is(e)},equals_:function(t,n){returnt.fold(l,function(t){returnn(e,t)})}};returnr},ft={some:d,none:s,from:function(t){returnnull===t||t===undefined?f:d(t)}},m=function(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}},g=function(n){returnfunction(t){returntypeoft===n}},C=m("string"),O=m("object"),p=m("array"),_=g("boolean"),h=(r=undefined,function(t){returnr===t}),v=function(t){return!(null===(n=t)||n===undefined);varn},T=g("function"),dt=g("number"),b=function(t,n){if(p(t)){for(vare=0,o=t.length;e<o;++e)if(!n(t[e]))return!1;return!0}return!1},E=Array.prototype.slice,D=Array.prototype.indexOf,B=Array.prototype.push,A=function(t,n){returnD.call(t,n)},M=function(t,n){return-1<A(t,n)},F=function(t,n){for(vare=0,o=t.length;e<o;e++){if(n(t[e],e))return!0}return!1},I=function(t,n){for(vare=[],o=0;o<t;o++)e.push(n(o));returne},R=function(t,n){for(vare=[],o=0;o<t.length;o+=n){varr=E.call(t,o,o+n);e.push(r)}returne},V=function(t,n){for(vare=t.length,o=newArray(e),r=0;r<e;r++){vari=t[r];o[r]=n(i,r)}returno},mt=function(t,n){for(vare=0,o=t.length;e<o;e++){n(t[e],e)}},P=function(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}},H=function(t,n){for(vare=[],o=0,r=t.length;o<r;o++){vari=t[o];n(i,o)&&e.push(i)}returne},z=function(t,n,e){returnfunction(t,n){for(vare=t.length-1;0<=e;e--){n(t[e],e)}}(t,function(t){e=n(e,t)}),e},N=function(t,n,e){returnmt(t,function(t){e=n(e,t)}),e},L=function(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,l)},j=function(t,n){fo