egroupware/api/js/tinymce/themes/silver/theme.min.js

1 line
451 KiB
JavaScript
Raw Normal View History

!function(){"use strict";var e,t,n,o,r,c,i,N=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},h=function(n,o){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n(o.apply(null,arguments))}},U=function(e){return function(){return e}},b=function(e){return e},f=function(i){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];for(var a=new Array(arguments.length-1),n=1;n<arguments.length;n++)a[n-1]=arguments[n];return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=new Array(arguments.length),o=0;o<n.length;o++)n[o]=arguments[o];var r=a.concat(n);return i.apply(null,r)}},k=function(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return!n.apply(null,arguments)}},a=function(e){return function(){throw new Error(e)}},u=function(e){return e()},s=U(!1),l=U(!0),d=s,m=l,g=function(){return v},v=(o={fold:function(e,t){return e()},is:d,isSome:d,isNone:m,getOr:n=function(e){return e},getOrThunk:t=function(e){return e()},getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:function(){return null},getOrUndefined:function(){return undefined},or:n,orThunk:t,map:g,ap:g,each:function(){},bind:g,flatten:g,exists:d,forall:m,filter:g,equals:e=function(e){return e.isNone()},equals_:e,toArray:function(){return[]},toString:U("none()")},Object.freeze&&Object.freeze(o),o),p=function(n){var e=function(){return n},t=function(){return r},o=function(e){return e(n)},r={fold:function(e,t){return t(n)},is:function(e){return n===e},isSome:m,isNone:d,getOr:e,getOrThunk:e,getOrDie:e,getOrNull:e,getOrUndefined:e,or:t,orThunk:t,map:function(e){return p(e(n))},ap:function(e){return e.fold(g,function(e){return p(e(n))})},each:function(e){e(n)},bind:o,flatten:e,exists:o,forall:o,filter:function(e){return e(n)?r:v},equals:function(e){return e.is(n)},equals_:function(e,t){return e.fold(d,function(e){return t(n,e)})},toArray:function(){return[n]},toString:function(){return"some("+n+")"}};return r},P={some:p,none:g,from:function(e){return null===e||e===undefined?v:p(e)}},y=function(t){return function(e){return function(e){if(null===e)return"null";var t=typeof e;return"object"===t&&Array.prototype.isPrototypeOf(e)?"array":"object"===t&&String.prototype.isPrototypeOf(e)?"string":t}(e)===t}},x=y("string"),w=y("object"),S=y("array"),C=y("boolean"),z=y("function"),O=y("number"),T=(r=Array.prototype.indexOf)===undefined?function(e,t){return _(e,t)}:function(e,t){return r.call(e,t)},M=function(e,t){return-1<T(e,t)},H=function(e,t){return I(e,t).isSome()},E=function(e,t){for(var n=[],o=0;o<e.length;o+=t){var r=e.slice(o,o+t);n.push(r)}return n},V=function(e,t){for(var n=e.length,o=new Array(n),r=0;r<n;r++){var i=e[r];o[r]=t(i,r,e)}return o},A=function(e,t){for(var n=0,o=e.length;n<o;n++)t(e[n],n,e)},B=function(e,t){for(var n=[],o=0,r=e.length;o<r;o++){var i=e[o];t(i,o,e)&&n.push(i)}return n},D=function(e,t,n){return function(e,t){for(var n=e.length-1;0<=n;n--)t(e[n],n,e)}(e,function(e){n=t(n,e)}),n},R=function(e,t,n){return A(e,function(e){n=t(n,e)}),n},F=function(e,t){for(var n=0,o=e.length;n<o;n++){var r=e[n];if(t(r,n,e))return P.some(r)}return P.none()},I=function(e,t){for(var n=0,o=e.length;n<o;n++)if(t(e[n],n,e))return P.some(n);return P.none()},_=function(e,t){for(var n=0,o=e.length;n<o;++n)if(e[n]===t)return n;return-1},L=Array.prototype.push,j=function(e){for(var t=[],n=0,o=e.length;n<o;++n){if(!Array.prototype.isPrototypeOf(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);L.apply(t,e[n])}return t},W=function(e,t){var n=V(e,t);return j(n)},G=function(e,t){for(var n=0,o=e.length;n<o;++n)if(!0!==t(e[n],n,e))return!1;return!0},X=Array.prototype.slice,Y=function(e){var t=X.call(e,0);return t.reverse(),t},$=function(e,t){return B(e,function(e){return!M(t,e)})},q=function(e){return[e]},K=function(e){return 0===e.length?P.none():P.some(e[0])},J=function(e){return 0===e.length?P.none():P.some(e[e.length-1])},Q=z(Array.from)?Array.from:function(e){return X.call(e)},Z=Object.prototype.hasOwnPropert