@wiris/mathtype-tinymce6
Version:
MathType Web for TinyMCE6 editor
1 lines • 1.1 MB
JavaScript
(()=>{"use strict";var __webpack_modules__={107(){function _typeof(A){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},_typeof(A)}var md5,__WEBPACK_DEFAULT_EXPORT__=md5;(function(){var HxOverrides=function(){};HxOverrides.__name__=!0,HxOverrides.dateStr=function(A){var Q=A.getMonth()+1,g=A.getDate(),B=A.getHours(),C=A.getMinutes(),I=A.getSeconds();return A.getFullYear()+"-"+(Q<10?"0"+Q:""+Q)+"-"+(g<10?"0"+g:""+g)+" "+(B<10?"0"+B:""+B)+":"+(C<10?"0"+C:""+C)+":"+(I<10?"0"+I:""+I)},HxOverrides.strDate=function(A){switch(A.length){case 8:var Q=A.split(":"),g=new Date;return g.setTime(0),g.setUTCHours(Q[0]),g.setUTCMinutes(Q[1]),g.setUTCSeconds(Q[2]),g;case 10:Q=A.split("-");return new Date(Q[0],Q[1]-1,Q[2],0,0,0);case 19:var B=(Q=A.split(" "))[0].split("-"),C=Q[1].split(":");return new Date(B[0],B[1]-1,B[2],C[0],C[1],C[2]);default:throw"Invalid date format : "+A}},HxOverrides.cca=function(A,Q){var g=A.charCodeAt(Q);if(g==g)return g},HxOverrides.substr=function(A,Q,g){return null!=Q&&0!=Q&&null!=g&&g<0?"":(null==g&&(g=A.length),Q<0?(Q=A.length+Q)<0&&(Q=0):g<0&&(g=A.length+g-Q),A.substr(Q,g))},HxOverrides.remove=function(A,Q){for(var g=0,B=A.length;g<B;){if(A[g]==Q)return A.splice(g,1),!0;g++}return!1},HxOverrides.iter=function(A){return{cur:0,arr:A,hasNext:function(){return this.cur<this.arr.length},next:function(){return this.arr[this.cur++]}}};var IntIter=function(A,Q){this.min=A,this.max=Q};IntIter.__name__=!0,IntIter.prototype={next:function(){return this.min++},hasNext:function(){return this.min<this.max},__class__:IntIter};var Std=function(){};Std.__name__=!0,Std.is=function(A,Q){return js.Boot.__instanceof(A,Q)},Std.string=function(A){return js.Boot.__string_rec(A,"")},Std.int=function(A){return 0|A},Std.parseInt=function(A){var Q=parseInt(A,10);return 0!=Q||120!=HxOverrides.cca(A,1)&&88!=HxOverrides.cca(A,1)||(Q=parseInt(A)),isNaN(Q)?null:Q},Std.parseFloat=function(A){return parseFloat(A)},Std.random=function(A){return Math.floor(Math.random()*A)};var com=com||{};com.wiris||(com.wiris={}),com.wiris.js||(com.wiris.js={}),com.wiris.js.JsPluginTools=function(){this.tryReady()},com.wiris.js.JsPluginTools.__name__=!0,com.wiris.js.JsPluginTools.main=function(){var A;A=com.wiris.js.JsPluginTools.getInstance(),haxe.Timer.delay($bind(A,A.tryReady),100)},com.wiris.js.JsPluginTools.getInstance=function(){return null==com.wiris.js.JsPluginTools.instance&&(com.wiris.js.JsPluginTools.instance=new com.wiris.js.JsPluginTools),com.wiris.js.JsPluginTools.instance},com.wiris.js.JsPluginTools.bypassEncapsulation=function(){null==window.com&&(window.com={}),null==window.com.wiris&&(window.com.wiris={}),null==window.com.wiris.js&&(window.com.wiris.js={}),null==window.com.wiris.js.JsPluginTools&&(window.com.wiris.js.JsPluginTools=com.wiris.js.JsPluginTools.getInstance())},com.wiris.js.JsPluginTools.prototype={md5encode:function(A){return haxe.Md5.encode(A)},doLoad:function(){this.ready=!0,com.wiris.js.JsPluginTools.instance=this,com.wiris.js.JsPluginTools.bypassEncapsulation()},tryReady:function(){this.ready=!1,js.Lib.document.readyState&&(this.doLoad(),this.ready=!0),this.ready||haxe.Timer.delay($bind(this,this.tryReady),100)},__class__:com.wiris.js.JsPluginTools};var haxe=haxe||{};haxe.Log=function(){},haxe.Log.__name__=!0,haxe.Log.trace=function(A,Q){js.Boot.__trace(A,Q)},haxe.Log.clear=function(){js.Boot.__clear_trace()},haxe.Md5=function(){},haxe.Md5.__name__=!0,haxe.Md5.encode=function(A){return(new haxe.Md5).doEncode(A)},haxe.Md5.prototype={doEncode:function(A){for(var Q=this.str2blks(A),g=1732584193,B=-271733879,C=-1732584194,I=271733878,E=0;E<Q.length;){var e=g,i=B,o=C,t=I;g=this.ff(g,B,C,I,Q[E],7,-680876936),I=this.ff(I,g,B,C,Q[E+1],12,-389564586),C=this.ff(C,I,g,B,Q[E+2],17,606105819),B=this.ff(B,C,I,g,Q[E+3],22,-1044525330),g=this.ff(g,B,C,I,Q[E+4],7,-176418897),I=this.ff(I,g,B,C,Q[E+5],12,1200080426),C=this.ff(C,I,g,B,Q[E+6],17,-1473231341),B=this.ff(B,C,I,g,Q[E+7],22,-45705983),g=this.ff(g,B,C,I,Q[E+8],7,1770035416),I=this.ff(I,g,B,C,Q[E+9],12,-1958414417),C=this.ff(C,I,g,B,Q[E+10],17,-42063),B=this.ff(B,C,I,g,Q[E+11],22,-1990404162),g=this.ff(g,B,C,I,Q[E+12],7,1804603682),I=this.ff(I,g,B,C,Q[E+13],12,-40341101),C=this.ff(C,I,g,B,Q[E+14],17,-1502002290),B=this.ff(B,C,I,g,Q[E+15],22,1236535329),g=this.gg(g,B,C,I,Q[E+1],5,-165796510),I=this.gg(I,g,B,C,Q[E+6],9,-1069501632),C=this.gg(C,I,g,B,Q[E+11],14,643717713),B=this.gg(B,C,I,g,Q[E],20,-373897302),g=this.gg(g,B,C,I,Q[E+5],5,-701558691),I=this.gg(I,g,B,C,Q[E+10],9,38016083),C=this.gg(C,I,g,B,Q[E+15],14,-660478335),B=this.gg(B,C,I,g,Q[E+4],20,-405537848),g=this.gg(g,B,C,I,Q[E+9],5,568446438),I=this.gg(I,g,B,C,Q[E+14],9,-1019803690),C=this.gg(C,I,g,B,Q[E+3],14,-187363961),B=this.gg(B,C,I,g,Q[E+8],20,1163531501),g=this.gg(g,B,C,I,Q[E+13],5,-1444681467),I=this.gg(I,g,B,C,Q[E+2],9,-51403784),C=this.gg(C,I,g,B,Q[E+7],14,1735328473),B=this.gg(B,C,I,g,Q[E+12],20,-1926607734),g=this.hh(g,B,C,I,Q[E+5],4,-378558),I=this.hh(I,g,B,C,Q[E+8],11,-2022574463),C=this.hh(C,I,g,B,Q[E+11],16,1839030562),B=this.hh(B,C,I,g,Q[E+14],23,-35309556),g=this.hh(g,B,C,I,Q[E+1],4,-1530992060),I=this.hh(I,g,B,C,Q[E+4],11,1272893353),C=this.hh(C,I,g,B,Q[E+7],16,-155497632),B=this.hh(B,C,I,g,Q[E+10],23,-1094730640),g=this.hh(g,B,C,I,Q[E+13],4,681279174),I=this.hh(I,g,B,C,Q[E],11,-358537222),C=this.hh(C,I,g,B,Q[E+3],16,-722521979),B=this.hh(B,C,I,g,Q[E+6],23,76029189),g=this.hh(g,B,C,I,Q[E+9],4,-640364487),I=this.hh(I,g,B,C,Q[E+12],11,-421815835),C=this.hh(C,I,g,B,Q[E+15],16,530742520),B=this.hh(B,C,I,g,Q[E+2],23,-995338651),g=this.ii(g,B,C,I,Q[E],6,-198630844),I=this.ii(I,g,B,C,Q[E+7],10,1126891415),C=this.ii(C,I,g,B,Q[E+14],15,-1416354905),B=this.ii(B,C,I,g,Q[E+5],21,-57434055),g=this.ii(g,B,C,I,Q[E+12],6,1700485571),I=this.ii(I,g,B,C,Q[E+3],10,-1894986606),C=this.ii(C,I,g,B,Q[E+10],15,-1051523),B=this.ii(B,C,I,g,Q[E+1],21,-2054922799),g=this.ii(g,B,C,I,Q[E+8],6,1873313359),I=this.ii(I,g,B,C,Q[E+15],10,-30611744),C=this.ii(C,I,g,B,Q[E+6],15,-1560198380),B=this.ii(B,C,I,g,Q[E+13],21,1309151649),g=this.ii(g,B,C,I,Q[E+4],6,-145523070),I=this.ii(I,g,B,C,Q[E+11],10,-1120210379),C=this.ii(C,I,g,B,Q[E+2],15,718787259),B=this.ii(B,C,I,g,Q[E+9],21,-343485551),g=this.addme(g,e),B=this.addme(B,i),C=this.addme(C,o),I=this.addme(I,t),E+=16}return this.rhex(g)+this.rhex(B)+this.rhex(C)+this.rhex(I)},ii:function(A,Q,g,B,C,I,E){return this.cmn(this.bitXOR(g,this.bitOR(Q,~B)),A,Q,C,I,E)},hh:function(A,Q,g,B,C,I,E){return this.cmn(this.bitXOR(this.bitXOR(Q,g),B),A,Q,C,I,E)},gg:function(A,Q,g,B,C,I,E){return this.cmn(this.bitOR(this.bitAND(Q,B),this.bitAND(g,~B)),A,Q,C,I,E)},ff:function(A,Q,g,B,C,I,E){return this.cmn(this.bitOR(this.bitAND(Q,g),this.bitAND(~Q,B)),A,Q,C,I,E)},cmn:function(A,Q,g,B,C,I){return this.addme(this.rol(this.addme(this.addme(Q,A),this.addme(B,I)),C),g)},rol:function(A,Q){return A<<Q|A>>>32-Q},str2blks:function(A){for(var Q=1+(A.length+8>>6),g=new Array,B=0,C=16*Q;B<C;){g[I=B++]=0}for(var I=0;I<A.length;)g[I>>2]|=HxOverrides.cca(A,I)<<(8*A.length+I)%4*8,I++;g[I>>2]|=128<<(8*A.length+I)%4*8;var E=8*A.length,e=16*Q-2;return g[e]=255&E,g[e]|=(E>>>8&255)<<8,g[e]|=(E>>>16&255)<<16,g[e]|=(E>>>24&255)<<24,g},rhex:function(A){for(var Q="",g="0123456789abcdef",B=0;B<4;){var C=B++;Q+=g.charAt(A>>8*C+4&15)+g.charAt(A>>8*C&15)}return Q},addme:function(A,Q){var g=(65535&A)+(65535&Q);return(A>>16)+(Q>>16)+(g>>16)<<16|65535&g},bitAND:function(A,Q){return(A>>>1&Q>>>1)<<1|1&A&Q},bitXOR:function(A,Q){return(A>>>1^Q>>>1)<<1|1&A^1&Q},bitOR:function(A,Q){return(A>>>1|Q>>>1)<<1|(1&A|1&Q)},__class__:haxe.Md5},haxe.Timer=function(A){var Q=this;this.id=window.setInterval(function(){Q.run()},A)},haxe.Timer.__name__=!0,haxe.Timer.delay=function(A,Q){var g=new haxe.Timer(Q);return g.run=function(){g.stop(),A()},g},haxe.Timer.measure=function(A,Q){var g=haxe.Timer.stamp(),B=A();return haxe.Log.trace(haxe.Timer.stamp()-g+"s",Q),B},haxe.Timer.stamp=function(){return(new Date).getTime()/1e3},haxe.Timer.prototype={run:function(){},stop:function(){null!=this.id&&(window.clearInterval(this.id),this.id=null)},__class__:haxe.Timer};var js=js||{},$_;function $bind(A,Q){var g=function(){return g.method.apply(g.scope,arguments)};return g.scope=A,g.method=Q,g}js.Boot=function(){},js.Boot.__name__=!0,js.Boot.__unhtml=function(A){return A.split("&").join("&").split("<").join("<").split(">").join(">")},js.Boot.__trace=function(A,Q){var g,B=null!=Q?Q.fileName+":"+Q.lineNumber+": ":"";B+=js.Boot.__string_rec(A,""),"undefined"!=typeof document&&null!=(g=document.getElementById("haxe:trace"))?g.innerHTML+=js.Boot.__unhtml(B)+"<br/>":"undefined"!=typeof console&&null!=console.log&&console.log(B)},js.Boot.__clear_trace=function(){var A=document.getElementById("haxe:trace");null!=A&&(A.innerHTML="")},js.Boot.isClass=function(A){return A.__name__},js.Boot.isEnum=function(A){return A.__ename__},js.Boot.getClass=function(A){return A.__class__},js.Boot.__string_rec=function(A,Q){if(null==A)return"null";if(Q.length>=5)return"<...>";var g=_typeof(A);switch("function"==g&&(A.__name__||A.__ename__)&&(g="object"),g){case"object":if(A instanceof Array){if(A.__enum__){if(2==A.length)return A[0];var B=A[0]+"(";Q+="\t";for(var C=2,I=A.length;C<I;){B+=2!=(E=C++)?","+js.Boot.__string_rec(A[E],Q):js.Boot.__string_rec(A[E],Q)}return B+")"}var E,e=A.length;B="[";Q+="\t";for(I=0;I<e;){var i=I++;B+=(i>0?",":"")+js.Boot.__string_rec(A[i],Q)}return B+="]"}var o;try{o=A.toString}catch(A){return"???"}if(null!=o&&o!=Object.toString){var t=A.toString();if("[object Object]"!=t)return t}var D=null;B="{\n";Q+="\t";var w=null!=A.hasOwnProperty;for(var D in A)w&&!A.hasOwnProperty(D)||"prototype"!=D&&"__class__"!=D&&"__super__"!=D&&"__interfaces__"!=D&&"__properties__"!=D&&(2!=B.length&&(B+=", \n"),B+=Q+D+" : "+js.Boot.__string_rec(A[D],Q));return B+="\n"+(Q=Q.substring(1))+"}";case"function":return"<function>";case"string":return A;default:return String(A)}},js.Boot.__interfLoop=function(A,Q){if(null==A)return!1;if(A==Q)return!0;var g=A.__interfaces__;if(null!=g)for(var B=0,C=g.length;B<C;){var I=g[B++];if(I==Q||js.Boot.__interfLoop(I,Q))return!0}return js.Boot.__interfLoop(A.__super__,Q)},js.Boot.__instanceof=function(A,Q){try{if(A instanceof Q)return Q!=Array||null==A.__enum__;if(js.Boot.__interfLoop(A.__class__,Q))return!0}catch(A){if(null==Q)return!1}switch(Q){case Int:return Math.ceil(A%2147483648)===A;case Float:return"number"==typeof A;case Bool:return!0===A||!1===A;case String:return"string"==typeof A;case Dynamic:return!0;default:return null!=A&&(Q==Class&&null!=A.__name__||(Q==Enum&&null!=A.__ename__||A.__enum__==Q))}},js.Boot.__cast=function(A,Q){if(js.Boot.__instanceof(A,Q))return A;throw"Cannot cast "+Std.string(A)+" to "+Std.string(Q)},js.Lib=function(){},js.Lib.__name__=!0,js.Lib.debug=function(){},js.Lib.alert=function(A){alert(js.Boot.__string_rec(A,""))},js.Lib.eval=function(code){return eval(code)},js.Lib.setErrorHandler=function(A){js.Lib.onerror=A},Array.prototype.indexOf&&(HxOverrides.remove=function(A,Q){var g=A.indexOf(Q);return-1!=g&&(A.splice(g,1),!0)}),Math.__name__=["Math"],Math.NaN=Number.NaN,Math.NEGATIVE_INFINITY=Number.NEGATIVE_INFINITY,Math.POSITIVE_INFINITY=Number.POSITIVE_INFINITY,Math.isFinite=function(A){return isFinite(A)},Math.isNaN=function(A){return isNaN(A)},String.prototype.__class__=String,String.__name__=!0,Array.prototype.__class__=Array,Array.__name__=!0,Date.prototype.__class__=Date,Date.__name__=["Date"];var Int={__name__:["Int"]},Dynamic={__name__:["Dynamic"]},Float=Number;Float.__name__=["Float"];var Bool=Boolean;Bool.__ename__=["Bool"];var Class={__name__:["Class"]},Enum={},Void={__ename__:["Void"]};"undefined"!=typeof document&&(js.Lib.document=document),"undefined"!=typeof window&&(js.Lib.window=window,js.Lib.window.onerror=function(A,Q,g){var B=js.Lib.onerror;return null!=B&&B(A,[Q+":"+g])}),com.wiris.js.JsPluginTools.main(),delete Array.prototype.__class__})(),function(){var HxOverrides=function(){};HxOverrides.__name__=!0,HxOverrides.dateStr=function(A){var Q=A.getMonth()+1,g=A.getDate(),B=A.getHours(),C=A.getMinutes(),I=A.getSeconds();return A.getFullYear()+"-"+(Q<10?"0"+Q:""+Q)+"-"+(g<10?"0"+g:""+g)+" "+(B<10?"0"+B:""+B)+":"+(C<10?"0"+C:""+C)+":"+(I<10?"0"+I:""+I)},HxOverrides.strDate=function(A){switch(A.length){case 8:var Q=A.split(":"),g=new Date;return g.setTime(0),g.setUTCHours(Q[0]),g.setUTCMinutes(Q[1]),g.setUTCSeconds(Q[2]),g;case 10:Q=A.split("-");return new Date(Q[0],Q[1]-1,Q[2],0,0,0);case 19:var B=(Q=A.split(" "))[0].split("-"),C=Q[1].split(":");return new Date(B[0],B[1]-1,B[2],C[0],C[1],C[2]);default:throw"Invalid date format : "+A}},HxOverrides.cca=function(A,Q){var g=A.charCodeAt(Q);if(g==g)return g},HxOverrides.substr=function(A,Q,g){return null!=Q&&0!=Q&&null!=g&&g<0?"":(null==g&&(g=A.length),Q<0?(Q=A.length+Q)<0&&(Q=0):g<0&&(g=A.length+g-Q),A.substr(Q,g))},HxOverrides.remove=function(A,Q){for(var g=0,B=A.length;g<B;){if(A[g]==Q)return A.splice(g,1),!0;g++}return!1},HxOverrides.iter=function(A){return{cur:0,arr:A,hasNext:function(){return this.cur<this.arr.length},next:function(){return this.arr[this.cur++]}}};var IntIter=function(A,Q){this.min=A,this.max=Q};IntIter.__name__=!0,IntIter.prototype={next:function(){return this.min++},hasNext:function(){return this.min<this.max},__class__:IntIter};var Std=function(){};Std.__name__=!0,Std.is=function(A,Q){return js.Boot.__instanceof(A,Q)},Std.string=function(A){return js.Boot.__string_rec(A,"")},Std.int=function(A){return 0|A},Std.parseInt=function(A){var Q=parseInt(A,10);return 0!=Q||120!=HxOverrides.cca(A,1)&&88!=HxOverrides.cca(A,1)||(Q=parseInt(A)),isNaN(Q)?null:Q},Std.parseFloat=function(A){return parseFloat(A)},Std.random=function(A){return Math.floor(Math.random()*A)};var com=com||{};com.wiris||(com.wiris={}),com.wiris.js||(com.wiris.js={}),com.wiris.js.JsPluginTools=function(){this.tryReady()},com.wiris.js.JsPluginTools.__name__=!0,com.wiris.js.JsPluginTools.main=function(){var A;A=com.wiris.js.JsPluginTools.getInstance(),haxe.Timer.delay($bind(A,A.tryReady),100)},com.wiris.js.JsPluginTools.getInstance=function(){return null==com.wiris.js.JsPluginTools.instance&&(com.wiris.js.JsPluginTools.instance=new com.wiris.js.JsPluginTools),com.wiris.js.JsPluginTools.instance},com.wiris.js.JsPluginTools.bypassEncapsulation=function(){null==window.com&&(window.com={}),null==window.com.wiris&&(window.com.wiris={}),null==window.com.wiris.js&&(window.com.wiris.js={}),null==window.com.wiris.js.JsPluginTools&&(window.com.wiris.js.JsPluginTools=com.wiris.js.JsPluginTools.getInstance())},com.wiris.js.JsPluginTools.prototype={md5encode:function(A){return haxe.Md5.encode(A)},doLoad:function(){this.ready=!0,com.wiris.js.JsPluginTools.instance=this,com.wiris.js.JsPluginTools.bypassEncapsulation()},tryReady:function(){this.ready=!1,js.Lib.document.readyState&&(this.doLoad(),this.ready=!0),this.ready||haxe.Timer.delay($bind(this,this.tryReady),100)},__class__:com.wiris.js.JsPluginTools};var haxe=haxe||{};haxe.Log=function(){},haxe.Log.__name__=!0,haxe.Log.trace=function(A,Q){js.Boot.__trace(A,Q)},haxe.Log.clear=function(){js.Boot.__clear_trace()},haxe.Md5=function(){},haxe.Md5.__name__=!0,haxe.Md5.encode=function(A){return(new haxe.Md5).doEncode(A)},haxe.Md5.prototype={doEncode:function(A){for(var Q=this.str2blks(A),g=1732584193,B=-271733879,C=-1732584194,I=271733878,E=0;E<Q.length;){var e=g,i=B,o=C,t=I;g=this.ff(g,B,C,I,Q[E],7,-680876936),I=this.ff(I,g,B,C,Q[E+1],12,-389564586),C=this.ff(C,I,g,B,Q[E+2],17,606105819),B=this.ff(B,C,I,g,Q[E+3],22,-1044525330),g=this.ff(g,B,C,I,Q[E+4],7,-176418897),I=this.ff(I,g,B,C,Q[E+5],12,1200080426),C=this.ff(C,I,g,B,Q[E+6],17,-1473231341),B=this.ff(B,C,I,g,Q[E+7],22,-45705983),g=this.ff(g,B,C,I,Q[E+8],7,1770035416),I=this.ff(I,g,B,C,Q[E+9],12,-1958414417),C=this.ff(C,I,g,B,Q[E+10],17,-42063),B=this.ff(B,C,I,g,Q[E+11],22,-1990404162),g=this.ff(g,B,C,I,Q[E+12],7,1804603682),I=this.ff(I,g,B,C,Q[E+13],12,-40341101),C=this.ff(C,I,g,B,Q[E+14],17,-1502002290),B=this.ff(B,C,I,g,Q[E+15],22,1236535329),g=this.gg(g,B,C,I,Q[E+1],5,-165796510),I=this.gg(I,g,B,C,Q[E+6],9,-1069501632),C=this.gg(C,I,g,B,Q[E+11],14,643717713),B=this.gg(B,C,I,g,Q[E],20,-373897302),g=this.gg(g,B,C,I,Q[E+5],5,-701558691),I=this.gg(I,g,B,C,Q[E+10],9,38016083),C=this.gg(C,I,g,B,Q[E+15],14,-660478335),B=this.gg(B,C,I,g,Q[E+4],20,-405537848),g=this.gg(g,B,C,I,Q[E+9],5,568446438),I=this.gg(I,g,B,C,Q[E+14],9,-1019803690),C=this.gg(C,I,g,B,Q[E+3],14,-187363961),B=this.gg(B,C,I,g,Q[E+8],20,1163531501),g=this.gg(g,B,C,I,Q[E+13],5,-1444681467),I=this.gg(I,g,B,C,Q[E+2],9,-51403784),C=this.gg(C,I,g,B,Q[E+7],14,1735328473),B=this.gg(B,C,I,g,Q[E+12],20,-1926607734),g=this.hh(g,B,C,I,Q[E+5],4,-378558),I=this.hh(I,g,B,C,Q[E+8],11,-2022574463),C=this.hh(C,I,g,B,Q[E+11],16,1839030562),B=this.hh(B,C,I,g,Q[E+14],23,-35309556),g=this.hh(g,B,C,I,Q[E+1],4,-1530992060),I=this.hh(I,g,B,C,Q[E+4],11,1272893353),C=this.hh(C,I,g,B,Q[E+7],16,-155497632),B=this.hh(B,C,I,g,Q[E+10],23,-1094730640),g=this.hh(g,B,C,I,Q[E+13],4,681279174),I=this.hh(I,g,B,C,Q[E],11,-358537222),C=this.hh(C,I,g,B,Q[E+3],16,-722521979),B=this.hh(B,C,I,g,Q[E+6],23,76029189),g=this.hh(g,B,C,I,Q[E+9],4,-640364487),I=this.hh(I,g,B,C,Q[E+12],11,-421815835),C=this.hh(C,I,g,B,Q[E+15],16,530742520),B=this.hh(B,C,I,g,Q[E+2],23,-995338651),g=this.ii(g,B,C,I,Q[E],6,-198630844),I=this.ii(I,g,B,C,Q[E+7],10,1126891415),C=this.ii(C,I,g,B,Q[E+14],15,-1416354905),B=this.ii(B,C,I,g,Q[E+5],21,-57434055),g=this.ii(g,B,C,I,Q[E+12],6,1700485571),I=this.ii(I,g,B,C,Q[E+3],10,-1894986606),C=this.ii(C,I,g,B,Q[E+10],15,-1051523),B=this.ii(B,C,I,g,Q[E+1],21,-2054922799),g=this.ii(g,B,C,I,Q[E+8],6,1873313359),I=this.ii(I,g,B,C,Q[E+15],10,-30611744),C=this.ii(C,I,g,B,Q[E+6],15,-1560198380),B=this.ii(B,C,I,g,Q[E+13],21,1309151649),g=this.ii(g,B,C,I,Q[E+4],6,-145523070),I=this.ii(I,g,B,C,Q[E+11],10,-1120210379),C=this.ii(C,I,g,B,Q[E+2],15,718787259),B=this.ii(B,C,I,g,Q[E+9],21,-343485551),g=this.addme(g,e),B=this.addme(B,i),C=this.addme(C,o),I=this.addme(I,t),E+=16}return this.rhex(g)+this.rhex(B)+this.rhex(C)+this.rhex(I)},ii:function(A,Q,g,B,C,I,E){return this.cmn(this.bitXOR(g,this.bitOR(Q,~B)),A,Q,C,I,E)},hh:function(A,Q,g,B,C,I,E){return this.cmn(this.bitXOR(this.bitXOR(Q,g),B),A,Q,C,I,E)},gg:function(A,Q,g,B,C,I,E){return this.cmn(this.bitOR(this.bitAND(Q,B),this.bitAND(g,~B)),A,Q,C,I,E)},ff:function(A,Q,g,B,C,I,E){return this.cmn(this.bitOR(this.bitAND(Q,g),this.bitAND(~Q,B)),A,Q,C,I,E)},cmn:function(A,Q,g,B,C,I){return this.addme(this.rol(this.addme(this.addme(Q,A),this.addme(B,I)),C),g)},rol:function(A,Q){return A<<Q|A>>>32-Q},str2blks:function(A){for(var Q=1+(A.length+8>>6),g=new Array,B=0,C=16*Q;B<C;){g[I=B++]=0}for(var I=0;I<A.length;)g[I>>2]|=HxOverrides.cca(A,I)<<(8*A.length+I)%4*8,I++;g[I>>2]|=128<<(8*A.length+I)%4*8;var E=8*A.length,e=16*Q-2;return g[e]=255&E,g[e]|=(E>>>8&255)<<8,g[e]|=(E>>>16&255)<<16,g[e]|=(E>>>24&255)<<24,g},rhex:function(A){for(var Q="",g="0123456789abcdef",B=0;B<4;){var C=B++;Q+=g.charAt(A>>8*C+4&15)+g.charAt(A>>8*C&15)}return Q},addme:function(A,Q){var g=(65535&A)+(65535&Q);return(A>>16)+(Q>>16)+(g>>16)<<16|65535&g},bitAND:function(A,Q){return(A>>>1&Q>>>1)<<1|1&A&Q},bitXOR:function(A,Q){return(A>>>1^Q>>>1)<<1|1&A^1&Q},bitOR:function(A,Q){return(A>>>1|Q>>>1)<<1|(1&A|1&Q)},__class__:haxe.Md5},haxe.Timer=function(A){var Q=this;this.id=window.setInterval(function(){Q.run()},A)},haxe.Timer.__name__=!0,haxe.Timer.delay=function(A,Q){var g=new haxe.Timer(Q);return g.run=function(){g.stop(),A()},g},haxe.Timer.measure=function(A,Q){var g=haxe.Timer.stamp(),B=A();return haxe.Log.trace(haxe.Timer.stamp()-g+"s",Q),B},haxe.Timer.stamp=function(){return(new Date).getTime()/1e3},haxe.Timer.prototype={run:function(){},stop:function(){null!=this.id&&(window.clearInterval(this.id),this.id=null)},__class__:haxe.Timer};var js=js||{},$_;function $bind(A,Q){var g=function(){return g.method.apply(g.scope,arguments)};return g.scope=A,g.method=Q,g}js.Boot=function(){},js.Boot.__name__=!0,js.Boot.__unhtml=function(A){return A.split("&").join("&").split("<").join("<").split(">").join(">")},js.Boot.__trace=function(A,Q){var g,B=null!=Q?Q.fileName+":"+Q.lineNumber+": ":"";B+=js.Boot.__string_rec(A,""),"undefined"!=typeof document&&null!=(g=document.getElementById("haxe:trace"))?g.innerHTML+=js.Boot.__unhtml(B)+"<br/>":"undefined"!=typeof console&&null!=console.log&&console.log(B)},js.Boot.__clear_trace=function(){var A=document.getElementById("haxe:trace");null!=A&&(A.innerHTML="")},js.Boot.isClass=function(A){return A.__name__},js.Boot.isEnum=function(A){return A.__ename__},js.Boot.getClass=function(A){return A.__class__},js.Boot.__string_rec=function(A,Q){if(null==A)return"null";if(Q.length>=5)return"<...>";var g=_typeof(A);switch("function"==g&&(A.__name__||A.__ename__)&&(g="object"),g){case"object":if(A instanceof Array){if(A.__enum__){if(2==A.length)return A[0];var B=A[0]+"(";Q+="\t";for(var C=2,I=A.length;C<I;){B+=2!=(E=C++)?","+js.Boot.__string_rec(A[E],Q):js.Boot.__string_rec(A[E],Q)}return B+")"}var E,e=A.length;B="[";Q+="\t";for(I=0;I<e;){var i=I++;B+=(i>0?",":"")+js.Boot.__string_rec(A[i],Q)}return B+="]"}var o;try{o=A.toString}catch(A){return"???"}if(null!=o&&o!=Object.toString){var t=A.toString();if("[object Object]"!=t)return t}var D=null;B="{\n";Q+="\t";var w=null!=A.hasOwnProperty;for(var D in A)w&&!A.hasOwnProperty(D)||"prototype"!=D&&"__class__"!=D&&"__super__"!=D&&"__interfaces__"!=D&&"__properties__"!=D&&(2!=B.length&&(B+=", \n"),B+=Q+D+" : "+js.Boot.__string_rec(A[D],Q));return B+="\n"+(Q=Q.substring(1))+"}";case"function":return"<function>";case"string":return A;default:return String(A)}},js.Boot.__interfLoop=function(A,Q){if(null==A)return!1;if(A==Q)return!0;var g=A.__interfaces__;if(null!=g)for(var B=0,C=g.length;B<C;){var I=g[B++];if(I==Q||js.Boot.__interfLoop(I,Q))return!0}return js.Boot.__interfLoop(A.__super__,Q)},js.Boot.__instanceof=function(A,Q){try{if(A instanceof Q)return Q!=Array||null==A.__enum__;if(js.Boot.__interfLoop(A.__class__,Q))return!0}catch(A){if(null==Q)return!1}switch(Q){case Int:return Math.ceil(A%2147483648)===A;case Float:return"number"==typeof A;case Bool:return!0===A||!1===A;case String:return"string"==typeof A;case Dynamic:return!0;default:return null!=A&&(Q==Class&&null!=A.__name__||(Q==Enum&&null!=A.__ename__||A.__enum__==Q))}},js.Boot.__cast=function(A,Q){if(js.Boot.__instanceof(A,Q))return A;throw"Cannot cast "+Std.string(A)+" to "+Std.string(Q)},js.Lib=function(){},js.Lib.__name__=!0,js.Lib.debug=function(){},js.Lib.alert=function(A){alert(js.Boot.__string_rec(A,""))},js.Lib.eval=function(code){return eval(code)},js.Lib.setErrorHandler=function(A){js.Lib.onerror=A},Array.prototype.indexOf&&(HxOverrides.remove=function(A,Q){var g=A.indexOf(Q);return-1!=g&&(A.splice(g,1),!0)}),Math.__name__=["Math"],Math.NaN=Number.NaN,Math.NEGATIVE_INFINITY=Number.NEGATIVE_INFINITY,Math.POSITIVE_INFINITY=Number.POSITIVE_INFINITY,Math.isFinite=function(A){return isFinite(A)},Math.isNaN=function(A){return isNaN(A)},String.prototype.__class__=String,String.__name__=!0,Array.prototype.__class__=Array,Array.__name__=!0,Date.prototype.__class__=Date,Date.__name__=["Date"];var Int={__name__:["Int"]},Dynamic={__name__:["Dynamic"]},Float=Number;Float.__name__=["Float"];var Bool=Boolean;Bool.__ename__=["Bool"];var Class={__name__:["Class"]},Enum={},Void={__ename__:["Void"]};"undefined"!=typeof document&&(js.Lib.document=document),"undefined"!=typeof window&&(js.Lib.window=window,js.Lib.window.onerror=function(A,Q,g){var B=js.Lib.onerror;return null!=B&&B(A,[Q+":"+g])}),com.wiris.js.JsPluginTools.main()}(),delete Array.prototype.__class__},589(A,Q,g){function B(){var A,Q,g="function"==typeof Symbol?Symbol:{},I=g.iterator||"@@iterator",E=g.toStringTag||"@@toStringTag";function e(g,B,I,E){var e=B&&B.prototype instanceof o?B:o,t=Object.create(e.prototype);return C(t,"_invoke",function(g,B,C){var I,E,e,o=0,t=C||[],D=!1,w={p:0,n:0,v:A,a:n,f:n.bind(A,4),d:function(Q,g){return I=Q,E=0,e=A,w.n=g,i}};function n(g,B){for(E=g,e=B,Q=0;!D&&o&&!C&&Q<t.length;Q++){var C,I=t[Q],n=w.p,a=I[2];g>3?(C=a===B)&&(e=I[(E=I[4])?5:(E=3,3)],I[4]=I[5]=A):I[0]<=n&&((C=g<2&&n<I[1])?(E=0,w.v=B,w.n=I[1]):n<a&&(C=g<3||I[0]>B||B>a)&&(I[4]=g,I[5]=B,w.n=a,E=0))}if(C||g>1)return i;throw D=!0,B}return function(C,t,a){if(o>1)throw TypeError("Generator is already running");for(D&&1===t&&n(t,a),E=t,e=a;(Q=E<2?A:e)||!D;){I||(E?E<3?(E>1&&(w.n=-1),n(E,e)):w.n=e:w.v=e);try{if(o=2,I){if(E||(C="next"),Q=I[C]){if(!(Q=Q.call(I,e)))throw TypeError("iterator result is not an object");if(!Q.done)return Q;e=Q.value,E<2&&(E=0)}else 1===E&&(Q=I.return)&&Q.call(I),E<2&&(e=TypeError("The iterator does not provide a '"+C+"' method"),E=1);I=A}else if((Q=(D=w.n<0)?e:g.call(B,w))!==i)break}catch(Q){I=A,E=1,e=Q}finally{o=1}}return{value:Q,done:D}}}(g,I,E),!0),t}var i={};function o(){}function t(){}function D(){}Q=Object.getPrototypeOf;var w=[][I]?Q(Q([][I]())):(C(Q={},I,function(){return this}),Q),n=D.prototype=o.prototype=Object.create(w);function a(A){return Object.setPrototypeOf?Object.setPrototypeOf(A,D):(A.__proto__=D,C(A,E,"GeneratorFunction")),A.prototype=Object.create(n),A}return t.prototype=D,C(n,"constructor",D),C(D,"constructor",t),t.displayName="GeneratorFunction",C(D,E,"GeneratorFunction"),C(n),C(n,E,"Generator"),C(n,I,function(){return this}),C(n,"toString",function(){return"[object Generator]"}),(B=function(){return{w:e,m:a}})()}function C(A,Q,g,B){var I=Object.defineProperty;try{I({},"",{})}catch(A){I=0}C=function(A,Q,g,B){function E(Q,g){C(A,Q,function(A){return this._invoke(Q,g,A)})}Q?I?I(A,Q,{value:g,enumerable:!B,configurable:!B,writable:!B}):A[Q]=g:(E("next",0),E("throw",1),E("return",2))},C(A,Q,g,B)}function I(A,Q,g,B,C,I,E){try{var e=A[I](E),i=e.value}catch(A){return void g(A)}e.done?Q(i):Promise.resolve(i).then(B,C)}function E(A){return function(){var Q=this,g=arguments;return new Promise(function(B,C){var E=A.apply(Q,g);function e(A){I(E,B,C,e,i,"next",A)}function i(A){I(E,B,C,e,i,"throw",A)}e(void 0)})}}function e(A,Q){for(var g=0;g<Q.length;g++){var B=Q[g];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(A,i(B.key),B)}}function i(A){var Q=function(A,Q){if("object"!=o(A)||!A)return A;var g=A[Symbol.toPrimitive];if(void 0!==g){var B=g.call(A,Q||"default");if("object"!=o(B))return B;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===Q?String:Number)(A)}(A,"string");return"symbol"==o(Q)?Q:Q+""}function o(A){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},o(A)}var t;g.d(Q,{Ay:()=>O,iP:()=>p}),A=g.hmd(A);var D="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:function(){throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&D.decode();var w=null;function n(){return null!==w&&0!==w.byteLength||(w=new Uint8Array(t.memory.buffer)),w}function a(A,Q){return A>>>=0,D.decode(n().subarray(A,A+Q))}var s=new Array(128).fill(void 0);s.push(void 0,null,!0,!1);var r=s.length;function c(A){r===s.length&&s.push(s.length+1);var Q=r;return r=s[Q],s[Q]=A,Q}function M(A){return s[A]}function k(A){var Q=M(A);return function(A){A<132||(s[A]=r,r=A)}(A),Q}var h=0,l="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:function(){throw Error("TextEncoder not available")}},G="function"==typeof l.encodeInto?function(A,Q){return l.encodeInto(A,Q)}:function(A,Q){var g=l.encode(A);return Q.set(g),{read:A.length,written:g.length}};function N(A,Q,g){if(void 0===g){var B=l.encode(A),C=Q(B.length,1)>>>0;return n().subarray(C,C+B.length).set(B),h=B.length,C}for(var I=A.length,E=Q(I,1)>>>0,e=n(),i=0;i<I;i++){var o=A.charCodeAt(i);if(o>127)break;e[E+i]=o}if(i!==I){0!==i&&(A=A.slice(i)),E=g(E,I,I=i+3*A.length,1)>>>0;var t=n().subarray(E+i,E+I);i+=G(A,t).written}return h=i,E}function y(A){return null==A}var F=null;function J(){return null!==F&&0!==F.byteLength||(F=new Int32Array(t.memory.buffer)),F}var Y=null;var d=null;function u(A){var Q=o(A);if("number"==Q||"boolean"==Q||null==A)return"".concat(A);if("string"==Q)return'"'.concat(A,'"');if("symbol"==Q){var g=A.description;return null==g?"Symbol":"Symbol(".concat(g,")")}if("function"==Q){var B=A.name;return"string"==typeof B&&B.length>0?"Function(".concat(B,")"):"Function"}if(Array.isArray(A)){var C=A.length,I="[";C>0&&(I+=u(A[0]));for(var E=1;E<C;E++)I+=", "+u(A[E]);return I+="]"}var e,i=/\[object ([^\]]+)\]/.exec(toString.call(A));if(!(i.length>1))return toString.call(A);if("Object"==(e=i[1]))try{return"Object("+JSON.stringify(A)+")"}catch(A){return"Object"}return A instanceof Error?"".concat(A.name,": ").concat(A.message,"\n").concat(A.stack):e}function L(A,Q,g){t.__wbindgen_export_3(A,Q,c(g))}function m(A,Q,g,B){var C={a:A,b:Q,cnt:1,dtor:g},I=function(){C.cnt++;var A=C.a;C.a=0;try{for(var Q=arguments.length,g=new Array(Q),I=0;I<Q;I++)g[I]=arguments[I];return B.apply(void 0,[A,C.b].concat(g))}finally{0===--C.cnt?t.__wbindgen_export_2.get(C.dtor)(A,C.b):C.a=A}};return I.original=C,I}function H(A,Q){t.__wbindgen_export_4(A,Q)}function U(A,Q,g){t.__wbindgen_export_5(A,Q,c(g))}function f(A,Q){try{return A.apply(this,Q)}catch(A){t.__wbindgen_export_6(c(A))}}Object.freeze({Err:0,0:"Err",Warn:1,1:"Warn",Info:2,2:"Info",Debug:3,3:"Debug"});var p=function(){return A=function A(Q,g,B){!function(A,Q){if(!(A instanceof Q))throw new TypeError("Cannot call a class as a function")}(this,A);try{var C=t.__wbindgen_add_to_stack_pointer(-16);t.telemeter_new(C,c(Q),c(g),c(B));var I=J()[C/4+0],E=J()[C/4+1];if(J()[C/4+2])throw k(E);return this.__wbg_ptr=I>>>0,this}finally{t.__wbindgen_add_to_stack_pointer(16)}},(Q=[{key:"__destroy_into_raw",value:function(){var A=this.__wbg_ptr;return this.__wbg_ptr=0,A}},{key:"free",value:function(){var A=this.__destroy_into_raw();t.__wbg_telemeter_free(A)}},{key:"identify",value:function(A){var Q=N(A,t.__wbindgen_export_0,t.__wbindgen_export_1),g=h;return k(t.telemeter_identify(this.__wbg_ptr,Q,g))}},{key:"track",value:function(A,Q){var g=N(A,t.__wbindgen_export_0,t.__wbindgen_export_1),B=h;return k(t.telemeter_track(this.__wbg_ptr,g,B,c(Q)))}},{key:"log",value:function(A,Q,g){var B=N(Q,t.__wbindgen_export_0,t.__wbindgen_export_1),C=h;return k(t.telemeter_log(this.__wbg_ptr,c(A),B,C,c(g)))}},{key:"finish",value:function(){var A=this.__destroy_into_raw();return k(t.telemeter_finish(A))}},{key:"debug",value:function(A){t.telemeter_debug(this.__wbg_ptr,y(A)?16777215:A?1:0)}}])&&e(A.prototype,Q),g&&e(A,g),Object.defineProperty(A,"prototype",{writable:!1}),A;var A,Q,g}();function R(A,Q){return K.apply(this,arguments)}function K(){return K=E(B().m(function A(Q,g){var C,I,E;return B().w(function(A){for(;;)switch(A.p=A.n){case 0:if(!("function"==typeof Response&&Q instanceof Response)){A.n=8;break}if("function"!=typeof WebAssembly.instantiateStreaming){A.n=5;break}return A.p=1,A.n=2,WebAssembly.instantiateStreaming(Q,g);case 2:case 7:return A.a(2,A.v);case 3:if(A.p=3,E=A.v,"application/wasm"==Q.headers.get("Content-Type")){A.n=4;break}console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",E),A.n=5;break;case 4:throw E;case 5:return A.n=6,Q.arrayBuffer();case 6:return C=A.v,A.n=7,WebAssembly.instantiate(C,g);case 8:return A.n=9,WebAssembly.instantiate(Q,g);case 9:if(!((I=A.v)instanceof WebAssembly.Instance)){A.n=10;break}return A.a(2,{instance:I,module:Q});case 10:return A.a(2,I);case 11:return A.a(2)}},A,null,[[1,3]])})),K.apply(this,arguments)}function S(){var Q={wbg:{}};return Q.wbg.__wbindgen_string_new=function(A,Q){return c(a(A,Q))},Q.wbg.__wbg_new_c728d68b8b34487e=function(){return c(new Object)},Q.wbg.__wbg_status_7841bb47be2a8f16=function(A){return M(A).status},Q.wbg.__wbg_headers_ea7ef583d1564b08=function(A){return c(M(A).headers)},Q.wbg.__wbg_new0_ad75dd38f92424e2=function(){return c(new Date)},Q.wbg.__wbg_getTime_ed6ee333b702f8fc=function(A){return M(A).getTime()},Q.wbg.__wbindgen_object_drop_ref=function(A){k(A)},Q.wbg.__wbindgen_is_object=function(A){var Q=M(A);return"object"===o(Q)&&null!==Q},Q.wbg.__wbg_crypto_58f13aa23ffcb166=function(A){return c(M(A).crypto)},Q.wbg.__wbg_process_5b786e71d465a513=function(A){return c(M(A).process)},Q.wbg.__wbg_versions_c2ab80650590b6a2=function(A){return c(M(A).versions)},Q.wbg.__wbg_node_523d7bd03ef69fba=function(A){return c(M(A).node)},Q.wbg.__wbindgen_is_string=function(A){return"string"==typeof M(A)},Q.wbg.__wbg_msCrypto_abcb1295e768d1f2=function(A){return c(M(A).msCrypto)},Q.wbg.__wbg_require_2784e593a4674877=function(){return f(function(){return c(A.require)},arguments)},Q.wbg.__wbg_newwithlength_13b5319ab422dcf6=function(A){return c(new Uint8Array(A>>>0))},Q.wbg.__wbg_get_4a9aa5157afeb382=function(A,Q){return c(M(A)[Q>>>0])},Q.wbg.__wbg_next_1989a20442400aaa=function(){return f(function(A){return c(M(A).next())},arguments)},Q.wbg.__wbg_done_bc26bf4ada718266=function(A){return M(A).done},Q.wbg.__wbg_value_0570714ff7d75f35=function(A){return c(M(A).value)},Q.wbg.__wbg_iterator_7ee1a391d310f8e4=function(){return c(Symbol.iterator)},Q.wbg.__wbg_get_2aff440840bb6202=function(){return f(function(A,Q){return c(Reflect.get(M(A),M(Q)))},arguments)},Q.wbg.__wbg_next_15da6a3df9290720=function(A){return c(M(A).next)},Q.wbg.__wbindgen_is_function=function(A){return"function"==typeof M(A)},Q.wbg.__wbg_call_669127b9d730c650=function(){return f(function(A,Q){return c(M(A).call(M(Q)))},arguments)},Q.wbg.__wbindgen_object_clone_ref=function(A){return c(M(A))},Q.wbg.__wbg_self_3fad056edded10bd=function(){return f(function(){return c(self.self)},arguments)},Q.wbg.__wbg_window_a4f46c98a61d4089=function(){return f(function(){return c(window.window)},arguments)},Q.wbg.__wbg_globalThis_17eff828815f7d84=function(){return f(function(){return c(globalThis.globalThis)},arguments)},Q.wbg.__wbg_global_46f939f6541643c5=function(){return f(function(){return c(g.g.global)},arguments)},Q.wbg.__wbindgen_is_undefined=function(A){return void 0===M(A)},Q.wbg.__wbg_newnoargs_ccdcae30fd002262=function(A,Q){return c(new Function(a(A,Q)))},Q.wbg.__wbg_isArray_38525be7442aa21e=function(A){return Array.isArray(M(A))},Q.wbg.__wbg_call_53fc3abd42e24ec8=function(){return f(function(A,Q,g){return c(M(A).call(M(Q),M(g)))},arguments)},Q.wbg.__wbg_isSafeInteger_c38b0a16d0c7cef7=function(A){return Number.isSafeInteger(M(A))},Q.wbg.__wbg_new_feb65b865d980ae2=function(A,Q){try{var g={a:A,b:Q},B=new Promise(function(A,Q){var B=g.a;g.a=0;try{return function(A,Q,g,B){t.__wbindgen_export_7(A,Q,c(g),c(B))}(B,g.b,A,Q)}finally{g.a=B}});return c(B)}finally{g.a=g.b=0}},Q.wbg.__wbindgen_memory=function(){return c(t.memory)},Q.wbg.__wbg_buffer_344d9b41efe96da7=function(A){return c(M(A).buffer)},Q.wbg.__wbg_new_d8a000788389a31e=function(A){return c(new Uint8Array(M(A)))},Q.wbg.__wbg_set_dcfd613a3420f908=function(A,Q,g){M(A).set(M(Q),g>>>0)},Q.wbg.__wbg_length_a5587d6cd79ab197=function(A){return M(A).length},Q.wbg.__wbindgen_string_get=function(A,Q){var g=M(Q),B="string"==typeof g?g:void 0,C=y(B)?0:N(B,t.__wbindgen_export_0,t.__wbindgen_export_1),I=h;J()[A/4+1]=I,J()[A/4+0]=C},Q.wbg.__wbg_stringify_4039297315a25b00=function(){return f(function(A){return c(JSON.stringify(M(A)))},arguments)},Q.wbg.__wbg_set_40f7786a25a9cc7e=function(){return f(function(A,Q,g){return Reflect.set(M(A),M(Q),M(g))},arguments)},Q.wbg.__wbg_has_cdf8b85f6e903c80=function(){return f(function(A,Q){return Reflect.has(M(A),M(Q))},arguments)},Q.wbg.__wbg_fetch_701fcd2bde06379a=function(A,Q){return c(M(A).fetch(M(Q)))},Q.wbg.__wbg_fetch_b5d6bebed1e6c2d2=function(A){return c(fetch(M(A)))},Q.wbg.__wbg_newwithbyteoffsetandlength_2dc04d99088b15e3=function(A,Q,g){return c(new Uint8Array(M(A),Q>>>0,g>>>0))},Q.wbg.__wbg_new_e4960143e41697a4=function(){return f(function(){return c(new AbortController)},arguments)},Q.wbg.__wbg_signal_1ed842bebd6ae322=function(A){return c(M(A).signal)},Q.wbg.__wbg_abort_8355f201f30300bb=function(A){M(A).abort()},Q.wbg.__wbindgen_error_new=function(A,Q){return c(new Error(a(A,Q)))},Q.wbg.__wbindgen_jsval_loose_eq=function(A,Q){return M(A)==M(Q)},Q.wbg.__wbindgen_boolean_get=function(A){var Q=M(A);return"boolean"==typeof Q?Q?1:0:2},Q.wbg.__wbindgen_number_get=function(A,Q){var g=M(Q),B="number"==typeof g?g:void 0;(null!==Y&&0!==Y.byteLength||(Y=new Float64Array(t.memory.buffer)),Y)[A/8+1]=y(B)?0:B,J()[A/4+0]=!y(B)},Q.wbg.__wbg_instanceof_Uint8Array_19e6f142a5e7e1e1=function(A){var Q;try{Q=M(A)instanceof Uint8Array}catch(A){Q=!1}return Q},Q.wbg.__wbg_instanceof_ArrayBuffer_c7cc317e5c29cc0d=function(A){var Q;try{Q=M(A)instanceof ArrayBuffer}catch(A){Q=!1}return Q},Q.wbg.__wbg_entries_6d727b73ee02b7ce=function(A){return c(Object.entries(M(A)))},Q.wbg.__wbg_String_917f38a1211cf44b=function(A,Q){var g=N(String(M(Q)),t.__wbindgen_export_0,t.__wbindgen_export_1),B=h;J()[A/4+1]=B,J()[A/4+0]=g},Q.wbg.__wbg_warn_ade8d3b7ecee11ff=function(A,Q){console.warn(M(A),M(Q))},Q.wbg.__wbg_readyState_13e55da5ad6d64e2=function(A){return M(A).readyState},Q.wbg.__wbg_warn_4affe1093892a4ef=function(A){console.warn(M(A))},Q.wbg.__wbg_close_f4135085ec3fc8f0=function(){return f(function(A){M(A).close()},arguments)},Q.wbg.__wbg_new_b9b318679315404f=function(){return f(function(A,Q){return c(new WebSocket(a(A,Q)))},arguments)},Q.wbg.__wbg_setbinaryType_dcb62e0f2b346301=function(A,Q){M(A).binaryType=k(Q)},Q.wbg.__wbg_log_7811587c4c6d2844=function(A){console.log(M(A))},Q.wbg.__wbg_error_f0a6627f4b23c19d=function(A){console.error(M(A))},Q.wbg.__wbg_info_3ca7870690403fee=function(A){console.info(M(A))},Q.wbg.__wbg_document_183cf1eecfdbffee=function(A){var Q=M(A).document;return y(Q)?0:c(Q)},Q.wbg.__wbg_visibilityState_9721703a5ef75faf=function(A){return c(M(A).visibilityState)},Q.wbg.__wbg_getwithrefkey_3b3c46ba20582127=function(A,Q){return c(M(A)[M(Q)])},Q.wbg.__wbg_length_cace2e0b3ddc0502=function(A){return M(A).length},Q.wbg.__wbg_addEventListener_0f2891b0794e07fa=function(){return f(function(A,Q,g,B){M(A).addEventListener(a(Q,g),M(B))},arguments)},Q.wbg.__wbg_removeEventListener_104d11302bb212d1=function(){return f(function(A,Q,g,B){M(A).removeEventListener(a(Q,g),M(B))},arguments)},Q.wbg.__wbindgen_is_bigint=function(A){return"bigint"==typeof M(A)},Q.wbg.__wbindgen_bigint_from_i64=function(A){return c(A)},Q.wbg.__wbindgen_in=function(A,Q){return M(A)in M(Q)},Q.wbg.__wbindgen_bigint_from_u64=function(A){return c(BigInt.asUintN(64,A))},Q.wbg.__wbindgen_jsval_eq=function(A,Q){return M(A)===M(Q)},Q.wbg.__wbg_localStorage_e11f72e996a4f5d9=function(){return f(function(A){var Q=M(A).localStorage;return y(Q)?0:c(Q)},arguments)},Q.wbg.__wbg_getItem_c81cd3ae30cd579a=function(){return f(function(A,Q,g,B){var C=M(Q).getItem(a(g,B)),I=y(C)?0:N(C,t.__wbindgen_export_0,t.__wbindgen_export_1),E=h;J()[A/4+1]=E,J()[A/4+0]=I},arguments)},Q.wbg.__wbg_navigator_7078da62d92ff5ad=function(A){return c(M(A).navigator)},Q.wbg.__wbg_mediaDevices_e00b1f64d2b9939f=function(){return f(function(A){return c(M(A).mediaDevices)},arguments)},Q.wbg.__wbg_enumerateDevices_619d52f5eef34c2f=function(){return f(function(A){return c(M(A).enumerateDevices())},arguments)},Q.wbg.__wbg_setItem_fe04f524052a3839=function(){return f(function(A,Q,g,B,C){M(A).setItem(a(Q,g),a(B,C))},arguments)},Q.wbg.__wbindgen_cb_drop=function(A){var Q=k(A).original;if(1==Q.cnt--)return Q.a=0,!0;return!1},Q.wbg.__wbg_deviceId_58f7da2228a26c02=function(A,Q){var g=N(M(Q).deviceId,t.__wbindgen_export_0,t.__wbindgen_export_1),B=h;J()[A/4+1]=B,J()[A/4+0]=g},Q.wbg.__wbg_instanceof_Response_944e2745b5db71f5=function(A){var Q;try{Q=M(A)instanceof Response}catch(A){Q=!1}return Q},Q.wbg.__wbg_randomFillSync_a0d98aa11c81fe89=function(){return f(function(A,Q){M(A).randomFillSync(k(Q))},arguments)},Q.wbg.__wbg_subarray_6ca5cfa7fbb9abbe=function(A,Q,g){return c(M(A).subarray(Q>>>0,g>>>0))},Q.wbg.__wbg_getRandomValues_504510b5564925af=function(){return f(function(A,Q){M(A).getRandomValues(M(Q))},arguments)},Q.wbg.__wbindgen_bigint_get_as_i64=function(A,Q){var g=M(Q),B="bigint"==typeof g?g:void 0;(null!==d&&0!==d.byteLength||(d=new BigInt64Array(t.memory.buffer)),d)[A/8+1]=y(B)?BigInt(0):B,J()[A/4+0]=!y(B)},Q.wbg.__wbindgen_debug_string=function(A,Q){var g=N(u(M(Q)),t.__wbindgen_export_0,t.__wbindgen_export_1),B=h;J()[A/4+1]=B,J()[A/4+0]=g},Q.wbg.__wbindgen_throw=function(A,Q){throw new Error(a(A,Q))},Q.wbg.__wbg_then_89e1c559530b85cf=function(A,Q){return c(M(A).then(M(Q)))},Q.wbg.__wbg_queueMicrotask_e5949c35d772a669=function(A){queueMicrotask(M(A))},Q.wbg.__wbg_then_1bbc9edafd859b06=function(A,Q,g){return c(M(A).then(M(Q),M(g)))},Q.wbg.__wbg_queueMicrotask_2be8b97a81fe4d00=function(A){return c(M(A).queueMicrotask)},Q.wbg.__wbg_resolve_a3252b2860f0a09e=function(A){return c(Promise.resolve(M(A)))},Q.wbg.__wbg_url_1f609e63ff1a7983=function(A,Q){var g=N(M(Q).url,t.__wbindgen_export_0,t.__wbindgen_export_1),B=h;J()[A/4+1]=B,J()[A/4+0]=g},Q.wbg.__wbg_send_2860805104507701=function(){return f(function(A,Q,g){var B,C;M(A).send((B=Q,C=g,B>>>=0,n().subarray(B/1,B/1+C)))},arguments)},Q.wbg.__wbg_instanceof_Window_cde2416cf5126a72=function(A){var Q;try{Q=M(A)instanceof Window}catch(A){Q=!1}return Q},Q.wbg.__wbg_new_19676474aa414d62=function(){return f(function(){return c(new Headers)},arguments)},Q.wbg.__wbg_append_feec4143bbf21904=function(){return f(function(A,Q,g,B,C){M(A).append(a(Q,g),a(B,C))},arguments)},Q.wbg.__wbg_newwithstrandinit_29038da14d09e330=function(){return f(function(A,Q,g){return c(new Request(a(A,Q),M(g)))},arguments)},Q.wbg.__wbindgen_closure_wrapper1532=function(A,Q,g){var B=function(A,Q,g,B){var C={a:A,b:Q,cnt:1,dtor:g},I=function(){C.cnt++;try{for(var A=arguments.length,Q=new Array(A),g=0;g<A;g++)Q[g]=arguments[g];return B.apply(void 0,[C.a,C.b].concat(Q))}finally{0===--C.cnt&&(t.__wbindgen_export_2.get(C.dtor)(C.a,C.b),C.a=0)}};return I.original=C,I}(A,Q,76,L);return c(B)},Q.wbg.__wbindgen_closure_wrapper1602=function(A,Q,g){return c(m(A,Q,76,H))},Q.wbg.__wbindgen_closure_wrapper1834=function(A,Q,g){return c(m(A,Q,76,U))},Q}function x(A,Q){}function b(A,Q){return t=A.exports,v.__wbindgen_wasm_module=Q,d=null,Y=null,F=null,w=null,t.__wbindgen_start(),t}function v(A){return q.apply(this,arguments)}function q(){return q=E(B().m(function A(Q){var C,I,E,e,i;return B().w(function(A){for(;;)switch(A.n){case 0:if(void 0===t){A.n=1;break}return A.a(2,t);case 1:return void 0===Q&&(Q=new URL(g(267),g.b)),C=S(),("string"==typeof Q||"function"==typeof Request&&Q instanceof Request||"function"==typeof URL&&Q instanceof URL)&&(Q=fetch(Q)),x(),i=R,A.n=2,Q;case 2:return A.n=3,i(A.v,C);case 3:return I=A.v,E=I.instance,e=I.module,A.a(2,b(E,e))}},A)})),q.apply(this,arguments)}const O=v},148(A,Q,g){g.d(Q,{A:()=>e});var B=g(758),C=g.n(B),I=g(935),E=g.n(I)()(C());E.push([A.id,'.wrs_modal_overlay {\n position: fixed;\n font-family: arial, sans-serif;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0.8);\n z-index: 999998;\n opacity: 0.65;\n pointer-events: auto;\n}\n\n.wrs_modal_overlay.wrs_modal_ios {\n visibility: hidden;\n display: none;\n}\n\n.wrs_modal_overlay.wrs_modal_android {\n visibility: hidden;\n display: none;\n}\n\n.wrs_modal_overlay.wrs_modal_ios.moodle {\n position: fixed;\n}\n\n.wrs_modal_overlay.wrs_modal_desktop.wrs_stack {\n background: rgba(0, 0, 0, 0);\n display: none;\n}\n\n.wrs_modal_overlay.wrs_modal_desktop.wrs_maximized {\n background: rgba(0, 0, 0, 0.8);\n}\n\n.wrs_modal_overlay.wrs_modal_desktop.wrs_minimized {\n background: rgba(0, 0, 0, 0);\n display: none;\n}\n\n.wrs_modal_overlay.wrs_modal_desktop.wrs_closed {\n background: rgba(0, 0, 0, 0);\n display: none;\n}\n\n.wrs_modal_title {\n color: #fff;\n padding: 5px 0 5px 10px;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n text-align: left;\n}\n\n.wrs_modal_close_button {\n float: right;\n cursor: pointer;\n color: #fff;\n padding: 5px 10px 5px 0;\n margin: 10px 7px 0 0;\n background-repeat: no-repeat;\n}\n\n.wrs_modal_minimize_button {\n float: right;\n cursor: pointer;\n color: #fff;\n padding: 5px 10px 5px 0;\n top: inherit;\n margin: 10px 7px 0 0;\n}\n\n.wrs_modal_stack_button {\n float: right;\n cursor: pointer;\n color: #fff;\n margin: 10px 7px 0 0;\n padding: 5px 10px 5px 0;\n top: inherit;\n}\n\n.wrs_modal_stack_button.wrs_stack {\n visibility: hidden;\n margin: 0;\n padding: 0;\n}\n\n.wrs_modal_stack_button.wrs_minimized {\n visibility: hidden;\n margin: 0;\n padding: 0;\n}\n\n.wrs_modal_maximize_button {\n float: right;\n cursor: pointer;\n color: #fff;\n margin: 10px 7px 0 0;\n padding: 5px 10px 5px 0;\n top: inherit;\n}\n\n.wrs_modal_maximize_button.wrs_maximized {\n visibility: hidden;\n margin: 0;\n padding: 0;\n}\n\n.wrs_modal_title_bar {\n display: block;\n background-color: #778e9a;\n}\n\n.wrs_modal_dialogContainer {\n border: none;\n background: #fafafa;\n z-index: 999999;\n}\n\n.wrs_modal_dialogContainer.wrs_modal_desktop {\n font-size: 14px;\n display: flex;\n flex-flow: column;\n}\n\n.wrs_modal_dialogContainer.wrs_modal_desktop.wrs_maximized {\n position: fixed;\n}\n\n.wrs_modal_dialogContainer.wrs_modal_desktop.wrs_minimized {\n position: fixed;\n top: inherit;\n margin: 0;\n margin-right: 10px;\n}\n\n.wrs_modal_dialogContainer.wrs_closed {\n visibility: hidden;\n display: none;\n opacity: 0;\n}\n\n/* Class that exists but hasn\'t got css properties defined\n.wrs_modal_dialogContainer.wrs_modal_desktop.wrs_minimized.wrs_drag {} */\n\n.wrs_modal_dialogContainer.wrs_modal_desktop.wrs_stack {\n position: fixed;\n bottom: 0;\n right: 0;\n box-shadow: rgba(0, 0, 0, 0.5) 0 2px 8px;\n}\n\n.wrs_modal_dialogContainer.wrs_drag {\n box-shadow: rgba(0, 0, 0, 0.5) 0 2px 8px;\n}\n\n.wrs_modal_dialogContainer.wrs_modal_desktop.wrs_drag {\n box-shadow: rgba(0, 0, 0, 0.5) 0 2px 8px;\n}\n\n.wrs_modal_dialogContainer.wrs_modal_ios,\n.wrs_modal_dialogContainer.wrs_modal_android {\n margin: 0px;\n position: fixed;\n height: auto;\n overflow: hidden;\n top: calc(env(safe-area-inset-top));\n right: calc(env(safe-area-inset-right));\n left: calc(env(safe-area-inset-left));\n bottom: 0px;\n transform: none;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n}\n\n/* Class that exists but hasn\'t got css properties defined\n.wrs_content_container.wrs_maximized {} */\n\n.wrs_content_container.wrs_minimized {\n display: none;\n}\n\n/* .wrs_editor {\n flex-grow: 1;\n} */\n\n.wrs_content_container.wrs_modal_desktop > div:first-child {\n flex-grow: 1;\n}\n\n.wrs_modal_wrapper.wrs_modal_android,\n.wrs_modal_wrapper.wrs_modal_ios {\n margin: 0.5rem !important;\n flex-grow: 0.98;\n display: flex;\n}\n\n.wrs_content_container.wrs_modal_ios,\n.wrs_content_container.wrs_modal_android {\n flex-grow: 0.98;\n display: flex;\n}\n\n.wrs_content_container.wrs_modal_desktop {\n width: 100%;\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n height: auto !important;\n}\n\n.wrs_modal_dialogContainer.wrs_modal_badStock {\n width: 100%;\n height: 280px;\n margin: 0 auto;\n border-width: 0;\n}\n\n.wrs_modal_wrapper.wrs_modal_badStock {\n width: 100%;\n height: 280px;\n margin: 0 auto;\n border-width: 0;\n}\n\n.wrs_noselect {\n -moz-user-select: none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.wrs_bottom_right_resizer {\n width: 10px;\n height: 10px;\n color: #778e9a;\n position: absolute;\n right: 4px;\n bottom: 8px;\n cursor: se-resize;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.wrs_bottom_left_resizer {\n width: 15px;\n height: 15px;\n color: #778e9a;\n position: absolute;\n left: 0;\n top: 0;\n cursor: se-resize;\n}\n\n.wrs_modal_controls {\n height: 42px;\n line-height: normal;\n}\n\n.wrs_modal_links {\n margin: 10px auto;\n margin-bottom: 0;\n font-family: arial, sans-serif;\n padding: 6px;\n display: inline;\n float: right;\n text-align: right;\n}\n\n.wrs_modal_links > a {\n text-decoration: none;\n color: #778e9a;\n font-size: 16px;\n}\n\n.wrs_modal_button_cancel,\n.wrs_modal_button_cancel:hover,\n.wrs_modal_button_cancel:visited,\n.wrs_modal_button_cancel:active,\n.wrs_modal_button_cancel:focus {\n min-width: 80px;\n font-size: 14px;\n border-radius: 3px;\n border: 1px solid #778e9a;\n padding: 6px 8px;\n margin: 10px auto;\n margin-left: 5px;\n margin-bottom: 0;\n cursor: pointer;\n font-family: arial, sans-serif;\n background-color: #ddd;\n height: 32px;\n}\n\n.wrs_modal_button_accept,\n.wrs_modal_button_accept:hover,\n.wrs_modal_button_accept:visited,\n.wrs_modal_button_accept:active,\n.wrs_modal_button_accept:focus {\n min-width: 80px;\n font-size: 14px;\n border-radius: 3px;\n border: 1px solid #778e9a;\n padding: 6px 8px;\n margin: 10px auto;\n margin-right: 5px;\n margin-bottom: 0;\n color: #fff;\n background: #778e9a;\n cursor: pointer;\n font-family: arial, sans-serif;\n height: 32px;\n}\n\n.wrs_editor_vertical_bar {\n height: 20px;\n float: right;\n background: none;\n width: 20px;\n cursor: pointer;\n}\n\n.wrs_modal_buttons_container {\n display: inline;\n float: left;\n}\n\n.wrs_modal_buttons_container.wrs_modalDesktop {\n padding-left: 0;\n}\n\n.wrs_modal_buttons_container > button {\n line-height: normal;\n background-image: none;\n}\n\n.wrs_modal_wrapper {\n margin: 6px;\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n}\n\n.wrs_modal_wrapper.wrs_modal_desktop.wrs_minimized {\n display: none;\n}\n\n.wrs_popupmessage_overlay_envoltu