text: var GUI=(window.webpackJsonpGUI=window.webpackJsonpGUI||[]).push([[2],{1499:function(t,e,n){"use strict";n.r(e);var o=n(1),r=n.n(o),c=n(45),i=n.n(c),a=n(112),u=n(132),l=n(103);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?y(t):e}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var w=Object(l.a)(Object(u.a)(a.a)),m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(a,t);var e,n,o,c,i=(e=a,function(){var t,n=b(e);if(h()){var o=b(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return d(this,t)});function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,t)).updateProject=e.updateProject.bind(y(e)),e.state={projectId:window.location.hash.substring(1)||"10015059"},e}return n=a,(o=[{key:"componentDidMount",value:function(){window.addEventListener("hashchange",this.updateProject),window.location.hash.substring(1)||(window.location.hash="10015059")}},{key:"componentWillUnmount",value:function(){window.addEventListener("hashchange",this.updateProject)}},{key:"updateProject",value:function(){this.setState({projectId:window.location.hash.substring(1)})}},{key:"render",value:function(){return r.a.createElement("div",{style:{display:"flex"}},r.a.createElement(w,{isPlayerOnly:!0,isFullScreen:!1}),r.a.createElement("iframe",{allowFullScreen:!0,allowTransparency:!0,frameBorder:"0",height:"402",src:"https://scratch.mit.edu/projects/embed/".concat(this.state.projectId,"/?autostart=true"),width:"485"}))}}])&&f(n.prototype,o),c&&f(n,c),a}(r.a.Component),v=document.createElement("div");document.body.appendChild(v),i.a.render(r.a.createElement(m,null),v)}},[[1499,0]]]);