!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(10);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._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===b?this._stateBeforeCloseingTagName(t):this._state===m?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===T?this._stateInAttributeValueSingleQuotes(t):this._state===k?this._stateInAttributeValueNoQuotes(t):this._state===A?this._stateBeforeDeclaration(t):this._state===L?this._stateInDeclaration(t):this._state===I?this._stateInProcessingInstruction(t):this._state===O?this._stateBeforeComment(t):this._state===B?this._stateInComment(t):this._state===D?this._stateAfterComment1(t):this._state===C?this._stateAfterComment2(t):this._state===R?this._stateBeforeCdata1(t):this._state===q?this._stateBeforeCdata2(t):this._state===N?this._stateBeforeCdata3(t):this._state===j?this._stateBeforeCdata4(t):this._state===P?this._stateBeforeCdata5(t):this._state===M?this._stateBeforeCdata6(t):this._state===U?this._stateInCdata(t):this._state===z?this._stateAfterCdata1(t):this._state===F?this._stateAfterCdata2(t):this._state===H?this._stateBeforeSpecial(t):this._state===V?this._stateBeforeSpecialEnd(t):this._state===Y?this._stateBeforeScript1(t):this._state===G?this._stateBeforeScript2(t):this._state===W?this._stateBeforeScript3(t):this._state===J?this._stateBeforeScript4(t):this._state===X?this._stateBeforeScript5(t):this._state===Q?this._stateAfterScript1(t):this._state===Z?this._stateAfterScript2(t):this._state===K?this._stateAfterScript3(t):this._state===$?this._stateAfterScript4(t):this._state===tt?this._stateAfterScript5(t):this._state===et?this._stateBeforeStyle1(t):this._state===rt?this._stateBeforeStyle2(t):this._state===nt?this._stateBeforeStyle3(t):this._state===it?this._stateBeforeStyle4(t):this._state===ot?this._stateAfterStyle1(t):this._state===st?this._stateAfterStyle2(t):this._state===at?this._stateAfterStyle3(t):this._state===ct?this._stateAfterStyle4(t):this._state===ut?this._stateBeforeEntity(t):this._state===lt?this._stateBeforeNumericEntity(t):this._state===ht?this._stateInNamedEntity(t):this._state===ft?this._stateInNumericEntity(t):this._state===pt?this._stateInHexEntity(t):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},a.prototype.pause=function(){this._running=!1},a.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},a.prototype.end=function(t){this._ended&&this._cbs.onerror(Error(".end() after done!")),t&&this.write(t),this._ended=!0,this._running&&this._finish()},a.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},a.prototype._handleTrailingData=function(){vart=this._buffer.substr(this._sectionStart);this._state===U||this._state===z||this._state===F?this._cbs.oncdata(t):this._state===B||this._state===D||this._state===C?this._cbs.oncomment(t):this._state!==ht||this._xmlMode?this._state!==ft||this._xmlMode?this._state!==pt||this._xmlMode?this._state!==g&&this._state!==v&&this._state!==S&&this._state!==x&&this._state!==w&&this._state!==T&&this._state!==E&&this._state!==k&&this._state!==m&&this._cbs.ontext(t):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},a.prototype.reset=function(){a.call(this,{xmlMode:this._xmlMode,decode
this._options.withDomLvl1&&(t.__proto__="tag"===t.type?a:s),n?(t.prev=n,n.next=t):t.prev=null,r.push(t),t.parent=e||null},n.prototype.onopentag=function(t,e){varr={type:"script"===t?i.Script:"style"===t?i.Style:i.Tag,name:t,attribs:e,children:[]};this._addDomElement(r),this._tagStack.push(r)},n.prototype.ontext=function(t){vare,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;!this._tagStack.length&&this.dom.length&&(e=this.dom[this.dom.length-1]).type===i.Text?r?e.data=(e.data+t).replace(o," "):e.data+=t:this._tagStack.length&&(e=this._tagStack[this._tagStack.length-1])&&(e=e.children[e.children.length-1])&&e.type===i.Text?r?e.data=(e.data+t).replace(o," "):e.data+=t:(r&&(t=t.replace(o," ")),this._addDomElement({data:t,type:i.Text}))},n.prototype.oncomment=function(t){vare=this._tagStack[this._tagStack.length-1];if(e&&e.type===i.Comment)returnvoid(e.data+=t);varr={data:t,type:i.Comment};this._addDomElement(r),this._tagStack.push(r)},n.prototype.oncdatastart=function(){vart={children:[{data:"",type:i.Text}],type:i.CDATA};this._addDomElement(t),this._tagStack.push(t)},n.prototype.oncommentend=n.prototype.oncdataend=function(){this._tagStack.pop()},n.prototype.onprocessinginstruction=function(t,e){this._addDomElement({name:t,data:e,type:i.Directive})},t.exports=n},function(t,e){t.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(t){return"tag"===t.type||"script"===t.type||"style"===t.type}}},function(t,e){varr=t.exports={getfirstChild(){vart=this.children;returnt&&t[0]||null},getlastChild(){vart=this.children;returnt&&t[t.length-1]||null},getnodeType(){returni[this.type]||i.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},i={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach(function(t){vare=n[t];Object.defineProperty(r,t,{get:function(){returnthis[e]||null},set:function(t){returnthis[e]=t,t}})})},function(t,e,r){varn=r(21),i=t.exports=Object.create(n),o={tagName:"name"};Object.keys(o).forEach(function(t){vare=o[t];Object.defineProperty(i,t,{get:function(){returnthis[e]||null},set:function(t){returnthis[e]=t,t}})})},function(t,e,r){functionn(t,e){this.init(t,e)}functioni(t,e){returnl.getElementsByTagName(t,e,!0)}functiono(t,e){returnl.getElementsByTagName(t,e,!0,1)[0]}functions(t,e,r){returnl.getText(l.getElementsByTagName(t,e,r,1)).trim()}functiona(t,e,r,n,i){varo=s(r,n,i);o&&(t[e]=o)}varc=r(11),u=c.DomHandler,l=c.DomUtils;r(2).inherits(n,u),n.prototype.init=u;varh=function(t){return"rss"===t||"feed"===t||"rdf:RDF"===t};n.prototype.onend=function(){vart,e,r={},n=o(h,this.dom);n&&("feed"===n.name?(e=n.children,r.type="atom",a(r,"id","id",e),a(r,"title","title",e),(t=o("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),a(r,"description","subtitle",e),(t=s("updated",e))&&(r.updated=newDate(t)),a(r,"author","email",e,!0),r.items=i("entry",e).map(function(t){vare,r={};returnt=t.children,a(r,"id","id",t),a(r,"title","title",t),(e=o("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),(e=s("summary",t)||s("content",t))&&(r.description=e),(e=s("updated",t))&&(r.pubDate=newDate(e)),r})):(e=o("channel",n.children).children,r.type=n.name.substr(0,3),r.id="",a(r,"title","title",e),a(r,"link","link",e),a(r,"description","description",e),(t=s("lastBuildDate",e))&&(r.updated=newDate(t)),a(r,"author","managingEditor",e,!0),r.items=i("item",n.children).map(function(t){vare,r={};returnt=t.children,a(r,"id","guid",t),a(r,"title","title",t),a(r,"link","link",t),a(r,"description","description",t),(e=s("pubDate",t))&&(r.pubDate=newDate(e)),r}))),this.dom=r,u.prototype._handleCallback.call(this,n?null:Error("couldn't find root of feed"))},t.exports=n},function(t,e,r){functionn(t){o.call(this,newi(this),t)}functioni(t){this.scope=t}t.exports=n;varo=r(25);r(2).inherits(n,o),n.prototype.readable=!0;vars=r(11).EVENTS;Object.keys(s).forEach(function(t){if(0===s[t])i.prototype["on"+t]=function(){this.scop
"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|m(e,r);returnt=g(t,n),t.write(e,r),t}functionc(e,r){if(t.isBuffer(r))returnu(e,r);if(Q(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&&Q(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=Z),e}function_(t){if(t>=o())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return0|t}functionb(e,r){if(!(thisinstanceofb))returnnewb(e,r);varn=newt(e,r);returndeleten.parent,n}functionm(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":returnG(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":returnB(this,e,r);case"utf8":case"utf-8":returnA(this,e,r);case"ascii":returnI(this,e,r);case"binary":returnO(this,e,r);case"base64":returnk(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnD(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(G(e),t,r,n)}functionT(t,e,r,n){returnW(Y(e,t.length-r),t,r,n)}functionk(t,e,r){return0===e&&r===t.length?J.fromByteArray(t):J.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