!function(v){"use strict";functionZ(){}functioni(e,o){returnfunction(){for(varn=[],t=0;t<arguments.length;t++)n[t]=arguments[t];returne(o.apply(null,n))}}functionl(n){returnn}varnn=function(n){returnfunction(){returnn}};functiond(o){for(varr=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];returnfunction(){for(varn=[],t=0;t<arguments.length;t++)n[t]=arguments[t];vare=r.concat(n);returno.apply(null,e)}}functionb(e){returnfunction(){for(varn=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return!e.apply(null,n)}}functionr(n){returnfunction(){thrownewError(n)}}varu=nn(!1),a=nn(!0),n=tinymce.util.Tools.resolve("tinymce.ThemeManager"),N=function(){return(N=Object.assign||function(n){for(vart,e=1,o=arguments.length;e<o;e++)for(varrint=arguments[e])Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);returnn}).apply(this,arguments)};functionc(n,t){vare={};for(varoinn)Object.prototype.hasOwnProperty.call(n,o)&&t.indexOf(o)<0&&(e[o]=n[o]);if(null!=n&&"function"==typeofObject.getOwnPropertySymbols){varr=0;for(o=Object.getOwnPropertySymbols(n);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(n,o[r])&&(e[o[r]]=n[o[r]])}returne}functiong(){for(varn=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;varo=Array(n),r=0;for(t=0;t<e;t++)for(vari=arguments[t],u=0,a=i.length;u<a;u++,r++)o[r]=i[u];returno}functiont(){returns}vare,s=(e={fold:function(n,t){returnn()},is:u,isSome:u,isNone:a,getOr:m,getOrThunk:f,getOrDie:function(n){thrownewError(n||"error: getOrDie called on none.")},getOrNull:nn(null),getOrUndefined:nn(undefined),or:m,orThunk:f,map:t,each:Z,bind:t,exists:u,forall:a,filter:t,equals:o,equals_:o,toArray:function(){return[]},toString:nn("none()")},Object.freeze&&Object.freeze(e),e);functiono(n){returnn.isNone()}functionf(n){returnn()}functionm(n){returnn}functionp(t){returnfunction(n){returnfunction(n){if(null===n)return"null";vart=typeofn;return"object"==t&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"==t&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":t}(n)===t}}functionh(n,t){if(fn(n)){for(vare=0,o=n.length;e<o;++e)if(!0!==t(n[e]))return!1;return!0}return!1}functiony(n,t){returnpn.call(n,t)}functionx(n,t){for(vare=0,o=n.length;e<o;e++){if(t(n[e],e))return!0}return!1}functionw(n,t){for(vare=[],o=0;o<n.length;o+=t){varr=gn.call(n,o,o+t);e.push(r)}returne}functionS(n,t){for(vare=n.length,o=newArray(e),r=0;r<e;r++){vari=n[r];o[r]=t(i,r)}returno}functionC(n,t){for(vare=[],o=0,r=n.length;o<r;o++){vari=n[o];t(i,o)&&e.push(i)}returne}functionk(n,t,e){returnfunction(n,t){for(vare=n.length-1;0<=e;e--){t(n[e],e)}}(n,function(n){e=t(e,n)}),e}functionO(n,t,e){returnbn(n,function(n){e=t(e,n)}),e}functionT(n,t){for(vare=0,o=n.length;e<o;e++){varr=n[e];if(t(r,e))returnon.some(r)}returnon.none()}functionE(n,t){for(vare=0,o=n.length;e<o;e++){if(t(n[e],e))returnon.some(e)}returnon.none()}functionH(n){for(vart=[],e=0,o=n.length;e<o;++e){if(!fn(n[e]))thrownewError("Arr.flatten item "+e+" was not an array, input: "+n);hn.apply(t,n[e])}returnt}functionD(n,t){vare=S(n,t);returnH(e)}functionB(n,t){for(vare=0,o=n.length;e<o;++e){if(!0!==t(n[e],e))return!1}return!0}functionA(n){vart=gn.call(n,0);returnt.reverse(),t}function_(n,t){returnC(n,function(n){return!vn(t,n)})}functionM(n){return[n]}functionF(n){return0===n.length?on.none():on.some(n[n.length-1])}functionP(n,e){returnkn(n,function(n,t){return{k:t,v:e(n,t)}})}functionI(n,t){for(vare=wn(n),o=0,r=e.length;o<r;o++){vari=e[o],u=n[i];if(t(u,i,n))returnon.some(u)}returnon.none()}functionR(n){returnOn(n,function(n){returnn})}functionV(n,t){returnTn(n,t)?on.from(n[t]):on.none()}functionz(u){returnfunction(){for(varn=newArray(arguments.length),t=0;t<n.length;t++)n[t]=arguments[t];if(0===n.length)thrownewError("Can't merge zero objects");for(vare={},o=0;o<n.length;o++){varr=n[o];for(variinr)Dn.call(r,i)&&(e[i]=u(e[i],r[i]))}returne}}functionL(e)