!function(){"use strict";functiong(e){vart=e;return{get:function(){returnt},set:function(e){t=e}}}functione(r){returnfunction(e){returnn=typeof(t=e),(null===t?"null":"object"==n&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"==n&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":n)===r;vart,n}}functiont(t){returnfunction(e){returntypeofe===t}}functionp(){}functioni(e){returnfunction(){returne}}functionn(e){returne}functionr(){returnm}varo=tinymce.util.Tools.resolve("tinymce.PluginManager"),v=function(){return(v=Object.assign||function(e){for(vart,n=1,r=arguments.length;n<r;n++)for(varoint=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);returne}).apply(this,arguments)},a=e("string"),c=e("array"),u=t("boolean"),l=t("number"),s=i(!1),f=i(!0),d=i("[!-#%-*,-\\/:;?@\\[-\\]_{}\xa1\xab\xb7\xbb\xbf;\xb7\u055a-\u055f\u0589\u058a\u05be\u05c0\u05c3\u05c6\u05f3\u05f4\u0609\u060a\u060c\u060d\u061b\u061e\u061f\u066a-\u066d\u06d4\u0700-\u070d\u07f7-\u07f9\u0830-\u083e\u085e\u0964\u0965\u0970\u0df4\u0e4f\u0e5a\u0e5b\u0f04-\u0f12\u0f3a-\u0f3d\u0f85\u0fd0-\u0fd4\u0fd9\u0fda\u104a-\u104f\u10fb\u1361-\u1368\u1400\u166d\u166e\u169b\u169c\u16eb-\u16ed\u1735\u1736\u17d4-\u17d6\u17d8-\u17da\u1800-\u180a\u1944\u1945\u1a1e\u1a1f\u1aa0-\u1aa6\u1aa8-\u1aad\u1b5a-\u1b60\u1bfc-\u1bff\u1c3b-\u1c3f\u1c7e\u1c7f\u1cd3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205e\u207d\u207e\u208d\u208e\u3008\u3009\u2768-\u2775\u27c5\u27c6\u27e6-\u27ef\u2983-\u2998\u29d8-\u29db\u29fc\u29fd\u2cf9-\u2cfc\u2cfe\u2cff\u2d70\u2e00-\u2e2e\u2e30\u2e31\u3001-\u3003\u3008-\u3011\u3014-\u301f\u3030\u303d\u30a0\u30fb\ua4fe\ua4ff\ua60d-\ua60f\ua673\ua67e\ua6f2-\ua6f7\ua874-\ua877\ua8ce\ua8cf\ua8f8-\ua8fa\ua92e\ua92f\ua95f\ua9c1-\ua9cd\ua9de\ua9df\uaa5c-\uaa5f\uaade\uaadf\uabeb\ufd3e\ufd3f\ufe10-\ufe19\ufe30-\ufe52\ufe54-\ufe61\ufe63\ufe68\ufe6a\ufe6b\uff01-\uff03\uff05-\uff0a\uff0c-\uff0f\uff1a\uff1b\uff1f\uff20\uff3b-\uff3d\uff3f\uff5b\uff5d\uff5f-\uff65]"),m={fold:function(e,t){returne()},isSome:s,isNone:f,getOr:n,getOrThunk:h,getOrDie:function(e){thrownewError(e||"error: getOrDie called on none.")},getOrNull:i(null),getOrUndefined:i(void0),or:n,orThunk:h,map:r,each:p,bind:r,exists:s,forall:f,filter:function(){returnm},toArray:function(){return[]},toString:i("none()")};functionh(e){returne()}functiony(e,t){for(varn=e.length,r=newArray(n),o=0;o<n;o++){vari=e[o];r[o]=t(i,o)}returnr}functionx(e,t){for(varn=0,r=e.length;n<r;n++)t(e[n],n)}functionb(e,t){for(varn=e.length-1;0<=n;n--)t(e[n],n)}functionw(e,t){returnfunction(e){for(vart=[],n=0,r=e.length;n<r;++n){if(!c(e[n]))thrownewError("Arr.flatten item "+n+" was not an array, input: "+e);S.apply(t,e[n])}returnt}(y(e,t))}functionO(e,t){returnA.call(e,t)}varC=function(n){functione(){returno}functiont(e){returne(n)}varr=i(n),o={fold:function(e,t){returnt(n)},isSome:f,isNone:s,getOr:r,getOrThunk:r,getOrDie:r,getOrNull:r,getOrUndefined:r,or:e,orThunk:e,map:function(e){returnC(e(n))},each:function(e){e(n)},bind:t,exists:t,forall:t,filter:function(e){returne(n)?o:m},toArray:function(){return[n]},toString:function(){return"some("+n+")"}};returno},T={some:C,none:r,from:function(e){returnnull==e?m:C(e)}},E=d,N=tinymce.util.Tools.resolve("tinymce.util.Tools"),k=Array.prototype.slice,S=Array.prototype.push,A=Object.hasOwnProperty;functionD(e,t,n){!function(e,t,n){if(!(a(n)||u(n)||l(n)))throwconsole.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),newError("Attribute value was not simple");e.setAttribute(t,n+"")}(e.dom,t,n)}functionM(e,t){return{element:e,offset:t}}functionB(e,t){varn,r;n=e,r=t,T.from(n.dom.parentNode).map(se.fromDom).each(function(e){e.dom.insertBefore(r.dom,n.dom)}),t.dom.appendChild(e.dom)}functionF(e){returnfe.get(e)}functionI(e,t){returne.isBlock(t)||O(e.schema.getShortEndedElements(),t.nodeName)}functionP(e,t){return"false"===e.getContentEditable(t)}functionR(e,t){return!e.isBlock(t)&&O(e.schema.getWhiteSpaceElem