(function(t){function e(e){for(var i,r,a=e[0],l=e[1],c=e[2],u=0,h=[];u show"))])],1)],1)])])}),h=[],f=(n("a15b"),n("d3b7"),n("02cc")),p=n.n(f),d=n("e552"),v=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"output",staticClass:"repl-output"},[n("div",{staticClass:"repl-header level"},[n("div",{staticClass:"level-left"},[t._t("default"),n("h2",[t._v("Output")])],2),n("div",{staticClass:"level-right"},[n("b-button",{staticStyle:{"margin-right":"4px"},attrs:{"icon-right":"backup-restore"},on:{click:t.resetSandbox}}),n("b-button",{attrs:{"icon-right":"broom"},on:{click:t.clear}})],1)]),n("div",{staticClass:"repl-history"},t._l(t.items,(function(e,i){return n("div",{key:i,staticClass:"repl-history-item"},[e.console?n("div",{staticClass:"repl-history-item__console",domProps:{innerHTML:t._s(e.html)}}):n("pre",{directives:[{name:"hljs",rawName:"v-hljs"}],staticClass:"repl-history-item__code"},[n("code",{staticClass:"javascript"},[t._v(t._s(e.expr))])]),"result"in e?n("b-message",{staticClass:"is-family-monospace repl-history-item__response"},[n("pre",{directives:[{name:"hljs",rawName:"v-hljs"}]},[n("code",{staticClass:"javascript"},[t._v(t._s(e.result))])])]):t._e(),"error"in e?n("b-message",{staticClass:"is-family-monospace repl-history-item__error",attrs:{type:"is-danger"}},[n("pre",[n("code",[t._v(t._s(e.error))])])]):t._e()],1)})),0),t.items.length?n("div",{staticClass:"repl-spacer"}):n("div",{staticClass:"repl-placeholder"},[n("h1",[t._v("🐓")]),n("h2",[t._v("Nothing here but us chickens.")])]),n("div",{staticClass:"repl-input"},[n("b-field",[n("b-input",{ref:"input",staticClass:"is-expanded is-family-monospace repl-input__field",style:{height:48+Math.min(24*t.inputLines,192)+"px"},attrs:{type:"textarea"},nativeOn:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.evaluate(e)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:t.fromHistoryEvent(e,1)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:t.fromHistoryEvent(e,-1)}]},model:{value:t.input,callback:function(e){t.input=e},expression:"input"}}),n("p",{staticClass:"control"},[n("b-button",{attrs:{"icon-right":"send",disabled:0===this.input.length},on:{click:t.evaluate}})],1)],1)],1)])},m=[],y=(n("d81d"),n("ac1f"),n("466d"),n("1276"),n("e25e"),n("25f0"),n("99de")),g=n("7e84"),b=n("45eb"),_=n("262e"),w=n("d4ec"),x=n("bee2"),k=function(){function t(){Object(w["a"])(this,t),this._first=null,this._last=null,this.length=0}return Object(x["a"])(t,[{key:"push",value:function(t){var e={prev:null,next:null,value:t};null===this._first?this._first=this._last=e:(e.prev=this._last,this._last.next=this._last=e),this.length++}},{key:"pop",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.length-1;if(!(t<0||t>=this.length)){var e;if(0===t)e=this._first,this._first=this._first.next,this._first.prev=null;else if(t===this.length-1)e=this._last,this._last=this._last.prev,this._last.prev=null;else{e=this._get(t);var n=e.prev,i=e.next;n.next=i,i.prev=n}return this.length-=1,e.value}}},{key:"shift",value:function(){return this.pop(0)}},{key:"unshift",value:function(t){var e={prev:null,next:null,value:t};null===this._first?this._first=this._last=e:(e.next=this._first,this._first.prev=this._first=e),this.length++}},{key:"_get",value:function(t){if(t=parseInt(t),void 0===t||isNaN(t))return{};if(0===t)return this._first;if(t===this.length-1)return this._last;if(t>=this.length)return{};if(t0&&void 0!==arguments[0]?arguments[0]:50;return Object(w["a"])(this,e),t=Object(y["a"])(this,Object(g["a"])(e).call(this)),t.capacity=n,t}return Object(_["a"])(e,t),Object(x["a"])(e,[{key:"unshift",value:function(t){Object(b["a"])(Object(g["a"])(e.prototype),"unshift",this).call(this,t),this._checkCapacity()}},{key:"push",value:function(t){throw Error("cant be used")}},{key:"pop",value:function(t){throw Error("cant be used")}},{key:"shift",value:function(t){throw Error("cant be used")}},{key:"_checkCapacity",value:function(){while(this.length>this.capacity)this._first=this._first.next,this._first.prev=null}}]),e}(k),j=function(){function t(){Object(w["a"])(this,t),this.iframe=document.createElement("iframe"),this.iframe.style.display="none",document.body.appendChild(this.iframe),this.window=this.iframe.contentWindow,this.document=this.iframe.contentDocument,this.document.open(),this.document.write("