!function(t){functione(n){if(r[n])returnr[n].exports;vari=r[n]={exports:{},id:n,loaded:!1};returnt[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}varr={};returne.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){functionn(){vart=this;i.call(t),t.runtime=news,t.blockListener=function(e){if("object"==typeofe&&"string"==typeofe.blockId)switch(e.type){case"create":t.runtime.createBlock(a(e),!1);break;case"change":t.runtime.changeBlock({id:e.blockId,element:e.element,name:e.name,value:e.newValue});break;case"move":t.runtime.moveBlock({id:e.blockId,oldParent:e.oldParentId,oldField:e.oldInputName,newParent:e.newParentId,newField:e.newInputName});break;case"delete":t.runtime.deleteBlock({id:e.blockId})}},t.flyoutBlockListener=function(e){switch(e.type){case"create":t.runtime.createBlock(a(e),!0);break;case"change":t.runtime.changeBlock({id:e.blockId,element:e.element,name:e.name,value:e.newValue});break;case"delete":t.runtime.deleteBlock({id:e.blockId})}}}vari=r(1),o=r(2),s=r(6),a=r(12);o.inherits(n,i),t.exports=n,"undefined"!=typeofwindow&&(window.VirtualMachine=t.exports)},function(t,e){functionr(){this._events=this._events||{},this._maxListeners=this._maxListeners||void0}functionn(t){return"function"==typeoft}functioni(t){return"number"==typeoft}functiono(t){return"object"==typeoft&&null!==t}functions(t){returnvoid0===t}t.exports=r,r.EventEmitter=r,r.prototype._events=void0,r.prototype._maxListeners=void0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(t){if(!i(t)||0>t||isNaN(t))throwTypeError("n must be a positive number");returnthis._maxListeners=t,this},r.prototype.emit=function(t){vare,r,i,a,c,u;if(this._events||(this._events={}),"error"===t&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if(e=arguments[1],einstanceofError)throwe;throwTypeError('Uncaught, unspecified "error" event.')}if(r=this._events[t],s(r))return!1;if(n(r))switch(arguments.length){case1:r.call(this);break;case2:r.call(this,arguments[1]);break;case3:r.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),r.apply(this,a)}elseif(o(r))for(a=Array.prototype.slice.call(arguments,1),u=r.slice(),i=u.length,c=0;i>c;c++)u[c].apply(this,a);return!0},r.prototype.addListener=function(t,e){vari;if(!n(e))throwTypeError("listener must be a function");returnthis._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,n(e.listener)?e.listener:e),this._events[t]?o(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,o(this._events[t])&&!this._events[t].warned&&(i=s(this._maxListeners)?r.defaultMaxListeners:this._maxListeners,i&&i>0&&this._events[t].length>i&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeofconsole.trace&&console.trace())),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(t,e){functionr(){this.removeListener(t,r),i||(i=!0,e.apply(this,arguments))}if(!n(e))throwTypeError("listener must be a function");vari=!1;returnr.listener=e,this.on(t,r),this},r.prototype.removeListener=function(t,e){varr,i,s,a;if(!n(e))throwTypeError("listener must be a function");if(!this._events||!this._events[t])returnthis;if(r=this._events[t],s=r.length,i=-1,r===e||n(r.listener)&&r.listener===e)deletethis._events[t],this._events.removeListener&&this.emit("removeListener",t,e);elseif(o(r)){for(a=s;a-->0;)if(r[a]===e||r[a].listener&&r[a].listener===e){i=a;break}if(0>i)returnthis;1===r.length?(r.length=0,deletethis._events[t]):r.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}returnthis},r.prototype.removeAllListeners=function(t){vare,r;if(!this._events)returnthis;if(!this._events.removeListener)return0===arguments.length?this._events={}:this._events[t]&&deletethis._events[t],this;if(0===arguments.length){for(einthis._events)"removeListener"!==e&&this.removeAllListeners(e);retu
this._index--},a.prototype._stateAfterStyle1=o("Y",st,p),a.prototype._stateAfterStyle2=o("L",at,p),a.prototype._stateAfterStyle3=o("E",ct,p),a.prototype._stateAfterStyle4=function(t){">"===t||n(t)?(this._special=gt,this._state=b,this._sectionStart=this._index-5,this._index--):this._state=p},a.prototype._stateBeforeEntity=o("#",lt,ht),a.prototype._stateBeforeNumericEntity=o("X",pt,ft),a.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){vart=this._buffer.substring(this._sectionStart+1,this._index),e=this._xmlMode?h:u;e.hasOwnProperty(t)&&(this._emitPartial(e[t]),this._sectionStart=this._index+1)}},a.prototype._parseLegacyEntity=function(){vart=this._sectionStart+1,e=this._index-t;for(e>6&&(e=6);e>=2;){varr=this._buffer.substr(t,e);if(l.hasOwnProperty(r))returnthis._emitPartial(l[r]),void(this._sectionStart+=e+1);e--}},a.prototype._stateInNamedEntity=function(t){";"===t?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):("a">t||t>"z")&&("A">t||t>"Z")&&("0">t||t>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==p?"="!==t&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},a.prototype._decodeNumericEntity=function(t,e){varr=this._sectionStart+t;if(r!==this._index){varn=this._buffer.substring(r,this._index),i=parseInt(n,e);this._emitPartial(c(i)),this._sectionStart=this._index}elsethis._sectionStart--;this._state=this._baseState},a.prototype._stateInNumericEntity=function(t){";"===t?(this._decodeNumericEntity(2,10),this._sectionStart++):("0">t||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},a.prototype._stateInHexEntity=function(t){";"===t?(this._decodeNumericEntity(3,16),this._sectionStart++):("a">t||t>"f")&&("A">t||t>"F")&&("0">t||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},a.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._index=0,this._bufferOffset+=this._index):this._running&&(this._state===p?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._index=0,this._bufferOffset+=this._index):this._sectionStart===this._index?(this._buffer="",this._index=0,this._bufferOffset+=this._index):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},a.prototype.write=function(t){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=t,this._parse()},a.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){vart=this._buffer.charAt(this._index);this._state===p?this._stateText(t):this._state===d?this._stateBeforeTagName(t):this._state===g?this._stateInTagName(t):this._state===m?this._stateBeforeCloseingTagName(t):this._state===b?this._stateInCloseingTagName(t):this._state===y?this._stateAfterCloseingTagName(t):this._state===_?this._stateInSelfClosingTag(t):this._state===v?this._stateBeforeAttributeName(t):this._state===w?this._stateInAttributeName(t):this._state===x?this._stateAfterAttributeName(t):this._state===S?this._stateBeforeAttributeValue(t):this._state===E?this._stateInAttributeValueDoubleQuotes(t):this._state===k?this._stateInAttributeValueSingleQuotes(t):this._state===T?this._stateInAttributeValueNoQuotes(t):this._state===A?this._stateBeforeDeclaration(t):this._state===L?this._stateInDeclaration(t):this._state===O?this._stateInProcessingInstruction(t):this._state===C?this._stateBeforeComment(t):this._state===I?this._stateInComment(t):this._state===B?this._stateAfterComment1(t):this._state===R?this._stateAfterComment2(t):this._state===D?this._stateBeforeCdata1(t):this._state===N?this._stateBeforeCdata2(t):this._state===q?this._stateBeforeCdata3(t):this._state===P?this._stateBeforeCdata4(t):this._state===j?this._stateBeforeCdata5(t):this._state===M?this._stateBeforeCdata6(t):this._state===U?this._state
"use strict";functioni(){functiont(){}try{vare=newUint8Array(1);returne.foo=function(){return42},e.constructor=t,42===e.foo()&&e.constructor===t&&"function"==typeofe.subarray&&0===e.subarray(1,1).byteLength}catch(r){return!1}}functiono(){returnt.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functiont(e){returnthisinstanceoft?(t.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void0),"number"==typeofe?s(this,e):"string"==typeofe?a(this,e,arguments.length>1?arguments[1]:"utf8"):c(this,e)):arguments.length>1?newt(e,arguments[1]):newt(e)}functions(e,r){if(e=g(e,0>r?0:0|_(r)),!t.TYPED_ARRAY_SUPPORT)for(varn=0;r>n;n++)e[n]=0;returne}functiona(t,e,r){"string"==typeofr&&""!==r||(r="utf8");varn=0|b(e,r);returnt=g(t,n),t.write(e,r),t}functionc(e,r){if(t.isBuffer(r))returnu(e,r);if(X(r))returnl(e,r);if(null==r)thrownewTypeError("must start with number, buffer, array or string");if("undefined"!=typeofArrayBuffer){if(r.bufferinstanceofArrayBuffer)returnh(e,r);if(rinstanceofArrayBuffer)returnf(e,r)}returnr.length?p(e,r):d(e,r)}functionu(t,e){varr=0|_(e.length);returnt=g(t,r),e.copy(t,0,0,r),t}functionl(t,e){varr=0|_(e.length);t=g(t,r);for(varn=0;r>n;n+=1)t[n]=255&e[n];returnt}functionh(t,e){varr=0|_(e.length);t=g(t,r);for(varn=0;r>n;n+=1)t[n]=255&e[n];returnt}functionf(e,r){returnt.TYPED_ARRAY_SUPPORT?(r.byteLength,e=t._augment(newUint8Array(r))):e=h(e,newUint8Array(r)),e}functionp(t,e){varr=0|_(e.length);t=g(t,r);for(varn=0;r>n;n+=1)t[n]=255&e[n];returnt}functiond(t,e){varr,n=0;"Buffer"===e.type&&X(e.data)&&(r=e.data,n=0|_(r.length)),t=g(t,n);for(vari=0;n>i;i+=1)t[i]=255&r[i];returnt}functiong(e,r){t.TYPED_ARRAY_SUPPORT?(e=t._augment(newUint8Array(r)),e.__proto__=t.prototype):(e.length=r,e._isBuffer=!0);varn=0!==r&&r<=t.poolSize>>>1;returnn&&(e.parent=Q),e}function_(t){if(t>=o())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return0|t}functionm(e,r){if(!(thisinstanceofm))returnnewm(e,r);varn=newt(e,r);returndeleten.parent,n}functionb(t,e){"string"!=typeoft&&(t=""+t);varr=t.length;if(0===r)return0;for(varn=!1;;)switch(e){case"ascii":case"binary":case"raw":case"raws":returnr;case"utf8":case"utf-8":returnH(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*r;case"hex":returnr>>>1;case"base64":returnY(t).length;default:if(n)returnH(t).length;e=(""+e).toLowerCase(),n=!0}}functiony(t,e,r){varn=!1;if(e=0|e,r=void0===r||r===1/0?this.length:0|r,t||(t="utf8"),0>e&&(e=0),r>this.length&&(r=this.length),e>=r)return"";for(;;)switch(t){case"hex":returnI(this,e,r);case"utf8":case"utf-8":returnA(this,e,r);case"ascii":returnO(this,e,r);case"binary":returnC(this,e,r);case"base64":returnT(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnB(this,e,r);default:if(n)thrownewTypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}functionv(t,e,r,n){r=Number(r)||0;vari=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;varo=e.length;if(o%2!==0)thrownewError("Invalid hex string");n>o/2&&(n=o/2);for(vars=0;n>s;s++){vara=parseInt(e.substr(2*s,2),16);if(isNaN(a))thrownewError("Invalid hex string");t[r+s]=a}returns}functionw(t,e,r,n){returnW(H(e,t.length-r),t,r,n)}functionx(t,e,r,n){returnW(V(e),t,r,n)}functionS(t,e,r,n){returnx(t,e,r,n)}functionE(t,e,r,n){returnW(Y(e),t,r,n)}functionk(t,e,r,n){returnW(G(e,t.length-r),t,r,n)}functionT(t,e,r){return0===e&&r===t.length?K.fromByteArray(t):K.fromByteArray(t.slice(e,r))}functionA(t,e,r){r=Math.min(t.length,r);for(varn=[],i=e;r>i;){varo=t[i],s=null,a=o>239?4:o>223?3:o>191?2:1;if(r>=i+a){varc,u,l,h;switch(a){case1:128>o&&(s=o);break;case2:c=t[i+1],128===(192&c)&&(h=(31&o)<<6|63&c,h>127&&(s=h));break;case3:c=t[i+1],u=t[i+2],128===(192&c)&&128===(192&u)&&(h=(15&o)<<12|(63&c)<<6|63&u,h>2047&&(55296>h||h>57343)&&(s=h));break;case4:c=t[i+1],u=t[i+2],l=t[i+3],128===(192&c)&&128===(192&u)&&128===(192&l)&&(h=(15&o)<<18|(63&c)<<12|(63&u)<<6|63&l,h>65535&&1114112>h&&(s=h))}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n