egroupware/api/js/tinymce/plugins/table/plugin.min.js

1 line
125 KiB
JavaScript
Raw Normal View History

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