' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":717},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"712":{"this":{"__isSmartRef__":true,"id":674},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":713}},"713":{"$super":{"__isSmartRef__":true,"id":714}},"714":{"varMapping":{"__isSmartRef__":true,"id":715},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":716},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"715":{"obj":{"__isSmartRef__":true,"id":674},"name":"morphMenuItems"},"716":{},"717":{},"718":{"x":160,"y":238,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"719":{"x":5,"y":5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"720":{"adjustForNewBounds":true,"resizeHeight":true},"721":{"submorphs":[],"scripts":[],"id":"CA985930-901C-42E4-B954-AF8CFFBECBC2","shape":{"__isSmartRef__":true,"id":722},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":730},"name":"serverStateIndicator","partsBinMetaInfo":{"__isSmartRef__":true,"id":731},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":732},"eventHandler":{"__isSmartRef__":true,"id":733},"layout":{"__isSmartRef__":true,"id":734},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":599},"priorExtent":{"__isSmartRef__":true,"id":735},"distanceToDragEvent":{"__isSmartRef__":true,"id":736},"derivationIds":[2947,"D097888D-3FA3-4B9B-813B-AA7795D42947"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Morph"},"722":{"position":{"__isSmartRef__":true,"id":723},"_Extent":{"__isSmartRef__":true,"id":724},"_Fill":{"__isSmartRef__":true,"id":725},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":726},"_Position":{"__isSmartRef__":true,"id":727},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_BorderColor":{"__isSmartRef__":true,"id":728},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":729},"__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"723":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"724":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"725":{"r":0,"g":0.8,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"726":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"727":{"x":-7,"y":-8,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"728":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"729":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"730":{"x":176.8981527962551,"y":12.97603595205993,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"731":{"partsSpaceName":"PartsBin/Basic","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","comment":"an Ellipse","partName":"Ellipse","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"732":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"733":{"morph":{"__isSmartRef__":true,"id":721},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"734":{},"735":{"x":18,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"736":{"x":43,"y":-17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"737":{"submorphs":[{"__isSmartRef__":true,"id":738}],"scripts":[],"id":"2DF38037-9C1B-49C4-A1B1-B7FEAC3DF27E","shape":{"__isSmartRef__":true,"id":753},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":756},"lighterFill":{"__isSmartRef__":true,"id":769},"label":{"__isSmartRef__":true,"id":738},"attributeConnections":[{"__isSmartRef__":true,"id":778}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":822},"name":"refreshServerListButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":823},"renderContextTable":{"__isSmartRef__":true,"id":824},"eventHandler":{"__isSmartRef__":true,"id":825},"priorExtent":{"__isSmartRef__":true,"id":826},"_Position":{"__isSmartRef__":true,"id":827},"owner":{"__isSmartRef__":true,"id":599},"distanceToDragEvent":{"__isSmartRef__":true,"id":828},"derivationIds":[2948,"E1BB5CA5-95D7-4014-8230-07610997FA20"],"layout":{"__isSmartRef__":true,"id":829},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"738":{"submorphs":[],"scripts":[],"id":"B18671E7-6A79-4A15-BFD1-135CC91E5F68","shape":{"__isSmartRef__":true,"id":739},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":20,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":745},"textColor":{"__isSmartRef__":true,"id":742},"owner":{"__isSmartRef__":true,"id":737},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":746}],"padding":{"__isSmartRef__":true,"id":748},"_Padding":{"__isSmartRef__":true,"id":749},"prevScroll":[0,0],"_Align":"center","_FontFamily":"Arial","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_VerticalAlign":"middle","_Display":"table-cell","priorExtent":{"__isSmartRef__":true,"id":750},"renderContextTable":{"__isSmartRef__":true,"id":751},"eventHandler":{"__isSmartRef__":true,"id":752},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2949,"4D98A1B5-B8BB-4146-83F5-70FB5E204B3F"],"_MinTextWidth":20,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"739":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":740},"_Extent":{"__isSmartRef__":true,"id":741},"_BorderColor":{"__isSmartRef__":true,"id":742},"renderContextTable":{"__isSmartRef__":true,"id":743},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":744},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"740":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"741":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"742":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"743":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"744":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"745":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"746":{"style":{"__isSmartRef__":true,"id":747},"chunkOwner":{"__isSmartRef__":true,"id":738},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"⟳","__LivelyClassName__":"lively.morphic.TextChunk"},"747":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"748":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"749":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"750":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"751":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"752":{"morph":{"__isSmartRef__":true,"id":738},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"753":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":754},"_Extent":{"__isSmartRef__":true,"id":755},"_Fill":{"__isSmartRef__":true,"id":756},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":766},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":767},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":768},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"754":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"755":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"756":{"stops":[{"__isSmartRef__":true,"id":757},{"__isSmartRef__":true,"id":759},{"__isSmartRef__":true,"id":761},{"__isSmartRef__":true,"id":763}],"vector":{"__isSmartRef__":true,"id":765},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"757":{"offset":0,"color":{"__isSmartRef__":true,"id":758}},"758":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"759":{"offset":0.4,"color":{"__isSmartRef__":true,"id":760}},"760":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"761":{"offset":0.6,"color":{"__isSmartRef__":true,"id":762}},"762":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"763":{"offset":1,"color":{"__isSmartRef__":true,"id":764}},"764":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"765":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"766":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"767":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"768":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"769":{"stops":[{"__isSmartRef__":true,"id":770},{"__isSmartRef__":true,"id":772},{"__isSmartRef__":true,"id":774},{"__isSmartRef__":true,"id":776}],"vector":{"__isSmartRef__":true,"id":765},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"770":{"offset":0,"color":{"__isSmartRef__":true,"id":771}},"771":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"772":{"offset":0.4,"color":{"__isSmartRef__":true,"id":773}},"773":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"774":{"offset":0.6,"color":{"__isSmartRef__":true,"id":775}},"775":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"776":{"offset":1,"color":{"__isSmartRef__":true,"id":777}},"777":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"778":{"sourceObj":{"__isSmartRef__":true,"id":737},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":599},"targetMethodName":"refreshServerList","visualConnector":{"__isSmartRef__":true,"id":779},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"779":{"submorphs":[{"__isSmartRef__":true,"id":780}],"scripts":[],"shape":{"__isSmartRef__":true,"id":802},"id":3551,"renderContextTable":{"__isSmartRef__":true,"id":810},"eventHandler":{"__isSmartRef__":true,"id":811},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":812},{"__isSmartRef__":true,"id":813}],"con":{"__isSmartRef__":true,"id":778},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":814},"__LivelyClassName__":"lively.morphic.Path"},"780":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":781},"id":3552,"renderContextTable":{"__isSmartRef__":true,"id":794},"eventHandler":{"__isSmartRef__":true,"id":795},"droppingEnabled":true,"halosEnabled":true,"_Origin":{"__isSmartRef__":true,"id":796},"owner":{"__isSmartRef__":true,"id":779},"_Position":{"__isSmartRef__":true,"id":797},"_Rotation":-3.0635190362248506,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","controlPoints":[{"__isSmartRef__":true,"id":798},{"__isSmartRef__":true,"id":799},{"__isSmartRef__":true,"id":800},{"__isSmartRef__":true,"id":801}],"__LivelyClassName__":"lively.morphic.Path"},"781":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":782},{"__isSmartRef__":true,"id":783},{"__isSmartRef__":true,"id":784},{"__isSmartRef__":true,"id":785}],"_PathElements":[{"__isSmartRef__":true,"id":786},{"__isSmartRef__":true,"id":787},{"__isSmartRef__":true,"id":788},{"__isSmartRef__":true,"id":789}],"renderContextTable":{"__isSmartRef__":true,"id":790},"_Position":{"__isSmartRef__":true,"id":791},"_Extent":{"__isSmartRef__":true,"id":792},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":688},"_Fill":{"__isSmartRef__":true,"id":793},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"782":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"783":{"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"784":{"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"785":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"786":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"787":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"788":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"789":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"790":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"791":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"792":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"793":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"794":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"795":{"morph":{"__isSmartRef__":true,"id":780},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"796":{"x":12,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"797":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"798":{"morph":{"__isSmartRef__":true,"id":780},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"799":{"morph":{"__isSmartRef__":true,"id":780},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"800":{"morph":{"__isSmartRef__":true,"id":780},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"801":{"morph":{"__isSmartRef__":true,"id":780},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"802":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":803},{"__isSmartRef__":true,"id":804}],"_PathElements":[{"__isSmartRef__":true,"id":805},{"__isSmartRef__":true,"id":806}],"renderContextTable":{"__isSmartRef__":true,"id":807},"_Position":{"__isSmartRef__":true,"id":808},"_Extent":{"__isSmartRef__":true,"id":809},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":688},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"803":{"x":146.9078618157696,"y":11.492989485982434,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"804":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"805":{"isAbsolute":true,"x":146.9078618157696,"y":11.492989485982434,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"806":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"807":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"808":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"809":{"x":146.90786743164062,"y":11.492989540100098,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"810":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"811":{"morph":{"__isSmartRef__":true,"id":779},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"812":{"morph":{"__isSmartRef__":true,"id":779},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"813":{"morph":{"__isSmartRef__":true,"id":779},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":780},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"814":{"morphMenuItems":{"__isSmartRef__":true,"id":815}},"815":{"varMapping":{"__isSmartRef__":true,"id":816},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":821},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"816":{"this":{"__isSmartRef__":true,"id":779},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":817}},"817":{"$super":{"__isSmartRef__":true,"id":818}},"818":{"varMapping":{"__isSmartRef__":true,"id":819},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":820},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"819":{"obj":{"__isSmartRef__":true,"id":779},"name":"morphMenuItems"},"820":{},"821":{},"822":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"823":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"824":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"825":{"morph":{"__isSmartRef__":true,"id":737},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"826":{"x":140,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"827":{"x":140,"y":250,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"828":{"x":51.09213818423041,"y":-13.492989485982434,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"829":{"adjustForNewBounds":true,"moveVertical":true},"830":{"submorphs":[{"__isSmartRef__":true,"id":831}],"scripts":[],"id":"17CA69D1-8239-45F9-9747-828695B271A4","shape":{"__isSmartRef__":true,"id":846},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":849},"lighterFill":{"__isSmartRef__":true,"id":862},"label":{"__isSmartRef__":true,"id":831},"attributeConnections":[{"__isSmartRef__":true,"id":871}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":915},"name":"createServerButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":916},"renderContextTable":{"__isSmartRef__":true,"id":917},"eventHandler":{"__isSmartRef__":true,"id":918},"priorExtent":{"__isSmartRef__":true,"id":919},"distanceToDragEvent":{"__isSmartRef__":true,"id":920},"_Position":{"__isSmartRef__":true,"id":921},"owner":{"__isSmartRef__":true,"id":599},"derivationIds":[2950,"1BFBB83F-B163-4851-8ABD-9CD04F7802F7"],"layout":{"__isSmartRef__":true,"id":922},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"831":{"submorphs":[],"scripts":[],"id":"1F3D0D16-7F10-4F91-9D02-61E4E1E6AAB6","shape":{"__isSmartRef__":true,"id":832},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":20,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":838},"textColor":{"__isSmartRef__":true,"id":835},"owner":{"__isSmartRef__":true,"id":830},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":839}],"padding":{"__isSmartRef__":true,"id":841},"_Padding":{"__isSmartRef__":true,"id":842},"prevScroll":[0,0],"_Align":"center","_FontFamily":"Arial","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_VerticalAlign":"middle","_Display":"table-cell","priorExtent":{"__isSmartRef__":true,"id":843},"renderContextTable":{"__isSmartRef__":true,"id":844},"eventHandler":{"__isSmartRef__":true,"id":845},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2951,"03BFF8CC-D79D-48E7-B201-5C892F35F5F8"],"_MinTextWidth":20,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"832":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":833},"_Extent":{"__isSmartRef__":true,"id":834},"_BorderColor":{"__isSmartRef__":true,"id":835},"renderContextTable":{"__isSmartRef__":true,"id":836},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":837},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"833":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"834":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"835":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"836":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"837":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"838":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"839":{"style":{"__isSmartRef__":true,"id":840},"chunkOwner":{"__isSmartRef__":true,"id":831},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"+","__LivelyClassName__":"lively.morphic.TextChunk"},"840":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"841":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"842":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"843":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"844":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"845":{"morph":{"__isSmartRef__":true,"id":831},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"846":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":847},"_Extent":{"__isSmartRef__":true,"id":848},"_Fill":{"__isSmartRef__":true,"id":849},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":859},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":860},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":861},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"847":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"848":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"849":{"stops":[{"__isSmartRef__":true,"id":850},{"__isSmartRef__":true,"id":852},{"__isSmartRef__":true,"id":854},{"__isSmartRef__":true,"id":856}],"vector":{"__isSmartRef__":true,"id":858},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"850":{"offset":0,"color":{"__isSmartRef__":true,"id":851}},"851":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"852":{"offset":0.4,"color":{"__isSmartRef__":true,"id":853}},"853":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"854":{"offset":0.6,"color":{"__isSmartRef__":true,"id":855}},"855":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"856":{"offset":1,"color":{"__isSmartRef__":true,"id":857}},"857":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"858":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"859":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"860":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"861":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"862":{"stops":[{"__isSmartRef__":true,"id":863},{"__isSmartRef__":true,"id":865},{"__isSmartRef__":true,"id":867},{"__isSmartRef__":true,"id":869}],"vector":{"__isSmartRef__":true,"id":858},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"863":{"offset":0,"color":{"__isSmartRef__":true,"id":864}},"864":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"865":{"offset":0.4,"color":{"__isSmartRef__":true,"id":866}},"866":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"867":{"offset":0.6,"color":{"__isSmartRef__":true,"id":868}},"868":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"869":{"offset":1,"color":{"__isSmartRef__":true,"id":870}},"870":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"871":{"sourceObj":{"__isSmartRef__":true,"id":830},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":599},"targetMethodName":"createNewServer","visualConnector":{"__isSmartRef__":true,"id":872},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"872":{"submorphs":[{"__isSmartRef__":true,"id":873}],"scripts":[],"shape":{"__isSmartRef__":true,"id":895},"id":9698,"renderContextTable":{"__isSmartRef__":true,"id":903},"eventHandler":{"__isSmartRef__":true,"id":904},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":905},{"__isSmartRef__":true,"id":906}],"con":{"__isSmartRef__":true,"id":871},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":907},"__LivelyClassName__":"lively.morphic.Path"},"873":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":874},"id":9699,"renderContextTable":{"__isSmartRef__":true,"id":887},"eventHandler":{"__isSmartRef__":true,"id":888},"droppingEnabled":true,"halosEnabled":true,"_Origin":{"__isSmartRef__":true,"id":889},"owner":{"__isSmartRef__":true,"id":872},"_Position":{"__isSmartRef__":true,"id":890},"_Rotation":-2.0204918715703832,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","controlPoints":[{"__isSmartRef__":true,"id":891},{"__isSmartRef__":true,"id":892},{"__isSmartRef__":true,"id":893},{"__isSmartRef__":true,"id":894}],"__LivelyClassName__":"lively.morphic.Path"},"874":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":875},{"__isSmartRef__":true,"id":876},{"__isSmartRef__":true,"id":877},{"__isSmartRef__":true,"id":878}],"_PathElements":[{"__isSmartRef__":true,"id":879},{"__isSmartRef__":true,"id":880},{"__isSmartRef__":true,"id":881},{"__isSmartRef__":true,"id":882}],"renderContextTable":{"__isSmartRef__":true,"id":883},"_Position":{"__isSmartRef__":true,"id":884},"_Extent":{"__isSmartRef__":true,"id":885},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":688},"_Fill":{"__isSmartRef__":true,"id":886},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"875":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"876":{"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"877":{"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"878":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"879":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"880":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"881":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"882":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"883":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"884":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"885":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"886":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"887":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"888":{"morph":{"__isSmartRef__":true,"id":873},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"889":{"x":12,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"890":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"891":{"morph":{"__isSmartRef__":true,"id":873},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"892":{"morph":{"__isSmartRef__":true,"id":873},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"893":{"morph":{"__isSmartRef__":true,"id":873},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"894":{"morph":{"__isSmartRef__":true,"id":873},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"895":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":896},{"__isSmartRef__":true,"id":897}],"_PathElements":[{"__isSmartRef__":true,"id":898},{"__isSmartRef__":true,"id":899}],"renderContextTable":{"__isSmartRef__":true,"id":900},"_Position":{"__isSmartRef__":true,"id":901},"_Extent":{"__isSmartRef__":true,"id":902},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":688},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"896":{"x":120.90786181576959,"y":250.49298948598243,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"897":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"898":{"isAbsolute":true,"x":120.90786181576959,"y":250.49298948598243,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"899":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"900":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"901":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"902":{"x":120.9078598022461,"y":250.4929962158203,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"903":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"904":{"morph":{"__isSmartRef__":true,"id":872},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"905":{"morph":{"__isSmartRef__":true,"id":872},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"906":{"morph":{"__isSmartRef__":true,"id":872},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":873},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"907":{"morphMenuItems":{"__isSmartRef__":true,"id":908}},"908":{"varMapping":{"__isSmartRef__":true,"id":909},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":914},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"909":{"this":{"__isSmartRef__":true,"id":872},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":910}},"910":{"$super":{"__isSmartRef__":true,"id":911}},"911":{"varMapping":{"__isSmartRef__":true,"id":912},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":913},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"912":{"obj":{"__isSmartRef__":true,"id":872},"name":"morphMenuItems"},"913":{},"914":{},"915":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"916":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"917":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"918":{"morph":{"__isSmartRef__":true,"id":830},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"919":{"x":140,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"920":{"x":43.09213818423041,"y":-14.492989485982434,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"921":{"x":88,"y":250,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"922":{"adjustForNewBounds":true,"moveVertical":true},"923":{"submorphs":[{"__isSmartRef__":true,"id":924}],"scripts":[],"id":"F2CD5FE6-923B-4D2C-A183-E3B789123729","shape":{"__isSmartRef__":true,"id":939},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":942},"lighterFill":{"__isSmartRef__":true,"id":955},"label":{"__isSmartRef__":true,"id":924},"attributeConnections":[{"__isSmartRef__":true,"id":964}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1008},"name":"removeServerButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1009},"renderContextTable":{"__isSmartRef__":true,"id":1010},"eventHandler":{"__isSmartRef__":true,"id":1011},"priorExtent":{"__isSmartRef__":true,"id":1012},"distanceToDragEvent":{"__isSmartRef__":true,"id":1013},"_Position":{"__isSmartRef__":true,"id":1014},"owner":{"__isSmartRef__":true,"id":599},"derivationIds":[2952,"1B78AB96-A237-4DEF-AE4E-8DF07B3128B3"],"layout":{"__isSmartRef__":true,"id":1015},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"924":{"submorphs":[],"scripts":[],"id":"6D099358-8D32-4500-B6BA-226258F38CB2","shape":{"__isSmartRef__":true,"id":925},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":20,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":931},"textColor":{"__isSmartRef__":true,"id":928},"owner":{"__isSmartRef__":true,"id":923},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":932}],"padding":{"__isSmartRef__":true,"id":934},"_Padding":{"__isSmartRef__":true,"id":935},"prevScroll":[0,0],"_Align":"center","_FontFamily":"Arial","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_VerticalAlign":"middle","_Display":"table-cell","priorExtent":{"__isSmartRef__":true,"id":936},"renderContextTable":{"__isSmartRef__":true,"id":937},"eventHandler":{"__isSmartRef__":true,"id":938},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2953,"EBE14E46-51F4-4360-A642-76F7F8C5E2E9"],"_MinTextWidth":20,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"925":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":926},"_Extent":{"__isSmartRef__":true,"id":927},"_BorderColor":{"__isSmartRef__":true,"id":928},"renderContextTable":{"__isSmartRef__":true,"id":929},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":930},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"926":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"927":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"928":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"929":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"930":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"931":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"932":{"style":{"__isSmartRef__":true,"id":933},"chunkOwner":{"__isSmartRef__":true,"id":924},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"-","__LivelyClassName__":"lively.morphic.TextChunk"},"933":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"934":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"935":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"936":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"937":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"938":{"morph":{"__isSmartRef__":true,"id":924},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"939":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":940},"_Extent":{"__isSmartRef__":true,"id":941},"_Fill":{"__isSmartRef__":true,"id":942},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":952},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":953},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":954},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"940":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"941":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"942":{"stops":[{"__isSmartRef__":true,"id":943},{"__isSmartRef__":true,"id":945},{"__isSmartRef__":true,"id":947},{"__isSmartRef__":true,"id":949}],"vector":{"__isSmartRef__":true,"id":951},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"943":{"offset":0,"color":{"__isSmartRef__":true,"id":944}},"944":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"945":{"offset":0.4,"color":{"__isSmartRef__":true,"id":946}},"946":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"947":{"offset":0.6,"color":{"__isSmartRef__":true,"id":948}},"948":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"949":{"offset":1,"color":{"__isSmartRef__":true,"id":950}},"950":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"951":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"952":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"953":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"954":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"955":{"stops":[{"__isSmartRef__":true,"id":956},{"__isSmartRef__":true,"id":958},{"__isSmartRef__":true,"id":960},{"__isSmartRef__":true,"id":962}],"vector":{"__isSmartRef__":true,"id":951},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"956":{"offset":0,"color":{"__isSmartRef__":true,"id":957}},"957":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"958":{"offset":0.4,"color":{"__isSmartRef__":true,"id":959}},"959":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"960":{"offset":0.6,"color":{"__isSmartRef__":true,"id":961}},"961":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"962":{"offset":1,"color":{"__isSmartRef__":true,"id":963}},"963":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"964":{"sourceObj":{"__isSmartRef__":true,"id":923},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":599},"targetMethodName":"removeServer","visualConnector":{"__isSmartRef__":true,"id":965},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"965":{"submorphs":[{"__isSmartRef__":true,"id":966}],"scripts":[],"shape":{"__isSmartRef__":true,"id":988},"id":10296,"renderContextTable":{"__isSmartRef__":true,"id":996},"eventHandler":{"__isSmartRef__":true,"id":997},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":998},{"__isSmartRef__":true,"id":999}],"con":{"__isSmartRef__":true,"id":964},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1000},"__LivelyClassName__":"lively.morphic.Path"},"966":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":967},"id":10297,"renderContextTable":{"__isSmartRef__":true,"id":980},"eventHandler":{"__isSmartRef__":true,"id":981},"droppingEnabled":true,"halosEnabled":true,"_Origin":{"__isSmartRef__":true,"id":982},"owner":{"__isSmartRef__":true,"id":965},"_Position":{"__isSmartRef__":true,"id":983},"_Rotation":-2.0237245970150264,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","controlPoints":[{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":985},{"__isSmartRef__":true,"id":986},{"__isSmartRef__":true,"id":987}],"__LivelyClassName__":"lively.morphic.Path"},"967":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":968},{"__isSmartRef__":true,"id":969},{"__isSmartRef__":true,"id":970},{"__isSmartRef__":true,"id":971}],"_PathElements":[{"__isSmartRef__":true,"id":972},{"__isSmartRef__":true,"id":973},{"__isSmartRef__":true,"id":974},{"__isSmartRef__":true,"id":975}],"renderContextTable":{"__isSmartRef__":true,"id":976},"_Position":{"__isSmartRef__":true,"id":977},"_Extent":{"__isSmartRef__":true,"id":978},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":688},"_Fill":{"__isSmartRef__":true,"id":979},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"968":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"969":{"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"970":{"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"971":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"972":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"973":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"974":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"975":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"976":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"977":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"978":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"979":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"980":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"981":{"morph":{"__isSmartRef__":true,"id":966},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"982":{"x":12,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"983":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"984":{"morph":{"__isSmartRef__":true,"id":966},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"985":{"morph":{"__isSmartRef__":true,"id":966},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"986":{"morph":{"__isSmartRef__":true,"id":966},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"987":{"morph":{"__isSmartRef__":true,"id":966},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"988":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":989},{"__isSmartRef__":true,"id":990}],"_PathElements":[{"__isSmartRef__":true,"id":991},{"__isSmartRef__":true,"id":992}],"renderContextTable":{"__isSmartRef__":true,"id":993},"_Position":{"__isSmartRef__":true,"id":994},"_Extent":{"__isSmartRef__":true,"id":995},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":688},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"989":{"x":121.90786181576959,"y":250.49298948598243,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"990":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"991":{"isAbsolute":true,"x":121.90786181576959,"y":250.49298948598243,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"992":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"993":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"994":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"995":{"x":121.9078598022461,"y":250.4929962158203,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"996":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"997":{"morph":{"__isSmartRef__":true,"id":965},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"998":{"morph":{"__isSmartRef__":true,"id":965},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"999":{"morph":{"__isSmartRef__":true,"id":965},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":966},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1000":{"morphMenuItems":{"__isSmartRef__":true,"id":1001}},"1001":{"varMapping":{"__isSmartRef__":true,"id":1002},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":1007},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1002":{"this":{"__isSmartRef__":true,"id":965},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1003}},"1003":{"$super":{"__isSmartRef__":true,"id":1004}},"1004":{"varMapping":{"__isSmartRef__":true,"id":1005},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1006},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1005":{"obj":{"__isSmartRef__":true,"id":965},"name":"morphMenuItems"},"1006":{},"1007":{},"1008":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1009":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1010":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1011":{"morph":{"__isSmartRef__":true,"id":923},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1012":{"x":140,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1013":{"x":46.09213818423041,"y":-10.492989485982434,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1014":{"x":114,"y":250,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1015":{"moveVertical":true,"adjustForNewBounds":true},"1016":{"submorphs":[],"scripts":[],"id":"A87CB3B8-47EF-43FD-9028-4085B4AFC9AF","shape":{"__isSmartRef__":true,"id":1017},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1024},"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,Courier","_Position":{"__isSmartRef__":true,"id":1025},"_MaxTextWidth":406.9875304742795,"_MaxTextHeight":null,"textChunks":[{"__isSmartRef__":true,"id":1026}],"layout":{"__isSmartRef__":true,"id":1028},"showsHalos":false,"prevScroll":[0,242],"name":"logText","charsReplaced":"code","lastFindLoc":-1,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1029},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1030},"_ClipMode":"auto","renderContextTable":{"__isSmartRef__":true,"id":1031},"eventHandler":{"__isSmartRef__":true,"id":1032},"syntaxHighlightingWhileTyping":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"lastSyntaxHighlightTime":1310575732527,"savedTextString":"// code\n","_FontSize":10,"owner":{"__isSmartRef__":true,"id":599},"distanceToDragEvent":{"__isSmartRef__":true,"id":1033},"derivationIds":[2954,"677F56CD-A513-4B47-8269-BA1850098C56"],"_MinTextWidth":406.9875304742795,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"isBeingDragged":false,"priorSelectionRange":[378,406],"__LivelyClassName__":"lively.morphic.Text"},"1017":{"_Position":{"__isSmartRef__":true,"id":1018},"_Extent":{"__isSmartRef__":true,"id":1019},"_BorderWidth":1.4800000000000002,"_BorderColor":{"__isSmartRef__":true,"id":1020},"_Fill":{"__isSmartRef__":true,"id":1021},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1022},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"inset","_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":1023},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1018":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1019":{"x":424.94753047427946,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1020":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1021":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1022":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1023":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1024":{"x":2,"y":1,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1025":{"x":168,"y":24,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1026":{"style":{"__isSmartRef__":true,"id":1027},"chunkOwner":{"__isSmartRef__":true,"id":1016},"storedString":"stdout:\n \u001b[36minfo -\u001b[39m socket.io started\ndefault: currently connected clients:\n12548920951467225533\n\n\nstderr:\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1027":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1028":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"1029":{"requiredModules":[],"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","partName":"CodePane","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1030":{"x":424.94753047427946,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1031":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1032":{"morph":{"__isSmartRef__":true,"id":1016},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1033":{"x":300.8981527962551,"y":-20.02396404794007,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1034":{"submorphs":[{"__isSmartRef__":true,"id":1035}],"scripts":[],"id":"8DD891A1-FE59-4FC1-A4EF-2C4745DCCF76","shape":{"__isSmartRef__":true,"id":1050},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1053},"lighterFill":{"__isSmartRef__":true,"id":1066},"label":{"__isSmartRef__":true,"id":1035},"attributeConnections":[{"__isSmartRef__":true,"id":1075}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1116},"name":"browseButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1117},"renderContextTable":{"__isSmartRef__":true,"id":1118},"eventHandler":{"__isSmartRef__":true,"id":1119},"priorExtent":{"__isSmartRef__":true,"id":1120},"distanceToDragEvent":{"__isSmartRef__":true,"id":1121},"_Position":{"__isSmartRef__":true,"id":1122},"owner":{"__isSmartRef__":true,"id":599},"derivationIds":[2955,"2F37CC3B-A26D-4F01-B440-C303D7B8A440"],"layout":{"__isSmartRef__":true,"id":1123},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"1035":{"submorphs":[],"scripts":[],"id":"5C577623-DFFD-4D87-964E-E6C158A1EAAA","shape":{"__isSmartRef__":true,"id":1036},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":77,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1042},"textColor":{"__isSmartRef__":true,"id":1039},"owner":{"__isSmartRef__":true,"id":1034},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1043}],"padding":{"__isSmartRef__":true,"id":1045},"_Padding":{"__isSmartRef__":true,"id":1046},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1047},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":1048},"eventHandler":{"__isSmartRef__":true,"id":1049},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_FontSize":11,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2956,"A5C2870B-A8B3-4D91-98EB-AD239BBF4357"],"_MinTextWidth":77,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1036":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1037},"_Extent":{"__isSmartRef__":true,"id":1038},"_BorderColor":{"__isSmartRef__":true,"id":1039},"renderContextTable":{"__isSmartRef__":true,"id":1040},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1041},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1037":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1038":{"x":77,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1039":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1040":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1041":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1042":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1043":{"style":{"__isSmartRef__":true,"id":1044},"chunkOwner":{"__isSmartRef__":true,"id":1035},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"browse","__LivelyClassName__":"lively.morphic.TextChunk"},"1044":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1045":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1046":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1047":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1048":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1049":{"morph":{"__isSmartRef__":true,"id":1035},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1050":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1051},"_Extent":{"__isSmartRef__":true,"id":1052},"_Fill":{"__isSmartRef__":true,"id":1053},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1063},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1064},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1065},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1051":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1052":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1053":{"stops":[{"__isSmartRef__":true,"id":1054},{"__isSmartRef__":true,"id":1056},{"__isSmartRef__":true,"id":1058},{"__isSmartRef__":true,"id":1060}],"vector":{"__isSmartRef__":true,"id":1062},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1054":{"offset":0,"color":{"__isSmartRef__":true,"id":1055}},"1055":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1056":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1057}},"1057":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1058":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1059}},"1059":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1060":{"offset":1,"color":{"__isSmartRef__":true,"id":1061}},"1061":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1062":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1063":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1064":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1065":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1066":{"stops":[{"__isSmartRef__":true,"id":1067},{"__isSmartRef__":true,"id":1069},{"__isSmartRef__":true,"id":1071},{"__isSmartRef__":true,"id":1073}],"vector":{"__isSmartRef__":true,"id":1062},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1067":{"offset":0,"color":{"__isSmartRef__":true,"id":1068}},"1068":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1069":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1070}},"1070":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1071":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1072}},"1072":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1073":{"offset":1,"color":{"__isSmartRef__":true,"id":1074}},"1074":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1075":{"sourceObj":{"__isSmartRef__":true,"id":1034},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":599},"targetMethodName":"browseSelectedServer","visualConnector":{"__isSmartRef__":true,"id":1076},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1076":{"submorphs":[{"__isSmartRef__":true,"id":1077}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1096},"id":4400,"renderContextTable":{"__isSmartRef__":true,"id":1104},"eventHandler":{"__isSmartRef__":true,"id":1105},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":1106},{"__isSmartRef__":true,"id":1107}],"con":{"__isSmartRef__":true,"id":1075},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1108},"__LivelyClassName__":"lively.morphic.Path"},"1077":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1078},"id":4401,"renderContextTable":{"__isSmartRef__":true,"id":1092},"eventHandler":{"__isSmartRef__":true,"id":1093},"droppingEnabled":true,"halosEnabled":true,"_Origin":{"__isSmartRef__":true,"id":1094},"owner":{"__isSmartRef__":true,"id":1076},"_Position":{"__isSmartRef__":true,"id":1095},"_Rotation":-2.453360466464193,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"1078":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":1079},{"__isSmartRef__":true,"id":1080},{"__isSmartRef__":true,"id":1081},{"__isSmartRef__":true,"id":1082}],"_PathElements":[{"__isSmartRef__":true,"id":1083},{"__isSmartRef__":true,"id":1084},{"__isSmartRef__":true,"id":1085},{"__isSmartRef__":true,"id":1086}],"renderContextTable":{"__isSmartRef__":true,"id":1087},"_Position":{"__isSmartRef__":true,"id":1088},"_Extent":{"__isSmartRef__":true,"id":1089},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1090},"_Fill":{"__isSmartRef__":true,"id":1091},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1079":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1080":{"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1081":{"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1082":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1083":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1084":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1085":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1086":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1087":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1088":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1089":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1090":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1091":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1092":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1093":{"morph":{"__isSmartRef__":true,"id":1077},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1094":{"x":12,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1095":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1096":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":1097},{"__isSmartRef__":true,"id":1098}],"_PathElements":[{"__isSmartRef__":true,"id":1099},{"__isSmartRef__":true,"id":1100}],"renderContextTable":{"__isSmartRef__":true,"id":1101},"_Position":{"__isSmartRef__":true,"id":1102},"_Extent":{"__isSmartRef__":true,"id":1103},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1090},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1097":{"x":304,"y":250,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1098":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1099":{"isAbsolute":true,"x":304,"y":250,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1100":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1101":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1102":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1103":{"x":304,"y":250,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1104":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1105":{"morph":{"__isSmartRef__":true,"id":1076},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1106":{"morph":{"__isSmartRef__":true,"id":1076},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1107":{"morph":{"__isSmartRef__":true,"id":1076},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":1077},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1108":{"morphMenuItems":{"__isSmartRef__":true,"id":1109}},"1109":{"varMapping":{"__isSmartRef__":true,"id":1110},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":1115},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1110":{"this":{"__isSmartRef__":true,"id":1076},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1111}},"1111":{"$super":{"__isSmartRef__":true,"id":1112}},"1112":{"varMapping":{"__isSmartRef__":true,"id":1113},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1114},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1113":{"obj":{"__isSmartRef__":true,"id":1076},"name":"morphMenuItems"},"1114":{},"1115":{},"1116":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1117":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","partName":"Button","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1118":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1119":{"morph":{"__isSmartRef__":true,"id":1034},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1120":{"x":78,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1121":{"x":67,"y":-16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1122":{"x":334.94753047427946,"y":252,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1123":{"adjustForNewBounds":true,"moveVertical":true,"moveHorizontal":true},"1124":{"submorphs":[{"__isSmartRef__":true,"id":1125}],"scripts":[],"id":"1129315A-B143-48F3-B2F6-790C24EF1510","shape":{"__isSmartRef__":true,"id":1140},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1143},"lighterFill":{"__isSmartRef__":true,"id":1156},"label":{"__isSmartRef__":true,"id":1125},"attributeConnections":[{"__isSmartRef__":true,"id":1165}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1209},"name":"restartButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1210},"renderContextTable":{"__isSmartRef__":true,"id":1211},"eventHandler":{"__isSmartRef__":true,"id":1212},"priorExtent":{"__isSmartRef__":true,"id":1213},"_Position":{"__isSmartRef__":true,"id":1214},"owner":{"__isSmartRef__":true,"id":599},"distanceToDragEvent":{"__isSmartRef__":true,"id":1215},"derivationIds":[2957,"9637758C-F7D8-4FC0-9A91-2B9B62533684"],"layout":{"__isSmartRef__":true,"id":1216},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"1125":{"submorphs":[],"scripts":[],"id":"D9DDB077-7F94-4228-955F-F937287A4C91","shape":{"__isSmartRef__":true,"id":1126},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":77,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1132},"textColor":{"__isSmartRef__":true,"id":1129},"owner":{"__isSmartRef__":true,"id":1124},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1133}],"padding":{"__isSmartRef__":true,"id":1135},"_Padding":{"__isSmartRef__":true,"id":1136},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1137},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":1138},"eventHandler":{"__isSmartRef__":true,"id":1139},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_FontSize":11,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2958,"87A7C3E1-E2EE-4663-92CE-D5F465B2276D"],"_MinTextWidth":77,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1126":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1127},"_Extent":{"__isSmartRef__":true,"id":1128},"_BorderColor":{"__isSmartRef__":true,"id":1129},"renderContextTable":{"__isSmartRef__":true,"id":1130},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1131},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1127":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1128":{"x":77,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1129":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1130":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1131":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1132":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1133":{"style":{"__isSmartRef__":true,"id":1134},"chunkOwner":{"__isSmartRef__":true,"id":1125},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"(re)start","__LivelyClassName__":"lively.morphic.TextChunk"},"1134":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1135":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1136":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1137":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1138":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1139":{"morph":{"__isSmartRef__":true,"id":1125},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1140":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1141},"_Extent":{"__isSmartRef__":true,"id":1142},"_Fill":{"__isSmartRef__":true,"id":1143},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1153},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1154},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1155},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1141":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1142":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1143":{"stops":[{"__isSmartRef__":true,"id":1144},{"__isSmartRef__":true,"id":1146},{"__isSmartRef__":true,"id":1148},{"__isSmartRef__":true,"id":1150}],"vector":{"__isSmartRef__":true,"id":1152},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1144":{"offset":0,"color":{"__isSmartRef__":true,"id":1145}},"1145":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1146":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1147}},"1147":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1148":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1149}},"1149":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1150":{"offset":1,"color":{"__isSmartRef__":true,"id":1151}},"1151":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1152":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1153":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1154":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1155":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1156":{"stops":[{"__isSmartRef__":true,"id":1157},{"__isSmartRef__":true,"id":1159},{"__isSmartRef__":true,"id":1161},{"__isSmartRef__":true,"id":1163}],"vector":{"__isSmartRef__":true,"id":1152},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1157":{"offset":0,"color":{"__isSmartRef__":true,"id":1158}},"1158":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1159":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1160}},"1160":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1161":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1162}},"1162":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1163":{"offset":1,"color":{"__isSmartRef__":true,"id":1164}},"1164":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1165":{"sourceObj":{"__isSmartRef__":true,"id":1124},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":599},"targetMethodName":"restartCurrentServer","visualConnector":{"__isSmartRef__":true,"id":1166},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1166":{"submorphs":[{"__isSmartRef__":true,"id":1167}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1189},"id":5997,"renderContextTable":{"__isSmartRef__":true,"id":1197},"eventHandler":{"__isSmartRef__":true,"id":1198},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":1199},{"__isSmartRef__":true,"id":1200}],"con":{"__isSmartRef__":true,"id":1165},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1201},"__LivelyClassName__":"lively.morphic.Path"},"1167":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1168},"id":5998,"renderContextTable":{"__isSmartRef__":true,"id":1181},"eventHandler":{"__isSmartRef__":true,"id":1182},"droppingEnabled":true,"halosEnabled":true,"_Origin":{"__isSmartRef__":true,"id":1183},"owner":{"__isSmartRef__":true,"id":1166},"_Position":{"__isSmartRef__":true,"id":1184},"_Rotation":-2.444571276337194,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","controlPoints":[{"__isSmartRef__":true,"id":1185},{"__isSmartRef__":true,"id":1186},{"__isSmartRef__":true,"id":1187},{"__isSmartRef__":true,"id":1188}],"__LivelyClassName__":"lively.morphic.Path"},"1168":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":1169},{"__isSmartRef__":true,"id":1170},{"__isSmartRef__":true,"id":1171},{"__isSmartRef__":true,"id":1172}],"_PathElements":[{"__isSmartRef__":true,"id":1173},{"__isSmartRef__":true,"id":1174},{"__isSmartRef__":true,"id":1175},{"__isSmartRef__":true,"id":1176}],"renderContextTable":{"__isSmartRef__":true,"id":1177},"_Position":{"__isSmartRef__":true,"id":1178},"_Extent":{"__isSmartRef__":true,"id":1179},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":688},"_Fill":{"__isSmartRef__":true,"id":1180},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1169":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1170":{"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1171":{"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1172":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1173":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1174":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1175":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1176":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1177":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1178":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1179":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1180":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1181":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1182":{"morph":{"__isSmartRef__":true,"id":1167},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1183":{"x":12,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1184":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1185":{"morph":{"__isSmartRef__":true,"id":1167},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1186":{"morph":{"__isSmartRef__":true,"id":1167},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1187":{"morph":{"__isSmartRef__":true,"id":1167},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1188":{"morph":{"__isSmartRef__":true,"id":1167},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1189":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":1190},{"__isSmartRef__":true,"id":1191}],"_PathElements":[{"__isSmartRef__":true,"id":1192},{"__isSmartRef__":true,"id":1193}],"renderContextTable":{"__isSmartRef__":true,"id":1194},"_Position":{"__isSmartRef__":true,"id":1195},"_Extent":{"__isSmartRef__":true,"id":1196},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":688},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1190":{"x":172,"y":144,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1191":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1192":{"isAbsolute":true,"x":172,"y":144,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1193":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1194":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1195":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1196":{"x":172,"y":144,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1197":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1198":{"morph":{"__isSmartRef__":true,"id":1166},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1199":{"morph":{"__isSmartRef__":true,"id":1166},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1200":{"morph":{"__isSmartRef__":true,"id":1166},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":1167},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1201":{"morphMenuItems":{"__isSmartRef__":true,"id":1202}},"1202":{"varMapping":{"__isSmartRef__":true,"id":1203},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":1208},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1203":{"this":{"__isSmartRef__":true,"id":1166},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1204}},"1204":{"$super":{"__isSmartRef__":true,"id":1205}},"1205":{"varMapping":{"__isSmartRef__":true,"id":1206},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1207},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1206":{"obj":{"__isSmartRef__":true,"id":1166},"name":"morphMenuItems"},"1207":{},"1208":{},"1209":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1210":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","partName":"Button","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1211":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1212":{"morph":{"__isSmartRef__":true,"id":1124},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1213":{"x":78,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1214":{"x":417.94753047427946,"y":252,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1215":{"x":79,"y":-10.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1216":{"adjustForNewBounds":true,"moveVertical":true,"moveHorizontal":true},"1217":{"submorphs":[{"__isSmartRef__":true,"id":1218}],"scripts":[],"id":"C4414B5F-D48C-49B4-BD21-279A125FBBD1","shape":{"__isSmartRef__":true,"id":1233},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1236},"lighterFill":{"__isSmartRef__":true,"id":1249},"label":{"__isSmartRef__":true,"id":1218},"attributeConnections":[{"__isSmartRef__":true,"id":1258}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1302},"name":"stopButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1303},"renderContextTable":{"__isSmartRef__":true,"id":1304},"eventHandler":{"__isSmartRef__":true,"id":1305},"priorExtent":{"__isSmartRef__":true,"id":1306},"distanceToDragEvent":{"__isSmartRef__":true,"id":1307},"_Position":{"__isSmartRef__":true,"id":1308},"owner":{"__isSmartRef__":true,"id":599},"derivationIds":[2959,"D4C3F858-71B6-438D-8B68-EF60CE014253"],"layout":{"__isSmartRef__":true,"id":1309},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"1218":{"submorphs":[],"scripts":[],"id":"607A4EE2-655F-48A9-B8E3-02C7BE7CD56C","shape":{"__isSmartRef__":true,"id":1219},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":77,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1225},"textColor":{"__isSmartRef__":true,"id":1222},"owner":{"__isSmartRef__":true,"id":1217},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1226}],"padding":{"__isSmartRef__":true,"id":1228},"_Padding":{"__isSmartRef__":true,"id":1229},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1230},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":1231},"eventHandler":{"__isSmartRef__":true,"id":1232},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_FontSize":11,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2960,"C6423782-FD54-4378-8B47-1BCACA42FB12"],"_MinTextWidth":77,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1219":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1220},"_Extent":{"__isSmartRef__":true,"id":1221},"_BorderColor":{"__isSmartRef__":true,"id":1222},"renderContextTable":{"__isSmartRef__":true,"id":1223},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1224},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1220":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1221":{"x":77,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1222":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1223":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1224":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1225":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1226":{"style":{"__isSmartRef__":true,"id":1227},"chunkOwner":{"__isSmartRef__":true,"id":1218},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"stop","__LivelyClassName__":"lively.morphic.TextChunk"},"1227":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1228":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1229":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1230":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1231":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1232":{"morph":{"__isSmartRef__":true,"id":1218},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1233":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1234},"_Extent":{"__isSmartRef__":true,"id":1235},"_Fill":{"__isSmartRef__":true,"id":1236},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1246},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1247},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1248},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1234":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1235":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1236":{"stops":[{"__isSmartRef__":true,"id":1237},{"__isSmartRef__":true,"id":1239},{"__isSmartRef__":true,"id":1241},{"__isSmartRef__":true,"id":1243}],"vector":{"__isSmartRef__":true,"id":1245},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1237":{"offset":0,"color":{"__isSmartRef__":true,"id":1238}},"1238":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1239":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1240}},"1240":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1241":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1242}},"1242":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1243":{"offset":1,"color":{"__isSmartRef__":true,"id":1244}},"1244":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1245":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1246":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1247":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1248":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1249":{"stops":[{"__isSmartRef__":true,"id":1250},{"__isSmartRef__":true,"id":1252},{"__isSmartRef__":true,"id":1254},{"__isSmartRef__":true,"id":1256}],"vector":{"__isSmartRef__":true,"id":1245},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1250":{"offset":0,"color":{"__isSmartRef__":true,"id":1251}},"1251":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1252":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1253}},"1253":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1254":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1255}},"1255":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1256":{"offset":1,"color":{"__isSmartRef__":true,"id":1257}},"1257":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1258":{"sourceObj":{"__isSmartRef__":true,"id":1217},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":599},"targetMethodName":"stopCurrentServer","visualConnector":{"__isSmartRef__":true,"id":1259},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1259":{"submorphs":[{"__isSmartRef__":true,"id":1260}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1282},"id":8319,"renderContextTable":{"__isSmartRef__":true,"id":1290},"eventHandler":{"__isSmartRef__":true,"id":1291},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":1292},{"__isSmartRef__":true,"id":1293}],"con":{"__isSmartRef__":true,"id":1258},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1294},"__LivelyClassName__":"lively.morphic.Path"},"1260":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1261},"id":8320,"renderContextTable":{"__isSmartRef__":true,"id":1274},"eventHandler":{"__isSmartRef__":true,"id":1275},"droppingEnabled":true,"halosEnabled":true,"_Origin":{"__isSmartRef__":true,"id":1276},"owner":{"__isSmartRef__":true,"id":1259},"_Position":{"__isSmartRef__":true,"id":1277},"_Rotation":-2.3816293170298204,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","controlPoints":[{"__isSmartRef__":true,"id":1278},{"__isSmartRef__":true,"id":1279},{"__isSmartRef__":true,"id":1280},{"__isSmartRef__":true,"id":1281}],"__LivelyClassName__":"lively.morphic.Path"},"1261":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":1262},{"__isSmartRef__":true,"id":1263},{"__isSmartRef__":true,"id":1264},{"__isSmartRef__":true,"id":1265}],"_PathElements":[{"__isSmartRef__":true,"id":1266},{"__isSmartRef__":true,"id":1267},{"__isSmartRef__":true,"id":1268},{"__isSmartRef__":true,"id":1269}],"renderContextTable":{"__isSmartRef__":true,"id":1270},"_Position":{"__isSmartRef__":true,"id":1271},"_Extent":{"__isSmartRef__":true,"id":1272},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":688},"_Fill":{"__isSmartRef__":true,"id":1273},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1262":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1263":{"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1264":{"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1265":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1266":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1267":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1268":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1269":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1270":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1271":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1272":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1273":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1274":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1275":{"morph":{"__isSmartRef__":true,"id":1260},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1276":{"x":12,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1277":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1278":{"morph":{"__isSmartRef__":true,"id":1260},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1279":{"morph":{"__isSmartRef__":true,"id":1260},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1280":{"morph":{"__isSmartRef__":true,"id":1260},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1281":{"morph":{"__isSmartRef__":true,"id":1260},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1282":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":1283},{"__isSmartRef__":true,"id":1284}],"_PathElements":[{"__isSmartRef__":true,"id":1285},{"__isSmartRef__":true,"id":1286}],"renderContextTable":{"__isSmartRef__":true,"id":1287},"_Position":{"__isSmartRef__":true,"id":1288},"_Extent":{"__isSmartRef__":true,"id":1289},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":688},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1283":{"x":262,"y":249.00000000000006,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1284":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1285":{"isAbsolute":true,"x":262,"y":249.00000000000006,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1286":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1287":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1288":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1289":{"x":262,"y":249,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1290":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1291":{"morph":{"__isSmartRef__":true,"id":1259},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1292":{"morph":{"__isSmartRef__":true,"id":1259},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1293":{"morph":{"__isSmartRef__":true,"id":1259},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":1260},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1294":{"morphMenuItems":{"__isSmartRef__":true,"id":1295}},"1295":{"varMapping":{"__isSmartRef__":true,"id":1296},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":1301},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1296":{"this":{"__isSmartRef__":true,"id":1259},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1297}},"1297":{"$super":{"__isSmartRef__":true,"id":1298}},"1298":{"varMapping":{"__isSmartRef__":true,"id":1299},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1300},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1299":{"obj":{"__isSmartRef__":true,"id":1259},"name":"morphMenuItems"},"1300":{},"1301":{},"1302":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1303":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","partName":"Button","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1304":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1305":{"morph":{"__isSmartRef__":true,"id":1217},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1306":{"x":78,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1307":{"x":77,"y":-13.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1308":{"x":500.94753047427946,"y":252,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1309":{"adjustForNewBounds":true,"moveVertical":true,"moveHorizontal":true},"1310":{"submorphs":[],"scripts":[],"id":"E104052E-7B2E-46C0-85B7-459812D7773B","shape":{"__isSmartRef__":true,"id":1311},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1317},"_MaxTextWidth":364.65828402366867,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1314},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"urlText","partsBinMetaInfo":{"__isSmartRef__":true,"id":1318},"textChunks":[{"__isSmartRef__":true,"id":1319}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":[34,34],"prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":599},"priorExtent":{"__isSmartRef__":true,"id":1321},"renderContextTable":{"__isSmartRef__":true,"id":1322},"eventHandler":{"__isSmartRef__":true,"id":1323},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_ClipMode":"visible","derivationIds":[2961,"644179E8-29E3-4C22-BCAF-998B618D1999"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":364.65828402366867,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1311":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1312},"_Extent":{"__isSmartRef__":true,"id":1313},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1314},"renderContextTable":{"__isSmartRef__":true,"id":1315},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1316},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1312":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1313":{"x":364.65828402366867,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1314":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1315":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1316":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1317":{"x":196.2892464506108,"y":3.7730671701785496,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1318":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1319":{"style":{"__isSmartRef__":true,"id":1320},"chunkOwner":{"__isSmartRef__":true,"id":1310},"storedString":"http://lively-kernel.org/nodejs/WhiteboardServer/","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1320":{"uri":"http://lively-kernel.org/nodejs/WhiteboardServer/","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1321":{"x":364.65828402366867,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1322":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1323":{"morph":{"__isSmartRef__":true,"id":1310},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1324":{"position":{"__isSmartRef__":true,"id":1325},"_Extent":{"__isSmartRef__":true,"id":1326},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1327},"_Fill":{"__isSmartRef__":true,"id":1328},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1329},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1330},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1325":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1326":{"x":596.9475304742795,"y":278,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1327":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1328":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1329":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1330":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1331":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"NodeJSControl","requiredModules":["server.nodejs.WebInterface"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1332":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1333":{"morph":{"__isSmartRef__":true,"id":599},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1334":{"sourceObj":{"__isSmartRef__":true,"id":599},"sourceAttrName":"currentServer","targetObj":{"__isSmartRef__":true,"id":599},"targetMethodName":"showServerInfo","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1335":{"x":596.9475304742795,"y":278,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1336":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"1337":{"refreshServerList":{"__isSmartRef__":true,"id":1338},"getMasterServerInterface":{"__isSmartRef__":true,"id":1340},"getRunningServers":{"__isSmartRef__":true,"id":1342},"showServerInfo":{"__isSmartRef__":true,"id":1344},"setupConnections":{"__isSmartRef__":true,"id":1346},"restartCurrentServer":{"__isSmartRef__":true,"id":1348},"serverIsRunning":{"__isSmartRef__":true,"id":1350},"setColorOfServerStateIndicator":{"__isSmartRef__":true,"id":1352},"serverIsNotRunning":{"__isSmartRef__":true,"id":1354},"serverstateIsUnknown":{"__isSmartRef__":true,"id":1356},"serverStateIsUnknown":{"__isSmartRef__":true,"id":1358},"stopCurrentServer":{"__isSmartRef__":true,"id":1360},"createNewServer":{"__isSmartRef__":true,"id":1362},"removeServer":{"__isSmartRef__":true,"id":1364},"browseSelectedServer":{"__isSmartRef__":true,"id":1366},"reset":{"__isSmartRef__":true,"id":1368},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":1370}},"1338":{"time":{"__isSmartRef__":true,"id":1339},"user":"robertkrahn"},"1339":{"isSerializedDate":true,"string":"Thu Jul 14 2011 15:19:10 GMT+0200 (CEST)"},"1340":{"time":{"__isSmartRef__":true,"id":1341},"user":"robertkrahn"},"1341":{"isSerializedDate":true,"string":"Wed Jul 13 2011 19:05:22 GMT+0200 (CEST)"},"1342":{"time":{"__isSmartRef__":true,"id":1343},"user":"robertkrahn"},"1343":{"isSerializedDate":true,"string":"Wed Jul 13 2011 20:36:29 GMT+0200 (CEST)"},"1344":{"time":{"__isSmartRef__":true,"id":1345},"user":"robertkrahn"},"1345":{"isSerializedDate":true,"string":"Thu Jul 14 2011 02:47:56 GMT+0200 (CEST)"},"1346":{"time":{"__isSmartRef__":true,"id":1347},"user":"robertkrahn"},"1347":{"isSerializedDate":true,"string":"Wed Jul 13 2011 18:57:57 GMT+0200 (CEST)"},"1348":{"time":{"__isSmartRef__":true,"id":1349},"user":"robertkrahn"},"1349":{"isSerializedDate":true,"string":"Wed Jul 13 2011 21:36:07 GMT+0200 (CEST)"},"1350":{"time":{"__isSmartRef__":true,"id":1351},"user":"robertkrahn"},"1351":{"isSerializedDate":true,"string":"Wed Jul 13 2011 21:14:41 GMT+0200 (CEST)"},"1352":{"time":{"__isSmartRef__":true,"id":1353},"user":"robertkrahn"},"1353":{"isSerializedDate":true,"string":"Wed Jul 13 2011 21:14:57 GMT+0200 (CEST)"},"1354":{"time":{"__isSmartRef__":true,"id":1355},"user":"robertkrahn"},"1355":{"isSerializedDate":true,"string":"Wed Jul 13 2011 21:15:06 GMT+0200 (CEST)"},"1356":{"time":{"__isSmartRef__":true,"id":1357},"user":"robertkrahn"},"1357":{"isSerializedDate":true,"string":"Wed Jul 13 2011 21:15:27 GMT+0200 (CEST)"},"1358":{"time":{"__isSmartRef__":true,"id":1359},"user":"robertkrahn"},"1359":{"isSerializedDate":true,"string":"Wed Jul 13 2011 21:15:36 GMT+0200 (CEST)"},"1360":{"time":{"__isSmartRef__":true,"id":1361},"user":"robertkrahn"},"1361":{"isSerializedDate":true,"string":"Wed Jul 13 2011 21:35:48 GMT+0200 (CEST)"},"1362":{"time":{"__isSmartRef__":true,"id":1363},"user":"robertkrahn"},"1363":{"isSerializedDate":true,"string":"Wed Jul 13 2011 22:56:23 GMT+0200 (CEST)"},"1364":{"time":{"__isSmartRef__":true,"id":1365},"user":"robertkrahn"},"1365":{"isSerializedDate":true,"string":"Thu Jul 14 2011 15:17:53 GMT+0200 (CEST)"},"1366":{"time":{"__isSmartRef__":true,"id":1367},"user":"robertkrahn"},"1367":{"isSerializedDate":true,"string":"Thu Jul 14 2011 15:05:04 GMT+0200 (CEST)"},"1368":{"time":{"__isSmartRef__":true,"id":1369},"user":"robertkrahn"},"1369":{"isSerializedDate":true,"string":"Thu Jul 14 2011 02:45:32 GMT+0200 (CEST)"},"1370":{"time":{"__isSmartRef__":true,"id":1371},"user":"robertkrahn"},"1371":{"isSerializedDate":true,"string":"Thu Jul 14 2011 02:51:33 GMT+0200 (CEST)"},"1372":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1373":{"x":393,"y":-9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1374":{"refreshServerList":{"__isSmartRef__":true,"id":1375},"getMasterServerInterface":{"__isSmartRef__":true,"id":1378},"showServerInfo":{"__isSmartRef__":true,"id":1381},"setupConnections":{"__isSmartRef__":true,"id":1384},"restartCurrentServer":{"__isSmartRef__":true,"id":1387},"serverIsRunning":{"__isSmartRef__":true,"id":1390},"setColorOfServerStateIndicator":{"__isSmartRef__":true,"id":1393},"serverIsNotRunning":{"__isSmartRef__":true,"id":1396},"serverStateIsUnknown":{"__isSmartRef__":true,"id":1399},"stopCurrentServer":{"__isSmartRef__":true,"id":1402},"createNewServer":{"__isSmartRef__":true,"id":1405},"removeServer":{"__isSmartRef__":true,"id":1408},"browseSelectedServer":{"__isSmartRef__":true,"id":1411},"reset":{"__isSmartRef__":true,"id":1414}},"1375":{"varMapping":{"__isSmartRef__":true,"id":1376},"source":"function refreshServerList() {\n var serverList = this.get('serverList'),\n master = this.getMasterServerInterface(),\n prevSel = serverList.selection;\n this.reset();\n connect(\n master, 'serverInfos',\n {$: function(list) {\n var items = list.collect(function(ea) {\n return {string: ea.serverName, value: ea, isListItem: true}\n });\n serverList.setList(items);\n if (prevSel && prevSel.serverName) \n serverList.\nsetSelectionMatching(prevSel.serverName);\n }}, '$')\n master.getServerInfos();\n}","funcProperties":{"__isSmartRef__":true,"id":1377},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1376":{"this":{"__isSmartRef__":true,"id":599}},"1377":{},"1378":{"varMapping":{"__isSmartRef__":true,"id":1379},"source":"function getMasterServerInterface() {\n var master = new NodeJSMasterServer()\n master.beAsync();\n return master;\n}","funcProperties":{"__isSmartRef__":true,"id":1380},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1379":{"this":{"__isSmartRef__":true,"id":599}},"1380":{},"1381":{"varMapping":{"__isSmartRef__":true,"id":1382},"source":"function showServerInfo() {\n if (!this.currentServer) return;\n if (this.currentServer.isRunning) this.serverIsRunning();\n else this.serverIsNotRunning();\n // var info = JSON.prettyPrint(this.currentServer);\n // this.get('serverInfoText').textString = info;\n\n var master = this.getMasterServerInterface();\n master.isAsync = false;\n\n var url = 'http://lively-kernel.org/nodejs/' + this.currentServer.serverName + '/';\n this.get('urlText').textString = url;\n this.get('urlText').emphasizeAll({uri: url});\n\n this.get('logText').textString = '';\n this.get('logText').textString = master.getLog(this.currentServer.serverName)\n}","funcProperties":{"__isSmartRef__":true,"id":1383},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1382":{"this":{"__isSmartRef__":true,"id":599}},"1383":{},"1384":{"varMapping":{"__isSmartRef__":true,"id":1385},"source":"function setupConnections() {\n connect(this, 'currentServer', this, 'showServerInfo')\n}","funcProperties":{"__isSmartRef__":true,"id":1386},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1385":{"this":{"__isSmartRef__":true,"id":599}},"1386":{},"1387":{"varMapping":{"__isSmartRef__":true,"id":1388},"source":"function restartCurrentServer() {\n if (!this.currentServer) return;\n \n var master= this.getMasterServerInterface(),\n serverName = this.currentServer.serverName;\n\n connect(master, 'lastServerResult', this, 'refreshServerList');\n\n master.updateAndRestart(serverName);\n}","funcProperties":{"__isSmartRef__":true,"id":1389},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1388":{"this":{"__isSmartRef__":true,"id":599}},"1389":{},"1390":{"varMapping":{"__isSmartRef__":true,"id":1391},"source":"function serverIsRunning() {\n this.setColorOfServerStateIndicator(Color.green)\n}","funcProperties":{"__isSmartRef__":true,"id":1392},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1391":{"this":{"__isSmartRef__":true,"id":599}},"1392":{},"1393":{"varMapping":{"__isSmartRef__":true,"id":1394},"source":"function setColorOfServerStateIndicator(color) {\n this.get('serverStateIndicator').setFill(color)\n}","funcProperties":{"__isSmartRef__":true,"id":1395},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1394":{"this":{"__isSmartRef__":true,"id":599}},"1395":{},"1396":{"varMapping":{"__isSmartRef__":true,"id":1397},"source":"function serverIsNotRunning() {\n this.setColorOfServerStateIndicator(Color.red)\n}","funcProperties":{"__isSmartRef__":true,"id":1398},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1397":{"this":{"__isSmartRef__":true,"id":599}},"1398":{},"1399":{"varMapping":{"__isSmartRef__":true,"id":1400},"source":"function serverStateIsUnknown() {\n this.setColorOfServerStateIndicator(Color.gray)\n}","funcProperties":{"__isSmartRef__":true,"id":1401},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1400":{"this":{"__isSmartRef__":true,"id":599}},"1401":{},"1402":{"varMapping":{"__isSmartRef__":true,"id":1403},"source":"function stopCurrentServer() {\n if (!this.currentServer) return;\n \n var master= this.getMasterServerInterface(),\n serverName = this.currentServer.serverName;\n\n alert('Stopping ' + serverName + '...');\n connect(master, 'lastServerResult', this, 'refreshServerList');\n\n master.stopServer(serverName);\n}","funcProperties":{"__isSmartRef__":true,"id":1404},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1403":{"this":{"__isSmartRef__":true,"id":599}},"1404":{},"1405":{"varMapping":{"__isSmartRef__":true,"id":1406},"source":"function createNewServer() {\n this.world().prompt(\n 'Please enter a server name',\n function(input) {\n if (!input) { alert('aborting'); return };\n ServerCreator.create(input)\n this.refreshServerList();\n }.bind(this),\n 'NewServer')\n}","funcProperties":{"__isSmartRef__":true,"id":1407},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1406":{"this":{"__isSmartRef__":true,"id":599}},"1407":{},"1408":{"varMapping":{"__isSmartRef__":true,"id":1409},"source":"function removeServer() {\n var serverName = this.currentServer.serverName;\n this.world().confirm(\n 'Really remove ' + serverName + '?' ,\n function(input) {\n if (!input) { alertOK('nothing removed'); return };\n ServerCreator.remove(serverName);\n this.refreshServerList();\n }.bind(this))\n}","funcProperties":{"__isSmartRef__":true,"id":1410},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1409":{"this":{"__isSmartRef__":true,"id":599}},"1410":{},"1411":{"varMapping":{"__isSmartRef__":true,"id":1412},"source":"function browseSelectedServer() {\n if (!this.currentServer) return;\n var name = this.currentServer.serverName;\n require('lively.ide').toRun(function() {\n lively.ide.SystemBrowser.browse('server.nodejs.' + name);\n })\n}","funcProperties":{"__isSmartRef__":true,"id":1413},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1412":{"this":{"__isSmartRef__":true,"id":599}},"1413":{},"1414":{"varMapping":{"__isSmartRef__":true,"id":1415},"source":"function reset() {\n this.currentServer = null;\n this.get('serverList').setList([]);\n this.serverStateIsUnknown();\n this.get('logText').textString = '';\n this.get('urlText').textString = '';\n}","funcProperties":{"__isSmartRef__":true,"id":1416},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1415":{"this":{"__isSmartRef__":true,"id":599}},"1416":{},"1417":{"submorphs":[{"__isSmartRef__":true,"id":1418},{"__isSmartRef__":true,"id":1432},{"__isSmartRef__":true,"id":1480},{"__isSmartRef__":true,"id":1515}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1551},"id":"DB6AE468-10EB-421C-B0B3-5746487497E3","renderContextTable":{"__isSmartRef__":true,"id":1557},"eventHandler":{"__isSmartRef__":true,"id":1558},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1559},"_Position":{"__isSmartRef__":true,"id":1560},"windowMorph":{"__isSmartRef__":true,"id":598},"label":{"__isSmartRef__":true,"id":1418},"closeButton":{"__isSmartRef__":true,"id":1432},"menuButton":{"__isSmartRef__":true,"id":1480},"collapseButton":{"__isSmartRef__":true,"id":1515},"priorExtent":{"__isSmartRef__":true,"id":1561},"owner":{"__isSmartRef__":true,"id":598},"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2962,"30EC5D9F-01AA-4939-A5AD-3F10D97BC5D0"],"showsHalos":false,"_ClipMode":"visible","_Scale":1,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.TitleBar"},"1418":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1419},"id":"29B54279-28C5-442C-87A7-510FD03C7199","renderContextTable":{"__isSmartRef__":true,"id":1424},"textChunks":[{"__isSmartRef__":true,"id":1425}],"eventHandler":{"__isSmartRef__":true,"id":1427},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1428},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":1429},"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":1417},"priorExtent":{"__isSmartRef__":true,"id":1430},"_MaxTextWidth":537.9475304742795,"_MaxTextHeight":null,"_Position":{"__isSmartRef__":true,"id":1431},"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2963,"659AFF1C-229D-4F62-B8A7-D0297C57337A"],"_MinTextWidth":537.9475304742795,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1419":{"_Position":{"__isSmartRef__":true,"id":1420},"renderContextTable":{"__isSmartRef__":true,"id":1421},"_Extent":{"__isSmartRef__":true,"id":1422},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":688},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1423},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1420":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1421":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1422":{"x":537.9475304742795,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1423":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1424":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1425":{"style":{"__isSmartRef__":true,"id":1426},"chunkOwner":{"__isSmartRef__":true,"id":1418},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"NodeJSControl","__LivelyClassName__":"lively.morphic.TextChunk"},"1426":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"normal","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1427":{"morph":{"__isSmartRef__":true,"id":1418},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1428":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1429":{"resizeWidth":true},"1430":{"x":537.9475304742795,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1431":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1432":{"submorphs":[{"__isSmartRef__":true,"id":1433}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1446},"id":"5E733282-2574-4C13-A162-D3881364FCEC","renderContextTable":{"__isSmartRef__":true,"id":1462},"eventHandler":{"__isSmartRef__":true,"id":1463},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1464},"priorExtent":{"__isSmartRef__":true,"id":1465},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1451},"lighterFill":{"__isSmartRef__":true,"id":1466},"label":{"__isSmartRef__":true,"id":1433},"owner":{"__isSmartRef__":true,"id":1417},"layout":{"__isSmartRef__":true,"id":1475},"attributeConnections":[{"__isSmartRef__":true,"id":1476},{"__isSmartRef__":true,"id":1478}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[2964,"766DF018-E484-4203-9644-0D7FC6324670"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"1433":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1434},"id":"9DA2E7C8-77B9-48CB-8226-C624334E88AE","renderContextTable":{"__isSmartRef__":true,"id":1439},"textChunks":[{"__isSmartRef__":true,"id":1440}],"eventHandler":{"__isSmartRef__":true,"id":1442},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1443},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1444},"priorExtent":{"__isSmartRef__":true,"id":1445},"_MaxTextWidth":17,"_MaxTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1432},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2965,"5F0AA972-C4B5-4759-9142-BC2522167051"],"_MinTextWidth":17,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1434":{"_Position":{"__isSmartRef__":true,"id":1435},"renderContextTable":{"__isSmartRef__":true,"id":1436},"_Extent":{"__isSmartRef__":true,"id":1437},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":688},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1438},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1435":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1436":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1437":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1438":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1439":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1440":{"style":{"__isSmartRef__":true,"id":1441},"chunkOwner":{"__isSmartRef__":true,"id":1433},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"1441":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1442":{"morph":{"__isSmartRef__":true,"id":1433},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1443":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1444":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1445":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1446":{"_Position":{"__isSmartRef__":true,"id":1447},"renderContextTable":{"__isSmartRef__":true,"id":1448},"_Extent":{"__isSmartRef__":true,"id":1449},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1450},"_Fill":{"__isSmartRef__":true,"id":1451},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1461},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1447":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1448":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1449":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1450":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1451":{"stops":[{"__isSmartRef__":true,"id":1452},{"__isSmartRef__":true,"id":1454},{"__isSmartRef__":true,"id":1456},{"__isSmartRef__":true,"id":1458}],"vector":{"__isSmartRef__":true,"id":1460},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1452":{"offset":0,"color":{"__isSmartRef__":true,"id":1453}},"1453":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1454":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1455}},"1455":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1456":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1457}},"1457":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1458":{"offset":1,"color":{"__isSmartRef__":true,"id":1459}},"1459":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1460":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1461":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1462":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1463":{"morph":{"__isSmartRef__":true,"id":1432},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1464":{"x":576.9475304742795,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1465":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1466":{"stops":[{"__isSmartRef__":true,"id":1467},{"__isSmartRef__":true,"id":1469},{"__isSmartRef__":true,"id":1471},{"__isSmartRef__":true,"id":1473}],"vector":{"__isSmartRef__":true,"id":1460},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1467":{"offset":0,"color":{"__isSmartRef__":true,"id":1468}},"1468":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1469":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1470}},"1470":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1471":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1472}},"1472":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1473":{"offset":1,"color":{"__isSmartRef__":true,"id":1474}},"1474":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1475":{"moveHorizontal":true},"1476":{"sourceObj":{"__isSmartRef__":true,"id":1432},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":598},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1477},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1477":{"source":{"__isSmartRef__":true,"id":1432},"target":{"__isSmartRef__":true,"id":598}},"1478":{"sourceObj":{"__isSmartRef__":true,"id":1432},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":598},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1479},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1479":{"source":{"__isSmartRef__":true,"id":1432},"target":{"__isSmartRef__":true,"id":598}},"1480":{"submorphs":[{"__isSmartRef__":true,"id":1481}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1493},"id":"DD846BF0-FCD4-447B-B22F-C24D0ECA66DD","renderContextTable":{"__isSmartRef__":true,"id":1498},"eventHandler":{"__isSmartRef__":true,"id":1499},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1500},"priorExtent":{"__isSmartRef__":true,"id":1501},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1451},"lighterFill":{"__isSmartRef__":true,"id":1502},"label":{"__isSmartRef__":true,"id":1481},"owner":{"__isSmartRef__":true,"id":1417},"attributeConnections":[{"__isSmartRef__":true,"id":1511},{"__isSmartRef__":true,"id":1513}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[2966,"F6747685-1C50-46B8-8A16-6AEBB5BEFF45"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"1481":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1482},"id":"C28415DB-73E1-4E9A-9F76-34172B531F74","renderContextTable":{"__isSmartRef__":true,"id":1487},"textChunks":[{"__isSmartRef__":true,"id":1488}],"eventHandler":{"__isSmartRef__":true,"id":1490},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1443},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1491},"priorExtent":{"__isSmartRef__":true,"id":1492},"_MaxTextWidth":17,"_MaxTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1480},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2967,"620E1251-5C94-4BBC-A728-00C8F8A41074"],"_MinTextWidth":17,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1482":{"_Position":{"__isSmartRef__":true,"id":1483},"renderContextTable":{"__isSmartRef__":true,"id":1484},"_Extent":{"__isSmartRef__":true,"id":1485},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":688},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1486},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1483":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1484":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1485":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1486":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1487":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1488":{"style":{"__isSmartRef__":true,"id":1489},"chunkOwner":{"__isSmartRef__":true,"id":1481},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"1489":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1490":{"morph":{"__isSmartRef__":true,"id":1481},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1491":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1492":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1493":{"_Position":{"__isSmartRef__":true,"id":1494},"renderContextTable":{"__isSmartRef__":true,"id":1495},"_Extent":{"__isSmartRef__":true,"id":1496},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1450},"_Fill":{"__isSmartRef__":true,"id":1451},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1497},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1494":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1495":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1496":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1497":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1498":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1499":{"morph":{"__isSmartRef__":true,"id":1480},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1500":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1501":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1502":{"stops":[{"__isSmartRef__":true,"id":1503},{"__isSmartRef__":true,"id":1505},{"__isSmartRef__":true,"id":1507},{"__isSmartRef__":true,"id":1509}],"vector":{"__isSmartRef__":true,"id":1460},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1503":{"offset":0,"color":{"__isSmartRef__":true,"id":1504}},"1504":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1505":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1506}},"1506":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1507":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1508}},"1508":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1509":{"offset":1,"color":{"__isSmartRef__":true,"id":1510}},"1510":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1511":{"sourceObj":{"__isSmartRef__":true,"id":1480},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":598},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1512},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1512":{"source":{"__isSmartRef__":true,"id":1480},"target":{"__isSmartRef__":true,"id":598}},"1513":{"sourceObj":{"__isSmartRef__":true,"id":1480},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":598},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1514},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1514":{"source":{"__isSmartRef__":true,"id":1480},"target":{"__isSmartRef__":true,"id":598}},"1515":{"submorphs":[{"__isSmartRef__":true,"id":1516}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1528},"id":"9DA619B9-4044-4F64-BEF5-B72CE4E53BAA","renderContextTable":{"__isSmartRef__":true,"id":1533},"eventHandler":{"__isSmartRef__":true,"id":1534},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1535},"priorExtent":{"__isSmartRef__":true,"id":1536},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1451},"lighterFill":{"__isSmartRef__":true,"id":1537},"label":{"__isSmartRef__":true,"id":1516},"owner":{"__isSmartRef__":true,"id":1417},"layout":{"__isSmartRef__":true,"id":1546},"attributeConnections":[{"__isSmartRef__":true,"id":1547},{"__isSmartRef__":true,"id":1549}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[2968,"AA72F467-8DB0-44CD-BB89-19B01942ECAC"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"1516":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1517},"id":"916FB91E-AD40-4688-80F6-112645E17B69","renderContextTable":{"__isSmartRef__":true,"id":1522},"textChunks":[{"__isSmartRef__":true,"id":1523}],"eventHandler":{"__isSmartRef__":true,"id":1525},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1443},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1526},"priorExtent":{"__isSmartRef__":true,"id":1527},"_MaxTextWidth":17,"_MaxTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1515},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2969,"CDA8E8B5-039C-4BC8-8144-2494187699C0"],"_MinTextWidth":17,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1517":{"_Position":{"__isSmartRef__":true,"id":1518},"renderContextTable":{"__isSmartRef__":true,"id":1519},"_Extent":{"__isSmartRef__":true,"id":1520},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":688},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1521},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1518":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1519":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1520":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1521":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1522":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1523":{"style":{"__isSmartRef__":true,"id":1524},"chunkOwner":{"__isSmartRef__":true,"id":1516},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"1524":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1525":{"morph":{"__isSmartRef__":true,"id":1516},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1526":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1527":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1528":{"_Position":{"__isSmartRef__":true,"id":1529},"renderContextTable":{"__isSmartRef__":true,"id":1530},"_Extent":{"__isSmartRef__":true,"id":1531},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1450},"_Fill":{"__isSmartRef__":true,"id":1451},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1532},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1529":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1530":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1531":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1532":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1533":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1534":{"morph":{"__isSmartRef__":true,"id":1515},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1535":{"x":557.9475304742795,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1536":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1537":{"stops":[{"__isSmartRef__":true,"id":1538},{"__isSmartRef__":true,"id":1540},{"__isSmartRef__":true,"id":1542},{"__isSmartRef__":true,"id":1544}],"vector":{"__isSmartRef__":true,"id":1460},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1538":{"offset":0,"color":{"__isSmartRef__":true,"id":1539}},"1539":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1540":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1541}},"1541":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1542":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1543}},"1543":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1544":{"offset":1,"color":{"__isSmartRef__":true,"id":1545}},"1545":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1546":{"moveHorizontal":true},"1547":{"sourceObj":{"__isSmartRef__":true,"id":1515},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":598},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1548},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1548":{"source":{"__isSmartRef__":true,"id":1515},"target":{"__isSmartRef__":true,"id":598}},"1549":{"sourceObj":{"__isSmartRef__":true,"id":1515},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":598},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1550},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1550":{"source":{"__isSmartRef__":true,"id":1515},"target":{"__isSmartRef__":true,"id":598}},"1551":{"_Position":{"__isSmartRef__":true,"id":1552},"renderContextTable":{"__isSmartRef__":true,"id":1553},"_Extent":{"__isSmartRef__":true,"id":1554},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1555},"_Fill":{"__isSmartRef__":true,"id":542},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1556},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1552":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1553":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1554":{"x":596.9475304742795,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1555":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1556":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1557":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1558":{"morph":{"__isSmartRef__":true,"id":1417},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1559":{"resizeWidth":true,"adjustForNewBounds":true},"1560":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1561":{"x":596.9475304742795,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1562":{"submorphs":[],"scripts":[],"id":"8E594F7D-6267-4D80-A69F-8508D6C66033","shape":{"__isSmartRef__":true,"id":1563},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1570},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":1571},"__SourceModuleName__":"Global.lively.morphic.Core","draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":1572},"originalTargetExtent":null,"renderContextTable":{"__isSmartRef__":true,"id":1573},"eventHandler":{"__isSmartRef__":true,"id":1574},"priorExtent":{"__isSmartRef__":true,"id":1575},"originalTargetInnerBounds":null,"isResizeCorner":true,"relativeOrigin":null,"derivationIds":[7147,"16E962DF-21E9-4FE6-8B9B-953F0E908113","ADD0B5C0-0DC6-4D8E-9C2A-0EC7E3C71F21","5795E091-41AD-49D0-AADF-DA6356B899D5"],"moved":true,"attributeConnections":[{"__isSmartRef__":true,"id":1576}],"doNotSerialize":["$$cornerName"],"doNotCopyProperties":["$$cornerName"],"originalTargetBounds":null,"cornerName":"bottomRight","owner":{"__isSmartRef__":true,"id":598},"distanceToDragEvent":{"__isSmartRef__":true,"id":1577},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1578},"__LivelyClassName__":"lively.morphic.Box"},"1563":{"position":{"__isSmartRef__":true,"id":1564},"_Extent":{"__isSmartRef__":true,"id":1565},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1566},"_Fill":{"__isSmartRef__":true,"id":1567},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1568},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1569},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1564":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1565":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1566":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1567":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1568":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1569":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1570":{"x":586.9475304742795,"y":289,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1571":{"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Resize an object without using halos.","partName":"ResizeCorner","revisionOnLoad":140152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1572":{"x":239,"y":138,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1573":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1574":{"morph":{"__isSmartRef__":true,"id":1562},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1575":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1576":{"sourceObj":{"__isSmartRef__":true,"id":1562},"sourceAttrName":"cornerName","targetObj":{"__isSmartRef__":true,"id":1562},"targetMethodName":"alignToOwner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1577":{"x":33,"y":-10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1578":{"onDrag":{"__isSmartRef__":true,"id":1579},"onDragEnd":{"__isSmartRef__":true,"id":1587},"onDragStart":{"__isSmartRef__":true,"id":1595},"reset":{"__isSmartRef__":true,"id":1603},"morphMenuItems":{"__isSmartRef__":true,"id":1606},"alignToOwner":{"__isSmartRef__":true,"id":1613}},"1579":{"varMapping":{"__isSmartRef__":true,"id":1580},"source":"function onDrag(evt) {\n // alert(\"onDrag\")\n // this.owner.setPosition(pt(0,0))\n // this.owner.setOrigin(pt(0,0))\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n \n // moveDelta = moveDelta.maxPt(pt(0,0))\n var ownerExtent = this.owner.getExtent();\n\n // TODO does not work\n if (evt.isShiftDown()) {\n var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n if (maxDelta == 0) return;\n var factor = ownerExtent.x / ownerExtent.y\n moveDelta = pt(maxDelta * factor, maxDelta )\n }\n var accessor = \"with\" + this.cornerName.charAt(0).toUpperCase() + this.cornerName.substring(1);\n\n var newCorner = this.originalTargetBounds[this.cornerName]().addPt(moveDelta);\n var newBounds = this.originalTargetBounds[accessor ](newCorner);\n\n this.owner.setBounds(newBounds);\n \n // var newExtent = this.originalTargetExtent.addPt(moveDelta)\n // alertOK(\"new extent\" + newExtent)\n // this.owner.setExtent(newExtent);\n this.owner.submorphs.select(function(ea) {\n return ea.isResizeCorner\n }).invoke('alignToOwner');\n if (this.owner.halos) {\n this.owner.halos.invoke('alignAtTarget')\n }\n // alertOK(\"relative \" + this.relativeOrigin)\n var newOrigin = pt(0,0).extent(this.owner.getExtent()).relativeToAbsPoint(this.relativeOrigin)\n\n // TODO IMPLEMENT updating the origin does not work yet\n // this.owner.setOrigin(newOrigin);\n // alertOK(\"new origin \" + newOrigin)\n\n}","funcProperties":{"__isSmartRef__":true,"id":1585},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1580":{"this":{"__isSmartRef__":true,"id":1562},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1581}},"1581":{"$super":{"__isSmartRef__":true,"id":1582}},"1582":{"varMapping":{"__isSmartRef__":true,"id":1583},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1584},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1583":{"obj":{"__isSmartRef__":true,"id":1562},"name":"onDrag"},"1584":{},"1585":{"timestamp":{"__isSmartRef__":true,"id":1586},"user":"sstamm","tags":[]},"1586":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:08:52 GMT+0100 (CET)"},"1587":{"varMapping":{"__isSmartRef__":true,"id":1588},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetBounds = null;\n this.relativeOrigin = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1593},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1588":{"this":{"__isSmartRef__":true,"id":1562},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1589}},"1589":{"$super":{"__isSmartRef__":true,"id":1590}},"1590":{"varMapping":{"__isSmartRef__":true,"id":1591},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1592},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1591":{"obj":{"__isSmartRef__":true,"id":1562},"name":"onDragEnd"},"1592":{},"1593":{"timestamp":{"__isSmartRef__":true,"id":1594},"user":"sstamm","tags":[]},"1594":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:09:00 GMT+0100 (CET)"},"1595":{"varMapping":{"__isSmartRef__":true,"id":1596},"source":"function onDragStart(evt) {\n var absToRelativePoint = function (r, absPt) {\n\t\treturn new Point(\n\t\t\t(absPt.x - r.x) / r.width,\n\t\t\t(absPt.y - r.y) / r.height)\n\t}\n // absToRelativePoint(new Rectangle(10,10,100,100), pt(20,20))\n // absToRelativePoint(new Rectangle(10,10,100,100), pt(0,0))\n // absToRelativePoint(new Rectangle(-100,-100,200,200), pt(0,0))\n\n\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetBounds= this.owner.bounds();\n this.relativeOrigin = absToRelativePoint(pt(0,0).extent(this.owner.getExtent()), this.owner.getOrigin())\n}","funcProperties":{"__isSmartRef__":true,"id":1601},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1596":{"this":{"__isSmartRef__":true,"id":1562},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1597}},"1597":{"$super":{"__isSmartRef__":true,"id":1598}},"1598":{"varMapping":{"__isSmartRef__":true,"id":1599},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1600},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1599":{"obj":{"__isSmartRef__":true,"id":1562},"name":"onDragStart"},"1600":{},"1601":{"timestamp":{"__isSmartRef__":true,"id":1602},"user":"sstamm","tags":[]},"1602":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:08:40 GMT+0100 (CET)"},"1603":{"varMapping":{"__isSmartRef__":true,"id":1604},"source":"function reset() {\n this.isResizeCorner = true\n this.cornerName = 'bottomRight'\n this.setExtent(pt(10,10));\n this.setPosition(pt(0,0))\n}","funcProperties":{"__isSmartRef__":true,"id":1605},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1604":{"this":{"__isSmartRef__":true,"id":1562}},"1605":{},"1606":{"varMapping":{"__isSmartRef__":true,"id":1607},"source":"function morphMenuItems() {\n return $super().concat([\n [\"corner\", [\n [\"top left\", function() { this.cornerName = 'topLeft'}.bind(this)],\n [\"top right\", function() { this.cornerName = 'topRight'}.bind(this)],\n [\"bottom right\", function() { this.cornerName = 'bottomRight'}.bind(this)],\n [\"bottom left\", function() { this.cornerName = 'bottomLeft'}.bind(this)],\n ]]\n ])\t\n}","funcProperties":{"__isSmartRef__":true,"id":1612},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1607":{"this":{"__isSmartRef__":true,"id":1562},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1608}},"1608":{"$super":{"__isSmartRef__":true,"id":1609}},"1609":{"varMapping":{"__isSmartRef__":true,"id":1610},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1611},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1610":{"obj":{"__isSmartRef__":true,"id":1562},"name":"morphMenuItems"},"1611":{},"1612":{},"1613":{"varMapping":{"__isSmartRef__":true,"id":1614},"source":"function alignToOwner() {\n this.align(this.bounds()[this.cornerName](), this.owner.shape.bounds()[this.cornerName]() )\n}","funcProperties":{"__isSmartRef__":true,"id":1615},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1614":{"this":{"__isSmartRef__":true,"id":1562}},"1615":{},"1616":{"renderContextTable":{"__isSmartRef__":true,"id":1617},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1618},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1619},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1617":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1618":{"x":596.9475304742795,"y":299,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1619":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1620":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1621":{"morph":{"__isSmartRef__":true,"id":598},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1622":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"1623":{"x":596.9475304742795,"y":299,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1624":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1625":{"partsSpaceName":"PartsBin/Server/","__SourceModuleName__":"Global.lively.PartsBin","comment":"Starts, stops, creates, and deletes Lively node.js servers.","migrationLevel":4,"partName":"NodeJSControl","requiredModules":["server.nodejs.WebInterface"],"revisionOnLoad":146569,"changes":[{"__isSmartRef__":true,"id":1626}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1626":{"date":{"__isSmartRef__":true,"id":1627},"author":"conradcalmez","message":"Added resize corner ...","id":"4C56F349-8D15-4829-AFC2-E2C69FF44C4E"},"1627":{"isSerializedDate":true,"string":"Mon Mar 19 2012 15:49:02 GMT+0100 (CET)"},"1628":{"x":1340.9780527490268,"y":285.5895414706516,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1629":{"onLoadFromPartsBin":{"__isSmartRef__":true,"id":1630}},"1630":{"time":{"__isSmartRef__":true,"id":1631},"user":"robertkrahn"},"1631":{"isSerializedDate":true,"string":"Thu Jul 14 2011 02:55:22 GMT+0200 (CEST)"},"1632":{"x":950.1813733444293,"y":278.27997977129576,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1633":{"onLoadFromPartsBin":{"__isSmartRef__":true,"id":1634}},"1634":{"varMapping":{"__isSmartRef__":true,"id":1635},"source":"function onLoadFromPartsBin() {\n $super();\n this.targetMorph.refreshServerList();\n}","funcProperties":{"__isSmartRef__":true,"id":1640},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1635":{"this":{"__isSmartRef__":true,"id":598},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1636}},"1636":{"$super":{"__isSmartRef__":true,"id":1637}},"1637":{"varMapping":{"__isSmartRef__":true,"id":1638},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1639},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1638":{"obj":{"__isSmartRef__":true,"id":598},"name":"onLoadFromPartsBin"},"1639":{},"1640":{},"1641":{"submorphs":[{"__isSmartRef__":true,"id":1642},{"__isSmartRef__":true,"id":1781},{"__isSmartRef__":true,"id":2468}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2503},"derivationIds":[null],"id":"51D02B1B-735C-42ED-A450-82EF26A3FD57","renderContextTable":{"__isSmartRef__":true,"id":2507},"eventHandler":{"__isSmartRef__":true,"id":2508},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":2509},"LK2":true,"_Position":{"__isSmartRef__":true,"id":2510},"priorExtent":{"__isSmartRef__":true,"id":2511},"targetMorph":{"__isSmartRef__":true,"id":1781},"reframeHandle":{"__isSmartRef__":true,"id":2468},"titleBar":{"__isSmartRef__":true,"id":1642},"contentOffset":{"__isSmartRef__":true,"id":2467},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"owner":{"__isSmartRef__":true,"id":0},"highlighted":false,"prevDragPos":{"__isSmartRef__":true,"id":2512},"isBeingDragged":false,"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"1642":{"submorphs":[{"__isSmartRef__":true,"id":1643},{"__isSmartRef__":true,"id":1658},{"__isSmartRef__":true,"id":1704},{"__isSmartRef__":true,"id":1737}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1771},"derivationIds":[null],"id":"39FA438F-07D8-43C2-853B-94027CD58853","renderContextTable":{"__isSmartRef__":true,"id":1776},"eventHandler":{"__isSmartRef__":true,"id":1777},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1778},"_Position":{"__isSmartRef__":true,"id":1779},"windowMorph":{"__isSmartRef__":true,"id":1641},"label":{"__isSmartRef__":true,"id":1643},"closeButton":{"__isSmartRef__":true,"id":1658},"menuButton":{"__isSmartRef__":true,"id":1704},"collapseButton":{"__isSmartRef__":true,"id":1737},"priorExtent":{"__isSmartRef__":true,"id":1780},"owner":{"__isSmartRef__":true,"id":1641},"prevScroll":[0,0],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"1643":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1644},"derivationIds":[null],"id":"53876A5D-56ED-4244-8EB3-8420F2248898","renderContextTable":{"__isSmartRef__":true,"id":1650},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1651}],"eventHandler":{"__isSmartRef__":true,"id":1653},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":1654},"_TextColor":{"__isSmartRef__":true,"id":1655},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1642},"_Position":{"__isSmartRef__":true,"id":1656},"priorExtent":{"__isSmartRef__":true,"id":1657},"_MaxTextWidth":743,"_MinTextWidth":743,"_MaxTextHeight":null,"_MinTextHeight":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1644":{"_Position":{"__isSmartRef__":true,"id":1645},"renderContextTable":{"__isSmartRef__":true,"id":1646},"_Extent":{"__isSmartRef__":true,"id":1647},"_Padding":{"__isSmartRef__":true,"id":1648},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1649},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1645":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1646":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1647":{"x":743,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1648":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1649":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1650":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1651":{"style":{"__isSmartRef__":true,"id":1652},"chunkOwner":{"__isSmartRef__":true,"id":1643},"storedString":"WhiteboardServer.js","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1652":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","fontWeight":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1653":{"morph":{"__isSmartRef__":true,"id":1643},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1654":{"resizeWidth":true},"1655":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1656":{"x":20,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1657":{"x":743,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1658":{"submorphs":[{"__isSmartRef__":true,"id":1659}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1670},"derivationIds":[null],"id":"B125D5C0-C08A-48E3-8BFC-6EAD96A6E0AF","renderContextTable":{"__isSmartRef__":true,"id":1686},"eventHandler":{"__isSmartRef__":true,"id":1687},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1688},"priorExtent":{"__isSmartRef__":true,"id":1689},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1676},"lighterFill":{"__isSmartRef__":true,"id":1690},"label":{"__isSmartRef__":true,"id":1659},"owner":{"__isSmartRef__":true,"id":1642},"layout":{"__isSmartRef__":true,"id":1699},"attributeConnections":[{"__isSmartRef__":true,"id":1700},{"__isSmartRef__":true,"id":1702}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"prevScroll":[0,0],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1659":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1660},"derivationIds":[null],"id":"F3D49BA8-6FED-436F-80B7-80161740A044","renderContextTable":{"__isSmartRef__":true,"id":1665},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1666}],"eventHandler":{"__isSmartRef__":true,"id":1668},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1658},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1669},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"prevScroll":[0,0],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1660":{"_Position":{"__isSmartRef__":true,"id":1661},"renderContextTable":{"__isSmartRef__":true,"id":1662},"_Extent":{"__isSmartRef__":true,"id":1663},"_Padding":{"__isSmartRef__":true,"id":1664},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1649},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1661":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1662":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1663":{"x":15,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1664":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1665":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1666":{"style":{"__isSmartRef__":true,"id":1667},"chunkOwner":{"__isSmartRef__":true,"id":1659},"storedString":"X","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1667":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1668":{"morph":{"__isSmartRef__":true,"id":1659},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1669":{"x":15,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1670":{"_Position":{"__isSmartRef__":true,"id":1671},"renderContextTable":{"__isSmartRef__":true,"id":1672},"_Extent":{"__isSmartRef__":true,"id":1673},"_Padding":{"__isSmartRef__":true,"id":1674},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1675},"_Fill":{"__isSmartRef__":true,"id":1676},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1671":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1672":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1673":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1674":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1675":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1676":{"stops":[{"__isSmartRef__":true,"id":1677},{"__isSmartRef__":true,"id":1679},{"__isSmartRef__":true,"id":1681},{"__isSmartRef__":true,"id":1683}],"vector":{"__isSmartRef__":true,"id":1685},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1677":{"offset":0,"color":{"__isSmartRef__":true,"id":1678}},"1678":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1679":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1680}},"1680":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1681":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1682}},"1682":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1683":{"offset":1,"color":{"__isSmartRef__":true,"id":1684}},"1684":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1685":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1686":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1687":{"morph":{"__isSmartRef__":true,"id":1658},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1688":{"x":782,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1689":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1690":{"stops":[{"__isSmartRef__":true,"id":1691},{"__isSmartRef__":true,"id":1693},{"__isSmartRef__":true,"id":1695},{"__isSmartRef__":true,"id":1697}],"vector":{"__isSmartRef__":true,"id":1685},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1691":{"offset":0,"color":{"__isSmartRef__":true,"id":1692}},"1692":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1693":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1694}},"1694":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1695":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1696}},"1696":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1697":{"offset":1,"color":{"__isSmartRef__":true,"id":1698}},"1698":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1699":{"moveHorizontal":true},"1700":{"sourceObj":{"__isSmartRef__":true,"id":1658},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1641},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1701},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1701":{"source":{"__isSmartRef__":true,"id":1658},"target":{"__isSmartRef__":true,"id":1641}},"1702":{"sourceObj":{"__isSmartRef__":true,"id":1658},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1641},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1703},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1703":{"source":{"__isSmartRef__":true,"id":1658},"target":{"__isSmartRef__":true,"id":1641}},"1704":{"submorphs":[{"__isSmartRef__":true,"id":1705}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1715},"derivationIds":[null],"id":"AF05A0A2-945A-4F1B-BF95-4BD2F4912BA5","renderContextTable":{"__isSmartRef__":true,"id":1720},"eventHandler":{"__isSmartRef__":true,"id":1721},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1722},"priorExtent":{"__isSmartRef__":true,"id":1723},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1676},"lighterFill":{"__isSmartRef__":true,"id":1724},"label":{"__isSmartRef__":true,"id":1705},"owner":{"__isSmartRef__":true,"id":1642},"attributeConnections":[{"__isSmartRef__":true,"id":1733},{"__isSmartRef__":true,"id":1735}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1705":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1706},"derivationIds":[null],"id":"371D8C87-9FA2-48AF-85FB-AE8E2212789B","renderContextTable":{"__isSmartRef__":true,"id":1710},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1711}],"eventHandler":{"__isSmartRef__":true,"id":1713},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1704},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1714},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1706":{"_Position":{"__isSmartRef__":true,"id":1707},"renderContextTable":{"__isSmartRef__":true,"id":1708},"_Extent":{"__isSmartRef__":true,"id":1709},"_Padding":{"__isSmartRef__":true,"id":1664},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1649},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1707":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1708":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1709":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1710":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1711":{"style":{"__isSmartRef__":true,"id":1712},"chunkOwner":{"__isSmartRef__":true,"id":1705},"storedString":"M","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1712":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1713":{"morph":{"__isSmartRef__":true,"id":1705},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1714":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1715":{"_Position":{"__isSmartRef__":true,"id":1716},"renderContextTable":{"__isSmartRef__":true,"id":1717},"_Extent":{"__isSmartRef__":true,"id":1718},"_Padding":{"__isSmartRef__":true,"id":1719},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1675},"_Fill":{"__isSmartRef__":true,"id":1676},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1716":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1717":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1718":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1719":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1720":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1721":{"morph":{"__isSmartRef__":true,"id":1704},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1722":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1723":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1724":{"stops":[{"__isSmartRef__":true,"id":1725},{"__isSmartRef__":true,"id":1727},{"__isSmartRef__":true,"id":1729},{"__isSmartRef__":true,"id":1731}],"vector":{"__isSmartRef__":true,"id":1685},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1725":{"offset":0,"color":{"__isSmartRef__":true,"id":1726}},"1726":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1727":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1728}},"1728":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1729":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1730}},"1730":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1731":{"offset":1,"color":{"__isSmartRef__":true,"id":1732}},"1732":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1733":{"sourceObj":{"__isSmartRef__":true,"id":1704},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1641},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1734},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1734":{"source":{"__isSmartRef__":true,"id":1704},"target":{"__isSmartRef__":true,"id":1641}},"1735":{"sourceObj":{"__isSmartRef__":true,"id":1704},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1641},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1736},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1736":{"source":{"__isSmartRef__":true,"id":1704},"target":{"__isSmartRef__":true,"id":1641}},"1737":{"submorphs":[{"__isSmartRef__":true,"id":1738}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1748},"derivationIds":[null],"id":"18B08A9D-CCFC-46B3-AC2D-4E4BD564972E","renderContextTable":{"__isSmartRef__":true,"id":1753},"eventHandler":{"__isSmartRef__":true,"id":1754},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1755},"priorExtent":{"__isSmartRef__":true,"id":1756},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1676},"lighterFill":{"__isSmartRef__":true,"id":1757},"label":{"__isSmartRef__":true,"id":1738},"owner":{"__isSmartRef__":true,"id":1642},"layout":{"__isSmartRef__":true,"id":1766},"attributeConnections":[{"__isSmartRef__":true,"id":1767},{"__isSmartRef__":true,"id":1769}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1738":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1739},"derivationIds":[null],"id":"79D36D37-666B-43DC-8559-7D07F9170D97","renderContextTable":{"__isSmartRef__":true,"id":1743},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1744}],"eventHandler":{"__isSmartRef__":true,"id":1746},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1737},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1747},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1739":{"_Position":{"__isSmartRef__":true,"id":1740},"renderContextTable":{"__isSmartRef__":true,"id":1741},"_Extent":{"__isSmartRef__":true,"id":1742},"_Padding":{"__isSmartRef__":true,"id":1664},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1649},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1740":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1741":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1742":{"x":14,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1743":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1744":{"style":{"__isSmartRef__":true,"id":1745},"chunkOwner":{"__isSmartRef__":true,"id":1738},"storedString":"–","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1745":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1746":{"morph":{"__isSmartRef__":true,"id":1738},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1747":{"x":14,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1748":{"_Position":{"__isSmartRef__":true,"id":1749},"renderContextTable":{"__isSmartRef__":true,"id":1750},"_Extent":{"__isSmartRef__":true,"id":1751},"_Padding":{"__isSmartRef__":true,"id":1752},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1675},"_Fill":{"__isSmartRef__":true,"id":1676},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1749":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1750":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1751":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1752":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1753":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1754":{"morph":{"__isSmartRef__":true,"id":1737},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1755":{"x":763,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1756":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1757":{"stops":[{"__isSmartRef__":true,"id":1758},{"__isSmartRef__":true,"id":1760},{"__isSmartRef__":true,"id":1762},{"__isSmartRef__":true,"id":1764}],"vector":{"__isSmartRef__":true,"id":1685},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1758":{"offset":0,"color":{"__isSmartRef__":true,"id":1759}},"1759":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1760":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1761}},"1761":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1762":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1763}},"1763":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1764":{"offset":1,"color":{"__isSmartRef__":true,"id":1765}},"1765":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1766":{"moveHorizontal":true},"1767":{"sourceObj":{"__isSmartRef__":true,"id":1737},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1641},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1768},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1768":{"source":{"__isSmartRef__":true,"id":1737},"target":{"__isSmartRef__":true,"id":1641}},"1769":{"sourceObj":{"__isSmartRef__":true,"id":1737},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1641},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1770},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1770":{"source":{"__isSmartRef__":true,"id":1737},"target":{"__isSmartRef__":true,"id":1641}},"1771":{"_Position":{"__isSmartRef__":true,"id":1772},"renderContextTable":{"__isSmartRef__":true,"id":1773},"_Extent":{"__isSmartRef__":true,"id":1774},"_Padding":{"__isSmartRef__":true,"id":1775},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1655},"_Fill":{"__isSmartRef__":true,"id":542},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1772":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1773":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1774":{"x":802,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1775":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1776":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1777":{"morph":{"__isSmartRef__":true,"id":1642},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1778":{"resizeWidth":true,"adjustForNewBounds":true},"1779":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1780":{"x":802,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1781":{"submorphs":[{"__isSmartRef__":true,"id":1782},{"__isSmartRef__":true,"id":2376},{"__isSmartRef__":true,"id":2408},{"__isSmartRef__":true,"id":2054},{"__isSmartRef__":true,"id":2223},{"__isSmartRef__":true,"id":2262},{"__isSmartRef__":true,"id":2299},{"__isSmartRef__":true,"id":2440},{"__isSmartRef__":true,"id":2336},{"__isSmartRef__":true,"id":1799},{"__isSmartRef__":true,"id":1843},{"__isSmartRef__":true,"id":1877},{"__isSmartRef__":true,"id":1911},{"__isSmartRef__":true,"id":1945},{"__isSmartRef__":true,"id":1979},{"__isSmartRef__":true,"id":2013}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2458},"derivationIds":[null],"id":"C4D9FDC6-1F9A-49E6-A761-0DF171580C2B","renderContextTable":{"__isSmartRef__":true,"id":2464},"eventHandler":{"__isSmartRef__":true,"id":2465},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2466},"_Position":{"__isSmartRef__":true,"id":2467},"locationPane":{"__isSmartRef__":true,"id":1782},"codeBaseDirBtn":{"__isSmartRef__":true,"id":2376},"localDirBtn":{"__isSmartRef__":true,"id":2408},"Pane1":{"__isSmartRef__":true,"id":2054},"Pane2":{"__isSmartRef__":true,"id":2223},"Pane3":{"__isSmartRef__":true,"id":2262},"Pane4":{"__isSmartRef__":true,"id":2299},"midResizer":{"__isSmartRef__":true,"id":2440},"sourcePane":{"__isSmartRef__":true,"id":2336},"ownerWidget":{"__isSmartRef__":true,"id":1797},"owner":{"__isSmartRef__":true,"id":1641},"targetURL":{"__isSmartRef__":true,"id":2052},"prevScroll":[0,0],"__LivelyClassName__":"lively.ide.BrowserPanel","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"1782":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1783},"derivationIds":[null],"id":"8B9FBB5D-6476-4956-A03A-F6CCCCA9CC42","renderContextTable":{"__isSmartRef__":true,"id":1789},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1790}],"eventHandler":{"__isSmartRef__":true,"id":1792},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"_Position":{"__isSmartRef__":true,"id":1793},"priorExtent":{"__isSmartRef__":true,"id":1794},"_MaxTextWidth":639.6,"_MinTextWidth":639.6,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":1781},"isInputLine":true,"layout":{"__isSmartRef__":true,"id":1795},"noEval":true,"styleClass":["Browser_locationInput"],"attributeConnections":[{"__isSmartRef__":true,"id":1796}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"http://lively-kernel.org/repository/webwerkstatt/server/nodejs/","_TextColor":{"__isSmartRef__":true,"id":2342},"previousSelection":[36,48],"priorSelectionRange":[0,54],"charsReplaced":"http://lively-kernel.org/repository/webwerkstatt/core/","lastFindLoc":0,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1783":{"_Position":{"__isSmartRef__":true,"id":1784},"renderContextTable":{"__isSmartRef__":true,"id":1785},"_Extent":{"__isSmartRef__":true,"id":1786},"_Padding":{"__isSmartRef__":true,"id":1787},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":{"__isSmartRef__":true,"id":544},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1784":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1785":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1786":{"x":641.6,"y":39.96,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1787":{"x":1,"y":1,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1788":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1789":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1790":{"style":{"__isSmartRef__":true,"id":1791},"chunkOwner":{"__isSmartRef__":true,"id":1782},"storedString":"http://lively-kernel.org/repository/webwerkstatt/server/nodejs/","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1791":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1792":{"morph":{"__isSmartRef__":true,"id":1782},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1793":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1794":{"x":641.6,"y":39.96,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1795":{"scaleVertical":true,"scaleHorizontal":true},"1796":{"sourceObj":{"__isSmartRef__":true,"id":1782},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"setTargetURL","converterString":"function (value) { return new URL(value) }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2372},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2373},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1797":{"buttonCommands":[{"__isSmartRef__":true,"id":1798},{"__isSmartRef__":true,"id":1842},{"__isSmartRef__":true,"id":1876},{"__isSmartRef__":true,"id":1910},{"__isSmartRef__":true,"id":1944},{"__isSmartRef__":true,"id":1978},{"__isSmartRef__":true,"id":2012}],"RootFilters":[{"__isSmartRef__":true,"id":2046}],"Pane1Filters":[{"__isSmartRef__":true,"id":2047},{"__isSmartRef__":true,"id":2048}],"Pane2Filters":[{"__isSmartRef__":true,"id":2049}],"Pane3Filters":[{"__isSmartRef__":true,"id":2050}],"Pane4Filters":[{"__isSmartRef__":true,"id":2051}],"evaluate":true,"targetURL":{"__isSmartRef__":true,"id":2052},"panel":{"__isSmartRef__":true,"id":1781},"attributeConnections":[{"__isSmartRef__":true,"id":2053},{"__isSmartRef__":true,"id":2222},{"__isSmartRef__":true,"id":2261},{"__isSmartRef__":true,"id":2298},{"__isSmartRef__":true,"id":2335},{"__isSmartRef__":true,"id":2354}],"SourceString":"WhiteboardServer = {\n // port: 8110,\n port: 4000, // new port for websockets, even from outside\n logLevel: 1,\n log: function(logText, optLevel) {\n var logLevel = optLevel || 1;\n if (this.logLevel >= logLevel)\n console.log(logText);\n },\n // TODO find a pattern for this mess\n data: {},\n storage: function (storageName, defaultData) {\n if (!this.data[storageName]) {\n this.data[storageName] = {\n data: {},\n get: function (name) {\n if (!this.data[name]) {\n if (defaultData) {\n this.data[name] = new Object;\n } else {\n this.data[name] = new Array;\n }\n }\n return this.data[name];\n },\n set: function (name, data) {\n this.data[name] = data; \n },\n }\n }\n return this.data[storageName];\n },\n send: function (socket, channel, messageType, data) {\n if (data.broadcast) {\n socket.broadcast.to(channel).emit(messageType, data);\n }\n if (data.me) {\n socket.emit(messageType, data);\n }\n },\n}\n\nvar io = require('socket.io').listen(WhiteboardServer.port);\n\nio.configure(function () {\n io.set('transports', ['websocket', 'xhr-polling']);\n io.set('log level', 0);\n io.set('authorization', function (handshakeData, callback) {\n // TODO implement some sort of auth (maybe send cookie...)\n callback(null, true);\n });\n});\n\n// convenience names\nvar clients = WhiteboardServer.storage(\"clients\", true); // client -> channel / nick\nvar channels = WhiteboardServer.storage(\"channels\"); // channel -> clients\nvar drawings = WhiteboardServer.storage(\"drawings\"); // channel -> strokes / morphs\nvar chatLog = WhiteboardServer.storage(\"chatLog\"); // channel -> chat messages\n\nio.sockets.on('connection', function (socket) {\n socket.on('channel', function (channel, callback) {\n // leave the old channel\n //drawings && drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' connect begin', 2);\n var oldChannel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n var join = false;\n var leave = false;\n if (oldChannel && oldChannel != channel) {\n var idx = channels.get(oldChannel).indexOf(socket.id);\n if (idx!=-1)\n channels.get(oldChannel).splice(idx, 1);\n socket.leave(oldChannel);\n WhiteboardServer.log(oldChannel + ': client ' + socket.id + ' disconnected', 2);\n WhiteboardServer.log(oldChannel + ': currently connected clients:\\n' + channels.get(oldChannel));\n WhiteboardServer.send(socket, oldChannel, 'clientDisconnect', {message: nick, broadcast: true});\n leave = true;\n }\n // join the new channel\n clients.get(socket.id).channel = channel;\n // TODO give unique color to client\n var color = {\n r: Math.round(Math.random()*256),\n g: Math.round(Math.random()*256),\n b: Math.round(Math.random()*256)\n };\n // test if color is not there already\n channels.get(channel).push(socket.id);\n socket.join(channel);\n WhiteboardServer.log(channel + ': client ' + socket.id + ' connected', 2);\n WhiteboardServer.log(channel + ': currently connected clients:\\n' + channels.get(channel));\n WhiteboardServer.send(socket, channel, 'clientConnect', {message: nick, broadcast: true});\n join = true;\n // call callback to complete\n callback(join, channel, leave, oldChannel, drawings.get(channel));\n //drawings && drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' connect end', 2);\n });\n socket.on('disconnect', function() {\n var channel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n // if (typeof channel == \"undefined\") {\n // WhiteboardServer.log('unknown socket.id tried to disconnect', 2);\n // return;\n // }\n //drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' disconnect begin', 2)\n var idx = channels.get(channel).indexOf(socket.id);\n if (idx!=-1)\n channels.get(channel).splice(idx, 1);\n delete clients[socket.id];\n socket.leave(channel);\n WhiteboardServer.send(socket, channel, 'clientDisconnect', {message: nick, broadcast: true});\n //WhiteboardServer.log(drawings.get(channel).length + ' disconnect end', 2);\n WhiteboardServer.log(channel + ': client ' + socket.id + ' disconnected', 2);\n WhiteboardServer.log(channel + ': currently connected clients: ' + channels.get(channel));\n });\n socket.on('nick', function (data) {\n WhiteboardServer.log('got new name ' + data.message + ' for socket ' + socket.id, 2);\n var oldNick = clients.get(socket.id).nick;\n clients.get(socket.id).nick = data.message;\n var newNick = clients.get(socket.id).nick;\n data.message = {old: oldNick, new: newNick};\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'nick', data);\n });\n socket.on('ping', function (data) {\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'pong', data);\n });\n socket.on('chat', function (data) {\n var channel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n var chatMessage = {\n time: new Date().getTime(),\n nick: nick,\n message: data.message,\n };\n chatLog.get(channel).push(chatMessage);\n chatMessage.broadcast = data.broadcast;\n chatMessage.me = data.me;\n WhiteboardServer.send(socket, channel, 'chat', chatMessage);\n });\n socket.on('names', function (data) {\n WhiteboardServer.log('names', 3);\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.send(socket, channel, 'names', {\n message: channels.get(channel).map(function (id) {return clients.get(id).nick}),\n me: true,\n broadcast: false});\n });\n socket.on('draw', function (data) {\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.log('draw: ' + data.message.identifier + 'socket: ' + socket.id, 2);\n drawings.get(channel).push(data.message);\n WhiteboardServer.send(socket, channel, 'draw', data);\n });\n socket.on('morph', function (data) {\n var channel = clients.get(socket.id).channel;\n drawings.get(channel).push(data.message);\n WhiteboardServer.send(socket, channel, 'morph', data);\n });\n socket.on('clear', function (data) {\n WhiteboardServer.log('clear', 2);\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'clear', data);\n });\n socket.on('delete', function (data) {\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.log('delete: '+ data.message + 'socket: ' + socket.id, 2);\n drawings.set(channel, drawings.get(channel).filter(function (ea) {\n return ea.identifier !== data.message;\n }));\n WhiteboardServer.send(socket, channel, 'delete', data);\n });\n socket.on('change', function (data) {\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'change', data);\n });\n socket.on('mouse', function (data) {\n data.message[\"id\"] = socket.id;\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'mouse', data);\n });\n});Math.round(Math.random()*256)","sourceString":"WhiteboardServer = {\n // port: 8110,\n port: 4000, // new port for websockets, even from outside\n logLevel: 1,\n log: function(logText, optLevel) {\n var logLevel = optLevel || 1;\n if (this.logLevel >= logLevel)\n console.log(logText);\n },\n // TODO find a pattern for this mess\n data: {},\n storage: function (storageName, defaultData) {\n if (!this.data[storageName]) {\n this.data[storageName] = {\n data: {},\n get: function (name) {\n if (!this.data[name]) {\n if (defaultData) {\n this.data[name] = new Object;\n } else {\n this.data[name] = new Array;\n }\n }\n return this.data[name];\n },\n set: function (name, data) {\n this.data[name] = data; \n },\n }\n }\n return this.data[storageName];\n },\n send: function (socket, channel, messageType, data) {\n if (data.broadcast) {\n socket.broadcast.to(channel).emit(messageType, data);\n }\n if (data.me) {\n socket.emit(messageType, data);\n }\n },\n}\n\nvar io = require('socket.io').listen(WhiteboardServer.port);\n\nio.configure(function () {\n io.set('transports', ['websocket', 'xhr-polling']);\n io.set('log level', 0);\n io.set('authorization', function (handshakeData, callback) {\n // TODO implement some sort of auth (maybe send cookie...)\n callback(null, true);\n });\n});\n\n// convenience names\nvar clients = WhiteboardServer.storage(\"clients\", true); // client -> channel / nick\nvar channels = WhiteboardServer.storage(\"channels\"); // channel -> clients\nvar drawings = WhiteboardServer.storage(\"drawings\"); // channel -> strokes / morphs\nvar chatLog = WhiteboardServer.storage(\"chatLog\"); // channel -> chat messages\n\nio.sockets.on('connection', function (socket) {\n socket.on('channel', function (channel, callback) {\n // leave the old channel\n //drawings && drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' connect begin', 2);\n var oldChannel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n var join = false;\n var leave = false;\n if (oldChannel && oldChannel != channel) {\n var idx = channels.get(oldChannel).indexOf(socket.id);\n if (idx!=-1)\n channels.get(oldChannel).splice(idx, 1);\n socket.leave(oldChannel);\n WhiteboardServer.log(oldChannel + ': client ' + socket.id + ' disconnected', 2);\n WhiteboardServer.log(oldChannel + ': currently connected clients:\\n' + channels.get(oldChannel));\n WhiteboardServer.send(socket, oldChannel, 'clientDisconnect', {message: nick, broadcast: true});\n leave = true;\n }\n // join the new channel\n clients.get(socket.id).channel = channel;\n // TODO give unique color to client\n var color = {\n r: Math.round(Math.random()*256),\n g: Math.round(Math.random()*256),\n b: Math.round(Math.random()*256)\n };\n // test if color is not there already\n channels.get(channel).push(socket.id);\n socket.join(channel);\n WhiteboardServer.log(channel + ': client ' + socket.id + ' connected', 2);\n WhiteboardServer.log(channel + ': currently connected clients:\\n' + channels.get(channel));\n WhiteboardServer.send(socket, channel, 'clientConnect', {message: nick, broadcast: true});\n join = true;\n // call callback to complete\n callback(join, channel, leave, oldChannel, drawings.get(channel));\n //drawings && drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' connect end', 2);\n });\n socket.on('disconnect', function() {\n var channel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n // if (typeof channel == \"undefined\") {\n // WhiteboardServer.log('unknown socket.id tried to disconnect', 2);\n // return;\n // }\n //drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' disconnect begin', 2)\n var idx = channels.get(channel).indexOf(socket.id);\n if (idx!=-1)\n channels.get(channel).splice(idx, 1);\n delete clients[socket.id];\n socket.leave(channel);\n WhiteboardServer.send(socket, channel, 'clientDisconnect', {message: nick, broadcast: true});\n //WhiteboardServer.log(drawings.get(channel).length + ' disconnect end', 2);\n WhiteboardServer.log(channel + ': client ' + socket.id + ' disconnected', 2);\n WhiteboardServer.log(channel + ': currently connected clients: ' + channels.get(channel));\n });\n socket.on('nick', function (data) {\n WhiteboardServer.log('got new name ' + data.message + ' for socket ' + socket.id, 2);\n var oldNick = clients.get(socket.id).nick;\n clients.get(socket.id).nick = data.message;\n var newNick = clients.get(socket.id).nick;\n data.message = {old: oldNick, new: newNick};\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'nick', data);\n });\n socket.on('ping', function (data) {\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'pong', data);\n });\n socket.on('chat', function (data) {\n var channel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n var chatMessage = {\n time: new Date().getTime(),\n nick: nick,\n message: data.message,\n };\n chatLog.get(channel).push(chatMessage);\n chatMessage.broadcast = data.broadcast;\n chatMessage.me = data.me;\n WhiteboardServer.send(socket, channel, 'chat', chatMessage);\n });\n socket.on('names', function (data) {\n WhiteboardServer.log('names', 3);\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.send(socket, channel, 'names', {\n message: channels.get(channel).map(function (id) {return clients.get(id).nick}),\n me: true,\n broadcast: false});\n });\n socket.on('draw', function (data) {\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.log('draw: ' + data.message.identifier + 'socket: ' + socket.id, 2);\n drawings.get(channel).push(data.message);\n WhiteboardServer.send(socket, channel, 'draw', data);\n });\n socket.on('morph', function (data) {\n var channel = clients.get(socket.id).channel;\n drawings.get(channel).push(data.message);\n WhiteboardServer.send(socket, channel, 'morph', data);\n });\n socket.on('clear', function (data) {\n WhiteboardServer.log('clear', 2);\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'clear', data);\n });\n socket.on('delete', function (data) {\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.log('delete: '+ data.message + 'socket: ' + socket.id, 2);\n drawings.set(channel, drawings.get(channel).filter(function (ea) {\n return ea.identifier !== data.message;\n }));\n WhiteboardServer.send(socket, channel, 'delete', data);\n });\n socket.on('change', function (data) {\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'change', data);\n });\n socket.on('mouse', function (data) {\n data.message[\"id\"] = socket.id;\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'mouse', data);\n });\n});Math.round(Math.random()*256)","doNotSerialize":["$$targetURL"],"doNotCopyProperties":["$$targetURL"],"_rootNode":{"__isSmartRef__":true,"id":2065},"Pane1Selection":{"__isSmartRef__":true,"id":2117},"pane1Selection":{"__isSmartRef__":true,"id":2117},"Pane2Selection":null,"pane2Selection":null,"Pane3Selection":null,"pane3Selection":null,"Pane4Selection":null,"pane4Selection":null,"Pane4Content":["-----"],"Pane3Content":["-----"],"Pane2Content":[{"__isSmartRef__":true,"id":2231}],"Pane1Content":[{"__isSmartRef__":true,"id":2062},{"__isSmartRef__":true,"id":2139},{"__isSmartRef__":true,"id":2140},{"__isSmartRef__":true,"id":2141},{"__isSmartRef__":true,"id":2142},{"__isSmartRef__":true,"id":2143},{"__isSmartRef__":true,"id":2144},{"__isSmartRef__":true,"id":2145},{"__isSmartRef__":true,"id":2146},{"__isSmartRef__":true,"id":2147},{"__isSmartRef__":true,"id":2148},{"__isSmartRef__":true,"id":2149},{"__isSmartRef__":true,"id":2150},{"__isSmartRef__":true,"id":2151},{"__isSmartRef__":true,"id":2152},{"__isSmartRef__":true,"id":2153},{"__isSmartRef__":true,"id":2154},{"__isSmartRef__":true,"id":2155},{"__isSmartRef__":true,"id":2156},{"__isSmartRef__":true,"id":2157},{"__isSmartRef__":true,"id":2158},{"__isSmartRef__":true,"id":2159},{"__isSmartRef__":true,"id":2160},{"__isSmartRef__":true,"id":2161},{"__isSmartRef__":true,"id":2162},{"__isSmartRef__":true,"id":2163},{"__isSmartRef__":true,"id":2164},{"__isSmartRef__":true,"id":2165},{"__isSmartRef__":true,"id":2166},{"__isSmartRef__":true,"id":2167},{"__isSmartRef__":true,"id":2168},{"__isSmartRef__":true,"id":2169},{"__isSmartRef__":true,"id":2170},{"__isSmartRef__":true,"id":2171},{"__isSmartRef__":true,"id":2172},{"__isSmartRef__":true,"id":2173},{"__isSmartRef__":true,"id":2174},{"__isSmartRef__":true,"id":2175},{"__isSmartRef__":true,"id":2176},{"__isSmartRef__":true,"id":2177},{"__isSmartRef__":true,"id":2178},{"__isSmartRef__":true,"id":2179},{"__isSmartRef__":true,"id":2180},{"__isSmartRef__":true,"id":2181},{"__isSmartRef__":true,"id":2182},{"__isSmartRef__":true,"id":2183},{"__isSmartRef__":true,"id":2184},{"__isSmartRef__":true,"id":2185},{"__isSmartRef__":true,"id":2186},{"__isSmartRef__":true,"id":2187},{"__isSmartRef__":true,"id":2188},{"__isSmartRef__":true,"id":2189}],"Pane1Menu":[["Add to world requirements"],["remove"],["reparse"],["-------"],["open in text editor"],["show versions"],["diff versions"],["get module part"]],"Pane2Menu":[["-------"],["open in text editor"],["show versions"],["diff versions"],["get module part"]],"Pane3Menu":[["-------"],["open in text editor"],["show versions"],["diff versions"],["get module part"]],"currentModuleName":"server/nodejs/WhiteboardServer.js","_statusMorph":{"__isSmartRef__":true,"id":2359},"__LivelyClassName__":"lively.ide.SystemBrowser","__SourceModuleName__":"Global.lively.ide.SystemCodeBrowser"},"1798":{"browser":{"__isSmartRef__":true,"id":1797},"button":{"__isSmartRef__":true,"id":1799},"__LivelyClassName__":"lively.ide.AddNewFileCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"1799":{"submorphs":[{"__isSmartRef__":true,"id":1800}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1811},"derivationIds":[null],"id":"8A31B210-FEB0-4C8B-98FA-6F92BE2400A8","renderContextTable":{"__isSmartRef__":true,"id":1825},"eventHandler":{"__isSmartRef__":true,"id":1826},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1827},"priorExtent":{"__isSmartRef__":true,"id":1828},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1816},"lighterFill":{"__isSmartRef__":true,"id":1829},"label":{"__isSmartRef__":true,"id":1800},"command":{"__isSmartRef__":true,"id":1798},"attributeConnections":[{"__isSmartRef__":true,"id":1838},{"__isSmartRef__":true,"id":1839}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":1781},"layout":{"__isSmartRef__":true,"id":1841},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1800":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1801},"derivationIds":[null],"id":"89F60F40-83C5-44E2-B6B3-96EDBA46705E","renderContextTable":{"__isSmartRef__":true,"id":1806},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1807}],"eventHandler":{"__isSmartRef__":true,"id":1809},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1799},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":1788},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1810},"_MaxTextWidth":114.57142857142857,"_MinTextWidth":114.57142857142857,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1801":{"_Position":{"__isSmartRef__":true,"id":1802},"renderContextTable":{"__isSmartRef__":true,"id":1803},"_Extent":{"__isSmartRef__":true,"id":1804},"_Padding":{"__isSmartRef__":true,"id":1805},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1802":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1803":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1804":{"x":114.57142857142857,"y":53,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1805":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1806":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1807":{"style":{"__isSmartRef__":true,"id":1808},"chunkOwner":{"__isSmartRef__":true,"id":1800},"storedString":"Add module","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1808":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1809":{"morph":{"__isSmartRef__":true,"id":1800},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1810":{"x":114.57142857142857,"y":53,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1811":{"_Position":{"__isSmartRef__":true,"id":1812},"renderContextTable":{"__isSmartRef__":true,"id":1813},"_Extent":{"__isSmartRef__":true,"id":1810},"_Padding":{"__isSmartRef__":true,"id":1814},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1815},"_Fill":{"__isSmartRef__":true,"id":1816},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1812":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1813":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1814":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1815":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1816":{"stops":[{"__isSmartRef__":true,"id":1817},{"__isSmartRef__":true,"id":1819},{"__isSmartRef__":true,"id":1821},{"__isSmartRef__":true,"id":1823}],"vector":{"__isSmartRef__":true,"id":547},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1817":{"offset":0,"color":{"__isSmartRef__":true,"id":1818}},"1818":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1819":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1820}},"1820":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1821":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1822}},"1822":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1823":{"offset":1,"color":{"__isSmartRef__":true,"id":1824}},"1824":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1825":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1826":{"morph":{"__isSmartRef__":true,"id":1799},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1827":{"x":0,"y":533.08,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1828":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1829":{"stops":[{"__isSmartRef__":true,"id":1830},{"__isSmartRef__":true,"id":1832},{"__isSmartRef__":true,"id":1834},{"__isSmartRef__":true,"id":1836}],"vector":{"__isSmartRef__":true,"id":547},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1830":{"offset":0,"color":{"__isSmartRef__":true,"id":1831}},"1831":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1832":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1833}},"1833":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1834":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1835}},"1835":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1836":{"offset":1,"color":{"__isSmartRef__":true,"id":1837}},"1837":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1838":{"sourceObj":{"__isSmartRef__":true,"id":1799},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1798},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1839":{"sourceObj":{"__isSmartRef__":true,"id":1799},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1799},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1840},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1840":{"source":{"__isSmartRef__":true,"id":1799},"target":{"__isSmartRef__":true,"id":1799}},"1841":{"scaleVertical":true,"scaleHorizontal":true},"1842":{"browser":{"__isSmartRef__":true,"id":1797},"button":{"__isSmartRef__":true,"id":1843},"__LivelyClassName__":"lively.ide.AllModulesLoadCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"1843":{"submorphs":[{"__isSmartRef__":true,"id":1844}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1855},"derivationIds":[null],"id":"A2A91BCA-6DF8-464F-9123-7E6270CE2587","renderContextTable":{"__isSmartRef__":true,"id":1859},"eventHandler":{"__isSmartRef__":true,"id":1860},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1861},"priorExtent":{"__isSmartRef__":true,"id":1862},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1816},"lighterFill":{"__isSmartRef__":true,"id":1863},"label":{"__isSmartRef__":true,"id":1844},"command":{"__isSmartRef__":true,"id":1842},"attributeConnections":[{"__isSmartRef__":true,"id":1872},{"__isSmartRef__":true,"id":1873}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":1781},"layout":{"__isSmartRef__":true,"id":1875},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1844":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1845},"derivationIds":[null],"id":"5D831237-D7C9-4B4F-960E-1BB257D0B02D","renderContextTable":{"__isSmartRef__":true,"id":1850},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1851}],"eventHandler":{"__isSmartRef__":true,"id":1853},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1843},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":1788},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1854},"_MaxTextWidth":114.57142857142857,"_MinTextWidth":114.57142857142857,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1845":{"_Position":{"__isSmartRef__":true,"id":1846},"renderContextTable":{"__isSmartRef__":true,"id":1847},"_Extent":{"__isSmartRef__":true,"id":1848},"_Padding":{"__isSmartRef__":true,"id":1849},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1846":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1847":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1848":{"x":114.57142857142857,"y":53,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1849":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1850":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1851":{"style":{"__isSmartRef__":true,"id":1852},"chunkOwner":{"__isSmartRef__":true,"id":1844},"storedString":"Load all","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1852":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1853":{"morph":{"__isSmartRef__":true,"id":1844},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1854":{"x":114.57142857142857,"y":53,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1855":{"_Position":{"__isSmartRef__":true,"id":1856},"renderContextTable":{"__isSmartRef__":true,"id":1857},"_Extent":{"__isSmartRef__":true,"id":1854},"_Padding":{"__isSmartRef__":true,"id":1858},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1815},"_Fill":{"__isSmartRef__":true,"id":1816},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1856":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1857":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1858":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1859":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1860":{"morph":{"__isSmartRef__":true,"id":1843},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1861":{"x":114.57142857142857,"y":533.08,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1862":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1863":{"stops":[{"__isSmartRef__":true,"id":1864},{"__isSmartRef__":true,"id":1866},{"__isSmartRef__":true,"id":1868},{"__isSmartRef__":true,"id":1870}],"vector":{"__isSmartRef__":true,"id":547},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1864":{"offset":0,"color":{"__isSmartRef__":true,"id":1865}},"1865":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1866":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1867}},"1867":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1868":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1869}},"1869":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1870":{"offset":1,"color":{"__isSmartRef__":true,"id":1871}},"1871":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1872":{"sourceObj":{"__isSmartRef__":true,"id":1843},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1842},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1873":{"sourceObj":{"__isSmartRef__":true,"id":1843},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1843},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1874},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1874":{"source":{"__isSmartRef__":true,"id":1843},"target":{"__isSmartRef__":true,"id":1843}},"1875":{"scaleVertical":true,"scaleHorizontal":true},"1876":{"browser":{"__isSmartRef__":true,"id":1797},"button":{"__isSmartRef__":true,"id":1877},"__LivelyClassName__":"lively.ide.ShowLineNumbersCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"1877":{"submorphs":[{"__isSmartRef__":true,"id":1878}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1889},"derivationIds":[null],"id":"AB5E559B-70DF-471B-B870-DF0D02900436","renderContextTable":{"__isSmartRef__":true,"id":1893},"eventHandler":{"__isSmartRef__":true,"id":1894},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1895},"priorExtent":{"__isSmartRef__":true,"id":1896},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1816},"lighterFill":{"__isSmartRef__":true,"id":1897},"label":{"__isSmartRef__":true,"id":1878},"command":{"__isSmartRef__":true,"id":1876},"attributeConnections":[{"__isSmartRef__":true,"id":1906},{"__isSmartRef__":true,"id":1907}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":1781},"layout":{"__isSmartRef__":true,"id":1909},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1878":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1879},"derivationIds":[null],"id":"94970F45-3CA4-413B-8103-631AE0840B69","renderContextTable":{"__isSmartRef__":true,"id":1884},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1885}],"eventHandler":{"__isSmartRef__":true,"id":1887},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1877},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":1788},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1888},"_MaxTextWidth":114.57142857142857,"_MinTextWidth":114.57142857142857,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1879":{"_Position":{"__isSmartRef__":true,"id":1880},"renderContextTable":{"__isSmartRef__":true,"id":1881},"_Extent":{"__isSmartRef__":true,"id":1882},"_Padding":{"__isSmartRef__":true,"id":1883},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1880":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1881":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1882":{"x":114.57142857142857,"y":53,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1883":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1884":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1885":{"style":{"__isSmartRef__":true,"id":1886},"chunkOwner":{"__isSmartRef__":true,"id":1878},"storedString":"LineNo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1886":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1887":{"morph":{"__isSmartRef__":true,"id":1878},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1888":{"x":114.57142857142857,"y":53,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1889":{"_Position":{"__isSmartRef__":true,"id":1890},"renderContextTable":{"__isSmartRef__":true,"id":1891},"_Extent":{"__isSmartRef__":true,"id":1888},"_Padding":{"__isSmartRef__":true,"id":1892},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1815},"_Fill":{"__isSmartRef__":true,"id":1816},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1890":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1891":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1892":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1893":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1894":{"morph":{"__isSmartRef__":true,"id":1877},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1895":{"x":229.14285714285714,"y":533.08,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1896":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1897":{"stops":[{"__isSmartRef__":true,"id":1898},{"__isSmartRef__":true,"id":1900},{"__isSmartRef__":true,"id":1902},{"__isSmartRef__":true,"id":1904}],"vector":{"__isSmartRef__":true,"id":547},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1898":{"offset":0,"color":{"__isSmartRef__":true,"id":1899}},"1899":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1900":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1901}},"1901":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1902":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1903}},"1903":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1904":{"offset":1,"color":{"__isSmartRef__":true,"id":1905}},"1905":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1906":{"sourceObj":{"__isSmartRef__":true,"id":1877},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1876},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1907":{"sourceObj":{"__isSmartRef__":true,"id":1877},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1877},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1908},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1908":{"source":{"__isSmartRef__":true,"id":1877},"target":{"__isSmartRef__":true,"id":1877}},"1909":{"scaleVertical":true,"scaleHorizontal":true},"1910":{"browser":{"__isSmartRef__":true,"id":1797},"button":{"__isSmartRef__":true,"id":1911},"__LivelyClassName__":"lively.ide.ParserDebugCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"1911":{"submorphs":[{"__isSmartRef__":true,"id":1912}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1923},"derivationIds":[null],"id":"85FF35BD-CC69-4835-A1E3-6F66A9540FD3","renderContextTable":{"__isSmartRef__":true,"id":1927},"eventHandler":{"__isSmartRef__":true,"id":1928},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1929},"priorExtent":{"__isSmartRef__":true,"id":1930},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1816},"lighterFill":{"__isSmartRef__":true,"id":1931},"label":{"__isSmartRef__":true,"id":1912},"command":{"__isSmartRef__":true,"id":1910},"attributeConnections":[{"__isSmartRef__":true,"id":1940},{"__isSmartRef__":true,"id":1941}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":1781},"layout":{"__isSmartRef__":true,"id":1943},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1912":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1913},"derivationIds":[null],"id":"DFF5E119-E677-4A4E-9DE9-B696A85CBF26","renderContextTable":{"__isSmartRef__":true,"id":1918},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1919}],"eventHandler":{"__isSmartRef__":true,"id":1921},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1911},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":1788},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1922},"_MaxTextWidth":114.57142857142857,"_MinTextWidth":114.57142857142857,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1913":{"_Position":{"__isSmartRef__":true,"id":1914},"renderContextTable":{"__isSmartRef__":true,"id":1915},"_Extent":{"__isSmartRef__":true,"id":1916},"_Padding":{"__isSmartRef__":true,"id":1917},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1914":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1915":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1916":{"x":114.57142857142857,"y":53,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1917":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1918":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1919":{"style":{"__isSmartRef__":true,"id":1920},"chunkOwner":{"__isSmartRef__":true,"id":1912},"storedString":"Dbg errors is off","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1920":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1921":{"morph":{"__isSmartRef__":true,"id":1912},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1922":{"x":114.57142857142857,"y":53,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1923":{"_Position":{"__isSmartRef__":true,"id":1924},"renderContextTable":{"__isSmartRef__":true,"id":1925},"_Extent":{"__isSmartRef__":true,"id":1922},"_Padding":{"__isSmartRef__":true,"id":1926},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1815},"_Fill":{"__isSmartRef__":true,"id":1816},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1924":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1925":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1926":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1927":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1928":{"morph":{"__isSmartRef__":true,"id":1911},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1929":{"x":343.7142857142857,"y":533.08,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1930":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1931":{"stops":[{"__isSmartRef__":true,"id":1932},{"__isSmartRef__":true,"id":1934},{"__isSmartRef__":true,"id":1936},{"__isSmartRef__":true,"id":1938}],"vector":{"__isSmartRef__":true,"id":547},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1932":{"offset":0,"color":{"__isSmartRef__":true,"id":1933}},"1933":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1934":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1935}},"1935":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1936":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1937}},"1937":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1938":{"offset":1,"color":{"__isSmartRef__":true,"id":1939}},"1939":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1940":{"sourceObj":{"__isSmartRef__":true,"id":1911},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1910},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1941":{"sourceObj":{"__isSmartRef__":true,"id":1911},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1911},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1942},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1942":{"source":{"__isSmartRef__":true,"id":1911},"target":{"__isSmartRef__":true,"id":1911}},"1943":{"scaleVertical":true,"scaleHorizontal":true},"1944":{"browser":{"__isSmartRef__":true,"id":1797},"button":{"__isSmartRef__":true,"id":1945},"__LivelyClassName__":"lively.ide.EvaluateCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"1945":{"submorphs":[{"__isSmartRef__":true,"id":1946}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1957},"derivationIds":[null],"id":"539D21F0-6043-400D-8F8D-B653DDBB7D88","renderContextTable":{"__isSmartRef__":true,"id":1961},"eventHandler":{"__isSmartRef__":true,"id":1962},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1963},"priorExtent":{"__isSmartRef__":true,"id":1964},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1816},"lighterFill":{"__isSmartRef__":true,"id":1965},"label":{"__isSmartRef__":true,"id":1946},"command":{"__isSmartRef__":true,"id":1944},"attributeConnections":[{"__isSmartRef__":true,"id":1974},{"__isSmartRef__":true,"id":1975}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":1781},"layout":{"__isSmartRef__":true,"id":1977},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1946":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1947},"derivationIds":[null],"id":"AB7F0C00-14F5-44C6-B156-A941D303C589","renderContextTable":{"__isSmartRef__":true,"id":1952},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1953}],"eventHandler":{"__isSmartRef__":true,"id":1955},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1945},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":1788},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1956},"_MaxTextWidth":114.57142857142857,"_MinTextWidth":114.57142857142857,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1947":{"_Position":{"__isSmartRef__":true,"id":1948},"renderContextTable":{"__isSmartRef__":true,"id":1949},"_Extent":{"__isSmartRef__":true,"id":1950},"_Padding":{"__isSmartRef__":true,"id":1951},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1948":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1949":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1950":{"x":114.57142857142857,"y":53,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1951":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1952":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1953":{"style":{"__isSmartRef__":true,"id":1954},"chunkOwner":{"__isSmartRef__":true,"id":1946},"storedString":"Eval on","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1954":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1955":{"morph":{"__isSmartRef__":true,"id":1946},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1956":{"x":114.57142857142857,"y":53,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1957":{"_Position":{"__isSmartRef__":true,"id":1958},"renderContextTable":{"__isSmartRef__":true,"id":1959},"_Extent":{"__isSmartRef__":true,"id":1956},"_Padding":{"__isSmartRef__":true,"id":1960},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1815},"_Fill":{"__isSmartRef__":true,"id":1816},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1958":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1959":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1960":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1961":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1962":{"morph":{"__isSmartRef__":true,"id":1945},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1963":{"x":458.2857142857143,"y":533.08,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1964":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1965":{"stops":[{"__isSmartRef__":true,"id":1966},{"__isSmartRef__":true,"id":1968},{"__isSmartRef__":true,"id":1970},{"__isSmartRef__":true,"id":1972}],"vector":{"__isSmartRef__":true,"id":547},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1966":{"offset":0,"color":{"__isSmartRef__":true,"id":1967}},"1967":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1968":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1969}},"1969":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1970":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1971}},"1971":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1972":{"offset":1,"color":{"__isSmartRef__":true,"id":1973}},"1973":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1974":{"sourceObj":{"__isSmartRef__":true,"id":1945},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1944},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1975":{"sourceObj":{"__isSmartRef__":true,"id":1945},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1945},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1976},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1976":{"source":{"__isSmartRef__":true,"id":1945},"target":{"__isSmartRef__":true,"id":1945}},"1977":{"scaleVertical":true,"scaleHorizontal":true},"1978":{"browser":{"__isSmartRef__":true,"id":1797},"button":{"__isSmartRef__":true,"id":1979},"__LivelyClassName__":"lively.ide.SortCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"1979":{"submorphs":[{"__isSmartRef__":true,"id":1980}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1991},"derivationIds":[null],"id":"B8CCDFE0-597B-490F-B2F6-16E2F26C7C8C","renderContextTable":{"__isSmartRef__":true,"id":1995},"eventHandler":{"__isSmartRef__":true,"id":1996},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1997},"priorExtent":{"__isSmartRef__":true,"id":1998},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1816},"lighterFill":{"__isSmartRef__":true,"id":1999},"label":{"__isSmartRef__":true,"id":1980},"command":{"__isSmartRef__":true,"id":1978},"attributeConnections":[{"__isSmartRef__":true,"id":2008},{"__isSmartRef__":true,"id":2009}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":1781},"layout":{"__isSmartRef__":true,"id":2011},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1980":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1981},"derivationIds":[null],"id":"BC171FE3-A8C5-47A5-8722-E6361513CF82","renderContextTable":{"__isSmartRef__":true,"id":1986},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1987}],"eventHandler":{"__isSmartRef__":true,"id":1989},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1979},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":1788},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1990},"_MaxTextWidth":114.57142857142857,"_MinTextWidth":114.57142857142857,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1981":{"_Position":{"__isSmartRef__":true,"id":1982},"renderContextTable":{"__isSmartRef__":true,"id":1983},"_Extent":{"__isSmartRef__":true,"id":1984},"_Padding":{"__isSmartRef__":true,"id":1985},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1982":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1983":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1984":{"x":114.57142857142857,"y":53,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1985":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1986":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"1987":{"style":{"__isSmartRef__":true,"id":1988},"chunkOwner":{"__isSmartRef__":true,"id":1980},"storedString":"Sort","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1988":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1989":{"morph":{"__isSmartRef__":true,"id":1980},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1990":{"x":114.57142857142857,"y":53,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1991":{"_Position":{"__isSmartRef__":true,"id":1992},"renderContextTable":{"__isSmartRef__":true,"id":1993},"_Extent":{"__isSmartRef__":true,"id":1990},"_Padding":{"__isSmartRef__":true,"id":1994},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1815},"_Fill":{"__isSmartRef__":true,"id":1816},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1992":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1993":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1994":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1995":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"1996":{"morph":{"__isSmartRef__":true,"id":1979},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1997":{"x":572.8571428571429,"y":533.08,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1998":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1999":{"stops":[{"__isSmartRef__":true,"id":2000},{"__isSmartRef__":true,"id":2002},{"__isSmartRef__":true,"id":2004},{"__isSmartRef__":true,"id":2006}],"vector":{"__isSmartRef__":true,"id":547},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2000":{"offset":0,"color":{"__isSmartRef__":true,"id":2001}},"2001":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2002":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2003}},"2003":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2004":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2005}},"2005":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2006":{"offset":1,"color":{"__isSmartRef__":true,"id":2007}},"2007":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2008":{"sourceObj":{"__isSmartRef__":true,"id":1979},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1978},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2009":{"sourceObj":{"__isSmartRef__":true,"id":1979},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1979},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2010},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2010":{"source":{"__isSmartRef__":true,"id":1979},"target":{"__isSmartRef__":true,"id":1979}},"2011":{"scaleVertical":true,"scaleHorizontal":true},"2012":{"browser":{"__isSmartRef__":true,"id":1797},"button":{"__isSmartRef__":true,"id":2013},"__LivelyClassName__":"lively.ide.ViewSourceCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"2013":{"submorphs":[{"__isSmartRef__":true,"id":2014}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2025},"derivationIds":[null],"id":"2E6EECD9-CF2F-46AF-9E28-DACEEDCBF199","renderContextTable":{"__isSmartRef__":true,"id":2029},"eventHandler":{"__isSmartRef__":true,"id":2030},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2031},"priorExtent":{"__isSmartRef__":true,"id":2032},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1816},"lighterFill":{"__isSmartRef__":true,"id":2033},"label":{"__isSmartRef__":true,"id":2014},"command":{"__isSmartRef__":true,"id":2012},"attributeConnections":[{"__isSmartRef__":true,"id":2042},{"__isSmartRef__":true,"id":2043}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":1781},"layout":{"__isSmartRef__":true,"id":2045},"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2014":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2015},"derivationIds":[null],"id":"16B5EB6C-10D2-450C-A718-ED1AEF051535","renderContextTable":{"__isSmartRef__":true,"id":2020},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2021}],"eventHandler":{"__isSmartRef__":true,"id":2023},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2013},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":1788},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2024},"_MaxTextWidth":114.57142857142857,"_MinTextWidth":114.57142857142857,"_MaxTextHeight":null,"_MinTextHeight":null,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2015":{"_Position":{"__isSmartRef__":true,"id":2016},"renderContextTable":{"__isSmartRef__":true,"id":2017},"_Extent":{"__isSmartRef__":true,"id":2018},"_Padding":{"__isSmartRef__":true,"id":2019},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2016":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2017":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2018":{"x":114.57142857142857,"y":53,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2019":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2020":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"2021":{"style":{"__isSmartRef__":true,"id":2022},"chunkOwner":{"__isSmartRef__":true,"id":2014},"storedString":"View as...","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2022":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2023":{"morph":{"__isSmartRef__":true,"id":2014},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2024":{"x":114.57142857142857,"y":53,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2025":{"_Position":{"__isSmartRef__":true,"id":2026},"renderContextTable":{"__isSmartRef__":true,"id":2027},"_Extent":{"__isSmartRef__":true,"id":2024},"_Padding":{"__isSmartRef__":true,"id":2028},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1815},"_Fill":{"__isSmartRef__":true,"id":1816},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2026":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2027":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2028":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2029":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2030":{"morph":{"__isSmartRef__":true,"id":2013},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2031":{"x":687.4285714285714,"y":533.08,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2032":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2033":{"stops":[{"__isSmartRef__":true,"id":2034},{"__isSmartRef__":true,"id":2036},{"__isSmartRef__":true,"id":2038},{"__isSmartRef__":true,"id":2040}],"vector":{"__isSmartRef__":true,"id":547},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2034":{"offset":0,"color":{"__isSmartRef__":true,"id":2035}},"2035":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2036":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2037}},"2037":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2038":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2039}},"2039":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2040":{"offset":1,"color":{"__isSmartRef__":true,"id":2041}},"2041":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2042":{"sourceObj":{"__isSmartRef__":true,"id":2013},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2012},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2043":{"sourceObj":{"__isSmartRef__":true,"id":2013},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2013},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2044},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2044":{"source":{"__isSmartRef__":true,"id":2013},"target":{"__isSmartRef__":true,"id":2013}},"2045":{"scaleVertical":true,"scaleHorizontal":true},"2046":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"2047":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"2048":{"attributes":["isClassNode","isGrammarNode","isChangeNode","isFunctionNode","isObjectNode"],"__LivelyClassName__":"lively.ide.NodeTypeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"2049":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"2050":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"2051":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"2052":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/server/nodejs/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2053":{"sourceObj":{"__isSmartRef__":true,"id":1797},"sourceAttrName":"setPane1Content","targetObj":{"__isSmartRef__":true,"id":2054},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2221},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2054":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2055},"derivationIds":[null],"id":"557B3558-EE31-4A2D-A16F-969F349253D1","renderContextTable":{"__isSmartRef__":true,"id":2061},"itemList":[{"__isSmartRef__":true,"id":2062},{"__isSmartRef__":true,"id":2139},{"__isSmartRef__":true,"id":2140},{"__isSmartRef__":true,"id":2141},{"__isSmartRef__":true,"id":2142},{"__isSmartRef__":true,"id":2143},{"__isSmartRef__":true,"id":2144},{"__isSmartRef__":true,"id":2145},{"__isSmartRef__":true,"id":2146},{"__isSmartRef__":true,"id":2147},{"__isSmartRef__":true,"id":2148},{"__isSmartRef__":true,"id":2149},{"__isSmartRef__":true,"id":2150},{"__isSmartRef__":true,"id":2151},{"__isSmartRef__":true,"id":2152},{"__isSmartRef__":true,"id":2153},{"__isSmartRef__":true,"id":2154},{"__isSmartRef__":true,"id":2155},{"__isSmartRef__":true,"id":2156},{"__isSmartRef__":true,"id":2157},{"__isSmartRef__":true,"id":2158},{"__isSmartRef__":true,"id":2159},{"__isSmartRef__":true,"id":2160},{"__isSmartRef__":true,"id":2161},{"__isSmartRef__":true,"id":2162},{"__isSmartRef__":true,"id":2163},{"__isSmartRef__":true,"id":2164},{"__isSmartRef__":true,"id":2165},{"__isSmartRef__":true,"id":2166},{"__isSmartRef__":true,"id":2167},{"__isSmartRef__":true,"id":2168},{"__isSmartRef__":true,"id":2169},{"__isSmartRef__":true,"id":2170},{"__isSmartRef__":true,"id":2171},{"__isSmartRef__":true,"id":2172},{"__isSmartRef__":true,"id":2173},{"__isSmartRef__":true,"id":2174},{"__isSmartRef__":true,"id":2175},{"__isSmartRef__":true,"id":2176},{"__isSmartRef__":true,"id":2177},{"__isSmartRef__":true,"id":2178},{"__isSmartRef__":true,"id":2179},{"__isSmartRef__":true,"id":2180},{"__isSmartRef__":true,"id":2181},{"__isSmartRef__":true,"id":2182},{"__isSmartRef__":true,"id":2183},{"__isSmartRef__":true,"id":2184},{"__isSmartRef__":true,"id":2185},{"__isSmartRef__":true,"id":2186},{"__isSmartRef__":true,"id":2187},{"__isSmartRef__":true,"id":2188},{"__isSmartRef__":true,"id":2189}],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":2190},"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":2191},"selection":{"__isSmartRef__":true,"id":2192},"selectedLineNo":50,"priorExtent":{"__isSmartRef__":true,"id":2193},"owner":{"__isSmartRef__":true,"id":1781},"layout":{"__isSmartRef__":true,"id":2194},"attributeConnections":[{"__isSmartRef__":true,"id":2195},{"__isSmartRef__":true,"id":2200},{"__isSmartRef__":true,"id":2202},{"__isSmartRef__":true,"id":2204}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,336],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2206},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"2055":{"_Position":{"__isSmartRef__":true,"id":2056},"renderContextTable":{"__isSmartRef__":true,"id":2057},"_Extent":{"__isSmartRef__":true,"id":2058},"_Padding":{"__isSmartRef__":true,"id":2059},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":{"__isSmartRef__":true,"id":2060},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2056":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2057":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2058":{"x":200.5,"y":492.84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2059":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2060":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2061":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"2062":{"isListItem":true,"string":"tests/","value":{"__isSmartRef__":true,"id":2063}},"2063":{"target":{"__isSmartRef__":true,"id":2064},"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"localName":"tests/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2064":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/server/nodejs/tests/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2065":{"target":{"__isSmartRef__":true,"id":2066},"browser":{"__isSmartRef__":true,"id":1797},"parent":null,"allFiles":["../server/nodejs/EduChatServer.js","../server/nodejs/MasterServerStartup.js","../server/nodejs/GitDAVServer.js","../server/nodejs/OAuthServer.js","../server/nodejs/Base.js","../server/nodejs/SqueakEVServer.js","../server/nodejs/CommandLineServer.js","../server/nodejs/SocketChatServer.js","../server/nodejs/WhiteboardServer.js","../server/nodejs/StreamingTestServer.js","../server/nodejs/DatabaseQueryServer.js","../server/nodejs/ExampleServer.js","../server/nodejs/miniprototype.js","../server/nodejs/SocketIOExampleServer.js","../server/nodejs/SandboxServer.js","../server/nodejs/MyNewServer.js","../server/nodejs/CodeSearchServer.js","../server/nodejs/InstallShServer.js","../server/nodejs/simpleChat.js","../server/nodejs/TutorialServer.js","../server/nodejs/livelyServer.js","../server/nodejs/OMetaServer.js","../server/nodejs/AileenTest.js","../server/nodejs/ReleaseMaker.js","../server/nodejs/NewServer3.js","../server/nodejs/LaTeXServer.js","../server/nodejs/TestServer.js","../server/nodejs/ChatServer.js","../server/nodejs/FabiansPlayground.js","../server/nodejs/NodeJSProcesses.js","../server/nodejs/RemoteJSInterface.js","../server/nodejs/DemoTestServer.js","../server/nodejs/SqliteQueryServer.js","../server/nodejs/nodejs.json","../server/nodejs/NewServer.js","../server/nodejs/MasterServer.js","../server/nodejs/MartinsPlayground.js","../server/nodejs/EventTrackerServer.js","../server/nodejs/PingServer.js","../server/nodejs/PDFCreator.js","../server/nodejs/CoreDiffInterfaceServer.js","../server/nodejs/DistributedDoitServer.js","../server/nodejs/HelloServer.js","../server/nodejs/PhantomJSServer.js","../server/nodejs/PongServer.js","../server/nodejs/LKLoader.js","../server/nodejs/WebInterface.js","../server/nodejs/AJMNodeJSServer.js","../server/nodejs/GridComputingServer.js","../server/nodejs/CopenhagenDemoServer.js"],"subNamespacePaths":[{"__isSmartRef__":true,"id":2064}],"parentNamespacePath":{"__isSmartRef__":true,"id":2067},"_childNodes":[{"__isSmartRef__":true,"id":2063},{"__isSmartRef__":true,"id":2068},{"__isSmartRef__":true,"id":2069},{"__isSmartRef__":true,"id":2070},{"__isSmartRef__":true,"id":2071},{"__isSmartRef__":true,"id":2072},{"__isSmartRef__":true,"id":2073},{"__isSmartRef__":true,"id":2074},{"__isSmartRef__":true,"id":2075},{"__isSmartRef__":true,"id":2076},{"__isSmartRef__":true,"id":2077},{"__isSmartRef__":true,"id":2078},{"__isSmartRef__":true,"id":2079},{"__isSmartRef__":true,"id":2080},{"__isSmartRef__":true,"id":2081},{"__isSmartRef__":true,"id":2082},{"__isSmartRef__":true,"id":2083},{"__isSmartRef__":true,"id":2084},{"__isSmartRef__":true,"id":2085},{"__isSmartRef__":true,"id":2086},{"__isSmartRef__":true,"id":2087},{"__isSmartRef__":true,"id":2088},{"__isSmartRef__":true,"id":2089},{"__isSmartRef__":true,"id":2090},{"__isSmartRef__":true,"id":2091},{"__isSmartRef__":true,"id":2092},{"__isSmartRef__":true,"id":2093},{"__isSmartRef__":true,"id":2094},{"__isSmartRef__":true,"id":2095},{"__isSmartRef__":true,"id":2096},{"__isSmartRef__":true,"id":2097},{"__isSmartRef__":true,"id":2098},{"__isSmartRef__":true,"id":2099},{"__isSmartRef__":true,"id":2100},{"__isSmartRef__":true,"id":2101},{"__isSmartRef__":true,"id":2102},{"__isSmartRef__":true,"id":2103},{"__isSmartRef__":true,"id":2104},{"__isSmartRef__":true,"id":2105},{"__isSmartRef__":true,"id":2106},{"__isSmartRef__":true,"id":2107},{"__isSmartRef__":true,"id":2108},{"__isSmartRef__":true,"id":2109},{"__isSmartRef__":true,"id":2110},{"__isSmartRef__":true,"id":2111},{"__isSmartRef__":true,"id":2112},{"__isSmartRef__":true,"id":2113},{"__isSmartRef__":true,"id":2114},{"__isSmartRef__":true,"id":2115},{"__isSmartRef__":true,"id":2116},{"__isSmartRef__":true,"id":2117},{"__isSmartRef__":true,"id":2137}],"__LivelyClassName__":"lively.ide.SourceControlNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2066":{"__LivelyClassName__":"AnotherSourceDatabase","__SourceModuleName__":"Global.lively.ide.SourceDatabase"},"2067":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/server/nodejs/../","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2068":{"target":{"__isSmartRef__":true,"id":2067},"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"localName":"../","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2069":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/AileenTest.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2070":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/AJMNodeJSServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2071":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/Base.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2072":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/ChatServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2073":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/CodeSearchServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2074":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/CommandLineServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2075":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/CopenhagenDemoServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2076":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/CoreDiffInterfaceServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2077":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/DatabaseQueryServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2078":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/DemoTestServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2079":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/DistributedDoitServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2080":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/EduChatServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2081":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/EventTrackerServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2082":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/ExampleServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2083":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/FabiansPlayground.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2084":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/GitDAVServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2085":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/GridComputingServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2086":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/HelloServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2087":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/InstallShServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2088":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/LaTeXServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2089":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/livelyServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2090":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/LKLoader.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2091":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/MartinsPlayground.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2092":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/MasterServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2093":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/MasterServerStartup.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2094":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/miniprototype.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2095":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/MyNewServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2096":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/NewServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2097":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/NewServer3.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2098":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/NodeJSProcesses.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2099":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/OAuthServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2100":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/OMetaServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2101":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/PDFCreator.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2102":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/PhantomJSServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2103":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/PingServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2104":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/PongServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2105":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/ReleaseMaker.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2106":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/RemoteJSInterface.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2107":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/SandboxServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2108":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/simpleChat.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2109":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/SocketChatServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2110":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/SocketIOExampleServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2111":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/SqliteQueryServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2112":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/SqueakEVServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2113":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/StreamingTestServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2114":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/TestServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2115":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/TutorialServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2116":{"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/WebInterface.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2117":{"target":{"__isSmartRef__":true,"id":2118},"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/WhiteboardServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2118":{"name":"server/nodejs/WhiteboardServer.js","type":"completeFileDef","startIndex":0,"stopIndex":7820,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[{"__isSmartRef__":true,"id":2119},{"__isSmartRef__":true,"id":2127},{"__isSmartRef__":true,"id":2128},{"__isSmartRef__":true,"id":2129},{"__isSmartRef__":true,"id":2130},{"__isSmartRef__":true,"id":2131},{"__isSmartRef__":true,"id":2132},{"__isSmartRef__":true,"id":2133},{"__isSmartRef__":true,"id":2134},{"__isSmartRef__":true,"id":2135},{"__isSmartRef__":true,"id":2136}],"sourceControl":{"__isSmartRef__":true,"id":2066},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2119":{"name":"WhiteboardServer","type":"objectDef","startIndex":0,"stopIndex":1301,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[{"__isSmartRef__":true,"id":2120},{"__isSmartRef__":true,"id":2122},{"__isSmartRef__":true,"id":2123},{"__isSmartRef__":true,"id":2124},{"__isSmartRef__":true,"id":2125},{"__isSmartRef__":true,"id":2126}],"sourceControl":{"__isSmartRef__":true,"id":2066},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2120":{"name":"port","type":"propertyDef","startIndex":21,"stopIndex":54,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2121},"_owner":{"__isSmartRef__":true,"id":2119},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2121":{"name":"default category","type":"categoryDef","startIndex":19,"stopIndex":1301,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":2120},{"__isSmartRef__":true,"id":2122},{"__isSmartRef__":true,"id":2123},{"__isSmartRef__":true,"id":2124},{"__isSmartRef__":true,"id":2125},{"__isSmartRef__":true,"id":2126}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2122":{"name":"logLevel","type":"propertyDef","startIndex":55,"stopIndex":117,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2121},"_owner":{"__isSmartRef__":true,"id":2119},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2123":{"name":"log","type":"propertyDef","startIndex":119,"stopIndex":274,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2121},"_owner":{"__isSmartRef__":true,"id":2119},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2124":{"name":"data","type":"propertyDef","startIndex":276,"stopIndex":329,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2121},"_owner":{"__isSmartRef__":true,"id":2119},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2125":{"name":"storage","type":"propertyDef","startIndex":331,"stopIndex":1049,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2121},"_owner":{"__isSmartRef__":true,"id":2119},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2126":{"name":"send","type":"propertyDef","startIndex":1051,"stopIndex":1297,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2121},"_owner":{"__isSmartRef__":true,"id":2119},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2127":{"name":null,"type":"unknown","startIndex":1302,"stopIndex":1362,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2128":{"name":null,"type":"comment","startIndex":1363,"stopIndex":1363,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2129":{"name":null,"type":"unknown","startIndex":1364,"stopIndex":1648,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2130":{"name":null,"type":"comment","startIndex":1649,"stopIndex":1670,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2131":{"name":null,"type":"unknown","startIndex":1671,"stopIndex":1759,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2132":{"name":null,"type":"unknown","startIndex":1760,"stopIndex":1841,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2133":{"name":null,"type":"unknown","startIndex":1842,"stopIndex":1932,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2134":{"name":null,"type":"unknown","startIndex":1933,"stopIndex":2021,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2135":{"name":null,"type":"unknown","startIndex":2022,"stopIndex":7791,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2136":{"name":null,"type":"unknown","startIndex":7792,"stopIndex":7820,"fileName":"server/nodejs/WhiteboardServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2066},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2137":{"target":{"__isSmartRef__":true,"id":2138},"browser":{"__isSmartRef__":true,"id":1797},"__LivelyClassName__":"lively.ide.ChangeSetNode","__SourceModuleName__":"Global.lively.ide.LocalBrowser"},"2138":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"2139":{"isListItem":true,"string":"../","value":{"__isSmartRef__":true,"id":2068}},"2140":{"isListItem":true,"string":"AileenTest.js (not parsed)","value":{"__isSmartRef__":true,"id":2069}},"2141":{"isListItem":true,"string":"AJMNodeJSServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2070}},"2142":{"isListItem":true,"string":"Base.js (not parsed)","value":{"__isSmartRef__":true,"id":2071}},"2143":{"isListItem":true,"string":"ChatServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2072}},"2144":{"isListItem":true,"string":"CodeSearchServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2073}},"2145":{"isListItem":true,"string":"CommandLineServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2074}},"2146":{"isListItem":true,"string":"CopenhagenDemoServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2075}},"2147":{"isListItem":true,"string":"CoreDiffInterfaceServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2076}},"2148":{"isListItem":true,"string":"DatabaseQueryServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2077}},"2149":{"isListItem":true,"string":"DemoTestServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2078}},"2150":{"isListItem":true,"string":"DistributedDoitServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2079}},"2151":{"isListItem":true,"string":"EduChatServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2080}},"2152":{"isListItem":true,"string":"EventTrackerServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2081}},"2153":{"isListItem":true,"string":"ExampleServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2082}},"2154":{"isListItem":true,"string":"FabiansPlayground.js (not parsed)","value":{"__isSmartRef__":true,"id":2083}},"2155":{"isListItem":true,"string":"GitDAVServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2084}},"2156":{"isListItem":true,"string":"GridComputingServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2085}},"2157":{"isListItem":true,"string":"HelloServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2086}},"2158":{"isListItem":true,"string":"InstallShServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2087}},"2159":{"isListItem":true,"string":"LaTeXServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2088}},"2160":{"isListItem":true,"string":"livelyServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2089}},"2161":{"isListItem":true,"string":"LKLoader.js (not parsed)","value":{"__isSmartRef__":true,"id":2090}},"2162":{"isListItem":true,"string":"MartinsPlayground.js (not parsed)","value":{"__isSmartRef__":true,"id":2091}},"2163":{"isListItem":true,"string":"MasterServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2092}},"2164":{"isListItem":true,"string":"MasterServerStartup.js (not parsed)","value":{"__isSmartRef__":true,"id":2093}},"2165":{"isListItem":true,"string":"miniprototype.js (not parsed)","value":{"__isSmartRef__":true,"id":2094}},"2166":{"isListItem":true,"string":"MyNewServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2095}},"2167":{"isListItem":true,"string":"NewServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2096}},"2168":{"isListItem":true,"string":"NewServer3.js (not parsed)","value":{"__isSmartRef__":true,"id":2097}},"2169":{"isListItem":true,"string":"NodeJSProcesses.js (not parsed)","value":{"__isSmartRef__":true,"id":2098}},"2170":{"isListItem":true,"string":"OAuthServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2099}},"2171":{"isListItem":true,"string":"OMetaServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2100}},"2172":{"isListItem":true,"string":"PDFCreator.js (not parsed)","value":{"__isSmartRef__":true,"id":2101}},"2173":{"isListItem":true,"string":"PhantomJSServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2102}},"2174":{"isListItem":true,"string":"PingServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2103}},"2175":{"isListItem":true,"string":"PongServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2104}},"2176":{"isListItem":true,"string":"ReleaseMaker.js (not parsed)","value":{"__isSmartRef__":true,"id":2105}},"2177":{"isListItem":true,"string":"RemoteJSInterface.js (not parsed)","value":{"__isSmartRef__":true,"id":2106}},"2178":{"isListItem":true,"string":"SandboxServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2107}},"2179":{"isListItem":true,"string":"simpleChat.js (not parsed)","value":{"__isSmartRef__":true,"id":2108}},"2180":{"isListItem":true,"string":"SocketChatServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2109}},"2181":{"isListItem":true,"string":"SocketIOExampleServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2110}},"2182":{"isListItem":true,"string":"SqliteQueryServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2111}},"2183":{"isListItem":true,"string":"SqueakEVServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2112}},"2184":{"isListItem":true,"string":"StreamingTestServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2113}},"2185":{"isListItem":true,"string":"TestServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2114}},"2186":{"isListItem":true,"string":"TutorialServer.js (not parsed)","value":{"__isSmartRef__":true,"id":2115}},"2187":{"isListItem":true,"string":"WebInterface.js (not parsed)","value":{"__isSmartRef__":true,"id":2116}},"2188":{"isListItem":true,"string":"WhiteboardServer.js","value":{"__isSmartRef__":true,"id":2117}},"2189":{"isListItem":true,"string":"Local code","value":{"__isSmartRef__":true,"id":2137}},"2190":{"morph":{"__isSmartRef__":true,"id":2054},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2191":{"x":0,"y":39.96,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2192":{"target":{"__isSmartRef__":true,"id":2118},"browser":{"__isSmartRef__":true,"id":1797},"parent":{"__isSmartRef__":true,"id":2065},"moduleName":"../server/nodejs/WhiteboardServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2193":{"x":200.5,"y":492.84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2194":{"scaleVertical":true,"scaleHorizontal":true},"2195":{"sourceObj":{"__isSmartRef__":true,"id":2054},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"setPane1Selection","converter":null,"converterString":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":2196},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2197},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2196":{"source":{"__isSmartRef__":true,"id":2054},"target":{"__isSmartRef__":true,"id":1797}},"2197":{"updater":{"__isSmartRef__":true,"id":2198}},"2198":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":2196},"source":"function ($upd, v) { $upd(v, this.sourceObj) }","funcProperties":{"__isSmartRef__":true,"id":2199},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2199":{},"2200":{"sourceObj":{"__isSmartRef__":true,"id":2054},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"getPane1Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2201},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2201":{"source":{"__isSmartRef__":true,"id":2054},"target":{"__isSmartRef__":true,"id":1797}},"2202":{"sourceObj":{"__isSmartRef__":true,"id":2054},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"getPane1Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2203},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2203":{"source":{"__isSmartRef__":true,"id":2054},"target":{"__isSmartRef__":true,"id":1797}},"2204":{"sourceObj":{"__isSmartRef__":true,"id":2054},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"getPane1Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2205},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2205":{"source":{"__isSmartRef__":true,"id":2054},"target":{"__isSmartRef__":true,"id":1797}},"2206":{"onDownPressed":{"__isSmartRef__":true,"id":2207},"onUpPressed":{"__isSmartRef__":true,"id":2214}},"2207":{"varMapping":{"__isSmartRef__":true,"id":2208},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2213},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2208":{"this":{"__isSmartRef__":true,"id":2054},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2209}},"2209":{"$super":{"__isSmartRef__":true,"id":2210}},"2210":{"varMapping":{"__isSmartRef__":true,"id":2211},"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":2212},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2211":{"obj":{"__isSmartRef__":true,"id":2054},"name":"onDownPressed"},"2212":{},"2213":{},"2214":{"varMapping":{"__isSmartRef__":true,"id":2215},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2220},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2215":{"this":{"__isSmartRef__":true,"id":2054},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2216}},"2216":{"$super":{"__isSmartRef__":true,"id":2217}},"2217":{"varMapping":{"__isSmartRef__":true,"id":2218},"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":2219},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2218":{"obj":{"__isSmartRef__":true,"id":2054},"name":"onUpPressed"},"2219":{},"2220":{},"2221":{"source":{"__isSmartRef__":true,"id":1797},"target":{"__isSmartRef__":true,"id":2054}},"2222":{"sourceObj":{"__isSmartRef__":true,"id":1797},"sourceAttrName":"setPane2Content","targetObj":{"__isSmartRef__":true,"id":2223},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2260},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2223":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2224},"derivationIds":[null],"id":"DA2472A7-BFCF-4E60-BABE-04EBB30037CB","renderContextTable":{"__isSmartRef__":true,"id":2230},"itemList":[{"__isSmartRef__":true,"id":2231}],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":2233},"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":2234},"selection":null,"selectedLineNo":-1,"priorExtent":{"__isSmartRef__":true,"id":2235},"owner":{"__isSmartRef__":true,"id":1781},"layout":{"__isSmartRef__":true,"id":2236},"attributeConnections":[{"__isSmartRef__":true,"id":2237},{"__isSmartRef__":true,"id":2239},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2243}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2245},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"2224":{"_Position":{"__isSmartRef__":true,"id":2225},"renderContextTable":{"__isSmartRef__":true,"id":2226},"_Extent":{"__isSmartRef__":true,"id":2227},"_Padding":{"__isSmartRef__":true,"id":2228},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":{"__isSmartRef__":true,"id":2229},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2225":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2226":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2227":{"x":200.5,"y":492.84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2228":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2229":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2230":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"2231":{"isListItem":true,"string":"WhiteboardServer (object)","value":{"__isSmartRef__":true,"id":2232}},"2232":{"target":{"__isSmartRef__":true,"id":2119},"browser":{"__isSmartRef__":true,"id":1797},"__LivelyClassName__":"lively.ide.ObjectFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2233":{"morph":{"__isSmartRef__":true,"id":2223},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2234":{"x":200.5,"y":39.96,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2235":{"x":200.5,"y":492.84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2236":{"scaleVertical":true,"scaleHorizontal":true},"2237":{"sourceObj":{"__isSmartRef__":true,"id":2223},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"setPane2Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":2238},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2238":{"source":{"__isSmartRef__":true,"id":2223},"target":{"__isSmartRef__":true,"id":1797}},"2239":{"sourceObj":{"__isSmartRef__":true,"id":2223},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"getPane2Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2240},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2240":{"source":{"__isSmartRef__":true,"id":2223},"target":{"__isSmartRef__":true,"id":1797}},"2241":{"sourceObj":{"__isSmartRef__":true,"id":2223},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"getPane2Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2242},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2242":{"source":{"__isSmartRef__":true,"id":2223},"target":{"__isSmartRef__":true,"id":1797}},"2243":{"sourceObj":{"__isSmartRef__":true,"id":2223},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"getPane2Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2244},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2244":{"source":{"__isSmartRef__":true,"id":2223},"target":{"__isSmartRef__":true,"id":1797}},"2245":{"onDownPressed":{"__isSmartRef__":true,"id":2246},"onUpPressed":{"__isSmartRef__":true,"id":2253}},"2246":{"varMapping":{"__isSmartRef__":true,"id":2247},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2252},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2247":{"this":{"__isSmartRef__":true,"id":2223},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2248}},"2248":{"$super":{"__isSmartRef__":true,"id":2249}},"2249":{"varMapping":{"__isSmartRef__":true,"id":2250},"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":2251},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2250":{"obj":{"__isSmartRef__":true,"id":2223},"name":"onDownPressed"},"2251":{},"2252":{},"2253":{"varMapping":{"__isSmartRef__":true,"id":2254},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2259},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2254":{"this":{"__isSmartRef__":true,"id":2223},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2255}},"2255":{"$super":{"__isSmartRef__":true,"id":2256}},"2256":{"varMapping":{"__isSmartRef__":true,"id":2257},"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":2258},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2257":{"obj":{"__isSmartRef__":true,"id":2223},"name":"onUpPressed"},"2258":{},"2259":{},"2260":{"source":{"__isSmartRef__":true,"id":1797},"target":{"__isSmartRef__":true,"id":2223}},"2261":{"sourceObj":{"__isSmartRef__":true,"id":1797},"sourceAttrName":"setPane3Content","targetObj":{"__isSmartRef__":true,"id":2262},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2297},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2262":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2263},"derivationIds":[null],"id":"A92D819B-F42A-4C1E-8F0D-17A8321620C7","renderContextTable":{"__isSmartRef__":true,"id":2269},"itemList":["-----"],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":2270},"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":2271},"selection":null,"selectedLineNo":-1,"priorExtent":{"__isSmartRef__":true,"id":2272},"owner":{"__isSmartRef__":true,"id":1781},"layout":{"__isSmartRef__":true,"id":2273},"attributeConnections":[{"__isSmartRef__":true,"id":2274},{"__isSmartRef__":true,"id":2276},{"__isSmartRef__":true,"id":2278},{"__isSmartRef__":true,"id":2280}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2282},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"2263":{"_Position":{"__isSmartRef__":true,"id":2264},"renderContextTable":{"__isSmartRef__":true,"id":2265},"_Extent":{"__isSmartRef__":true,"id":2266},"_Padding":{"__isSmartRef__":true,"id":2267},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":{"__isSmartRef__":true,"id":2268},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2264":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2265":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2266":{"x":200.5,"y":492.84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2267":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2268":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2269":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"2270":{"morph":{"__isSmartRef__":true,"id":2262},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2271":{"x":401,"y":39.96,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2272":{"x":200.5,"y":492.84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2273":{"scaleVertical":true,"scaleHorizontal":true},"2274":{"sourceObj":{"__isSmartRef__":true,"id":2262},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"setPane3Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":2275},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2275":{"source":{"__isSmartRef__":true,"id":2262},"target":{"__isSmartRef__":true,"id":1797}},"2276":{"sourceObj":{"__isSmartRef__":true,"id":2262},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"getPane3Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2277},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2277":{"source":{"__isSmartRef__":true,"id":2262},"target":{"__isSmartRef__":true,"id":1797}},"2278":{"sourceObj":{"__isSmartRef__":true,"id":2262},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"getPane3Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2279},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2279":{"source":{"__isSmartRef__":true,"id":2262},"target":{"__isSmartRef__":true,"id":1797}},"2280":{"sourceObj":{"__isSmartRef__":true,"id":2262},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"getPane3Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2281},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2281":{"source":{"__isSmartRef__":true,"id":2262},"target":{"__isSmartRef__":true,"id":1797}},"2282":{"onDownPressed":{"__isSmartRef__":true,"id":2283},"onUpPressed":{"__isSmartRef__":true,"id":2290}},"2283":{"varMapping":{"__isSmartRef__":true,"id":2284},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2289},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2284":{"this":{"__isSmartRef__":true,"id":2262},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2285}},"2285":{"$super":{"__isSmartRef__":true,"id":2286}},"2286":{"varMapping":{"__isSmartRef__":true,"id":2287},"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":2288},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2287":{"obj":{"__isSmartRef__":true,"id":2262},"name":"onDownPressed"},"2288":{},"2289":{},"2290":{"varMapping":{"__isSmartRef__":true,"id":2291},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2296},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2291":{"this":{"__isSmartRef__":true,"id":2262},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2292}},"2292":{"$super":{"__isSmartRef__":true,"id":2293}},"2293":{"varMapping":{"__isSmartRef__":true,"id":2294},"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":2295},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2294":{"obj":{"__isSmartRef__":true,"id":2262},"name":"onUpPressed"},"2295":{},"2296":{},"2297":{"source":{"__isSmartRef__":true,"id":1797},"target":{"__isSmartRef__":true,"id":2262}},"2298":{"sourceObj":{"__isSmartRef__":true,"id":1797},"sourceAttrName":"setPane4Content","targetObj":{"__isSmartRef__":true,"id":2299},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2334},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2299":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2300},"derivationIds":[null],"id":"34DD5CB8-C438-433D-B1C0-966BD3221D08","renderContextTable":{"__isSmartRef__":true,"id":2306},"itemList":["-----"],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":2307},"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":2308},"selection":null,"selectedLineNo":-1,"priorExtent":{"__isSmartRef__":true,"id":2309},"owner":{"__isSmartRef__":true,"id":1781},"layout":{"__isSmartRef__":true,"id":2310},"attributeConnections":[{"__isSmartRef__":true,"id":2311},{"__isSmartRef__":true,"id":2313},{"__isSmartRef__":true,"id":2315},{"__isSmartRef__":true,"id":2317}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2319},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"2300":{"_Position":{"__isSmartRef__":true,"id":2301},"renderContextTable":{"__isSmartRef__":true,"id":2302},"_Extent":{"__isSmartRef__":true,"id":2303},"_Padding":{"__isSmartRef__":true,"id":2304},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":{"__isSmartRef__":true,"id":2305},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2301":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2302":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2303":{"x":200.5,"y":492.84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2304":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2305":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2306":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"2307":{"morph":{"__isSmartRef__":true,"id":2299},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2308":{"x":601.5,"y":39.96,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2309":{"x":200.5,"y":492.84,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2310":{"scaleVertical":true,"scaleHorizontal":true},"2311":{"sourceObj":{"__isSmartRef__":true,"id":2299},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"setPane4Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":2312},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2312":{"source":{"__isSmartRef__":true,"id":2299},"target":{"__isSmartRef__":true,"id":1797}},"2313":{"sourceObj":{"__isSmartRef__":true,"id":2299},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"getPane4Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2314},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2314":{"source":{"__isSmartRef__":true,"id":2299},"target":{"__isSmartRef__":true,"id":1797}},"2315":{"sourceObj":{"__isSmartRef__":true,"id":2299},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"getPane4Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2316},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2316":{"source":{"__isSmartRef__":true,"id":2299},"target":{"__isSmartRef__":true,"id":1797}},"2317":{"sourceObj":{"__isSmartRef__":true,"id":2299},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"getPane4Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2318},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2318":{"source":{"__isSmartRef__":true,"id":2299},"target":{"__isSmartRef__":true,"id":1797}},"2319":{"onDownPressed":{"__isSmartRef__":true,"id":2320},"onUpPressed":{"__isSmartRef__":true,"id":2327}},"2320":{"varMapping":{"__isSmartRef__":true,"id":2321},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2326},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2321":{"this":{"__isSmartRef__":true,"id":2299},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2322}},"2322":{"$super":{"__isSmartRef__":true,"id":2323}},"2323":{"varMapping":{"__isSmartRef__":true,"id":2324},"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":2325},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2324":{"obj":{"__isSmartRef__":true,"id":2299},"name":"onDownPressed"},"2325":{},"2326":{},"2327":{"varMapping":{"__isSmartRef__":true,"id":2328},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2333},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2328":{"this":{"__isSmartRef__":true,"id":2299},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2329}},"2329":{"$super":{"__isSmartRef__":true,"id":2330}},"2330":{"varMapping":{"__isSmartRef__":true,"id":2331},"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":2332},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2331":{"obj":{"__isSmartRef__":true,"id":2299},"name":"onUpPressed"},"2332":{},"2333":{},"2334":{"source":{"__isSmartRef__":true,"id":1797},"target":{"__isSmartRef__":true,"id":2299}},"2335":{"sourceObj":{"__isSmartRef__":true,"id":1797},"sourceAttrName":"setSourceString","targetObj":{"__isSmartRef__":true,"id":2336},"targetMethodName":"setTextString","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2353},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2336":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2337},"derivationIds":[null],"id":"321FAE56-0DC3-4EAB-909F-34BE50D778DA","renderContextTable":{"__isSmartRef__":true,"id":2343},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2344}],"eventHandler":{"__isSmartRef__":true,"id":2346},"_ClipMode":"auto","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":true,"_FontFamily":"Courier","_FontSize":10,"evalEnabled":false,"_Position":{"__isSmartRef__":true,"id":2347},"priorExtent":{"__isSmartRef__":true,"id":2348},"_MaxTextWidth":775,"_MinTextWidth":775,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":1781},"accessibleInInactiveWindow":true,"layout":{"__isSmartRef__":true,"id":2349},"noEval":true,"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":2350},{"__isSmartRef__":true,"id":2351}],"doNotSerialize":["$$textString","$$savedTextString"],"doNotCopyProperties":["$$textString","$$savedTextString"],"textString":"WhiteboardServer = {\n // port: 8110,\n port: 4000, // new port for websockets, even from outside\n logLevel: 1,\n log: function(logText, optLevel) {\n var logLevel = optLevel || 1;\n if (this.logLevel >= logLevel)\n console.log(logText);\n },\n // TODO find a pattern for this mess\n data: {},\n storage: function (storageName, defaultData) {\n if (!this.data[storageName]) {\n this.data[storageName] = {\n data: {},\n get: function (name) {\n if (!this.data[name]) {\n if (defaultData) {\n this.data[name] = new Object;\n } else {\n this.data[name] = new Array;\n }\n }\n return this.data[name];\n },\n set: function (name, data) {\n this.data[name] = data; \n },\n }\n }\n return this.data[storageName];\n },\n send: function (socket, channel, messageType, data) {\n if (data.broadcast) {\n socket.broadcast.to(channel).emit(messageType, data);\n }\n if (data.me) {\n socket.emit(messageType, data);\n }\n },\n}\n\nvar io = require('socket.io').listen(WhiteboardServer.port);\n\nio.configure(function () {\n io.set('transports', ['websocket', 'xhr-polling']);\n io.set('log level', 0);\n io.set('authorization', function (handshakeData, callback) {\n // TODO implement some sort of auth (maybe send cookie...)\n callback(null, true);\n });\n});\n\n// convenience names\nvar clients = WhiteboardServer.storage(\"clients\", true); // client -> channel / nick\nvar channels = WhiteboardServer.storage(\"channels\"); // channel -> clients\nvar drawings = WhiteboardServer.storage(\"drawings\"); // channel -> strokes / morphs\nvar chatLog = WhiteboardServer.storage(\"chatLog\"); // channel -> chat messages\n\nio.sockets.on('connection', function (socket) {\n socket.on('channel', function (channel, callback) {\n // leave the old channel\n //drawings && drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' connect begin', 2);\n var oldChannel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n var join = false;\n var leave = false;\n if (oldChannel && oldChannel != channel) {\n var idx = channels.get(oldChannel).indexOf(socket.id);\n if (idx!=-1)\n channels.get(oldChannel).splice(idx, 1);\n socket.leave(oldChannel);\n WhiteboardServer.log(oldChannel + ': client ' + socket.id + ' disconnected', 2);\n WhiteboardServer.log(oldChannel + ': currently connected clients:\\n' + channels.get(oldChannel));\n WhiteboardServer.send(socket, oldChannel, 'clientDisconnect', {message: nick, broadcast: true});\n leave = true;\n }\n // join the new channel\n clients.get(socket.id).channel = channel;\n // TODO give unique color to client\n var color = {\n r: Math.round(Math.random()*256),\n g: Math.round(Math.random()*256),\n b: Math.round(Math.random()*256)\n };\n // test if color is not there already\n channels.get(channel).push(socket.id);\n socket.join(channel);\n WhiteboardServer.log(channel + ': client ' + socket.id + ' connected', 2);\n WhiteboardServer.log(channel + ': currently connected clients:\\n' + channels.get(channel));\n WhiteboardServer.send(socket, channel, 'clientConnect', {message: nick, broadcast: true});\n join = true;\n // call callback to complete\n callback(join, channel, leave, oldChannel, drawings.get(channel));\n //drawings && drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' connect end', 2);\n });\n socket.on('disconnect', function() {\n var channel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n // if (typeof channel == \"undefined\") {\n // WhiteboardServer.log('unknown socket.id tried to disconnect', 2);\n // return;\n // }\n //drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' disconnect begin', 2)\n var idx = channels.get(channel).indexOf(socket.id);\n if (idx!=-1)\n channels.get(channel).splice(idx, 1);\n delete clients[socket.id];\n socket.leave(channel);\n WhiteboardServer.send(socket, channel, 'clientDisconnect', {message: nick, broadcast: true});\n //WhiteboardServer.log(drawings.get(channel).length + ' disconnect end', 2);\n WhiteboardServer.log(channel + ': client ' + socket.id + ' disconnected', 2);\n WhiteboardServer.log(channel + ': currently connected clients: ' + channels.get(channel));\n });\n socket.on('nick', function (data) {\n WhiteboardServer.log('got new name ' + data.message + ' for socket ' + socket.id, 2);\n var oldNick = clients.get(socket.id).nick;\n clients.get(socket.id).nick = data.message;\n var newNick = clients.get(socket.id).nick;\n data.message = {old: oldNick, new: newNick};\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'nick', data);\n });\n socket.on('ping', function (data) {\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'pong', data);\n });\n socket.on('chat', function (data) {\n var channel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n var chatMessage = {\n time: new Date().getTime(),\n nick: nick,\n message: data.message,\n };\n chatLog.get(channel).push(chatMessage);\n chatMessage.broadcast = data.broadcast;\n chatMessage.me = data.me;\n WhiteboardServer.send(socket, channel, 'chat', chatMessage);\n });\n socket.on('names', function (data) {\n WhiteboardServer.log('names', 3);\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.send(socket, channel, 'names', {\n message: channels.get(channel).map(function (id) {return clients.get(id).nick}),\n me: true,\n broadcast: false});\n });\n socket.on('draw', function (data) {\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.log('draw: ' + data.message.identifier + 'socket: ' + socket.id, 2);\n drawings.get(channel).push(data.message);\n WhiteboardServer.send(socket, channel, 'draw', data);\n });\n socket.on('morph', function (data) {\n var channel = clients.get(socket.id).channel;\n drawings.get(channel).push(data.message);\n WhiteboardServer.send(socket, channel, 'morph', data);\n });\n socket.on('clear', function (data) {\n WhiteboardServer.log('clear', 2);\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'clear', data);\n });\n socket.on('delete', function (data) {\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.log('delete: '+ data.message + 'socket: ' + socket.id, 2);\n drawings.set(channel, drawings.get(channel).filter(function (ea) {\n return ea.identifier !== data.message;\n }));\n WhiteboardServer.send(socket, channel, 'delete', data);\n });\n socket.on('change', function (data) {\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'change', data);\n });\n socket.on('mouse', function (data) {\n data.message[\"id\"] = socket.id;\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'mouse', data);\n });\n});Math.round(Math.random()*256)","lastSyntaxHighlightTime":1335949320680,"savedTextString":"WhiteboardServer = {\n // port: 8110,\n port: 4000, // new port for websockets, even from outside\n logLevel: 1,\n log: function(logText, optLevel) {\n var logLevel = optLevel || 1;\n if (this.logLevel >= logLevel)\n console.log(logText);\n },\n // TODO find a pattern for this mess\n data: {},\n storage: function (storageName, defaultData) {\n if (!this.data[storageName]) {\n this.data[storageName] = {\n data: {},\n get: function (name) {\n if (!this.data[name]) {\n if (defaultData) {\n this.data[name] = new Object;\n } else {\n this.data[name] = new Array;\n }\n }\n return this.data[name];\n },\n set: function (name, data) {\n this.data[name] = data; \n },\n }\n }\n return this.data[storageName];\n },\n send: function (socket, channel, messageType, data) {\n if (data.broadcast) {\n socket.broadcast.to(channel).emit(messageType, data);\n }\n if (data.me) {\n socket.emit(messageType, data);\n }\n },\n}\n\nvar io = require('socket.io').listen(WhiteboardServer.port);\n\nio.configure(function () {\n io.set('transports', ['websocket', 'xhr-polling']);\n io.set('log level', 0);\n io.set('authorization', function (handshakeData, callback) {\n // TODO implement some sort of auth (maybe send cookie...)\n callback(null, true);\n });\n});\n\n// convenience names\nvar clients = WhiteboardServer.storage(\"clients\", true); // client -> channel / nick\nvar channels = WhiteboardServer.storage(\"channels\"); // channel -> clients\nvar drawings = WhiteboardServer.storage(\"drawings\"); // channel -> strokes / morphs\nvar chatLog = WhiteboardServer.storage(\"chatLog\"); // channel -> chat messages\n\nio.sockets.on('connection', function (socket) {\n socket.on('channel', function (channel, callback) {\n // leave the old channel\n //drawings && drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' connect begin', 2);\n var oldChannel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n var join = false;\n var leave = false;\n if (oldChannel && oldChannel != channel) {\n var idx = channels.get(oldChannel).indexOf(socket.id);\n if (idx!=-1)\n channels.get(oldChannel).splice(idx, 1);\n socket.leave(oldChannel);\n WhiteboardServer.log(oldChannel + ': client ' + socket.id + ' disconnected', 2);\n WhiteboardServer.log(oldChannel + ': currently connected clients:\\n' + channels.get(oldChannel));\n WhiteboardServer.send(socket, oldChannel, 'clientDisconnect', {message: nick, broadcast: true});\n leave = true;\n }\n // join the new channel\n clients.get(socket.id).channel = channel;\n // TODO give unique color to client\n var color = {\n r: Math.round(Math.random()*256),\n g: Math.round(Math.random()*256),\n b: Math.round(Math.random()*256)\n };\n // test if color is not there already\n channels.get(channel).push(socket.id);\n socket.join(channel);\n WhiteboardServer.log(channel + ': client ' + socket.id + ' connected', 2);\n WhiteboardServer.log(channel + ': currently connected clients:\\n' + channels.get(channel));\n WhiteboardServer.send(socket, channel, 'clientConnect', {message: nick, broadcast: true});\n join = true;\n // call callback to complete\n callback(join, channel, leave, oldChannel, drawings.get(channel));\n //drawings && drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' connect end', 2);\n });\n socket.on('disconnect', function() {\n var channel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n // if (typeof channel == \"undefined\") {\n // WhiteboardServer.log('unknown socket.id tried to disconnect', 2);\n // return;\n // }\n //drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' disconnect begin', 2)\n var idx = channels.get(channel).indexOf(socket.id);\n if (idx!=-1)\n channels.get(channel).splice(idx, 1);\n delete clients[socket.id];\n socket.leave(channel);\n WhiteboardServer.send(socket, channel, 'clientDisconnect', {message: nick, broadcast: true});\n //WhiteboardServer.log(drawings.get(channel).length + ' disconnect end', 2);\n WhiteboardServer.log(channel + ': client ' + socket.id + ' disconnected', 2);\n WhiteboardServer.log(channel + ': currently connected clients: ' + channels.get(channel));\n });\n socket.on('nick', function (data) {\n WhiteboardServer.log('got new name ' + data.message + ' for socket ' + socket.id, 2);\n var oldNick = clients.get(socket.id).nick;\n clients.get(socket.id).nick = data.message;\n var newNick = clients.get(socket.id).nick;\n data.message = {old: oldNick, new: newNick};\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'nick', data);\n });\n socket.on('ping', function (data) {\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'pong', data);\n });\n socket.on('chat', function (data) {\n var channel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n var chatMessage = {\n time: new Date().getTime(),\n nick: nick,\n message: data.message,\n };\n chatLog.get(channel).push(chatMessage);\n chatMessage.broadcast = data.broadcast;\n chatMessage.me = data.me;\n WhiteboardServer.send(socket, channel, 'chat', chatMessage);\n });\n socket.on('names', function (data) {\n WhiteboardServer.log('names', 3);\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.send(socket, channel, 'names', {\n message: channels.get(channel).map(function (id) {return clients.get(id).nick}),\n me: true,\n broadcast: false});\n });\n socket.on('draw', function (data) {\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.log('draw: ' + data.message.identifier + 'socket: ' + socket.id, 2);\n drawings.get(channel).push(data.message);\n WhiteboardServer.send(socket, channel, 'draw', data);\n });\n socket.on('morph', function (data) {\n var channel = clients.get(socket.id).channel;\n drawings.get(channel).push(data.message);\n WhiteboardServer.send(socket, channel, 'morph', data);\n });\n socket.on('clear', function (data) {\n WhiteboardServer.log('clear', 2);\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'clear', data);\n });\n socket.on('delete', function (data) {\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.log('delete: '+ data.message + 'socket: ' + socket.id, 2);\n drawings.set(channel, drawings.get(channel).filter(function (ea) {\n return ea.identifier !== data.message;\n }));\n WhiteboardServer.send(socket, channel, 'delete', data);\n });\n socket.on('change', function (data) {\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'change', data);\n });\n socket.on('mouse', function (data) {\n data.message[\"id\"] = socket.id;\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'mouse', data);\n });\n});Math.round(Math.random()*256)","styleClass":["Browser_codePaneText"],"focusHaloBorderWidth":0.5,"previousSelection":[0,0],"isBeingDragged":false,"charsReplaced":"","lastFindLoc":3317,"lastSearchString":"console","priorSelectionRange":[3308,3308],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2337":{"_Position":{"__isSmartRef__":true,"id":2338},"renderContextTable":{"__isSmartRef__":true,"id":2339},"_Extent":{"__isSmartRef__":true,"id":2340},"_Padding":{"__isSmartRef__":true,"id":2341},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2342},"_Fill":{"__isSmartRef__":true,"id":544},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2338":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2339":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2340":{"x":802,"y":732.6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2341":{"x":5,"y":5,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2342":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2343":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"2344":{"style":{"__isSmartRef__":true,"id":2345},"chunkOwner":{"__isSmartRef__":true,"id":2336},"storedString":"WhiteboardServer = {\n // port: 8110,\n port: 4000, // new port for websockets, even from outside\n logLevel: 1,\n log: function(logText, optLevel) {\n var logLevel = optLevel || 1;\n if (this.logLevel >= logLevel)\n console.log(logText);\n },\n // TODO find a pattern for this mess\n data: {},\n storage: function (storageName, defaultData) {\n if (!this.data[storageName]) {\n this.data[storageName] = {\n data: {},\n get: function (name) {\n if (!this.data[name]) {\n if (defaultData) {\n this.data[name] = new Object;\n } else {\n this.data[name] = new Array;\n }\n }\n return this.data[name];\n },\n set: function (name, data) {\n this.data[name] = data; \n },\n }\n }\n return this.data[storageName];\n },\n send: function (socket, channel, messageType, data) {\n if (data.broadcast) {\n socket.broadcast.to(channel).emit(messageType, data);\n }\n if (data.me) {\n socket.emit(messageType, data);\n }\n },\n}\n\nvar io = require('socket.io').listen(WhiteboardServer.port);\n\nio.configure(function () {\n io.set('transports', ['websocket', 'xhr-polling']);\n io.set('log level', 0);\n io.set('authorization', function (handshakeData, callback) {\n // TODO implement some sort of auth (maybe send cookie...)\n callback(null, true);\n });\n});\n\n// convenience names\nvar clients = WhiteboardServer.storage(\"clients\", true); // client -> channel / nick\nvar channels = WhiteboardServer.storage(\"channels\"); // channel -> clients\nvar drawings = WhiteboardServer.storage(\"drawings\"); // channel -> strokes / morphs\nvar chatLog = WhiteboardServer.storage(\"chatLog\"); // channel -> chat messages\n\nio.sockets.on('connection', function (socket) {\n socket.on('channel', function (channel, callback) {\n // leave the old channel\n //drawings && drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' connect begin', 2);\n var oldChannel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n var join = false;\n var leave = false;\n if (oldChannel && oldChannel != channel) {\n var idx = channels.get(oldChannel).indexOf(socket.id);\n if (idx!=-1)\n channels.get(oldChannel).splice(idx, 1);\n socket.leave(oldChannel);\n WhiteboardServer.log(oldChannel + ': client ' + socket.id + ' disconnected', 2);\n WhiteboardServer.log(oldChannel + ': currently connected clients:\\n' + channels.get(oldChannel));\n WhiteboardServer.send(socket, oldChannel, 'clientDisconnect', {message: nick, broadcast: true});\n leave = true;\n }\n // join the new channel\n clients.get(socket.id).channel = channel;\n // TODO give unique color to client\n var color = {\n r: Math.round(Math.random()*256),\n g: Math.round(Math.random()*256),\n b: Math.round(Math.random()*256)\n };\n // test if color is not there already\n channels.get(channel).push(socket.id);\n socket.join(channel);\n WhiteboardServer.log(channel + ': client ' + socket.id + ' connected', 2);\n WhiteboardServer.log(channel + ': currently connected clients:\\n' + channels.get(channel));\n WhiteboardServer.send(socket, channel, 'clientConnect', {message: nick, broadcast: true});\n join = true;\n // call callback to complete\n callback(join, channel, leave, oldChannel, drawings.get(channel));\n //drawings && drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' connect end', 2);\n });\n socket.on('disconnect', function() {\n var channel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n // if (typeof channel == \"undefined\") {\n // WhiteboardServer.log('unknown socket.id tried to disconnect', 2);\n // return;\n // }\n //drawings.get(channel) && WhiteboardServer.log(drawings.get(channel).length + ' disconnect begin', 2)\n var idx = channels.get(channel).indexOf(socket.id);\n if (idx!=-1)\n channels.get(channel).splice(idx, 1);\n delete clients[socket.id];\n socket.leave(channel);\n WhiteboardServer.send(socket, channel, 'clientDisconnect', {message: nick, broadcast: true});\n //WhiteboardServer.log(drawings.get(channel).length + ' disconnect end', 2);\n WhiteboardServer.log(channel + ': client ' + socket.id + ' disconnected', 2);\n WhiteboardServer.log(channel + ': currently connected clients: ' + channels.get(channel));\n });\n socket.on('nick', function (data) {\n WhiteboardServer.log('got new name ' + data.message + ' for socket ' + socket.id, 2);\n var oldNick = clients.get(socket.id).nick;\n clients.get(socket.id).nick = data.message;\n var newNick = clients.get(socket.id).nick;\n data.message = {old: oldNick, new: newNick};\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'nick', data);\n });\n socket.on('ping', function (data) {\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'pong', data);\n });\n socket.on('chat', function (data) {\n var channel = clients.get(socket.id).channel;\n var nick = clients.get(socket.id).nick;\n var chatMessage = {\n time: new Date().getTime(),\n nick: nick,\n message: data.message,\n };\n chatLog.get(channel).push(chatMessage);\n chatMessage.broadcast = data.broadcast;\n chatMessage.me = data.me;\n WhiteboardServer.send(socket, channel, 'chat', chatMessage);\n });\n socket.on('names', function (data) {\n WhiteboardServer.log('names', 3);\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.send(socket, channel, 'names', {\n message: channels.get(channel).map(function (id) {return clients.get(id).nick}),\n me: true,\n broadcast: false});\n });\n socket.on('draw', function (data) {\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.log('draw: ' + data.message.identifier + 'socket: ' + socket.id, 2);\n drawings.get(channel).push(data.message);\n WhiteboardServer.send(socket, channel, 'draw', data);\n });\n socket.on('morph', function (data) {\n var channel = clients.get(socket.id).channel;\n drawings.get(channel).push(data.message);\n WhiteboardServer.send(socket, channel, 'morph', data);\n });\n socket.on('clear', function (data) {\n WhiteboardServer.log('clear', 2);\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'clear', data);\n });\n socket.on('delete', function (data) {\n var channel = clients.get(socket.id).channel;\n WhiteboardServer.log('delete: '+ data.message + 'socket: ' + socket.id, 2);\n drawings.set(channel, drawings.get(channel).filter(function (ea) {\n return ea.identifier !== data.message;\n }));\n WhiteboardServer.send(socket, channel, 'delete', data);\n });\n socket.on('change', function (data) {\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'change', data);\n });\n socket.on('mouse', function (data) {\n data.message[\"id\"] = socket.id;\n WhiteboardServer.send(socket, clients.get(socket.id).channel, 'mouse', data);\n });\n});Math.round(Math.random()*256)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2345":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2346":{"morph":{"__isSmartRef__":true,"id":2336},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2347":{"x":0,"y":599.4,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2348":{"x":802,"y":732.6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2349":{"scaleVertical":true,"scaleHorizontal":true},"2350":{"sourceObj":{"__isSmartRef__":true,"id":2336},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":2336},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2351":{"sourceObj":{"__isSmartRef__":true,"id":2336},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"setSourceString","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2352},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2352":{"source":{"__isSmartRef__":true,"id":2336},"target":{"__isSmartRef__":true,"id":1797}},"2353":{"source":{"__isSmartRef__":true,"id":1797},"target":{"__isSmartRef__":true,"id":2336}},"2354":{"sourceObj":{"__isSmartRef__":true,"id":1797},"sourceAttrName":"targetURL","targetObj":{"__isSmartRef__":true,"id":1782},"targetMethodName":"setTextString","converter":null,"converterString":null,"updaterString":"function ($upd, value) { value && $upd(String(value)) }","varMapping":{"__isSmartRef__":true,"id":2355},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2356},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2355":{"source":{"__isSmartRef__":true,"id":1797},"target":{"__isSmartRef__":true,"id":1782}},"2356":{"updater":{"__isSmartRef__":true,"id":2357}},"2357":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":2355},"source":"function ($upd, value) { value && $upd(String(value)) }","funcProperties":{"__isSmartRef__":true,"id":2358},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2358":{},"2359":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2360},"derivationIds":[null],"id":"72169EAB-00FF-4A50-BB38-722CE39EF19F","renderContextTable":{"__isSmartRef__":true,"id":2366},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2367}],"eventHandler":{"__isSmartRef__":true,"id":2369},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":null,"priorExtent":{"__isSmartRef__":true,"id":2370},"_MaxTextWidth":292,"_MinTextWidth":292,"_MaxTextHeight":null,"_MinTextHeight":null,"_TextColor":{"__isSmartRef__":true,"id":1788},"_Position":{"__isSmartRef__":true,"id":2371},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2360":{"_Position":{"__isSmartRef__":true,"id":2361},"renderContextTable":{"__isSmartRef__":true,"id":2362},"_Extent":{"__isSmartRef__":true,"id":2363},"_Padding":{"__isSmartRef__":true,"id":2364},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":{"__isSmartRef__":true,"id":2365},"_StrokeOpacity":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2361":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2362":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2363":{"x":300,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2364":{"x":4,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2365":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2366":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"2367":{"style":{"__isSmartRef__":true,"id":2368},"chunkOwner":{"__isSmartRef__":true,"id":2359},"storedString":"Saving server/nodejs/WhiteboardServer.js...\nSuccessfully saved\nEval disabled for server/nodejs/WhiteboardServer.js","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2368":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2369":{"morph":{"__isSmartRef__":true,"id":2359},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2370":{"x":300,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2371":{"x":251,"y":351.3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2372":{"source":{"__isSmartRef__":true,"id":1782},"target":{"__isSmartRef__":true,"id":1797}},"2373":{"converter":{"__isSmartRef__":true,"id":2374}},"2374":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":2372},"source":"function (value) { return new URL(value) }","funcProperties":{"__isSmartRef__":true,"id":2375},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2375":{},"2376":{"submorphs":[{"__isSmartRef__":true,"id":2377}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2388},"derivationIds":[null],"id":"47B42450-F1F1-4FC3-8589-9742C8753745","renderContextTable":{"__isSmartRef__":true,"id":2392},"eventHandler":{"__isSmartRef__":true,"id":2393},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2394},"priorExtent":{"__isSmartRef__":true,"id":2395},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1816},"lighterFill":{"__isSmartRef__":true,"id":2396},"label":{"__isSmartRef__":true,"id":2377},"owner":{"__isSmartRef__":true,"id":1781},"attributeConnections":[{"__isSmartRef__":true,"id":2405}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"layout":{"__isSmartRef__":true,"id":2407},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2377":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2378},"derivationIds":[null],"id":"158D97B8-6BCF-49FB-85B8-81BB7D7FD7D8","renderContextTable":{"__isSmartRef__":true,"id":2383},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2384}],"eventHandler":{"__isSmartRef__":true,"id":2386},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2376},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":1788},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2387},"_MaxTextWidth":92.24,"_MinTextWidth":92.24,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2378":{"_Position":{"__isSmartRef__":true,"id":2379},"renderContextTable":{"__isSmartRef__":true,"id":2380},"_Extent":{"__isSmartRef__":true,"id":2381},"_Padding":{"__isSmartRef__":true,"id":2382},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2379":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2380":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2381":{"x":96.24,"y":39.96,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2382":{"x":2,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2383":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"2384":{"style":{"__isSmartRef__":true,"id":2385},"chunkOwner":{"__isSmartRef__":true,"id":2377},"storedString":"codebase","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2385":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2386":{"morph":{"__isSmartRef__":true,"id":2377},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2387":{"x":96.24,"y":39.96,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2388":{"_Position":{"__isSmartRef__":true,"id":2389},"renderContextTable":{"__isSmartRef__":true,"id":2390},"_Extent":{"__isSmartRef__":true,"id":2387},"_Padding":{"__isSmartRef__":true,"id":2391},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1815},"_Fill":{"__isSmartRef__":true,"id":1816},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2389":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2390":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2391":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2392":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2393":{"morph":{"__isSmartRef__":true,"id":2376},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2394":{"x":641.6,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2395":{"x":96.24,"y":39.96,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2396":{"stops":[{"__isSmartRef__":true,"id":2397},{"__isSmartRef__":true,"id":2399},{"__isSmartRef__":true,"id":2401},{"__isSmartRef__":true,"id":2403}],"vector":{"__isSmartRef__":true,"id":547},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2397":{"offset":0,"color":{"__isSmartRef__":true,"id":2398}},"2398":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2399":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2400}},"2400":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2401":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2402}},"2402":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2403":{"offset":1,"color":{"__isSmartRef__":true,"id":2404}},"2404":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2405":{"sourceObj":{"__isSmartRef__":true,"id":2376},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"setTargetURL","converter":null,"converterString":"function () { return URL.codeBase.withFilename('lively/')}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2406},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2406":{"source":{"__isSmartRef__":true,"id":2376},"target":{"__isSmartRef__":true,"id":1797}},"2407":{"scaleVertical":true,"scaleHorizontal":true},"2408":{"submorphs":[{"__isSmartRef__":true,"id":2409}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2420},"derivationIds":[null],"id":"080E9377-6643-4425-ACC3-1D6C25FCCBE8","renderContextTable":{"__isSmartRef__":true,"id":2424},"eventHandler":{"__isSmartRef__":true,"id":2425},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2426},"priorExtent":{"__isSmartRef__":true,"id":2427},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1816},"lighterFill":{"__isSmartRef__":true,"id":2428},"label":{"__isSmartRef__":true,"id":2409},"owner":{"__isSmartRef__":true,"id":1781},"attributeConnections":[{"__isSmartRef__":true,"id":2437}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"layout":{"__isSmartRef__":true,"id":2439},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2409":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2410},"derivationIds":[null],"id":"745AA3AF-E5B8-4D11-A5D7-8B600FF1CA99","renderContextTable":{"__isSmartRef__":true,"id":2415},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2416}],"eventHandler":{"__isSmartRef__":true,"id":2418},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2408},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":1788},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2419},"_MaxTextWidth":60.16,"_MinTextWidth":60.16,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2410":{"_Position":{"__isSmartRef__":true,"id":2411},"renderContextTable":{"__isSmartRef__":true,"id":2412},"_Extent":{"__isSmartRef__":true,"id":2413},"_Padding":{"__isSmartRef__":true,"id":2414},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1788},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2411":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2412":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2413":{"x":64.16,"y":39.96,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2414":{"x":2,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2415":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"2416":{"style":{"__isSmartRef__":true,"id":2417},"chunkOwner":{"__isSmartRef__":true,"id":2409},"storedString":"local","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2417":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2418":{"morph":{"__isSmartRef__":true,"id":2409},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2419":{"x":64.16,"y":39.96,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2420":{"_Position":{"__isSmartRef__":true,"id":2421},"renderContextTable":{"__isSmartRef__":true,"id":2422},"_Extent":{"__isSmartRef__":true,"id":2419},"_Padding":{"__isSmartRef__":true,"id":2423},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1815},"_Fill":{"__isSmartRef__":true,"id":1816},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2421":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2422":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2423":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2424":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2425":{"morph":{"__isSmartRef__":true,"id":2408},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2426":{"x":737.84,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2427":{"x":64.16,"y":39.96,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2428":{"stops":[{"__isSmartRef__":true,"id":2429},{"__isSmartRef__":true,"id":2431},{"__isSmartRef__":true,"id":2433},{"__isSmartRef__":true,"id":2435}],"vector":{"__isSmartRef__":true,"id":547},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2429":{"offset":0,"color":{"__isSmartRef__":true,"id":2430}},"2430":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2431":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2432}},"2432":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2433":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2434}},"2434":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2435":{"offset":1,"color":{"__isSmartRef__":true,"id":2436}},"2436":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2437":{"sourceObj":{"__isSmartRef__":true,"id":2408},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1797},"targetMethodName":"setTargetURL","converter":null,"converterString":"function () { return URL.source.getDirectory() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2438},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2438":{"source":{"__isSmartRef__":true,"id":2408},"target":{"__isSmartRef__":true,"id":1797}},"2439":{"scaleVertical":true,"scaleHorizontal":true},"2440":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2441},"derivationIds":[null],"id":"84AC5F7E-5F00-4398-9676-0F72E7D3C408","renderContextTable":{"__isSmartRef__":true,"id":2453},"eventHandler":{"__isSmartRef__":true,"id":2454},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"_Position":{"__isSmartRef__":true,"id":2455},"fixed":[{"__isSmartRef__":true,"id":1799},{"__isSmartRef__":true,"id":1843},{"__isSmartRef__":true,"id":1877},{"__isSmartRef__":true,"id":1911},{"__isSmartRef__":true,"id":1945},{"__isSmartRef__":true,"id":1979},{"__isSmartRef__":true,"id":2013}],"scalingBelow":[{"__isSmartRef__":true,"id":2336}],"scalingAbove":[{"__isSmartRef__":true,"id":2054},{"__isSmartRef__":true,"id":2223},{"__isSmartRef__":true,"id":2262},{"__isSmartRef__":true,"id":2299}],"minHeight":20,"pointerConnection":null,"priorExtent":{"__isSmartRef__":true,"id":2456},"owner":{"__isSmartRef__":true,"id":1781},"styleClass":["Browser_resizer"],"layout":{"__isSmartRef__":true,"id":2457},"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.HorizontalDivider","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2441":{"_Position":{"__isSmartRef__":true,"id":2442},"renderContextTable":{"__isSmartRef__":true,"id":2443},"_Extent":{"__isSmartRef__":true,"id":2444},"_Padding":{"__isSmartRef__":true,"id":2445},"_Fill":{"__isSmartRef__":true,"id":2446},"_BorderRadius":3,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2442":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2443":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2444":{"x":802,"y":13.32,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2445":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2446":{"stops":[{"__isSmartRef__":true,"id":2447},{"__isSmartRef__":true,"id":2449},{"__isSmartRef__":true,"id":2451}],"vector":{"__isSmartRef__":true,"id":547},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2447":{"offset":0,"color":{"__isSmartRef__":true,"id":2448}},"2448":{"r":0.92,"g":0.92,"b":0.92,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2449":{"offset":0.5,"color":{"__isSmartRef__":true,"id":2450}},"2450":{"r":0.8400000000000001,"g":0.8400000000000001,"b":0.8400000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2451":{"offset":1,"color":{"__isSmartRef__":true,"id":2452}},"2452":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2453":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2454":{"morph":{"__isSmartRef__":true,"id":2440},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2455":{"x":0,"y":586.08,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2456":{"x":802,"y":13.32,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2457":{"scaleVertical":true,"scaleHorizontal":true},"2458":{"_Position":{"__isSmartRef__":true,"id":2459},"renderContextTable":{"__isSmartRef__":true,"id":2460},"_Extent":{"__isSmartRef__":true,"id":2461},"_Padding":{"__isSmartRef__":true,"id":2462},"_Fill":{"__isSmartRef__":true,"id":2463},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2459":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2460":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2461":{"x":802,"y":1332,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2462":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2463":{"r":0.9019607843137255,"g":0.9019607843137255,"b":0.9019607843137255,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2464":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2465":{"morph":{"__isSmartRef__":true,"id":1781},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2466":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2467":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2468":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2469},"derivationIds":[null],"id":"AE0AFBE0-343E-4898-A628-CDF8DFA0C877","renderContextTable":{"__isSmartRef__":true,"id":2478},"eventHandler":{"__isSmartRef__":true,"id":2479},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":1641},"_Position":{"__isSmartRef__":true,"id":2480},"_Rotation":0,"_Scale":1,"dragStartPoint":null,"originalTargetExtent":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2481},"__LivelyClassName__":"lively.morphic.Path"},"2469":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2470},{"__isSmartRef__":true,"id":2471},{"__isSmartRef__":true,"id":2472}],"renderContextTable":{"__isSmartRef__":true,"id":2473},"_Position":{"__isSmartRef__":true,"id":2474},"_Extent":{"__isSmartRef__":true,"id":2475},"_Padding":{"__isSmartRef__":true,"id":2476},"_BorderWidth":0,"_BorderColor":null,"_Fill":{"__isSmartRef__":true,"id":2477},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2470":{"isAbsolute":true,"x":14,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2471":{"isAbsolute":true,"x":14,"y":14,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2472":{"isAbsolute":true,"x":0,"y":14,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2473":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2474":{"x":-1,"y":-1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2475":{"x":15,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2476":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2477":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2478":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2479":{"morph":{"__isSmartRef__":true,"id":2468},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2480":{"x":788,"y":1339,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2481":{"onDragStart":{"__isSmartRef__":true,"id":2482},"onDrag":{"__isSmartRef__":true,"id":2489},"onDragEnd":{"__isSmartRef__":true,"id":2496}},"2482":{"varMapping":{"__isSmartRef__":true,"id":2483},"source":"function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n }","funcProperties":{"__isSmartRef__":true,"id":2488},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2483":{"this":{"__isSmartRef__":true,"id":2468},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2484}},"2484":{"$super":{"__isSmartRef__":true,"id":2485}},"2485":{"varMapping":{"__isSmartRef__":true,"id":2486},"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":2487},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2486":{"obj":{"__isSmartRef__":true,"id":2468},"name":"onDragStart"},"2487":{},"2488":{},"2489":{"varMapping":{"__isSmartRef__":true,"id":2490},"source":"function onDrag(evt) {\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n if (evt.isShiftDown()) {\n var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t moveDelta = pt(maxDelta, maxDelta);\n };\n this.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n this.align(this.bounds().bottomRight(), this.owner.getExtent());\n }","funcProperties":{"__isSmartRef__":true,"id":2495},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2490":{"this":{"__isSmartRef__":true,"id":2468},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2491}},"2491":{"$super":{"__isSmartRef__":true,"id":2492}},"2492":{"varMapping":{"__isSmartRef__":true,"id":2493},"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":2494},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2493":{"obj":{"__isSmartRef__":true,"id":2468},"name":"onDrag"},"2494":{},"2495":{},"2496":{"varMapping":{"__isSmartRef__":true,"id":2497},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetExtent = null;\n }","funcProperties":{"__isSmartRef__":true,"id":2502},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2497":{"this":{"__isSmartRef__":true,"id":2468},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2498}},"2498":{"$super":{"__isSmartRef__":true,"id":2499}},"2499":{"varMapping":{"__isSmartRef__":true,"id":2500},"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":2501},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2500":{"obj":{"__isSmartRef__":true,"id":2468},"name":"onDragEnd"},"2501":{},"2502":{},"2503":{"renderContextTable":{"__isSmartRef__":true,"id":2504},"_Padding":{"__isSmartRef__":true,"id":2505},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":2506},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2504":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2505":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2506":{"x":802,"y":1353,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2507":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2508":{"morph":{"__isSmartRef__":true,"id":1641},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2509":{"adjustForNewBounds":true},"2510":{"x":16.135731805990872,"y":9.886407974098415,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2511":{"x":802,"y":1353,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2512":{"x":566.4780205302637,"y":2.3505312055197667,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2513":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2514},"id":2,"renderContextTable":{"__isSmartRef__":true,"id":2520},"eventHandler":{"__isSmartRef__":true,"id":2521},"droppingEnabled":false,"halosEnabled":false,"_world":{"__isSmartRef__":true,"id":0},"eventsAreIgnored":true,"_HandStyle":"default","_PointerEvents":"none","priorExtent":{"__isSmartRef__":true,"id":2522},"__SourceModuleName__":"Global.lively.morphic.Events","internalClickedOnMorph":{"__isSmartRef__":true,"id":0},"carriesGrabbedMorphs":false,"lastScrollTime":1336125313939,"scrollFocusMorph":{"__isSmartRef__":true,"id":0},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":2523},"_Scale":1,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"2514":{"_Position":{"__isSmartRef__":true,"id":2515},"renderContextTable":{"__isSmartRef__":true,"id":2516},"_Extent":{"__isSmartRef__":true,"id":2517},"_Fill":{"__isSmartRef__":true,"id":2518},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2519},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2515":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2516":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2517":{"x":2,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2518":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2519":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2520":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2521":{"morph":{"__isSmartRef__":true,"id":2513},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2522":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2523":{"x":846.191233987116,"y":902.6039829195904,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2524":{"_Position":{"__isSmartRef__":true,"id":2525},"renderContextTable":{"__isSmartRef__":true,"id":2526},"_Extent":{"__isSmartRef__":true,"id":2527},"_Fill":{"__isSmartRef__":true,"id":2528},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2529},"_Opacity":1,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2525":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2526":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2527":{"x":3000,"y":4000,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2528":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2529":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2530":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2531":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2532":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2533":{"x":1440,"y":6000,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2534":{"submorphs":[{"__isSmartRef__":true,"id":2535}],"scripts":[],"id":"F01D984C-471E-419A-808F-BBA71F5AFA77","shape":{"__isSmartRef__":true,"id":2564},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2571},"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":2572},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2669},"eventHandler":{"__isSmartRef__":true,"id":2670},"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":2671},"layout":{"__isSmartRef__":true,"id":2672},"distanceToDragEvent":{"__isSmartRef__":true,"id":2673},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2674},"__LivelyClassName__":"lively.morphic.Box"},"2535":{"submorphs":[{"__isSmartRef__":true,"id":2536}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2552},"id":"9DCBA813-4A79-489C-B18D-92A318F9C971","renderContextTable":{"__isSmartRef__":true,"id":2557},"eventHandler":{"__isSmartRef__":true,"id":2558},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2559},"name":"ProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":2560},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2561},"partsBinMetaInfo":{"__isSmartRef__":true,"id":2562},"__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":2534},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":2563},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Image"},"2536":{"submorphs":[],"scripts":[],"id":"B2FFE214-6234-4368-A6F1-9DE393A3EB72","shape":{"__isSmartRef__":true,"id":2537},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2543},"_MaxTextWidth":257,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2540},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":2544},"textChunks":[{"__isSmartRef__":true,"id":2545}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2547},"renderContextTable":{"__isSmartRef__":true,"id":2548},"eventHandler":{"__isSmartRef__":true,"id":2549},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":2550},"_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":2535},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":2551},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2537":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2538},"_Extent":{"__isSmartRef__":true,"id":2539},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2540},"renderContextTable":{"__isSmartRef__":true,"id":2541},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2542},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2538":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2539":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2540":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2541":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2542":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2543":{"x":-109,"y":38,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2544":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2545":{"style":{"__isSmartRef__":true,"id":2546},"chunkOwner":{"__isSmartRef__":true,"id":2536},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"loading part","__LivelyClassName__":"lively.morphic.TextChunk"},"2546":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2547":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2548":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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","setInputAllowed":"setInputAllowedHTML"},"2549":{"morph":{"__isSmartRef__":true,"id":2536},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2550":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2551":{"x":179,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2552":{"_Position":{"__isSmartRef__":true,"id":2553},"renderContextTable":{"__isSmartRef__":true,"id":2554},"_Extent":{"__isSmartRef__":true,"id":2555},"_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":2556},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image"},"2553":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2554":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"2555":{"x":31,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2556":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2557":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2558":{"morph":{"__isSmartRef__":true,"id":2535},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2559":{"x":113.5,"y":81,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2560":{"x":30,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2561":{"x":39,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2562":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2563":{"centeredHorizontal":true,"centeredVertical":true},"2564":{"position":{"__isSmartRef__":true,"id":2565},"_Extent":{"__isSmartRef__":true,"id":2566},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2567},"_Fill":{"__isSmartRef__":true,"id":2568},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2569},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2570},"_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2565":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2566":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2567":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2568":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2569":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2570":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2571":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2572":{"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":2573},{"__isSmartRef__":true,"id":2575},{"__isSmartRef__":true,"id":2577},{"__isSmartRef__":true,"id":2579},{"__isSmartRef__":true,"id":2581},{"__isSmartRef__":true,"id":2583},{"__isSmartRef__":true,"id":2585},{"__isSmartRef__":true,"id":2587},{"__isSmartRef__":true,"id":2589},{"__isSmartRef__":true,"id":2591},{"__isSmartRef__":true,"id":2593},{"__isSmartRef__":true,"id":2595},{"__isSmartRef__":true,"id":2597},{"__isSmartRef__":true,"id":2599},{"__isSmartRef__":true,"id":2601},{"__isSmartRef__":true,"id":2603},{"__isSmartRef__":true,"id":2605},{"__isSmartRef__":true,"id":2607},{"__isSmartRef__":true,"id":2609},{"__isSmartRef__":true,"id":2611},{"__isSmartRef__":true,"id":2613},{"__isSmartRef__":true,"id":2615},{"__isSmartRef__":true,"id":2617},{"__isSmartRef__":true,"id":2619},{"__isSmartRef__":true,"id":2621},{"__isSmartRef__":true,"id":2623},{"__isSmartRef__":true,"id":2625},{"__isSmartRef__":true,"id":2627},{"__isSmartRef__":true,"id":2629},{"__isSmartRef__":true,"id":2631},{"__isSmartRef__":true,"id":2633},{"__isSmartRef__":true,"id":2635},{"__isSmartRef__":true,"id":2637},{"__isSmartRef__":true,"id":2639},{"__isSmartRef__":true,"id":2641},{"__isSmartRef__":true,"id":2643},{"__isSmartRef__":true,"id":2645},{"__isSmartRef__":true,"id":2647},{"__isSmartRef__":true,"id":2649},{"__isSmartRef__":true,"id":2651},{"__isSmartRef__":true,"id":2653},{"__isSmartRef__":true,"id":2655},{"__isSmartRef__":true,"id":2657},{"__isSmartRef__":true,"id":2659},{"__isSmartRef__":true,"id":2661},{"__isSmartRef__":true,"id":2663},{"__isSmartRef__":true,"id":2665},{"__isSmartRef__":true,"id":2667}],"revisionOnLoad":151069,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2573":{"date":{"__isSmartRef__":true,"id":2574},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"2574":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:02:04 GMT+0100 (CET)"},"2575":{"date":{"__isSmartRef__":true,"id":2576},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"2576":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:43:10 GMT+0100 (CET)"},"2577":{"date":{"__isSmartRef__":true,"id":2578},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"2578":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:36:14 GMT+0100 (CET)"},"2579":{"date":{"__isSmartRef__":true,"id":2580},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"2580":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:23:04 GMT+0100 (CET)"},"2581":{"date":{"__isSmartRef__":true,"id":2582},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"2582":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:45 GMT+0100 (CET)"},"2583":{"date":{"__isSmartRef__":true,"id":2584},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"2584":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:10 GMT+0100 (CET)"},"2585":{"date":{"__isSmartRef__":true,"id":2586},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"2586":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:56:54 GMT+0100 (CET)"},"2587":{"date":{"__isSmartRef__":true,"id":2588},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"2588":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:51:05 GMT+0100 (CET)"},"2589":{"date":{"__isSmartRef__":true,"id":2590},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"2590":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:47:19 GMT+0100 (CET)"},"2591":{"date":{"__isSmartRef__":true,"id":2592},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"2592":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:46:25 GMT+0100 (CET)"},"2593":{"date":{"__isSmartRef__":true,"id":2594},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"2594":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:45:05 GMT+0100 (CET)"},"2595":{"date":{"__isSmartRef__":true,"id":2596},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"2596":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:37:15 GMT+0100 (CET)"},"2597":{"date":{"__isSmartRef__":true,"id":2598},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"2598":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:35:29 GMT+0100 (CET)"},"2599":{"date":{"__isSmartRef__":true,"id":2600},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"2600":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:31:52 GMT+0100 (CET)"},"2601":{"date":{"__isSmartRef__":true,"id":2602},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"2602":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:14:10 GMT+0100 (CET)"},"2603":{"date":{"__isSmartRef__":true,"id":2604},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"2604":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:02:56 GMT+0100 (CET)"},"2605":{"date":{"__isSmartRef__":true,"id":2606},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"2606":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:01:50 GMT+0100 (CET)"},"2607":{"date":{"__isSmartRef__":true,"id":2608},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"2608":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:55:44 GMT+0100 (CET)"},"2609":{"date":{"__isSmartRef__":true,"id":2610},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"2610":{"isSerializedDate":true,"string":"Fri Feb 10 2012 09:45:55 GMT+0100 (CET)"},"2611":{"date":{"__isSmartRef__":true,"id":2612},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"2612":{"isSerializedDate":true,"string":"Wed Feb 08 2012 11:41:50 GMT+0100 (CET)"},"2613":{"date":{"__isSmartRef__":true,"id":2614},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"2614":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:13:49 GMT+0100 (CET)"},"2615":{"date":{"__isSmartRef__":true,"id":2616},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"2616":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:22:07 GMT+0100 (CET)"},"2617":{"date":{"__isSmartRef__":true,"id":2618},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"2618":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:55:14 GMT+0100 (CET)"},"2619":{"date":{"__isSmartRef__":true,"id":2620},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"2620":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:54:35 GMT+0100 (CET)"},"2621":{"date":{"__isSmartRef__":true,"id":2622},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"2622":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:26:01 GMT+0100 (CET)"},"2623":{"date":{"__isSmartRef__":true,"id":2624},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"2624":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:04:01 GMT+0100 (CET)"},"2625":{"date":{"__isSmartRef__":true,"id":2626},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"2626":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:28:30 GMT+0100 (CET)"},"2627":{"date":{"__isSmartRef__":true,"id":2628},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"2628":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:32:58 GMT+0100 (CET)"},"2629":{"date":{"__isSmartRef__":true,"id":2630},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"2630":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:41:00 GMT+0100 (CET)"},"2631":{"date":{"__isSmartRef__":true,"id":2632},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"2632":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:24:30 GMT+0100 (CET)"},"2633":{"date":{"__isSmartRef__":true,"id":2634},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"2634":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:26:23 GMT+0100 (CET)"},"2635":{"date":{"__isSmartRef__":true,"id":2636},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"2636":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:48:04 GMT+0100 (CET)"},"2637":{"date":{"__isSmartRef__":true,"id":2638},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"2638":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:53:49 GMT+0100 (CET)"},"2639":{"date":{"__isSmartRef__":true,"id":2640},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"2640":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:49:48 GMT+0100 (CET)"},"2641":{"date":{"__isSmartRef__":true,"id":2642},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"2642":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:58:43 GMT+0100 (CET)"},"2643":{"date":{"__isSmartRef__":true,"id":2644},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"2644":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:04:28 GMT+0100 (CET)"},"2645":{"date":{"__isSmartRef__":true,"id":2646},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"2646":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:10:27 GMT+0100 (CET)"},"2647":{"date":{"__isSmartRef__":true,"id":2648},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"2648":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:31:50 GMT+0100 (CET)"},"2649":{"date":{"__isSmartRef__":true,"id":2650},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"2650":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:38:26 GMT+0100 (CET)"},"2651":{"date":{"__isSmartRef__":true,"id":2652},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"2652":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:44:11 GMT+0100 (CET)"},"2653":{"date":{"__isSmartRef__":true,"id":2654},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"2654":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:48:14 GMT+0100 (CET)"},"2655":{"date":{"__isSmartRef__":true,"id":2656},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"2656":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:49:47 GMT+0100 (CET)"},"2657":{"date":{"__isSmartRef__":true,"id":2658},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"2658":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:59:48 GMT+0100 (CET)"},"2659":{"date":{"__isSmartRef__":true,"id":2660},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"2660":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:02:33 GMT+0100 (CET)"},"2661":{"date":{"__isSmartRef__":true,"id":2662},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"2662":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:03:42 GMT+0100 (CET)"},"2663":{"date":{"__isSmartRef__":true,"id":2664},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"2664":{"isSerializedDate":true,"string":"Thu Feb 09 2012 20:20:11 GMT+0100 (CET)"},"2665":{"date":{"__isSmartRef__":true,"id":2666},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"2666":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:37:34 GMT+0100 (CET)"},"2667":{"date":{"__isSmartRef__":true,"id":2668},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"2668":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:29 GMT+0100 (CET)"},"2669":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","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"},"2670":{"morph":{"__isSmartRef__":true,"id":2534},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2671":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2672":{"adjustForNewBounds":true},"2673":{"x":171,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2674":{"loadPart":{"__isSmartRef__":true,"id":2675},"loadFinished":{"__isSmartRef__":true,"id":2679},"loadPartByName":{"__isSmartRef__":true,"id":2683}},"2675":{"varMapping":{"__isSmartRef__":true,"id":2676},"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":2677},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2676":{"this":{"__isSmartRef__":true,"id":2534}},"2677":{"timestamp":{"__isSmartRef__":true,"id":2678},"user":"sstamm","tags":[]},"2678":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:18 GMT+0100 (CET)"},"2679":{"varMapping":{"__isSmartRef__":true,"id":2680},"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":2681},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2680":{"this":{"__isSmartRef__":true,"id":2534}},"2681":{"timestamp":{"__isSmartRef__":true,"id":2682},"user":"sstamm","tags":[]},"2682":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:01:53 GMT+0100 (CET)"},"2683":{"varMapping":{"__isSmartRef__":true,"id":2684},"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":2685},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2684":{"this":{"__isSmartRef__":true,"id":2534}},"2685":{"timestamp":{"__isSmartRef__":true,"id":2686},"user":"sstamm","tags":[]},"2686":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:03:18 GMT+0100 (CET)"},"2687":{"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":2688},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2689},"__LivelyClassName__":"AttributeConnection"},"2688":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"2689":{"updater":{"__isSmartRef__":true,"id":2690}},"2690":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":2688},"source":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2691},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2691":{},"2692":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/projects/BP2012/Research/NodeJSServerForWhiteboard.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"isSimplifiedRegistry":true}}]]>