{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":49},{"__isSmartRef__":true,"id":609},{"__isSmartRef__":true,"id":612},{"__isSmartRef__":true,"id":615}],"scripts":[],"shape":{"__isSmartRef__":true,"id":618},"_ClipMode":"visible","derivationIds":[],"id":"C663019C-88AF-49E0-8134-9DFF4916C72E","droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":619},"__serializedExpressions__":["_Position","contentOffset","prevDragPos"],"reframeHandle":{"__isSmartRef__":true,"id":609},"rightReframeHandle":{"__isSmartRef__":true,"id":615},"bottomReframeHandle":{"__isSmartRef__":true,"id":612},"titleBar":{"__isSmartRef__":true,"id":1},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"_PreviousBorderWidth":0,"targetMorph":{"__isSmartRef__":true,"id":49},"eventHandler":{"__isSmartRef__":true,"id":620},"partsBinMetaInfo":{"__isSmartRef__":true,"id":621},"name":"LivelyEngine","highlighted":false,"isBeingDragged":false,"showsHalos":false,"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"_Position":"lively.pt(0.0,0.0)","contentOffset":"lively.pt(4.0,22.0)","prevDragPos":"lively.pt(982.0,99.0)"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2},{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":21},{"__isSmartRef__":true,"id":33}],"scripts":[],"shape":{"__isSmartRef__":true,"id":46},"_ClipMode":"visible","derivationIds":[],"id":"A1C5D7A1-7EFD-4919-A958-4F7037DEC3CC","droppingEnabled":false,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":47},"__serializedExpressions__":["_Position"],"windowMorph":{"__isSmartRef__":true,"id":0},"label":{"__isSmartRef__":true,"id":2},"closeButton":{"__isSmartRef__":true,"id":8},"menuButton":{"__isSmartRef__":true,"id":21},"collapseButton":{"__isSmartRef__":true,"id":33},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":48},"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"2":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4}],"_ClipMode":"hidden","derivationIds":[],"id":"C7DC54E1-88E2-4DF8-A582-2E2B8C6BFF4A","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":6},"owner":{"__isSmartRef__":true,"id":1},"_StyleClassNames":["window-title"],"_TextStylingMode":true,"eventHandler":{"__isSmartRef__":true,"id":7},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(20.0,3.0)"},"3":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(400.0,18.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"4":{"style":{"__isSmartRef__":true,"id":5},"chunkOwner":{"__isSmartRef__":true,"id":2},"_id":"_674","storedString":"LivelyEngine","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6":{"resizeWidth":true},"7":{"morph":{"__isSmartRef__":true,"id":2},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8":{"submorphs":[{"__isSmartRef__":true,"id":9}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14},"_ClipMode":"visible","derivationIds":[],"id":"85D4D1DE-5218-48CE-9737-31F87C323575","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":9},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":1},"layout":{"__isSmartRef__":true,"id":15},"_StyleClassNames":["close"],"attributeConnections":[{"__isSmartRef__":true,"id":16},{"__isSmartRef__":true,"id":18}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"eventHandler":{"__isSmartRef__":true,"id":20},"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(439.0,3.0)"},"9":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":11}],"_ClipMode":"hidden","derivationIds":[],"id":"8BF6AE05-9474-408F-BF96-CA87EE75E28A","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":false,"_WordBreak":null,"fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":8},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"eventHandler":{"__isSmartRef__":true,"id":13},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,-1.0)"},"10":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"11":{"style":{"__isSmartRef__":true,"id":12},"chunkOwner":{"__isSmartRef__":true,"id":9},"_id":"_669","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13":{"morph":{"__isSmartRef__":true,"id":9},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"15":{"moveHorizontal":true},"16":{"sourceObj":{"__isSmartRef__":true,"id":8},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getCloseHelp","varMapping":{"__isSmartRef__":true,"id":17},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"17":{"source":{"__isSmartRef__":true,"id":8},"target":{"__isSmartRef__":true,"id":0}},"18":{"sourceObj":{"__isSmartRef__":true,"id":8},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"initiateShutdown","varMapping":{"__isSmartRef__":true,"id":19},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"19":{"source":{"__isSmartRef__":true,"id":8},"target":{"__isSmartRef__":true,"id":0}},"20":{"morph":{"__isSmartRef__":true,"id":8},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"21":{"submorphs":[{"__isSmartRef__":true,"id":22}],"scripts":[],"shape":{"__isSmartRef__":true,"id":27},"_ClipMode":"visible","derivationIds":[],"id":"911A219D-24D8-472A-925D-0762D9CB306A","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":22},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":1},"attributeConnections":[{"__isSmartRef__":true,"id":28},{"__isSmartRef__":true,"id":30}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"eventHandler":{"__isSmartRef__":true,"id":32},"isPressed":false,"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"22":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":23},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":24}],"_ClipMode":"hidden","derivationIds":[],"id":"4E827B28-09D1-42FC-8099-75C689C79FB7","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":false,"_WordBreak":null,"fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":21},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"eventHandler":{"__isSmartRef__":true,"id":26},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,0.0)"},"23":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(18.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"24":{"style":{"__isSmartRef__":true,"id":25},"chunkOwner":{"__isSmartRef__":true,"id":22},"_id":"_671","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"25":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"26":{"morph":{"__isSmartRef__":true,"id":22},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"27":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"28":{"sourceObj":{"__isSmartRef__":true,"id":21},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getMenuHelp","varMapping":{"__isSmartRef__":true,"id":29},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"29":{"source":{"__isSmartRef__":true,"id":21},"target":{"__isSmartRef__":true,"id":0}},"30":{"sourceObj":{"__isSmartRef__":true,"id":21},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"showTargetMorphMenu","varMapping":{"__isSmartRef__":true,"id":31},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"31":{"source":{"__isSmartRef__":true,"id":21},"target":{"__isSmartRef__":true,"id":0}},"32":{"morph":{"__isSmartRef__":true,"id":21},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"33":{"submorphs":[{"__isSmartRef__":true,"id":34}],"scripts":[],"shape":{"__isSmartRef__":true,"id":39},"_ClipMode":"visible","derivationIds":[],"id":"DD0CED2B-5DFD-4145-BCA8-600ADAEC584D","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":34},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":1},"layout":{"__isSmartRef__":true,"id":40},"attributeConnections":[{"__isSmartRef__":true,"id":41},{"__isSmartRef__":true,"id":43}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"eventHandler":{"__isSmartRef__":true,"id":45},"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(420.0,3.0)"},"34":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":35},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":36}],"_ClipMode":"hidden","derivationIds":[],"id":"CC63FBC1-8E66-4109-96B7-C3ED5D008C40","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":false,"_WordBreak":null,"fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":33},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"eventHandler":{"__isSmartRef__":true,"id":38},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,1.0)"},"35":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"36":{"style":{"__isSmartRef__":true,"id":37},"chunkOwner":{"__isSmartRef__":true,"id":34},"_id":"_673","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"37":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"38":{"morph":{"__isSmartRef__":true,"id":34},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"39":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"40":{"moveHorizontal":true},"41":{"sourceObj":{"__isSmartRef__":true,"id":33},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getCollapseHelp","varMapping":{"__isSmartRef__":true,"id":42},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"42":{"source":{"__isSmartRef__":true,"id":33},"target":{"__isSmartRef__":true,"id":0}},"43":{"sourceObj":{"__isSmartRef__":true,"id":33},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"toggleCollapse","varMapping":{"__isSmartRef__":true,"id":44},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"44":{"source":{"__isSmartRef__":true,"id":33},"target":{"__isSmartRef__":true,"id":0}},"45":{"morph":{"__isSmartRef__":true,"id":33},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"46":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"_AppearanceStylingMode":true,"_BorderStylingMode":true,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(459.0,22.0)","_Padding":"lively.rect(0,0,0,0)"},"47":{"resizeWidth":true,"adjustForNewBounds":true},"48":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"49":{"submorphs":[{"__isSmartRef__":true,"id":50},{"__isSmartRef__":true,"id":56},{"__isSmartRef__":true,"id":61},{"__isSmartRef__":true,"id":99},{"__isSmartRef__":true,"id":115},{"__isSmartRef__":true,"id":131},{"__isSmartRef__":true,"id":147}],"scripts":[{"__isSmartRef__":true,"id":163}],"id":"FA80B44D-7567-4AF5-B137-1F3638E7C981","shape":{"__isSmartRef__":true,"id":164},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"LivelyEngine","partsBinMetaInfo":{"__isSmartRef__":true,"id":168},"eventHandler":{"__isSmartRef__":true,"id":169},"owner":{"__isSmartRef__":true,"id":0},"pistonStyle":{"__isSmartRef__":true,"id":170},"crankPinStyle":{"__isSmartRef__":true,"id":175},"angleStep":0.39269908169872414,"layout":{"__isSmartRef__":true,"id":176},"cylinders":[{"__isSmartRef__":true,"id":61}],"stroke":63.00000000000001,"normalSpeed":100,"crank":{"__isSmartRef__":true,"id":50},"crankPin":{"__isSmartRef__":true,"id":51},"crankPinCap":{"__isSmartRef__":true,"id":68},"alternate":false,"crankAngle":2.35619449019262,"connectingRods":[{"__isSmartRef__":true,"id":62}],"runMenu":{"__isSmartRef__":true,"id":177},"running":true,"stepTime":100,"cylindersMenu":{"__isSmartRef__":true,"id":272},"ignitionMenu":{"__isSmartRef__":true,"id":472},"derivationIds":[339,"AA64DE74-9636-442A-B549-5E8AB2BB33D4","3688630A-1669-4669-88AB-D1F19951A845"],"cylindersButton":{"__isSmartRef__":true,"id":529},"_ClipMode":"visible","__serializedExpressions__":["_Position","topPosDisplacement"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":556},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(4.0,22.0)","topPosDisplacement":"lively.pt(2.0,12.6)"},"50":{"submorphs":[{"__isSmartRef__":true,"id":51}],"scripts":[],"shape":{"__isSmartRef__":true,"id":54},"derivationIds":[null,"B25C8D0E-2A91-44ED-9015-135376A58C5D","949FB150-C474-471D-A73F-788462ED2CEC"],"id":"2A9F2527-EE11-4ECF-A40D-AAEB3C545AE4","eventHandler":{"__isSmartRef__":true,"id":55},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":49},"_ClipMode":"visible","__serializedExpressions__":["_Position"],"_Rotation":2.35619449019262,"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(225.0,225.0)"},"51":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":52},"derivationIds":[null,"0D55FE2C-D0E8-4A1C-A059-983F0BA78DE9","C1D96CC6-EAF7-47FD-B398-24A8AB909C70"],"id":"56F7C94B-F030-4586-9F10-C3EB58006777","eventHandler":{"__isSmartRef__":true,"id":53},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":50},"_ClipMode":"visible","__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,-31.5)"},"52":{"_ClipMode":"visible","_BorderWidth":1,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-15.8,-15.8)","_Extent":"lively.pt(31.5,31.5)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(51,51,51)"},"53":{"morph":{"__isSmartRef__":true,"id":51},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"54":{"_ClipMode":"visible","_BorderWidth":4,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-50.4,-50.4)","_Extent":"lively.pt(100.8,100.8)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,204)"},"55":{"morph":{"__isSmartRef__":true,"id":50},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"56":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":57},"derivationIds":[null,"6366B7DA-BD18-4D1A-9BA1-471B187A8188","21CE01AB-E058-4CDE-A03C-959B233E7841"],"id":"FF8A9E07-6CAE-4EDD-91E0-0C3447AB9638","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":58}],"eventHandler":{"__isSmartRef__":true,"id":60},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":20,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":49},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_WordBreak":"break-all","__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(110.0,430.0)"},"57":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(246.0,0.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"58":{"style":{"__isSmartRef__":true,"id":59},"chunkOwner":{"__isSmartRef__":true,"id":56},"storedString":"The Radial Engine","_id":"_241","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"59":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"60":{"morph":{"__isSmartRef__":true,"id":56},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"61":{"submorphs":[{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":78}],"scripts":[],"shape":{"__isSmartRef__":true,"id":88},"_ClipMode":"visible","derivationIds":["C10E5CF1-96A4-4965-848B-79D05B48785E","C8D78465-08A7-4149-A0DB-F28661B63611"],"id":"9C56A800-906E-4215-BB64-381DDC7950F2","droppingEnabled":true,"halosEnabled":true,"name":"Path1","owner":{"__isSmartRef__":true,"id":49},"eventHandler":{"__isSmartRef__":true,"id":98},"angle":0,"piston":{"__isSmartRef__":true,"id":78},"wristPin":{"__isSmartRef__":true,"id":79},"__serializedExpressions__":["_Position"],"_Rotation":0,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(225.0,225.0)"},"62":{"submorphs":[{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":68}],"scripts":[],"shape":{"__isSmartRef__":true,"id":74},"_ClipMode":"visible","derivationIds":["90D4D4E2-EE22-4C20-9795-2F84EC6B63A7"],"id":"56F2959A-6419-489B-859C-9DB819FA282E","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":61},"eventHandler":{"__isSmartRef__":true,"id":77},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"63":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":64},"_ClipMode":"visible","derivationIds":["AD37B22E-0768-4331-89BE-2C407AC328B9"],"id":"A2F9E9BB-37E0-4BE0-9AE8-D1C93F3812CF","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":62},"eventHandler":{"__isSmartRef__":true,"id":67},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"64":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":65},{"__isSmartRef__":true,"id":66}],"_BorderWidth":3.1500000000000004,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-2.0,-96.6)","_Extent":"lively.pt(25.3,119.9)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(102,102,102)"},"65":{"isAbsolute":true,"x":22.34457428548877,"y":22.273863607382395,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"66":{"isAbsolute":true,"x":0,"y":-94.57613639261763,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"67":{"morph":{"__isSmartRef__":true,"id":63},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"68":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":69},"derivationIds":[null,"0D55FE2C-D0E8-4A1C-A059-983F0BA78DE9","B25ED6E0-EA04-4E69-9EC8-37B25D3BF613","6180909C-FCD1-4467-BF8F-AE669513E2BD"],"id":"8FC08E71-F75A-4DB1-B12E-08620707562B","eventHandler":{"__isSmartRef__":true,"id":73},"droppingEnabled":true,"halosEnabled":true,"name":"Morph","owner":{"__isSmartRef__":true,"id":62},"_ClipMode":"visible","__serializedExpressions__":["_Position"],"_Rotation":2.288874647615426,"_Scale":0.9157205572498945,"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(22.3,22.3)"},"69":{"_ClipMode":"visible","_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":70},"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-15.8,-15.8)","_Extent":"lively.pt(31.5,31.5)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"70":{"stops":[{"__isSmartRef__":true,"id":71},{"__isSmartRef__":true,"id":72}],"__serializedExpressions__":["focus"],"__LivelyClassName__":"lively.morphic.RadialGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","focus":"lively.pt(0.5,0.5)"},"71":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(102,102,102)"},"72":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(51,51,51)"},"73":{"morph":{"__isSmartRef__":true,"id":68},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"74":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":75},{"__isSmartRef__":true,"id":76}],"_BorderWidth":9.450000000000001,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-5.0,-99.6)","_Extent":"lively.pt(31.3,125.9)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(51,51,51)"},"75":{"isAbsolute":true,"x":22.34457428548877,"y":22.273863607382395,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"76":{"isAbsolute":true,"x":0,"y":-94.57613639261763,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"77":{"morph":{"__isSmartRef__":true,"id":62},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"78":{"submorphs":[{"__isSmartRef__":true,"id":79}],"scripts":[],"shape":{"__isSmartRef__":true,"id":82},"_ClipMode":"visible","derivationIds":["76FBCBCC-256F-43FB-8DB4-3B94644CEA9F","2A034807-B89D-48BB-B546-FB5859533311"],"id":"78D471B3-BD0F-42B7-A772-B08DB55AD8AF","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":61},"eventHandler":{"__isSmartRef__":true,"id":87},"__serializedExpressions__":["_Position","topPos"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(-32.5,-126.1)","topPos":"lively.pt(-32.5,-183.0)"},"79":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":80},"_ClipMode":"visible","derivationIds":["8FE3E38F-BAC1-4F30-889C-DF22473EFF02","9A1BA523-C3C2-43A9-853B-53A43DB6887D"],"id":"B865702B-9982-4639-8489-24E2F481176C","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":78},"eventHandler":{"__isSmartRef__":true,"id":81},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(32.5,31.5)"},"80":{"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Ellipse","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-6.3,-6.3)","_Extent":"lively.pt(12.6,12.6)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)"},"81":{"morph":{"__isSmartRef__":true,"id":79},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"82":{"_BorderWidth":2,"_Fill":{"__isSmartRef__":true,"id":83},"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(65.0,63.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"83":{"stops":[{"__isSmartRef__":true,"id":84},{"__isSmartRef__":true,"id":85},{"__isSmartRef__":true,"id":86}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,1,0)"},"84":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(102,102,102)"},"85":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(230,230,230)"},"86":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(102,102,102)"},"87":{"morph":{"__isSmartRef__":true,"id":78},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"88":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":89},{"__isSmartRef__":true,"id":90},{"__isSmartRef__":true,"id":91},{"__isSmartRef__":true,"id":92},{"__isSmartRef__":true,"id":93},{"__isSmartRef__":true,"id":94},{"__isSmartRef__":true,"id":95},{"__isSmartRef__":true,"id":96},{"__isSmartRef__":true,"id":97}],"_BorderWidth":4,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-34.5,-195.6)","_Extent":"lively.pt(68.0,107.6)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(127,127,230)"},"89":{"isAbsolute":true,"x":31.5,"y":-180,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"90":{"isAbsolute":true,"x":31.5,"y":-90,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"91":{"isAbsolute":true,"x":31.5,"y":-117,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"92":{"isAbsolute":true,"x":-31.5,"y":-117,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"93":{"isAbsolute":true,"x":-31.5,"y":-90,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"94":{"isAbsolute":true,"x":-31.5,"y":-180,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"95":{"isAbsolute":true,"x":-18.900000000000006,"y":-192.6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"96":{"isAbsolute":true,"x":18.900000000000006,"y":-192.6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"97":{"isAbsolute":true,"x":31.5,"y":-180,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"98":{"morph":{"__isSmartRef__":true,"id":61},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"99":{"submorphs":[{"__isSmartRef__":true,"id":100}],"scripts":[],"shape":{"__isSmartRef__":true,"id":105},"_ClipMode":"visible","derivationIds":[],"id":"8F7A5046-139A-48B6-BFF2-63BAD9E65EA2","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":100},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":49},"eventHandler":{"__isSmartRef__":true,"id":106},"menuItems":[["1",{"__isSmartRef__":true,"id":49},"makeCylinders",1],["2",{"__isSmartRef__":true,"id":49},"makeCylinders",2],["3",{"__isSmartRef__":true,"id":49},"makeCylinders",3],["4",{"__isSmartRef__":true,"id":49},"makeCylinders",4],["5",{"__isSmartRef__":true,"id":49},"makeCylinders",5],["6",{"__isSmartRef__":true,"id":49},"makeCylinders",6],["7",{"__isSmartRef__":true,"id":49},"makeCylinders",7],["8",{"__isSmartRef__":true,"id":49},"makeCylinders",8],["9",{"__isSmartRef__":true,"id":49},"makeCylinders",9]],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":107},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(50.0,440.0)"},"100":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":101},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":102}],"_ClipMode":"hidden","derivationIds":[],"id":"AC28ED46-3D36-47A5-83E0-7E6460A6E73E","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":99},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventHandler":{"__isSmartRef__":true,"id":104},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"101":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(140.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"102":{"style":{"__isSmartRef__":true,"id":103},"chunkOwner":{"__isSmartRef__":true,"id":100},"_id":"_604","storedString":"1 cylinder","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"103":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"104":{"morph":{"__isSmartRef__":true,"id":100},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"105":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(140.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"106":{"morph":{"__isSmartRef__":true,"id":99},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"107":{"onMouseUp":{"__isSmartRef__":true,"id":108}},"108":{"varMapping":{"__isSmartRef__":true,"id":109},"source":"function onMouseUp(evt) {\n            lively.morphic.Menu.openAt(evt.getPosition(), 'Number of cylinders',   this.menuItems); }","funcProperties":{"__isSmartRef__":true,"id":114},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"109":{"this":{"__isSmartRef__":true,"id":99},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":110}},"110":{"$super":{"__isSmartRef__":true,"id":111}},"111":{"varMapping":{"__isSmartRef__":true,"id":112},"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":113},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"112":{"obj":{"__isSmartRef__":true,"id":99},"name":"onMouseUp"},"113":{},"114":{},"115":{"submorphs":[{"__isSmartRef__":true,"id":116}],"scripts":[],"shape":{"__isSmartRef__":true,"id":121},"_ClipMode":"visible","derivationIds":[],"id":"FBF47326-C79C-4853-BBA6-B3A254766809","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":116},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":49},"eventHandler":{"__isSmartRef__":true,"id":122},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":123},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(50.0,490.0)"},"116":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":117},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":118}],"_ClipMode":"hidden","derivationIds":[],"id":"808FD2C1-F43F-4443-A38C-852B2BF0577A","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":115},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventHandler":{"__isSmartRef__":true,"id":120},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"117":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(140.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"118":{"style":{"__isSmartRef__":true,"id":119},"chunkOwner":{"__isSmartRef__":true,"id":116},"_id":"_606","storedString":"sequential ignition","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"119":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"120":{"morph":{"__isSmartRef__":true,"id":116},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"121":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(140.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"122":{"morph":{"__isSmartRef__":true,"id":115},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"123":{"onMouseUp":{"__isSmartRef__":true,"id":124}},"124":{"varMapping":{"__isSmartRef__":true,"id":125},"source":"function onMouseUp(evt) { \n            this.owner.setAlternateTiming(!this.owner.alternate); }","funcProperties":{"__isSmartRef__":true,"id":130},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"125":{"this":{"__isSmartRef__":true,"id":115},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":126}},"126":{"$super":{"__isSmartRef__":true,"id":127}},"127":{"varMapping":{"__isSmartRef__":true,"id":128},"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":129},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"128":{"obj":{"__isSmartRef__":true,"id":115},"name":"onMouseUp"},"129":{},"130":{},"131":{"submorphs":[{"__isSmartRef__":true,"id":132}],"scripts":[],"shape":{"__isSmartRef__":true,"id":137},"_ClipMode":"visible","derivationIds":[],"id":"D6067B7E-D7F4-40EB-8AEF-767843853DBC","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":132},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":49},"eventHandler":{"__isSmartRef__":true,"id":138},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":139},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(320.0,440.0)"},"132":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":133},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":134}],"_ClipMode":"hidden","derivationIds":[],"id":"72188510-44BF-4113-A57B-40D37F70A959","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":131},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventHandler":{"__isSmartRef__":true,"id":136},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"133":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(70.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"134":{"style":{"__isSmartRef__":true,"id":135},"chunkOwner":{"__isSmartRef__":true,"id":132},"_id":"_608","storedString":"running","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"135":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"136":{"morph":{"__isSmartRef__":true,"id":132},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"137":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(70.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"138":{"morph":{"__isSmartRef__":true,"id":131},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"139":{"onMouseUp":{"__isSmartRef__":true,"id":140}},"140":{"varMapping":{"__isSmartRef__":true,"id":141},"source":"function onMouseUp(evt) {\n            this.owner.setRunning(!this.owner.running); }","funcProperties":{"__isSmartRef__":true,"id":146},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"141":{"this":{"__isSmartRef__":true,"id":131},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":142}},"142":{"$super":{"__isSmartRef__":true,"id":143}},"143":{"varMapping":{"__isSmartRef__":true,"id":144},"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":145},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"144":{"obj":{"__isSmartRef__":true,"id":131},"name":"onMouseUp"},"145":{},"146":{},"147":{"submorphs":[{"__isSmartRef__":true,"id":148}],"scripts":[],"shape":{"__isSmartRef__":true,"id":153},"_ClipMode":"visible","derivationIds":[],"id":"38D7C29D-7165-4FAA-92E7-F2D0EA3C57F0","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":148},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":49},"eventHandler":{"__isSmartRef__":true,"id":154},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":155},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(320.0,490.0)"},"148":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":149},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":150}],"_ClipMode":"hidden","derivationIds":[],"id":"76AEFD8A-3712-4419-A4F6-9D3CAE79DF54","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":147},"isLabel":true,"eventsAreIgnored":true,"_Align":"center","_TextStylingMode":true,"eventHandler":{"__isSmartRef__":true,"id":152},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"149":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(70.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"150":{"style":{"__isSmartRef__":true,"id":151},"chunkOwner":{"__isSmartRef__":true,"id":148},"_id":"_610","storedString":"slow","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"151":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"152":{"morph":{"__isSmartRef__":true,"id":148},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"153":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(70.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"154":{"morph":{"__isSmartRef__":true,"id":147},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"155":{"onMouseUp":{"__isSmartRef__":true,"id":156}},"156":{"varMapping":{"__isSmartRef__":true,"id":157},"source":"function onMouseUp(evt) {\n            var isSlow = this.owner.stepTime != 1;\n            this.owner.setStepTime(isSlow ? 1 : this.owner.normalSpeed);\n            this.setLabel(isSlow ? 'fast' : 'slow'); }","funcProperties":{"__isSmartRef__":true,"id":162},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"157":{"this":{"__isSmartRef__":true,"id":147},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":158}},"158":{"$super":{"__isSmartRef__":true,"id":159}},"159":{"varMapping":{"__isSmartRef__":true,"id":160},"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":161},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"160":{"obj":{"__isSmartRef__":true,"id":147},"name":"onMouseUp"},"161":{},"162":{},"163":{"target":{"__isSmartRef__":true,"id":49},"selector":"nextStep","args":[],"stopped":false,"tickTime":100,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"164":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":165},"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(451.0,535.0)","_BorderColor":"Color.rgb(95,94,95)","_Padding":"lively.rect(0,0,0,0)"},"165":{"stops":[{"__isSmartRef__":true,"id":166},{"__isSmartRef__":true,"id":167}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"166":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"167":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(102,102,102)"},"168":{"partsSpaceName":"PartsBin/Basic","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":"LivelyEngine","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"169":{"morph":{"__isSmartRef__":true,"id":49},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"170":{"fill":{"__isSmartRef__":true,"id":171},"borderWidth":2,"__serializedExpressions__":["borderColor"],"borderColor":"Color.rgb(0,0,0)"},"171":{"stops":[{"__isSmartRef__":true,"id":172},{"__isSmartRef__":true,"id":173},{"__isSmartRef__":true,"id":174}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,1,0)"},"172":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(102,102,102)"},"173":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(230,230,230)"},"174":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(102,102,102)"},"175":{"fill":{"__isSmartRef__":true,"id":70},"borderWidth":1,"__serializedExpressions__":["borderColor"],"borderColor":"Color.rgb(0,0,0)"},"176":{"resizeWidth":true,"resizeHeight":true},"177":{"submorphs":[{"__isSmartRef__":true,"id":178},{"__isSmartRef__":true,"id":186},{"__isSmartRef__":true,"id":206},{"__isSmartRef__":true,"id":226},{"__isSmartRef__":true,"id":246}],"scripts":[],"shape":{"__isSmartRef__":true,"id":266},"derivationIds":[null],"id":"79B2D4E9-6AAE-4F4C-BDF3-BC43419D6FB5","eventHandler":{"__isSmartRef__":true,"id":267},"droppingEnabled":true,"halosEnabled":true,"items":[{"__isSmartRef__":true,"id":268},{"__isSmartRef__":true,"id":269},{"__isSmartRef__":true,"id":270},{"__isSmartRef__":true,"id":271}],"itemMorphs":[{"__isSmartRef__":true,"id":186},{"__isSmartRef__":true,"id":206},{"__isSmartRef__":true,"id":226},{"__isSmartRef__":true,"id":246}],"title":{"__isSmartRef__":true,"id":178},"remainOnScreen":true,"isEpiMorph":false,"owner":null,"showsHalos":false,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Menu","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(290.0,580.0)"},"178":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":179},"derivationIds":[null],"id":"9AA53E95-0838-4671-A1A2-E32B7F326608","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":183}],"eventHandler":{"__isSmartRef__":true,"id":185},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":177},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"showsHalos":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(33,33,33)","_Position":"lively.pt(0.0,-25.0)"},"179":{"_ClipMode":"hidden","_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":180},"_BorderRadius":4,"_BorderStyle":"outset","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(108.0,25.0)","_Padding":"lively.rect(5,5,0,0)","_BorderColor":"Color.rgb(243,243,243)"},"180":{"stops":[{"__isSmartRef__":true,"id":181},{"__isSmartRef__":true,"id":182}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"181":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(255,255,255)"},"182":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"183":{"style":{"__isSmartRef__":true,"id":184},"chunkOwner":{"__isSmartRef__":true,"id":178},"storedString":"Operating State","_id":"_246","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"184":{"fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"185":{"morph":{"__isSmartRef__":true,"id":178},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"186":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":187},"derivationIds":[null],"id":"CCDF4AFA-499D-4D21-BFB8-4028FE50A7E2","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":188}],"eventHandler":{"__isSmartRef__":true,"id":190},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":177},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","showsHalos":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":191},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"187":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(118.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"188":{"style":{"__isSmartRef__":true,"id":189},"chunkOwner":{"__isSmartRef__":true,"id":186},"storedString":"stop","_id":"_247","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"189":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"190":{"morph":{"__isSmartRef__":true,"id":186},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"191":{"onMouseWheel":{"__isSmartRef__":true,"id":192},"onSelectStart":{"__isSmartRef__":true,"id":199}},"192":{"varMapping":{"__isSmartRef__":true,"id":193},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"193":{"this":{"__isSmartRef__":true,"id":186},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":194}},"194":{"$super":{"__isSmartRef__":true,"id":195}},"195":{"varMapping":{"__isSmartRef__":true,"id":196},"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":197},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"196":{"obj":{"__isSmartRef__":true,"id":186},"name":"onMouseWheel"},"197":{},"198":{},"199":{"varMapping":{"__isSmartRef__":true,"id":200},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":205},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"200":{"this":{"__isSmartRef__":true,"id":186},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":201}},"201":{"$super":{"__isSmartRef__":true,"id":202}},"202":{"varMapping":{"__isSmartRef__":true,"id":203},"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":204},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"203":{"obj":{"__isSmartRef__":true,"id":186},"name":"onSelectStart"},"204":{},"205":{},"206":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":207},"derivationIds":[null],"id":"77AAE561-EF6B-4188-A2C4-8C48D9C840B9","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":208}],"eventHandler":{"__isSmartRef__":true,"id":210},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":177},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":211},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"207":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,23.0)","_Extent":"lively.pt(118.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"208":{"style":{"__isSmartRef__":true,"id":209},"chunkOwner":{"__isSmartRef__":true,"id":206},"storedString":"step","_id":"_248","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"209":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"210":{"morph":{"__isSmartRef__":true,"id":206},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"211":{"onMouseWheel":{"__isSmartRef__":true,"id":212},"onSelectStart":{"__isSmartRef__":true,"id":219}},"212":{"varMapping":{"__isSmartRef__":true,"id":213},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":218},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"213":{"this":{"__isSmartRef__":true,"id":206},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":214}},"214":{"$super":{"__isSmartRef__":true,"id":215}},"215":{"varMapping":{"__isSmartRef__":true,"id":216},"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":217},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"216":{"obj":{"__isSmartRef__":true,"id":206},"name":"onMouseWheel"},"217":{},"218":{},"219":{"varMapping":{"__isSmartRef__":true,"id":220},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":225},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"220":{"this":{"__isSmartRef__":true,"id":206},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":221}},"221":{"$super":{"__isSmartRef__":true,"id":222}},"222":{"varMapping":{"__isSmartRef__":true,"id":223},"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":224},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"223":{"obj":{"__isSmartRef__":true,"id":206},"name":"onSelectStart"},"224":{},"225":{},"226":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":227},"derivationIds":[null],"id":"1A85BFFA-65BC-40F8-B261-982B6F85B08B","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":228}],"eventHandler":{"__isSmartRef__":true,"id":230},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":177},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":231},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"227":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,46.0)","_Extent":"lively.pt(118.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"228":{"style":{"__isSmartRef__":true,"id":229},"chunkOwner":{"__isSmartRef__":true,"id":226},"storedString":"rebuild","_id":"_249","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"229":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"230":{"morph":{"__isSmartRef__":true,"id":226},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"231":{"onMouseWheel":{"__isSmartRef__":true,"id":232},"onSelectStart":{"__isSmartRef__":true,"id":239}},"232":{"varMapping":{"__isSmartRef__":true,"id":233},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":238},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"233":{"this":{"__isSmartRef__":true,"id":226},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":234}},"234":{"$super":{"__isSmartRef__":true,"id":235}},"235":{"varMapping":{"__isSmartRef__":true,"id":236},"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":237},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"236":{"obj":{"__isSmartRef__":true,"id":226},"name":"onMouseWheel"},"237":{},"238":{},"239":{"varMapping":{"__isSmartRef__":true,"id":240},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":245},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"240":{"this":{"__isSmartRef__":true,"id":226},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":241}},"241":{"$super":{"__isSmartRef__":true,"id":242}},"242":{"varMapping":{"__isSmartRef__":true,"id":243},"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":244},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"243":{"obj":{"__isSmartRef__":true,"id":226},"name":"onSelectStart"},"244":{},"245":{},"246":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":247},"derivationIds":[null],"id":"08D5A969-A0A2-4A54-85E1-AF4916EEB809","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":248}],"eventHandler":{"__isSmartRef__":true,"id":250},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":177},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":251},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"247":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,69.0)","_Extent":"lively.pt(118.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"248":{"style":{"__isSmartRef__":true,"id":249},"chunkOwner":{"__isSmartRef__":true,"id":246},"storedString":"fast","_id":"_250","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"249":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"250":{"morph":{"__isSmartRef__":true,"id":246},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"251":{"onMouseWheel":{"__isSmartRef__":true,"id":252},"onSelectStart":{"__isSmartRef__":true,"id":259}},"252":{"varMapping":{"__isSmartRef__":true,"id":253},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":258},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"253":{"this":{"__isSmartRef__":true,"id":246},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":254}},"254":{"$super":{"__isSmartRef__":true,"id":255}},"255":{"varMapping":{"__isSmartRef__":true,"id":256},"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":257},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"256":{"obj":{"__isSmartRef__":true,"id":246},"name":"onMouseWheel"},"257":{},"258":{},"259":{"varMapping":{"__isSmartRef__":true,"id":260},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":265},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"260":{"this":{"__isSmartRef__":true,"id":246},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":261}},"261":{"$super":{"__isSmartRef__":true,"id":262}},"262":{"varMapping":{"__isSmartRef__":true,"id":263},"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":264},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"263":{"obj":{"__isSmartRef__":true,"id":246},"name":"onSelectStart"},"264":{},"265":{},"266":{"_ClipMode":"visible","_BorderWidth":1,"_Opacity":0.95,"_BorderRadius":4,"_BorderStyle":"outset","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(106.0,92.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(230,230,230)","_Fill":"Color.rgb(249,249,249)"},"267":{"morph":{"__isSmartRef__":true,"id":177},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"268":{"isMenuItem":true,"isListItem":true,"string":"stop","value":"stop","idx":0},"269":{"isMenuItem":true,"isListItem":true,"string":"step","value":"step","idx":1},"270":{"isMenuItem":true,"isListItem":true,"string":"rebuild","value":"rebuild","idx":2},"271":{"isMenuItem":true,"isListItem":true,"string":"fast","value":"fast","idx":3},"272":{"submorphs":[{"__isSmartRef__":true,"id":273},{"__isSmartRef__":true,"id":281},{"__isSmartRef__":true,"id":301},{"__isSmartRef__":true,"id":321},{"__isSmartRef__":true,"id":341},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":381},{"__isSmartRef__":true,"id":401},{"__isSmartRef__":true,"id":421},{"__isSmartRef__":true,"id":441}],"scripts":[],"shape":{"__isSmartRef__":true,"id":461},"derivationIds":[null],"id":"EEE0CE1F-6E26-4F90-918F-7D1EA7A01DD7","eventHandler":{"__isSmartRef__":true,"id":462},"droppingEnabled":true,"halosEnabled":true,"items":[{"__isSmartRef__":true,"id":463},{"__isSmartRef__":true,"id":464},{"__isSmartRef__":true,"id":465},{"__isSmartRef__":true,"id":466},{"__isSmartRef__":true,"id":467},{"__isSmartRef__":true,"id":468},{"__isSmartRef__":true,"id":469},{"__isSmartRef__":true,"id":470},{"__isSmartRef__":true,"id":471}],"itemMorphs":[{"__isSmartRef__":true,"id":281},{"__isSmartRef__":true,"id":301},{"__isSmartRef__":true,"id":321},{"__isSmartRef__":true,"id":341},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":381},{"__isSmartRef__":true,"id":401},{"__isSmartRef__":true,"id":421},{"__isSmartRef__":true,"id":441}],"title":{"__isSmartRef__":true,"id":273},"remainOnScreen":true,"isEpiMorph":false,"owner":null,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Menu","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(60.0,465.0)"},"273":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":274},"derivationIds":[null],"id":"B2DDE3BD-6832-4CB9-8B83-E5B9B9394730","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":278}],"eventHandler":{"__isSmartRef__":true,"id":280},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":272},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(33,33,33)","_Position":"lively.pt(0.0,-25.0)"},"274":{"_ClipMode":"hidden","_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":275},"_BorderRadius":4,"_BorderStyle":"outset","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(136.0,25.0)","_Padding":"lively.rect(5,5,0,0)","_BorderColor":"Color.rgb(243,243,243)"},"275":{"stops":[{"__isSmartRef__":true,"id":276},{"__isSmartRef__":true,"id":277}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"276":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(255,255,255)"},"277":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"278":{"style":{"__isSmartRef__":true,"id":279},"chunkOwner":{"__isSmartRef__":true,"id":273},"storedString":"Number of cylinders","_id":"_251","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"279":{"fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"280":{"morph":{"__isSmartRef__":true,"id":273},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"281":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":282},"derivationIds":[null],"id":"D1716D64-A042-4862-A9B5-553101330CD3","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":283}],"eventHandler":{"__isSmartRef__":true,"id":285},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":272},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":286},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"282":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"283":{"style":{"__isSmartRef__":true,"id":284},"chunkOwner":{"__isSmartRef__":true,"id":281},"storedString":"1","_id":"_252","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"284":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"285":{"morph":{"__isSmartRef__":true,"id":281},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"286":{"onMouseWheel":{"__isSmartRef__":true,"id":287},"onSelectStart":{"__isSmartRef__":true,"id":294}},"287":{"varMapping":{"__isSmartRef__":true,"id":288},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":293},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"288":{"this":{"__isSmartRef__":true,"id":281},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":289}},"289":{"$super":{"__isSmartRef__":true,"id":290}},"290":{"varMapping":{"__isSmartRef__":true,"id":291},"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":292},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"291":{"obj":{"__isSmartRef__":true,"id":281},"name":"onMouseWheel"},"292":{},"293":{},"294":{"varMapping":{"__isSmartRef__":true,"id":295},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":300},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"295":{"this":{"__isSmartRef__":true,"id":281},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":296}},"296":{"$super":{"__isSmartRef__":true,"id":297}},"297":{"varMapping":{"__isSmartRef__":true,"id":298},"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":299},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"298":{"obj":{"__isSmartRef__":true,"id":281},"name":"onSelectStart"},"299":{},"300":{},"301":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":302},"derivationIds":[null],"id":"D0601594-3D5F-481A-ADD6-EA4EEBC0D7B9","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":303}],"eventHandler":{"__isSmartRef__":true,"id":305},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":272},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":306},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"302":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,23.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"303":{"style":{"__isSmartRef__":true,"id":304},"chunkOwner":{"__isSmartRef__":true,"id":301},"storedString":"2","_id":"_253","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"304":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"305":{"morph":{"__isSmartRef__":true,"id":301},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"306":{"onMouseWheel":{"__isSmartRef__":true,"id":307},"onSelectStart":{"__isSmartRef__":true,"id":314}},"307":{"varMapping":{"__isSmartRef__":true,"id":308},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":313},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"308":{"this":{"__isSmartRef__":true,"id":301},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":309}},"309":{"$super":{"__isSmartRef__":true,"id":310}},"310":{"varMapping":{"__isSmartRef__":true,"id":311},"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":312},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"311":{"obj":{"__isSmartRef__":true,"id":301},"name":"onMouseWheel"},"312":{},"313":{},"314":{"varMapping":{"__isSmartRef__":true,"id":315},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":320},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"315":{"this":{"__isSmartRef__":true,"id":301},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":316}},"316":{"$super":{"__isSmartRef__":true,"id":317}},"317":{"varMapping":{"__isSmartRef__":true,"id":318},"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":319},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"318":{"obj":{"__isSmartRef__":true,"id":301},"name":"onSelectStart"},"319":{},"320":{},"321":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":322},"derivationIds":[null],"id":"E5C91869-8C6B-4455-BCDD-35201B35E48E","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":323}],"eventHandler":{"__isSmartRef__":true,"id":325},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":272},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":326},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"322":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,46.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"323":{"style":{"__isSmartRef__":true,"id":324},"chunkOwner":{"__isSmartRef__":true,"id":321},"storedString":"3","_id":"_254","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"324":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"325":{"morph":{"__isSmartRef__":true,"id":321},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"326":{"onMouseWheel":{"__isSmartRef__":true,"id":327},"onSelectStart":{"__isSmartRef__":true,"id":334}},"327":{"varMapping":{"__isSmartRef__":true,"id":328},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":333},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"328":{"this":{"__isSmartRef__":true,"id":321},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":329}},"329":{"$super":{"__isSmartRef__":true,"id":330}},"330":{"varMapping":{"__isSmartRef__":true,"id":331},"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":332},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"331":{"obj":{"__isSmartRef__":true,"id":321},"name":"onMouseWheel"},"332":{},"333":{},"334":{"varMapping":{"__isSmartRef__":true,"id":335},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":340},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"335":{"this":{"__isSmartRef__":true,"id":321},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":336}},"336":{"$super":{"__isSmartRef__":true,"id":337}},"337":{"varMapping":{"__isSmartRef__":true,"id":338},"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":339},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"338":{"obj":{"__isSmartRef__":true,"id":321},"name":"onSelectStart"},"339":{},"340":{},"341":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":342},"derivationIds":[null],"id":"FC3FB9CD-90B1-418F-B704-321C76F864F0","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":343}],"eventHandler":{"__isSmartRef__":true,"id":345},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":272},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":346},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"342":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,69.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"343":{"style":{"__isSmartRef__":true,"id":344},"chunkOwner":{"__isSmartRef__":true,"id":341},"storedString":"4","_id":"_255","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"344":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"345":{"morph":{"__isSmartRef__":true,"id":341},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"346":{"onMouseWheel":{"__isSmartRef__":true,"id":347},"onSelectStart":{"__isSmartRef__":true,"id":354}},"347":{"varMapping":{"__isSmartRef__":true,"id":348},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":353},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"348":{"this":{"__isSmartRef__":true,"id":341},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":349}},"349":{"$super":{"__isSmartRef__":true,"id":350}},"350":{"varMapping":{"__isSmartRef__":true,"id":351},"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":352},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"351":{"obj":{"__isSmartRef__":true,"id":341},"name":"onMouseWheel"},"352":{},"353":{},"354":{"varMapping":{"__isSmartRef__":true,"id":355},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":360},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"355":{"this":{"__isSmartRef__":true,"id":341},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":356}},"356":{"$super":{"__isSmartRef__":true,"id":357}},"357":{"varMapping":{"__isSmartRef__":true,"id":358},"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":359},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"358":{"obj":{"__isSmartRef__":true,"id":341},"name":"onSelectStart"},"359":{},"360":{},"361":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":362},"derivationIds":[null],"id":"9481B5E8-87A9-4363-87A5-4F0A1C5BDE05","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":363}],"eventHandler":{"__isSmartRef__":true,"id":365},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":272},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":366},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"362":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,92.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"363":{"style":{"__isSmartRef__":true,"id":364},"chunkOwner":{"__isSmartRef__":true,"id":361},"storedString":"5","_id":"_256","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"364":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"365":{"morph":{"__isSmartRef__":true,"id":361},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"366":{"onMouseWheel":{"__isSmartRef__":true,"id":367},"onSelectStart":{"__isSmartRef__":true,"id":374}},"367":{"varMapping":{"__isSmartRef__":true,"id":368},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":373},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"368":{"this":{"__isSmartRef__":true,"id":361},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":369}},"369":{"$super":{"__isSmartRef__":true,"id":370}},"370":{"varMapping":{"__isSmartRef__":true,"id":371},"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":372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"371":{"obj":{"__isSmartRef__":true,"id":361},"name":"onMouseWheel"},"372":{},"373":{},"374":{"varMapping":{"__isSmartRef__":true,"id":375},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":380},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"375":{"this":{"__isSmartRef__":true,"id":361},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":376}},"376":{"$super":{"__isSmartRef__":true,"id":377}},"377":{"varMapping":{"__isSmartRef__":true,"id":378},"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":379},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"378":{"obj":{"__isSmartRef__":true,"id":361},"name":"onSelectStart"},"379":{},"380":{},"381":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":382},"derivationIds":[null],"id":"DC09170F-3AFC-4E9F-A60D-99EA444BAFBA","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":383}],"eventHandler":{"__isSmartRef__":true,"id":385},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":272},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":386},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"382":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,115.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"383":{"style":{"__isSmartRef__":true,"id":384},"chunkOwner":{"__isSmartRef__":true,"id":381},"storedString":"6","_id":"_257","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"384":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"385":{"morph":{"__isSmartRef__":true,"id":381},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"386":{"onMouseWheel":{"__isSmartRef__":true,"id":387},"onSelectStart":{"__isSmartRef__":true,"id":394}},"387":{"varMapping":{"__isSmartRef__":true,"id":388},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":393},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"388":{"this":{"__isSmartRef__":true,"id":381},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":389}},"389":{"$super":{"__isSmartRef__":true,"id":390}},"390":{"varMapping":{"__isSmartRef__":true,"id":391},"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":392},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"391":{"obj":{"__isSmartRef__":true,"id":381},"name":"onMouseWheel"},"392":{},"393":{},"394":{"varMapping":{"__isSmartRef__":true,"id":395},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":400},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"395":{"this":{"__isSmartRef__":true,"id":381},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":396}},"396":{"$super":{"__isSmartRef__":true,"id":397}},"397":{"varMapping":{"__isSmartRef__":true,"id":398},"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":399},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"398":{"obj":{"__isSmartRef__":true,"id":381},"name":"onSelectStart"},"399":{},"400":{},"401":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":402},"derivationIds":[null],"id":"32C8887C-5909-482F-A759-0A464A478DA5","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":403}],"eventHandler":{"__isSmartRef__":true,"id":405},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":272},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":406},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"402":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,138.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"403":{"style":{"__isSmartRef__":true,"id":404},"chunkOwner":{"__isSmartRef__":true,"id":401},"storedString":"7","_id":"_258","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"404":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"405":{"morph":{"__isSmartRef__":true,"id":401},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"406":{"onMouseWheel":{"__isSmartRef__":true,"id":407},"onSelectStart":{"__isSmartRef__":true,"id":414}},"407":{"varMapping":{"__isSmartRef__":true,"id":408},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":413},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"408":{"this":{"__isSmartRef__":true,"id":401},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":409}},"409":{"$super":{"__isSmartRef__":true,"id":410}},"410":{"varMapping":{"__isSmartRef__":true,"id":411},"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":412},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"411":{"obj":{"__isSmartRef__":true,"id":401},"name":"onMouseWheel"},"412":{},"413":{},"414":{"varMapping":{"__isSmartRef__":true,"id":415},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":420},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"415":{"this":{"__isSmartRef__":true,"id":401},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":416}},"416":{"$super":{"__isSmartRef__":true,"id":417}},"417":{"varMapping":{"__isSmartRef__":true,"id":418},"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":419},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"418":{"obj":{"__isSmartRef__":true,"id":401},"name":"onSelectStart"},"419":{},"420":{},"421":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":422},"derivationIds":[null],"id":"7C7EA66E-F05A-491B-9B0A-1C4FC1E78B77","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":423}],"eventHandler":{"__isSmartRef__":true,"id":425},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":272},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":426},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"422":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,161.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"423":{"style":{"__isSmartRef__":true,"id":424},"chunkOwner":{"__isSmartRef__":true,"id":421},"storedString":"8","_id":"_259","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"424":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"425":{"morph":{"__isSmartRef__":true,"id":421},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"426":{"onMouseWheel":{"__isSmartRef__":true,"id":427},"onSelectStart":{"__isSmartRef__":true,"id":434}},"427":{"varMapping":{"__isSmartRef__":true,"id":428},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":433},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"428":{"this":{"__isSmartRef__":true,"id":421},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":429}},"429":{"$super":{"__isSmartRef__":true,"id":430}},"430":{"varMapping":{"__isSmartRef__":true,"id":431},"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":432},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"431":{"obj":{"__isSmartRef__":true,"id":421},"name":"onMouseWheel"},"432":{},"433":{},"434":{"varMapping":{"__isSmartRef__":true,"id":435},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":440},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"435":{"this":{"__isSmartRef__":true,"id":421},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":436}},"436":{"$super":{"__isSmartRef__":true,"id":437}},"437":{"varMapping":{"__isSmartRef__":true,"id":438},"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":439},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"438":{"obj":{"__isSmartRef__":true,"id":421},"name":"onSelectStart"},"439":{},"440":{},"441":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":442},"derivationIds":[null],"id":"F08FDF6D-981E-49C2-B4B8-A848E5D48CFA","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":443}],"eventHandler":{"__isSmartRef__":true,"id":445},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":272},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":446},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"442":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,184.0)","_Extent":"lively.pt(136.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"443":{"style":{"__isSmartRef__":true,"id":444},"chunkOwner":{"__isSmartRef__":true,"id":441},"storedString":"9","_id":"_260","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"444":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"445":{"morph":{"__isSmartRef__":true,"id":441},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"446":{"onMouseWheel":{"__isSmartRef__":true,"id":447},"onSelectStart":{"__isSmartRef__":true,"id":454}},"447":{"varMapping":{"__isSmartRef__":true,"id":448},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":453},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"448":{"this":{"__isSmartRef__":true,"id":441},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":449}},"449":{"$super":{"__isSmartRef__":true,"id":450}},"450":{"varMapping":{"__isSmartRef__":true,"id":451},"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":452},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"451":{"obj":{"__isSmartRef__":true,"id":441},"name":"onMouseWheel"},"452":{},"453":{},"454":{"varMapping":{"__isSmartRef__":true,"id":455},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":460},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"455":{"this":{"__isSmartRef__":true,"id":441},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":456}},"456":{"$super":{"__isSmartRef__":true,"id":457}},"457":{"varMapping":{"__isSmartRef__":true,"id":458},"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":459},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"458":{"obj":{"__isSmartRef__":true,"id":441},"name":"onSelectStart"},"459":{},"460":{},"461":{"_ClipMode":"visible","_BorderWidth":1,"_Opacity":0.95,"_BorderRadius":4,"_BorderStyle":"outset","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(136.0,207.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(230,230,230)","_Fill":"Color.rgb(249,249,249)"},"462":{"morph":{"__isSmartRef__":true,"id":272},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"463":{"isMenuItem":true,"isListItem":true,"string":"1","value":"1","idx":0},"464":{"isMenuItem":true,"isListItem":true,"string":"2","value":"2","idx":1},"465":{"isMenuItem":true,"isListItem":true,"string":"3","value":"3","idx":2},"466":{"isMenuItem":true,"isListItem":true,"string":"4","value":"4","idx":3},"467":{"isMenuItem":true,"isListItem":true,"string":"5","value":"5","idx":4},"468":{"isMenuItem":true,"isListItem":true,"string":"6","value":"6","idx":5},"469":{"isMenuItem":true,"isListItem":true,"string":"7","value":"7","idx":6},"470":{"isMenuItem":true,"isListItem":true,"string":"8","value":"8","idx":7},"471":{"isMenuItem":true,"isListItem":true,"string":"9","value":"9","idx":8},"472":{"submorphs":[{"__isSmartRef__":true,"id":473},{"__isSmartRef__":true,"id":481},{"__isSmartRef__":true,"id":503}],"scripts":[],"shape":{"__isSmartRef__":true,"id":525},"derivationIds":[null],"id":"AA2E0A07-8CA4-415B-AA74-0E39C48E5887","eventHandler":{"__isSmartRef__":true,"id":526},"droppingEnabled":true,"halosEnabled":true,"items":[{"__isSmartRef__":true,"id":527},{"__isSmartRef__":true,"id":528}],"itemMorphs":[{"__isSmartRef__":true,"id":481},{"__isSmartRef__":true,"id":503}],"title":{"__isSmartRef__":true,"id":473},"remainOnScreen":true,"isEpiMorph":false,"owner":null,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Menu","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(290.0,465.0)"},"473":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":474},"derivationIds":[null],"id":"61C73F1E-1B84-46BD-9D40-3BBDD33B70D7","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":478}],"eventHandler":{"__isSmartRef__":true,"id":480},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":472},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(33,33,33)","_Position":"lively.pt(0.0,-25.0)"},"474":{"_ClipMode":"hidden","_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":475},"_BorderRadius":4,"_BorderStyle":"outset","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(102.0,25.0)","_Padding":"lively.rect(5,5,0,0)","_BorderColor":"Color.rgb(243,243,243)"},"475":{"stops":[{"__isSmartRef__":true,"id":476},{"__isSmartRef__":true,"id":477}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"476":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(255,255,255)"},"477":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"478":{"style":{"__isSmartRef__":true,"id":479},"chunkOwner":{"__isSmartRef__":true,"id":473},"storedString":"Ignition timing","_id":"_261","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"479":{"fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"480":{"morph":{"__isSmartRef__":true,"id":473},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"481":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":482},"derivationIds":[null],"id":"5FE97209-E510-49CE-9632-713AD65C9B22","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":483}],"eventHandler":{"__isSmartRef__":true,"id":485},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":472},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":486},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"482":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(102.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"483":{"style":{"__isSmartRef__":true,"id":484},"chunkOwner":{"__isSmartRef__":true,"id":481},"storedString":"sequential","_id":"_262","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"484":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"485":{"morph":{"__isSmartRef__":true,"id":481},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"486":{"onMouseWheel":{"__isSmartRef__":true,"id":487},"onSelectStart":{"__isSmartRef__":true,"id":495}},"487":{"varMapping":{"__isSmartRef__":true,"id":488},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":493},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"488":{"this":{"__isSmartRef__":true,"id":481},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":489}},"489":{"$super":{"__isSmartRef__":true,"id":490}},"490":{"varMapping":{"__isSmartRef__":true,"id":491},"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":492},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"491":{"obj":{"__isSmartRef__":true,"id":481},"name":"onMouseWheel"},"492":{},"493":{"timestamp":{"__isSmartRef__":true,"id":494},"user":"undefined"},"494":{"isSerializedDate":true,"string":"Wed Mar 14 2012 17:37:15 GMT-0700 (PDT)"},"495":{"varMapping":{"__isSmartRef__":true,"id":496},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":501},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"496":{"this":{"__isSmartRef__":true,"id":481},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":497}},"497":{"$super":{"__isSmartRef__":true,"id":498}},"498":{"varMapping":{"__isSmartRef__":true,"id":499},"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":500},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"499":{"obj":{"__isSmartRef__":true,"id":481},"name":"onSelectStart"},"500":{},"501":{"timestamp":{"__isSmartRef__":true,"id":502},"user":"undefined"},"502":{"isSerializedDate":true,"string":"Wed Mar 14 2012 17:37:15 GMT-0700 (PDT)"},"503":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":504},"derivationIds":[null],"id":"614202E2-564F-4D60-8CB9-4F3860BDA793","_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":505}],"eventHandler":{"__isSmartRef__":true,"id":507},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":472},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":508},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"504":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,23.0)","_Extent":"lively.pt(102.0,23.0)","_Padding":"lively.rect(3,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"505":{"style":{"__isSmartRef__":true,"id":506},"chunkOwner":{"__isSmartRef__":true,"id":503},"storedString":"alternate","_id":"_263","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"506":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"507":{"morph":{"__isSmartRef__":true,"id":503},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"508":{"onMouseWheel":{"__isSmartRef__":true,"id":509},"onSelectStart":{"__isSmartRef__":true,"id":517}},"509":{"varMapping":{"__isSmartRef__":true,"id":510},"source":"function onMouseWheel(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":515},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"510":{"this":{"__isSmartRef__":true,"id":503},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":511}},"511":{"$super":{"__isSmartRef__":true,"id":512}},"512":{"varMapping":{"__isSmartRef__":true,"id":513},"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":514},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"513":{"obj":{"__isSmartRef__":true,"id":503},"name":"onMouseWheel"},"514":{},"515":{"timestamp":{"__isSmartRef__":true,"id":516},"user":"undefined"},"516":{"isSerializedDate":true,"string":"Wed Mar 14 2012 17:37:15 GMT-0700 (PDT)"},"517":{"varMapping":{"__isSmartRef__":true,"id":518},"source":"function onSelectStart(evt) {\n                return false; // to allow scrolling\n            }","funcProperties":{"__isSmartRef__":true,"id":523},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"518":{"this":{"__isSmartRef__":true,"id":503},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":519}},"519":{"$super":{"__isSmartRef__":true,"id":520}},"520":{"varMapping":{"__isSmartRef__":true,"id":521},"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":522},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"521":{"obj":{"__isSmartRef__":true,"id":503},"name":"onSelectStart"},"522":{},"523":{"timestamp":{"__isSmartRef__":true,"id":524},"user":"undefined"},"524":{"isSerializedDate":true,"string":"Wed Mar 14 2012 17:37:15 GMT-0700 (PDT)"},"525":{"_ClipMode":"visible","_BorderWidth":1,"_Opacity":0.95,"_BorderRadius":4,"_BorderStyle":"outset","__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(102.0,46.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(230,230,230)","_Fill":"Color.rgb(249,249,249)"},"526":{"morph":{"__isSmartRef__":true,"id":472},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"527":{"isMenuItem":true,"isListItem":true,"string":"sequential","value":"sequential","idx":0},"528":{"isMenuItem":true,"isListItem":true,"string":"alternate","value":"alternate","idx":1},"529":{"submorphs":[{"__isSmartRef__":true,"id":530}],"scripts":[],"shape":{"__isSmartRef__":true,"id":535},"derivationIds":[null],"id":"3B18BD5D-8391-49FD-B2BA-A60D4B68637F","eventHandler":{"__isSmartRef__":true,"id":541},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":542},"lighterFill":{"__isSmartRef__":true,"id":536},"label":{"__isSmartRef__":true,"id":530},"owner":null,"menuItems":[["1",{"__isSmartRef__":true,"id":49},"makeCylinders",1],["2",{"__isSmartRef__":true,"id":49},"makeCylinders",2],["3",{"__isSmartRef__":true,"id":49},"makeCylinders",3],["4",{"__isSmartRef__":true,"id":49},"makeCylinders",4],["5",{"__isSmartRef__":true,"id":49},"makeCylinders",5],["6",{"__isSmartRef__":true,"id":49},"makeCylinders",6],["7",{"__isSmartRef__":true,"id":49},"makeCylinders",7],["8",{"__isSmartRef__":true,"id":49},"makeCylinders",8],["9",{"__isSmartRef__":true,"id":49},"makeCylinders",9]],"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":547},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(60.0,440.0)"},"530":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":531},"derivationIds":[null],"id":"E1055358-3AC5-48AE-873A-7A64CC404CDA","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":532}],"eventHandler":{"__isSmartRef__":true,"id":534},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":529},"_MaxTextWidth":70,"_MinTextWidth":70,"_MaxTextHeight":null,"_MinTextHeight":null,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__serializedExpressions__":["_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"531":{"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(70.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"532":{"style":{"__isSmartRef__":true,"id":533},"chunkOwner":{"__isSmartRef__":true,"id":530},"storedString":"Number of cylinders","_id":"_264","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"533":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"534":{"morph":{"__isSmartRef__":true,"id":530},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"535":{"_ClipMode":"visible","_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":536},"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(70.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"536":{"stops":[{"__isSmartRef__":true,"id":537},{"__isSmartRef__":true,"id":538},{"__isSmartRef__":true,"id":539},{"__isSmartRef__":true,"id":540}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"537":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"538":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"539":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"540":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"541":{"morph":{"__isSmartRef__":true,"id":529},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"542":{"stops":[{"__isSmartRef__":true,"id":543},{"__isSmartRef__":true,"id":544},{"__isSmartRef__":true,"id":545},{"__isSmartRef__":true,"id":546}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"543":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"544":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"545":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"546":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"547":{"onMouseUp":{"__isSmartRef__":true,"id":548}},"548":{"varMapping":{"__isSmartRef__":true,"id":549},"source":"function onMouseUp(evt) {\n            lively.morphic.Menu.openAt(evt.getPosition(), 'Number of cylinders',\n            this.menuItems); }","funcProperties":{"__isSmartRef__":true,"id":554},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"549":{"this":{"__isSmartRef__":true,"id":529},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":550}},"550":{"$super":{"__isSmartRef__":true,"id":551}},"551":{"varMapping":{"__isSmartRef__":true,"id":552},"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":553},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"552":{"obj":{"__isSmartRef__":true,"id":529},"name":"onMouseUp"},"553":{},"554":{"timestamp":{"__isSmartRef__":true,"id":555},"user":"undefined"},"555":{"isSerializedDate":true,"string":"Wed Mar 14 2012 17:37:15 GMT-0700 (PDT)"},"556":{"onrestore":{"__isSmartRef__":true,"id":557},"rebuildButtons":{"__isSmartRef__":true,"id":565},"reset":{"__isSmartRef__":true,"id":569},"makeLayout":{"__isSmartRef__":true,"id":573},"makeCylinders":{"__isSmartRef__":true,"id":577},"movePiston":{"__isSmartRef__":true,"id":581},"setRunning":{"__isSmartRef__":true,"id":585},"nextStep":{"__isSmartRef__":true,"id":589},"doStep":{"__isSmartRef__":true,"id":593},"setAlternateTiming":{"__isSmartRef__":true,"id":597},"setStepTime":{"__isSmartRef__":true,"id":601},"startSteppingScripts":{"__isSmartRef__":true,"id":605}},"557":{"varMapping":{"__isSmartRef__":true,"id":558},"source":"function onrestore() {\n    $super();\n    this.rebuildButtons.bind(this).delay(0); // FIXME\n}","funcProperties":{"__isSmartRef__":true,"id":563},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"558":{"this":{"__isSmartRef__":true,"id":49},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":559}},"559":{"$super":{"__isSmartRef__":true,"id":560}},"560":{"varMapping":{"__isSmartRef__":true,"id":561},"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":562},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"561":{"obj":{"__isSmartRef__":true,"id":49},"name":"onrestore"},"562":{},"563":{"timestamp":{"__isSmartRef__":true,"id":564},"user":"undefined","tags":[]},"564":{"isSerializedDate":true,"string":"Wed Mar 14 2012 18:19:20 GMT-0700 (PDT)"},"565":{"varMapping":{"__isSmartRef__":true,"id":566},"source":"function rebuildButtons() {  //this.rebuildButtons();\n    this.submorphs.select(function (m) { return m instanceof lively.morphic.Button })\n        .forEach(function (m) { m.remove() });\n\n    var n = this.cylinders.length;\n    var label = (n==1) ? '1 cylinder' : n.toString() + ' cylinders';\n    var b = this.addMorph(new lively.morphic.Button (new Rectangle(50, 440, 140, 20), label));\n    b.menuItems = Array.range(1,9).collect( function(i) {\n            return [i.toString(), this, 'makeCylinders', i]; }.bind(this));\n    b.addScript(function onMouseUp(evt) {\n            lively.morphic.Menu.openAt(evt.getPosition(), 'Number of cylinders',   this.menuItems); });\n\n    var label = (this.alternate ? 'alternate' : 'sequential') + ' ignition';\n    var b = this.addMorph(new lively.morphic.Button (new Rectangle(50, 490, 140, 20), label));\n    b.addScript(function onMouseUp(evt) { \n            this.owner.setAlternateTiming(!this.owner.alternate); });\n\n    var label =  this.running ? 'running' : 'stopped';\n    var b = this.addMorph(new lively.morphic.Button (new Rectangle(320, 440, 70, 20), label));\n    b.addScript(function onMouseUp(evt) {\n            this.owner.setRunning(!this.owner.running); });\n\nif (this.running) {\n    var label =  (this.stepTime==1) ? 'fast' : 'slow';\n    var b = this.addMorph(new lively.morphic.Button (new Rectangle(320, 490, 70, 20), label));\n    b.addScript(function onMouseUp(evt) {\n            var isSlow = this.owner.stepTime != 1;\n            this.owner.setStepTime(isSlow ? 1 : this.owner.normalSpeed);\n            this.setLabel(isSlow ? 'fast' : 'slow'); });\n} else {\n    var b = this.addMorph(new lively.morphic.Button (new Rectangle(320, 490, 70, 20), 'step'));\n    b.addScript(function onMouseUp(evt) { this.owner.doStep(); });\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":567},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"566":{"this":{"__isSmartRef__":true,"id":49}},"567":{"timestamp":{"__isSmartRef__":true,"id":568},"user":"undefined","tags":[]},"568":{"isSerializedDate":true,"string":"Tue Apr 23 2013 12:39:19 GMT-0700 (PDT)"},"569":{"varMapping":{"__isSmartRef__":true,"id":570},"source":"function reset() {\n    this.applyStyle({\n        fill: new lively.morphic.LinearGradient([\n            {offset: 0, color: Color.gray},\n            {offset: 1, color: Color.darkGray}], 'NorthSouth'),\n        borderColor: Color.black, \n        borderWidth: 1,\n        extent: pt(450, 690)\n    })\n\n    this.pistonStyle = {\n        fill: new lively.morphic.LinearGradient([\n            {offset: 0, color: Color.darkGray},\n            {offset: 0.4, color: Color.lightGray},\n            {offset: 1, color: Color.darkGray}], 'EastWest'),\n        borderColor: Color.black, \n        borderWidth: 2\n    }\n    \n    this.crankPinStyle = {\n        fill: new lively.morphic.RadialGradient([\n            {offset: 0, color: Color.darkGray},\n            {offset:1, color: Color.gray.darker(2)}]),\n        borderColor: Color.black,\n        borderWidth: 1\n    }\n\n    // set some state\n    this.angleStep = Math.PI/8;\n    this.cylinders = [];\n\n    var bnds = this.innerBounds().withHeight(this.innerBounds().width);\n    var center = bnds.center();\n    var relBore = 0.14;\n    var cr = bnds.scaleByRect(new Rectangle(0.5 - (relBore/2), 0.1, relBore, 0.2));\n    var dHead = cr.width*0.2;  // slight dome at top of cylinder -- room for valves\n    var pistonBW = 2;\n    this.topPosDisplacement = pt(pistonBW, dHead);\n\n    this.makeLayout(this.cylinders.length || 1, this.alternate);\n}","funcProperties":{"__isSmartRef__":true,"id":571},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"570":{"this":{"__isSmartRef__":true,"id":49}},"571":{"timestamp":{"__isSmartRef__":true,"id":572},"user":"undefined","tags":[]},"572":{"isSerializedDate":true,"string":"Wed Mar 14 2012 19:42:53 GMT-0700 (PDT)"},"573":{"varMapping":{"__isSmartRef__":true,"id":574},"source":"function makeLayout(nCylinders, alternating) {\n    // FYI, here's the declarative structure...\n    //    Engine\n    //        Crank\n    //            CrankPin\n    //        CrankPinCap - follows the crank pin, but appears over connecting rods\n    //        ConnectingRod (with highlight)\n    //        Cylinder (may be many)\n    //            Piston\n    //                WristPin\n    this.removeAllMorphs();\n\n    this.makeLayout(this.cylinders.length || 1, this.alternate);\n    var bnds = this.innerBounds().withHeight(this.innerBounds().width);\n    this.stroke = bnds.height*0.12;\n    this.normalSpeed = 100;\n    this.crank = lively.morphic.Morph.makeCircle(bnds.center(), this.stroke*0.8, 4, Color.black, Color.gray);\n    this.addMorph(this.crank);\n    this.crankPin = lively.morphic.Morph.makeCircle(pt(0, -this.stroke/2), this.stroke*0.25, 1, \n        Color.black, Color.gray.darker(2));\n    this.crank.addMorph(this.crankPin);\n    this.crankPinCap = this.crankPin.copy();\n    this.crankPinCap.applyStyle(this.crankPinStyle);\n    this.alternate = alternating;\n    this.makeCylinders(nCylinders);\n\n    this.rebuildButtons();\n\n    var label = this.addMorph(lively.morphic.Text.makeLabel(\"The Radial Engine\",{fontSize: 20}));\n    label.align(label.bounds().topCenter(), bnds.bottomCenter().addXY(0, -20));\n}","funcProperties":{"__isSmartRef__":true,"id":575},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"574":{"this":{"__isSmartRef__":true,"id":49}},"575":{"timestamp":{"__isSmartRef__":true,"id":576},"user":"undefined","tags":[]},"576":{"isSerializedDate":true,"string":"Tue Apr 23 2013 12:39:19 GMT-0700 (PDT)"},"577":{"varMapping":{"__isSmartRef__":true,"id":578},"source":"function makeCylinders(nCylinders) {\n    // Build cylinder-piston assembly with center of rotation at crank center\n    this.crankAngle = 0; // goes up to 4*pi, while rotation wraps at 2*pi\n    this.crank.setRotation(this.crankAngle);\n    var bnds = this.innerBounds().withHeight(this.innerBounds().width),\n        relBore = 0.14,\n        cr = bnds.scaleByRect(new Rectangle(0.5 - (relBore/2), 0.10, relBore, 0.2));\n    var dHead = cr.width*0.2, // slight dome at top of cylinder -- room for valves\n        cylVerts = [cr.topRight(), cr.bottomRight(),  //vertices of cylinder polygon\n            cr.topRight().addXY(0, this.stroke), cr.topLeft().addXY(0, this.stroke),\n            cr.bottomLeft(), cr.topLeft(),\n            cr.topLeft().addXY(dHead, -dHead), cr.topRight().addXY(-dHead, -dHead),\n            cr.topRight()];\n    cylVerts = cylVerts.invoke('subPt', this.crank.bounds().center());\n\n    // create prototype cylinder\n    var cylinder = lively.morphic.Morph.makePolygon(cylVerts, 4, Color.black, Color.gray);\n    cylinder.setPosition(this.crank.bounds().center());\n    var pistonBW = this.pistonStyle.borderWidth,\n        pistonDx = (cylinder.getBorderWidth() + pistonBW) / 2 - 4,\n        piston = lively.morphic.Morph.makeRectangle(cr.insetByPt(pt(pistonDx, (cr.height-this.stroke)/2)));\n    piston.applyStyle(this.pistonStyle);\n    cylinder.addMorph(piston);\n    var wristPin = lively.morphic.Morph.makeCircle(piston.innerBounds().center(), cr.width*0.1, 0, null, Color.black);\n    piston.addMorph(wristPin);\n\n    // Duplicate and rotate the cylinder assembly to complete the engine\n    if (this.cylinders) this.cylinders.invoke('remove'); // remove any previous assemblies\n    if (this.connectingRods) this.connectingRods.invoke('remove');\n\n    this.cylinders = []; // Note this is an array that points to various submorphs\n    this.connectingRods = [];\n    for (var i = 0; i < nCylinders; i++) {\n        var cyl = cylinder.copy();\n        this.addMorph(cyl)\n        cyl.angle = (Math.PI*2/nCylinders)*i;\n        if (this.alternate && i%2 == 1) cyl.angle += Math.PI*2;\n        cyl.setRotation(cyl.angle);\n        cyl.piston = cyl.topSubmorph();\n        cyl.piston.topPos = cyl.innerBounds().topLeft().addPt(this.topPosDisplacement);\n        cyl.wristPin = cyl.piston.topSubmorph();\n        this.cylinders.push(cyl);\n        // Note: cyl.connectingRod points to a morph that is not a submorph yet\n        // Real endpoints get set later in doStep\n        this.connectingRods[i] = cyl.addMorph(lively.morphic.Morph.makeLine(\n            [pt(10, 10), pt(10, 10)], cr.width*0.15, Color.gray.darker(2) ));\n        this.connectingRods[i].addMorph(lively.morphic.Morph.makeLine( // extra morph for highlight on rod\n            [pt(10, 10), pt(10, 10)], cr.width*0.05, Color.darkGray ));\n        cyl.addMorph(cyl.piston);  // brings it on top of connecting rod (looks better)\n        this.movePiston(cyl);\n    };\n    this.connectingRods[nCylinders-1].addMorph(this.crankPinCap);\n    this.rebuildButtons(); // updates button labels\n    this.doStep(); // makes connecting rods;\n}","funcProperties":{"__isSmartRef__":true,"id":579},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"578":{"this":{"__isSmartRef__":true,"id":49}},"579":{"timestamp":{"__isSmartRef__":true,"id":580},"user":"undefined","tags":[]},"580":{"isSerializedDate":true,"string":"Tue Apr 23 2013 12:39:19 GMT-0700 (PDT)"},"581":{"varMapping":{"__isSmartRef__":true,"id":582},"source":"function movePiston(cyl) { // Method to move piston and connecting rod\n    var pi = Math.PI;\n    var phase = (this.crankAngle - cyl.angle);\n    if (phase < 0) phase += pi*4;\n    var dy = (Math.cos(phase) - 1 - 0.1) * this.stroke/2;  //0.1 fudge for appearance\n    cyl.piston.setPosition(cyl.piston.topPos.addXY(0, -dy));\n    var cycle = Math.floor(phase / pi);  // Change color based on cycle\n    var frac = phase / pi - cycle;  // Change shading based on fractional part of cycle (wow ;-)\n    switch (cycle) {\n        case 0: cyl.setFill(Color.blue.lighter());  break;  // intake\n        case 1: cyl.setFill(Color.blue.mixedWith(Color.blue.lighter(), frac));  break;  // compression\n        case 2: cyl.setFill(Color.red.lighter().mixedWith(Color.red, frac));  break;  // power\n        case 3: cyl.setFill(Color.red.lighter());  break; \n    }  // exhaust\n    if (Math.abs(phase-2*pi) < this.angleStep/2) cyl.setFill(Color.yellow);  // ignition\n}","funcProperties":{"__isSmartRef__":true,"id":583},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"582":{"this":{"__isSmartRef__":true,"id":49}},"583":{"timestamp":{"__isSmartRef__":true,"id":584},"user":"undefined","tags":[]},"584":{"isSerializedDate":true,"string":"Wed Mar 14 2012 21:25:02 GMT-0700 (PDT)"},"585":{"varMapping":{"__isSmartRef__":true,"id":586},"source":"function setRunning(trueOrFalse) {\n    this.running = trueOrFalse;\n    this.rebuildButtons(); // updates buttons\n}","funcProperties":{"__isSmartRef__":true,"id":587},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"586":{"this":{"__isSmartRef__":true,"id":49}},"587":{"timestamp":{"__isSmartRef__":true,"id":588},"user":"undefined","tags":[]},"588":{"isSerializedDate":true,"string":"Wed Mar 14 2012 20:01:09 GMT-0700 (PDT)"},"589":{"varMapping":{"__isSmartRef__":true,"id":590},"source":"function nextStep() {\n    if (!this.running) return;\n    // Don't bother stepping if we are in a collapsed window\n    if (this.parent && this.parent.isCollapsed()) return;\n    this.doStep();\n}","funcProperties":{"__isSmartRef__":true,"id":591},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"590":{"this":{"__isSmartRef__":true,"id":49}},"591":{"timestamp":{"__isSmartRef__":true,"id":592},"user":"robertkrahn","tags":[]},"592":{"isSerializedDate":true,"string":"Tue Jul 12 2011 13:53:00 GMT-0700 (PDT)"},"593":{"varMapping":{"__isSmartRef__":true,"id":594},"source":"function doStep() {\n    var crPt;\n    this.crankAngle += this.angleStep; \n    if (this.crankAngle > Math.PI*4) this.crankAngle -= Math.PI*4;\n    this.crank.setRotation(this.crankAngle);  // Rotate the crankshaft\n    this.cylinders.forEach(function(cyl, i) {\n        this.movePiston(cyl);  // Move the pistons\n        var cr = this.connectingRods[i];\n        cr.setVertices(  // Relocate the connecting rods\n            [cr.localizePointFrom(this.crankPin.bounds().center(), this.crank),\n            cr.localizePointFrom(cyl.wristPin.bounds().center(), cyl.piston)]\n        );\n        cr.submorphs[0].setVertices(  // also the highlight stripes\n            [cr.shape.vertices()[0],\n            cr.shape.vertices()[1]]\n        );\n        crPt = cr.shape.vertices()[0];\n    }, this);\n    this.crankPinCap.setPosition(crPt);\n}","funcProperties":{"__isSmartRef__":true,"id":595},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"594":{"this":{"__isSmartRef__":true,"id":49}},"595":{"timestamp":{"__isSmartRef__":true,"id":596},"user":"robertkrahn","tags":[]},"596":{"isSerializedDate":true,"string":"Wed Jul 13 2011 04:57:41 GMT-0700 (PDT)"},"597":{"varMapping":{"__isSmartRef__":true,"id":598},"source":"function setAlternateTiming(trueOrFalse) {\n    // Demonstrate alternate and sequential firing order\n    this.alternate = trueOrFalse;\n    this.makeCylinders(this.cylinders.length);\n    this.doStep(); // makes connecting rods\n}","funcProperties":{"__isSmartRef__":true,"id":599},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"598":{"this":{"__isSmartRef__":true,"id":49}},"599":{"timestamp":{"__isSmartRef__":true,"id":600},"user":"robertkrahn","tags":[]},"600":{"isSerializedDate":true,"string":"Tue Jul 12 2011 13:53:00 GMT-0700 (PDT)"},"601":{"varMapping":{"__isSmartRef__":true,"id":602},"source":"function setStepTime(ms) {\n    this.stepTime = ms;\n    this.stopStepping();\n    this.startStepping(ms,'nextStep');\n}","funcProperties":{"__isSmartRef__":true,"id":603},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"602":{"this":{"__isSmartRef__":true,"id":49}},"603":{"timestamp":{"__isSmartRef__":true,"id":604},"user":"undefined","tags":[]},"604":{"isSerializedDate":true,"string":"Tue Apr 23 2013 12:39:19 GMT-0700 (PDT)"},"605":{"varMapping":{"__isSmartRef__":true,"id":606},"source":"function startSteppingScripts() { \n    this.setStepTime(this.normalSpeed);\n}","funcProperties":{"__isSmartRef__":true,"id":607},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"606":{"this":{"__isSmartRef__":true,"id":49}},"607":{"timestamp":{"__isSmartRef__":true,"id":608},"user":"robertkrahn","tags":[]},"608":{"isSerializedDate":true,"string":"Tue Jul 12 2011 13:53:00 GMT-0700 (PDT)"},"609":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":610},"_ClipMode":"visible","derivationIds":[],"id":"F795FA80-1EC8-4090-9018-00A43D5E6B03","droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position"],"type":"corner","_StyleClassNames":["reframe-handle corner"],"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":611},"__LivelyClassName__":"lively.morphic.ReframeHandle","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(445.0,547.0)"},"610":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(14.0,14.0)","_Padding":"lively.rect(0,0,0,0)"},"611":{"morph":{"__isSmartRef__":true,"id":609},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"612":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":613},"_ClipMode":"visible","derivationIds":[],"id":"B3A1A67F-4740-4600-91CB-6B6A24E4186E","droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position"],"type":"bottom","_StyleClassNames":["reframe-handle bottom"],"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":614},"__LivelyClassName__":"lively.morphic.ReframeHandle","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,557.0)"},"613":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(445.0,4.0)","_Padding":"lively.rect(0,0,0,0)"},"614":{"morph":{"__isSmartRef__":true,"id":612},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"615":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":616},"_ClipMode":"visible","derivationIds":[],"id":"DE274ADB-C84D-4A73-BC8D-9F17A447A013","droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position"],"type":"right","_StyleClassNames":["reframe-handle right"],"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":617},"__LivelyClassName__":"lively.morphic.ReframeHandle","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(455.0,0.0)"},"616":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(4.0,547.0)","_Padding":"lively.rect(0,0,0,0)"},"617":{"morph":{"__isSmartRef__":true,"id":615},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"618":{"__serializedExpressions__":["_Padding","_Extent"],"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":false,"_BorderRadius":false,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":"lively.rect(0,0,0,0)","_Extent":"lively.pt(459.0,561.0)"},"619":{"adjustForNewBounds":true},"620":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"621":{"partsSpaceName":"PartsBin/Demos/","comment":"The Lively Engine - An illustration of how radial engines work and why they are designed with an odd number of cylinders","migrationLevel":7,"partName":"LivelyEngine","changes":[{"__isSmartRef__":true,"id":622},{"__isSmartRef__":true,"id":624},{"__isSmartRef__":true,"id":626},{"__isSmartRef__":true,"id":628},{"__isSmartRef__":true,"id":630},{"__isSmartRef__":true,"id":632}],"lastModifiedDate":{"__isSmartRef__":true,"id":634},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"622":{"date":{"__isSmartRef__":true,"id":623},"author":"robertkrahn","message":"fixed for core","id":"A8A53025-741E-4F23-BE54-75A9D1CCABD4"},"623":{"isSerializedDate":true,"string":"Tue Apr 23 2013 12:40:36 GMT-0700 (PDT)"},"624":{"date":{"__isSmartRef__":true,"id":625},"author":"Hank","message":"initialized to one cylinder","id":"81D144CD-B26B-403E-BC12-189D91AE2897"},"625":{"isSerializedDate":true,"string":"Thu Nov 10 2011 11:54:51 GMT-0800 (PST)"},"626":{"date":{"__isSmartRef__":true,"id":627},"author":"Hank","message":"fixed extra line on menus","id":"44E3BC5D-760C-498C-9A39-63ABCFC4A33F"},"627":{"isSerializedDate":true,"string":"Thu Nov 10 2011 11:51:21 GMT-0800 (PST)"},"628":{"date":{"__isSmartRef__":true,"id":629},"author":"Hank","message":"fixed piston offset, menu size.  Still an extra line in menus, though","id":"6B3AF400-6D12-4F25-B790-98C8469227A0"},"629":{"isSerializedDate":true,"string":"Thu Nov 10 2011 11:26:18 GMT-0800 (PST)"},"630":{"date":{"__isSmartRef__":true,"id":631},"author":"undefined","message":"Tweaked the geometry to make up for small layout changes, and also cleaned up the appearance and operation of the controls","id":"86989E39-91BE-4F18-9F6C-844D0E9D6591"},"631":{"isSerializedDate":true,"string":"Wed Mar 14 2012 21:28:23 GMT-0700 (PDT)"},"632":{"date":{"__isSmartRef__":true,"id":633},"author":"robertkrahn","message":"new window","id":"0FDD074E-9955-42EB-AB2A-9A55D8A15A2B"},"633":{"isSerializedDate":true,"string":"Tue Apr 23 2013 12:49:18 GMT-0700 (PDT)"},"634":{"isSerializedDate":true,"string":"Tue Apr 23 2013 14:37:01 GMT-0700 (PDT)"},"isSimplifiedRegistry":true}}