","extent":{"__isSmartRef__":true,"id":424},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.External"},"419":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"420":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"421":{"x":300,"y":150,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"422":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"423":{"r":0.7843137254901961,"g":0.7843137254901961,"b":0.7843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"424":{"x":300,"y":150,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"425":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"426":{"morph":{"__isSmartRef__":true,"id":417},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"427":{"x":820,"y":180,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"428":{"width":300,"lineWidth":1,"height":150,"shadowBlur":0,"strokeStyle":"#000000","font":"10px sans-serif","shadowOffsetX":0,"lineCap":"butt","fillStyle":"#000000","shadowColor":"rgba(0, 0, 0, 0)","shadowOffsetY":0,"textAlign":"start","miterLimit":10,"globalCompositeOperation":"source-over","globalAlpha":1,"lineJoin":"miter","textBaseline":"alphabetic"},"429":{"initCanvas":{"__isSmartRef__":true,"id":430},"drawImageElement":{"__isSmartRef__":true,"id":433},"onMouseMove":{"__isSmartRef__":true,"id":436},"putColorAt":{"__isSmartRef__":true,"id":443}},"430":{"varMapping":{"__isSmartRef__":true,"id":431},"source":"function initCanvas() {\n // create HTML5 canvas element and it's 2d render object\n var domInterface = this.renderContext().domInterface,\n shapeNode = this.renderContext().shapeNode,\n canvasEl = domInterface.htmlCanvas();\n shapeNode.appendChild(canvasEl);\n this.canvas = canvasEl.getContext(\"2d\");\n this.canvas.width = this.getExtent().x;\n this.canvas.height = this.getExtent().y;\n}","funcProperties":{"__isSmartRef__":true,"id":432},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"431":{"this":{"__isSmartRef__":true,"id":417}},"432":{},"433":{"varMapping":{"__isSmartRef__":true,"id":434},"source":"function drawImageElement(imgEl) {\n // drawImage can rescale image\n this.canvas.drawImage(\n imgEl, 0,0, this.getExtent().x, this.getExtent().y);\n}","funcProperties":{"__isSmartRef__":true,"id":435},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"434":{"this":{"__isSmartRef__":true,"id":417}},"435":{},"436":{"varMapping":{"__isSmartRef__":true,"id":437},"source":"function onMouseMove(evt) {\n // when click on me that I draw funny pixels inside the image\n if (this.world().clickedOnMorph !== this) {\n return $super(evt);\n }\n var localPos = this.localize(evt.hand.getPosition());\n // fun with colors :)\n this.color = (this.color || Color.random()).mixedWith(Color.random(), 0.6);\n this.putColorAt(this.color, localPos, 6);\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":442},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"437":{"this":{"__isSmartRef__":true,"id":417},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":438}},"438":{"$super":{"__isSmartRef__":true,"id":439}},"439":{"varMapping":{"__isSmartRef__":true,"id":440},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":441},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"440":{"obj":{"__isSmartRef__":true,"id":417},"name":"onMouseMove"},"441":{},"442":{},"443":{"varMapping":{"__isSmartRef__":true,"id":444},"source":"function putColorAt(color, pos, thickness) {\n thickness = thickness || 1;\n var ctx = this.canvas;\n ctx.fillStyle = color.toString();\n ctx.beginPath();\n ctx.arc(pos.x, pos.y, thickness, 0, Math.PI*2, true); \n ctx.closePath();\n ctx.fill()\n}","funcProperties":{"__isSmartRef__":true,"id":445},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"444":{"this":{"__isSmartRef__":true,"id":417}},"445":{},"446":{"shape":{"__isSmartRef__":true,"id":447},"submorphs":[],"scripts":[],"derivationIds":[null],"id":"00051374-9094-4E15-A08D-094FA2C1D0B4","renderContextTable":{"__isSmartRef__":true,"id":454},"eventHandler":{"__isSmartRef__":true,"id":455},"droppingEnabled":true,"halosEnabled":true,"grabbingEnabled":false,"owner":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":456},"canvas":{"__isSmartRef__":true,"id":457},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":458},"__LivelyClassName__":"lively.morphic.HtmlWrapperMorph"},"447":{"renderContextTable":{"__isSmartRef__":true,"id":448},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":449},"_Extent":{"__isSmartRef__":true,"id":450},"_Padding":{"__isSmartRef__":true,"id":451},"_Fill":{"__isSmartRef__":true,"id":452},"stringifiedShapeNode":"
","extent":{"__isSmartRef__":true,"id":453},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.External"},"448":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"449":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"450":{"x":300,"y":150,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"451":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"452":{"r":0.7843137254901961,"g":0.7843137254901961,"b":0.7843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"453":{"x":300,"y":150,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"454":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"455":{"morph":{"__isSmartRef__":true,"id":446},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"456":{"x":820,"y":180,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"457":{"width":300,"lineWidth":1,"height":150,"shadowBlur":0,"strokeStyle":"#000000","font":"10px sans-serif","shadowOffsetX":0,"lineCap":"butt","fillStyle":"#000000","shadowColor":"rgba(0, 0, 0, 0)","shadowOffsetY":0,"textAlign":"start","miterLimit":10,"globalCompositeOperation":"source-over","globalAlpha":1,"lineJoin":"miter","textBaseline":"alphabetic"},"458":{"initCanvas":{"__isSmartRef__":true,"id":459},"drawImageElement":{"__isSmartRef__":true,"id":462},"onMouseMove":{"__isSmartRef__":true,"id":465},"putColorAt":{"__isSmartRef__":true,"id":472}},"459":{"varMapping":{"__isSmartRef__":true,"id":460},"source":"function initCanvas() {\n // create HTML5 canvas element and it's 2d render object\n var domInterface = this.renderContext().domInterface,\n shapeNode = this.renderContext().shapeNode,\n canvasEl = domInterface.htmlCanvas();\n shapeNode.appendChild(canvasEl);\n this.canvas = canvasEl.getContext(\"2d\");\n this.canvas.width = this.getExtent().x;\n this.canvas.height = this.getExtent().y;\n}","funcProperties":{"__isSmartRef__":true,"id":461},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"460":{"this":{"__isSmartRef__":true,"id":446}},"461":{},"462":{"varMapping":{"__isSmartRef__":true,"id":463},"source":"function drawImageElement(imgEl) {\n // drawImage can rescale image\n this.canvas.drawImage(\n imgEl, 0,0, this.getExtent().x, this.getExtent().y);\n}","funcProperties":{"__isSmartRef__":true,"id":464},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"463":{"this":{"__isSmartRef__":true,"id":446}},"464":{},"465":{"varMapping":{"__isSmartRef__":true,"id":466},"source":"function onMouseMove(evt) {\n // when click on me that I draw funny pixels inside the image\n if (this.world().clickedOnMorph !== this) {\n return $super(evt);\n }\n var localPos = this.localize(evt.hand.getPosition());\n // fun with colors :)\n this.color = (this.color || Color.random()).mixedWith(Color.random(), 0.6);\n this.putColorAt(this.color, localPos, 6);\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":471},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"466":{"this":{"__isSmartRef__":true,"id":446},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":467}},"467":{"$super":{"__isSmartRef__":true,"id":468}},"468":{"varMapping":{"__isSmartRef__":true,"id":469},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":470},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"469":{"obj":{"__isSmartRef__":true,"id":446},"name":"onMouseMove"},"470":{},"471":{},"472":{"varMapping":{"__isSmartRef__":true,"id":473},"source":"function putColorAt(color, pos, thickness) {\n thickness = thickness || 1;\n var ctx = this.canvas;\n ctx.fillStyle = color.toString();\n ctx.beginPath();\n ctx.arc(pos.x, pos.y, thickness, 0, Math.PI*2, true); \n ctx.closePath();\n ctx.fill()\n}","funcProperties":{"__isSmartRef__":true,"id":474},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"473":{"this":{"__isSmartRef__":true,"id":446}},"474":{},"475":{"shape":{"__isSmartRef__":true,"id":476},"submorphs":[],"scripts":[],"derivationIds":[null],"id":"09888B48-D98C-41A4-942D-39D896F3C837","renderContextTable":{"__isSmartRef__":true,"id":483},"eventHandler":{"__isSmartRef__":true,"id":484},"droppingEnabled":true,"halosEnabled":true,"grabbingEnabled":false,"owner":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":485},"canvas":{"__isSmartRef__":true,"id":486},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":487},"__LivelyClassName__":"lively.morphic.HtmlWrapperMorph"},"476":{"renderContextTable":{"__isSmartRef__":true,"id":477},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":478},"_Extent":{"__isSmartRef__":true,"id":479},"_Padding":{"__isSmartRef__":true,"id":480},"_Fill":{"__isSmartRef__":true,"id":481},"stringifiedShapeNode":"
","extent":{"__isSmartRef__":true,"id":482},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.External"},"477":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"478":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"479":{"x":300,"y":150,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"480":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"481":{"r":0.7843137254901961,"g":0.7843137254901961,"b":0.7843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"482":{"x":300,"y":150,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"483":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"484":{"morph":{"__isSmartRef__":true,"id":475},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"485":{"x":820,"y":180,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"486":{"width":300,"lineWidth":1,"height":150,"shadowBlur":0,"strokeStyle":"#000000","font":"10px sans-serif","shadowOffsetX":0,"lineCap":"butt","fillStyle":"#000000","shadowColor":"rgba(0, 0, 0, 0)","shadowOffsetY":0,"textAlign":"start","miterLimit":10,"globalCompositeOperation":"source-over","globalAlpha":1,"lineJoin":"miter","textBaseline":"alphabetic"},"487":{"initCanvas":{"__isSmartRef__":true,"id":488},"drawImageElement":{"__isSmartRef__":true,"id":491},"onMouseMove":{"__isSmartRef__":true,"id":494},"putColorAt":{"__isSmartRef__":true,"id":501}},"488":{"varMapping":{"__isSmartRef__":true,"id":489},"source":"function initCanvas() {\n // create HTML5 canvas element and it's 2d render object\n var domInterface = this.renderContext().domInterface,\n shapeNode = this.renderContext().shapeNode,\n canvasEl = domInterface.htmlCanvas();\n shapeNode.appendChild(canvasEl);\n this.canvas = canvasEl.getContext(\"2d\");\n this.canvas.width = this.getExtent().x;\n this.canvas.height = this.getExtent().y;\n}","funcProperties":{"__isSmartRef__":true,"id":490},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"489":{"this":{"__isSmartRef__":true,"id":475}},"490":{},"491":{"varMapping":{"__isSmartRef__":true,"id":492},"source":"function drawImageElement(imgEl) {\n // drawImage can rescale image\n this.canvas.drawImage(\n imgEl, 0,0, this.getExtent().x, this.getExtent().y);\n}","funcProperties":{"__isSmartRef__":true,"id":493},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"492":{"this":{"__isSmartRef__":true,"id":475}},"493":{},"494":{"varMapping":{"__isSmartRef__":true,"id":495},"source":"function onMouseMove(evt) {\n // when click on me that I draw funny pixels inside the image\n if (this.world().clickedOnMorph !== this) {\n return $super(evt);\n }\n var localPos = this.localize(evt.hand.getPosition());\n // fun with colors :)\n this.color = (this.color || Color.random()).mixedWith(Color.random(), 0.6);\n this.putColorAt(this.color, localPos, 6);\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":500},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"495":{"this":{"__isSmartRef__":true,"id":475},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":496}},"496":{"$super":{"__isSmartRef__":true,"id":497}},"497":{"varMapping":{"__isSmartRef__":true,"id":498},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":499},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"498":{"obj":{"__isSmartRef__":true,"id":475},"name":"onMouseMove"},"499":{},"500":{},"501":{"varMapping":{"__isSmartRef__":true,"id":502},"source":"function putColorAt(color, pos, thickness) {\n thickness = thickness || 1;\n var ctx = this.canvas;\n ctx.fillStyle = color.toString();\n ctx.beginPath();\n ctx.arc(pos.x, pos.y, thickness, 0, Math.PI*2, true); \n ctx.closePath();\n ctx.fill()\n}","funcProperties":{"__isSmartRef__":true,"id":503},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"502":{"this":{"__isSmartRef__":true,"id":475}},"503":{},"504":{"shape":{"__isSmartRef__":true,"id":505},"submorphs":[],"scripts":[],"derivationIds":[null],"id":"E12D7A51-B350-472D-B606-B5A180E5C3E1","renderContextTable":{"__isSmartRef__":true,"id":512},"eventHandler":{"__isSmartRef__":true,"id":513},"droppingEnabled":true,"halosEnabled":true,"grabbingEnabled":false,"owner":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":514},"canvas":{"__isSmartRef__":true,"id":515},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","color":{"__isSmartRef__":true,"id":516},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":517},"__LivelyClassName__":"lively.morphic.HtmlWrapperMorph"},"505":{"renderContextTable":{"__isSmartRef__":true,"id":506},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":507},"_Extent":{"__isSmartRef__":true,"id":508},"_Padding":{"__isSmartRef__":true,"id":509},"_Fill":{"__isSmartRef__":true,"id":510},"stringifiedShapeNode":"
","extent":{"__isSmartRef__":true,"id":511},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.External"},"506":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"507":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"508":{"x":300,"y":150,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"509":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"510":{"r":0.7843137254901961,"g":0.7843137254901961,"b":0.7843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"511":{"x":300,"y":150,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"512":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"513":{"morph":{"__isSmartRef__":true,"id":504},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"514":{"x":820,"y":180,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"515":{"width":300,"lineWidth":1,"height":150,"shadowBlur":0,"strokeStyle":"#000000","font":"10px sans-serif","shadowOffsetX":0,"lineCap":"butt","fillStyle":"rgb(55,98,98)","shadowColor":"rgba(0, 0, 0, 0)","shadowOffsetY":0,"textAlign":"start","miterLimit":10,"globalCompositeOperation":"source-over","globalAlpha":1,"lineJoin":"miter","textBaseline":"alphabetic"},"516":{"r":0.21515750112185233,"g":0.38437653955918105,"b":0.3847658863539095,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"517":{"initCanvas":{"__isSmartRef__":true,"id":518},"drawImageElement":{"__isSmartRef__":true,"id":521},"onMouseMove":{"__isSmartRef__":true,"id":524},"putColorAt":{"__isSmartRef__":true,"id":531}},"518":{"varMapping":{"__isSmartRef__":true,"id":519},"source":"function initCanvas() {\n // create HTML5 canvas element and it's 2d render object\n var domInterface = this.renderContext().domInterface,\n shapeNode = this.renderContext().shapeNode,\n canvasEl = domInterface.htmlCanvas();\n shapeNode.appendChild(canvasEl);\n this.canvas = canvasEl.getContext(\"2d\");\n this.canvas.width = this.getExtent().x;\n this.canvas.height = this.getExtent().y;\n}","funcProperties":{"__isSmartRef__":true,"id":520},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"519":{"this":{"__isSmartRef__":true,"id":504}},"520":{},"521":{"varMapping":{"__isSmartRef__":true,"id":522},"source":"function drawImageElement(imgEl) {\n // drawImage can rescale image\n this.canvas.drawImage(\n imgEl, 0,0, this.getExtent().x, this.getExtent().y);\n}","funcProperties":{"__isSmartRef__":true,"id":523},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"522":{"this":{"__isSmartRef__":true,"id":504}},"523":{},"524":{"varMapping":{"__isSmartRef__":true,"id":525},"source":"function onMouseMove(evt) {\n // when click on me that I draw funny pixels inside the image\n if (this.world().clickedOnMorph !== this) {\n return $super(evt);\n }\n var localPos = this.localize(evt.hand.getPosition());\n // fun with colors :)\n this.color = (this.color || Color.random()).mixedWith(Color.random(), 0.6);\n this.putColorAt(this.color, localPos, 6);\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":530},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"525":{"this":{"__isSmartRef__":true,"id":504},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":526}},"526":{"$super":{"__isSmartRef__":true,"id":527}},"527":{"varMapping":{"__isSmartRef__":true,"id":528},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":529},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"528":{"obj":{"__isSmartRef__":true,"id":504},"name":"onMouseMove"},"529":{},"530":{},"531":{"varMapping":{"__isSmartRef__":true,"id":532},"source":"function putColorAt(color, pos, thickness) {\n thickness = thickness || 1;\n var ctx = this.canvas;\n ctx.fillStyle = color.toString();\n ctx.beginPath();\n ctx.arc(pos.x, pos.y, thickness, 0, Math.PI*2, true); \n ctx.closePath();\n ctx.fill()\n}","funcProperties":{"__isSmartRef__":true,"id":533},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"532":{"this":{"__isSmartRef__":true,"id":504}},"533":{},"534":{"shape":{"__isSmartRef__":true,"id":535},"submorphs":[],"scripts":[],"derivationIds":[null],"id":"C81C9D8B-9BCB-4B57-BFDF-AA5D6D5AF9E4","renderContextTable":{"__isSmartRef__":true,"id":542},"eventHandler":{"__isSmartRef__":true,"id":543},"droppingEnabled":true,"halosEnabled":true,"grabbingEnabled":false,"owner":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":544},"canvas":{"__isSmartRef__":true,"id":545},"color":{"__isSmartRef__":true,"id":546},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":547},"__LivelyClassName__":"lively.morphic.HtmlWrapperMorph"},"535":{"renderContextTable":{"__isSmartRef__":true,"id":536},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":537},"_Extent":{"__isSmartRef__":true,"id":538},"_Padding":{"__isSmartRef__":true,"id":539},"_Fill":{"__isSmartRef__":true,"id":540},"stringifiedShapeNode":"
","extent":{"__isSmartRef__":true,"id":541},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.External"},"536":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"537":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"538":{"x":300,"y":150,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"539":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"540":{"r":0.7843137254901961,"g":0.7843137254901961,"b":0.7843137254901961,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"541":{"x":300,"y":150,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"542":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"543":{"morph":{"__isSmartRef__":true,"id":534},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"544":{"x":820,"y":180,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"545":{"width":300,"lineWidth":1,"height":150,"shadowBlur":0,"strokeStyle":"#000000","font":"10px sans-serif","shadowOffsetX":0,"lineCap":"butt","fillStyle":"#7b799b","shadowColor":"rgba(0, 0, 0, 0)","shadowOffsetY":0,"textAlign":"start","miterLimit":10,"globalCompositeOperation":"source-over","globalAlpha":1,"lineJoin":"miter","textBaseline":"alphabetic"},"546":{"r":0.4841841001938092,"g":0.4751832835077014,"b":0.6060762815296374,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"547":{"initCanvas":{"__isSmartRef__":true,"id":548},"drawImageElement":{"__isSmartRef__":true,"id":551},"onMouseMove":{"__isSmartRef__":true,"id":554},"putColorAt":{"__isSmartRef__":true,"id":561}},"548":{"varMapping":{"__isSmartRef__":true,"id":549},"source":"function initCanvas() {\n // create HTML5 canvas element and it's 2d render object\n var domInterface = this.renderContext().domInterface,\n shapeNode = this.renderContext().shapeNode,\n canvasEl = domInterface.htmlCanvas();\n shapeNode.appendChild(canvasEl);\n this.canvas = canvasEl.getContext(\"2d\");\n this.canvas.width = this.getExtent().x;\n this.canvas.height = this.getExtent().y;\n}","funcProperties":{"__isSmartRef__":true,"id":550},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"549":{"this":{"__isSmartRef__":true,"id":534}},"550":{},"551":{"varMapping":{"__isSmartRef__":true,"id":552},"source":"function drawImageElement(imgEl) {\n // drawImage can rescale image\n this.canvas.drawImage(\n imgEl, 0,0, this.getExtent().x, this.getExtent().y);\n}","funcProperties":{"__isSmartRef__":true,"id":553},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"552":{"this":{"__isSmartRef__":true,"id":534}},"553":{},"554":{"varMapping":{"__isSmartRef__":true,"id":555},"source":"function onMouseMove(evt) {\n // when click on me that I draw funny pixels inside the image\n if (this.world().clickedOnMorph !== this) {\n return $super(evt);\n }\n var localPos = this.localize(evt.hand.getPosition());\n // fun with colors :)\n this.color = (this.color || Color.random()).mixedWith(Color.random(), 0.6);\n this.putColorAt(this.color, localPos, 6);\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":560},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"555":{"this":{"__isSmartRef__":true,"id":534},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":556}},"556":{"$super":{"__isSmartRef__":true,"id":557}},"557":{"varMapping":{"__isSmartRef__":true,"id":558},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":559},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"558":{"obj":{"__isSmartRef__":true,"id":534},"name":"onMouseMove"},"559":{},"560":{},"561":{"varMapping":{"__isSmartRef__":true,"id":562},"source":"function putColorAt(color, pos, thickness) {\n thickness = thickness || 1;\n var ctx = this.canvas;\n ctx.fillStyle = color.toString();\n ctx.beginPath();\n ctx.arc(pos.x, pos.y, thickness, 0, Math.PI*2, true); \n ctx.closePath();\n ctx.fill()\n}","funcProperties":{"__isSmartRef__":true,"id":563},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"562":{"this":{"__isSmartRef__":true,"id":534}},"563":{},"564":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":565},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"_Scale":1,"_Rotation":0,"renderContextTable":{"__isSmartRef__":true,"id":571},"eventHandler":{"__isSmartRef__":true,"id":572},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":573},"clickedOnMorph":{"__isSmartRef__":true,"id":0},"lastScrollTime":1334191630726,"internalClickedOnMorph":{"__isSmartRef__":true,"id":574},"scrollFocusMorph":{"__isSmartRef__":true,"id":574},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"565":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":566},"_Extent":{"__isSmartRef__":true,"id":567},"_Fill":{"__isSmartRef__":true,"id":568},"renderContextTable":{"__isSmartRef__":true,"id":569},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":570},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"566":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"567":{"x":2,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"568":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"569":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"570":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"571":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"572":{"morph":{"__isSmartRef__":true,"id":564},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"573":{"x":1217,"y":438,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"574":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":575},"derivationIds":[null],"id":"A3897C3A-8EB3-49F9-A953-7158F08038C8","renderContextTable":{"__isSmartRef__":true,"id":587},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":588}],"eventHandler":{"__isSmartRef__":true,"id":590},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":591},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":592},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":593},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"575":{"_Position":{"__isSmartRef__":true,"id":576},"renderContextTable":{"__isSmartRef__":true,"id":577},"_Extent":{"__isSmartRef__":true,"id":578},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":579},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":580},"_Fill":{"__isSmartRef__":true,"id":581},"_BorderRadius":4,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"576":{"x":0,"y":184,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"577":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"578":{"x":186,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"579":{"x":3,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"580":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"581":{"stops":[{"__isSmartRef__":true,"id":582},{"__isSmartRef__":true,"id":584}],"vector":{"__isSmartRef__":true,"id":586},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"582":{"offset":0,"color":{"__isSmartRef__":true,"id":583}},"583":{"r":0.39215686274509803,"g":0.5137254901960784,"b":0.9725490196078431,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"584":{"offset":1,"color":{"__isSmartRef__":true,"id":585}},"585":{"r":0.13333333333333333,"g":0.3333333333333333,"b":0.9607843137254902,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"586":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"587":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"588":{"style":{"__isSmartRef__":true,"id":589},"chunkOwner":{"__isSmartRef__":true,"id":574},"storedString":"save world","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"589":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"590":{"morph":{"__isSmartRef__":true,"id":574},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"591":{"x":180,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"592":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"593":{"onMouseWheel":{"__isSmartRef__":true,"id":594},"onSelectStart":{"__isSmartRef__":true,"id":601}},"594":{"varMapping":{"__isSmartRef__":true,"id":595},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":600},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"595":{"this":{"__isSmartRef__":true,"id":574},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":596}},"596":{"$super":{"__isSmartRef__":true,"id":597}},"597":{"varMapping":{"__isSmartRef__":true,"id":598},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":599},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"598":{"obj":{"__isSmartRef__":true,"id":574},"name":"onMouseWheel"},"599":{},"600":{},"601":{"varMapping":{"__isSmartRef__":true,"id":602},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":607},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"602":{"this":{"__isSmartRef__":true,"id":574},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":603}},"603":{"$super":{"__isSmartRef__":true,"id":604}},"604":{"varMapping":{"__isSmartRef__":true,"id":605},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":606},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"605":{"obj":{"__isSmartRef__":true,"id":574},"name":"onSelectStart"},"606":{},"607":{},"608":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":609},"_Extent":{"__isSmartRef__":true,"id":610},"_Fill":{"__isSmartRef__":true,"id":611},"renderContextTable":{"__isSmartRef__":true,"id":612},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":613},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"609":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"610":{"x":2800,"y":2900,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"611":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"612":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"613":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"614":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"615":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"616":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setScroll":"setScrollHTML"},"617":{"x":1215,"y":436,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"618":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","converter":null,"converterString":null,"updaterString":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","varMapping":{"__isSmartRef__":true,"id":619},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":620},"__LivelyClassName__":"AttributeConnection"},"619":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"620":{"updater":{"__isSmartRef__":true,"id":621}},"621":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":619},"source":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","funcProperties":{"__isSmartRef__":true,"id":622},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"622":{},"623":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"624":{"submorphs":[{"__isSmartRef__":true,"id":625}],"scripts":[],"id":"C4086EDB-7636-48AA-81DE-6169E8859D0A","shape":{"__isSmartRef__":true,"id":654},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":661},"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":662},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":759},"eventHandler":{"__isSmartRef__":true,"id":760},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"59692BC3-6C7B-4E23-B820-8699260EA722","486BB935-1313-4103-B2A8-642B19437478","18AFFD44-46CD-489E-B1D6-DED43E2B6B06","2608C892-2204-4981-9A87-8E749F8944AB","5535861F-4EA2-44AB-8A40-0538124E0AAC","16C292B3-86E8-4622-B516-27C48263B8CC","87731A20-D455-44D0-97E5-98A7CFD4E417","A17081E7-E597-47ED-BD32-6E4D206BD7D7","CFB4A44C-BFEA-4584-BCBA-AE2A56739200","76B3DD9B-8D01-42BA-A574-AB99D5F899BB","1EBC5512-8F54-4B24-998C-69A285EC8533","DD1165C7-6C1A-4361-A4AE-FCF6F31152FD","4D6D36E8-48F3-408A-B03C-202E4DC182BD","5F3B3E0F-BBC6-4DDA-BAA0-7EFC05FF2011","E0A6B33B-767A-4532-9021-892414520200","F5F5E2B1-5FF0-4E09-B323-AE88A3920B8D","0C7E832A-A741-430F-B295-8BC181D066FE","472AED3B-CB76-49BD-BF49-354A2D568F86","A7C52F65-D140-4791-880F-F7584C7BB570","3516412B-8B36-4E52-9416-6B7FB358BDC2","1840CACC-078C-4795-AD3F-E9D6F8D557A0","1FEDCA25-0131-46FA-840F-DC5F1B05C6CA","C620CED3-0AE9-4097-9AA7-2706A042F9C9","679A861B-40E0-4DB2-B22F-95B454C6978D","FEF39B3C-E634-4825-BAB8-2D44FE647B03"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":761},"layout":{"__isSmartRef__":true,"id":762},"distanceToDragEvent":{"__isSmartRef__":true,"id":763},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":764},"__LivelyClassName__":"lively.morphic.Box"},"625":{"submorphs":[{"__isSmartRef__":true,"id":626}],"scripts":[],"shape":{"__isSmartRef__":true,"id":642},"id":"C2084ED7-1012-4746-82CA-D25EE3C1943D","renderContextTable":{"__isSmartRef__":true,"id":647},"eventHandler":{"__isSmartRef__":true,"id":648},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":649},"name":"ProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":650},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":651},"partsBinMetaInfo":{"__isSmartRef__":true,"id":652},"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[520,"071F18BE-FF28-40F5-ACAD-1916E0D25C38","DF185A10-743D-45FC-B9C2-76E12D908BCF","BF125D2C-596A-4C1E-A5F8-DAE4801E9497","3CEE8CFF-B8F1-4B4B-A405-CB583080252A","D0652878-8F9C-4591-8A82-296898AACDB6","31441DDF-2220-43BE-A99F-69E1FEC68030","14A90039-0D3E-46DC-8445-D42B8E02EB42","681EF5DE-A344-4114-B2F3-B96CE3872524","C0381116-5116-4F33-B082-A411D0E4534E","24E9581E-B008-46EE-9CBC-D5190E100D98","C69D1041-2C5E-48FE-B04C-04E66450658A","4830945B-4FFF-4564-9424-34D7995DAE60","8602C233-B3E7-4682-9B0E-D7549761D934","B4E0E11F-2BED-462E-B708-89D63971856E","EE0144C2-D016-4390-8A67-4E7DEF171C83","F44DF6E4-5F27-440E-AB5F-3721C0A10CA6","73FC6648-DAAF-4673-8CF4-7DA219513F22","B78EB1B5-780C-45F7-B0A7-B988B52B1FF1","DFDB8CD1-72F7-40F4-849B-1F9B866277AB","66111105-B1FC-41F7-BF70-D45118C9E09F","02420416-1E35-4831-AABB-91CD0460CA1A","7C6B2EB2-4510-4A8E-BAFF-5CF0040DD7F5","0503F5A1-1732-4610-9A5A-920D658CA766","07C5AE03-36AD-4849-BACD-27D7D9A2CCF2","9FFF9D73-931C-404C-AA4B-5AC2E7C53504"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":624},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":653},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Image"},"626":{"submorphs":[],"scripts":[],"id":"80491847-7A90-4F4D-AD8E-17591228AF5F","shape":{"__isSmartRef__":true,"id":627},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":633},"_MaxTextWidth":257,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":630},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":634},"textChunks":[{"__isSmartRef__":true,"id":635}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":637},"renderContextTable":{"__isSmartRef__":true,"id":638},"eventHandler":{"__isSmartRef__":true,"id":639},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":640},"_ClipMode":"visible","derivationIds":[355,"023045B3-2D6B-4425-89FB-F4806D527BE0","DC0C2365-868C-41AE-8369-51C31E91493E","C6D9D314-86A1-4015-970B-F6787F535E1A","6AA4552E-2E85-447E-9033-99D5AA1A94BC","D94BE49C-8A3E-4F1F-BF28-FEDD9B40D213","AA8F0470-654C-4AA2-8135-4607F5429AC5","E0BAABCC-FFB2-4EDF-BAE5-C63CC99B6A97","1A86AE17-73AE-442E-AB36-DD90C6DFC8BC","EF750075-E964-4CD3-B6A4-161511E1D058","CED69CBF-FFA5-45E7-B333-FBACE4F278AC","E56978C1-7424-4C10-8168-11FD3237B540","D5AB2532-A4DC-42D6-AF17-99CBBCEAA848","245866CB-598A-4172-A3A0-A06D4D26C6AD","43B0F12E-5793-43AA-80E1-496774E0EBA6","1B776A8C-0413-475F-8EBD-120BBD91D2BB","F84F2C9A-8003-4E81-833A-83F48C92F3B8","3124B389-9FA4-4348-BC5D-0DFF9C59CD1B","1A1BCBAC-D7CC-4BAE-B8C2-7C693F7327A1","1CB201BA-5E0B-4771-821A-139FA2AEFBC2","195520FA-4816-47A4-B0F5-BA890AFD9DF9","0D15F28A-24C9-46B7-89C5-6D2354728AC1","316FE9D3-62EC-4FD6-9B0F-FFA622B79575","739F3743-9BE1-48C8-813D-C0BFB0DCACA6","01877B3B-7DA7-4222-B011-7B5F4E501862","B8FE7DEE-9568-4BE6-BA12-EA674BA79E08"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":625},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":641},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"627":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":628},"_Extent":{"__isSmartRef__":true,"id":629},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":630},"renderContextTable":{"__isSmartRef__":true,"id":631},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":632},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"628":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"629":{"x":257,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"630":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"631":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"632":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"633":{"x":-109,"y":38,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"634":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"635":{"style":{"__isSmartRef__":true,"id":636},"chunkOwner":{"__isSmartRef__":true,"id":626},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"loading part","__LivelyClassName__":"lively.morphic.TextChunk"},"636":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"637":{"x":257,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"638":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"639":{"morph":{"__isSmartRef__":true,"id":626},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"640":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"641":{"x":179,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"642":{"_Position":{"__isSmartRef__":true,"id":643},"renderContextTable":{"__isSmartRef__":true,"id":644},"_Extent":{"__isSmartRef__":true,"id":645},"_ImageURL":"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":646},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image"},"643":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"644":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"645":{"x":31,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"646":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"647":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"648":{"morph":{"__isSmartRef__":true,"id":625},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"649":{"x":113.5,"y":81,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"650":{"x":30,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"651":{"x":39,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"652":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"653":{"centeredHorizontal":true,"centeredVertical":true},"654":{"position":{"__isSmartRef__":true,"id":655},"_Extent":{"__isSmartRef__":true,"id":656},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":657},"_Fill":{"__isSmartRef__":true,"id":658},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":659},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":660},"_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"655":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"656":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"657":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"658":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"659":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"660":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"661":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"662":{"partsSpaceName":"PartsBin/iPadWidgets","__SourceModuleName__":"Global.lively.PartsBin","comment":"This is a placeholder to indicate that a morph is being loaded. It will be replaced by the morph as soon as the requested morph finished loading.","migrationLevel":4,"partName":"LoadingMorph","changes":[{"__isSmartRef__":true,"id":663},{"__isSmartRef__":true,"id":665},{"__isSmartRef__":true,"id":667},{"__isSmartRef__":true,"id":669},{"__isSmartRef__":true,"id":671},{"__isSmartRef__":true,"id":673},{"__isSmartRef__":true,"id":675},{"__isSmartRef__":true,"id":677},{"__isSmartRef__":true,"id":679},{"__isSmartRef__":true,"id":681},{"__isSmartRef__":true,"id":683},{"__isSmartRef__":true,"id":685},{"__isSmartRef__":true,"id":687},{"__isSmartRef__":true,"id":689},{"__isSmartRef__":true,"id":691},{"__isSmartRef__":true,"id":693},{"__isSmartRef__":true,"id":695},{"__isSmartRef__":true,"id":697},{"__isSmartRef__":true,"id":699},{"__isSmartRef__":true,"id":701},{"__isSmartRef__":true,"id":703},{"__isSmartRef__":true,"id":705},{"__isSmartRef__":true,"id":707},{"__isSmartRef__":true,"id":709},{"__isSmartRef__":true,"id":711},{"__isSmartRef__":true,"id":713},{"__isSmartRef__":true,"id":715},{"__isSmartRef__":true,"id":717},{"__isSmartRef__":true,"id":719},{"__isSmartRef__":true,"id":721},{"__isSmartRef__":true,"id":723},{"__isSmartRef__":true,"id":725},{"__isSmartRef__":true,"id":727},{"__isSmartRef__":true,"id":729},{"__isSmartRef__":true,"id":731},{"__isSmartRef__":true,"id":733},{"__isSmartRef__":true,"id":735},{"__isSmartRef__":true,"id":737},{"__isSmartRef__":true,"id":739},{"__isSmartRef__":true,"id":741},{"__isSmartRef__":true,"id":743},{"__isSmartRef__":true,"id":745},{"__isSmartRef__":true,"id":747},{"__isSmartRef__":true,"id":749},{"__isSmartRef__":true,"id":751},{"__isSmartRef__":true,"id":753},{"__isSmartRef__":true,"id":755},{"__isSmartRef__":true,"id":757}],"revisionOnLoad":151069,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"663":{"date":{"__isSmartRef__":true,"id":664},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"664":{"isSerializedDate":true,"string":"Wed Feb 22 2012 08:02:04 GMT-0500 (Eastern Standard Time)"},"665":{"date":{"__isSmartRef__":true,"id":666},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"666":{"isSerializedDate":true,"string":"Wed Feb 22 2012 06:43:10 GMT-0500 (Eastern Standard Time)"},"667":{"date":{"__isSmartRef__":true,"id":668},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"668":{"isSerializedDate":true,"string":"Wed Feb 22 2012 06:36:14 GMT-0500 (Eastern Standard Time)"},"669":{"date":{"__isSmartRef__":true,"id":670},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"670":{"isSerializedDate":true,"string":"Wed Feb 22 2012 06:23:04 GMT-0500 (Eastern Standard Time)"},"671":{"date":{"__isSmartRef__":true,"id":672},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"672":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:59:45 GMT-0500 (Eastern Standard Time)"},"673":{"date":{"__isSmartRef__":true,"id":674},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"674":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:59:10 GMT-0500 (Eastern Standard Time)"},"675":{"date":{"__isSmartRef__":true,"id":676},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"676":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:56:54 GMT-0500 (Eastern Standard Time)"},"677":{"date":{"__isSmartRef__":true,"id":678},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"678":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:51:05 GMT-0500 (Eastern Standard Time)"},"679":{"date":{"__isSmartRef__":true,"id":680},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"680":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:47:19 GMT-0500 (Eastern Standard Time)"},"681":{"date":{"__isSmartRef__":true,"id":682},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"682":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:46:25 GMT-0500 (Eastern Standard Time)"},"683":{"date":{"__isSmartRef__":true,"id":684},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"684":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:45:05 GMT-0500 (Eastern Standard Time)"},"685":{"date":{"__isSmartRef__":true,"id":686},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"686":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:37:15 GMT-0500 (Eastern Standard Time)"},"687":{"date":{"__isSmartRef__":true,"id":688},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"688":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:35:29 GMT-0500 (Eastern Standard Time)"},"689":{"date":{"__isSmartRef__":true,"id":690},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"690":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:31:52 GMT-0500 (Eastern Standard Time)"},"691":{"date":{"__isSmartRef__":true,"id":692},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"692":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:14:10 GMT-0500 (Eastern Standard Time)"},"693":{"date":{"__isSmartRef__":true,"id":694},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"694":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:02:56 GMT-0500 (Eastern Standard Time)"},"695":{"date":{"__isSmartRef__":true,"id":696},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"696":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:01:50 GMT-0500 (Eastern Standard Time)"},"697":{"date":{"__isSmartRef__":true,"id":698},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"698":{"isSerializedDate":true,"string":"Wed Feb 22 2012 04:55:44 GMT-0500 (Eastern Standard Time)"},"699":{"date":{"__isSmartRef__":true,"id":700},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"700":{"isSerializedDate":true,"string":"Fri Feb 10 2012 03:45:55 GMT-0500 (Eastern Standard Time)"},"701":{"date":{"__isSmartRef__":true,"id":702},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"702":{"isSerializedDate":true,"string":"Wed Feb 08 2012 05:41:50 GMT-0500 (Eastern Standard Time)"},"703":{"date":{"__isSmartRef__":true,"id":704},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"704":{"isSerializedDate":true,"string":"Tue Feb 07 2012 05:13:49 GMT-0500 (Eastern Standard Time)"},"705":{"date":{"__isSmartRef__":true,"id":706},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"706":{"isSerializedDate":true,"string":"Thu Feb 02 2012 11:22:07 GMT-0500 (Eastern Standard Time)"},"707":{"date":{"__isSmartRef__":true,"id":708},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"708":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:55:14 GMT-0500 (Eastern Standard Time)"},"709":{"date":{"__isSmartRef__":true,"id":710},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"710":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:54:35 GMT-0500 (Eastern Standard Time)"},"711":{"date":{"__isSmartRef__":true,"id":712},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"712":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:26:01 GMT-0500 (Eastern Standard Time)"},"713":{"date":{"__isSmartRef__":true,"id":714},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"714":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:04:01 GMT-0500 (Eastern Standard Time)"},"715":{"date":{"__isSmartRef__":true,"id":716},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"716":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:28:30 GMT-0500 (Eastern Standard Time)"},"717":{"date":{"__isSmartRef__":true,"id":718},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"718":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:32:58 GMT-0500 (Eastern Standard Time)"},"719":{"date":{"__isSmartRef__":true,"id":720},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"720":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:41:00 GMT-0500 (Eastern Standard Time)"},"721":{"date":{"__isSmartRef__":true,"id":722},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"722":{"isSerializedDate":true,"string":"Thu Feb 02 2012 09:24:30 GMT-0500 (Eastern Standard Time)"},"723":{"date":{"__isSmartRef__":true,"id":724},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"724":{"isSerializedDate":true,"string":"Thu Feb 02 2012 09:26:23 GMT-0500 (Eastern Standard Time)"},"725":{"date":{"__isSmartRef__":true,"id":726},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"726":{"isSerializedDate":true,"string":"Thu Feb 02 2012 09:48:04 GMT-0500 (Eastern Standard Time)"},"727":{"date":{"__isSmartRef__":true,"id":728},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"728":{"isSerializedDate":true,"string":"Thu Feb 02 2012 09:53:49 GMT-0500 (Eastern Standard Time)"},"729":{"date":{"__isSmartRef__":true,"id":730},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"730":{"isSerializedDate":true,"string":"Thu Feb 02 2012 10:49:48 GMT-0500 (Eastern Standard Time)"},"731":{"date":{"__isSmartRef__":true,"id":732},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"732":{"isSerializedDate":true,"string":"Thu Feb 02 2012 10:58:43 GMT-0500 (Eastern Standard Time)"},"733":{"date":{"__isSmartRef__":true,"id":734},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"734":{"isSerializedDate":true,"string":"Thu Feb 02 2012 11:04:28 GMT-0500 (Eastern Standard Time)"},"735":{"date":{"__isSmartRef__":true,"id":736},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"736":{"isSerializedDate":true,"string":"Tue Feb 07 2012 05:10:27 GMT-0500 (Eastern Standard Time)"},"737":{"date":{"__isSmartRef__":true,"id":738},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"738":{"isSerializedDate":true,"string":"Tue Feb 07 2012 05:31:50 GMT-0500 (Eastern Standard Time)"},"739":{"date":{"__isSmartRef__":true,"id":740},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"740":{"isSerializedDate":true,"string":"Tue Feb 07 2012 05:38:26 GMT-0500 (Eastern Standard Time)"},"741":{"date":{"__isSmartRef__":true,"id":742},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"742":{"isSerializedDate":true,"string":"Tue Feb 07 2012 05:44:11 GMT-0500 (Eastern Standard Time)"},"743":{"date":{"__isSmartRef__":true,"id":744},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"744":{"isSerializedDate":true,"string":"Tue Feb 07 2012 05:48:14 GMT-0500 (Eastern Standard Time)"},"745":{"date":{"__isSmartRef__":true,"id":746},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"746":{"isSerializedDate":true,"string":"Tue Feb 07 2012 05:49:47 GMT-0500 (Eastern Standard Time)"},"747":{"date":{"__isSmartRef__":true,"id":748},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"748":{"isSerializedDate":true,"string":"Tue Feb 07 2012 05:59:48 GMT-0500 (Eastern Standard Time)"},"749":{"date":{"__isSmartRef__":true,"id":750},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"750":{"isSerializedDate":true,"string":"Tue Feb 07 2012 06:02:33 GMT-0500 (Eastern Standard Time)"},"751":{"date":{"__isSmartRef__":true,"id":752},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"752":{"isSerializedDate":true,"string":"Tue Feb 07 2012 06:03:42 GMT-0500 (Eastern Standard Time)"},"753":{"date":{"__isSmartRef__":true,"id":754},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"754":{"isSerializedDate":true,"string":"Thu Feb 09 2012 14:20:11 GMT-0500 (Eastern Standard Time)"},"755":{"date":{"__isSmartRef__":true,"id":756},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"756":{"isSerializedDate":true,"string":"Fri Mar 16 2012 10:37:34 GMT-0400 (Eastern Daylight Time)"},"757":{"date":{"__isSmartRef__":true,"id":758},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"758":{"isSerializedDate":true,"string":"Fri Mar 16 2012 10:42:29 GMT-0400 (Eastern Daylight Time)"},"759":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"760":{"morph":{"__isSmartRef__":true,"id":624},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"761":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"762":{"adjustForNewBounds":true},"763":{"x":171,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"764":{"loadPart":{"__isSmartRef__":true,"id":765},"loadFinished":{"__isSmartRef__":true,"id":769},"loadPartByName":{"__isSmartRef__":true,"id":773}},"765":{"varMapping":{"__isSmartRef__":true,"id":766},"source":"function loadPart(partItem, isAsync) {\n this.partItem = partItem;\n \n this.openInWorld();\n if(partItem.part) {\n this.setExtent(partItem.part.getExtent());\n }\n this.align(this.bounds().center(), $world.visibleBounds().center());\n \n \n if(typeof isAsync === \"function\") {\n this.callback = isAsync;\n }\n\n connect(partItem, 'part', this, \"loadFinished\");\n\n partItem.loadPart(isAsync);\n\n return partItem.part;\n\n}","funcProperties":{"__isSmartRef__":true,"id":767},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"766":{"this":{"__isSmartRef__":true,"id":624}},"767":{"timestamp":{"__isSmartRef__":true,"id":768},"user":"sstamm","tags":[]},"768":{"isSerializedDate":true,"string":"Fri Mar 16 2012 10:42:18 GMT-0400 (Eastern Daylight Time)"},"769":{"varMapping":{"__isSmartRef__":true,"id":770},"source":"function loadFinished(part) {\n if(this.owner === $world.firstHand()) {\n $world.firstHand().removeAllMorphs();\n } else {\n this.owner.addMorph(part);\n part.align(part.bounds().center(), this.bounds().center());\n this.remove();\n }\n disconnect(this.partItem, 'part', this, \"loadFinished\");\n if(this.callback) {\n this.callback(part);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":771},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"770":{"this":{"__isSmartRef__":true,"id":624}},"771":{"timestamp":{"__isSmartRef__":true,"id":772},"user":"sstamm","tags":[]},"772":{"isSerializedDate":true,"string":"Wed Feb 22 2012 08:01:53 GMT-0500 (Eastern Standard Time)"},"773":{"varMapping":{"__isSmartRef__":true,"id":774},"source":"function loadPartByName(partName, optPartsSpaceName, isAsync) {\n var partItem = lively.PartsBin.getPartItem(partName, optPartsSpaceName);\n return this.loadPart(partItem, isAsync);\n}","funcProperties":{"__isSmartRef__":true,"id":775},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"774":{"this":{"__isSmartRef__":true,"id":624}},"775":{"timestamp":{"__isSmartRef__":true,"id":776},"user":"sstamm","tags":[]},"776":{"isSerializedDate":true,"string":"Thu Feb 02 2012 11:03:18 GMT-0500 (Eastern Standard Time)"},"777":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/robertkrahn/canvas-morph-prototype.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"isSimplifiedRegistry":true}}]]>